/* Smarco sector pages. Direction A: "Paper".
   Off-white ground, white cards with hairline borders, navy type in Geist, orange reserved for actions,
   gold only as a fine accent. Photo heroes keep a navy wash with white type so the image stays cinematic. */
:root {
  --navy: #001A3D;
  --gold: #D8A848;
  --orange: #FC5400;
  --paper: #F4F6F8;
  --white: #FFFFFF;
  --slate: #5A6472;
  --rule: #DDE2E8;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, Consolas, monospace;
  --gx-l: max(20px, env(safe-area-inset-left, 0px));
  --gx-r: max(20px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--navy); font-family: var(--sans); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; }
.s-wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding-left: var(--gx-l); padding-right: var(--gx-r); }

/* top bar */
.s-top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 12px; padding-left: var(--gx-l); padding-right: var(--gx-r); background: rgba(244,246,248,.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--rule); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--paper); }
.s-logo { display: block; width: 116px; background: #fff; border-radius: 8px; overflow: hidden; line-height: 0; flex: none; border: 1px solid var(--rule); }
.s-logo img { width: 100%; height: auto; }
.s-nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 28px); font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.s-nav a { text-decoration: none; color: var(--slate); }
.s-nav a:hover { color: var(--navy); }
.s-call { background: var(--orange); color: #fff !important; padding: 10px 16px; border-radius: 999px; font-family: var(--sans); font-weight: 600; letter-spacing: -.01em; text-transform: none; font-size: .86rem; white-space: nowrap; }
.s-call:hover { background: #E84D00; }

/* hero */
.s-hero { position: relative; padding-block: clamp(5rem, 13vw, 9rem) clamp(3.5rem, 8vw, 6rem); overflow: hidden; }
.s-hero.has-img { background-color: var(--navy); background-size: cover; background-position: center; background-repeat: no-repeat; color: #fff; }
.s-hero.no-img { background:
  radial-gradient(ellipse at 85% 10%, rgba(252,84,0,.10), transparent 50%),
  repeating-linear-gradient(90deg, rgba(0,26,61,.06) 0 1px, transparent 1px 64px),
  repeating-linear-gradient(0deg, rgba(0,26,61,.06) 0 1px, transparent 1px 64px),
  var(--white); border-bottom: 1px solid var(--rule); }
.s-hero-in { position: relative; }
.s-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 1rem; font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }
.s-kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.has-img .s-kicker { color: rgba(255,255,255,.8); }
.s-hero h1 { margin: 0 0 1.2rem; max-width: 48rem; font-weight: 600; font-size: clamp(2.4rem, 5.6vw, 4.6rem); line-height: 1; letter-spacing: -.045em; }
.s-intro { margin: 0 0 2rem; max-width: 36rem; font-size: clamp(1rem, 1.5vw, 1.15rem); color: var(--slate); }
.has-img .s-intro { color: rgba(255,255,255,.88); }
.s-cta { display: inline-block; background: var(--orange); color: #fff; text-decoration: none; font-weight: 600; padding: 13px 22px; border-radius: 999px; }
.s-cta:hover { background: #E84D00; }

/* bands */
.s-band { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.s-band-alt { background: var(--white); border-block: 1px solid var(--rule); }
.s-band h2 { margin: 0 0 clamp(1.8rem, 4vw, 2.8rem); max-width: 40rem; font-weight: 600; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.04; letter-spacing: -.04em; }

.s-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.s-card { padding: 22px 22px 24px; background: var(--white); border: 1px solid var(--rule); border-radius: 14px; min-width: 0; transition: border-color .25s ease, box-shadow .25s ease; }
.s-card:hover { border-color: #C3CBD5; box-shadow: 0 12px 30px rgba(0,26,61,.06); }
.s-card-n { font-family: var(--mono); font-size: .68rem; color: var(--slate); letter-spacing: .1em; }
.s-card h3 { margin: .6rem 0 .8rem; font-weight: 600; font-size: 1.3rem; line-height: 1.15; letter-spacing: -.025em; }
.s-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.s-card li { position: relative; padding-left: 16px; color: var(--slate); font-size: .94rem; }
.s-card li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 1px; background: var(--gold); }
.s-note { margin: 1.6rem 0 0; color: var(--slate); font-size: .95rem; }

.s-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.s-steps::before { content: ""; position: absolute; left: 6px; right: 6px; top: 6px; height: 1px; background: var(--rule); }
.s-steps li { position: relative; padding: 32px 22px 0 0; min-width: 0; }
.s-step-dot { position: absolute; left: 0; top: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--navy); box-shadow: 0 0 0 5px var(--white); }
.s-steps li:last-child .s-step-dot { background: var(--orange); }
.s-steps h3 { margin: 0 0 .35rem; font-weight: 600; font-size: 1.2rem; letter-spacing: -.02em; }
.s-steps p { margin: 0; color: var(--slate); font-size: .94rem; }

.s-others { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.s-other { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 20px 22px; background: var(--white); border: 1px solid var(--rule); border-radius: 14px; text-decoration: none; transition: border-color .25s ease, transform .25s ease; min-width: 0; }
.s-other:hover { border-color: var(--orange); transform: translateY(-2px); }
.s-other-n { font-family: var(--mono); font-size: .7rem; color: var(--slate); }
.s-other-name { font-weight: 600; font-size: 1.2rem; letter-spacing: -.02em; }
.s-other-go { color: var(--orange); font-size: 1.1rem; }

.s-contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.s-contact h2 { margin-bottom: 1.2rem; }
.s-phone { margin: 0; font-weight: 600; font-size: clamp(2rem, 4.6vw, 3rem); line-height: 1.05; letter-spacing: -.04em; }
.s-phone a { text-decoration: none; }
.s-phone a:hover { color: var(--orange); }
.s-web { margin: .5rem 0 0; }
.s-web a { text-decoration-color: var(--orange); text-underline-offset: 5px; }
.s-offices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.s-office { font-style: normal; padding: 18px 18px 20px; background: var(--paper); border: 1px solid var(--rule); border-radius: 14px; color: var(--slate); font-size: .92rem; line-height: 1.5; min-width: 0; overflow-wrap: anywhere; }
.s-office span { display: block; font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
.s-office strong { display: block; margin: .3rem 0 .4rem; font-weight: 600; font-size: 1.2rem; letter-spacing: -.02em; color: var(--navy); }
.s-office-hq { background: var(--navy); border-color: var(--navy); color: rgba(255,255,255,.8); }
.s-office-hq span { color: var(--gold); }
.s-office-hq strong { color: #fff; }

.s-foot { padding-block: 2rem; border-top: 1px solid var(--rule); }
.s-foot-in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; color: var(--slate); }
.s-foot a { color: var(--navy); text-decoration: none; }
.s-foot a:hover { color: var(--orange); }
.s-foot p { margin: 0; }

@media (max-width: 960px) {
  .s-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-steps { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .s-steps::before { display: none; }
  .s-others { grid-template-columns: 1fr; }
  .s-contact { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .s-nav a:not(.s-call) { display: none; }
  .s-logo { width: 100px; }
  .s-grid { grid-template-columns: 1fr; }
  .s-steps { grid-template-columns: 1fr; }
  .s-offices { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* phone icon in call buttons */
.s-call, .s-phone a { display: inline-flex; align-items: center; gap: 8px; }
.s-phone a { gap: 14px; }
.i-phone { flex: none; }
.s-phone .i-phone { color: var(--orange); }

/* framed hero, matching the film page */
.s-hero { margin: 12px; border-radius: 26px; box-shadow: 0 0 0 1px rgba(0,26,61,.06), 0 30px 80px -30px rgba(0,26,61,.35); }
.s-hero.no-img { border-bottom: 0; }
.s-hero h1 { letter-spacing: -.05em; }
@media (max-width: 720px) { .s-hero { margin: 8px; border-radius: 18px; } }

/* catalogue page */
.s-card-link { display: inline-block; margin-top: 14px; font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); text-decoration: none; }
.s-card-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.s-others-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.s-nav a[aria-current="page"] { color: var(--navy); }
@media (max-width: 960px) { .s-others-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .s-others-4 { grid-template-columns: 1fr; } }

/* Card images: each product category carries its own photograph */
.s-card { overflow: hidden; }
.s-card-img { display: block; margin: -22px -22px 18px; aspect-ratio: 3 / 2; overflow: hidden; background: var(--rule); }
.s-card-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.s-card:hover .s-card-img img { transform: scale(1.045); }
@media (prefers-reduced-motion: reduce) { .s-card-img img { transition: none; } }

/* Header logo: no sticker box. The official logo sits directly on the bar, larger, and its
   transparent margins are trimmed with CSS only (the image file itself is untouched). */
.s-logo { width: 168px; aspect-ratio: 3289 / 1574; background: none; border: 0; border-radius: 0; overflow: hidden; }
.s-logo img { display: block; width: 116.753%; max-width: none; height: auto; margin: -4.804% 0 0 -4.986%; }
@media (max-width: 720px) { .s-logo { width: 128px; } }

/* Phones: the text spans the full width, so add an even shade over the photograph for legibility */
@media (max-width: 720px) {
  .s-hero.has-img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,13,32,.55) 0%, rgba(0,13,32,.4) 60%, rgba(0,13,32,.6) 100%); pointer-events: none; }
}

/* ---------- Contact: a framed navy panel with the offices as a refined list ---------- */
.s-contact-band { padding: clamp(1rem, 3vw, 2rem) 0 clamp(2rem, 5vw, 3.5rem); }
.s-contact-panel { position: relative; margin: 0 12px; border-radius: 26px; overflow: hidden; color: #fff; padding-block: clamp(3.5rem, 8vw, 6.5rem);
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(216,168,72,.18) 0%, rgba(216,168,72,0) 60%),
    radial-gradient(50% 70% at 0% 100%, rgba(252,84,0,.10) 0%, rgba(252,84,0,0) 60%),
    var(--navy);
  box-shadow: 0 0 0 1px rgba(0,26,61,.06), 0 30px 80px -30px rgba(0,26,61,.45); }
.s-contact-panel::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.16) 1px, transparent 1.2px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(115deg, transparent 35%, #000 100%); mask-image: linear-gradient(115deg, transparent 35%, #000 100%); }
.s-contact { position: relative; grid-template-columns: 1.05fr 1fr; align-items: center; }
.s-contact-panel .s-kicker { color: rgba(255,255,255,.62); }
.s-contact-panel .s-kicker::before { background: var(--gold); }
.s-contact-panel h2 { color: #fff; font-size: clamp(2.2rem, 4.8vw, 3.6rem); line-height: 1; letter-spacing: -.045em; margin: 0 0 1rem; max-width: 14ch; }
.s-contact-lead { margin: 0 0 2rem; max-width: 34rem; color: rgba(255,255,255,.72); font-size: 1.02rem; }
.s-contact-panel .s-phone { display: inline-flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; font-weight: 600; font-size: clamp(1.8rem, 3.6vw, 2.7rem); letter-spacing: -.04em; line-height: 1; transition: color .2s ease; }
.s-contact-panel .s-phone:hover { color: var(--gold); }
.s-phone-ic { display: grid; place-items: center; width: 54px; height: 54px; flex: none; border-radius: 50%; background: var(--orange); color: #fff; box-shadow: 0 10px 30px -8px rgba(252,84,0,.7); }
.s-contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.s-ghost { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); color: #fff; text-decoration: none; font-weight: 500; transition: border-color .2s ease, background .2s ease; }
.s-ghost:hover { border-color: var(--gold); background: rgba(216,168,72,.08); }
.s-contact-side { min-width: 0; }
.s-offices-title { margin: 0 0 .6rem; font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.s-contact-panel .s-offices { list-style: none; margin: 0; padding: 0; display: block; border-top: 1px solid rgba(255,255,255,.14); }
.s-contact-panel .s-office { display: flex; gap: 18px; align-items: flex-start; padding: 20px 4px; margin: 0; background: none; border: 0; border-bottom: 1px solid rgba(255,255,255,.14); border-radius: 0; color: rgba(255,255,255,.7); transition: background .25s ease; }
.s-contact-panel .s-office:hover { background: rgba(255,255,255,.035); }
.s-office .s-office-code { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid rgba(216,168,72,.55); color: var(--gold); font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; }
.s-office.s-office-hq .s-office-code { background: var(--gold); border-color: var(--gold); color: var(--navy); font-weight: 600; }
.s-office-body { min-width: 0; }
.s-office-role { margin: 0; font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.s-office-hq .s-office-role { color: var(--gold); }
.s-contact-panel .s-office strong { display: block; margin: .15rem 0 .3rem; color: #fff; font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; }
.s-office address { font-style: normal; font-size: .92rem; line-height: 1.5; overflow-wrap: anywhere; }
@media (max-width: 860px) { .s-contact { grid-template-columns: 1fr; gap: 2.6rem; } }
@media (max-width: 720px) { .s-contact-panel { margin: 0 8px; border-radius: 18px; } .s-phone-ic { width: 46px; height: 46px; } }

/* SEO kicker that lives inside the H1 but looks like the small label above it */
.s-hero h1 .s-h1-kicker { display: flex; margin: 0 0 1.1rem; font-weight: 400; font-size: .7rem; line-height: 1.4; letter-spacing: .14em; }

/* ---------- Phone number animation: a light sweep across the call buttons, a ringing handset,
   and soft waves around the contact icon. Calm, looping, and quieter for reduced motion. ---------- */
.call, .s-call, .s-cta[href^="tel:"] { position: relative; overflow: hidden; isolation: isolate; }
.call::after, .s-call::after, .s-cta[href^="tel:"]::after {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 45%; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,0) 20%, rgba(255,255,255,.55) 50%, rgba(255,255,255,0) 80%, transparent 100%);
  transform: skewX(-18deg); animation: phone-shine 5.2s cubic-bezier(.4,0,.2,1) infinite; }
.s-cta[href^="tel:"]::after { animation-delay: 1.3s; }
@keyframes phone-shine { 0%, 62% { left: -60%; } 86%, 100% { left: 130%; } }

.call .i-phone, .s-call .i-phone, .s-phone-ic svg { transform-origin: 50% 55%; animation: phone-ring 5.2s ease-in-out infinite; }
.call:hover .i-phone, .s-call:hover .i-phone, .s-phone:hover .s-phone-ic svg { animation-duration: 1.3s; }
@keyframes phone-ring {
  0%, 70%, 100% { transform: rotate(0); }
  72% { transform: rotate(-16deg); } 74% { transform: rotate(14deg); } 76% { transform: rotate(-12deg); }
  78% { transform: rotate(10deg); } 80% { transform: rotate(-6deg); } 82% { transform: rotate(3deg); } 84% { transform: rotate(0); } }

.s-phone-ic { position: relative; }
.s-phone-ic::before, .s-phone-ic::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(252,84,0,.65); pointer-events: none; animation: phone-wave 2.6s cubic-bezier(.2,.6,.3,1) infinite; }
.s-phone-ic::after { animation-delay: 1.3s; }
@keyframes phone-wave { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.1); opacity: 0; } }
.s-phone { position: relative; }
.s-contact-panel .s-phone { background: linear-gradient(90deg, #fff 0%, #fff 40%, #F3D9A0 50%, #fff 60%, #fff 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: phone-text 5.2s ease-in-out infinite; }
.s-contact-panel .s-phone .s-phone-ic { -webkit-text-fill-color: #fff; }
.s-contact-panel .s-phone:hover { -webkit-text-fill-color: var(--gold); }
@keyframes phone-text { 0%, 55% { background-position: 100% 0; } 90%, 100% { background-position: 0% 0; } }

@media (prefers-reduced-motion: reduce) {
  .call .i-phone, .s-call .i-phone, .s-phone-ic svg, .s-contact-panel .s-phone { animation: none; }
  .call::after, .s-call::after, .s-cta[href^="tel:"]::after { animation-duration: 9s; }
  .s-phone-ic::before, .s-phone-ic::after { animation-duration: 4s; }
}

/* Accessible text shade of the brand orange (WCAG AA on white and paper). The brand orange itself
   stays for fills, icons and accents; only small orange text uses this deeper shade. */
:root { --orange-text: #C23D00; }
.s-card-link, .s-other-go, .s-foot a:hover { color: var(--orange-text); }

/* =====================================================================================
   THEME: Midnight & Brass. Deep navy ground with a fine grain, soft brass and blue light,
   ivory type, brass hairlines. The logo always sits on an ivory plate so it stays unaltered.
   ===================================================================================== */
:root {
  --ink: #EDE6D6; --ink-hi: #F7F1E4; --ivory: #F5EFE2; --brass: #D8A848;
  --bg: #050F22; --surface: #0A1A36; --surface-2: #0E2347;
  --slate: #A9B3C3; --rule: rgba(216,168,72,.16); --paper: #050F22; --white: #0A1A36;
  color-scheme: dark;
}
html { background: var(--bg); }
body { color: var(--ink); background:
  radial-gradient(1200px 640px at 88% -12%, rgba(216,168,72,.11), transparent 62%),
  radial-gradient(1000px 700px at -12% 38%, rgba(48,92,180,.16), transparent 62%),
  radial-gradient(900px 600px at 70% 110%, rgba(252,84,0,.06), transparent 60%),
  var(--bg); background-attachment: fixed; }
body::after { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .05 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); opacity: .55; }
main, .s-top, .s-foot { position: relative; z-index: 1; }
.s-top { background: rgba(5,15,34,.72); border-bottom: 1px solid rgba(216,168,72,.14); z-index: 20; }
.s-logo { box-sizing: content-box; background: none; padding: 0; border-radius: 0; box-shadow: none; filter: drop-shadow(0 2px 10px rgba(0,8,24,.55)); }
.s-nav a { color: var(--slate); }
.s-nav a:hover, .s-nav a[aria-current="page"] { color: var(--ink-hi); }
h2, h3 { color: var(--ink-hi); }
.s-kicker { color: var(--brass); }
.s-hero { box-shadow: 0 0 0 1px rgba(216,168,72,.18), 0 40px 90px -40px rgba(0,0,0,.9); }
.s-card, .s-other { background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018)); border-color: rgba(216,168,72,.17); box-shadow: 0 24px 60px -36px rgba(0,0,0,.9); }
.s-card:hover, .s-other:hover { border-color: rgba(216,168,72,.45); box-shadow: 0 30px 70px -36px rgba(0,0,0,.95); }
.s-card-img { background: var(--surface); }
.s-card-n, .s-other-n { color: var(--brass); }
.s-card li { color: var(--slate); }
.s-card li::before { background: var(--brass); }
.s-card-link, .s-other-go { color: var(--brass); }
.s-other-name { color: var(--ink-hi); }
.s-note { color: var(--slate); }
.s-band-alt { background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,0)); border-color: rgba(216,168,72,.12); }
.s-steps::before { background: rgba(216,168,72,.22); }
.s-step-dot { background: var(--ivory); box-shadow: 0 0 0 5px var(--bg), 0 0 0 6px rgba(216,168,72,.35); }
.s-steps li:last-child .s-step-dot { background: var(--orange); }
.s-steps p { color: var(--slate); }
.s-contact-panel { background:
  radial-gradient(60% 80% at 100% 0%, rgba(216,168,72,.22) 0%, rgba(216,168,72,0) 60%),
  radial-gradient(50% 70% at 0% 100%, rgba(252,84,0,.12) 0%, rgba(252,84,0,0) 60%),
  linear-gradient(135deg, #10295A, #071631);
  box-shadow: 0 0 0 1px rgba(216,168,72,.28), 0 40px 90px -40px rgba(0,0,0,.95); }
.s-foot { border-top-color: rgba(216,168,72,.14); color: var(--slate); }
.s-foot a { color: var(--ink-hi); }
.s-foot a:hover { color: var(--brass); }
::selection { background: rgba(216,168,72,.35); color: var(--ink-hi); }

/* ---------- Midnight & Brass polish ---------- */
/* Primary actions in champagne brass with navy type: richer on midnight, and AA contrast (≈8:1) */
.s-cta, .s-call, .s-dock .s-dock-top {
  background: linear-gradient(135deg, #F3D9A0 0%, #D8A848 48%, #B88A30 100%) !important; color: #071631 !important;
  box-shadow: 0 0 0 1px rgba(255,236,190,.35) inset, 0 14px 34px -14px rgba(216,168,72,.75) !important; }
.s-cta:hover, .s-call:hover { filter: brightness(1.06); }
.s-call .i-phone, .s-cta .s-cta-arrow { color: #071631; }
.s-hero .s-cta::before { background: conic-gradient(from var(--beam), transparent 0deg 250deg, rgba(255,255,255,0) 270deg, #FFF6DD 315deg, #fff 335deg, transparent 360deg); }
.s-phone-ic { background: linear-gradient(135deg, #F3D9A0, #D8A848 55%, #B88A30) !important; color: #071631 !important; box-shadow: 0 10px 30px -8px rgba(216,168,72,.7) !important; }
.s-phone-ic::before, .s-phone-ic::after { border-color: rgba(216,168,72,.7); }
.s-ghost { border-color: rgba(216,168,72,.35); }
/* Headings: ivory with a faint champagne fall-off */
.s-band h2, .s-contact-panel h2 { background: linear-gradient(180deg, #FFFBF1 0%, #EADBB8 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.s-hero h1 { text-shadow: 0 2px 30px rgba(0,0,0,.35); }
/* Image cards: a quiet brass inner line on the photo edge */
.s-card-img { box-shadow: inset 0 -1px 0 rgba(216,168,72,.25); }
.s-card-img img { filter: saturate(1.04) contrast(1.03); }
/* Scrollbar and focus in theme */
html { scrollbar-color: rgba(216,168,72,.45) #050F22; }
a:focus-visible, button:focus-visible { outline-color: var(--brass); }

/* =====================================================================================
   TYPOGRAPHY: Instrument Serif for display (with an italic accent), Geist for reading,
   Geist Mono for labels. Modular scale ~1.25, balanced headlines, pretty paragraphs.
   ===================================================================================== */
:root { --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif; }
body { font-size: 16.5px; line-height: 1.65; font-feature-settings: "ss01", "cv11"; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
p, li, address { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
.s-hero h1, .s-band h2, .s-contact-panel h2, .s-card h3, .s-steps h3, .s-other-name, .s-contact-panel .s-office strong { font-family: var(--serif); font-weight: 400; }
.s-hero h1 { font-size: clamp(3rem, 6.6vw, 6rem); line-height: .96; letter-spacing: -.015em; max-width: 15ch; }
.s-hero h1 em, .s-band h2 em, .s-contact-panel h2 em { font-style: italic; color: #F3D9A0; }
.s-hero .s-intro { font-size: clamp(1.02rem, 1.25vw, 1.15rem); line-height: 1.6; max-width: 34rem; color: rgba(247,241,228,.86); }
.s-band h2 { font-size: clamp(2.4rem, 4.6vw, 3.9rem); line-height: 1; letter-spacing: -.012em; }
.s-contact-panel h2 { font-size: clamp(2.6rem, 5vw, 4.3rem); line-height: .98; letter-spacing: -.012em; max-width: 13ch; }
.s-card h3 { font-size: 1.75rem; line-height: 1.02; letter-spacing: -.005em; margin: .5rem 0 .9rem; }
.s-steps h3 { font-size: 1.7rem; line-height: 1.05; letter-spacing: -.005em; }
.s-other-name { font-size: 1.45rem; letter-spacing: -.005em; }
.s-contact-panel .s-office strong { font-size: 1.6rem; letter-spacing: 0; }
.s-card li, .s-steps p, .s-note, .s-contact-lead { font-size: .97rem; }
.s-kicker, .s-card-n, .s-card-link, .s-office-role, .s-offices-title { font-feature-settings: normal; }
.s-contact-panel .s-phone, .s-call span { font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.fx-marquee li { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 4.2vw, 3.2rem); letter-spacing: -.005em; }
.fx-marquee li:nth-child(even) { font-style: italic; font-weight: 400; }
@media (max-width: 720px) {
  .s-hero h1 { font-size: clamp(2.5rem, 11vw, 3.4rem); }
  .s-band h2 { font-size: clamp(2.1rem, 9vw, 2.8rem); }
  .s-card h3 { font-size: 1.6rem; }
}

/* Email: visible address under the phone, and the email action in the contact panel */
.s-mail { display: inline-block; margin-top: .9rem; color: rgba(247,241,228,.82); text-decoration: none; font-size: 1.02rem; border-bottom: 1px solid rgba(216,168,72,.4); padding-bottom: 2px; transition: color .2s ease, border-color .2s ease; overflow-wrap: anywhere; }
.s-mail:hover { color: var(--brass, #D8A848); border-color: var(--brass, #D8A848); }
.s-cta-mail { display: inline-flex; align-items: center; gap: 9px; position: relative; overflow: hidden; isolation: isolate; }
/* living logo: the wrapper carries the crop the bare image used to */
.s-logo .logo-stack.lg-wrap { display: block; width: 116.753%; max-width: none; margin: -4.804% 0 0 -4.986%; }
.s-logo .logo-stack.lg-wrap > img { width: 100%; margin: 0; }

/* polish pass: phone number breathes clear of its pulsing icon; headings and paragraphs wrap evenly */
.s-contact-panel .s-phone { gap: 30px; padding-left: 10px; }
@media (min-width: 900px) { .s-contact-side { padding-top: 24px; } }
h1, h2, h3, .s-h1-kicker { text-wrap: balance; }
p, li, address { text-wrap: pretty; }
@media (max-width: 720px) { .s-contact-panel .s-phone { gap: 18px; padding-left: 6px; } }
/* the email always sits on its own line under the phone number */
.s-contact-panel .s-mail { display: table; margin-top: 1rem; }

/* ---------- On-page quote brief ---------- */
.s-quote { padding-block: clamp(3.5rem, 8vw, 6rem); }
.s-quote-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.s-quote h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.02; margin: 0 0 1.1rem; max-width: 15ch; }
.s-quote h2 em { color: var(--gold, #D8A848); }
.s-quote-lead { color: rgba(247,241,228,.78); max-width: 34rem; line-height: 1.6; margin: 0 0 2rem; }
.s-quote-next { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.s-quote-next li { display: flex; gap: 14px; align-items: baseline; color: rgba(247,241,228,.86); line-height: 1.5; }
.s-quote-next span { flex: none; font-family: var(--mono, "Geist Mono", monospace); font-size: .7rem; letter-spacing: .14em; color: var(--gold, #D8A848); }
.s-qform { position: relative; display: grid; gap: 16px; padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025)); box-shadow: 0 0 0 1px rgba(216,168,72,.28), 0 30px 70px -30px rgba(0,0,0,.8); }
.s-qrow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.s-qf { display: grid; gap: 7px; }
.s-qf > span { font-family: var(--mono, "Geist Mono", monospace); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(247,241,228,.66); }
.s-qf input, .s-qf textarea, .s-qf select { width: 100%; box-sizing: border-box; font: 400 1rem/1.4 var(--sans, "Geist", system-ui, sans-serif); color: #F7F1E4;
  background: rgba(5,15,34,.55); border: 1px solid rgba(216,168,72,.26); border-radius: 12px; padding: 12px 14px; transition: border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.s-qf textarea { resize: vertical; min-height: 110px; }
.s-qf select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #D8A848 50%), linear-gradient(135deg, #D8A848 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.s-qf select option { color: #071631; }
.s-qf input::placeholder, .s-qf textarea::placeholder { color: rgba(247,241,228,.38); }
.s-qf input:focus, .s-qf textarea:focus, .s-qf select:focus { outline: none; border-color: #D8A848; background: rgba(5,15,34,.75); box-shadow: 0 0 0 3px rgba(216,168,72,.18); }
.s-qf [aria-invalid="true"] { border-color: #FF8A5B; }
.s-qhp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.s-qfoot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 4px; }
.s-qsend { border: 0; cursor: pointer; font: inherit; }
.s-qsend:disabled { opacity: .6; cursor: default; }
.s-qnote { margin: 0; font-size: .82rem; color: rgba(247,241,228,.6); }
.s-qnote a { color: #F3D9A0; }
.s-qmsg { margin: 0; min-height: 1.4em; font-size: .95rem; line-height: 1.5; color: rgba(247,241,228,.8); }
.s-qmsg.is-ok { color: #CFE9D6; }
.s-qmsg.is-ok strong { color: #fff; }
.s-qmsg.is-warn { color: #FFC9A8; }
.s-qmsg a { color: #F3D9A0; }
.s-qform.is-sent .s-qrow, .s-qform.is-sent > .s-qf, .s-qform.is-sent .s-qfoot { opacity: .35; pointer-events: none; transition: opacity .4s ease; }
@media (max-width: 900px) { .s-quote-in { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .s-qrow { grid-template-columns: 1fr; } }
.s-quote h2 { font-family: var(--serif, "Instrument Serif", Georgia, serif); font-weight: 400; letter-spacing: -.01em; color: #F7F1E4; }
.s-quote h2 em { font-style: italic; font-weight: 400; }
/* while typing in the quote form on smaller screens, the dock and chat button step aside */
@media (max-width: 900px) { body:has(.s-qform :focus) .s-dock, body:has(.s-qform :focus) .cg-fab { opacity: 0 !important; pointer-events: none; transform: translate(-50%, 140%); } body:has(.s-qform :focus) .cg-fab { transform: translateY(140%); } }
