/* Levant Agency — shared by levant.agency and the twelve service sites (build copies this file).
   Theme from the Levant logo: gold on black, a high-contrast serif for the name and headings, a wide-spaced sans
   for "AGENCY". Concept kept: the alphabet began on this coast, so the wordmark is first drawn in Phoenician.
   Gold is a gradient (like the logo's foil) only on the wordmark, the emblem and the main buttons; text is cream. */

@font-face { font-family: 'Cormorant Garamond'; src: url('../fonts/cormorant-garamond-500.woff2?v=0eabc355') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('../fonts/cormorant-garamond-500-italic.woff2?v=992ffbd5') format('woff2'); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('../fonts/manrope-400.woff2?v=5296100b') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('../fonts/manrope-600.woff2?v=c3ddfb1b') format('woff2'); font-weight: 600; font-display: swap; }

:root {
  --black: #030303;           /* the logo's background */
  --panel: #0e0d0b;
  --panel-2: #16140f;
  --cream: #f2e8cf;
  --muted: #a89f89;
  --mist: #857d6b;
  --gold: #d6b264;
  --gold-hi: #f0d595;
  --gold-lo: #9a7633;
  --gold-grad: linear-gradient(105deg, #8d6a2c 0%, #d7b46b 26%, #f7e4aa 47%, #caa055 70%, #8d6a2c 100%);
  --line: rgba(214, 178, 100, .2);
  --line-soft: rgba(242, 232, 207, .1);

  --bg: var(--black);
  --fg: var(--cream);
  --accent: var(--gold);
  --display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', Arial, Helvetica, sans-serif;
  --radius: 14px;
  --gutter: clamp(16px, 4.5vw, 72px);
  color-scheme: dark;
}

body { background: var(--black); color: var(--cream); font: 400 17px/1.6 var(--sans); }
::selection { background: var(--gold); color: var(--black); }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.container { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter); }

