/* =========================================================
   GIIS Law Summit 2026 — landing page
   Palette and type follow the GIIS Law Society (Eighth Edition) look:
   oxblood marble, ivory serif capitals, thin cream frames.
   ========================================================= */

/* ---------- Self-hosted fonts (SIL Open Font License, see assets/fonts) ---------- */
@font-face {
  font-family: "Playfair Display";
  font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("../assets/fonts/playfair-display-latin-wght-normal.woff2") format("woff2-variations");
}
@font-face {
  font-family: "Playfair Display";
  font-style: italic; font-weight: 400 900; font-display: swap;
  src: url("../assets/fonts/playfair-display-latin-wght-italic.woff2") format("woff2-variations");
}
@font-face {
  font-family: "EB Garamond";
  font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("../assets/fonts/eb-garamond-latin-wght-normal.woff2") format("woff2-variations");
}
@font-face {
  font-family: "EB Garamond";
  font-style: italic; font-weight: 400 800; font-display: swap;
  src: url("../assets/fonts/eb-garamond-latin-wght-italic.woff2") format("woff2-variations");
}

:root {
  --ink: #0d0606;
  --ink-2: #140808;
  --oxblood: #240709;
  --wine: #3a0c11;
  --wine-2: #6a1720;
  --ivory: #efe6d6;
  --parchment: #d9cab0;
  --muted: #b3a493;
  --line: rgba(239, 230, 214, 0.26);
  --line-strong: rgba(239, 230, 214, 0.55);

  --display: "Playfair Display", "Didot", "Bodoni 72", Georgia, serif;
  --body: "EB Garamond", "Garamond", Georgia, serif;

  --maxw: 1180px;
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --key: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M0 2H24M0 22H24M3 22V6H19V18H9V10H15V14' fill='none' stroke='%23d9cab0' stroke-width='1.4'/%3E%3C/svg%3E");
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--body);
  font-size: 1.1875rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: lining-nums;
}
body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }

::selection { background: var(--wine-2); color: var(--ivory); }

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

.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 100;
  background: var(--ivory); color: var(--ink); padding: .5rem 1rem; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.container { width: min(var(--maxw), 100% - 2.5rem); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 2.5rem); }

/* ---------- Shared textures ---------- */
.marble {
  position: relative;
  background:
    linear-gradient(180deg, rgba(13, 6, 6, .35), rgba(13, 6, 6, .55)),
    url("../assets/marble.webp") center / cover no-repeat,
    var(--oxblood);
}
.marble--dim {
  background:
    linear-gradient(180deg, rgba(13, 6, 6, .7), rgba(13, 6, 6, .78)),
    url("../assets/marble.webp") center / cover no-repeat,
    var(--oxblood);
}

.key-divider {
  height: 30px;
  background: var(--key) center / 24px 24px repeat-x, var(--ink-2);
  border-block: 1px solid var(--line);
  opacity: .9;
}
.key-divider--flush { border-top: 0; }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--display);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--parchment);
  margin: 0 0 1rem;
}
.eyebrow--center { text-align: center; }

.h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 4.4vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin: 0 0 1.25rem;
  text-wrap: balance;
}
.h2--center { text-align: center; }

