/* ============================================================
   MOHAMMEDAN LAW ASSOCIATES · design system
   Ink charcoal-navy · antique brass · warm paper
   Fraunces (display) · Inter (body)
   ============================================================ */

:root {
  --ink-950: #0b1017;
  --ink-900: #10161f;
  --ink-800: #141c27;
  --ink-700: #1b2532;
  --brass: #b08d57;
  --brass-bright: #c9a86b;
  --paper: #f6f3ee;
  --paper-deep: #efeae2;
  --paper-text: #1c1c1c;
  --paper-muted: #5c6a72;
  --text: #e8e6e1;
  --muted: #939daa;
  --hairline: rgba(232, 230, 225, 0.14);
  --hairline-soft: rgba(232, 230, 225, 0.08);
  --hairline-dark: rgba(28, 28, 28, 0.16);
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-inout: cubic-bezier(0.76, 0, 0.24, 1);
  --pad-x: clamp(1.25rem, 5vw, 5rem);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink-900);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
::selection { background: var(--brass); color: var(--ink-950); }

:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.writing :focus-visible, .articles-index :focus-visible { outline-color: #846838; }

.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;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--brass); color: var(--ink-950); padding: 0.6rem 1.2rem;
  font-size: 0.85rem; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- Type helpers ---------- */
.h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.h2 em, .pagehead__title em, .hero__title em, .cta__title em {
  font-style: italic; color: var(--brass-bright);
}
.lead {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.5;
  margin-bottom: 1.4rem;
}
.eyebrow {
  display: flex; align-items: center; gap: 0.9rem;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1.6rem;
}
.eyebrow .rule { display: inline-block; width: 3rem; height: 1px; background: var(--brass); }
.split__body p:not(.eyebrow):not(.lead), .tl__text, .pcard__text { color: var(--muted); }
.split__body p { margin-bottom: 1.25rem; max-width: 58ch; }
em { font-style: italic; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-block;
  padding: 0.95rem 2.2rem;
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid transparent;
  transition: background 0.35s var(--ease-out), color 0.35s var(--ease-out),
              border-color 0.35s var(--ease-out), transform 0.35s var(--ease-out);
  will-change: transform;
}
.btn--gold { background: var(--brass); color: var(--ink-950); }
.btn--gold:hover { background: var(--brass-bright); }
.btn--ghost { border-color: var(--hairline); color: var(--text); }
.btn--ghost:hover { border-color: var(--brass); color: var(--brass-bright); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brass);
  padding-bottom: 0.35rem;
  background: linear-gradient(currentColor, currentColor) no-repeat left bottom / 0% 1px;
  transition: background-size 0.5s var(--ease-out), color 0.3s;
}
.link-arrow:hover { background-size: 100% 1px; color: var(--brass-bright); }
.link-arrow span { transition: transform 0.4s var(--ease-out); }
.link-arrow:hover span { transform: translateX(6px); }
.link-arrow--dark { color: #7f6436; }
.link-arrow--dark:hover { color: #6f5730; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--ink-950);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.9s var(--ease-inout);
}
.preloader.is-done { transform: translateY(-101%); }
.preloader__mark { text-align: center; }
.preloader__letters {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 300;
  letter-spacing: 0.28em; margin-right: -0.28em;
  color: var(--text);
  opacity: 0;
  animation: pre-fade 0.8s var(--ease-out) 0.1s forwards;
}
.preloader__rule {
  display: block; height: 1px; background: var(--brass);
  margin: 1.1rem auto 1rem; width: 100%; max-width: 14rem;
  transform: scaleX(0);
  animation: pre-rule 0.9s var(--ease-inout) 0.35s forwards;
}
.preloader__sub {
  display: block;
  font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--brass);
  opacity: 0;
  animation: pre-fade 0.7s var(--ease-out) 0.7s forwards;
}
@keyframes pre-fade { to { opacity: 1; } }
@keyframes pre-rule { to { transform: scaleX(1); } }
body.is-loading { overflow: hidden; }
html:not(.js) .preloader { display: none; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 120;
  transition: transform 0.45s var(--ease-out), background 0.45s, border-color 0.45s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(11, 16, 23, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--hairline-soft);
}
/* pages that open on a light surface keep the solid bar from the start */
.page-article .nav {
  background: rgba(11, 16, 23, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--hairline-soft);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav.is-hidden:focus-within { transform: none; }
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem var(--pad-x);
}
.nav__brand { display: flex; align-items: center; gap: 0.85rem; }
.nav__brand-mark {
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.05rem; letter-spacing: 0.14em;
  color: var(--brass);
  border: 1px solid var(--brass);
  padding: 0.35rem 0.55rem;
  line-height: 1;
}
.nav__brand-name {
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  line-height: 1.5;
}
.nav__links { display: flex; align-items: center; gap: 2.2rem; }
.nav__links a:not(.nav__cta) {
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.06em;
  padding-bottom: 0.3rem;
  background: linear-gradient(var(--brass), var(--brass)) no-repeat left bottom / 0% 1px;
  transition: background-size 0.45s var(--ease-out), color 0.3s;
}
.nav__links a:not(.nav__cta):hover,
.nav__links a[aria-current="page"] { background-size: 100% 1px; color: var(--brass-bright); }

