/* Pronix home page. One deliberate dark look: onyx, royal green, metallic gold. */
:root {
  --onyx: #0D0D0B; --black: #070706; --green: #0F3B2E; --green-deep: #0A2A21;
  --gold: #BE9A4A; --bronze: #8C6A2A; --champ: #E8D6A8;
  --ivory: #F6F1E7; --stone: #D8D0C0; --mute: #A49D8D; --dim: #6F6A5E;
  --line: rgba(232, 214, 168, .18);
  --metal: linear-gradient(100deg, #8C6A2A 0%, #BE9A4A 38%, #E8D6A8 52%, #BE9A4A 66%, #8C6A2A 100%);
  --display: 'Cinzel', 'Trajan Pro', 'Times New Roman', Georgia, serif;
  --ital: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gl: max(20px, env(safe-area-inset-left, 0px)); --gr: max(20px, env(safe-area-inset-right, 0px));
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--onyx); color: var(--stone); font-family: var(--sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; color: var(--ivory); text-wrap: balance; }
h2 { font-size: clamp(1.4rem, 2.25vw, 2.2rem); line-height: 1.18; letter-spacing: .03em; }
em { font-style: normal; }
:focus-visible { outline: 2px solid var(--champ); outline-offset: 4px; }
::selection { background: var(--gold); color: var(--onyx); }

.wrap { max-width: 1320px; margin-inline: auto; padding-left: var(--gl); padding-right: var(--gr); }
@media (min-width: 900px) { :root { --gl: max(48px, env(safe-area-inset-left, 0px)); --gr: max(48px, env(safe-area-inset-right, 0px)); } }

.skip { position: fixed; left: 12px; top: -80px; z-index: 100; background: var(--ivory); color: var(--onyx); padding: 12px 16px; }
.skip:focus { top: 12px; }
.eyebrow { font-size: .72rem; font-weight: 500; letter-spacing: .34em; text-transform: uppercase; color: var(--gold); }
.lede { font-family: var(--ital); font-style: italic; font-size: clamp(1.15rem, 1.45vw, 1.4rem); line-height: 1.35; color: var(--stone); max-width: 34ch; }
.num { font-family: var(--display); color: var(--gold); }

/* Buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 28px; font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; transition: color .25s, background-position .7s var(--ease), border-color .25s, transform .2s; }
.btn:active { transform: scale(.98); }
.btn-gold { color: var(--onyx); background: var(--metal); background-size: 220% 100%; background-position: 100% 0; }
.btn-gold:hover { background-position: 0 0; }
.btn-line { color: var(--champ); border: 1px solid var(--gold); background: linear-gradient(var(--gold), var(--gold)) no-repeat 0 100% / 100% 0; transition: background-size .35s var(--ease), color .25s; }
.btn-line:hover { background-size: 100% 100%; color: var(--onyx); }

/* Atmosphere: film grain and a soft gold light that follows the pointer */
.grain { position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .07; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.cursor-light { position: fixed; left: 0; top: 0; width: 680px; height: 680px; margin: -340px 0 0 -340px; z-index: 40; pointer-events: none; opacity: 0; mix-blend-mode: screen; background: radial-gradient(circle, rgba(232, 214, 168, .10) 0%, rgba(190, 154, 74, .05) 30%, rgba(190, 154, 74, 0) 62%); transition: opacity .6s; }
.cursor-light.on { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor-light { display: none; } }
.curtain { display: none; }
.motion .curtain { display: block; position: fixed; inset: 0; z-index: 60; background: var(--black); }

/* Header */
.head { position: fixed; inset: 0 0 auto 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px); transition: background .5s, backdrop-filter .5s; }
.head.is-solid { background: rgba(13, 13, 11, .72); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid rgba(232, 214, 168, .10); }
.head-in { display: flex; align-items: center; gap: 28px; height: 84px; padding-left: var(--gl); padding-right: var(--gr); }
.head-logo { display: block; flex: none; }
.head-logo img { height: 56px; width: auto; }
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a { position: relative; padding: 14px 0; font-size: .7rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--stone); transition: color .25s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav a:hover { color: var(--champ); } .nav a:hover::after { transform: scaleX(1); }
.head-cta { min-height: 44px; padding: 0 20px; }
.menu-btn { display: none; width: 48px; height: 48px; margin-left: auto; background: none; border: 0; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 1px; background: var(--champ); transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-btn span:first-child { top: 19px; } .menu-btn span:last-child { top: 28px; }
.menu-btn[aria-expanded="true"] span { top: 24px; } .menu-btn[aria-expanded="true"] span:first-child { transform: rotate(45deg); } .menu-btn[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
@media (max-width: 1080px) {
  .head-in { height: 68px; } .head-logo img { height: 46px; }
  .menu-btn { display: block; } .head-cta { display: none; }
  .nav { position: fixed; inset: 0; z-index: -1; margin: 0; flex-direction: column; justify-content: center; gap: 4px; padding: 90px var(--gr) 40px var(--gl); background: rgba(7, 7, 6, .97); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
  .nav[data-open="true"] { opacity: 1; visibility: visible; }
  .nav a { font-family: var(--display); font-size: 2rem; letter-spacing: 0; text-transform: none; color: var(--ivory); padding: 10px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
}

/* 1. Hero */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 84px var(--gr) 92px var(--gl); text-align: center; overflow: hidden; --cw: clamp(280px, min(58vw, 60svh), 760px); }
.hero-glow { position: absolute; inset: 0; background: radial-gradient(ellipse 72% 62% at 50% 40%, var(--green) 0%, var(--green-deep) 36%, var(--onyx) 76%); }
.hero-slot { position: relative; width: var(--cw); aspect-ratio: 5 / 4; margin: calc(var(--cw) * -.13) 0 calc(var(--cw) * -.12); flex: none; }
.crest { position: relative; width: 100%; aspect-ratio: 5 / 4; }
.crest.is-flying { position: fixed; left: 0; top: 0; z-index: 70; transform-origin: 0 0; will-change: transform; pointer-events: none; }
.crest-tilt { position: absolute; inset: 0; transform-style: preserve-3d; }
.crest-still, .crest-video, .crest-3d { position: absolute; inset: 0; width: 100%; height: 100%; }
.crest-still { filter: drop-shadow(0 0 50px rgba(190, 154, 74, .16)); }
.crest-video { opacity: 0; transition: opacity .8s; object-fit: contain; }
.crest-video.on { opacity: 1; }
.crest-video.blend { mix-blend-mode: screen; }
.crest-3d { opacity: 0; transition: opacity .8s; }
.crest-3d.on { opacity: 1; }
.crest.has-video .crest-still { opacity: 0; transition: opacity .8s .3s; }
.hero-copy { position: relative; display: flex; flex-direction: column; align-items: center; gap: clamp(14px, 2.2svh, 22px); }
.rule { width: 120px; height: 1px; background: var(--metal); }
.hero-title { font-size: clamp(1.6rem, min(3vw, 5.2svh), 2.9rem); line-height: 1.15; letter-spacing: .05em; max-width: none; }
.hero-sub { font-family: var(--ital); font-style: italic; font-size: clamp(1.1rem, 1.55vw, 1.45rem); line-height: 1.3; color: var(--stone); max-width: 36ch; text-wrap: balance; }
.cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: .66rem; letter-spacing: .32em; text-transform: uppercase; color: var(--mute); white-space: nowrap; }
.cue i { width: 1px; height: 44px; background: linear-gradient(var(--gold), rgba(190, 154, 74, 0)); transform-origin: top; animation: cue 2.6s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 0; } 35% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-height: 760px) { .cue { display: none; } }

/* 2. Tour film. Still version first; the scrolling version is switched on by .motion */
.film { position: relative; background: var(--black); }
.film-stick { position: relative; background: url(../film/082.webp) center / cover no-repeat; padding: 120px 0 60px; }
.film-canvas { display: none; }
.film-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 7, 6, .25) 0%, rgba(7, 7, 6, .92) 70%); }
.film-panel { position: relative; margin-left: auto; width: min(560px, 100%); padding: 0 var(--gr) 0 var(--gl); display: flex; flex-direction: column; gap: 22px; }
.film-count { display: none; margin-left: 14px; font-family: var(--display); font-size: .95rem; letter-spacing: .08em; color: var(--champ); }
.film-list a { display: grid; grid-template-columns: 44px 1fr; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.film-list .num { font-size: .95rem; }
.film-list .txt { display: grid; }
.film-list strong { font-family: var(--display); font-weight: 400; font-size: 1.5rem; line-height: 1.1; color: var(--ivory); }
.film-list em { font-size: .98rem; line-height: 1.55; color: var(--stone); padding-top: 10px; max-width: 38ch; }
.film-foot { display: flex; align-items: center; gap: 24px; }
.film-bar { display: none; }
.film-skip { display: none; font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; color: var(--mute); padding: 14px 0; border-bottom: 1px solid transparent; }
.film-skip:hover { color: var(--champ); border-color: var(--gold); }

.motion .film { height: 620vh; margin-top: -100vh; margin-top: -100svh; }
.motion .hero { z-index: 2; }
.motion .hero > .hero-glow { -webkit-mask-image: linear-gradient(180deg, #000 50%, transparent 100%); mask-image: linear-gradient(180deg, #000 50%, transparent 100%); }
/* The services rise over the last moments of the film as it dissolves, so there is no empty black screen between them. */
.motion .services { position: relative; z-index: 2; background: transparent; margin-top: -75vh; margin-top: -75svh; padding-top: clamp(56px, 7vw, 110px); }
.motion .film { z-index: 1; background: var(--onyx); }
.motion .film-stick { position: sticky; top: 0; height: 100vh; height: 100svh; padding: 0; overflow: hidden; background: var(--onyx); }
.motion .film-canvas, .motion .film-shade, .motion .film-panel { opacity: 0; }
.film-fade { display: none; }
.motion .film-fade { display: block; position: absolute; inset: 0; z-index: 3; background: var(--onyx); opacity: 0; pointer-events: none; }
.motion .film-canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.motion .film-shade { background: linear-gradient(90deg, rgba(7, 7, 6, 0) 34%, rgba(7, 7, 6, .55) 58%, rgba(7, 7, 6, .94) 84%), linear-gradient(180deg, rgba(7, 7, 6, .55) 0%, rgba(7, 7, 6, 0) 22%); }
.motion .film-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(520px, 44vw); justify-content: center; padding-top: 84px; }
.motion .film-list a { transition: padding .6s var(--ease); }
.motion .film-list .num { color: var(--dim); transition: color .5s; }
.motion .film-list strong { font-size: 1rem; color: var(--mute); transform-origin: left center; transition: font-size .6s var(--ease), color .5s; }
.motion .film-list .txt { grid-template-rows: auto 0fr; transition: grid-template-rows .6s var(--ease); }
.motion .film-list em { overflow: hidden; min-height: 0; padding-top: 0; opacity: 0; transition: opacity .4s, padding .6s var(--ease); }
.motion .film-list li.is-active a { padding: 22px 0; }
.motion .film-list li.is-active .num { color: var(--gold); }
.motion .film-list li.is-active strong { font-size: clamp(1.5rem, 1.95vw, 1.85rem); color: var(--ivory); }
.motion .film-list li.is-active .txt { grid-template-rows: auto 1fr; }
.motion .film-list li.is-active em { opacity: 1; padding-top: 12px; transition-delay: .15s; }
.motion .film-list a:hover strong { color: var(--champ); }
.motion .film-bar { display: block; position: relative; flex: 1; height: 1px; background: rgba(246, 241, 231, .22); }
.motion .film-bar i { position: absolute; inset: 0; background: var(--metal); transform: scaleX(0); transform-origin: left; }
.motion .film-bar b { position: absolute; top: -3px; width: 1px; height: 7px; background: var(--champ); opacity: .7; }
.film-bar b:nth-of-type(1) { left: 0; } .film-bar b:nth-of-type(2) { left: 20%; } .film-bar b:nth-of-type(3) { left: 40%; } .film-bar b:nth-of-type(4) { left: 60%; } .film-bar b:nth-of-type(5) { left: 80%; } .film-bar b:nth-of-type(6) { left: 100%; }
.motion .film-skip { display: block; }
@media (max-width: 860px) {
  .motion .film { height: 480vh; }
  .motion .film-shade { background: linear-gradient(180deg, rgba(7, 7, 6, .5) 0%, rgba(7, 7, 6, 0) 20%, rgba(7, 7, 6, 0) 42%, rgba(7, 7, 6, .9) 70%, rgba(7, 7, 6, .97) 100%); }
  .motion .film-panel { top: auto; left: 0; width: 100%; padding: 0 var(--gr) max(22px, env(safe-area-inset-bottom, 0px)) var(--gl); gap: 10px; }
  .motion .film-count { display: inline; }
  .motion .film-list { display: grid; }
  .motion .film-list li { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .45s, transform .6s var(--ease), visibility .45s; }
  .motion .film-list li.is-active { opacity: 1; visibility: visible; transform: none; }
  .motion .film-list a, .motion .film-list li.is-active a { padding: 6px 0 14px; border: 0; grid-template-columns: 1fr; }
  .motion .film-list .num { display: none; }
  .motion .film-list li.is-active strong { font-size: 1.55rem; }
  .motion .film-list .txt { grid-template-rows: auto 1fr; }
  .motion .film-list em { opacity: 1; padding-top: 10px; min-height: 4.7em; }
}

/* Shared section heading */
.sec-head { display: grid; gap: 22px; margin-bottom: clamp(48px, 7vw, 96px); }
.sec-head h2 { max-width: 24ch; }

/* 3. Six services */
.services { padding: clamp(96px, 13vw, 190px) 0 clamp(80px, 10vw, 150px); background: var(--onyx); }
.rows li { border-top: 1px solid var(--line); } .rows li:last-child { border-bottom: 1px solid var(--line); }
.rows a { position: relative; display: grid; grid-template-columns: 5.5rem minmax(0, 1.25fr) minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: clamp(22px, 2.6vw, 38px) 0; }
.rows a::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--metal); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.rows a:hover::before, .rows a:focus-visible::before { transform: scaleX(1); }
.rows .num { font-size: 1.15rem; }
.rows h3 { font-size: clamp(1.2rem, 1.95vw, 1.85rem); line-height: 1.15; letter-spacing: .03em; transition: transform .6s var(--ease), color .4s; }
.rows a:hover h3 { transform: translateX(14px); color: var(--champ); }
.rows p { color: var(--mute); max-width: 34ch; }
.go { display: inline-flex; align-items: center; gap: 12px; font-size: .68rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.go::after { content: ""; width: 34px; height: 1px; background: currentColor; transform-origin: left; transition: transform .5s var(--ease); }
.rows a:hover .go::after { transform: scaleX(1.7); }
@media (max-width: 860px) {
  .rows a { grid-template-columns: 2.6rem 1fr; gap: 6px 10px; align-items: baseline; }
  .rows p { grid-column: 2; } .rows .go { grid-column: 2; margin-top: 8px; }
}

/* 4. Who we work with */
.doors { padding: clamp(80px, 10vw, 150px) 0; background: linear-gradient(180deg, var(--onyx) 0%, var(--green-deep) 65%, var(--green) 100%); }
.door-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.door { position: relative; display: block; aspect-ratio: 3 / 4.3; overflow: hidden; background: var(--black); }
.door-img { position: absolute; inset: 0; }
.door-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) brightness(.82); transform: scale(1.04); transition: transform 1.6s var(--ease), filter .8s; }
.door:hover .door-img img, .door:focus-visible .door-img img { transform: scale(1.1); filter: saturate(1) brightness(.95); }
.door::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 7, 6, 0) 22%, rgba(7, 7, 6, .55) 58%, rgba(7, 7, 6, .94) 100%); box-shadow: inset 0 0 0 1px rgba(232, 214, 168, .16); transition: box-shadow .5s; }
.door:hover::after { box-shadow: inset 0 0 0 1px var(--gold); }
.door-txt { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: grid; gap: 8px; padding: 30px; }
.door-txt small { font-size: .68rem; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); }
.door-txt strong { font-family: var(--display); font-weight: 400; font-size: clamp(1.3rem, 1.7vw, 1.65rem); line-height: 1.1; letter-spacing: .03em; color: var(--ivory); }
.door-txt em { color: var(--stone); font-size: .98rem; max-width: 30ch; }
@media (max-width: 860px) { .door-grid { grid-template-columns: 1fr; } .door { aspect-ratio: 4 / 3.4; } }

