/* ==========================================================================
   NJ Royal Limited Company: site styles
   Brand colours sampled from the official letterhead.
   ========================================================================== */

:root {
  /* Brand */
  --navy-950: #021526;
  --navy-900: #041f38;
  --navy-800: #063761;   /* letterhead bar */
  --navy-700: #0a4a80;
  --blue-500: #025c90;   /* logo towers */
  --navy-100: #dfe8f1;
  --navy-50:  #eef3f8;
  --red-600:  #c00d15;   /* letterhead bar */
  --red-700:  #a10910;
  --red-bright: #ff4a50; /* red for text on dark navy (AA large) */

  /* Neutrals: warm plaster tones echo the stone & render in the photos */
  --paper: #f7f5f0;
  --sand:  #ece6da;
  --white: #ffffff;
  --ink:   #0a1626;
  --ink-soft: #44526a;
  --line: rgba(6, 55, 97, 0.12);
  --line-light: rgba(255, 255, 255, 0.16);

  /* Semantic */
  --color-bg: var(--paper);
  --color-text: var(--ink-soft);
  --color-heading: var(--navy-800);
  --color-primary: var(--red-600);
  --focus: var(--blue-500);

  /* Type */
  --font-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 10vw, 140px);
  --radius: 10px;
  --radius-sm: 6px;
  --topbar-h: 40px;
  --nav-h: 84px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 0.8, 0.24, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 180ms;
  --dur: 320ms;
  --dur-slow: 650ms;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(4, 31, 56, 0.06), 0 2px 8px rgba(4, 31, 56, 0.05);
  --shadow-md: 0 10px 30px -10px rgba(4, 31, 56, 0.22);
  --shadow-lg: 0 30px 60px -20px rgba(4, 31, 56, 0.35);

  /* z-index scale */
  --z-header: 100;
  --z-float: 90;
  --z-menu: 200;
}

@media (max-width: 959px) {
  :root { --topbar-h: 0px; --nav-h: 72px; }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
main:focus { outline: none; }
::selection { background: var(--red-600); color: #fff; }

.i {
  width: 1.25em; height: 1.25em; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
}

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 1000;
  padding: 12px 20px; background: var(--navy-800); color: #fff; font-weight: 700;
  border-radius: var(--radius-sm); transform: translateY(-160%);
  transition: transform var(--dur) var(--ease-out);
}
.skip-link:focus { transform: none; }

/* Focus: blue ring on light surfaces, white on dark ones */
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.hero :focus-visible, .page-hero :focus-visible, .why :focus-visible, .journey :focus-visible,
.cta-final :focus-visible, .site-footer :focus-visible, .mobile-menu :focus-visible,
.band :focus-visible, .lightbox :focus-visible, .site-header:not(.is-solid) :focus-visible {
  outline-color: #fff;
}

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }

/* ---------- Typography ---------- */
.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2.35rem, 5vw, 4rem);
  line-height: 0.95;
  letter-spacing: 0.002em;
  color: var(--color-heading);
  text-wrap: balance;
}
.h2 em, .h2--light em { font-style: normal; color: var(--red-600); }
.h2--light { color: #fff; }
.h2--light em { color: var(--red-bright); }

.lead { font-size: clamp(1.15rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--navy-800); font-weight: 500; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--red-600); margin-bottom: 18px;
}
/* Small roofline chevron, taken from the logo */
.eyebrow::before {
  content: ""; width: 22px; height: 12px; flex-shrink: 0;
  background: currentColor;
  clip-path: polygon(0 100%, 50% 0, 100% 100%, 82% 100%, 50% 34%, 18% 100%);
}
.eyebrow--light { color: var(--red-bright); }
.eyebrow--center { justify-content: center; }

.section-head { margin-bottom: clamp(40px, 6vw, 72px); }
.section-head--center { text-align: center; max-width: 760px; margin-inline: auto; }
.section-head--split { display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: end; justify-content: space-between; }
.section-head--split > div { max-width: 640px; }
.section-head__aside { max-width: 400px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-h: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--btn-h); padding: 0 24px;
  font-family: var(--font-body); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.01em;
  border-radius: var(--radius-sm); border: 1.5px solid transparent;
  cursor: pointer; white-space: nowrap; touch-action: manipulation;
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out), transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur) var(--ease-out);
}
.btn .i { width: 18px; height: 18px; transition: transform var(--dur) var(--ease-out); }
.btn:hover .i { transform: translateX(4px); }
.btn:active { transform: scale(0.98); }
.btn--lg { --btn-h: 58px; padding: 0 30px; font-size: 1rem; }
.btn--block { width: 100%; }

