/* ==========================================================================
   Dato' Seri Ivan Teh - Editorial Profile
   Design system: "Engraved Monograph"
   Didone display + engineered sans, porcelain paper, antique brass rule.
   ========================================================================== */

:root {
  /* Ink drawn from the sitter's navy suit; paper is a cool stone, not white.
     Every text pairing below clears WCAG AA at its intended size. */
  --ink:          #080F1D;   /* 16.9:1 on paper */
  --ink-2:        #142034;   /* 13.4:1 on paper, body prose */
  --ink-3:        #22334D;
  --paper:        #E7E9EE;
  --vellum:       #F2F3F6;
  --brass:        #7E5C21;   /*  6.1:1 on paper, labels and eyebrows */
  --brass-line:   #A8814B;   /* rules and hairlines only, never text */
  --brass-lo:     #D9B87E;   /*  8.0:1 on ink, for dark sections */
  --slate:        #3F4B61;   /*  8.6:1 on paper, standfirsts */
  --slate-lo:     #55617650; /* placeholder, overridden below */
  --slate-lo:     #566276;   /*  5.9:1 on paper, captions and meta */

  --rule:         rgba(8, 15, 29, 0.22);
  --rule-soft:    rgba(8, 15, 29, 0.12);
  --rule-brass:   rgba(126, 92, 33, 0.45);
  --rule-invert:  rgba(231, 233, 238, 0.22);
  --hatch:        rgba(8, 15, 29, 0.035);

  --display: "Bodoni Moda", "Latin Modern Roman", Georgia, serif;
  --body:    "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --shell: 1220px;
  --gut: clamp(1.25rem, 4vw, 3.25rem);

  --step: clamp(4.5rem, 9vw, 8rem);   /* vertical section rhythm */
  --ease: cubic-bezier(0.22, 0.68, 0.32, 1);
}

/* --------------------------------------------------------------- reset -- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17.5px;
  line-height: 1.72;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1.15em; }

::selection { background: var(--brass); color: var(--vellum); }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--vellum);
  padding: 0.85rem 1.35rem; z-index: 999;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
}
.skip:focus { left: 0; }

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

/* ------------------------------------------------------------ primitives */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.685rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--brass-line);
  flex: none;
}
.eyebrow--plain::before { display: none; }

.lede {
  font-size: clamp(1.06rem, 1.5vw, 1.22rem);
  line-height: 1.66;
  color: var(--slate);
  font-weight: 400;
  max-width: 58ch;
}

.rule { height: 1px; background: var(--rule); border: 0; margin: 0; }

/* buttons ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.02rem 1.7rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--vellum);
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
              border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.btn:hover { background: var(--brass); border-color: var(--brass); color: var(--ink); transform: translateY(-2px); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn--ghost:hover { background: transparent; border-color: var(--brass); color: var(--brass); transform: translateY(-2px); }

.btn__arrow { transition: transform 0.35s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.textlink {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--rule-brass);
  padding-bottom: 4px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.textlink:hover { color: var(--brass); border-color: var(--brass); }

/* engraved hatch texture, echoing the portrait plate ---------------------- */

.hatch {
  background-image: repeating-linear-gradient(
    45deg,
    var(--hatch) 0 1px,
    transparent 1px 9px
  );
}

/* ----------------------------------------------------------------- header */

.masthead {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  background: rgba(231, 233, 238, 0.88);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--rule-soft);
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.masthead.is-stuck { border-bottom-color: var(--rule-brass); }

.masthead__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.78rem;
  text-decoration: none;
  color: var(--ink);
}
.brand__seal { width: 36px; height: 36px; flex: none; }
.brand__seal .ring { stroke: var(--brass); }
.brand__seal .glyph { fill: var(--ink); }
.brand__seal .pip { fill: var(--brass); }

.brand__word {
  display: block;
  font-family: var(--display);
  font-size: 1.09rem;
  letter-spacing: 0.02em;
  line-height: 1;
}
.brand__sub {
  display: block;
  font-family: var(--mono);
  font-size: 0.575rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--slate-lo);
  font-weight: 500;
  margin-top: 5px;
}

.nav { display: flex; align-items: center; gap: 2rem; }
.nav a {
  font-family: var(--mono);
  font-size: 0.695rem;
  letter-spacing: 0.155em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-2);
  font-weight: 500;
  padding: 0.4rem 0;
  position: relative;
  transition: color 0.3s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ink); }