.display, .h1, .h2, .h3 { font-family: var(--display); font-weight: 500; letter-spacing: -.01em; }
.h1 { font-size: clamp(44px, 6vw, 96px); line-height: .98; letter-spacing: -.02em; }
.h2 { font-size: clamp(34px, 4vw, 60px); line-height: 1.02; }
.h3 { font-size: clamp(25px, 2vw, 32px); line-height: 1.1; }
.display em, .h1 em, .h2 em, .h3 em, .legal h1 em { font-style: normal; font-family: inherit; color: inherit; }
.lead { font-size: clamp(18px, 1.35vw, 21px); line-height: 1.55; color: var(--muted); max-width: 34em; }
.section { padding-block: clamp(96px, 13vh, 168px); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px clamp(32px, 6vw, 120px); align-items: end; margin-bottom: clamp(48px, 8vh, 96px); }
.sec-head .h1 { max-width: 13em; }
.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons: gold foil for the main action, a fine gold outline for the second. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--gold-grad); background-size: 160% 100%; background-position: 0 0; color: var(--black); font: 600 15.5px/1 var(--sans); letter-spacing: .02em; cursor: pointer; text-decoration: none; transition: background-position .6s var(--ease), transform .2s, box-shadow .3s; box-shadow: inset 0 0 0 1px rgba(255, 240, 200, .25); }
.btn:hover { background-position: 100% 0; color: var(--black); box-shadow: inset 0 0 0 1px rgba(255, 240, 200, .4), 0 8px 30px rgba(214, 178, 100, .18); }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn--line, .btn--line-light { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1px rgba(214, 178, 100, .55); }
.btn--line:hover, .btn--line-light:hover { background: rgba(214, 178, 100, .1); color: var(--gold-hi); box-shadow: inset 0 0 0 1px var(--gold); }
.btn--light { /* same foil as .btn */ }
.link { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; text-decoration-color: rgba(214, 178, 100, .5); transition: text-decoration-color .2s, color .2s; }
.link:hover { text-decoration-color: var(--gold); color: var(--gold-hi); }
button.link { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 28px; padding: 16px var(--gutter); transition: background .3s, box-shadow .3s, padding .3s; }
.site-header.is-solid { background: rgba(3, 3, 3, .86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); padding-block: 10px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--cream); }
.brand-logo { width: 46px; height: 46px; flex: none; }
.brand-name { display: grid; line-height: 1; }
.brand-name b { font: 500 24px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-name small { margin-top: 4px; font: 400 9.5px/1 var(--sans); letter-spacing: .5em; text-transform: uppercase; color: var(--cream); }
.nav { display: flex; gap: 30px; margin-inline-start: auto; font-weight: 600; font-size: 15px; }
.nav a { text-decoration: none; position: relative; padding-block: 6px; transition: color .25s; }
.nav a:hover { color: var(--gold-hi); }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.nav .nav-wa { color: var(--gold); }
.head-actions { display: flex; align-items: center; gap: 12px; }
.menu-btn { display: none; position: relative; width: 44px; height: 44px; border: 0; box-shadow: inset 0 0 0 1px rgba(214, 178, 100, .55); border-radius: 50%; background: transparent; cursor: pointer; }
.menu-btn i { position: absolute; left: 13px; right: 13px; height: 1.4px; background: var(--gold-hi); transition: transform .3s var(--ease); }
.menu-btn i:first-of-type { top: 17px; }
.menu-btn i:last-of-type { top: 25px; }
.menu-btn[aria-expanded=true] i:first-of-type { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded=true] i:last-of-type { transform: translateY(-4px) rotate(-45deg); }

/* ---------- 1 · hero: the logo lockup, written first in Phoenician ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding-block: 120px clamp(40px, 7vh, 80px); overflow: clip; }
.hero::before { content: ''; position: absolute; inset: auto -20% -40% -20%; height: 70%; background: radial-gradient(ellipse at 50% 100%, rgba(214, 178, 100, .12), transparent 62%); pointer-events: none; }
.hero > .container { width: 100%; position: relative; }
.hero-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.emblem { position: relative; width: min(100%, 560px, 64svh); aspect-ratio: 1; justify-self: center; mix-blend-mode: screen; } /* blend the wrapper: GSAP animates it, which would isolate a blended child */
.emblem img { width: 100%; height: 100%; }
.emblem::after { /* a single sweep of light across the foil */ content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 38%, rgba(255, 246, 214, .55) 50%, transparent 62%); background-size: 260% 100%; background-position: 130% 0; mix-blend-mode: overlay; pointer-events: none; }
.emblem.is-shining::after { animation: shine 1.8s var(--ease) both; }
@keyframes shine { to { background-position: -30% 0; } }
.lockup { display: grid; justify-items: start; }
.word { display: flex; gap: .06em; margin: 0; font: 500 clamp(64px, 8.8vw, 148px)/.86 var(--display); letter-spacing: .1em; user-select: none; }
.gl { position: relative; display: block; }
.gl .lt { display: block; background: var(--gold-grad); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.gl:nth-child(2) .lt { background-position: 20% 0; } .gl:nth-child(3) .lt { background-position: 40% 0; } .gl:nth-child(4) .lt { background-position: 60% 0; } .gl:nth-child(5) .lt { background-position: 80% 0; } .gl:nth-child(6) .lt { background-position: 100% 0; }
.agency { margin-top: clamp(12px, 2vh, 20px); font: 400 clamp(15px, 1.5vw, 24px)/1 var(--sans); letter-spacing: .62em; text-transform: uppercase; color: var(--cream); padding-inline-start: .3em; }
.hero-foot { display: grid; gap: 26px; margin-top: clamp(20px, 3vh, 32px); padding-top: clamp(22px, 3.5vh, 34px); border-top: 1px solid var(--line); width: 100%; }
.hero-lead { font: 500 clamp(22px, 1.9vw, 30px)/1.3 var(--display); max-width: 26em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 2 · services: an index, each row opens its own site ---------- */
.svc-groups { display: grid; gap: clamp(48px, 7vh, 80px); }
.svc-group { display: grid; grid-template-columns: minmax(120px, .22fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.svc-group-name { font: 500 26px/1 var(--display); color: var(--gold); padding-top: 22px; }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--gold-lo); }
.svc { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(190px, .9fr) minmax(0, 1.4fr) 196px 28px; gap: 20px; align-items: center; padding: 22px 16px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--cream); overflow: hidden; transition: color .45s var(--ease); }
.svc::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--gold-grad); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); }
.svc::after { content: ''; width: 22px; height: 22px; justify-self: end; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M8 7h9v9'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M8 7h9v9'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .45s var(--ease); }
.svc-name { font: 500 clamp(28px, 2.6vw, 42px)/1 var(--display); }
.svc-line { color: var(--muted); font-size: 16px; line-height: 1.45; transition: color .45s var(--ease); }
.svc-url { font-size: 13.5px; color: var(--mist); white-space: nowrap; transition: color .45s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .svc:hover { color: var(--black); }
  .svc:hover::before { transform: scaleY(1); }
  .svc:hover::after { transform: translate(3px, -3px); }
  .svc:hover .svc-line, .svc:hover .svc-url { color: #3a2e14; }
}
.svc:focus-visible { outline-offset: -3px; }

/* ---------- 3 · work ---------- */
.projects { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(56px, 8vh, 96px) clamp(20px, 3vw, 48px); }
.project { grid-column: span 6; display: grid; gap: 24px; align-content: start; }
.project--wide { grid-column: 1 / -1; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: end; }
.project--flip .shot { order: 2; }
.shot { display: block; border-radius: 10px; overflow: hidden; background: var(--panel); box-shadow: 0 0 0 1px var(--line); aspect-ratio: 16 / 10; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .9s var(--ease); }
@media (hover: hover) { .shot:hover img { transform: scale(1.025); } }
.project-text { display: grid; gap: 10px; max-width: 30em; }
.project-text .h3 { font-size: clamp(30px, 2.6vw, 42px); }
.project-where { color: var(--gold); font-weight: 600; font-size: 14.5px; }
.project-text p:not(.project-where) { color: var(--muted); }
.project-text .link { justify-self: start; margin-top: 6px; font-weight: 600; }

/* ---------- 4 · about: the coast (signature scroll), in gold like the map in the logo ---------- */
.coast { position: relative; background: var(--panel); color: var(--cream); --line-c: rgba(214, 178, 100, .07); border-block: 1px solid var(--line); }
.coast-stage { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding-block: clamp(96px, 14vh, 160px); }
.coast-map { position: relative; grid-column: 2; grid-row: 1; width: min(100%, 46vw * 500 / 580 * 1.2, 86vh * 500 / 580); aspect-ratio: 500 / 580; justify-self: center; }
.coast-map svg { width: 100%; height: 100%; overflow: visible; }
.grat path { fill: none; stroke: var(--line-c); stroke-width: 1; }
.sea { font: italic 500 26px var(--display); fill: rgba(242, 232, 207, .25); }
.line { fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.water { stroke: #8fb0c8; stroke-width: 1.2; }
.places { list-style: none; margin: 0; padding: 0; }
.place { position: absolute; left: var(--x); top: var(--y); margin-top: -11px; display: grid; gap: 2px; padding-left: 18px; white-space: nowrap; }
.place i { position: absolute; left: -5px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold-hi); box-shadow: 0 0 0 4px rgba(214, 178, 100, .2), 0 0 22px 4px rgba(240, 213, 149, .45); }
.place b { font: 500 17px/1.1 var(--display); letter-spacing: .02em; }
.place span { font-size: 12.5px; line-height: 1.3; color: var(--muted); font-variant-numeric: tabular-nums; }
.place time { color: var(--gold-hi); }
.place--l { left: auto; right: calc(100% - var(--x)); padding: 0 18px 0 0; text-align: right; }
.place--l i { left: auto; right: -5px; }
.place--up { top: auto; bottom: calc(100% - var(--y) + 12px); margin: 0; width: 0; padding: 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.place--up i { left: -5px; top: auto; bottom: -17px; }
.coast-copy { grid-column: 1; grid-row: 1; display: grid; gap: 72px; }
.chapter { max-width: 30rem; }
.chapter .h2 { margin-bottom: 18px; font-size: clamp(48px, 5.4vw, 84px); }
.chapter .lead { color: var(--muted); }
.coast.is-scrolly .coast-stage { height: 100vh; height: 100svh; padding-block: 84px 0; }
.coast.is-scrolly .coast-copy { display: block; position: relative; height: 22rem; }
.coast.is-scrolly .chapter { position: absolute; left: var(--gutter); right: 0; top: 0; }
.coast.is-scrolly .coast-map { width: min(100%, 86svh * 500 / 580 - 40px); }
.coast.is-sticky { height: 420vh; height: 420svh; }
.coast.is-sticky .coast-stage { position: sticky; top: 0; }
.coast.is-scrolly .chapter, .coast.is-scrolly .place, .coast.is-scrolly .coast-map svg { will-change: transform, opacity; }

.promise-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px clamp(32px, 6vw, 120px); }
.promise-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--gold-lo); }
.promise-list li { padding: 22px 0; border-bottom: 1px solid var(--line); font-size: 18px; color: var(--muted); }
.promise-list b { color: var(--cream); font-weight: 600; margin-inline-end: 6px; }