.btn--red { background: var(--red-600); color: #fff; box-shadow: 0 8px 24px -10px rgba(192, 13, 21, 0.7); }
.btn--red:hover { background: var(--red-700); }
.btn--navy { background: var(--navy-800); color: #fff; }
.btn--navy:hover { background: var(--navy-900); }
.btn--white { background: #fff; color: var(--navy-800); }
.btn--white:hover { background: var(--navy-50); }
.btn--outline { border-color: var(--navy-800); color: var(--navy-800); }
.btn--outline:hover { background: var(--navy-800); color: #fff; }
.btn--ghost-light { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--navy-800); border-color: #fff; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--red-600); font-size: 0.95rem; }
.link-arrow .i { width: 18px; height: 18px; transition: transform var(--dur) var(--ease-out); }

.icon-btn {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid var(--line); color: var(--navy-800);
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.icon-btn .i { width: 22px; height: 22px; }
.icon-btn--light { border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.icon-btn--light:hover { background: #fff; color: var(--navy-900); }

.tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: 999px; background: rgba(255, 255, 255, 0.92); color: var(--navy-800);
}
.tag--live { background: var(--red-600); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
  transition: transform 420ms var(--ease-out);
}
.site-header.is-scrolled { transform: translateY(calc(var(--topbar-h) * -1)); }
.site-header.is-hidden { transform: translateY(-100%); }

.topbar {
  height: var(--topbar-h); background: var(--navy-950); color: rgba(255, 255, 255, 0.78);
  font-size: 0.8125rem; font-weight: 500;
}
.topbar__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topbar__loc, .topbar__links a { display: inline-flex; align-items: center; gap: 8px; }
.topbar .i { width: 15px; height: 15px; color: var(--red-bright); }
.topbar__links { display: flex; gap: 28px; }
.topbar__links a { transition: color var(--dur) var(--ease-out); }
.topbar__links a:hover { color: #fff; }
@media (max-width: 959px) { .topbar { display: none; } }

.navbar {
  height: var(--nav-h);
  transition: background-color 420ms var(--ease-out), box-shadow 420ms var(--ease-out);
}
.navbar::after { /* hairline on transparent state */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(255,255,255,.14);
  transition: opacity var(--dur) var(--ease-out);
}
.navbar__inner { height: 100%; display: flex; align-items: center; gap: 32px; position: relative; }
.site-header.is-solid .navbar { background: rgba(255, 255, 255, 0.96); box-shadow: 0 6px 30px -12px rgba(4, 31, 56, 0.25); }
@supports (backdrop-filter: blur(10px)) {
  .site-header.is-solid .navbar { background: rgba(255, 255, 255, 0.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
}
.site-header.is-solid .navbar::after { opacity: 0; }

.brand { position: relative; display: block; width: clamp(150px, 15vw, 196px); flex-shrink: 0; }
.brand__logo { width: 100%; height: auto; transition: opacity var(--dur) var(--ease-out); }
.brand__logo--dark { position: absolute; inset: 0; opacity: 0; }
.site-header.is-solid .brand__logo--light { opacity: 0; }
.site-header.is-solid .brand__logo--dark { opacity: 1; }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: 6px; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; height: 44px; padding: 0 14px;
  font-weight: 600; font-size: 0.95rem; color: rgba(255, 255, 255, 0.88);
  transition: color var(--dur) var(--ease-out);
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px;
  background: var(--red-bright); transform: scaleX(0); transform-origin: right;
  transition: transform var(--dur) var(--ease-out);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: #fff; }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.site-header.is-solid .nav__link { color: var(--ink-soft); }
.site-header.is-solid .nav__link:hover, .site-header.is-solid .nav__link[aria-current="page"] { color: var(--navy-800); }
.site-header.is-solid .nav__link::after { background: var(--red-600); }

.menu-btn { display: none; width: 48px; height: 48px; margin-left: auto; border-radius: 50%; place-items: center; color: #fff; }
.menu-btn__bars { display: grid; gap: 5px; width: 24px; }
.menu-btn__bars span { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform var(--dur) var(--ease-out); }
.menu-btn__bars span:nth-child(2) { width: 70%; margin-left: auto; }
.site-header.is-solid .menu-btn { color: var(--navy-800); }

@media (max-width: 959px) {
  .nav, .navbar__cta { display: none; }
  .menu-btn { display: grid; }
}

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  display: flex; flex-direction: column;
  background: var(--blueprint), var(--navy-900);
  color: #fff; overflow-y: auto; overscroll-behavior: contain;
  padding-bottom: max(24px, env(safe-area-inset-bottom));
  opacity: 0; transition: opacity 300ms var(--ease-out);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { opacity: 1; }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.mobile-menu__logo { width: 150px; }
.mobile-menu__list { padding-block: 24px; }
.mobile-menu__list a {
  display: flex; align-items: baseline; gap: 16px; padding: 10px 0;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2.4rem, 11vw, 3.4rem); line-height: 1.05;
  border-bottom: 1px solid var(--line-light);
}
.mobile-menu__list a span { font-family: var(--font-body); font-size: 0.8rem; font-weight: 700; color: var(--red-bright); letter-spacing: 0.1em; }
.mobile-menu__list a[aria-current="page"] { color: var(--red-bright); }
.mobile-menu__list li { opacity: 0; transform: translateY(16px); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
.mobile-menu.is-open .mobile-menu__list li { opacity: 1; transform: none; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(2) { transition-delay: 50ms; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(3) { transition-delay: 100ms; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(4) { transition-delay: 150ms; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(5) { transition-delay: 200ms; }
.mobile-menu__foot { margin-top: auto; display: grid; gap: 14px; padding-top: 24px; color: rgba(255,255,255,.8); font-weight: 600; }
.mobile-menu__foot a:not(.btn) { min-height: 32px; display: inline-flex; align-items: center; }

/* Blueprint grid texture used on navy sections */
:root {
  --blueprint:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 56px 56px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(660px, 100svh);
  display: flex; flex-direction: column;
  color: #fff; background: var(--navy-900);
}
@media (min-width: 960px) { .hero { min-height: max(720px, min(100svh, 1000px)); } }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 31, 56, 0.95) 0%, rgba(4, 31, 56, 0.82) 38%, rgba(4, 31, 56, 0.35) 70%, rgba(4, 31, 56, 0.15) 100%),
    linear-gradient(0deg, rgba(4, 31, 56, 0.85) 0%, rgba(4, 31, 56, 0) 35%);
}
@media (max-width: 759px) {
  .hero__shade { background: linear-gradient(180deg, rgba(4,31,56,.72) 0%, rgba(4,31,56,.82) 50%, rgba(4,31,56,.96) 100%); }
}
.hero__roof {
  position: absolute; right: -2vw; bottom: 0; z-index: -1;
  width: min(54vw, 760px); height: auto; overflow: visible;
  fill: none; stroke: var(--red-bright); stroke-width: 2; opacity: 0.4;
  pointer-events: none;
}
.hero__roof path { vector-effect: non-scaling-stroke; }
.hero__roof .hero__roof-thin { stroke: #fff; opacity: 0.4; stroke-width: 1; }
@media (max-width: 759px) { .hero__roof { width: 110vw; right: -30vw; opacity: 0.3; } }

.hero__inner {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  padding-top: calc(var(--topbar-h) + var(--nav-h) + 40px); padding-bottom: 32px;
}
.hero__title {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2.7rem, 6.4vw, 5.6rem); line-height: 0.92; letter-spacing: -0.005em;
  margin-bottom: 28px;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.05em; margin-bottom: -0.05em; }
.hero__title .line > span { display: inline-block; will-change: transform; }
.hero__title em { font-style: normal; color: var(--red-bright); }
.hero__lead { max-width: 52ch; font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: rgba(255, 255, 255, 0.84); margin-bottom: 36px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: clamp(24px, 4vw, 44px); }
.hero__live {
  display: inline-flex; align-items: center; gap: 16px; padding: 10px 18px 10px 10px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px; max-width: 100%;
  transition: background-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
@supports (backdrop-filter: blur(10px)) {
  .hero__live { background: rgba(4, 31, 56, 0.35); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
}
.hero__live:hover { background: rgba(255, 255, 255, 0.14); transform: translateY(-2px); }
.hero__live-img { width: 64px; height: 64px; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.hero__live-img img { width: 100%; height: 100%; object-fit: cover; }
.hero__live-text { display: grid; line-height: 1.3; font-size: 0.875rem; color: rgba(255,255,255,.75); }
.hero__live-text strong { font-size: 1.05rem; color: #fff; }
.hero__live-label { display: inline-flex; align-items: center; gap: 8px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red-bright); }
.hero__live-arrow { width: 20px; height: 20px; margin-left: 8px; opacity: .8; }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--red-bright); }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: pulse 2s var(--ease-out) infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3.2); opacity: 0; } }

.hero__scroll { display: grid; justify-items: center; gap: 10px; font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.hero__scroll i { position: relative; width: 1px; height: 56px; background: rgba(255,255,255,.25); overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: #fff; animation: scrollcue 2.2s var(--ease-in-out) infinite; }
@keyframes scrollcue { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }
@media (max-width: 759px) { .hero__scroll { display: none; } .hero__live { width: 100%; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--navy-900);
  min-height: clamp(420px, 64svh, 620px); display: flex; align-items: flex-end;
}
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(4,31,56,.94) 0%, rgba(4,31,56,.7) 55%, rgba(4,31,56,.35) 100%),
              linear-gradient(0deg, rgba(4,31,56,.7), transparent 50%);
}
.page-hero__inner { padding-top: calc(var(--topbar-h) + var(--nav-h) + 48px); padding-bottom: clamp(48px, 7vw, 88px); }
.page-hero__title {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2.9rem, 8vw, 6rem); line-height: 0.9; max-width: 14ch; margin-bottom: 20px; text-wrap: balance;
}
.page-hero__title em { font-style: normal; color: var(--red-bright); }
.page-hero__lead { max-width: 56ch; color: rgba(255,255,255,.84); font-size: clamp(1.05rem, 1.5vw, 1.2rem); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; font-size: 0.85rem; font-weight: 600; color: rgba(255,255,255,.7); }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; color: var(--red-bright); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: #fff; }

/* ---------- Marquee ---------- */
.marquee { background: var(--red-600); color: #fff; overflow: hidden; padding-block: 18px; }
.marquee__track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; flex-shrink: 0; }
.marquee__list li {
  display: inline-flex; align-items: center; gap: 36px; padding-right: 36px; white-space: nowrap;
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: clamp(1.3rem, 2.2vw, 1.75rem); letter-spacing: 0.02em;
}
.marquee__list li::after {
  content: ""; width: 20px; height: 11px; background: rgba(255,255,255,.75);
  clip-path: polygon(0 100%, 50% 0, 100% 100%, 82% 100%, 50% 34%, 18% 100%);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Intro ---------- */
.intro__grid { display: grid; gap: clamp(56px, 7vw, 96px); align-items: center; }
@media (min-width: 960px) { .intro__grid { grid-template-columns: 1fr 1fr; } }
.intro__media { position: relative; padding-bottom: 48px; padding-right: 10%; }
.intro__main { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; width: 82%; box-shadow: var(--shadow-lg); }
.intro__main img, .intro__inset img { width: 100%; height: 100%; object-fit: cover; }
.intro__inset {
  position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 4 / 3.2;
  border-radius: var(--radius); overflow: hidden; border: 8px solid var(--paper); box-shadow: var(--shadow-lg);
}
.badge-ring {
  position: absolute; top: 6%; right: 2%; width: clamp(120px, 15vw, 164px); aspect-ratio: 1;
  border-radius: 50%; background: var(--navy-800); color: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow-md);
}
.badge-ring__text { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.badge-ring__text text { fill: #fff; font-family: var(--font-body); font-weight: 700; font-size: 13.5px; letter-spacing: 3.2px; }
.badge-ring__core { display: grid; justify-items: center; line-height: 1; }
.badge-ring__core strong { font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.2rem); font-weight: 700; }
.badge-ring__core span { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red-bright); }
@keyframes spin { to { transform: rotate(360deg); } }

.intro__copy .h2 { margin-bottom: 24px; }
.intro__copy .lead { margin-bottom: 18px; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-block: 34px 40px; }
.feature-grid li {
  display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); font-weight: 700; color: var(--navy-800); line-height: 1.3;
}
.feature-grid__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; background: var(--navy-50); color: var(--red-600); flex-shrink: 0; }
.intro__sign { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; }
.intro__sign p { display: grid; line-height: 1.35; padding-left: 28px; border-left: 2px solid var(--red-600); }
.intro__sign strong { color: var(--navy-800); font-size: 1.05rem; }
.intro__sign span { font-size: 0.9rem; }

/* ---------- Why us ---------- */
.why {
  position: relative; color: rgba(255,255,255,.78);
  background: var(--blueprint), var(--navy-900);
  padding-top: calc(var(--section-y) + 4vw); padding-bottom: var(--section-y);
  clip-path: polygon(0 4vw, 100% 0, 100% 100%, 0 100%);
  margin-top: -4vw;
}
.why__grid { display: grid; gap: clamp(48px, 6vw, 88px); align-items: center; }
@media (min-width: 960px) { .why__grid { grid-template-columns: 1.05fr 0.95fr; } }
.why__copy .h2 { margin-bottom: 22px; }
.why__text { max-width: 54ch; margin-bottom: 32px; }
.checklist { display: grid; gap: 18px; }
.checklist li { display: flex; gap: 14px; }
.checklist .i { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--red-600); color: #fff; stroke-width: 2.5; margin-top: 2px; }
.checklist--light strong { color: #fff; }
.checklist:not(.checklist--light) strong { color: var(--navy-800); }
.why__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; max-height: 620px; box-shadow: var(--shadow-lg); }
.why__media-inner { height: 116%; margin-top: -8%; }
.why__media img { width: 100%; height: 100%; object-fit: cover; }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line-light); }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats__item { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: 32px 20px 0 0; }
@media (min-width: 760px) { .stats__item + .stats__item { padding-left: 28px; border-left: 1px solid var(--line-light); } }
.stats dd {
  font-family: var(--font-display); font-weight: 700; color: #fff; line-height: 0.9;
  font-size: clamp(3.6rem, 8vw, 6.4rem); font-variant-numeric: tabular-nums;
}
.stats dt { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.stats--dark { border-top-color: var(--line); }
.stats--dark dd { color: var(--navy-800); }
.stats--dark dt { color: var(--ink-soft); }
@media (min-width: 760px) { .stats--dark .stats__item + .stats__item { border-left-color: var(--line); } }

/* ---------- Service cards ---------- */
.service-cards { display: grid; gap: 22px; }
@media (min-width: 640px) { .service-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .service-cards { grid-template-columns: repeat(4, 1fr); } }
.service-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform 500ms var(--ease-out), box-shadow 500ms var(--ease-out), border-color var(--dur) var(--ease-out);
}
.service-card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.service-card__body { position: relative; flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 30px 26px 28px; }
.service-card__num { font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: 0.1em; color: var(--red-600); }
.service-card__icon {
  position: absolute; top: -28px; right: 24px; width: 56px; height: 56px; border-radius: var(--radius-sm);
  display: grid; place-items: center; background: var(--navy-800); color: #fff; box-shadow: var(--shadow-md);
  transition: background-color var(--dur) var(--ease-out);
}
.service-card__icon .i { width: 26px; height: 26px; }
.service-card h3 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 1.6rem; line-height: 1; color: var(--navy-800); }
.service-card p { font-size: 0.975rem; line-height: 1.6; flex: 1; }
.service-card .link-arrow { margin-top: 8px; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover .service-card__media img { transform: scale(1.06); }
.service-card:hover .service-card__icon { background: var(--red-600); }
.service-card:hover .link-arrow .i { transform: translateX(4px); }

/* ---------- CTA band ---------- */
.band {
  position: relative; overflow: hidden; color: rgba(255,255,255,.88);
  background: var(--red-600);
  padding-block: clamp(40px, 5vw, 56px);
}
.band::before { /* letterhead diagonal slashes */
  content: ""; position: absolute; top: 0; bottom: 0; left: -40px; width: 220px;
  background: linear-gradient(115deg, var(--navy-800) 0 44%, transparent 44% 52%, rgba(255,255,255,.25) 52% 62%, transparent 62%);
}
.band__inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding-left: clamp(120px, 14vw, 200px); }
.band__title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1; margin-bottom: 6px; }
.band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.band__phone { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; color: #fff; font-size: 1.1rem; }
@media (max-width: 639px) { .band::before { width: 90px; left: -30px; } .band__inner { padding-left: 64px; } }

/* ---------- Process ---------- */
.steps-wrap { position: relative; }
.steps { display: grid; gap: 40px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 48px 40px; } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps__line { display: none; }
@media (min-width: 1100px) {
  .steps__line { display: block; position: absolute; left: 0; right: 0; top: 44px; height: 2px; background: var(--line); }
  .steps__line span { display: block; height: 100%; background: var(--red-600); transform-origin: left; }
}
.step { position: relative; }
.step__num {
  display: inline-block; position: relative; padding-right: 18px; background: var(--paper);
  font-family: var(--font-display); font-weight: 700; font-size: 5.5rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--navy-800); margin-bottom: 18px;
}
.step__num::after { content: ""; position: absolute; right: 0; top: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--red-600); transform: translateY(-50%); }
.step h3 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 1.55rem; line-height: 1.05; color: var(--navy-800); margin-bottom: 10px; }
.step p { font-size: 0.975rem; line-height: 1.6; }