.burger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--rule);
  background: transparent;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.burger span {
  display: block; width: 17px; height: 1px; background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.2s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.drawer {
  position: fixed;
  inset: 78px 0 0 0;
  background: var(--paper);
  z-index: 89;
  padding: 2.5rem var(--gut) 3rem;
  display: none;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
}
.drawer.is-open { display: flex; }
.drawer a {
  font-family: var(--display);
  font-size: 1.9rem;
  text-decoration: none;
  color: var(--ink);
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--rule-soft);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.drawer a span {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
}

/* -------------------------------------------------------------------- hero */

.hero {
  padding-top: calc(78px + clamp(3rem, 7vw, 6rem));
  padding-bottom: var(--step);
  position: relative;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.35rem, 4.9vw, 4.05rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 1.6rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--brass);
}
.hero__rule {
  width: 82px; height: 1px; background: var(--brass);
  margin: 0 0 1.6rem;
}
.hero__actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem;
  margin-top: 2.4rem;
}

/* signature element: the engraved portrait plate ------------------------- */

.plate { position: relative; }
.plate__frame {
  position: relative;
  background: var(--vellum);
  border: 1px solid var(--rule);
  padding: 14px;
}
.plate__frame::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(168, 129, 75, 0.55);
  pointer-events: none;
}
.plate__img {
  width: 100%;
  display: block;
}
.plate__cap {
  position: absolute;
  left: -14px;
  bottom: 26px;
  background: var(--ink);
  color: var(--vellum);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  padding: 0.6rem 1rem;
  max-width: 82%;
  line-height: 1.5;
}
.plate__cap b { color: var(--brass-lo); font-weight: 500; }

.plate__mark {
  position: absolute;
  top: -18px; right: -10px;
  font-family: var(--mono);
  font-size: 0.585rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--slate-lo);
  background: var(--paper);
  padding: 0 0.6rem;
}

/* ------------------------------------------------------------- the ledger */

.ledger {
  background: var(--vellum);
  border-block: 1px solid var(--rule-soft);
  padding-block: clamp(2.75rem, 5vw, 4rem);
}
.ledger__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule-soft);
  border: 1px solid var(--rule-soft);
}
.ledger__cell {
  background: var(--vellum);
  padding: 1.5rem 1.4rem;
}
.ledger__cell dt {
  font-family: var(--mono);
  font-size: 0.61rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.55rem;
}
.ledger__cell dd {
  margin: 0;
  font-family: var(--display);
  font-size: 1.16rem;
  line-height: 1.32;
}
.ledger__cell dd small {
  display: block;
  font-family: var(--body);
  font-size: 0.79rem;
  color: var(--slate);
  line-height: 1.5;
  margin-top: 0.35rem;
  letter-spacing: 0;
}

/* ---------------------------------------------------------------- section */

.section { padding-block: var(--step); }
.section--tint { background: var(--vellum); border-block: 1px solid var(--rule-soft); }
.section--ink {
  background: var(--ink);
  color: var(--paper);
}
.section--ink .eyebrow { color: var(--brass-lo); }
.section--ink .eyebrow::before { background: var(--brass-lo); }
.section--ink .lede { color: rgba(233, 236, 242, 0.86); }

.section__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section__head h2 {
  font-size: clamp(1.95rem, 3.6vw, 3rem);
  line-height: 1.06;
}

/* focus areas ------------------------------------------------------------ */

.facets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1px;
  background: var(--rule-soft);
  border-top: 1px solid var(--rule);
}
.facet {
  background: var(--paper);
  padding: 2.1rem 1.75rem 2.3rem;
  border-top: 2px solid transparent;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.facet:hover { border-top-color: var(--brass); background: var(--vellum); }
.facet__tag {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  display: block;
  margin-bottom: 1.1rem;
}
.facet h3 { font-size: 1.42rem; margin-bottom: 0.75rem; }
.facet p { color: var(--slate); font-size: 0.95rem; margin: 0; }

.section--tint .facet { background: var(--vellum); }
.section--tint .facet:hover { background: var(--paper); }

/* editorial index -------------------------------------------------------- */

.index { border-top: 1px solid var(--rule); }
.entry {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr) auto;
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: baseline;
  padding: 2.1rem 0;
  border-bottom: 1px solid var(--rule-soft);
  text-decoration: none;
  color: inherit;
  transition: background 0.4s var(--ease), padding-inline 0.4s var(--ease);
}
.entry:hover { background: var(--vellum); padding-inline: 1.1rem; }
.section--tint .entry:hover { background: var(--paper); }

.entry__meta {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--brass);
  line-height: 1.7;
}
.entry__meta span { display: block; color: var(--slate-lo); }
.entry__title {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.1vw, 1.72rem);
  line-height: 1.2;
  margin: 0 0 0.5rem;
  transition: color 0.3s var(--ease);
}
.entry:hover .entry__title { color: var(--brass); }
.entry__dek { color: var(--slate); font-size: 0.95rem; margin: 0; max-width: 62ch; }
.entry__go {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--brass);
  transition: transform 0.35s var(--ease);
  display: inline-block;
}
.entry:hover .entry__go { transform: translateX(5px); }

