/* ==========================================================================
   Classic Fireworks: homepage styles
   Structure: tokens > base > components > sections (in page order) > motion
   ========================================================================== */

:root {
  /* Palette: the crimson + antique gold come straight from the logo */
  --ink: #060814;          /* deepest night */
  --night: #0a0f22;        /* section background */
  --navy: #10173a;         /* raised surface */
  --navy-2: #182050;
  --crimson: #b01e28;      /* logo red, tuned for buttons on light surfaces */
  --crimson-deep: #8a1219;
  --gold: #d4a24c;         /* logo gold */
  --gold-hi: #f2cd85;      /* highlight gold: primary CTA, key accents */
  --ivory: #f6efe1;
  --paper: #fbf7ee;
  --text: #f4efe6;
  --muted: #b9bed3;
  --line: rgba(212, 162, 76, 0.24);

  --font-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --nav-h: 76px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  color-scheme: dark;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

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

html {
  background: var(--ink);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h3 { font-size: 1.35rem; line-height: 1.2; }
p { text-wrap: pretty; }

:focus-visible {
  outline: 3px solid var(--gold-hi);
  outline-offset: 3px;
  border-radius: 4px;
}

.container { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--section-y); position: relative; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--gold-hi); color: var(--ink); padding: .75rem 1.25rem;
  border-radius: 999px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: calc(1rem + env(safe-area-inset-top, 0px)); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.ico { width: 1.25rem; height: 1.25rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* Placeholder marker: anything in [BRACKETS] still needs real content */
.ph { text-decoration: underline dotted var(--gold); text-underline-offset: 5px; text-decoration-thickness: 1.5px; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3.25rem; padding: 0 1.75rem;
  border: 1.5px solid transparent; border-radius: 999px;
  font: 700 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
  -webkit-tap-highlight-color: transparent;
}
.btn .ico { width: 1.1rem; height: 1.1rem; transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }

.btn-primary { background: var(--gold-hi); color: var(--ink); box-shadow: 0 10px 34px -10px rgba(242, 205, 133, .55); }
.btn-primary:hover { background: #fff; transform: translateY(-2px); }

.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .55); background: rgba(6, 8, 20, .25); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }

.btn-crimson { background: var(--crimson); color: #fff; width: 100%; min-height: 3.5rem; font-size: 1.0625rem; }
.btn-crimson:hover { background: var(--crimson-deep); transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(138, 18, 25, .8); }
.btn-crimson[disabled] { opacity: .7; cursor: progress; transform: none; }

.btn-sm { min-height: 2.75rem; padding: 0 1.25rem; font-size: .9375rem; }

/* ==========================================================================
   1. Header / navigation
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
}
/* The frosted background lives on a pseudo-element so the mobile menu panel can stay position:fixed */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(6, 8, 20, .88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  opacity: 0; transition: opacity .35s;
}
.site-header.is-scrolled::before, .nav-open .site-header::before { opacity: 1; }

.bar { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; position: relative; z-index: 2; }
.brand { display: block; line-height: 0; position: relative; z-index: 2; }
.brand img { height: 40px; width: auto; }

.menu-btn {
  width: 48px; height: 48px; display: grid; place-content: center; gap: 7px;
  background: none; border: 0; color: #fff; cursor: pointer; margin-right: -.5rem; position: relative; z-index: 2;
}
.menu-btn span { display: block; width: 26px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease); }
.nav-open .menu-btn span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav-open .menu-btn span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* Mobile: full-screen menu */
.nav {
  position: fixed; inset: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  padding: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 1.25rem) var(--gutter) calc(2rem + env(safe-area-inset-bottom, 0px));
  background: var(--ink);
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .3s, transform .3s var(--ease), visibility 0s .3s;
  overflow-y: auto;
}
.nav-open .nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav-open { overflow: hidden; }

.nav-links a {
  display: block; padding: 1.1rem 0; border-bottom: 1px solid var(--line);
  font: 600 1.75rem/1.1 var(--font-display); text-decoration: none; letter-spacing: -.01em;
}
.nav-links a:hover { color: var(--gold-hi); }
.nav-cta { align-self: stretch; min-height: 3.5rem; font-size: 1.0625rem; }