/* ---------- Build journey ---------- */
.journey { background: var(--blueprint), var(--navy-900); color: rgba(255,255,255,.75); overflow: hidden; }
.journey__pin { padding-block: var(--section-y); }
.journey__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(36px, 5vw, 56px); }
.journey__hint { display: inline-flex; align-items: center; gap: 10px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.journey__hint .i { width: 18px; height: 18px; color: var(--red-bright); animation: nudge 1.8s var(--ease-in-out) infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }
.journey__hint-desktop { display: none; }
.journey__viewport {
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
}
.journey__viewport::-webkit-scrollbar { display: none; }
.journey__track { display: flex; gap: clamp(16px, 2.4vw, 28px); width: max-content; }
.journey__card { width: min(78vw, 400px); scroll-snap-align: start; }
.journey__card figure { aspect-ratio: 4 / 3.4; border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; background: var(--navy-800); }
.journey__card img { width: 100%; height: 100%; object-fit: cover; }
.journey__stage { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red-bright); margin-bottom: 6px; }
.journey__card h3 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 1.7rem; line-height: 1; color: #fff; margin-bottom: 8px; }
.journey__card p { font-size: 0.975rem; line-height: 1.6; max-width: 36ch; }
/* Pinned horizontal mode (desktop + motion allowed; class set by JS) */
.journey.is-pinned .journey__viewport { overflow: visible; scroll-snap-type: none; }
.journey.is-pinned .journey__pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.journey.is-pinned .journey__hint-desktop { display: inline; }
.journey.is-pinned .journey__hint-mobile { display: none; }
@media (min-width: 1100px) { .journey__card { width: 30vw; max-width: 460px; } }