/* news cards ------------------------------------------------------------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(276px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--vellum);
  border: 1px solid var(--rule-soft);
  padding: 1.9rem 1.65rem 2rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--rule-brass);
  box-shadow: 0 18px 44px -30px rgba(11, 21, 38, 0.45);
}
.section--tint .card { background: var(--paper); }
.card__tag {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--brass);
}
.card h3 { font-size: 1.28rem; line-height: 1.22; }
.card p { color: var(--slate); font-size: 0.92rem; margin: 0; }
.card__date {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  color: var(--slate-lo);
  text-transform: uppercase;
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid var(--rule-soft);
}

/* pull quote ------------------------------------------------------------- */

.quote {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
  margin: 0;
}
.quote__mark {
  font-family: var(--display);
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  line-height: 0.72;
  color: var(--brass);
}
.quote blockquote, .quote__body {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.5vw, 2.05rem);
  line-height: 1.32;
  font-style: italic;
  letter-spacing: -0.015em;
}
.quote figcaption, .quote__by {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--slate-lo);
  margin-top: 1.4rem;
}
.section--ink .quote figcaption, .section--ink .quote__by { color: rgba(214, 220, 230, 0.82); }

/* -------------------------------------------------------------- article -- */

.artcrumb {
  padding-top: calc(78px + 2.4rem);
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 500;
}
.artcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.55rem; }
.artcrumb li::after { content: "/"; margin-left: 0.55rem; color: var(--rule-brass); }
.artcrumb li:last-child::after { display: none; }
.artcrumb a { text-decoration: none; color: var(--ink-2); }
.artcrumb a:hover { color: var(--brass); }

.arthead { padding-block: 2.4rem clamp(2.5rem, 5vw, 3.75rem); }
.arthead h1 {
  font-size: clamp(2.05rem, 4.4vw, 3.55rem);
  line-height: 1.06;
  margin-bottom: 1.5rem;
  max-width: 21ch;
}
.arthead--wide h1 { max-width: 26ch; }
.arthead__meta {
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 500;
  margin-top: 2.2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--rule-soft);
}
.arthead__meta b { color: var(--brass); font-weight: 500; }

.artmedia {
  margin-block: clamp(1.5rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

/* answer box: the extraction target for AI answer engines ---------------- */

.answer {
  background: var(--vellum);
  border: 1px solid var(--rule-soft);
  border-left: 2px solid var(--brass);
  padding: 1.85rem 1.85rem 1.6rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.answer h2 {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1rem;
  font-weight: 500;
  letter-spacing: 0.2em;
}
.answer ul { margin: 0; padding-left: 1.15rem; }
.answer li { margin-bottom: 0.6rem; color: var(--ink-2); font-size: 0.98rem; line-height: 1.65; }
.answer li:last-child { margin-bottom: 0; }
.answer li::marker { color: var(--brass); }

/* prose ------------------------------------------------------------------ */

.prose { max-width: 70ch; }
.prose > * { max-width: 68ch; }
.prose h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
  margin: 2.9rem 0 1.05rem;
  line-height: 1.15;
}
.prose h3 {
  font-size: clamp(1.2rem, 1.9vw, 1.42rem);
  margin: 2.2rem 0 0.8rem;
}
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p { color: var(--ink-2); }
.prose a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rule-brass);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.prose a:hover { color: var(--brass); border-color: var(--brass); }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.4rem; }
.prose li { margin-bottom: 0.55rem; color: var(--ink-2); }
.prose li::marker { color: var(--brass); }
.prose figure { margin: 2.5rem 0; max-width: 100%; }
.prose blockquote {
  margin: 2.4rem 0;
  padding-left: 1.6rem;
  border-left: 2px solid var(--brass);
  font-family: var(--display);
  font-style: italic;
  font-size: 1.28rem;
  line-height: 1.42;
  color: var(--ink);
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose strong { font-weight: 600; }

.artlayout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 268px;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
  padding-bottom: var(--step);
}
.rail { position: sticky; top: 108px; }
.rail__block { border-top: 1px solid var(--rule); padding-top: 1.15rem; margin-bottom: 2.4rem; }
.rail__block h2, .rail__block h3 {
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1rem;
  font-weight: 500;
}
.rail__list { list-style: none; margin: 0; padding: 0; }
.rail__list li { margin-bottom: 0.9rem; }
.rail__list a {
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.01rem;
  line-height: 1.3;
  display: block;
  color: var(--ink);
  transition: color 0.3s var(--ease);
}
.rail__list a:hover { color: var(--brass); }
.rail__note {
  font-size: 0.86rem;
  color: var(--slate);
  line-height: 1.6;
}