.lede { font-size: 1.32rem; line-height: 1.55; color: var(--ivory); }
p { margin: 0 0 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--display);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.05em 1.9em;
  border: 1px solid var(--ivory);
  border-radius: var(--radius);
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn--solid { background: var(--ivory); color: var(--ink); }
.btn--solid:hover { background: #fff8ec; box-shadow: 0 0 0 4px rgba(239, 230, 214, .15); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ivory); }
.btn--ghost:hover { background: rgba(239, 230, 214, .1); transform: translateY(-1px); }
.btn--small { padding: .75em 1.25em; font-size: .72rem; }
.btn--large { padding: 1.2em 2.4em; font-size: .92rem; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-solid, .nav.is-open {
  background: rgba(13, 6, 6, .92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom-color: var(--line);
}
.nav__inner {
  width: min(var(--maxw), 100% - 2rem); margin-inline: auto;
  display: flex; align-items: center; gap: 1.5rem;
  height: 68px;
}
.nav__brand {
  display: flex; align-items: center; gap: .7rem; text-decoration: none;
  font-family: var(--display); font-weight: 700; font-size: .95rem;
  letter-spacing: .14em; text-transform: uppercase;
}
.nav__brand img { width: 36px; height: 36px; }
.nav__links { display: flex; gap: 1.7rem; margin-left: auto; }
.nav__links a {
  font-family: var(--display); font-size: .74rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; text-decoration: none;
  color: var(--parchment); position: relative; padding: .3rem 0;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--ivory);
  transition: right .3s var(--ease);
}
.nav__links a:hover { color: var(--ivory); }
.nav__links a:hover::after { right: 0; }
.nav__press { margin-left: .5rem; }
.nav__toggle { display: none; }

@media (max-width: 900px) {
  .nav__inner { gap: .75rem; }
  .nav__brand span { font-size: .8rem; }
  .nav__press { margin-left: auto; }
  .nav__toggle {
    display: grid; place-content: center; gap: 6px;
    width: 42px; height: 42px; background: none; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer;
  }
  .nav__toggle span { display: block; width: 18px; height: 1.5px; background: var(--ivory); transition: transform .25s var(--ease); }
  .nav.is-open .nav__toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav.is-open .nav__toggle span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .nav__links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0;
    background: #0d0606; border-bottom: 1px solid transparent;
    max-height: 0; overflow: hidden; visibility: hidden;
    transition: max-height .35s var(--ease), visibility 0s .35s;
  }
  .nav.is-open .nav__links { max-height: 340px; visibility: visible; border-bottom-color: var(--line); transition: max-height .35s var(--ease); }
  .nav__links a { padding: 1rem 1.5rem; border-top: 1px solid rgba(239, 230, 214, .08); }
  .nav__links a::after { display: none; }
}
@media (max-width: 420px) {
  .nav__brand span { display: none; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  min-height: 100svh;
  display: grid; place-items: center;
  padding: 92px 1.25rem 80px;
  overflow: hidden;
  text-align: center;
}
.hero__vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 55% at 50% 42%, rgba(13, 6, 6, .1), rgba(13, 6, 6, .72) 100%),
    linear-gradient(180deg, rgba(13, 6, 6, .5) 0%, transparent 18%, transparent 75%, rgba(13, 6, 6, .9) 100%);
}
.hero__inner { position: relative; z-index: 1; max-width: 980px; }

.hero__crest {
  width: clamp(150px, min(20vw, 26vh), 250px); height: auto; margin: .1rem auto 1.4rem;
  filter: drop-shadow(0 0 40px rgba(130, 20, 30, .55)) drop-shadow(0 18px 30px rgba(0, 0, 0, .6));
  animation: crestIn 1.4s var(--ease) both;
}
@keyframes crestIn {
  from { opacity: 0; transform: scale(.94) translateY(8px); }
  to { opacity: 1; transform: none; }
}

.hero__title { margin: 0; font-family: var(--display); text-transform: uppercase; line-height: .95; }
.hero__title-main {
  display: block;
  font-weight: 800;
  font-size: clamp(2.5rem, min(8vw, 11vh), 6.2rem);
  letter-spacing: .015em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .55);
}
.hero__year {
  display: flex; align-items: center; justify-content: center; gap: 1.1rem;
  font-weight: 600; font-size: clamp(1.1rem, 2.2vw, 1.6rem); letter-spacing: .5em;
  margin-top: 1rem; color: var(--parchment);
  padding-left: .5em; /* balance the trailing letter-spacing */
}
.hero__year .rule { display: block; width: clamp(40px, 8vw, 90px); height: 1px; background: var(--line-strong); }

.hero__tagline {
  font-style: italic; font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  color: var(--parchment); margin: 1.1rem 0 1rem; letter-spacing: .04em;
}

.hero__meta {
  list-style: none; padding: 0; margin: 0 0 1.6rem;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .4rem 1rem;
  font-family: var(--display); font-weight: 600; font-size: .82rem; letter-spacing: .24em; text-transform: uppercase;
}
.hero__dot { color: var(--wine-2); font-size: .7rem; }