/* ---------- Bento projects ---------- */
.bento { display: grid; gap: 16px; }
.bento__item { position: relative; display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; background: var(--navy-800); isolation: isolate; }
.bento__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1100ms var(--ease-out); }
.bento__item::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(4,31,56,.88) 0%, rgba(4,31,56,.15) 55%, transparent 75%); }
.bento__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(18px, 2.4vw, 28px); display: grid; justify-items: start; gap: 6px; color: rgba(255,255,255,.8); font-size: 0.92rem; }
.bento__cap strong { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; color: #fff; font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1; }
.bento__item:hover img { transform: scale(1.05); }
@media (min-width: 760px) {
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(220px, 22vw, 300px); }
  .bento__item { aspect-ratio: auto; }
  .bento__item--xl { grid-column: span 2; grid-row: span 2; }
  .bento__item:nth-child(2) { grid-column: span 2; }
}

/* ---------- Vision / mission ---------- */
.vm { position: relative; overflow: hidden; background: var(--sand); }
.vm__mark { position: absolute; left: 50%; top: 50%; width: min(70vw, 760px); transform: translate(-50%, -50%); opacity: 0.07; pointer-events: none; }
.vm__grid { position: relative; display: grid; gap: 48px; }
@media (min-width: 900px) { .vm__grid { grid-template-columns: 1fr 1fr; gap: 0; } .vm__item:first-child { padding-right: 64px; border-right: 1px solid rgba(6,55,97,.18); } .vm__item:last-child { padding-left: 64px; } }
.vm__text { font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.5; font-weight: 500; color: var(--navy-800); text-wrap: pretty; }

