/* EVREN KURT: luxury editorial
   Layout: a printed-journal page. Wide margins, a 12 column grid, serif
   headlines set large, small-caps sans for wayfinding. Ivory paper with
   olive and charcoal "spreads" for rhythm; brass used only for rules,
   numerals and the active state. Deliberately a single light identity. */
:root {
  --ivory: #F5F1EA;
  --ivory-2: #EDE7DC;
  --paper: #FBF9F5;
  --charcoal: #252A2C;
  --olive: #384743;
  --olive-2: #2F3C38;
  --taupe: #A99985;
  --taupe-ink: #6E6354;        /* taupe darkened for legible small text on ivory */
  --brass: #B99A65;
  --brass-ink: #8A6F42;        /* brass darkened for text on ivory */
  --rule: #D9D0C2;
  --ink: #252A2C;
  --ink-soft: #545A5B;

  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --fs-cap: 0.74rem;
  --fs-sm: 0.92rem;
  --fs-body: clamp(1rem, 0.97rem + 0.15vw, 1.08rem);
  --fs-lead: clamp(1.18rem, 1.05rem + 0.5vw, 1.42rem);
  --fs-h3: clamp(1.5rem, 1.3rem + 0.8vw, 1.95rem);
  --fs-h2: clamp(2.3rem, 1.7rem + 2.6vw, 4rem);
  --fs-hero: clamp(3.6rem, 2rem + 8vw, 9.6rem);

  --gutter: clamp(1rem, 0.4rem + 3.2vw, 3.5rem);
  --max: 1320px;
  --ease: cubic-bezier(0.22, 0.7, 0.12, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.04; letter-spacing: -0.015em; text-wrap: balance; }
::selection { background: var(--olive); color: var(--ivory); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 4px; border-radius: 2px; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2vw, 2rem); }
.cap { font-family: var(--sans); font-size: var(--fs-cap); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--charcoal); color: var(--ivory); padding: 0.7rem 1rem; }
.skip:focus { left: 1rem; top: 1rem; }

/* links with a brass rule that draws in */
.ulink { position: relative; display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 500; padding-block: 0.3rem; }
.ulink::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; opacity: 0.35; }
.ulink::before { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--brass); transition: width 0.55s var(--ease); z-index: 1; }
.ulink:hover::before, .ulink:focus-visible::before { width: 100%; }
.ulink .ar { transition: transform 0.45s var(--ease); }
.ulink:hover .ar { transform: translateX(4px); }