.status { margin: 0 auto 1.8rem; }
.countdown { display: flex; justify-content: center; gap: clamp(.5rem, 2vw, 1rem); }
.countdown[hidden] { display: none; }
.countdown__unit {
  min-width: clamp(68px, 13vw, 96px);
  padding: .8rem .5rem .6rem;
  border: 1px solid var(--line);
  background: rgba(13, 6, 6, .45);
  position: relative;
}
.countdown__unit::before {
  content: ""; position: absolute; inset: 4px; border: 1px solid rgba(239, 230, 214, .1); pointer-events: none;
}
.countdown__num {
  display: block; font-family: var(--display); font-weight: 700;
  font-size: clamp(1.8rem, 4.6vw, 2.8rem); line-height: 1; font-variant-numeric: tabular-nums lining-nums;
}
.countdown__label {
  display: block; margin-top: .45rem;
  font-family: var(--display); font-size: .62rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--muted);
}
.status__line {
  margin: .9rem 0 0; font-style: italic; color: var(--muted); font-size: 1.05rem;
}
.status__line--big {
  font-style: normal; font-family: var(--display); font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  font-size: .95rem; color: var(--ivory);
  display: inline-flex; align-items: center; gap: .7rem;
  padding: .9rem 1.4rem; border: 1px solid var(--line); background: rgba(13, 6, 6, .45);
}
.status__live {
  flex-shrink: 0;
  width: 9px; height: 9px; border-radius: 50%; background: #d23b3b; box-shadow: 0 0 0 0 rgba(210, 59, 59, .6);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(210, 59, 59, .6); }
  70% { box-shadow: 0 0 0 10px rgba(210, 59, 59, 0); }
  100% { box-shadow: 0 0 0 0 rgba(210, 59, 59, 0); }
}

.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

