/* Stonefield Films, built on the Stonefield Weddings brand.
   Layout: light stone pages with cinema frames inset, a navy screening room for the films, and clay for the call to action. Headlines in light caps, body in a light serif.
   The brand circle and arch devices carry the ornament; nothing else is decorative. */
:root {
  --navy: #09131d;
  --cream: #d5d3cf;
  --clay: #9f8471;
  --taupe: #746966;
  --slate: #4f555d;
  --charcoal: #4f4a49;
  --display: "Italiana", "Didot", "Bodoni 72", Georgia, serif;
  --body: "Newsreader", Georgia, "Times New Roman", serif;
  --gutter-l: max(clamp(16px, 4vw, 64px), env(safe-area-inset-left, 0px));
  --gutter-r: max(clamp(16px, 4vw, 64px), env(safe-area-inset-right, 0px));
  --gap: clamp(8px, 1vw, 14px);
  --bg: var(--cream);
  --fg: var(--navy);
  --muted: var(--charcoal);
  --line: rgba(9, 19, 29, .24);
  --accent: #7d6553;
  color-scheme: light;
  padding-block: env(safe-area-inset-top, 0px) env(safe-area-inset-bottom, 0px);
}

/* Surfaces. Each band sets its own tokens. */
.on-dark { --bg: var(--navy); --fg: var(--cream); --muted: #a8a09b; --line: rgba(213, 211, 207, .2); --accent: var(--clay); }
.on-light { --bg: var(--cream); --fg: var(--navy); --muted: var(--charcoal); --line: rgba(9, 19, 29, .24); --accent: #7d6553; }
.on-pale { --bg: #e7e5e1; --fg: var(--navy); --muted: var(--charcoal); --line: rgba(9, 19, 29, .2); --accent: #7d6553; }
.on-slate { --bg: var(--slate); --fg: var(--cream); --muted: #c6c3be; --line: rgba(213, 211, 207, .3); --accent: #d1b19c; }
.on-clay { --bg: var(--clay); --fg: var(--navy); --muted: #1d1a1a; --line: rgba(9, 19, 29, .3); --accent: var(--navy); }
.on-dark, .on-light, .on-pale, .on-slate, .on-clay { background: var(--bg); color: var(--fg); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font: 350 1.2rem/1.6 var(--body);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  background: var(--cream);
  z-index: 40;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
::selection { background: var(--clay); color: var(--navy); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

h1, h2, h3, p, figure, ul, dl, dd { margin: 0; }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: inherit;
  text-wrap: balance;
}
p { text-wrap: pretty; }
a { color: inherit; }
.lower { text-transform: lowercase; letter-spacing: .1em; }

.wrap {
  max-width: 1600px;
  margin-inline: auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}
.section { padding-block: clamp(4rem, 9vw, 9rem); }
.skip { position: absolute; left: -999px; top: 0; z-index: 60; background: var(--clay); color: var(--navy); padding: .75rem 1rem; }
.skip:focus { left: var(--gutter-l); }

/* Header */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: .9rem; }
.brand { display: inline-flex; text-decoration: none; }
.logo { display: block; fill: currentColor; height: 2.9rem; width: calc(2.9rem * 756 / 256); }
.nav { display: flex; align-items: center; gap: clamp(1.25rem, 2.6vw, 2.75rem); }
.nav a { text-decoration: none; font-size: 1.02rem; text-transform: lowercase; letter-spacing: .1em; padding-block: .35rem; border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.nav .nav-cta { border: 1px solid var(--fg); padding: .6rem 1.3rem; transition: background .3s, color .3s; }
.nav .nav-cta:hover, .nav .nav-cta[aria-current="page"] { background: var(--fg); color: var(--bg); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: inherit; font: inherit; font-size: 1rem; letter-spacing: .1em; text-transform: lowercase; padding: .5rem 1rem; cursor: pointer; }

@media (max-width: 800px) {
  .logo { height: 2.4rem; width: calc(2.4rem * 756 / 256); }
  .menu-btn { display: inline-block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: .5rem var(--gutter-r) 1.5rem var(--gutter-l);
  }
  .nav.is-open { display: flex; }
  .nav a { font-family: var(--display); text-transform: uppercase; letter-spacing: .04em; font-size: 1.6rem; padding-block: .9rem; border-bottom: 1px solid var(--line); }
  .nav .nav-cta { margin-top: 1rem; text-align: center; font-family: var(--body); text-transform: lowercase; font-size: 1.1rem; }
}

/* Placeholder stills, toned to the brand, until real photography is dropped in */
.still {
  --gx: 70%; --gy: 30%;
  --g1: #3a4650; --g2: #6f7d84; --g3: #0c161e; --glow: rgba(213, 211, 207, .35);
  position: relative; overflow: hidden; isolation: isolate; background: var(--g3);
}
.still::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(55% 60% at var(--gx) var(--gy), var(--glow), transparent 70%),
    linear-gradient(180deg, var(--g1), var(--g2) 46%, var(--g3));
  transition: transform 1.4s cubic-bezier(.2, .7, .1, 1);
}
.still::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    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%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 -.38'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(120% 95% at 50% 42%, transparent 38%, rgba(0, 0, 0, .55) 100%);
}
.still--abi { --g1: #3a4650; --g2: #6f7d84; --g3: #0c161e; --glow: rgba(213, 211, 207, .38); }
.still--elle { --g1: #5a4a40; --g2: #9f8471; --g3: #140f0d; --glow: rgba(236, 215, 190, .5); }
.still--katie { --g1: #4f4a49; --g2: #8a6a58; --g3: #0e0b0b; --glow: rgba(224, 180, 140, .48); }
.still--people { --g1: #1d2a33; --g2: #4f555d; --g3: #09131d; --glow: rgba(213, 211, 207, .26); }
.slot { position: absolute; right: .9rem; bottom: .7rem; font-size: .8rem; letter-spacing: .1em; text-transform: lowercase; color: rgba(213, 211, 207, .6); }
.still img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }

/* Brand circle */
.seal { position: absolute; width: clamp(100px, 13vw, 190px); aspect-ratio: 1; right: clamp(1rem, 3vw, 3rem); bottom: clamp(1rem, 3vw, 3rem); color: var(--cream); }
.ring { font-family: var(--display); font-size: 14px; fill: currentColor; }
.seal svg, .foot-seal svg { width: 100%; height: 100%; display: block; overflow: visible; }

/* Brand arch */
.arch { position: relative; width: 100%; max-width: 520px; aspect-ratio: 5 / 7; margin-inline: auto; }
.arch-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; color: var(--muted); }
.arch-svg .ring { font-size: 16px; }
.arch .arch-photo { position: absolute; left: 14%; right: 14%; top: 10.7%; bottom: 0; border-radius: 999px 999px 0 0; }

/* Hero */
.hero { padding-top: clamp(1rem, 2.2vw, 2.25rem); padding-bottom: clamp(2.5rem, 5vw, 5rem); }
.hero-frame {
  aspect-ratio: 2.39 / 1; width: 100%;
  display: flex; align-items: flex-end;
  color: var(--cream);
  animation: open 1.7s cubic-bezier(.2, .7, .1, 1) backwards;
}
.hero-frame::after {
  background:
    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%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 -.38'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    linear-gradient(to top, rgba(9, 19, 29, .8), transparent 62%),
    radial-gradient(120% 95% at 50% 42%, transparent 38%, rgba(0, 0, 0, .5) 100%);
}
.hero-copy { padding: clamp(1.25rem, 3.4vw, 3.5rem); animation: rise 1.2s cubic-bezier(.2, .7, .1, 1) 1.1s backwards; }
.hero-copy h1 { font-size: clamp(2.7rem, 8.6vw, 9rem); line-height: .98; }
.hero-copy h1 span { display: block; }
.hero-place { font-style: italic; font-size: clamp(1.2rem, 2vw, 1.9rem); margin-top: clamp(.6rem, 1.2vw, 1.1rem); color: var(--cream); }
.hero-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; padding-top: clamp(1.5rem, 2.8vw, 2.5rem); }
.hero-foot p { max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }

@keyframes open { from { clip-path: inset(36% 0 36% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 700px) { .hero-frame { aspect-ratio: 4 / 5; } .seal { width: 84px; } }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1rem 1.9rem; border: 1px solid var(--fg); background: var(--fg); color: var(--bg);
  font: 400 1.05rem/1 var(--body); letter-spacing: .1em; text-transform: lowercase; text-decoration: none; cursor: pointer;
  transition: background .3s, color .3s;
}
.btn:hover { background: transparent; color: var(--fg); }
.btn[disabled] { opacity: .6; cursor: wait; }
.link { text-decoration: none; border-bottom: 1px solid var(--accent); padding-bottom: .15rem; letter-spacing: .06em; transition: opacity .3s; }
.link:hover { opacity: .7; }

/* Statement */
.statement { max-width: 1200px; }
.statement h2 { font-size: clamp(2.2rem, 5.4vw, 5.25rem); line-height: 1.08; }
.statement p { margin-top: clamp(1.5rem, 3vw, 2.5rem); max-width: 50ch; font-size: 1.3rem; }

/* Section headings */
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .75rem 3rem; margin-bottom: clamp(2rem, 4vw, 4rem); }
.section-head h2 { font-size: clamp(2.1rem, 4.4vw, 4rem); line-height: 1.05; }
.section-head p { color: var(--muted); max-width: 40ch; }

/* Films */
.films { display: grid; gap: clamp(3rem, 6vw, 6rem); }
.film-frame { display: block; text-decoration: none; }
.film-frame .still { aspect-ratio: 2.39 / 1; width: 100%; }
.film-frame:hover .still::before { transform: scale(1.045); }
.film-meta { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 3rem; padding-top: 1.25rem; }
.film-title { font-size: clamp(1.9rem, 3.6vw, 3.25rem); line-height: 1.05; }
.film-title a { text-decoration: none; }
.film-info { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 2.5rem; }
.film-place { display: flex; flex-direction: column; color: var(--muted); font-size: 1.05rem; line-height: 1.45; }
@media (max-width: 700px) { .film-frame .still { aspect-ratio: 3 / 2; } }

/* Approach */
.approach { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 7rem); }
.approach h2 { font-size: clamp(2.2rem, 4.8vw, 4.5rem); line-height: 1.06; position: sticky; top: 7rem; align-self: start; }
.beats { display: grid; }
.beat { padding-block: clamp(1.5rem, 3vw, 2.5rem); border-top: 1px solid var(--line); }
.beat:last-child { border-bottom: 1px solid var(--line); }
.beat h3 { font-size: clamp(1.5rem, 2.4vw, 2.2rem); line-height: 1.15; }
.beat p { margin-top: .85rem; max-width: 50ch; }
@media (max-width: 860px) { .approach { grid-template-columns: minmax(0, 1fr); } .approach h2 { position: static; } }

/* Package */
.included { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-top: clamp(2rem, 4vw, 3.5rem); padding: 0; }
.included li { list-style: none; padding: clamp(1.25rem, 2.4vw, 2.25rem); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: var(--display); text-transform: uppercase; letter-spacing: .04em; font-size: clamp(1.15rem, 1.7vw, 1.5rem); line-height: 1.2; }
@media (max-width: 800px) { .included { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.package-cta { margin-top: clamp(2rem, 4vw, 3.5rem); }

/* About teaser and about page */
.duo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 7rem); align-items: center; }
.duo h2 { font-size: clamp(2.1rem, 4.4vw, 4rem); line-height: 1.05; }
.duo p { margin-top: 1.25rem; max-width: 52ch; }
.duo h2 + p { margin-top: 1.5rem; }
.duo .link { display: inline-block; margin-top: 1.75rem; }
@media (max-width: 860px) { .duo { grid-template-columns: minmax(0, 1fr); } .arch { max-width: 380px; } }

/* Closing call */
.closing { text-align: center; }
.closing h2 { font-size: clamp(2.3rem, 6.2vw, 6.25rem); line-height: 1.04; max-width: 16ch; margin-inline: auto; }
.closing p { margin: 1.5rem auto 0; max-width: 42ch; }
.closing .btn { margin-top: clamp(1.75rem, 3vw, 2.75rem); background: var(--navy); border-color: var(--navy); color: var(--cream); }
.closing .btn:hover { background: transparent; color: var(--navy); }

/* Footer */
.site-foot { position: relative; overflow: hidden; border-top: 1px solid var(--line); padding-block: clamp(2.5rem, 5vw, 4.5rem); font-size: 1.05rem; }
.foot-grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 3fr); gap: 2.5rem; }
.foot-grid h2 { font-family: var(--body); text-transform: lowercase; font-size: .95rem; letter-spacing: .14em; color: var(--muted); margin-bottom: .9rem; }
.foot-grid ul { list-style: none; padding: 0; display: grid; gap: .5rem; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { opacity: .7; }
.foot-brand .logo { height: 3.6rem; width: calc(3.6rem * 756 / 256); }
.foot-brand p { color: var(--muted); margin-top: 1.25rem; max-width: 34ch; }
.foot-legal { position: relative; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.foot-seal { position: absolute; right: -70px; bottom: -70px; width: 300px; aspect-ratio: 1; color: var(--cream); opacity: .22; pointer-events: none; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } .foot-seal { width: 220px; right: -60px; bottom: -60px; } }

/* Page heading (inner pages) */
.page-head { padding-top: clamp(3rem, 7vw, 7rem); padding-bottom: clamp(2rem, 4vw, 4rem); }
.page-head h1 { font-size: clamp(2.8rem, 8.2vw, 8.5rem); line-height: .98; }
.page-head p { margin-top: 1.5rem; max-width: 50ch; font-size: 1.3rem; }
.wide { aspect-ratio: 2.39 / 1; width: 100%; }
@media (max-width: 700px) { .wide { aspect-ratio: 3 / 2; } }
.pad-bottom { padding-bottom: clamp(3rem, 6vw, 6rem); }

/* Film page */
.player { aspect-ratio: 2.39 / 1; width: 100%; }
.player .play { position: absolute; inset: 0; display: grid; place-items: center; background: none; border: 0; cursor: pointer; color: var(--cream); font: inherit; }
.player .play span { display: inline-flex; padding: 1rem 1.9rem; border: 1px solid var(--cream); letter-spacing: .1em; text-transform: lowercase; transition: background .3s, color .3s; }
.player .play:hover span { background: var(--cream); color: var(--navy); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; }
@media (max-width: 700px) { .player { aspect-ratio: 16 / 9; } }
.film-intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 7rem); padding-block: clamp(2rem, 4vw, 4rem); }
.film-intro h1 { font-size: clamp(2.8rem, 8.2vw, 8.5rem); line-height: .98; }
.film-intro .film-place { margin-top: 1.25rem; }
.film-intro p.story { font-size: 1.3rem; align-self: end; max-width: 44ch; }
@media (max-width: 860px) { .film-intro { grid-template-columns: minmax(0, 1fr); } }
.gallery { column-count: 3; column-gap: var(--gap); }
.gallery .still, .gallery .shot { display: block; width: 100%; margin: 0 0 var(--gap); break-inside: avoid; aspect-ratio: var(--r, 3 / 2); }
@media (max-width: 900px) { .gallery { column-count: 2; } }
.film-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); margin-top: clamp(2rem, 4vw, 4rem); }
.film-nav a { display: block; text-decoration: none; padding: clamp(2rem, 4vw, 4rem) 0; }
.film-nav a + a { text-align: right; }
.film-nav small { display: block; color: var(--muted); font-size: 1rem; letter-spacing: .1em; text-transform: lowercase; margin-bottom: .5rem; }
.film-nav span { font-family: var(--display); text-transform: uppercase; letter-spacing: .02em; font-size: clamp(1.6rem, 3.4vw, 3rem); line-height: 1.1; transition: opacity .3s; }
.film-nav a:hover span { opacity: .65; }

