:root {
  color-scheme: light;
  --cream: #f5efe4;
  --paper: #fbf8f1;
  --ink: #181714;
  --soft-ink: rgba(24, 23, 20, 0.72);
  --faint-ink: rgba(24, 23, 20, 0.12);
  --accent: #7f5529;
  --olive: #6d725c;
  --sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--cream);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(24, 23, 20, 0.04) 1px, transparent 1px) 0 0 / 25vw 100%,
    var(--cream);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 0.075em;
  text-underline-offset: 0.22em;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 20;
  transform: translateY(-150%);
  padding: 0.65rem 0.85rem;
  background: var(--ink);
  color: var(--paper);
}

.skip-link:focus {
  transform: translateY(0);
}

.section-frame {
  width: min(100% - 40px, 1280px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1rem max(20px, calc((100vw - 1280px) / 2));
  background: rgba(245, 239, 228, 0.94);
  border-bottom: 1px solid var(--faint-ink);
  backdrop-filter: blur(16px);
}

.wordmark {
  display: grid;
  gap: 0;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.045em;
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.85rem 1.4rem;
  color: var(--soft-ink);
  font-size: 0.86rem;
  font-weight: 650;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--ink);
}

.hero {
  min-height: calc(100svh - 64px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.76fr);
  align-items: end;
  gap: clamp(2.5rem, 6vw, 6.5rem);
  padding: clamp(4rem, 8vw, 7.5rem) 0 clamp(4rem, 7vw, 6rem);
}

.hero-copy {
  align-self: center;
  max-width: 760px;
}

.eyebrow,
.section-kicker,
.project-place,
.project-focus {
  margin: 0;
  color: var(--accent);
  font-size: clamp(0.75rem, 1vw, 0.82rem);
  font-weight: 760;
  line-height: 1.35;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 1rem 0 1.35rem;
  display: grid;
  font-family: var(--sans);
  font-size: clamp(4rem, 11vw, 10rem);
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: -0.055em;
}

.hero h1 span:nth-child(2) {
  padding-left: 0;
}

.hero h1 span:nth-child(3) {
  padding-left: 0;
}

.hero-statement {
  margin: 0;
  max-width: 680px;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 4.25rem);
  line-height: 0.98;
}

.hero-support {
  max-width: 680px;
  margin: 1.35rem 0 0;
  color: var(--soft-ink);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.78rem 1rem;
  border: 1px solid var(--ink);
  font-size: 0.88rem;
  font-weight: 760;
  text-decoration: none;
}

.button.primary {
  color: var(--paper);
  background: var(--ink);
}

.button.secondary {
  color: var(--ink);
  background: transparent;
}

.button:hover {
  border-color: var(--accent);
}

.portrait-block {
  margin: 0;
  align-self: stretch;
  min-height: 560px;
  border-left: 1px solid var(--faint-ink);
  padding-left: clamp(1rem, 3vw, 2rem);
}

.portrait-block img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: 62% 42%;
  filter: saturate(0.92) contrast(1.02);
}

.short-version,
.lenses,
.places,
.credibility,
.arrangement,
.contact {
  padding: clamp(6rem, 10vw, 9rem) 0;
  border-top: 1px solid var(--faint-ink);
}

.measure {
  max-width: 680px;
  margin-left: 0;
}

h2,
h3,
p {
  overflow-wrap: break-word;
}

h2 {
  margin: 0.7rem 0 1.35rem;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.01em;
}

.short-version p,
.arrangement-copy p,
.credibility p {
  max-width: 680px;
  margin: 1rem 0 0;
  color: var(--soft-ink);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.65;
}

.lenses h2,
.places h2 {
  max-width: 980px;
}

.ownership-note {
  max-width: 680px;
  margin: 1rem 0 0;
  color: var(--soft-ink);
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.65;
}

.lens-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  border-block: 1px solid var(--faint-ink);
}

.lens-item {
  min-height: 420px;
  padding: clamp(1.3rem, 3vw, 2.2rem);
  border-right: 1px solid var(--faint-ink);
}

.lens-item:last-child {
  border-right: 0;
}

.lens-item:nth-child(even) {
  padding-top: clamp(1.3rem, 3vw, 2.2rem);
}

.lens-name {
  margin: 0 0 1.4rem;
  font-family: var(--serif);
  font-size: clamp(1.85rem, 2.7vw, 3.25rem);
  line-height: 0.98;
}

.lens-item ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--soft-ink);
}

.lens-item li + li {
  margin-top: 0.65rem;
}

.project-list {
  margin-top: clamp(3rem, 6vw, 5.5rem);
  border-top: 1px solid var(--faint-ink);
}

.project-row {
  display: block;
  padding: clamp(3rem, 6vw, 5.5rem) 0;
  border-bottom: 1px solid var(--faint-ink);
}

.project-body {
  align-self: center;
  display: grid;
  grid-template-columns: minmax(4.5rem, 0.18fr) minmax(0, 680px);
  column-gap: clamp(1.5rem, 5vw, 5rem);
  max-width: 980px;
}

.project-number {
  grid-row: 1 / span 5;
  margin: 0;
  color: rgba(24, 23, 20, 0.32);
  font-family: var(--sans);
  font-size: clamp(2.7rem, 6vw, 5.8rem);
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: -0.06em;
}

