@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./assets/anton-normal-400.ttf) format('truetype');
}

@font-face {
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(./assets/eb-garamond-italic-400.ttf) format('truetype');
}

@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./assets/eb-garamond-normal-400.ttf) format('truetype');
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./assets/ibm-plex-mono-normal-400.ttf) format('truetype');
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(./assets/ibm-plex-mono-normal-500.ttf) format('truetype');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(./assets/cormorant-garamond-italic.ttf) format('truetype');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./assets/cormorant-garamond-normal.ttf) format('truetype');
}
:root {
  --ink: #1a0f0a;
  --paper: #ebdbbc;
  --gold: #f2cd64;
  --clay: #3d2a1e;
  --line: rgba(26, 15, 10, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "EB Garamond", Georgia, serif;
}

a {
  color: inherit;
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px clamp(22px, 5vw, 72px);
  color: var(--paper);
  border-bottom: 1px solid rgba(242, 236, 223, 0.24);
}

.wordmark {
  text-decoration: none;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  letter-spacing: 0.04em;
}

.wordmark span {
  color: var(--gold);
  padding: 0 0.24em;
}

nav {
  display: flex;
  gap: clamp(18px, 3vw, 42px);
}

nav a {
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.76rem;
  letter-spacing: 0.13em;
}

nav a:hover,
nav a:focus-visible {
  color: var(--gold);
}

.hero {
  position: relative;
  min-height: 95vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  align-items: center;
  gap: 5vw;
  padding: 140px clamp(22px, 7vw, 112px) 72px;
  color: var(--paper);
  background-color: var(--ink);
  background-image:
    linear-gradient(rgba(242, 236, 223, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 236, 223, 0.055) 1px, transparent 1px);
  background-size: 76px 76px;
}

.hero::before {
  content: "";
  position: absolute;
  width: clamp(360px, 52vw, 760px);
  aspect-ratio: 1;
  top: -100px;
  right: -90px;
  border-radius: 50%;
  background: rgba(242, 205, 100, 0.065);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 8px;
  background: var(--gold);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 840px;
}

.eyebrow,
.section-label,
.card-number,
.hero-index {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow,
.hero-index,
.card-number {
  color: var(--gold);
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  max-width: 900px;
  margin: 30px 0 28px;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6.4vw, 7rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.025em;
}

h1 em {
  color: var(--gold);
  font-weight: 400;
}

.hero-intro {
  max-width: 660px;
  margin: 0 0 38px;
  font-size: clamp(1.05rem, 1.55vw, 1.35rem);
  line-height: 1.55;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 15px 18px;
  border: 1px solid var(--gold);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  transition: 160ms ease;
}

.button:hover,
.button:focus-visible {
  color: var(--ink);
  background: var(--gold);
}

.hero-photo {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: 480px;
  justify-self: end;
}

.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-photo figcaption {
  padding: 14px 0;
  color: var(--gold);
  font-family: monospace;
  font-size: .875rem;
  line-height: 1.5;
}

.hero-index {
  position: absolute;
  right: clamp(22px, 5vw, 72px);
  bottom: 32px;
}

.manifesto,
.work,
.why,
.about,
.contact {
  padding: clamp(72px, 10vw, 150px) clamp(22px, 7vw, 112px);
}

.manifesto {
  display: grid;
  grid-template-columns: minmax(160px, 0.35fr) minmax(0, 1fr);
  gap: 5vw;
  border-bottom: 1px solid var(--line);
}

.manifesto-text {
  max-width: 1080px;
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.7vw, 5rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 55px;
}

h2 {
  margin: 18px 0 0;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 5vw, 5.8rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.work-card {
  min-height: 360px;
  padding: 28px 30px 34px 0;
}

.work-card + .work-card {
  padding-left: 30px;
  border-left: 1px solid var(--ink);
}

.work-card h3 {
  margin: 105px 0 18px;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 400;
}

.work-card p:last-child {
  max-width: 360px;
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
}

.why {
  color: var(--paper);
  background: var(--clay);
}

.why .section-label {
  color: var(--gold);
}

.why-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 8vw;
  align-items: end;
}

.why-layout h2 {
  max-width: 750px;
}

.why-layout div {
  border-top: 1px solid rgba(242, 236, 223, 0.5);
  padding-top: 24px;
}

.why-layout div p {
  margin: 0 0 1.2em;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.6;
}

.about {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1fr);
  gap: 8vw;
  align-items: center;
  margin-top: 52px;
}

.about-portrait {
  margin: 0;
  width: 100%;
  max-width: 320px;
}

.about-portrait img {
  display: block;
  width: 100%;
  height: auto;
}

.about-role {
  margin: 0;
  font-size: .875rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

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

.about-copy h2 {
  margin-bottom: 42px;
}

.about-copy > p:not(.about-role) {
  max-width: 680px;
  margin: 0 0 1.15em;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.65;
}

.contact {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--paper);
  background: var(--ink);
}

.contact .section-label {
  color: var(--gold);
}

.contact h2 {
  margin: 25px 0 50px;
}

.contact > a {
  width: fit-content;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gold);
  color: var(--gold);
  text-decoration: none;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2.3vw, 2rem);
}