/* ---------- Final CTA + footer ---------- */
.cta-final { position: relative; overflow: hidden; background: var(--navy-800); color: rgba(255,255,255,.8); padding-block: clamp(80px, 10vw, 128px); }
.cta-final__stripes {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(40vw, 520px); pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 30%, rgba(255,255,255,.07) 30% 46%, transparent 46% 52%, var(--red-600) 52% 60%, transparent 60%);
}
@media (max-width: 959px) { .cta-final__stripes { opacity: .35; } }
.cta-final__inner { position: relative; display: grid; gap: 36px; }
.cta-final__inner > * { max-width: 820px; }
.cta-final__title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; color: #fff; font-size: clamp(2.6rem, 6vw, 5rem); line-height: 0.92; margin-bottom: 20px; text-wrap: balance; }
.cta-final__title em { font-style: normal; color: var(--red-bright); }
.cta-final__text { max-width: 52ch; }
.cta-final__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.site-footer { background: var(--navy-950); color: rgba(255,255,255,.7); padding-top: clamp(64px, 8vw, 96px); font-size: 0.95rem; }
.footer__grid { display: grid; gap: 44px 32px; padding-bottom: 56px; }
@media (min-width: 640px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.4fr 0.8fr 1.1fr 1.3fr; } }
.footer__brand img { width: 210px; margin-bottom: 18px; }
.footer__tagline { font-style: italic; font-family: Georgia, "Times New Roman", serif; color: rgba(255,255,255,.85); margin-bottom: 22px; max-width: 30ch; }
.footer__social { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-light); color: #fff; font-weight: 600; transition: background-color var(--dur) var(--ease-out); }
.footer__social:hover { background: rgba(255,255,255,.08); }
.footer__social .i { width: 18px; height: 18px; }
.footer__title { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: #fff; font-size: 1.15rem; margin-bottom: 18px; }
.footer__col ul { display: grid; gap: 6px; }
.footer__col a { display: inline-flex; min-height: 32px; align-items: center; transition: color var(--dur) var(--ease-out); }
.footer__col a:hover { color: #fff; }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; padding-block: 4px; }
.footer__contact .i { color: var(--red-bright); width: 18px; height: 18px; margin-top: 7px; }
.footer__contact span a { min-height: 28px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 22px calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-light); font-size: 0.85rem; color: rgba(255,255,255,.6); }

.wa-float {
  position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: var(--z-float);
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 12px 30px -8px rgba(18, 140, 70, 0.6);
  transition: transform var(--dur) var(--ease-out);
}
.wa-float .i { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.07); }
.wa-float:focus-visible { outline-color: var(--navy-800); }