.project-place,
.project-body h3,
.project-body p,
.project-body a {
  grid-column: 2;
}

.project-body h3 {
  margin: 0.45rem 0 1rem;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.5vw, 4.5rem);
  font-weight: 600;
  line-height: 0.96;
}

.project-body p {
  margin: 1rem 0 0;
  color: var(--soft-ink);
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.65;
}

.project-focus {
  color: var(--olive);
}

.text-link {
  display: inline-block;
  margin-top: 1.35rem;
  color: var(--ink);
  font-weight: 760;
}

.credibility-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
}

.credibility-layout h2 {
  margin-bottom: 0;
}

.arrangement {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.62fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.arrangement-copy {
  max-width: 760px;
}

.arrangement-lines {
  margin-top: clamp(2rem, 8vw, 5rem);
  border-top: 1px solid var(--ink);
}

.arrangement-lines p {
  margin: 0;
  padding: 1rem 0;
  border-bottom: 1px solid var(--faint-ink);
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3.4vw, 3rem);
  line-height: 1;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.5fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
  color: var(--paper);
  background: var(--ink);
  box-shadow: 0 0 0 100vmax var(--ink);
  clip-path: inset(0 -100vmax);
}

.contact .section-kicker {
  color: #c99a5b;
}

.contact h2 {
  color: var(--paper);
}

.contact-details {
  display: grid;
  gap: 0.7rem;
  font-style: normal;
  color: rgba(251, 248, 241, 0.82);
}

.contact-details strong {
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1;
}

.primary-cta {
  display: inline-flex;
  width: fit-content;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  color: var(--ink);
  background: var(--paper);
  font-weight: 780;
  text-decoration: none;
}

.phone-link {
  width: fit-content;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem 0 2.4rem;
  color: var(--soft-ink);
  font-size: 0.9rem;
}

.site-footer div {
  display: grid;
  gap: 0.25rem;
}

.site-footer div:last-child {
  justify-items: end;
}

.site-footer p {
  margin: 0;
}

.footer-brand {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.04em;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
  }

  .site-nav {
    max-width: 320px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .portrait-block {
    min-height: 0;
    border-left: 0;
    padding-left: 0;
  }

  .portrait-block img {
    aspect-ratio: 4 / 3;
    min-height: 0;
    object-position: 62% 40%;
  }

  .lens-board {
    grid-template-columns: 1fr 1fr;
  }

  .lens-item {
    min-height: 300px;
    border-bottom: 1px solid var(--faint-ink);
  }

  .lens-item:nth-child(2) {
    border-right: 0;
  }

  .project-row,
  .project-row:nth-child(even) {
    display: block;
  }

  .project-body {
    grid-template-columns: minmax(3.8rem, 0.18fr) minmax(0, 1fr);
    column-gap: 1.25rem;
  }

  .credibility-layout,
  .arrangement,
  .contact {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
  }

  .site-footer div:last-child {
    justify-items: start;
  }
}

@media (max-width: 620px) {
  body {
    background:
      linear-gradient(90deg, rgba(24, 23, 20, 0.04) 1px, transparent 1px) 0 0 / 50vw 100%,
      var(--cream);
    font-size: 17px;
  }

  .section-frame {
    width: min(100% - 28px, 1280px);
  }

  .site-header {
    position: relative;
    display: grid;
    padding-inline: 14px;
  }

  .site-nav {
    justify-content: flex-start;
    max-width: none;
    gap: 0.65rem 1rem;
    font-size: 0.8rem;
  }

  .hero {
    padding-top: 2rem;
    padding-bottom: 3rem;
  }

  .eyebrow {
    max-width: 310px;
  }

  .hero h1 {
    font-size: clamp(3.25rem, 17vw, 4.7rem);
    line-height: 0.9;
  }

  .hero h1 span:nth-child(2),
  .hero h1 span:nth-child(3) {
    padding-left: 0;
  }

  .hero-statement {
    font-size: clamp(2rem, 8vw, 2.8rem);
    line-height: 1;
  }

  .hero-actions,
  .button,
  .primary-cta {
    width: 100%;
  }

  .button,
  .primary-cta {
    justify-content: center;
    text-align: center;
  }

  .portrait-block img {
    aspect-ratio: 1 / 1;
    width: 100%;
    object-position: 65% 42%;
  }

  .short-version,
  .lenses,
  .places,
  .credibility,
  .arrangement,
  .contact {
    padding: 4.25rem 0;
  }

  .lens-board {
    grid-template-columns: 1fr;
  }

  .lens-item,
  .lens-item:nth-child(even),
  .lens-item:nth-child(2) {
    min-height: 0;
    padding: 1.4rem 0;
    border-right: 0;
  }

  .project-body h3 {
    font-size: clamp(2.1rem, 11vw, 3.35rem);
  }
}

@media (max-width: 420px) {
  .project-body {
    grid-template-columns: 1fr;
  }

  .project-number,
  .project-place,
  .project-body h3,
  .project-body p,
  .project-body a {
    grid-column: 1;
  }

  .project-number {
    margin-bottom: 0.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