/* ---------- 5 · contact ---------- */
.contact { position: relative; background: var(--panel); border-top: 1px solid var(--line); overflow: clip; }
.contact::before { content: ''; position: absolute; right: -10%; top: -30%; width: 60%; aspect-ratio: 1; background: radial-gradient(circle, rgba(214, 178, 100, .1), transparent 65%); pointer-events: none; }
.contact-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(48px, 7vw, 120px); align-items: start; }
.contact-intro .lead { margin-top: 26px; }
.direct { margin-top: 40px; display: grid; gap: 14px; justify-items: start; }
.direct p { margin-top: 12px; font-size: 16px; line-height: 2; }
.form { max-width: none; display: grid; gap: 26px; }
.field label { opacity: 1; color: var(--muted); font-weight: 600; font-size: 14px; letter-spacing: 0; text-transform: none; }
.field input, .field select, .field textarea { opacity: 1; color: var(--cream); border-bottom-color: rgba(214, 178, 100, .4); }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--gold-hi); }
.field select { appearance: none; -webkit-appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23d6b264' stroke-width='1.6'/%3E%3C/svg%3E") right 4px center no-repeat; padding-right: 24px; }
.field select option { color: var(--cream); background: var(--panel-2); }
.field textarea::placeholder { color: var(--mist); opacity: 1; }
.hint { margin-top: -14px; font-size: 14px; color: var(--mist); }
.checks { display: grid; gap: 12px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; cursor: pointer; color: var(--muted); }
.check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--gold); }
.form-status[data-state="ok"] { color: var(--gold-hi); font-weight: 600; }
.form-status[data-state="error"] { color: #f2a28f; font-weight: 600; }

/* ---------- Book a call dialog ---------- */
.book { width: min(620px, calc(100vw - 24px)); max-height: calc(100svh - 24px); padding: 0; border: 0; border-radius: 18px; background: var(--panel-2); color: var(--cream); box-shadow: 0 0 0 1px var(--line), 0 40px 100px rgba(0, 0, 0, .7); }
.book::backdrop { background: rgba(0, 0, 0, .7); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.book[open] { animation: book-in .45s var(--ease); }
@keyframes book-in { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.book .form { padding: clamp(22px, 4vw, 36px); gap: 20px; }
.book-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.book-x { width: 42px; height: 42px; border-radius: 50%; border: 0; box-shadow: inset 0 0 0 1px var(--line); background: none; cursor: pointer; display: grid; place-items: center; }
.book-x svg { width: 18px; height: 18px; fill: none; stroke: var(--gold-hi); stroke-width: 1.6; stroke-linecap: round; }
.book-lead { color: var(--muted); margin-top: -8px; }
.opt { font-weight: 400; color: var(--mist); }

/* ---------- page transition: fade to black, the next site's name in gold, fade into the next site ----------
   Leaving: .veil (added by levant.js) fades in. Arriving: html.arriving draws the same black frame and name from
   the first paint (set by a tiny script in <head>), then fades out once the page is ready. */
.veil, html.arriving::before { position: fixed; inset: 0; z-index: 300; background: var(--black); pointer-events: none; }
.veil { display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .55s cubic-bezier(.4, 0, .2, 1), visibility 0s .55s; }
.veil-name, html.arriving::after { font: 500 clamp(48px, 7vw, 112px)/1 var(--display); letter-spacing: .08em; text-align: center; padding-inline: 16px; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.veil-name { opacity: 0; transform: translateY(10px); transition: opacity .5s .15s, transform .8s .15s var(--ease); }
.veil.is-in { opacity: 1; visibility: visible; pointer-events: all; transition: opacity .55s cubic-bezier(.4, 0, .2, 1); }
.veil.is-in .veil-name { opacity: 1; transform: none; }
html.arriving::before { content: ''; transition: opacity .9s .35s cubic-bezier(.4, 0, .2, 1); }
html.arriving::after { content: attr(data-veil-name); position: fixed; left: 0; right: 0; top: 50%; z-index: 301; transform: translateY(-50%); pointer-events: none; transition: opacity .45s, transform .9s var(--ease); }
html.arriving.arrived::before { opacity: 0; }
html.arriving.arrived::after { opacity: 0; transform: translateY(calc(-50% - 10px)); }

/* ---------- footer ---------- */
.site-footer { background: var(--black); color: var(--cream); padding-block: 80px 36px; font-size: 15px; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-soft); }
.foot-h { font: 500 22px/1 var(--display); color: var(--gold); margin-bottom: 16px; }
.foot-grid p { line-height: 1.9; }
.foot-svc { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 24px; line-height: 1.9; }
.foot-logo { width: 132px; height: 132px; margin-bottom: 18px; mix-blend-mode: screen; }
.foot-brand > p { color: var(--muted); max-width: 24em; }
.foot-base { display: flex; justify-content: space-between; gap: 24px; padding-top: 24px; font-size: 13.5px; color: var(--mist); }

/* ---------- cookie banner (consent.js) ---------- */
.consent { position: fixed; left: 16px; bottom: 16px; z-index: 95; width: min(440px, calc(100vw - 32px)); padding: 22px; background: var(--panel-2); color: var(--cream); border: 1px solid var(--gold-lo); border-radius: var(--radius); box-shadow: 0 18px 50px rgba(0, 0, 0, .6); font-size: 15px; line-height: 1.55; }
.consent h2 { font: 500 28px/1.1 var(--display); margin-bottom: 8px; }
.consent p { color: var(--muted); }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.consent-actions .btn { min-height: 48px; padding: 12px 14px; }
.consent-more { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 600; }

/* ---------- policy pages ---------- */
.page-legal .site-header { background: rgba(3, 3, 3, .92); box-shadow: 0 1px 0 var(--line); }
.legal { padding-top: 150px; padding-bottom: 120px; }
.legal-inner { max-width: 760px; }
.legal .eyebrow { color: var(--gold); margin-bottom: 18px; font: 500 15px/1 var(--sans); letter-spacing: 0; text-transform: none; }
.legal h1 { margin-bottom: 18px; }
.legal .updated { color: var(--muted); font-size: 15px; margin-bottom: 48px; }
.legal h2 { font: 500 clamp(30px, 2.8vw, 40px)/1.1 var(--display); margin: 52px 0 14px; color: var(--gold-hi); }
.legal p, .legal li { max-width: 40em; color: #ddd3bb; }
.legal p + p { margin-top: 14px; }
.legal ul { padding-left: 22px; margin: 12px 0 0; display: grid; gap: 8px; }
.legal a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; text-decoration-color: var(--gold-lo); }
.legal a:not(.btn):hover { color: var(--gold-hi); }
.legal table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px 10px 12px 0; border-bottom: 1px solid var(--line); }
.legal th { font-size: 13px; color: var(--muted); font-weight: 600; }
.legal .form { margin-top: 28px; }
.legal .box { margin-top: 28px; padding: 24px 26px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }

/* ---------- tablets ---------- */
@media (max-width: 1100px) {
  .svc { grid-template-columns: minmax(150px, .9fr) minmax(0, 1.3fr) 24px; }
  .svc-url { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- phones and small tablets ---------- */
@media (max-width: 860px) {
  .nav { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 6px; padding: 100px var(--gutter) 40px; background: var(--black); font: 500 44px/1.2 var(--display); opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .35s, transform .45s var(--ease), visibility 0s .45s; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .35s, transform .45s var(--ease); }
  .nav a::after { display: none; }
  .menu-open { overflow: hidden; }
  .menu-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: transparent; box-shadow: none; } /* a blurred header would trap the fixed menu inside it */
  .menu-btn { display: block; }
  .head-actions { margin-inline-start: auto; }
  .hero-in { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 18px; }
  .emblem { width: min(64vw, 36svh); }
  .lockup { justify-items: center; }
  .hero-actions { justify-content: center; }
  .hero-lead { margin-inline: auto; }
  .sec-head { grid-template-columns: 1fr; }
  .svc-group { grid-template-columns: 1fr; gap: 12px; }
  .svc-group-name { padding-top: 0; }
  .project, .project--wide { grid-column: 1 / -1; grid-template-columns: 1fr; }
  .project--flip .shot { order: 0; }
  .promise-grid, .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  body { font-size: 16px; }
  .site-header { gap: 12px; padding-block: 10px; }
  .brand-logo { width: 40px; height: 40px; }
  .brand-name b { font-size: 21px; }
  .head-actions .btn--sm { min-height: 40px; padding: 0 14px; font-size: 13.5px; }
  .hero { padding-top: 96px; }
  .word { font-size: 13.4vw; }
  .agency { font-size: 13px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .svc { grid-template-columns: minmax(0, 1fr) 20px; grid-template-areas: "name go" "line go"; gap: 4px 14px; padding: 18px 4px; }
  .svc::after { grid-area: go; width: 18px; height: 18px; }
  .svc-name { grid-area: name; font-size: 30px; }
  .svc-line { grid-area: line; font-size: 15px; }

  .coast-stage { grid-template-columns: 1fr; gap: 40px; }
  .coast-map { grid-column: 1; grid-row: 1; width: min(100% - 40px, 400px); }
  .coast-copy { grid-row: 2; }
  .coast.is-scrolly .coast-stage { display: block; padding-top: 72px; }
  .coast.is-scrolly .coast-map { width: auto; height: calc(100svh - 72px - 13.5rem); max-width: calc(100vw - 32px); margin-inline: auto; }
  .coast.is-scrolly .coast-copy { position: absolute; left: 0; right: 0; bottom: 0; height: 13.5rem; }
  .coast.is-scrolly .chapter { left: var(--gutter); right: var(--gutter); }
  .chapter .h2 { font-size: 46px; margin-bottom: 10px; }
  .chapter .lead { font-size: 15.5px; line-height: 1.5; }
  .place b { font-size: 13px; }
  .place span { font-size: 10px; }
  .place { padding-left: 13px; }
  .place--l { padding: 0 13px 0 0; }
  .place i { width: 8px; height: 8px; left: -4px; }
  .place--l i { right: -4px; }
  .place--up i { left: -4px; }

  .direct .btn { width: 100%; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .foot-base { flex-direction: column; }
  .consent { left: 12px; bottom: 12px; width: calc(100vw - 24px); padding: 16px 16px 14px; font-size: 14px; line-height: 1.5; }
  .consent h2 { font-size: 24px; margin-bottom: 4px; }
  .consent-actions { margin-top: 12px; }
  .consent-actions .btn { min-height: 44px; padding: 10px 12px; }
  .consent-more { margin-top: 8px; font-size: 13px; }
  .book .field-row { grid-template-columns: 1fr; }
  .legal { padding-top: 120px; }
  .legal thead { display: none; }
  .legal tr { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .legal td { display: block; padding: 4px 0; border: 0; }
  .legal td + td::before { content: attr(data-label); display: block; margin-top: 6px; font-size: 12px; font-weight: 600; color: var(--muted); }
}

@media (prefers-reduced-motion: reduce) {
  .svc::before, .svc::after, .shot img, .veil, .nav, .book[open], .btn, .emblem::after { transition: none !important; animation: none !important; }
  html.arriving::before, html.arriving::after { display: none; }
}