.btn { display: inline-flex; align-items: center; gap: 0.7rem; padding: 0.95rem 1.5rem; border-radius: 999px; font-weight: 500; font-size: var(--fs-sm); letter-spacing: 0.02em; background: var(--olive); color: var(--ivory); transition: background 0.35s var(--ease), transform 0.35s var(--ease); }
.btn:hover { background: var(--charcoal); }
.btn .ar { transition: transform 0.45s var(--ease); }
.btn:hover .ar { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--ivory) 90%, transparent);
  backdrop-filter: saturate(1.2) blur(12px); -webkit-backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color 0.4s;
}
.site-header.scrolled { border-bottom-color: var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.05rem; }
.wordmark { font-family: var(--serif); font-size: 1.45rem; letter-spacing: -0.01em; line-height: 1; }
.wordmark i { color: var(--brass); font-style: normal; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(1.1rem, 2.4vw, 2.4rem); }
.nav a { font-size: 0.9rem; color: var(--ink-soft); position: relative; padding-block: 0.3rem; transition: color 0.3s; }
.nav a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: -0.1rem; height: 1px; background: var(--brass); transition: left 0.45s var(--ease), right 0.45s var(--ease); }
.nav a:hover, .nav a[aria-current="true"] { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="true"]::after { left: 0; right: 0; }
.menu-btn { display: none; align-items: center; gap: 0.6rem; background: none; border: 0; padding: 0.4rem 0; font: inherit; font-size: 0.9rem; color: var(--ink); cursor: pointer; }
.menu-btn .bars { width: 22px; height: 9px; position: relative; }
.menu-btn .bars::before, .menu-btn .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform 0.4s var(--ease), top 0.4s var(--ease); }
.menu-btn .bars::before { top: 0; } .menu-btn .bars::after { top: 7.5px; }
.menu-btn[aria-expanded="true"] .bars::before { top: 4px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars::after { top: 4px; transform: rotate(-45deg); }
@media (max-width: 820px) {
  .menu-btn { display: inline-flex; }
  .nav { position: fixed; inset: 0 0 0 0; top: calc(env(safe-area-inset-top, 0px) + 3.6rem); background: var(--ivory); display: none; }
  .nav.open { display: block; animation: navIn 0.45s var(--ease) both; }
  .nav ul { flex-direction: column; gap: 0; padding: 1.5rem var(--gutter); }
  .nav a { display: block; font-family: var(--serif); font-size: 2.1rem; color: var(--ink); padding-block: 0.7rem; border-bottom: 1px solid var(--rule); }
  .nav a::after { display: none; }
}
@keyframes navIn { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- hero ---------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(3rem, 7vw, 6rem); }
.hero .grid { align-items: end; row-gap: 2.5rem; }
.hero-text { grid-column: 1 / 8; display: grid; gap: clamp(1.4rem, 2.5vw, 2rem); min-width: 0; }
.kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; color: var(--taupe-ink); }
.kicker .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--brass); }
.hero h1 { font-size: var(--fs-hero); line-height: 0.92; letter-spacing: -0.035em; font-weight: 350; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero h1 .ln > span { display: inline-block; animation: rise 1.2s var(--ease) both; }
.hero h1 .ln:nth-child(2) > span { animation-delay: 0.12s; }
.hero h1 .full { color: var(--brass); }
.statement { font-family: var(--serif); font-style: italic; font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2.2rem); line-height: 1.25; color: var(--olive); max-width: 22ch; animation: fadeUp 1s 0.45s var(--ease) both; }
.hero-intro { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-soft); max-width: 40ch; animation: fadeUp 1s 0.6s var(--ease) both; }
.hero-intro strong { color: var(--ink); font-weight: 500; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; animation: fadeUp 1s 0.75s var(--ease) both; }

.portrait { grid-column: 8 / 13; margin: 0; position: relative; min-width: 0; }
.portrait .frame { position: relative; aspect-ratio: 4 / 5; max-width: 100%; overflow: hidden; border-radius: 2px; background: var(--ivory-2); animation: unveil 1.5s 0.2s var(--ease) both; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; animation: settle 2.2s 0.2s var(--ease) both; transition: transform 1.4s var(--ease); }
.portrait:hover img { transform: scale(1.02); }
.portrait .stack { position: relative; }
.portrait .stack::after { content: ""; position: absolute; top: 1.25rem; left: -1.25rem; right: 1.25rem; bottom: -1.25rem; border: 1px solid var(--brass); z-index: -1; pointer-events: none; }
.portrait figcaption { margin-top: 1.9rem; display: flex; justify-content: space-between; gap: 1rem; color: var(--taupe-ink); font-size: var(--fs-sm); }
.portrait figcaption b { color: var(--ink); font-weight: 500; }

.facts { margin-top: clamp(3rem, 6vw, 5rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) minmax(0, 1fr); border-top: 1px solid var(--charcoal); animation: fadeUp 1s 0.9s var(--ease) both; }
.facts > div { padding: 1.2rem 1.25rem 0.2rem 0; display: grid; gap: 0.35rem; align-content: start; min-width: 0; }
.facts > div + div { padding-left: 1.25rem; border-left: 1px solid var(--rule); }
.facts .cap { color: var(--taupe-ink); }
.facts p { font-family: var(--serif); font-size: 1.18rem; line-height: 1.3; }
.facts p.sub { font-family: var(--sans); font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 0.35rem; }

@media (max-width: 900px) {
  .hero-text, .portrait { grid-column: 1 / -1; }
  .portrait { max-width: 460px; width: calc(100% - 1.25rem); margin-left: 1.25rem; order: -1; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts > div:nth-child(n + 3) { border-top: 1px solid var(--rule); margin-top: 1rem; }
}
@media (max-width: 460px) { .facts { grid-template-columns: 1fr; } .facts > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); margin-top: 1rem; } }