@media (min-width: 60rem) {
  .brand img { height: 46px; }
  .menu-btn { display: none; }
  .nav {
    position: static; inset: auto; flex-direction: row; align-items: center; gap: 2.25rem;
    padding: 0; background: none; opacity: 1; visibility: visible; transform: none; overflow: visible; transition: none;
  }
  .nav-links { display: flex; gap: 2rem; }
  .nav-links a {
    position: relative; padding: .5rem 0; border: 0; font: 600 .9688rem/1 var(--font-body); letter-spacing: 0;
  }
  .nav-links a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold-hi);
    transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
  }
  .nav-links a:hover::after, .nav-links a[aria-current="true"]::after { transform: scaleX(1); }
  .nav-cta { align-self: auto; min-height: 2.75rem; font-size: .9375rem; }
}

/* ==========================================================================
   2. Hero
   ========================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: calc(100svh - env(safe-area-inset-top, 0px));
  display: flex; align-items: flex-end;
  background: var(--ink);
}
.hero-media { position: absolute; inset: 0; z-index: -3; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-sparks { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; pointer-events: none; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(6, 8, 20, .65) 0%, rgba(6, 8, 20, 0) 22%),
    linear-gradient(0deg, rgba(6, 8, 20, .96) 0%, rgba(6, 8, 20, .84) 34%, rgba(6, 8, 20, .34) 56%, rgba(6, 8, 20, 0) 72%);
}

.hero-content {
  padding-top: calc(var(--nav-h) + 3rem);
  padding-bottom: clamp(6rem, 14vh, 8.5rem);
}
.hero h1 {
  font-size: clamp(2.5rem, 9.4vw, 4.9rem);
  font-weight: 800; line-height: 1.02; letter-spacing: -.028em;
  max-width: 15ch;
}
.hero h1 .gold { color: var(--gold-hi); display: block; margin-top: .12em; }
.hero-sub { margin-top: 1.5rem; max-width: 34rem; font-size: clamp(1.0625rem, 2.4vw, 1.25rem); line-height: 1.55; color: #e6e2f0; }
.hero-actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: .875rem; }
.hero-actions .btn { flex: 1 1 15rem; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 1.25rem; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  color: rgba(255, 255, 255, .78); font-size: .8125rem; text-decoration: none;
}
.scroll-cue i { position: relative; display: block; width: 1px; height: 46px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.scroll-cue i::after {
  content: ""; position: absolute; left: 0; top: -14px; width: 1px; height: 14px; background: var(--gold-hi);
  animation: cue 2.2s var(--ease) infinite;
}

@media (min-width: 48rem) and (min-aspect-ratio: 1/1) {
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(6, 8, 20, .6) 0%, rgba(6, 8, 20, 0) 20%),
      linear-gradient(90deg, rgba(6, 8, 20, .88) 0%, rgba(6, 8, 20, .55) 34%, rgba(6, 8, 20, 0) 62%),
      linear-gradient(0deg, rgba(6, 8, 20, .82) 0%, rgba(6, 8, 20, 0) 38%);
  }
}
@media (min-width: 48rem) { .hero-actions .btn { flex: 0 0 auto; } }

/* ==========================================================================
   3. Trust bar
   ========================================================================== */
.trust { background: var(--night); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-list { display: grid; grid-template-columns: 1fr; }
.trust-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.4rem 0; }
.trust-item + .trust-item { border-top: 1px solid rgba(212, 162, 76, .14); }
.trust-icon {
  flex: none; width: 3rem; height: 3rem; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%; color: var(--gold-hi);
  background: rgba(212, 162, 76, .06);
}
.trust-icon .ico { width: 1.45rem; height: 1.45rem; }
.trust-item strong { display: block; font: 700 1.0625rem/1.25 var(--font-display); letter-spacing: -.005em; }
.trust-item span { display: block; margin-top: .3rem; font-size: .9688rem; line-height: 1.45; color: var(--muted); }

@media (min-width: 40rem) {
  .trust-list { grid-template-columns: 1fr 1fr; column-gap: 2rem; }
  .trust-item + .trust-item { border-top: 0; }
  .trust-item:nth-child(n + 3) { border-top: 1px solid rgba(212, 162, 76, .14); }
}
@media (min-width: 64rem) {
  .trust-list { grid-template-columns: repeat(4, 1fr); column-gap: 0; }
  .trust-item { padding: 2rem 1.75rem; }
  .trust-item:nth-child(n + 3) { border-top: 0; }
  .trust-item + .trust-item { border-left: 1px solid rgba(212, 162, 76, .14); }
  .trust-item:first-child { padding-left: 0; }
}

/* ==========================================================================
   4. Story
   ========================================================================== */
.story { background: var(--ink); overflow: hidden; }
.story-grid { display: grid; gap: 3.25rem; align-items: center; }