/* Practice dropdown: the word navigates, the caret opens */
.nav__item { position: relative; display: flex; align-items: center; gap: 0.4rem; }
.nav__caret {
  display: grid; place-items: center;
  width: 1.3rem; height: 1.3rem; padding: 0; margin-top: -0.2rem;
  background: none; border: none; cursor: pointer;
  color: inherit;
}
.nav__caret svg {
  width: 0.6rem; height: 0.6rem;
  transition: transform 0.3s var(--ease-out), color 0.3s;
}
.nav__caret:hover svg, .nav__item.is-open .nav__caret svg { color: var(--brass-bright); }
.nav__item.is-open .nav__caret svg { transform: rotate(180deg); }
.nav__drop {
  position: absolute; top: calc(100% + 0.85rem); left: 50%;
  transform: translate(-50%, 8px);
  min-width: 16.5rem;
  background: var(--ink-900);
  border: 1px solid var(--hairline);
  padding: 0.55rem 0;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out),
              visibility 0s linear 0.3s;
  z-index: 130;
}
.nav__drop::before {
  /* keeps the pointer inside the hover area on the way down */
  content: ""; position: absolute; top: -0.9rem; left: 0; right: 0; height: 0.9rem;
}
.nav__item.is-open .nav__drop,
.nav__item:focus-within .nav__drop {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
  transition-delay: 0s;
}
@media (hover: hover) {
  .nav__item:hover .nav__drop {
    opacity: 1; visibility: visible; transform: translate(-50%, 0);
    transition-delay: 0s;
  }
  .nav__item:hover .nav__caret svg { color: var(--brass-bright); transform: rotate(180deg); }
}
.nav__links .nav__drop a {
  display: block;
  padding: 0.6rem 1.2rem;
  font-size: 0.78rem;
  background: none;
}
.nav__links .nav__drop a:hover,
.nav__links .nav__drop a[aria-current="page"] { color: var(--brass-bright); background: var(--hairline-soft); }
.nav__cta {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid var(--hairline); padding: 0.6rem 1.3rem;
  transition: border-color 0.35s, color 0.35s, background 0.35s;
}
.nav__cta:hover { border-color: var(--brass); color: var(--brass-bright); }
.nav__burger { display: none; position: relative; width: 2.4rem; height: 2.4rem; z-index: 120; }
.nav__burger span {
  position: absolute; left: 0.35rem; right: 0.35rem; height: 1px;
  background: var(--text);
  transition: transform 0.4s var(--ease-out), top 0.4s var(--ease-out);
}
.nav__burger span:first-child { top: 0.95rem; }
.nav__burger span:last-child { top: 1.45rem; }
.nav__burger.is-open span:first-child { top: 1.2rem; transform: rotate(45deg); }
.nav__burger.is-open span:last-child { top: 1.2rem; transform: rotate(-45deg); }