@keyframes rise { from { transform: translateY(105%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }
@keyframes unveil { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes settle { from { transform: scale(1.12); } }

/* ---------- section shells ---------- */
section { position: relative; }
.sec { padding-block: clamp(4.5rem, 10vw, 9rem); }
.sec-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2vw, 2rem); row-gap: 1.25rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); align-items: end; }
.sec-head .label { grid-column: 1 / -1; display: flex; align-items: center; gap: 1rem; color: var(--taupe-ink); }
.sec-head .label::after { content: ""; height: 1px; flex: 1; background: var(--rule); }
.sec-head h2 { grid-column: 1 / 8; font-size: var(--fs-h2); }
.sec-head h2 em { font-style: italic; color: var(--olive); }
.sec-head p { grid-column: 8 / 13; color: var(--ink-soft); max-width: 44ch; }
@media (max-width: 900px) { .sec-head h2, .sec-head p { grid-column: 1 / -1; } }

/* dark spreads */
.spread-olive { background: var(--olive); color: var(--ivory); }
.spread-olive .sec-head .label { color: var(--brass); }
.spread-olive .sec-head .label::after { background: rgba(245, 241, 234, 0.18); }
.spread-olive .sec-head h2 em { color: var(--brass); }
.spread-olive .sec-head p { color: rgba(245, 241, 234, 0.74); }
.spread-dark { background: var(--charcoal); color: var(--ivory); }

/* reveal: always visible, gently lifts where supported */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: lift linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
    @keyframes lift { from { opacity: 0.35; transform: translateY(26px); } }
  }
}

/* ---------- about ---------- */
.about-grid { row-gap: clamp(2.5rem, 5vw, 4rem); }
.about-photo { grid-column: 1 / 6; margin: 0; align-self: start; position: sticky; top: 6.5rem; }
.about-photo .frame { aspect-ratio: 4 / 5; max-width: 100%; overflow: hidden; border-radius: 2px; background: var(--ivory-2); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 46% 35%; transform: scale(1.02); transition: transform 1.6s var(--ease); }
.about-photo:hover img { transform: scale(1.05); }
.about-photo figcaption { margin-top: 0.9rem; font-size: var(--fs-sm); color: var(--taupe-ink); }
.chapters { grid-column: 7 / 13; display: grid; gap: clamp(2rem, 4vw, 3rem); min-width: 0; }
.chapter { display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); gap: 0 1rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); }
.chapter .num { font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--brass-ink); line-height: 1.1; }
.chapter h3 { font-size: var(--fs-h3); margin-bottom: 0.7rem; }
.chapter h3 small { display: block; font-family: var(--sans); font-size: var(--fs-cap); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--taupe-ink); margin-bottom: 0.5rem; }
.chapter p { color: var(--ink-soft); max-width: 58ch; }
.chapter p + p { margin-top: 0.8rem; }
.lead-in { font-family: var(--serif); font-size: var(--fs-lead); line-height: 1.5; color: var(--ink); max-width: 36ch; }
@media (max-width: 900px) {
  .about-photo, .chapters { grid-column: 1 / -1; }
  .about-photo { position: static; max-width: 520px; }
  .about-photo .frame { aspect-ratio: 16 / 10; }
}

/* ---------- focus ---------- */
.focus-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(245, 241, 234, 0.22); }
.focus { padding: 2.2rem 2rem 2.4rem 0; display: grid; gap: 1.15rem; align-content: start; position: relative; min-width: 0; }
.focus + .focus { padding-left: 2rem; border-left: 1px solid rgba(245, 241, 234, 0.14); }
.focus::before { content: ""; position: absolute; top: -1px; left: 0; height: 1px; width: 0; background: var(--brass); transition: width 0.8s var(--ease); }
.focus + .focus::before { left: 2rem; }
.focus:hover::before { width: calc(100% - 2rem); }
.focus .idx { font-family: var(--serif); font-style: italic; font-size: 3rem; line-height: 1; color: var(--brass); }
.focus h3 { font-size: var(--fs-h3); }
.focus > p { color: rgba(245, 241, 234, 0.78); }
.focus ul { list-style: none; margin: 0; padding: 0; display: grid; }
.focus li { padding: 0.65rem 0; border-top: 1px solid rgba(245, 241, 234, 0.14); font-size: 0.97rem; display: flex; gap: 0.75rem; }
.focus li::before { content: ""; width: 14px; height: 1px; background: var(--brass); margin-top: 0.85em; flex: none; }
.juris { margin-top: 0.4rem; padding: 1rem 1.1rem; background: var(--olive-2); border-left: 2px solid var(--brass); font-size: 0.9rem; line-height: 1.6; color: rgba(245, 241, 234, 0.84); }
.juris .cap { display: block; color: var(--brass); margin-bottom: 0.35rem; font-size: 0.68rem; }
.focus-note { margin-top: 2.5rem; font-size: var(--fs-sm); color: rgba(245, 241, 234, 0.66); max-width: 78ch; }
@media (max-width: 960px) {
  .focus-list { grid-template-columns: 1fr; }
  .focus, .focus + .focus { padding-left: 0; padding-right: 0; border-left: 0; }
  .focus + .focus { border-top: 1px solid rgba(245, 241, 234, 0.14); }
  .focus + .focus::before { left: 0; }
  .focus:hover::before { width: 100%; }
}