/* ==========================================================================
   Inner pages
   ========================================================================== */

/* About: story */
.story__grid { display: grid; gap: clamp(48px, 6vw, 88px); align-items: center; }
@media (min-width: 960px) { .story__grid { grid-template-columns: 1fr 1fr; } }
.story__copy .h2 { margin-bottom: 24px; }
.story__copy p + p { margin-top: 16px; }
.story__media { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.story__media figure { border-radius: var(--radius); overflow: hidden; }
.story__media figure:first-child { grid-row: span 2; aspect-ratio: 3 / 4.6; }
.story__media figure:not(:first-child) { aspect-ratio: 1; }
.story__media img { width: 100%; height: 100%; object-fit: cover; }

.leader { display: grid; gap: 32px; align-items: center; padding: clamp(28px, 4vw, 48px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
@media (min-width: 760px) { .leader { grid-template-columns: auto 1fr; gap: 48px; } }
.leader__mono {
  width: clamp(120px, 14vw, 160px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; background: var(--blueprint), var(--navy-800); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 4vw, 3.4rem); letter-spacing: 0.04em;
  box-shadow: inset 0 0 0 6px var(--navy-800), inset 0 0 0 8px var(--red-600);
}
.leader__name { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; color: var(--navy-800); font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1; margin-bottom: 4px; }
.leader__role { font-weight: 700; color: var(--red-600); font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 16px; }

.values { display: grid; gap: 18px; }
@media (min-width: 640px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .values { grid-template-columns: repeat(4, 1fr); } }
.value { padding: 32px 28px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); transition: transform 500ms var(--ease-out), box-shadow 500ms var(--ease-out); }
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--radius-sm); background: var(--navy-50); color: var(--red-600); margin-bottom: 22px; }
.value__icon .i { width: 26px; height: 26px; }
.value h3 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; color: var(--navy-800); font-size: 1.6rem; line-height: 1; margin-bottom: 10px; }
.value p { font-size: 0.975rem; line-height: 1.6; }