/* ---------- Full-screen menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 110;
  background: var(--ink-950);
  display: flex; flex-direction: column;
  overflow-y: auto;
  padding: 0 var(--pad-x);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.7s var(--ease-inout), visibility 0s 0.7s;
}
.menu.is-open { clip-path: inset(0); visibility: visible; transition: clip-path 0.7s var(--ease-inout); }
.menu__links { margin: auto 0; padding: 6rem 0 2rem; }
.menu__links a {
  display: flex; align-items: baseline; gap: 1.2rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 7vw, 3.4rem); font-weight: 300; line-height: 1.25;
  padding: 0.5rem 0;
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), color 0.3s;
  transition-delay: 0s;
}
/* the three practices, indented beneath the Practice line */
.menu__links .menu__sub { display: flex; flex-direction: column; margin: 0.1rem 0 0.5rem 3.4rem; }
.menu__links .menu__sub a {
  font-family: var(--font-body);
  font-size: 0.92rem; font-weight: 500; letter-spacing: 0.04em;
  line-height: 1.4;
  padding: 0.35rem 0;
  color: var(--text-dim, rgba(232, 230, 225, 0.72));
}
.menu__links .menu__sub a:hover { color: var(--brass-bright); }
.menu.is-open .menu__links a {
  opacity: 1; transform: none;
  transition-delay: calc(0.25s + var(--i, 0) * 60ms);
}
.menu__links a em {
  font-family: var(--font-body); font-style: normal;
  font-size: 0.7rem; letter-spacing: 0.2em; color: var(--brass);
}
.menu__links a:hover { color: var(--brass-bright); }
.menu__foot {
  padding-bottom: 2rem;
  font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted);
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: -10% 0; z-index: -2; }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.12);
  animation: hero-settle 2.4s var(--ease-out) 0.2s forwards;
}
@keyframes hero-settle { to { transform: scale(1); } }
.hero__veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(11, 16, 23, 0.94) 0%, rgba(11, 16, 23, 0.45) 45%, rgba(11, 16, 23, 0.35) 100%);
}
.hero__content {
  padding: 6.5rem var(--pad-x) clamp(5rem, 11vh, 9rem);
  max-width: 72rem;
}
.hero__eyebrow {
  display: flex; align-items: center; gap: 0.9rem;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1.8rem;
}
.hero__eyebrow .rule { width: 3rem; height: 1px; background: var(--brass); }
.hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.6rem, 7vw, 6rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin-bottom: 1.8rem;
}
.hero__lede { max-width: 46rem; color: rgba(232, 230, 225, 0.85); margin-bottom: 2.4rem; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; right: var(--pad-x); bottom: 2.4rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.8rem;
}
.hero__scroll-line {
  width: 1px; height: 4rem; background: var(--hairline);
  position: relative; overflow: hidden;
}
.hero__scroll-line::after {
  content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%;
  background: var(--brass);
  animation: scroll-drip 2.2s var(--ease-inout) infinite;
}
@keyframes scroll-drip { 60%, 100% { top: 100%; } }
.hero__scroll-text {
  font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted);
  writing-mode: vertical-rl;
}

/* ---------- Line masks ---------- */
.line-mask { display: block; overflow: hidden; }
html.js .line-mask .line {
  display: inline-block;
  transform: translateY(115%);
  transition: transform 1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 100ms);
  will-change: transform;
}
html.js .is-revealed .line-mask .line,
html.js .line-mask.in-view .line { transform: translateY(0); }

/* ---------- Reveal states ---------- */
html.js [data-reveal="fade"] {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.75s ease-out, transform 0.75s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
html.js [data-reveal="fade"].in-view { opacity: 1; transform: none; }
html.js [data-reveal="lines"] {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.85s ease-out, transform 0.85s var(--ease-out);
}
html.js [data-reveal="lines"].in-view { opacity: 1; transform: none; }
html.js [data-reveal="unmask"] {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.1s var(--ease-inout);
}
html.js [data-reveal="unmask"] img {
  transform: scale(1.14);
  transition: transform 1.4s var(--ease-out);
}
html.js [data-reveal="unmask"].in-view { clip-path: inset(0); }
html.js [data-reveal="unmask"].in-view img { transform: scale(1); }

/* ---------- Stats ---------- */
.stats { border-top: 1px solid var(--hairline-soft); border-bottom: 1px solid var(--hairline-soft); }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: clamp(2.2rem, 4vw, 3.6rem) clamp(1.2rem, 2.5vw, 2.5rem);
  border-left: 1px solid var(--hairline-soft);
}
.stat:first-child { border-left: none; }
.stat__num {
  display: block;
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1.1;
  color: var(--brass-bright);
  font-variant-numeric: tabular-nums;
}
.stat__label { display: block; margin-top: 0.6rem; font-size: 0.8rem; color: var(--muted); max-width: 16rem; }

/* ---------- Split sections ---------- */
.split {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
  padding: clamp(5rem, 11vh, 9rem) var(--pad-x);
}
.split--reverse .split__media { order: 2; }
.split--reverse .split__body { order: 1; }
.split__media { position: relative; overflow: hidden; }
.split__media img { width: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.split__media--tall img { aspect-ratio: 3 / 3.4; }
.split__caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.6rem 1.4rem 1rem;
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(232, 230, 225, 0.75);
  background: linear-gradient(to top, rgba(11, 16, 23, 0.75), transparent);
}
.split__body .h2 { margin-bottom: 1.6rem; }