.story-figure { position: relative; max-width: 30rem; width: 100%; margin-inline: auto; padding: 0 14px 14px 0; }
.story-figure::before {
  content: ""; position: absolute; inset: 14px 0 0 14px; border: 1px solid var(--gold); opacity: .55;
  border-radius: 999px 999px 10px 10px;
}
.story-arch { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 999px 999px 10px 10px; background: var(--navy); }
.story-arch img { width: 100%; height: 100%; object-fit: cover; }

.story-copy h2 { margin-bottom: 1.5rem; }
.story-lead { font-size: clamp(1.15rem, 2.2vw, 1.35rem); line-height: 1.55; color: #ece7dc; max-width: 36rem; }
.story-copy p + p { margin-top: 1rem; }
.story-copy p:not(.story-lead) { color: var(--muted); max-width: 36rem; }

.story-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-block: 2rem; padding-block: 1.5rem; border-block: 1px solid var(--line); max-width: 36rem; }
.story-facts dt { font-size: .9rem; color: var(--muted); }
.story-facts dd { margin-top: .25rem; font: 700 1.35rem/1.2 var(--font-display); color: var(--gold-hi); }

.text-link {
  display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; color: var(--gold-hi); text-decoration: none;
  padding-bottom: .25rem; border-bottom: 1.5px solid rgba(242, 205, 133, .4); transition: border-color .25s, gap .25s var(--ease);
}
.text-link:hover { border-color: var(--gold-hi); gap: .9rem; }
.text-link .ico { width: 1.1rem; height: 1.1rem; }

@media (min-width: 60rem) {
  .story-grid { grid-template-columns: 5fr 6fr; gap: clamp(3rem, 7vw, 6.5rem); }
  .story-figure { margin-inline: 0; max-width: none; }
}

/* ==========================================================================
   5. Services
   ========================================================================== */
.services { background: var(--night); }
.section-head { display: grid; gap: 1rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head p { color: var(--muted); max-width: 34rem; font-size: 1.125rem; }
@media (min-width: 60rem) {
  .section-head { grid-template-columns: 1.1fr .9fr; align-items: end; gap: 4rem; }
}

.svc-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 40rem) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64rem) { .svc-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }

.svc { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; aspect-ratio: 4 / 5; border-radius: 6px; background: var(--navy); }
.svc img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.svc::before { /* gold rule that draws in on hover */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--gold-hi); z-index: 2;
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.svc-body {
  width: 100%; z-index: 1; padding: 3.5rem 1.5rem 1.6rem; /* flex item, not positioned, so .svc-link::after can span the whole card */
  background: linear-gradient(0deg, rgba(6, 8, 20, .96) 0%, rgba(6, 8, 20, .82) 48%, rgba(6, 8, 20, 0) 100%);
}
.svc h3 { font-size: 1.4rem; }
.svc p { margin-top: .5rem; font-size: 1rem; line-height: 1.5; color: #d6d8e6; }
.svc-link { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; font-weight: 700; color: var(--gold-hi); text-decoration: none; }
.svc-link::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: 6px; } /* whole card is the click target */
.svc-link:focus-visible { outline: 0; }
.svc-link:focus-visible::after { outline: 3px solid var(--gold-hi); outline-offset: -4px; }
.svc-link .ico { width: 1.05rem; height: 1.05rem; transition: transform .3s var(--ease); }

@media (hover: hover) {
  .svc:hover img { transform: scale(1.06); }
  .svc:hover::before { transform: scaleX(1); }
  .svc:hover .svc-link .ico { transform: translateX(5px); }
}

/* ==========================================================================
   6. Lead generation
   ========================================================================== */
.lead { background: var(--ink); overflow: hidden; isolation: isolate; }
.lead::before { /* soft crimson wash behind the form: one gradient, one job */
  content: ""; position: absolute; z-index: -2; inset: 0;
  background: radial-gradient(60% 55% at 88% 12%, rgba(176, 30, 40, .30), transparent 70%);
}
.lead-mark { /* the logo's fan, reused as a quiet watermark */
  position: absolute; z-index: -1; left: -6%; bottom: -8%; width: min(46rem, 90vw); opacity: .06; pointer-events: none;
}
.lead-grid { display: grid; gap: 3rem; align-items: start; }