/* Package page */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1rem 3rem; padding-block: clamp(1.5rem, 2.6vw, 2.25rem); border-bottom: 1px solid var(--line); align-items: baseline; }
.row h3 { font-size: clamp(1.5rem, 2.6vw, 2.4rem); line-height: 1.1; }
.row p { max-width: 48ch; }
@media (max-width: 700px) { .row { grid-template-columns: minmax(0, 1fr); } }

/* Enquire */
.enquire { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 6vw, 7rem); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 2rem; }
.field { display: grid; gap: .4rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 1rem; letter-spacing: .08em; text-transform: lowercase; color: var(--muted); }
.field input, .field textarea { width: 100%; background: transparent; color: var(--fg); border: 0; border-bottom: 1px solid var(--line); padding: .7rem 0; font: inherit; border-radius: 0; transition: border-color .3s; }
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--fg); }
.field input::placeholder, .field textarea::placeholder { color: rgba(9, 19, 29, .45); }
.hp { position: absolute; left: -9999px; }
.form-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form-status { min-height: 1.5em; }
.aside h2 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.15; }
.aside p { margin-top: .9rem; }
.aside ul { list-style: none; padding: 0; margin-top: 1.5rem; display: grid; gap: .6rem; justify-items: start; }
@media (max-width: 860px) { .enquire { grid-template-columns: minmax(0, 1fr); } .form-grid { grid-template-columns: minmax(0, 1fr); } }