.bg-white { background: #fff; }
.bg-sand { background: var(--sand); }

/* Services: detail rows */
.svc { display: grid; gap: clamp(36px, 5vw, 72px); align-items: center; padding-block: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.svc:last-child { border-bottom: 0; }
@media (min-width: 960px) {
  .svc { grid-template-columns: 1fr 1fr; }
  .svc:nth-child(even) .svc__media { order: 2; }
}
.svc__media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow-md); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; }
.svc__num { position: absolute; left: 20px; top: 16px; font-family: var(--font-display); font-weight: 700; font-size: 4.5rem; line-height: 1; color: #fff; text-shadow: 0 4px 24px rgba(0,0,0,.35); }
.svc__copy .h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); margin-bottom: 18px; }
.svc__copy > p { margin-bottom: 26px; }
.svc__list { display: grid; gap: 12px; margin-bottom: 30px; }
@media (min-width: 560px) { .svc__list { grid-template-columns: 1fr 1fr; gap: 12px 24px; } }
.svc__list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--navy-800); line-height: 1.45; }
.svc__list .i { width: 20px; height: 20px; color: var(--red-600); stroke-width: 2.4; margin-top: 2px; }

/* FAQ */
.faq { max-width: 860px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 2.2vw, 1.6rem); text-transform: uppercase; line-height: 1.15; color: var(--navy-800);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { width: 22px; height: 22px; color: var(--red-600); transition: transform var(--dur) var(--ease-out); }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq details p { padding: 0 48px 26px 0; max-width: 70ch; }

/* Projects: filter + gallery */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter {
  min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--line);
  font-weight: 700; font-size: 0.92rem; color: var(--navy-800); background: #fff;
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.filter:hover { border-color: var(--navy-800); }
.filter[aria-pressed="true"] { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.filter__count { margin-left: 6px; opacity: .6; font-weight: 600; }

.gallery { display: grid; gap: 18px; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery__item { transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out); }
.gallery__item.is-hiding { opacity: 0; transform: scale(0.96); }
.gallery__item[hidden] { display: none; }
.gallery__btn { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3.3; border-radius: var(--radius); overflow: hidden; text-align: left; isolation: isolate; background: var(--navy-800); }
.gallery__btn img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1000ms var(--ease-out); }
.gallery__btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(4,31,56,.88) 0%, rgba(4,31,56,.1) 55%, transparent 70%); }
.gallery__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; display: grid; justify-items: start; gap: 6px; color: rgba(255,255,255,.8); font-size: 0.9rem; }
.gallery__cap strong { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; color: #fff; font-size: 1.6rem; line-height: 1; }
.gallery__zoom { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--navy-800); transform: scale(0.8); opacity: 0; transition: transform var(--dur) var(--ease-out), opacity var(--dur) var(--ease-out); }
.gallery__zoom .i { width: 18px; height: 18px; }
.gallery__btn:hover img, .gallery__btn:focus-visible img { transform: scale(1.05); }
.gallery__btn:hover .gallery__zoom, .gallery__btn:focus-visible .gallery__zoom { transform: none; opacity: 1; }
@media (hover: none) { .gallery__zoom { opacity: 1; transform: none; } }