/* 5. Trust band */
.trust { padding: clamp(80px, 10vw, 140px) 0 clamp(110px, 13vw, 180px); background: linear-gradient(180deg, var(--green) 0%, var(--green) 45%, var(--green-deep) 75%, var(--onyx) 100%); }
.trust-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px 80px; align-items: center; }
.trust .eyebrow { color: var(--champ); }
.trust-l { display: grid; gap: 26px; }
.trust-l h2 { max-width: 24ch; }
.plaques { display: grid; gap: 14px; margin-top: 14px; justify-items: start; }
.plaques-label { font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--champ); opacity: .8; }
.plaques-row { display: flex; flex-wrap: wrap; align-items: center; padding: 16px 6px; background: linear-gradient(180deg, #F8F4EA, #EFE7D6); box-shadow: inset 0 0 0 1px rgba(190, 154, 74, .55), inset 0 0 0 5px #F6F1E7, inset 0 0 0 6px rgba(190, 154, 74, .35), 0 18px 40px rgba(0, 0, 0, .28); }
.plaques-row img { height: 58px; width: auto; padding: 0 22px; mix-blend-mode: multiply; }
.plaques-row img + img { border-left: 1px solid rgba(140, 106, 42, .35); }
@media (max-width: 520px) { .plaques-row img { height: 40px; padding: 0 12px; } }
.trust-r li { display: grid; grid-template-columns: 44px 1fr; align-items: baseline; padding: 24px 0; border-top: 1px solid rgba(232, 214, 168, .32); }
.trust-r li:last-child { border-bottom: 1px solid rgba(232, 214, 168, .32); }
.trust-r .num { color: var(--champ); }
.trust-r strong { display: block; font-weight: 600; color: var(--ivory); }
.trust-r em { color: var(--stone); font-size: .95rem; }
@media (max-width: 860px) { .trust-in { grid-template-columns: 1fr; } }

/* 6. Closing invitation */
.close { position: relative; padding: clamp(52px, 6vw, 84px) 0 clamp(44px, 5vw, 72px); text-align: center; overflow: hidden; }
.close .hero-glow { background: radial-gradient(ellipse 60% 70% at 50% 46%, var(--green) 0%, var(--green-deep) 34%, var(--onyx) 74%); }
.close-in { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.close-crest { width: 116px; }
.close-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 10px; }
.close-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 56px; margin-top: 14px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ivory); }
.close-list small { display: block; font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }

/* Footer */
.foot { background: linear-gradient(180deg, var(--onyx), var(--black) 50%); padding: 84px 0 40px; font-size: .95rem; padding-bottom: max(40px, env(safe-area-inset-bottom, 0px)); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 44px 64px; }
.foot-grid > div { display: grid; gap: 10px; align-content: start; }
.foot-grid img { width: 120px; margin-bottom: 8px; }
.foot-grid p { font-family: var(--ital); font-style: italic; font-size: 1.25rem; line-height: 1.4; color: var(--mute); max-width: 28ch; }
.foot h4, .foot-h { font-size: .68rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.foot a { transition: color .25s; } .foot a:hover { color: var(--champ); }
.conv { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; margin-top: 56px; padding: 26px 30px; border: 1px solid var(--gold); background: linear-gradient(120deg, rgba(190, 154, 74, .12), rgba(190, 154, 74, 0)); }
.conv span { display: grid; gap: 4px; }
.conv small { font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.conv strong { font-family: var(--display); font-weight: 400; font-size: 1.2rem; color: var(--ivory); }
.conv i { font-style: normal; font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--champ); }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 40px; margin-top: 44px; padding-top: 26px; border-top: 1px solid rgba(216, 208, 192, .14); font-size: .78rem; line-height: 1.7; color: #8F897B; }
.legal p { max-width: 80ch; } .legal span { display: flex; gap: 22px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr; } }