/* ---------- Practice ---------- */
.practice { padding: clamp(5rem, 11vh, 9rem) var(--pad-x); background: var(--ink-950); }
.practice__head { margin-bottom: clamp(2.5rem, 6vh, 4.5rem); }
.practice__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--hairline-soft);
  border-top: 1px solid var(--hairline-soft);
  border-bottom: 1px solid var(--hairline-soft);
}
.pcard {
  position: relative;
  background: var(--ink-950);
  padding: 2.6rem 2.2rem 2.8rem;
  transition: background 0.5s var(--ease-out);
  overflow: hidden;
}
.pcard::before {
  content: ""; position: absolute; top: 0; left: 0; height: 2px; width: 100%;
  background: var(--brass);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.6s var(--ease-inout);
}
.pcard:hover { background: var(--ink-800); }
.pcard:hover::before { transform: scaleX(1); }
.pcard__num {
  display: block;
  font-size: 0.72rem; letter-spacing: 0.2em; color: var(--brass);
  margin-bottom: 1.4rem;
  font-variant-numeric: tabular-nums;
}
.pcard__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.45rem; line-height: 1.25;
  margin-bottom: 1rem;
  transition: color 0.4s;
}
.pcard:hover .pcard__title { color: var(--brass-bright); }
.pcard__text { font-size: 0.92rem; line-height: 1.7; }

/* ---------- Writing (paper) ---------- */
.writing {
  background: var(--paper); color: var(--paper-text);
  padding: clamp(5rem, 11vh, 9rem) var(--pad-x);
}
.writing__head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  margin-bottom: clamp(2.5rem, 5vh, 4rem);
}
.eyebrow--dark { color: #7f6436; }
.eyebrow--dark .rule { background: #7f6436; }
.writing .h2 em { color: #7f6436; }
.writing__list { border-top: 1px solid var(--hairline-dark); }
.wrow {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr) auto;
  gap: 2rem; align-items: baseline;
  padding: 2rem 0.5rem;
  border-bottom: 1px solid var(--hairline-dark);
  transition: background 0.45s var(--ease-out), padding-left 0.45s var(--ease-out);
}
a.wrow:hover { background: var(--paper-deep); padding-left: 1.2rem; }
.wrow__meta {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: #7f6436;
}
.wrow__meta small { display: block; margin-top: 0.4rem; color: var(--paper-muted); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: none; font-weight: 400; }
.wrow__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.35rem, 2.6vw, 2rem); line-height: 1.2;
  margin-bottom: 0.55rem;
}
.wrow__summary { color: var(--paper-muted); font-size: 0.94rem; max-width: 62ch; }
.wrow__outlet { font-size: 0.8rem; color: var(--paper-muted); margin-top: 0.55rem; }
.wrow__arrow {
  font-family: var(--font-body); font-size: 1.3rem; color: #7f6436;
  transition: transform 0.4s var(--ease-out);
}
a.wrow:hover .wrow__arrow { transform: translate(4px, -4px); }
.writing--compact { padding-top: clamp(4rem, 8vh, 6rem); }

/* ---------- Press band (home) ---------- */
.pressband { padding: clamp(5rem, 11vh, 9rem) var(--pad-x); }
.pressband__inner { max-width: 72rem; }
.pressband__lede { color: var(--muted); max-width: 52rem; margin-bottom: 2.8rem; }
.pressband .h2 { margin-bottom: 1.4rem; }
.pressband__row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--hairline-soft);
  border: 1px solid var(--hairline-soft);
  margin-bottom: 2.6rem;
}
.pminicard {
  background: var(--ink-900);
  padding: 1.8rem 1.6rem;
  transition: background 0.45s var(--ease-out);
}
.pminicard:hover { background: var(--ink-800); }
.pminicard__outlet { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass); display: block; margin-bottom: 0.8rem; }
.pminicard__title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 400; line-height: 1.4; }
.pminicard__date { display: block; margin-top: 0.8rem; font-size: 0.75rem; color: var(--muted); }