/* Seal */
.seal {
  position: absolute; z-index: 1;
  right: clamp(1rem, 6vw, 7rem); top: clamp(110px, 24vh, 220px);
  width: clamp(120px, 13vw, 168px);
  transform: rotate(-14deg);
  opacity: .92;
  animation: sealIn 1s .6s var(--ease) both;
}
@keyframes sealIn {
  from { opacity: 0; transform: rotate(-30deg) scale(1.35); }
  to { opacity: .92; transform: rotate(-14deg) scale(1); }
}
.seal svg { width: 100%; height: auto; overflow: visible; }
.seal__ring { fill: none; stroke: #c4363f; stroke-width: 3; }
.seal__ring--thin { stroke-width: 1.2; }
.seal__text { fill: #d2565e; font-family: var(--display); font-weight: 700; font-size: 14.5px; letter-spacing: 2.4px; }
.seal__big { fill: #e06a71; font-family: var(--display); font-weight: 800; font-size: 25px; letter-spacing: 2.5px; }
.seal__small { fill: #d2565e; font-family: var(--display); font-weight: 700; font-size: 11px; letter-spacing: 3px; }
.seal svg { filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .5)); }

@media (max-width: 900px) {
  .seal { position: relative; right: auto; top: auto; width: 128px; margin: 2.4rem auto 0; display: block; }
  .hero { display: flex; flex-direction: column; justify-content: center; }
}

.hero__scroll {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 1;
  width: 26px; height: 42px; border: 1px solid var(--line-strong); border-radius: 14px;
}
.hero__scroll span {
  position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--ivory);
  animation: scrollDot 2s infinite var(--ease);
}
@keyframes scrollDot {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}
@media (max-width: 900px) { .hero__scroll { display: none; } }

/* =========================================================
   TICKER
   ========================================================= */
.ticker {
  overflow: hidden; background: var(--wine);
  border-block: 1px solid var(--line);
  padding: .95rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__track { display: flex; width: max-content; animation: ticker 60s linear infinite; }
.ticker__group { display: flex; align-items: center; }
.ticker span {
  font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap;
}
.ticker i { font-style: normal; color: var(--parchment); opacity: .6; margin: 0 1.6rem; font-size: .75rem; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding: clamp(4.5rem, 10vw, 7.5rem) 0; position: relative; }
.section--ink { background: radial-gradient(ellipse 80% 60% at 50% 0%, #1c090b, var(--ink) 70%); }
.section--wine { background: linear-gradient(180deg, #1d0709, #2a0a0e 50%, #1d0709); }

.section-head { margin-bottom: 2.6rem; }
.section-head__sub { text-align: center; color: var(--muted); max-width: 40rem; margin: 0 auto; font-size: 1.15rem; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- The Summit ---------- */
.summit { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.summit__text p:not(.eyebrow):not(.lede) { color: var(--muted); }

.stats {
  margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  position: relative;
}
.stats::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(239, 230, 214, .08); pointer-events: none; }
.stat {
  padding: 1.6rem 1rem 1.4rem; text-align: center;
  display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: .4rem;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stat:nth-child(3n) { border-right: 0; }
.stat:nth-last-child(-n + 3) { border-bottom: 0; }
.stat dd {
  margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(2.4rem, 4.5vw, 3.4rem); line-height: 1;
  font-variant-numeric: lining-nums;
}
.stat__pre { display: block; font-size: .3em; font-style: italic; font-weight: 500; letter-spacing: .04em; color: var(--parchment); margin-bottom: .2em; }
.stat__v { font-size: .45em; font-style: italic; font-weight: 500; margin: 0 .12em; color: var(--parchment); vertical-align: .35em; }
.stat dt {
  font-family: var(--display); font-size: .64rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); line-height: 1.45;
}

@media (max-width: 900px) {
  .summit { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3n) { border-right: 1px solid var(--line); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-last-child(-n + 3) { border-bottom: 1px solid var(--line); }
  .stat:nth-last-child(-n + 2) { border-bottom: 0; }
}

/* ---------- Maxim ---------- */
.maxim { padding: clamp(3.5rem, 8vw, 5.5rem) 0; text-align: center; }
.maxim figure { margin-inline: auto; }
.maxim blockquote {
  margin: 0; font-family: var(--display); font-style: italic; font-weight: 500;
  font-size: clamp(1.9rem, 5vw, 3.6rem); line-height: 1.15; color: var(--ivory);
}
.maxim blockquote::before, .maxim blockquote::after { color: var(--wine-2); }
.maxim blockquote::before { content: "“"; }
.maxim blockquote::after { content: "”"; }
.maxim figcaption {
  margin-top: 1rem; font-family: var(--display); font-size: .78rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--parchment);
}

/* ---------- Docket ---------- */
.filters {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin: 0 auto 2.6rem;
}
.filter {
  background: transparent; border: 1px solid var(--line); border-radius: 999px;
  padding: .6rem 1.3rem; cursor: pointer;
  font-family: var(--display); font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--parchment);
  transition: background .2s, color .2s, border-color .2s;
}
.filter:hover { border-color: var(--line-strong); color: var(--ivory); }
.filter.is-active { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }

.docket { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.4rem; }
.docket > .case { flex: 0 1 calc((100% - 2.8rem) / 3); }
@media (max-width: 1000px) { .docket > .case { flex-basis: calc((100% - 1.4rem) / 2); } }
@media (max-width: 640px) { .docket > .case { flex-basis: 100%; } }

.case {
  position: relative;
  background:
    linear-gradient(180deg, rgba(13, 6, 6, .55), rgba(13, 6, 6, .82)),
    url("../assets/marble.webp") center / 260% auto,
    var(--ink);
  border: 1px solid rgba(239, 230, 214, .18);
  padding: 10px;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.case:nth-child(3n + 2) { background-position: 0 0, 30% 70%, 0 0; }
.case:nth-child(3n) { background-position: 0 0, 80% 20%, 0 0; }
.case[hidden] { display: none; }
.case:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 20px 40px rgba(0, 0, 0, .45); }

.case__frame {
  position: relative; height: 100%;
  border: 1px solid var(--line);
  padding: 1.4rem 1.4rem 1.3rem;
  display: flex; flex-direction: column; text-align: center;
  min-height: 360px;
}
/* ornate corners */
.case__frame::before, .case__frame::after {
  content: ""; position: absolute; width: 18px; height: 18px; border: 1px solid var(--line-strong);
}
.case__frame::before { top: -5px; left: -5px; border-right: 0; border-bottom: 0; }
.case__frame::after { bottom: -5px; right: -5px; border-left: 0; border-top: 0; }

.case__top {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--display); font-size: .64rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--muted);
}
.case__level { display: inline-flex; align-items: center; gap: .55rem; color: var(--parchment); }

.bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; vertical-align: -1px; }
.bars span { width: 3px; background: rgba(239, 230, 214, .25); }
.bars span:nth-child(1) { height: 5px; }
.bars span:nth-child(2) { height: 8px; }
.bars span:nth-child(3) { height: 12px; }
.bars span.on { background: var(--ivory); }

.case__code {
  font-family: var(--display); font-weight: 800; font-size: 4.6rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(239, 230, 214, .16);
  margin: 1.4rem 0 .4rem; letter-spacing: .06em;
}
.case__title {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.45rem, 2.2vw, 1.75rem); line-height: 1.1; margin: 0 0 .55rem; letter-spacing: .01em;
  text-wrap: balance;
}
.case__subject {
  font-family: var(--display); font-size: .66rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--parchment);
  margin-bottom: 1rem;
}
.case__teaser { font-style: italic; color: var(--muted); font-size: 1.08rem; line-height: 1.45; margin-bottom: 1.4rem; }
.case__open {
  margin-top: auto; align-self: center;
  background: none; border: 0; border-top: 1px solid var(--line); padding: .9rem .4rem 0; width: 100%; cursor: pointer;
  font-family: var(--display); font-size: .72rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--ivory);
}
.case__open span { display: inline-block; transition: transform .25s var(--ease); }
.case__open:hover span { transform: translateX(5px); }