/* FAQ -------------------------------------------------------------------- */

.faq { border-top: 1px solid var(--rule); }
.faq details {
  border-bottom: 1px solid var(--rule-soft);
  padding: 1.35rem 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  font-family: var(--display);
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
  line-height: 1.3;
  transition: color 0.3s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--brass); }
.faq summary::after {
  content: "+";
  font-family: var(--mono);
  color: var(--brass);
  font-size: 1.15rem;
  line-height: 1;
  flex: none;
  transition: transform 0.35s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__a { padding-top: 1rem; max-width: 74ch; }
.faq__a p { color: var(--ink-2); margin-bottom: 0.8rem; font-size: 0.98rem; }
.faq__a p:last-child { margin-bottom: 0; }

/* contact ---------------------------------------------------------------- */

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.field { margin-bottom: 1.5rem; }
.field label {
  display: block;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.6rem;
}
.field input, .field textarea, .field select {
  width: 100%;
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--vellum);
  border: 1px solid var(--rule);
  padding: 0.9rem 1rem;
  border-radius: 0;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.field textarea { min-height: 148px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--brass); outline: none; background: #fff; }
.field__hint { font-size: 0.8rem; color: var(--slate-lo); margin: 0.5rem 0 0; }

.formnote {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--slate);
  margin-top: 1.2rem;
  line-height: 1.7;
}

.deskcard {
  background: var(--vellum);
  border: 1px solid var(--rule-soft);
  padding: 2rem 1.8rem;
}
.deskcard dl { margin: 0; }
.deskcard dt {
  font-family: var(--mono);
  font-size: 0.61rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.4rem;
}
.deskcard dd { margin: 0 0 1.5rem; font-size: 0.97rem; }
.deskcard dd:last-child { margin-bottom: 0; }
.deskcard a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule-brass); }
.deskcard a:hover { color: var(--brass); border-color: var(--brass); }

/* ----------------------------------------------------------------- footer */

.foot {
  background: var(--ink);
  color: rgba(226, 230, 238, 0.86);
  padding-block: clamp(3.5rem, 6vw, 5rem) 2rem;
  font-size: 0.9rem;
}
.foot__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--rule-invert);
}
.foot h2, .foot h3 {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-lo);
  margin-bottom: 1.15rem;
  font-weight: 500;
}
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 0.72rem; }
.foot a { color: rgba(226, 230, 238, 0.88); text-decoration: none; transition: color 0.3s var(--ease); }
.foot a:hover { color: var(--brass-lo); }
.foot__brand .brand__word { color: var(--paper); }
.foot__brand .brand__sub { color: rgba(206, 213, 224, 0.75); }
.foot__brand .brand__seal .glyph { fill: var(--paper); }
.foot__blurb { margin-top: 1.25rem; max-width: 38ch; font-size: 0.9rem; line-height: 1.7; color: rgba(214,220,230,0.82); }
.foot__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  padding-top: 1.75rem;
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(200, 208, 220, 0.72);
}

/* --------------------------------------------------------------- reveal -- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

.hero [data-lift] {
  opacity: 0;
  transform: translateY(22px);
  animation: lift 0.95s var(--ease) forwards;
}
.hero [data-lift="1"] { animation-delay: 0.05s; }
.hero [data-lift="2"] { animation-delay: 0.16s; }
.hero [data-lift="3"] { animation-delay: 0.27s; }
.hero [data-lift="4"] { animation-delay: 0.38s; }
.hero [data-lift="5"] { animation-delay: 0.5s; }

@keyframes lift { to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------ responsive */

@media (max-width: 1040px) {
  .artlayout { grid-template-columns: minmax(0, 1fr); }
  .rail { position: static; }
  .ledger__grid { grid-template-columns: repeat(2, 1fr); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: flex; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 3rem; }
  .plate { max-width: 460px; margin-inline: auto; }
  .section__head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .artmedia { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .entry { grid-template-columns: minmax(0, 1fr); gap: 0.75rem; padding: 1.75rem 0; }
  .entry__go { display: none; }
  .entry:hover { padding-inline: 0; }
  .ledger__grid { grid-template-columns: minmax(0, 1fr); }
  .foot__grid { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
  .plate__cap { left: 0; bottom: 14px; font-size: 0.55rem; max-width: 92%; }
  .plate__mark { display: none; }
  .quote { grid-template-columns: minmax(0, 1fr); }
  .btn { width: 100%; justify-content: center; }
  .hero__actions { gap: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero [data-lift] { opacity: 1; transform: none; }
}

@media print {
  .masthead, .drawer, .burger, .foot, .rail { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .hero, .section { padding-block: 1rem; }
}