/* ---------- Press page groups ---------- */
.pressgroup { padding: clamp(2.5rem, 6vh, 4rem) var(--pad-x); }
.pressgroup__head { max-width: 56rem; margin-bottom: 1.8rem; }
.pressgroup__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: 0.8rem;
}
.pressgroup__note { color: var(--muted); font-size: 0.94rem; max-width: 62ch; }
.presslist { border-top: 1px solid var(--hairline); }
.pressitem { border-bottom: 1px solid var(--hairline); }
.pressitem > a {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr) auto auto;
  gap: 1.6rem; align-items: baseline;
  padding: 1.4rem 0.5rem;
  transition: background 0.4s var(--ease-out), padding-left 0.4s var(--ease-out);
}
.pressitem > a:hover { background: var(--ink-800); padding-left: 1.2rem; }
.pressitem__outlet { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass); }
.pressitem__title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 400; line-height: 1.4; }
.pressitem__date { font-size: 0.78rem; color: var(--muted); white-space: nowrap; }
.pressitem__arrow { color: var(--brass); transition: transform 0.4s var(--ease-out); }
.pressitem > a:hover .pressitem__arrow { transform: translate(4px, -4px); }

/* ---------- Press quote band ---------- */
.pquote {
  background: var(--ink-950);
  padding: clamp(4.5rem, 10vh, 8rem) var(--pad-x);
  text-align: center;
}
.pquote .eyebrow { justify-content: center; }
.pquote__text {
  font-family: var(--font-display);
  font-weight: 300; font-style: italic;
  font-size: clamp(1.5rem, 3.4vw, 2.6rem);
  line-height: 1.3;
  max-width: 52rem; margin: 0 auto 1.8rem;
}
.pquote__text em { color: var(--brass-bright); font-style: italic; }
.pquote__attrib {
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
}
.pquote__attrib a { color: var(--text); border-bottom: 1px solid var(--brass); transition: color 0.3s; }
.pquote__attrib a:hover { color: var(--brass-bright); }

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--hairline-soft);
  border-bottom: 1px solid var(--hairline-soft);
  overflow: hidden;
  padding: 1.9rem 0;
}
.marquee { position: relative; }
.marquee__track {
  display: flex; align-items: center;
  width: max-content;
  animation: marquee-glide 46s linear infinite;
}
.marquee__group {
  display: flex; align-items: center; gap: 2.8rem;
  padding-right: 2.8rem;
}
.marquee.is-paused .marquee__track { animation-play-state: paused; }
.marquee__pause {
  position: absolute; right: 1rem; top: 50%;
  transform: translateY(-50%);
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  border: 1px solid var(--hairline);
  background: var(--ink-900);
  color: var(--brass);
  font-size: 0.55rem; line-height: 1;
  z-index: 2;
}
.marquee__pause:hover { border-color: var(--brass); }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.15rem, 2.2vw, 1.7rem);
  color: rgba(232, 230, 225, 0.55);
  white-space: nowrap;
}
.marquee__track .marquee__dot { color: var(--brass); font-size: 1.1rem; }
@keyframes marquee-glide { to { transform: translateX(-50%); } }

/* ---------- CTA strip ---------- */
.cta {
  position: relative; overflow: hidden;
  padding: clamp(7rem, 16vh, 12rem) var(--pad-x);
  text-align: center;
}
.cta__bg { position: absolute; inset: -12% 0; z-index: -2; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta__veil { position: absolute; inset: 0; z-index: -1; background: rgba(11, 16, 23, 0.72); }
.cta__title {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.08;
  margin-bottom: 1.2rem;
}
.cta__lede { color: rgba(232, 230, 225, 0.8); margin-bottom: 2.4rem; }

/* ---------- Page header ---------- */
.pagehead {
  padding: clamp(9rem, 20vh, 13rem) var(--pad-x) clamp(3rem, 7vh, 5rem);
}
.pagehead__title {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2.6rem, 6.5vw, 5.4rem);
  line-height: 1.05; letter-spacing: -0.015em;
  margin-bottom: 1.8rem;
}
.pagehead__lede { max-width: 46rem; color: var(--muted); }
.pagehead__meta {
  display: flex; flex-wrap: wrap; gap: 0.7rem 0;
  font-size: 0.78rem; letter-spacing: 0.08em; color: var(--muted);
}
.pagehead__meta span { display: inline-flex; align-items: center; }
.pagehead__meta span + span::before {
  content: "·"; margin: 0 1rem; color: var(--brass);
}

/* ---------- Timeline ---------- */
.timeline { padding: clamp(4rem, 9vh, 7rem) var(--pad-x); background: var(--ink-950); }
.timeline__head { margin-bottom: clamp(2.5rem, 6vh, 4.5rem); }
.timeline__list { max-width: 62rem; }
.tl {
  display: grid; grid-template-columns: 14rem minmax(0, 1fr);
  gap: 2.4rem;
  padding: 2.2rem 0;
  border-top: 1px solid var(--hairline-soft);
}
.tl__period {
  font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brass);
  padding-top: 0.3rem;
}
.tl__body { position: relative; padding-left: 1.8rem; }
.tl__body::before {
  content: ""; position: absolute; left: 0; top: 0.55rem;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brass);
}
.tl__role {
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.3rem; line-height: 1.3;
  margin-bottom: 0.7rem;
}
.tl__text { font-size: 0.94rem; max-width: 62ch; }