/* ---------- career ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem; }
.chip { font: inherit; font-size: 0.86rem; padding: 0.55rem 1.05rem; border-radius: 999px; border: 1px solid var(--rule); background: transparent; color: var(--ink-soft); cursor: pointer; transition: all 0.3s var(--ease); }
.chip:hover { border-color: var(--taupe); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--charcoal); border-color: var(--charcoal); color: var(--ivory); }
.timeline { position: relative; list-style: none; margin: 0; padding: 0; }
.timeline::before { content: ""; position: absolute; left: 10.5rem; top: 0.5rem; bottom: 0.5rem; width: 1px; background: var(--rule); }
.timeline .progress { position: absolute; left: 10.5rem; top: 0.5rem; width: 1px; height: var(--p, 0%); background: var(--brass); transition: height 0.2s linear; }
.tl-item { display: grid; grid-template-columns: 9.25rem 2.5rem minmax(0, 1fr); position: relative; }
.tl-item[hidden] { display: none !important; }
.tl-when { padding-top: 1.45rem; text-align: right; font-size: 0.86rem; color: var(--taupe-ink); font-variant-numeric: tabular-nums; line-height: 1.4; }
.tl-dot { position: relative; }
.tl-dot::before { content: ""; position: absolute; left: calc(1.25rem - 5px); top: 1.75rem; width: 9px; height: 9px; border-radius: 50%; background: var(--ivory); border: 1px solid var(--brass); transition: background 0.35s, transform 0.35s; }
.tl-item.lit .tl-dot::before { background: var(--brass); }
.tl-item.is-now .tl-dot::before { box-shadow: 0 0 0 5px rgba(185, 154, 101, 0.22); }
.tl-body { border-bottom: 1px solid var(--rule); }
.tl-toggle { width: 100%; text-align: left; background: none; border: 0; padding: 1.2rem 0; font: inherit; color: inherit; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.25rem 1rem; align-items: start; }
.tl-toggle h3 { font-size: 1.42rem; line-height: 1.2; transition: color 0.3s; }
.tl-toggle:hover h3 { color: var(--olive); }
.tl-meta { grid-column: 1; display: flex; flex-wrap: wrap; gap: 0.4rem 0.9rem; align-items: center; font-size: 0.9rem; color: var(--ink-soft); }
.tag { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; padding: 0.22rem 0.55rem; border-radius: 3px; background: var(--ivory-2); color: var(--olive); }
.tag.t-adm { background: var(--olive); color: var(--ivory); }
.tag.t-deg { background: #E7DCC7; color: #6A5330; }
.plus { grid-column: 2; grid-row: 1 / span 2; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--rule); position: relative; margin-top: 0.15rem; transition: transform 0.45s var(--ease), border-color 0.3s, background 0.3s; }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1px; background: var(--ink); transform: translate(-50%, -50%); }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.45s var(--ease); }
.tl-toggle:hover .plus { border-color: var(--brass); }
.tl-toggle[aria-expanded="true"] .plus { background: var(--charcoal); border-color: var(--charcoal); }
.tl-toggle[aria-expanded="true"] .plus::before { background: var(--ivory); }
.tl-toggle[aria-expanded="true"] .plus::after { transform: translate(-50%, -50%) rotate(0deg); background: var(--ivory); }
.tl-detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.55s var(--ease); }
.tl-detail > div { overflow: hidden; }
.tl-toggle[aria-expanded="true"] + .tl-detail { grid-template-rows: 1fr; }
.tl-detail ul { margin: 0; padding: 0 0 1.4rem; list-style: none; display: grid; gap: 0.5rem; max-width: 64ch; color: var(--ink-soft); font-size: 0.97rem; }
.tl-detail li { padding-left: 1.3rem; position: relative; }
.tl-detail li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 0.7rem; height: 1px; background: var(--brass); }
.legend { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; font-size: 0.86rem; color: var(--ink-soft); }
.legend span { display: inline-flex; align-items: center; gap: 0.5rem; }
@media (max-width: 700px) {
  .timeline::before, .timeline .progress { left: 0.6rem; }
  .tl-item { grid-template-columns: 1.6rem minmax(0, 1fr); }
  .tl-when { grid-column: 2; grid-row: 1; text-align: left; padding-top: 1.2rem; }
  .tl-dot { grid-column: 1; grid-row: 1 / span 2; }
  .tl-dot::before { left: calc(0.6rem - 4.5px); top: 1.45rem; }
  .tl-body { grid-column: 2; }
  .tl-toggle { padding-top: 0.25rem; }
}

/* ---------- journal ---------- */
.journal { background: var(--paper); border-block: 1px solid var(--rule); }
.articles { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2vw, 2rem); row-gap: 0; }
.article { grid-column: span 6; padding: 1.8rem 0 2rem; border-top: 1px solid var(--charcoal); display: grid; gap: 0.75rem; align-content: start; }
.article:nth-child(1) { grid-column: 1 / -1; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2vw, 2rem); }
.article:nth-child(1) .a-meta { grid-column: 1 / 4; }
.article:nth-child(1) .a-main { grid-column: 4 / 13; display: grid; gap: 0.75rem; }
.article:nth-child(1) h3 { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 3rem); }
.a-main { display: grid; gap: 0.75rem; }
.a-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 0.9rem; align-items: center; font-size: 0.86rem; color: var(--taupe-ink); align-content: start; }
.status { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; padding: 0.22rem 0.55rem; border: 1px solid var(--taupe); border-radius: 3px; color: var(--taupe-ink); }
.article h3 { font-size: 1.6rem; line-height: 1.15; }
.article p { color: var(--ink-soft); max-width: 56ch; }
.byline { font-size: 0.86rem; color: var(--taupe-ink); }
.journal-note { margin-top: 2rem; font-size: var(--fs-sm); color: var(--taupe-ink); max-width: 80ch; }
@media (max-width: 820px) {
  .article, .article:nth-child(1) { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr; }
  .article:nth-child(1) .a-meta, .article:nth-child(1) .a-main { grid-column: 1 / -1; }
}