/* Legal */
.prose { max-width: 70ch; }
.prose section { padding-top: clamp(2.5rem, 5vw, 4rem); }
.prose section:first-child { padding-top: 0; }
.prose h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.prose h3 { font-family: var(--body); text-transform: none; letter-spacing: 0; font-weight: 600; font-size: 1.1rem; margin-top: 1.75rem; }
.prose p, .prose ul { margin-top: .75rem; }
.prose ul { padding-left: 1.25rem; }
.prose li { margin-top: .3rem; }
.prose em { color: var(--muted); }

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


/* Video */
.bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; opacity: 0; transition: opacity .9s ease; }
.bg-video.is-playing { opacity: 1; }
.film-frame .bg-video { transition: opacity .6s ease, transform 1.4s cubic-bezier(.2, .7, .1, 1); }
.film-frame:hover .bg-video { transform: scale(1.045); }
.player video.film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; z-index: 2; }
@media (prefers-reduced-motion: reduce) { .bg-video { display: none; } }

/* Legibility: the display face is very light, so thicken the hairlines a touch and firm up the nav */
h1, h2, h3 { -webkit-text-stroke: .016em currentColor; }
.nav a { font-weight: 450; }
.nav a, .menu-btn { font-size: 1.08rem; }
.hero-place { font-weight: 450; }