/* ---------- Proceedings ---------- */
.steps { list-style: none; margin: 0; padding: 0; position: relative; }
.steps::before {
  content: ""; position: absolute; left: 31px; top: 14px; bottom: 14px; width: 1px;
  background: linear-gradient(180deg, transparent, var(--line-strong) 6%, var(--line-strong) 94%, transparent);
}
.step { display: grid; grid-template-columns: 64px 1fr; gap: 1.6rem; padding: 0 0 2.4rem; position: relative; }
.step:last-child { padding-bottom: 0; }
.step__num {
  width: 64px; height: 64px; display: grid; place-items: center;
  border: 1px solid var(--line-strong); border-radius: 50%; background: var(--ink);
  font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: .05em;
  box-shadow: 0 0 0 6px var(--ink);
  position: relative; z-index: 1;
}
.step:last-child .step__num { background: var(--wine); border-color: var(--ivory); }
.step__when {
  font-family: var(--display); font-size: .64rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: #d06a71;
  margin: .3rem 0 .3rem;
}
.step h3 {
  font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 1.35rem; letter-spacing: .03em; margin: 0 0 .4rem;
}
.step p:last-child { color: var(--muted); margin: 0; }

/* ---------- Press ---------- */
.agencies { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
@media (max-width: 960px) { .agencies { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; } }

.agency {
  background: rgba(239, 230, 214, .045);
  border: 1px solid var(--line);
  padding: 1.6rem 1.6rem 1.4rem;
  position: relative;
}
.agency__masthead {
  text-align: center; padding: .9rem 0 .8rem; margin-bottom: 1.2rem;
  border-top: 3px double var(--line-strong); border-bottom: 3px double var(--line-strong);
}
.agency__abbr {
  display: block; font-family: var(--display); font-size: .7rem; font-weight: 600; letter-spacing: .5em; color: var(--muted); padding-left: .5em;
}
.agency h3 {
  font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.35rem, 2vw, 1.6rem); letter-spacing: .02em; margin: .35rem 0 0; line-height: 1.1;
}
.agency p { color: var(--muted); font-size: 1.04rem; line-height: 1.55; margin: 0; }

.press-cta { margin-top: 3rem; }
.press-cta__frame {
  text-align: center; padding: clamp(2.2rem, 5vw, 3.4rem) 1.5rem;
  border: 1px solid var(--line-strong); position: relative;
  background: linear-gradient(180deg, rgba(58, 12, 17, .75), rgba(36, 7, 9, .85));
}
.press-cta__frame::before { content: ""; position: absolute; inset: 8px; border: 1px solid var(--line); pointer-events: none; }
.press-cta__title {
  font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(2rem, 5vw, 3.2rem); margin: 0 0 .6rem; line-height: 1;
}
.press-cta__frame p:not(.eyebrow) { color: var(--parchment); max-width: 32rem; margin: 0 auto 1.8rem; }

/* ---------- Venue ---------- */
.venue { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: stretch; }
@media (max-width: 900px) { .venue { grid-template-columns: 1fr; } }
.venue address { font-style: normal; font-size: 1.3rem; color: var(--parchment); margin-bottom: 1.8rem; }