/* ---------- Credentials ---------- */
.creds {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  padding: clamp(4rem, 9vh, 7rem) var(--pad-x);
}
.creds__list li {
  display: grid; grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 1.6rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--hairline-soft);
}
.creds__year {
  font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brass);
  padding-top: 0.25rem;
}
.creds__list h3 {
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.15rem; line-height: 1.35;
  margin-bottom: 0.4rem;
}
.creds__list p { font-size: 0.9rem; color: var(--muted); }
.creds__gap { margin-top: 2.6rem; }
.creds__memberships { font-size: 0.94rem; color: var(--muted); max-width: 56ch; }
.creds__print { margin-top: 2.2rem; }

/* ---------- Journal (paper) ---------- */
.journal {
  background: var(--paper); color: var(--paper-text);
  padding: clamp(3.5rem, 8vh, 6rem) var(--pad-x) clamp(4rem, 9vh, 7rem);
}
.jfeat {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2rem, 4vw, 4rem); align-items: center;
  margin-bottom: clamp(2.5rem, 6vh, 4rem);
}
.jfeat__media { overflow: hidden; display: block; }
.jfeat__media img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.jfeat:hover .jfeat__media img { transform: scale(1.04); }
.jfeat__kicker {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: #7f6436; margin-bottom: 1rem;
}
.jfeat__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.7rem, 3.4vw, 2.7rem); line-height: 1.14;
  margin-bottom: 1rem;
  transition: color 0.3s;
}
.jfeat:hover .jfeat__title { color: #7f6436; }
.jfeat__summary { color: var(--paper-muted); max-width: 56ch; margin-bottom: 1.2rem; }
.jfeat__meta { font-size: 0.8rem; color: var(--paper-muted); }

.journal__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.2rem 2rem; flex-wrap: wrap;
  border-top: 1px solid var(--hairline-dark);
  border-bottom: 1px solid var(--hairline-dark);
  padding: 0.9rem 0;
  margin-bottom: clamp(2rem, 5vh, 3rem);
}
.jfilters { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.jfilter {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--hairline-dark); border-radius: 999px;
  color: var(--paper-muted);
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.jfilter:hover { border-color: #7f6436; color: #7f6436; }
.jfilter.is-active { background: #7f6436; border-color: #7f6436; color: var(--paper); }
.journal__search {
  font: inherit; font-size: 0.9rem;
  color: var(--paper-text);
  background: transparent;
  border: none; border-bottom: 1px solid var(--hairline-dark);
  padding: 0.4rem 0.2rem;
  width: min(15rem, 100%);
}
.journal__search:focus { outline: none; border-bottom-color: #7f6436; }
.journal__search::placeholder { color: var(--paper-muted); }

.journal__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem 1.8rem;
}
.jcard { display: block; }
.jcard__media { overflow: hidden; margin-bottom: 1rem; }
.jcard__media img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.jcard:hover .jcard__media img { transform: scale(1.05); }
.jcard__meta {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: #7f6436; margin-bottom: 0.5rem;
}
.jcard__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.3rem; line-height: 1.25;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}
.jcard:hover .jcard__title { color: #7f6436; }
.jcard__summary {
  color: var(--paper-muted); font-size: 0.9rem; line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 0.55rem;
}
.jcard__read { font-size: 0.76rem; color: var(--paper-muted); }
.journal__empty {
  display: none;
  color: var(--paper-muted);
  padding: 2.5rem 0;
}
.journal__empty.is-shown { display: block; }
.journal__books { margin-top: clamp(3rem, 7vh, 5rem); }
.journal--hidden { display: none; }

/* ---------- Articles index (paper) ---------- */
.articles-index {
  background: var(--paper); color: var(--paper-text);
  padding: clamp(3.5rem, 8vh, 6rem) var(--pad-x) clamp(5rem, 10vh, 8rem);
}
.articles-index__list { border-top: 1px solid var(--hairline-dark); }
.articles-index__colophon { margin-top: 2.6rem; color: var(--paper-muted); font-size: 0.94rem; }
.articles-index__colophon a { color: #7f6436; border-bottom: 1px solid currentColor; }
.articles-index__colophon a:hover { color: #6f5730; }

/* ---------- Contact ---------- */
.contact {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
  padding: clamp(9rem, 18vh, 12rem) var(--pad-x) clamp(5rem, 10vh, 8rem);
}
.contact__body .pagehead__title { margin-bottom: 1.4rem; }
.contact__body .pagehead__lede { margin-bottom: 2.6rem; }
.contact__details { border-top: 1px solid var(--hairline); max-width: 40rem; }
.contact__row {
  display: grid; grid-template-columns: 9rem minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--hairline);
}
.contact__row dt {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brass);
  padding-top: 0.2rem;
}
.contact__row dd a { border-bottom: 1px solid var(--brass); transition: color 0.3s; }
.contact__row dd a:hover { color: var(--brass-bright); }
.contact__note { margin-top: 1.8rem; font-size: 0.88rem; color: var(--muted); max-width: 44rem; }
.contact__media { position: relative; overflow: hidden; }
.contact__media img { aspect-ratio: 4 / 4.6; object-fit: cover; width: 100%; }

/* ---------- Footer ---------- */
.footer { background: var(--ink-950); border-top: 1px solid var(--hairline-soft); }
.footer__grid {
  display: grid; grid-template-columns: 1.3fr 0.7fr 1.2fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  padding: clamp(3.5rem, 7vh, 5.5rem) var(--pad-x);
}
.footer__mark {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.15rem; letter-spacing: 0.14em; color: var(--brass);
  border: 1px solid var(--brass); padding: 0.4rem 0.6rem; line-height: 1;
  margin-bottom: 1.2rem;
}
.footer__name {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 400;
  margin-bottom: 0.7rem;
}
.footer__tag { font-size: 0.85rem; color: var(--muted); line-height: 1.7; }
.footer__nav { display: flex; flex-direction: column; gap: 0.7rem; }
.footer__nav a {
  font-size: 0.85rem; color: var(--muted);
  width: fit-content;
  transition: color 0.3s;
}
.footer__nav a:hover { color: var(--brass-bright); }
.footer__heading {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--brass); margin-bottom: 0.9rem;
}
.footer__small { font-size: 0.8rem; color: var(--muted); line-height: 1.8; margin-bottom: 1.4rem; }
.footer__linkedin { font-size: 0.85rem; color: var(--text); border-bottom: 1px solid var(--brass); transition: color 0.3s; }
.footer__linkedin:hover { color: var(--brass-bright); }
.footer__base {
  display: flex; flex-direction: column; gap: 0.15rem;
  padding: 1.4rem var(--pad-x) 1.8rem;
  border-top: 1px solid var(--hairline-soft);
  font-size: 0.74rem; color: var(--muted);
}

/* ---------- On-site article (reading layout) ---------- */
.article {
  background: var(--paper); color: var(--paper-text);
  padding: clamp(8rem, 16vh, 11rem) var(--pad-x) clamp(4rem, 9vh, 7rem);
}
.article__layout {
  display: grid;
  grid-template-columns: 13rem minmax(0, 46rem);
  gap: clamp(2.5rem, 5vw, 5rem);
  justify-content: center;
  align-items: start;
}
.article__inner { max-width: 46rem; margin: 0 auto; min-width: 0; }
.article__toc {
  position: sticky; top: 7rem;
  font-size: 0.84rem; line-height: 1.5;
}
.article__toc-title {
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: #7f6436;
  margin-bottom: 0.9rem;
}
.article__toc nav a {
  display: block;
  padding: 0.4rem 0 0.4rem 1rem;
  border-left: 1px solid var(--hairline-dark);
  color: var(--paper-muted);
  transition: color 0.3s, border-color 0.3s;
}
.article__toc nav a:hover { color: #7f6436; }
.article__toc nav a.is-active {
  color: var(--paper-text);
  border-left: 2px solid #7f6436;
  padding-left: calc(1rem - 1px);
}
.article__further {
  max-width: 76rem;
  margin: clamp(3.5rem, 8vh, 6rem) auto 0;
  border-top: 1px solid var(--hairline-dark);
  padding-top: clamp(2.5rem, 6vh, 4rem);
}
.article__further-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: 2rem;
}
.article__kicker {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: #7f6436; margin-bottom: 1.4rem;
}
.article__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.12;
  letter-spacing: -0.01em; margin-bottom: 1.2rem;
}
.article__byline {
  font-size: 0.85rem; color: var(--paper-muted);
  padding-bottom: 1.8rem; margin-bottom: 2.2rem;
  border-bottom: 1px solid var(--hairline-dark);
}
.article__body p { margin-bottom: 1.35rem; }
.article__body p a {
  color: #7f6436;
  text-decoration: underline;
  text-decoration-color: rgba(127, 100, 54, 0.45);
  text-underline-offset: 3px;
}
.article__body p a:hover { text-decoration-color: #7f6436; }
.article__body h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: 1.5rem; line-height: 1.3;
  margin: 2.4rem 0 1rem;
}
.article__body em { font-style: italic; }
.article__standfirst {
  font-family: var(--font-display);
  font-size: 1.2rem; line-height: 1.55;
  color: #3a4046; margin-bottom: 1.6rem;
}
.article__figure { margin: 2.2rem 0; }
.article__figure svg { width: 100%; height: auto; display: block; }
.article__figcaption {
  font-size: 0.78rem; color: var(--paper-muted);
  margin-top: 0.7rem; line-height: 1.6;
}
.article__sources {
  margin-top: 2.8rem; padding-top: 1.6rem;
  border-top: 1px solid var(--hairline-dark);
}
.article__sources h2 {
  font-family: var(--font-display); font-weight: 500; font-size: 1.15rem;
  margin-bottom: 0.9rem;
}
.article__sources ol { list-style: decimal; padding-left: 1.3rem; }
.article__sources li { font-size: 0.85rem; color: var(--paper-muted); margin-bottom: 0.45rem; }
.article__sources a { color: #7f6436; border-bottom: 1px solid currentColor; }
.article__back { margin-bottom: 2.2rem; display: inline-flex; }

/* ---------- Page transition ---------- */
.transition {
  position: fixed; inset: 0; z-index: 190;
  background: var(--ink-950);
  transform: translateY(101%);
  pointer-events: none;
}
.transition.is-active {
  transform: translateY(0);
  transition: transform 0.45s var(--ease-inout);
}
main { animation: page-in 0.6s ease-out; }
@keyframes page-in { from { opacity: 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .article__layout { grid-template-columns: minmax(0, 46rem); }
  .article__toc { display: none; }
  .journal__grid { grid-template-columns: repeat(2, 1fr); }
  .practice__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--hairline-soft); }
}
@media (max-width: 900px) {
  .jfeat { grid-template-columns: 1fr; gap: 1.4rem; }
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .split, .split--reverse { grid-template-columns: 1fr; gap: 2.5rem; }
  .split--reverse .split__media { order: 1; }
  .split--reverse .split__body { order: 2; }
  .creds { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .pressband__row { grid-template-columns: 1fr; }
  .tl { grid-template-columns: 1fr; gap: 0.8rem; }
  .pressitem > a { grid-template-columns: minmax(0, 1fr) auto; }
  .pressitem__outlet { grid-column: 1 / -1; }
  .pressitem__date { display: none; }
}
@media (max-width: 640px) {
  .journal__grid { grid-template-columns: 1fr; }
  .practice__grid { grid-template-columns: 1fr; }
  .creds__list li { grid-template-columns: 1fr; gap: 0.4rem; }
  .pagehead__meta { flex-direction: column; gap: 0.35rem; }
  .pagehead__meta span + span::before { content: none; }
  .wrow { grid-template-columns: 1fr; gap: 0.8rem; padding: 1.6rem 0.25rem; }
  .wrow__arrow { display: none; }
  .hero__scroll { display: none; }
  .contact__row { grid-template-columns: 1fr; gap: 0.3rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html.js [data-reveal],
  html.js .line-mask .line { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .marquee__track { animation: none; }
  .hero__bg img { animation: none; transform: none; }
}

/* ---------- Print (profile as CV) ---------- */
@media print {
  body { background: #fff; color: #111; }
  .nav, .menu, .cta, .footer, .cursor, .transition, .preloader,
  .creds__print, .hero__scroll, .writing--compact .link-arrow { display: none !important; }
  .split, .timeline, .creds, .pagehead, .writing { padding: 1rem 0; background: #fff; color: #111; }
  .split__media, .contact__media { display: none; }
  .eyebrow, .tl__period, .creds__year { color: #6f5730; }
  .h2, .pagehead__title, .tl__role, .creds__list h3 { color: #111; }
  .tl__text, .creds__list p, .split__body p:not(.eyebrow):not(.lead) { color: #333; }
  .pagehead__meta { color: #333; }
  .pagehead__meta span + span::before { color: #6f5730; }
  html.js [data-reveal], html.js .line-mask .line { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}