.contact > .instagram-link {
  margin-top: 28px;
  font-family: "EB Garamond", Georgia, serif;
  font-size: 1rem;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px clamp(22px, 5vw, 72px);
  color: var(--paper);
  background: var(--ink);
  border-top: 1px solid rgba(242, 236, 223, 0.2);
}

footer p {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 800px) {
  .site-header nav a:not(:last-child) {
    display: none;
  }

  .hero {
    min-height: 100svh;
    grid-template-columns: 1fr;
    align-content: center;
  }

  .hero-photo {
    justify-self: start;
    max-width: 440px;
    margin-top: 24px;
  }

  .hero-copy {
    z-index: 3;
  }

  .hero-intro {
    max-width: 520px;
  }

  .manifesto,
  .why-layout,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-portrait {
    max-width: 260px;
  }

  .manifesto {
    gap: 35px;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-card {
    min-height: auto;
    padding: 26px 0 34px;
  }

  .work-card + .work-card {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--ink);
  }

  .work-card h3 {
    margin-top: 56px;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.field-note { padding: clamp(56px,8vw,100px) clamp(22px,7vw,112px); background: var(--ink); color: var(--paper); }
.note-intro { max-width: 900px; }
.note-intro .section-label { color: var(--gold); }
.note-intro h2 { font-size: clamp(2.5rem,6vw,5.5rem); }
.note-intro > p:not(.section-label) { font-size: 1.125rem; line-height: 1.6; }
.note-intro .note-hint { font-size: .875rem; }
.note-gallery { display:flex; gap:24px; overflow-x:auto; scroll-snap-type:x mandatory; padding: 24px 0 16px; }
.note-slide { flex:0 0 min(80vw,480px); margin:0; scroll-snap-align:start; }
.note-slide img { display:block; width:100%; height:auto; }
.note-slide figcaption { padding:12px 0; font-family:monospace; font-size:.875rem; color:var(--gold); }
.note-controls { display:flex; gap:16px; margin-top:16px; }
.note-controls button { padding:12px 18px; min-height:44px; border:1px solid var(--gold); background:transparent; color:var(--paper); font:inherit; cursor:pointer; }
.note-controls button:hover { background:var(--gold); color:var(--ink); }
.note-controls button:disabled { opacity:.4; cursor:default; }
.note-gallery:focus-visible, .note-controls button:focus-visible, .note-slide a:focus-visible { outline:2px solid var(--gold); outline-offset:4px; }

.featured-reading { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(28px,6vw,90px); align-items:start; padding:clamp(56px,8vw,100px) clamp(22px,7vw,112px); }
.featured-reading img { display:block; width:100%; height:auto; }
.reading-copy h2 { font-size:clamp(2.5rem,4vw,4.5rem); margin-bottom:28px; }
.reading-copy p { font-size:1rem; line-height:1.65; }
.reading-copy blockquote { margin:32px 0; font:italic clamp(1.6rem,2.8vw,2.8rem)/1.25 "Cormorant Garamond",Georgia,serif; }
.reading-copy summary { cursor:pointer; padding:16px 0; border-top:1px solid var(--ink); font-size:1rem; }
.reading-copy details { margin-top:32px; }
@media(max-width:800px) { .featured-reading { grid-template-columns:1fr; } }

/* Editorial type system */
body { font-size: 1.125rem; }
nav, .eyebrow, .section-label, .card-number, .hero-index,
.button, .hero-photo figcaption, .about-role, footer p,
.note-slide figcaption, .note-controls, .note-hint,
.reading-copy > p, .contact > .instagram-link {
  font-family: "IBM Plex Mono", monospace;
}
nav a, .eyebrow, .section-label, .card-number, .hero-index,
.button, .about-role, footer p { font-size: .875rem; letter-spacing: .08em; }
.work-card p:last-child, .reading-copy details p { font-size: 1.1875rem; line-height: 1.6; }
.hero-intro, .why-layout div p, .about-copy > p:not(.about-role) {
  font-size: clamp(1.1875rem, 1.7vw, 1.4375rem);
  line-height: 1.55;
}
.reading-copy > p { font-size: .875rem; }
.note-intro h2 {
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: uppercase;
}
@media (min-width: 801px) and (max-width: 1050px) {
  nav { gap: 18px; }
  nav a { font-size: .8125rem; letter-spacing: .04em; }
}