/* Full bleed hero */
:root:has(.site-head--over) { padding-top: 0; }
body:has(.site-head--over)::before { display: none; }
.hero-full { position: relative; padding: 0; }
.hero-full .hero-frame {
  aspect-ratio: auto; width: 100%; height: 100vh; height: 100svh; min-height: 540px;
  animation: none; align-items: flex-end;
}
.hero-full .hero-frame::before { transition: none; }
.hero-full .hero-frame .bg-video, .hero-full .hero-frame img { animation: settle 3.2s cubic-bezier(.2, .7, .1, 1) both; }
.hero-full .hero-frame::after {
  background:
    linear-gradient(to bottom, rgba(9, 19, 29, .62), transparent 24%),
    linear-gradient(to top, rgba(9, 19, 29, .82), rgba(9, 19, 29, .25) 48%, transparent 72%),
    radial-gradient(120% 95% at 50% 42%, transparent 40%, rgba(0, 0, 0, .45) 100%);
}
.hero-full .hero-copy { padding: 0 var(--gutter-r) clamp(3.5rem, 7vw, 6.5rem) var(--gutter-l); max-width: 1600px; margin-inline: auto; width: 100%; }
.hero-full .hero-copy h1 { text-shadow: 0 2px 40px rgba(9, 19, 29, .45); }
.hero-full .seal { right: var(--gutter-r); bottom: clamp(3.5rem, 7vw, 6.5rem); }
@keyframes settle { from { transform: scale(1.07); } to { transform: none; } }
@media (max-width: 700px) {
  .hero-full .hero-frame { aspect-ratio: auto; }
  .hero-full .seal { display: none; }
}
.scroll-cue {
  position: absolute; left: 50%; bottom: clamp(1rem, 2.2vw, 1.75rem); transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  color: var(--cream); text-decoration: none; text-transform: lowercase; letter-spacing: .14em; font-size: .95rem; z-index: 3;
}
.scroll-cue::after { content: ""; width: 1px; height: 2.4rem; background: currentColor; transform-origin: top; animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 55% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 700px) { .scroll-cue { display: none; } }
.intro { scroll-margin-top: 4.5rem; padding-block: clamp(3rem, 6vw, 6rem); }
.intro .hero-foot { padding-top: 0; }