.days { list-style: none; padding: 0; margin: 0 0 1.8rem; border-top: 1px solid var(--line); }
.days li { display: flex; gap: 1.4rem; align-items: baseline; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.days__num {
  min-width: 4.5rem; font-family: var(--display); font-weight: 700; font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: var(--parchment);
}
.venue__actions { margin-bottom: 2rem; }

.contact { padding: 1.4rem 1.5rem; border: 1px solid var(--line); background: rgba(239, 230, 214, .04); }
.contact__note { color: var(--muted); font-style: italic; margin-bottom: .7rem; }
.contact__link {
  display: block; font-family: var(--display); font-weight: 600; font-size: 1.05rem; text-decoration: none;
  padding: .2rem 0; width: fit-content; border-bottom: 1px solid transparent; transition: border-color .2s;
}
.contact__link:hover { border-bottom-color: var(--ivory); }

.venue__map {
  position: relative; min-height: 420px; border: 1px solid var(--line-strong); padding: 8px; background: var(--ink-2);
}
.venue__map-fallback {
  position: absolute; inset: 8px; display: grid; place-content: center; gap: .9rem; text-align: center;
  background: linear-gradient(180deg, rgba(13, 6, 6, .6), rgba(13, 6, 6, .8)), url("../assets/marble.webp") center / cover;
  color: var(--parchment); font-family: var(--display); font-size: .78rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; text-decoration: none;
}
.venue__map-fallback img { width: 90px; height: 90px; margin: 0 auto; opacity: .9; }
.venue__map iframe {
  position: relative; z-index: 1;
  width: 100%; height: 100%; min-height: 400px; border: 0; display: block;
  filter: grayscale(1) sepia(.35) contrast(1.05) brightness(.82);
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer { text-align: center; padding-bottom: 2.5rem; }
.footer__inner { padding-top: 3.2rem; }
.footer__crest { width: 88px; height: 88px; margin: 0 auto 1rem; }
.footer__name { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: 1.1rem; margin-bottom: .2rem; }
.footer__tag { font-style: italic; color: var(--parchment); margin-bottom: 1.6rem; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.8rem; margin-bottom: 1.8rem; }
.footer__links a {
  font-family: var(--display); font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; color: var(--parchment);
}
.footer__links a:hover { color: var(--ivory); }
.footer__small { font-size: .9rem; color: var(--muted); margin: 0; }

/* =========================================================
   BRIEF DIALOG
   ========================================================= */
.brief {
  padding: 0; border: 0; background: transparent; color: var(--ivory);
  width: min(720px, 100% - 1.5rem); max-height: min(88vh, 900px);
}
.brief::backdrop { background: rgba(8, 3, 3, .82); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.brief[open] { animation: briefIn .35s var(--ease); }
@keyframes briefIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.brief__frame {
  position: relative; max-height: min(88vh, 900px); overflow-y: auto;
  padding: clamp(2rem, 5vw, 3rem) clamp(1.4rem, 5vw, 3rem) 2.2rem;
  background:
    linear-gradient(180deg, rgba(13, 6, 6, .78), rgba(13, 6, 6, .9)),
    url("../assets/marble.webp") center / cover,
    var(--ink);
  border: 1px solid var(--line-strong);
  outline: 1px solid var(--line); outline-offset: -10px;
}
.brief__close {
  position: absolute; top: 14px; right: 16px; width: 40px; height: 40px;
  background: none; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; font-size: 1.4rem; line-height: 1;
  color: var(--ivory);
}
.brief__close:hover { background: rgba(239, 230, 214, .1); }
.brief__meta {
  font-family: var(--display); font-size: .66rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--parchment);
  display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; padding-right: 3rem;
}
.brief__title {
  font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.9rem, 5vw, 2.8rem); line-height: 1.05; margin: .4rem 0 .5rem;
}
.brief__subject {
  font-family: var(--display); font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.brief__rule { height: 22px; margin: 1.3rem 0 1.5rem; background: var(--key) left center / 18px 18px repeat-x; opacity: .55; }
.brief__body p { font-size: 1.15rem; line-height: 1.65; color: #e4d9c6; }
.brief__body p:first-child::first-letter {
  font-family: var(--display); font-weight: 700; float: left; font-size: 3.4em; line-height: .85; padding: .08em .1em 0 0; color: var(--ivory);
}
.brief__press { margin-top: 1rem; }

@media (max-width: 900px) {
  .venue__map, .venue__map iframe { min-height: 320px; }
}

/* ---------- Small screens ---------- */
@media (max-width: 600px) {
  .hero__meta { flex-direction: column; gap: .35rem; }
  .hero__dot { display: none; }
  .btn { white-space: normal; text-align: center; letter-spacing: .16em; }
  .btn--large { padding: 1.1em 1.4em; font-size: .82rem; }
  .press-cta__frame { padding-inline: 1.1rem; }
  .eyebrow { letter-spacing: .26em; }
}