.lead-copy h2 { margin-bottom: 1.25rem; }
.lead-copy > p { color: #d9dbe8; font-size: 1.1875rem; max-width: 30rem; }
.lead-points { margin-top: 2rem; display: grid; gap: 1rem; max-width: 30rem; }
.lead-points li { display: flex; gap: .85rem; align-items: flex-start; color: var(--muted); }
.lead-points .ico { color: var(--gold-hi); margin-top: .2rem; }
.lead-direct { margin-top: 2.25rem; padding-top: 1.75rem; border-top: 1px solid var(--line); display: grid; gap: .9rem; max-width: 30rem; }
.lead-direct p { color: var(--muted); font-size: .9688rem; }
.lead-direct a { display: flex; align-items: center; gap: .75rem; font-weight: 600; text-decoration: none; }
.lead-direct a .ico { color: var(--gold-hi); }
.lead-direct a:hover { color: var(--gold-hi); }

.form-card {
  position: relative; background: var(--paper); color: #1a1a24; border-radius: 22px;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(212, 162, 76, .35);
}
.form-card-logo { height: 76px; width: auto; margin-bottom: 1.5rem; }
.form-card h3 { font-size: 1.5rem; color: #14141f; }
.form-card .form-intro { margin-top: .35rem; color: #55566a; font-size: 1rem; }

.form { margin-top: 1.5rem; display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .9375rem; color: #23232f; }
.field label small { font-weight: 500; color: #6c6d80; font-size: .875rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3.25rem; padding: .8rem 1rem;
  font: 500 1rem/1.4 var(--font-body); color: #14141f;
  background: #fff; border: 1.5px solid #d9d0bc; border-radius: 10px;
  transition: border-color .2s, box-shadow .2s;
  appearance: none; -webkit-appearance: none;
}
.field select {
  padding-right: 2.75rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2355566a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
}
.field textarea { min-height: 7.5rem; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8b8c9d; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #b9ad90; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--crimson); box-shadow: 0 0 0 4px rgba(176, 30, 40, .16); }
.field [aria-invalid="true"] { border-color: #c0202c; background: #fff8f8; }
.err { color: #b0141f; font-size: .9rem; font-weight: 600; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.privacy { display: flex; flex-direction: row; gap: .6rem; align-items: flex-start; margin-top: .25rem; font-size: .9rem; color: #5a5b6e; line-height: 1.45; }
.privacy .ico { width: 1.05rem; height: 1.05rem; margin-top: .1rem; color: var(--crimson); }

.form-success { text-align: center; padding: 1.5rem 0 .5rem; }
.form-success .ico { width: 3.25rem; height: 3.25rem; color: var(--crimson); stroke-width: 1.5; }
.form-success h3 { margin-top: 1rem; font-size: 1.75rem; }
.form-success p { margin: .75rem auto 0; max-width: 24rem; color: #55566a; }
.form-success button { margin-top: 1.5rem; background: none; border: 0; padding: .5rem; color: var(--crimson); font: 700 1rem var(--font-body); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

@media (min-width: 36rem) {
  .form { grid-template-columns: 1fr 1fr; column-gap: 1.1rem; }
}
@media (min-width: 64rem) {
  .lead-grid { grid-template-columns: 5fr 7fr; gap: clamp(3rem, 6vw, 6rem); }
  .lead-copy { position: sticky; top: calc(var(--nav-h) + 2rem); }
}

/* ==========================================================================
   7. Showcase gallery: full-bleed, cinematic
   ========================================================================== */
.showcase { background: var(--night); padding-block: var(--section-y) 0; }
.showcase .section-head { margin-bottom: clamp(2rem, 4vw, 3rem); }

.gallery { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: clamp(150px, 34vw, 260px); gap: 6px; }
.tile {
  position: relative; overflow: hidden; padding: 0; border: 0; cursor: zoom-in; background: var(--navy); color: #fff; text-align: left;
  -webkit-tap-highlight-color: transparent;
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .6s; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6, 8, 20, .75) 0%, rgba(6, 8, 20, 0) 45%); opacity: .0; transition: opacity .5s; }
.tile figcaption, .tile .cap {
  position: absolute; left: 1.25rem; bottom: 1rem; z-index: 1; font: 600 1rem/1.2 var(--font-display);
  opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s var(--ease);
}
.tile.tile-main { grid-column: 1 / -1; grid-row: span 2; }
.tile:focus-visible { outline-offset: -4px; }
.tile:focus-visible .cap, .tile:focus-visible::after { opacity: 1; transform: none; }

@media (hover: hover) {
  .tile:hover img { transform: scale(1.05); }
  .tile:hover::after, .tile:hover .cap { opacity: 1; transform: none; }
}
@media (hover: none) { .tile::after { opacity: 1; } .tile .cap { opacity: 1; transform: none; } }

@media (min-width: 60rem) {
  .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(220px, 21vw, 320px); }
  .tile.tile-main { grid-column: span 2; grid-row: span 2; }
}

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; color: #fff; }
.lightbox::backdrop { background: rgba(3, 4, 12, .97); }
.lb-inner { position: relative; height: 100%; display: grid; grid-template-rows: 1fr auto; padding: 4.5rem 1rem 1.25rem; gap: 1rem; }
.lb-inner img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.lb-cap { text-align: center; color: var(--muted); font-size: .9688rem; }
.lb-btn {
  position: absolute; width: 3rem; height: 3rem; display: grid; place-items: center; cursor: pointer;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; color: #fff;
  transition: background-color .2s;
}
.lb-btn:hover { background: rgba(255, 255, 255, .22); }
.lb-close { top: calc(1rem + env(safe-area-inset-top, 0px)); right: 1rem; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); }
.lb-prev { left: .75rem; } .lb-next { right: .75rem; }
.lb-prev .ico { transform: rotate(180deg); }

/* ==========================================================================
   8. Final CTA
   ========================================================================== */
.final { position: relative; isolation: isolate; overflow: hidden; text-align: center; padding-block: clamp(5.5rem, 12vw, 10rem); background: var(--ink); }
.final-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 55%, rgba(6, 8, 20, .82) 0%, rgba(6, 8, 20, .55) 55%, rgba(6, 8, 20, .35) 100%), linear-gradient(0deg, rgba(6, 8, 20, .85) 0%, rgba(6, 8, 20, 0) 40%); }
.final h2 { font-size: clamp(2.4rem, 7vw, 4.75rem); font-weight: 800; letter-spacing: -.025em; max-width: 14ch; margin-inline: auto; }
.final p.sub { margin: 1.25rem auto 0; max-width: 32rem; font-size: clamp(1.1rem, 2.4vw, 1.3rem); color: #e6e2f0; }
.final-actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .875rem; }
.final-actions .btn { flex: 1 1 15rem; max-width: 20rem; }
.final-phone { margin-top: 1.75rem; }
.final-phone a { font: 700 clamp(1.5rem, 4vw, 2.1rem)/1.2 var(--font-display); color: var(--gold-hi); text-decoration: none; letter-spacing: -.01em; }
.final-phone a:hover { color: #fff; }

/* ==========================================================================
   9. Footer
   ========================================================================== */
.site-footer { background: #04060f; border-top: 1px solid var(--line); padding-top: clamp(3.5rem, 7vw, 5.5rem); }
.footer-grid { display: grid; gap: 2.75rem; }
.footer-brand img { width: min(240px, 70%); height: auto; }
.footer-brand p { margin-top: 1.25rem; max-width: 26rem; color: var(--muted); font-size: 1rem; }
.footer-col h3 { font: 700 1rem/1.2 var(--font-display); margin-bottom: 1.1rem; color: var(--gold-hi); letter-spacing: 0; }
.footer-col li + li { margin-top: .65rem; }
.footer-col a { color: #d9dbe8; text-decoration: none; }
.footer-col a:hover { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 4px; }
.contact-list li { display: flex; gap: .7rem; align-items: flex-start; color: #d9dbe8; }
.contact-list .ico { color: var(--gold-hi); margin-top: .2rem; width: 1.1rem; height: 1.1rem; }

.social { display: flex; gap: .75rem; margin-top: 1.5rem; }
.social a {
  width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: #d9dbe8;
  transition: background-color .25s, color .25s, border-color .25s;
}
.social a:hover { background: var(--gold-hi); color: var(--ink); border-color: var(--gold-hi); }

.footer-bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem); padding-block: 1.5rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(212, 162, 76, .16); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem;
  color: var(--muted); font-size: .9375rem;
}
.footer-bottom ul { display: flex; gap: 1.5rem; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 4px; }

@media (min-width: 40rem) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (min-width: 64rem) { .footer-grid { grid-template-columns: 1.6fr 1fr 1.3fr 1fr; gap: 3rem; } .footer-brand { grid-column: auto; } }

/* ==========================================================================
   Motion: one orchestrated hero entrance, hover states above; nothing else moves on its own
   ========================================================================== */
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.08); opacity: .55; } to { transform: none; opacity: 1; } }
@keyframes cue { 0% { transform: translateY(0); } 70%, 100% { transform: translateY(64px); } }

.hero-media img { animation: settle 2.4s var(--ease) both; }
.hero [data-in] { animation: rise .95s var(--ease) both; animation-delay: calc(var(--i, 0) * 130ms + 350ms); }

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