.toast { position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom, 0px)); z-index: 95; transform: translateX(-50%); max-width: calc(100vw - 40px); padding: 14px 22px; background: var(--ivory); color: var(--onyx); font-size: .9rem; box-shadow: 0 18px 40px rgba(0, 0, 0, .5); }

/* Motion start states. Removed automatically if the scripts do not run. */
.motion [data-reveal] { opacity: 0; }
.motion .hero-copy > *, .motion .cue, .motion .head { opacity: 0; }
.motion .crest { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .cue i { animation: none; } * { scroll-behavior: auto !important; } }

@media (max-width: 520px) { .eyebrow { letter-spacing: .24em; } .hero-title { letter-spacing: .01em; } }

.trust-lede { margin: 18px 0 0; max-width: 46ch; color: var(--mute); font-size: 1rem; line-height: 1.65; }

/* ---------- Phones: compact, readable, easy to tap ---------- */
@media (max-width: 640px) {
  .eyebrow { font-size: .78rem; letter-spacing: .26em; }
  .sec-head { gap: 12px; margin-bottom: 28px; }
  .lede { font-size: 1.12rem; }
  .btn { min-height: 48px; font-size: .78rem; padding: 0 22px; }
  /* Swipe rows: cards sit side by side and slide, instead of one long column */
  .door-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * var(--gl)) calc(-1 * var(--gr)); padding: 0 var(--gr) 10px var(--gl); scroll-padding-inline: var(--gl); scrollbar-width: none; }
  .door-grid::-webkit-scrollbar { display: none; }
  .door { aspect-ratio: 3 / 3.6; scroll-snap-align: start; }
  /* Closing invitation and footer */
  .close { padding: 44px 0 40px; }
  .close-crest { width: 84px; }
  .close-list { gap: 14px 28px; }
  .close-list small { font-size: .72rem; }
  .foot { padding-top: 48px; font-size: 1rem; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .foot-grid > div { gap: 0; }
  .foot-grid p { font-size: 1.1rem; }
  .foot h4, .foot-h { font-size: .75rem; margin-bottom: 4px; }
  .foot-grid a { display: flex; align-items: center; min-height: 42px; }
  .foot .legal a { display: inline-flex; align-items: center; min-height: 44px; padding-right: 14px; }
}

.swipe-hint { display: none; align-items: center; gap: 10px; margin-top: 2px; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.swipe-hint::after { content: ""; width: 34px; height: 1px; background: var(--gold); }
@media (max-width: 640px) { .swipe-hint { display: flex; } }

/* Phones: nothing a visitor needs to read below 12px (applies on every page) */
@media (max-width: 640px) {
  main small, main th, .foot small, .go, .plaques-label, .conv i, .q-n, .q-f > span, .q-f em, .q-total > span, .folder-foot span, .rep-k, .cmp-h em,
  .field > span, main dt, .ptable th, .ptable caption, .count span, .chart-key span, .epc-chart b span { font-size: 12px !important; }
  .legal a, .l-body a { padding-block: 10px; }
}