/* Header floats over the hero, then settles to a solid bar */
.site-head.site-head--over {
  position: fixed; left: 0; right: 0; top: 0; padding-top: env(safe-area-inset-top, 0px);
  background: transparent; border-bottom-color: transparent;
  transition: background .45s ease, color .45s ease, border-color .45s ease;
}
.site-head.site-head--over.is-solid { --bg: var(--cream); --fg: var(--navy); --line: rgba(9, 19, 29, .24); --accent: #7d6553; background: var(--cream); color: var(--navy); border-bottom-color: var(--line); }

/* Loading screen */
.loader { display: none; position: fixed; inset: 0; z-index: 100; background: var(--navy); color: var(--cream); flex-direction: column; align-items: center; justify-content: center; }
html.has-loader .loader { display: flex; }
html.has-loader:not(.is-ready) { overflow: hidden; }
.loader .loader-logo { height: auto; aspect-ratio: 756 / 256; width: clamp(180px, 22vw, 320px); animation: logo-in 1.6s cubic-bezier(.2, .7, .1, 1) .15s both; }
.loader-line { display: block; width: clamp(120px, 14vw, 200px); height: 1px; margin-top: clamp(1.5rem, 3vw, 2.5rem); background: rgba(213, 211, 207, .18); position: relative; overflow: hidden; animation: fade-in 1s ease .5s both; }
.loader-line::after { content: ""; position: absolute; inset: 0; background: var(--cream); transform-origin: left; animation: fill 1.9s cubic-bezier(.5, 0, .2, 1) .4s both; }
html.is-ready .loader { opacity: 0; visibility: hidden; transition: opacity 1s ease .05s, visibility 0s linear 1.05s; }
html.is-ready .loader .loader-logo { transform: translateY(-10px); transition: transform 1s ease; }
@keyframes logo-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* Hold the hero reveal until the loader lifts */
html.has-loader:not(.is-ready) .hero-copy,
html.has-loader:not(.is-ready) .hero-full .bg-video,
html.has-loader:not(.is-ready) .hero-full .hero-frame img { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .loader .loader-logo, .loader-line, .loader-line::after, .hero-full .bg-video, .hero-full .hero-frame img, .scroll-cue::after { animation: none; }
  .loader-line::after { transform: none; }
  .hero-copy { animation: none; }
}

/* The circle turns slowly, as a loop */
.seal svg, .foot-seal svg { animation: turn 48s linear infinite; transform-origin: 50% 50%; }
@keyframes turn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .seal svg, .foot-seal svg { animation: none; } }