.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(2, 14, 26, 0.95); color: #fff; }
.lightbox::backdrop { background: rgba(2, 14, 26, 0.8); }
.lightbox[open] { display: grid; place-items: center; animation: fadein 260ms var(--ease-out); }
@keyframes fadein { from { opacity: 0; } }
.lightbox__frame { display: grid; gap: 14px; justify-items: center; padding: 72px 16px 32px; max-width: 100%; }
.lightbox__img { max-width: min(92vw, 1400px); max-height: 78dvh; width: auto; height: auto; object-fit: contain; border-radius: var(--radius-sm); }
.lightbox__caption { font-weight: 600; text-align: center; color: rgba(255,255,255,.85); }
.lightbox__close { position: fixed; top: 16px; right: 16px; }
.lightbox__nav { position: fixed; top: 50%; transform: translateY(-50%); background: rgba(2,14,26,.4); }
.lightbox__nav--prev { left: 12px; }
.lightbox__nav--next { right: 12px; }

/* Contact */
.contact-cards { display: grid; gap: 16px; margin-top: calc(clamp(48px, 7vw, 88px) * -1); position: relative; z-index: 2; }
@media (min-width: 640px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .contact-cards { grid-template-columns: repeat(4, 1fr); } }
.contact-card { display: grid; gap: 6px; align-content: start; padding: 28px 26px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.contact-card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--radius-sm); background: var(--red-600); color: #fff; margin-bottom: 14px; }
.contact-card__icon .i { width: 24px; height: 24px; }
.contact-card h3 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; color: var(--navy-800); font-size: 1.5rem; line-height: 1; margin-bottom: 4px; }
.contact-card a { font-weight: 600; color: var(--navy-800); min-height: 30px; display: inline-flex; align-items: center; overflow-wrap: anywhere; }
.contact-card a:hover { color: var(--red-600); }

.contact-grid { display: grid; gap: clamp(40px, 5vw, 72px); }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1.5fr 1fr; align-items: start; } }

.form { display: grid; gap: 22px; padding: clamp(24px, 4vw, 48px); background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.form__row { display: grid; gap: 22px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-weight: 700; color: var(--navy-800); font-size: 0.95rem; }
.field label .req { color: var(--red-600); margin-left: 2px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid rgba(6, 55, 97, 0.22); background: var(--paper); color: var(--ink); font-size: 1rem;
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out);
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23063761' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 20px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-800); background: #fff; box-shadow: 0 0 0 4px rgba(2, 92, 144, 0.18); }
.field__hint { font-size: 0.85rem; color: var(--ink-soft); }
.field__error { display: none; font-size: 0.875rem; font-weight: 600; color: var(--red-700); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red-600); }
.field.has-error .field__error { display: block; }
.form__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.form__status { font-weight: 600; padding: 14px 18px; border-radius: var(--radius-sm); }
.form__status:empty { display: none; }
.form__status.is-success { background: #e7f6ec; color: #135c2f; }
.form__status.is-error { background: #fdecec; color: var(--red-700); }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
.btn--wa { background: #1fa855; color: #fff; }
.btn--wa:hover { background: #178a45; }

.aside-card { padding: clamp(28px, 4vw, 40px); border-radius: var(--radius); background: var(--blueprint), var(--navy-900); color: rgba(255,255,255,.8); }
.aside-card + .aside-card { margin-top: 18px; }
.aside-card h2 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; color: #fff; font-size: 2rem; line-height: 1; margin-bottom: 14px; }
.aside-card .checklist { margin-top: 22px; gap: 14px; font-size: 0.975rem; }
.aside-card--light { background: #fff; border: 1px solid var(--line); color: var(--ink-soft); }
.aside-card--light h2 { color: var(--navy-800); }

.map { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 7; min-height: 320px; background: var(--sand); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(0.85); }

/* ==========================================================================
   Motion: initial states (only when JS runs and the user allows motion)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .js:not(.reveal-all) [data-reveal],
  .js:not(.reveal-all) [data-stagger] > *,
  .js:not(.reveal-all) [data-hero-item],
  .js:not(.reveal-all) .hero__title .line > span,
  .js:not(.reveal-all) .page-hero [data-hero-item] { opacity: 0; }
  .js:not(.reveal-all) .hero__roof path { stroke-dasharray: 1; stroke-dashoffset: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee__list[aria-hidden="true"] { display: none; }
  .marquee__list { flex-wrap: wrap; justify-content: center; padding-inline: var(--gutter); }
}