/* ---------- engagement ---------- */
.engage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(1rem, 2vw, 2rem); }
.engage-col { border-top: 1px solid var(--charcoal); padding-top: 1.3rem; display: grid; gap: 1.1rem; align-content: start; }
.engage-col .cap { color: var(--taupe-ink); }
.engage-col dl { margin: 0; display: grid; gap: 1.1rem; }
.engage-col dt { font-family: var(--serif); font-size: 1.32rem; line-height: 1.25; }
.engage-col dd { margin: 0.2rem 0 0; font-size: 0.93rem; color: var(--ink-soft); }
@media (max-width: 860px) { .engage { grid-template-columns: 1fr; row-gap: 2.2rem; } }

/* ---------- contact ---------- */
.contact .grid { align-items: end; row-gap: 3rem; }
.contact-text { grid-column: 1 / 8; display: grid; gap: 2rem; min-width: 0; }
.contact .cap { color: var(--brass); }
.contact h2 { font-size: clamp(3rem, 2rem + 5vw, 7rem); line-height: 0.95; letter-spacing: -0.03em; font-weight: 350; }
.contact h2 em { color: var(--brass); }
.contact-links { display: grid; border-top: 1px solid rgba(245, 241, 234, 0.22); max-width: 640px; }
.contact-links a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.3rem 0; border-bottom: 1px solid rgba(245, 241, 234, 0.14); transition: padding 0.45s var(--ease); }
.contact-links a:hover { padding-left: 0.6rem; }
.contact-links b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.6rem; line-height: 1.2; }
.contact-links small { display: block; font-size: 0.86rem; color: rgba(245, 241, 234, 0.6); margin-top: 0.15rem; }
.contact-links .ar { color: var(--brass); font-size: 1.2rem; transition: transform 0.45s var(--ease); }
.contact-links a:hover .ar { transform: translate(4px, -4px); }
.enquiry { max-width: 640px; padding: 1.3rem 1.4rem; border: 1px solid rgba(185, 154, 101, 0.45); font-size: 0.95rem; line-height: 1.65; color: rgba(245, 241, 234, 0.82); }
.enquiry b { color: var(--ivory); font-weight: 500; }
.contact-photo { grid-column: 9 / 13; margin: 0; }
.contact-photo .frame { aspect-ratio: 3 / 4; max-width: 100%; overflow: hidden; border-radius: 2px; }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.contact-photo figcaption { margin-top: 0.9rem; font-size: var(--fs-sm); color: rgba(245, 241, 234, 0.6); }
@media (max-width: 900px) { .contact-text, .contact-photo { grid-column: 1 / -1; } .contact-photo { max-width: 360px; } }

/* ---------- footer ---------- */
.site-footer { background: var(--charcoal); color: rgba(245, 241, 234, 0.62); border-top: 1px solid rgba(245, 241, 234, 0.12); padding-block: 2.5rem 3rem; font-size: 0.86rem; line-height: 1.65; }
.site-footer .grid { row-gap: 1.5rem; }
.site-footer .disc { grid-column: 1 / 9; max-width: 88ch; }
.site-footer .disc b { color: var(--ivory); font-weight: 500; }
.site-footer .side { grid-column: 9 / 13; text-align: right; display: grid; gap: 0.3rem; align-content: start; }
.site-footer .side .wordmark { color: var(--ivory); font-size: 1.3rem; }
@media (max-width: 860px) { .site-footer .disc, .site-footer .side { grid-column: 1 / -1; text-align: left; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}

/* ---------- photographs: monochrome at rest, colour when engaged ---------- */
.portrait img, .about-photo img, .contact-photo img {
  filter: grayscale(1) contrast(1.05) brightness(1.02);
  transition: filter 1.1s var(--ease), transform 1.6s var(--ease);
}
.portrait:hover img, .about-photo:hover img, .contact-photo:hover img,
.portrait.color img, .about-photo.color img, .contact-photo.color img { filter: grayscale(0) contrast(1) brightness(1); }
.photo-hint { display: inline-flex; align-items: center; gap: 0.45rem; }
.photo-hint::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(90deg, var(--taupe) 50%, var(--brass) 50%); }

/* photographs open like a shutter as they come into view (only those below the fold) */
.frame.wipe { clip-path: inset(100% 0 0 0); }
.frame.wipe.shown { clip-path: inset(0 0 0 0); transition: clip-path 1.4s var(--ease); }
.frame.wipe img { transform: scale(1.14); }
.frame.wipe.shown img { transform: scale(1.02); }

/* gentle drift on the About photograph while scrolling */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .about-photo .frame img { animation: drift linear both; animation-timeline: view(); }
    @keyframes drift { from { object-position: 46% 25%; } to { object-position: 46% 45%; } }
  }
}

/* headline words rise one after another when a section arrives */
.sec-head h2 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; }
.sec-head h2 .w > span { display: inline-block; }
.sec-head h2.split.armed .w > span { transform: translateY(105%); }
.sec-head h2.split.armed.shown .w > span { transform: none; transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 70ms); }

/* focus cards and journal entries arrive in sequence */
.stagger.armed > * { opacity: 0; transform: translateY(22px); }
.stagger.armed.shown > * { opacity: 1; transform: none; transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.stagger.armed.shown > *:nth-child(2) { transition-delay: 0.12s; }
.stagger.armed.shown > *:nth-child(3) { transition-delay: 0.24s; }
.stagger.armed.shown > *:nth-child(4) { transition-delay: 0.36s; }
.stagger.armed.shown > *:nth-child(5) { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  .frame.wipe { clip-path: none; }
  .sec-head h2.split.armed .w > span, .stagger.armed > * { transform: none; opacity: 1; }
}
