/* ==========================================================================
   Arch & Pane — design system
   Custom Windows & Doors of Pasco
   ========================================================================== */

:root {
  /* Color — derived from the logo (#0049FF sampled from logo.png) */
  --arch: #0049FF;
  --arch-deep: #0038CC;
  --arch-mist: #E6EDFF;
  --arch-glow: rgba(0, 73, 255, .18);
  --midnight: #070F2B;
  --midnight-2: #0C1A45;
  --ink: #0B0D12;
  --slate: #4A5468;
  --slate-light: #AEB6C8;
  --pane: #F5F7FB;
  --paper: #FFFFFF;
  --sand: #EFE7DA;
  --brass: #C9A45C;
  --star: #FBBC04;
  --wa: #25D366;
  --line: rgba(11, 13, 18, .09);
  --line-blue: rgba(0, 73, 255, .14);

  /* Glass */
  --glass: rgba(255, 255, 255, .66);
  --glass-strong: rgba(255, 255, 255, .86);
  --glass-border: rgba(255, 255, 255, .72);
  --glass-dark: rgba(7, 15, 43, .55);
  --blur: blur(18px) saturate(160%);

  /* Depth */
  --shadow-sm: 0 1px 1px rgba(7,15,43,.04), 0 2px 4px rgba(7,15,43,.05), 0 8px 16px rgba(7,15,43,.06);
  --shadow-md: 0 1px 2px rgba(7,15,43,.04), 0 6px 12px rgba(7,15,43,.06), 0 18px 36px rgba(7,15,43,.08);
  --shadow-lg: 0 2px 2px rgba(7,15,43,.04), 0 8px 16px rgba(7,15,43,.06), 0 24px 48px rgba(7,15,43,.10), 0 48px 96px rgba(0,73,255,.08);
  --shadow-blue: 0 2px 4px rgba(0,73,255,.18), 0 10px 24px rgba(0,73,255,.24), 0 24px 48px rgba(0,73,255,.14);

  /* Shape */
  --r-card: 20px;
  --r-btn: 12px;
  --r-arch: 999px 999px 20px 20px;

  /* Type */
  --f-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --f-ui: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Motion */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --t-micro: 220ms;
  --t-reveal: 800ms;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --top-h: 40px;
  --nav-h: 92px;
  --section: clamp(72px, 10vw, 136px);

  /* Z-index scale */
  --z-mobilebar: 40;
  --z-header: 50;
  --z-menu: 60;
  --z-drawer: 70;
  --z-lightbox: 80;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 130px; }
body {
  margin: 0;
  font-family: var(--f-ui);
  font-size: 17px;
  line-height: 1.65;
  color: var(--slate);
  background: var(--pane);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, video, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--arch); text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--ink); font-weight: 500; margin: 0 0 .5em; line-height: 1.08; letter-spacing: -.015em; font-optical-sizing: auto; }
h1 { font-size: clamp(2.6rem, 6vw, 5.4rem); line-height: 1.02; letter-spacing: -.025em; font-weight: 450; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.2; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 400; color: var(--arch); }
p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--arch); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--arch); color: #fff; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--arch); color: #fff; padding: 12px 18px; border-radius: var(--r-btn); font-weight: 700;
  transition: top var(--t-micro) var(--ease);
}
.skip-link:focus { top: 12px; }
.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; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; }
.section--sand { background: var(--sand); }
.section--paper { background: var(--paper); }
.section--tight { padding: calc(var(--section) * .6) 0; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-ui); font-size: 12px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--arch);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 12px; height: 15px; flex: none;
  border: 2px solid currentColor; border-bottom-width: 2px; border-radius: 12px 12px 2px 2px;
}
.eyebrow--light { color: #9DB6FF; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); line-height: 1.6; color: var(--slate); max-width: 60ch; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.section-head--split > div { max-width: 680px; }
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { position: relative; padding-left: 28px; margin-bottom: .5em; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 10px; height: 10px; border-radius: 10px 10px 2px 2px; background: var(--arch); }
.prose ol li { margin-bottom: .5em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--arch); --fg: #fff;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px;
  font-family: var(--f-ui); font-size: 15px; font-weight: 700; letter-spacing: .01em; line-height: 1.2;
  color: var(--fg); background: var(--bg);
  border: 1px solid transparent; border-radius: var(--r-btn);
  box-shadow: var(--shadow-blue);
  transition: transform var(--t-micro) var(--ease), box-shadow var(--t-micro) var(--ease), background-color var(--t-micro) var(--ease), color var(--t-micro) var(--ease);
  cursor: pointer; white-space: nowrap;
}
.btn::after { /* glass sheen */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.38) 48%, transparent 64%);
  transform: translateX(-120%); transition: transform 700ms var(--ease);
}
.btn:hover { background: var(--arch-deep); box-shadow: 0 2px 4px rgba(0,73,255,.2), 0 14px 32px rgba(0,73,255,.3), 0 32px 64px rgba(0,73,255,.16); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: rgba(11,13,18,.16); box-shadow: none; background: var(--glass); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }
.btn--ghost:hover { background: var(--paper); color: var(--arch); box-shadow: var(--shadow-sm); border-color: var(--line-blue); }
.btn--light { --bg: #fff; --fg: var(--ink); box-shadow: var(--shadow-md); }
.btn--light:hover { background: var(--arch-mist); color: var(--arch-deep); }
.btn--outline-light { --bg: transparent; --fg: #fff; border-color: rgba(255,255,255,.35); box-shadow: none; }
.btn--outline-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 14px; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--arch); font-size: 15px; }
.link-arrow svg { width: 18px; height: 18px; transition: transform var(--t-micro) var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.u-line { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 300ms var(--ease); }
.u-line:hover { background-size: 100% 1px; }

/* ---------- Top bar + header ---------- */
.site-top { position: sticky; top: 0; z-index: var(--z-header); }
.topbar { background: var(--midnight); color: #C9D2E6; font-size: 13px; height: var(--top-h); }
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 20px; }
.topbar-list { display: flex; align-items: center; gap: 22px; }
.topbar a { color: #E4E9F5; display: inline-flex; align-items: center; gap: 7px; min-height: 32px; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 15px; height: 15px; color: #7F9CFF; }
.topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar-lic { color: var(--brass); font-weight: 600; letter-spacing: .04em; }
.socials { display: flex; gap: 6px; }
.socials a { width: 32px; height: 32px; border-radius: 8px; justify-content: center; transition: background-color var(--t-micro) var(--ease); }
.socials a:hover { background: rgba(255,255,255,.1); }
.socials svg { width: 16px; height: 16px; color: currentColor; }

.header { position: relative; height: var(--nav-h); transition: height 400ms var(--ease), background-color 400ms var(--ease), box-shadow 400ms var(--ease); }
.header::before { content: ""; position: absolute; inset: 0; background: var(--glass-strong); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); opacity: 0; transition: opacity 400ms var(--ease); border-bottom: 1px solid rgba(255,255,255,.6); }
.header .container { position: relative; display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.is-scrolled .header { height: 68px; box-shadow: var(--shadow-sm); }
.is-scrolled .header::before { opacity: 1; }
.page-inner .header::before { opacity: 1; }
.logo { display: block; flex: none; }
.logo img { height: 64px; width: auto; transition: height 400ms var(--ease), transform 400ms var(--ease); }
.is-scrolled .logo img { height: 46px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > li { position: relative; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; min-height: 44px; border-radius: 10px;
  font-size: 15px; font-weight: 600; color: var(--ink);
  transition: color var(--t-micro) var(--ease);
}
.nav-link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; background: var(--arch); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform 300ms var(--ease); }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--arch); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-link svg { width: 14px; height: 14px; transition: transform var(--t-micro) var(--ease); }
.has-mega:hover .nav-link svg, .has-mega.is-open .nav-link svg { transform: rotate(180deg); }
.header-cta { display: flex; align-items: center; gap: 10px; }

.mega {
  position: absolute; top: calc(100% + 12px); left: 50%; z-index: var(--z-menu);
  width: min(760px, 92vw); padding: 18px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  background: var(--glass-strong); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border); border-radius: 22px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 10px) scale(.98); transform-origin: top center;
  transition: opacity 260ms var(--ease), transform 260ms var(--ease), visibility 0s linear 260ms;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); transition-delay: 0s; }
.mega a { display: flex; gap: 14px; align-items: center; padding: 10px; border-radius: 14px; color: var(--ink); transition: background-color var(--t-micro) var(--ease); }
.mega a:hover { background: var(--arch-mist); }
.mega img { width: 64px; height: 64px; object-fit: cover; border-radius: 32px 32px 8px 8px; flex: none; }
.mega strong { display: block; font-family: var(--f-display); font-weight: 500; font-size: 17px; line-height: 1.2; }
.mega span { display: block; font-size: 13px; color: var(--slate); line-height: 1.4; margin-top: 2px; }

.burger { display: none; width: 48px; height: 48px; border-radius: 12px; align-items: center; justify-content: center; background: var(--paper); box-shadow: var(--shadow-sm); }
.burger span { position: relative; display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }

.drawer {
  position: fixed; inset: 0; z-index: var(--z-drawer);
  background: rgba(245,247,251,.9); backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%);
  display: flex; flex-direction: column; padding: 20px var(--gutter) 32px; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity 320ms var(--ease), visibility 0s linear 320ms;
}
.drawer.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.drawer-head img { height: 52px; width: auto; }
.drawer-close { width: 48px; height: 48px; border-radius: 12px; background: var(--paper); box-shadow: var(--shadow-sm); display: grid; place-items: center; }
.drawer-close svg { width: 22px; height: 22px; color: var(--ink); }
.drawer nav a { display: block; padding: 12px 0; font-family: var(--f-display); font-size: 28px; color: var(--ink); border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(14px); transition: opacity 400ms var(--ease), transform 400ms var(--ease), color var(--t-micro); }
.drawer nav a.sub { font-family: var(--f-ui); font-size: 16px; font-weight: 600; padding: 10px 0 10px 18px; color: var(--slate); }
.drawer nav a:hover { color: var(--arch); }
.drawer.is-open nav a { opacity: 1; transform: none; }
.drawer-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }

/* ---------- Mobile sticky action bar ---------- */
.mobile-bar { display: none; }

/* ---------- Mullion background ---------- */
.mullions { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.mullions i { position: absolute; background: var(--line-blue); transform-origin: left top; transition: transform 1600ms var(--ease); }
.mullions i.v { top: 0; bottom: 0; width: 1px; transform: scaleY(0); transform-origin: top; }
.mullions i.h { left: 0; right: 0; height: 1px; transform: scaleX(0); }
.mullions.is-in i { transform: none; }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; margin-top: calc(-1 * var(--nav-h)); padding: calc(var(--nav-h) + clamp(32px, 6vw, 80px)) 0 clamp(64px, 8vw, 112px);
  background:
    radial-gradient(60% 60% at 85% 20%, rgba(0,73,255,.13), transparent 70%),
    radial-gradient(50% 50% at 0% 100%, rgba(201,164,92,.14), transparent 70%),
    linear-gradient(180deg, #EAF0FF 0%, var(--pane) 70%);
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-copy .lead { margin: 22px 0 34px; }
.hero h1 .word { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .06em; }
.hero h1 .word > span { display: inline-block; transform: translateY(105%); transition: transform 1000ms var(--ease); }
.hero.is-in h1 .word > span { transform: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.trust-row li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.trust-row svg { width: 20px; height: 20px; color: var(--arch); }

.hero-visual { position: relative; perspective: 1200px; min-height: 560px; display: grid; place-items: center; }
.arch-outline { position: absolute; width: 118%; aspect-ratio: 3 / 4; right: -22%; top: -8%; border: 1.5px solid var(--line-blue); border-radius: 999px 999px 0 0; z-index: 0; }
.arch-outline::after { content: ""; position: absolute; inset: 28px; border: 1px solid rgba(0,73,255,.08); border-radius: inherit; }
.arch-frame {
  position: relative; z-index: 1; width: min(440px, 100%); aspect-ratio: 4 / 5.4;
  border-radius: var(--r-arch); overflow: hidden;
  box-shadow: var(--shadow-lg); background: var(--midnight);
  transform-style: preserve-3d;
  clip-path: inset(100% 0 0 0 round 999px 999px 20px 20px);
  transition: clip-path 1400ms var(--ease) 200ms;
}
.hero.is-in .arch-frame { clip-path: inset(0 0 0 0 round 999px 999px 20px 20px); }
.arch-frame::after { /* mullion cross on the glass */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, transparent calc(50% - 3px), rgba(255,255,255,.78) calc(50% - 3px), rgba(255,255,255,.78) calc(50% + 3px), transparent calc(50% + 3px)),
    linear-gradient(180deg, transparent 54%, rgba(255,255,255,.78) 54%, rgba(255,255,255,.78) calc(54% + 6px), transparent calc(54% + 6px));
  box-shadow: inset 0 0 0 10px rgba(255,255,255,.9);
  border-radius: inherit;
}
.arch-frame picture, .arch-frame img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; }
.chip {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 12px; padding: 14px 18px;
  background: var(--glass); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border); border-radius: 18px; box-shadow: var(--shadow-md);
  color: var(--ink); opacity: 0; transform: translateY(24px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}
.hero.is-in .chip { opacity: 1; transform: none; }
.chip strong { font-family: var(--f-display); font-size: 30px; line-height: 1; font-weight: 500; color: var(--arch); }
.chip span { font-size: 13px; font-weight: 600; line-height: 1.3; }
.chip--1 { top: 12%; left: -4%; transition-delay: 900ms; }
.chip--2 { top: 46%; right: -6%; transition-delay: 1050ms; }
.chip--3 { bottom: 6%; left: 4%; transition-delay: 1200ms; }
.float { animation: float 6s ease-in-out infinite; }
.chip--2 .float-inner, .chip--2.float { animation-duration: 7s; animation-delay: -2s; }
.chip--3.float { animation-duration: 5.4s; animation-delay: -4s; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px);
  background: radial-gradient(60% 80% at 90% 10%, rgba(0,73,255,.12), transparent 70%), linear-gradient(180deg, #EAF0FF, var(--pane));
}
.page-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero--text .page-hero-grid { grid-template-columns: 1fr; max-width: 860px; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); }
.page-hero .lead { margin: 18px 0 30px; }
.page-hero-media { position: relative; }
.page-hero-media .arch-img { aspect-ratio: 4 / 4.6; box-shadow: var(--shadow-lg); }
.page-hero-media .chip { opacity: 1; transform: none; bottom: 8%; left: -10%; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; font-weight: 600; margin-bottom: 26px; color: var(--slate); }
.crumbs a { color: var(--slate); }
.crumbs a:hover { color: var(--arch); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--slate-light); }
.crumbs [aria-current] { color: var(--ink); }

/* ---------- Arch image ---------- */
.arch-img { position: relative; overflow: hidden; border-radius: var(--r-arch); background: var(--arch-mist); isolation: isolate; }
.arch-img picture { display: block; width: 100%; height: 100%; }
.arch-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.arch-img[data-parallax] picture { height: 118%; margin-top: -9%; }
a:hover .arch-img img, .arch-img:hover img { transform: scale(1.06); }

/* ---------- Marquee ---------- */
.marquee { position: relative; overflow: hidden; padding: 28px 0; border-block: 1px solid var(--line); background: var(--paper); }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 1; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--paper), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--paper), transparent); }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--f-display); font-size: clamp(22px, 2.4vw, 30px); color: var(--ink); opacity: .55; white-space: nowrap; display: inline-flex; align-items: center; gap: 64px; transition: opacity var(--t-micro); }
.marquee-track span:hover { opacity: 1; color: var(--arch); }
.marquee-track span::after { content: ""; width: 8px; height: 10px; border-radius: 8px 8px 1px 1px; background: var(--brass); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Bento services ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.bento--related { grid-template-columns: repeat(5, 1fr); }
.bento--related .tile { grid-column: auto; }
.bento--related .tile h3 { font-size: 1.2rem; }
.bento--related .tile p { font-size: 14.5px; }
.tile {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line); border-radius: 26px; padding: 14px 14px 26px;
  box-shadow: var(--shadow-sm); color: var(--slate);
  transition: box-shadow 400ms var(--ease), transform 400ms var(--ease), border-color 400ms var(--ease);
  transform-style: preserve-3d; cursor: pointer;
}
.tile:hover { box-shadow: var(--shadow-lg); border-color: var(--line-blue); }
.tile .arch-img { aspect-ratio: 4 / 3; border-radius: 180px 180px 14px 14px; margin-bottom: 22px; transform: translateZ(24px); }
.tile--xl { grid-column: span 6; }
.tile--xl .arch-img { aspect-ratio: 16 / 11; border-radius: 280px 280px 14px 14px; }
.tile--md { grid-column: span 3; }
.tile-body { padding: 0 12px; display: flex; flex-direction: column; flex: 1; }
.tile h3 { margin-bottom: 8px; }
.tile p { font-size: 15.5px; margin-bottom: 18px; }
.tile .link-arrow { margin-top: auto; }
.tile-tag { position: absolute; top: 26px; left: 26px; z-index: 2; padding: 6px 12px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--glass-strong); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); border-radius: 999px; color: var(--ink); }
.band { margin-top: 20px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.band-item { display: flex; gap: 18px; align-items: flex-start; padding: 26px; border-radius: 22px; background: var(--midnight); color: #C9D2E6; }
.band-item h3 { color: #fff; font-size: 1.3rem; margin-bottom: 6px; }
.band-item p { font-size: 15px; margin: 0; }

.icon-box { flex: none; width: 52px; height: 52px; border-radius: 26px 26px 10px 10px; display: grid; place-items: center; background: var(--arch-mist); color: var(--arch); }
.icon-box svg { width: 24px; height: 24px; }
.band-item .icon-box, .storm .icon-box { background: rgba(0,73,255,.22); color: #A9BEFF; }

/* ---------- Storm section ---------- */
.storm { position: relative; overflow: hidden; color: #C9D2E6; background: var(--midnight); isolation: isolate; }
.storm-bg { position: absolute; inset: -12% 0; z-index: -2; }
.storm-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; filter: grayscale(.4) contrast(1.1); }
.storm::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 60% at 20% 0%, rgba(0,73,255,.35), transparent 60%), linear-gradient(180deg, rgba(7,15,43,.6), rgba(7,15,43,.92)); }
.storm::after { /* rain */
  content: ""; position: absolute; inset: -50% -10%; z-index: -1; pointer-events: none; opacity: .22;
  background-image: repeating-linear-gradient(105deg, transparent 0 22px, rgba(200,215,255,.5) 22px 23px, transparent 23px 60px);
  animation: rain 1.4s linear infinite;
}
@keyframes rain { to { transform: translate3d(-40px, 120px, 0); } }
.storm h2, .storm h3 { color: #fff; }
.storm h2 em { color: #8FAAFF; }
.storm .lead { color: #C9D2E6; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat {
  padding: 28px 24px; border-radius: 22px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 20px 40px rgba(0,0,0,.25);
  transition: transform 400ms var(--ease), background-color 400ms var(--ease);
}
.stat:hover { background: rgba(255,255,255,.1); }
.stat-num { font-family: var(--f-display); font-size: clamp(2.6rem, 4.5vw, 3.8rem); line-height: 1; color: #fff; font-weight: 400; margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.stat-num small { font-size: .45em; color: #8FAAFF; margin-left: 4px; }
.stat h3 { font-family: var(--f-ui); font-size: 16px; font-weight: 700; margin-bottom: 6px; letter-spacing: 0; }
.stat p { font-size: 14.5px; margin: 0; color: #AEB9D3; }

/* ---------- Split sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split-media { position: relative; }
.split-media .arch-img { aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); }
.split-media .chip { opacity: 1; transform: none; right: -6%; bottom: 10%; }
.check-list { display: grid; gap: 14px; margin: 28px 0 34px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.check-list svg { flex: none; width: 24px; height: 24px; padding: 4px; border-radius: 8px; background: var(--arch-mist); color: var(--arch); margin-top: 1px; }
.check-list small { display: block; color: var(--slate); font-weight: 400; font-size: 15px; }

/* ---------- Feature cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative; overflow: hidden; padding: 30px 28px; border-radius: var(--r-card);
  background: var(--glass-strong); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: box-shadow 400ms var(--ease), transform 400ms var(--ease), border-color 400ms var(--ease);
}
.card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.7) 50%, transparent 65%); transform: translateX(-110%); transition: transform 900ms var(--ease); }
.card:hover { box-shadow: var(--shadow-md); border-color: var(--line-blue); }
.card:hover::after { transform: translateX(110%); }
.card .icon-box { margin-bottom: 20px; }
.card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.card p { font-size: 15.5px; margin-bottom: 0; }
.card ul { margin-top: 16px; display: grid; gap: 8px; }
.card ul li { position: relative; padding-left: 22px; font-size: 14.5px; color: var(--ink); }
.card ul li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 8px; height: 10px; border-radius: 8px 8px 1px 1px; background: var(--arch); }
.section--sand .card { background: rgba(255,255,255,.72); }

.swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.swatch { padding: 14px 14px 18px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); text-align: center; box-shadow: var(--shadow-sm); }
.swatch i { display: block; aspect-ratio: 1 / 1.1; border-radius: 999px 999px 10px 10px; margin-bottom: 12px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08), inset 0 -20px 40px rgba(0,0,0,.08); }
.swatch strong { display: block; font-family: var(--f-display); font-weight: 500; color: var(--ink); font-size: 18px; }
.swatch span { font-size: 13px; }

/* ---------- Process ---------- */
.process { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.process::before, .process-fill { content: ""; position: absolute; top: 31px; left: 32px; right: 32px; height: 2px; background: var(--line); }
.process-fill { background: linear-gradient(90deg, var(--arch), var(--brass)); transform-origin: left; transform: scaleX(var(--p, 0)); }
.step { position: relative; }
.step-num { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 32px 32px 12px 12px; display: grid; place-items: center; font-family: var(--f-display); font-size: 24px; color: var(--arch); background: var(--paper); border: 1px solid var(--line-blue); box-shadow: var(--shadow-sm); margin-bottom: 22px; transition: background-color 400ms var(--ease), color 400ms var(--ease); }
.step.is-active .step-num { background: var(--arch); color: #fff; box-shadow: var(--shadow-blue); }
.step h3 { font-size: 1.3rem; margin-bottom: 8px; }
.step p { font-size: 15.5px; margin: 0; }
.process--6 { grid-template-columns: repeat(6, 1fr); gap: 22px; }
.process--6 .step h3 { font-size: 1.15rem; }
@media (min-width: 768px) and (max-width: 1180px) {
  .process--6 { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .process--6::before, .process--6 .process-fill { display: none; }
}

/* ---------- Showcase strip ---------- */
.strip { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px var(--gutter) 30px; margin: 0 calc(-1 * var(--gutter)); scrollbar-width: thin; cursor: grab; }
.strip.is-drag { cursor: grabbing; scroll-snap-type: none; }
.strip-item { flex: 0 0 clamp(240px, 26vw, 320px); scroll-snap-align: start; }
.strip-item .arch-img { aspect-ratio: 3 / 4; box-shadow: var(--shadow-md); }
.strip-item figcaption { margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--ink); }
.strip-item img { pointer-events: none; }

/* ---------- Reviews ---------- */
.reviews-head { display: flex; justify-content: space-between; align-items: end; gap: 28px; flex-wrap: wrap; margin-bottom: 36px; }
.g-badge { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px 10px 12px; border-radius: 999px; background: var(--paper); box-shadow: var(--shadow-sm); border: 1px solid var(--line); font-weight: 700; color: var(--ink); font-size: 14px; margin-bottom: 18px; }
.g-badge svg { width: 22px; height: 22px; }
.reviews-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.tab { min-height: 44px; padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--ink); background: var(--paper); border: 1px solid var(--line); transition: background-color var(--t-micro) var(--ease), color var(--t-micro) var(--ease), border-color var(--t-micro) var(--ease); }
.tab:hover { border-color: var(--arch); color: var(--arch); }
.tab[aria-selected="true"] { background: var(--arch); border-color: var(--arch); color: #fff; box-shadow: var(--shadow-blue); }
.tab .count { margin-left: 6px; opacity: .7; font-weight: 600; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.review {
  position: relative; padding: 28px; border-radius: var(--r-card);
  background: var(--glass-strong); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border); box-shadow: var(--shadow-md);
  transition: opacity 400ms var(--ease), transform 400ms var(--ease), box-shadow 400ms var(--ease);
}
.review.is-hidden { display: none; }
.review:hover { box-shadow: var(--shadow-lg); }
.review-top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.avatar { flex: none; width: 46px; height: 46px; border-radius: 23px 23px 8px 8px; display: grid; place-items: center; font-family: var(--f-display); font-size: 20px; color: #fff; background: linear-gradient(135deg, var(--arch), var(--midnight-2)); }
.review-name { font-weight: 700; color: var(--ink); line-height: 1.3; }
.review-meta { font-size: 13px; color: var(--slate); }
.stars { display: flex; gap: 2px; color: var(--star); margin-bottom: 12px; }
.stars svg { width: 18px; height: 18px; }
.review blockquote { margin: 0 0 16px; font-size: 15.5px; color: var(--ink); line-height: 1.6; }
.review blockquote.is-clamped { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.review-more { font-size: 14px; font-weight: 700; color: var(--arch); min-height: 32px; margin: -8px 0 12px; }
.review-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12.5px; font-weight: 600; }
.review-tag { color: var(--slate); }
.review-src { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); }
.review-src svg { width: 16px; height: 16px; }

/* ---------- Video + map facades ---------- */
.facade { position: relative; display: block; width: 100%; overflow: hidden; border-radius: 28px; aspect-ratio: 16 / 10; background: var(--midnight); box-shadow: var(--shadow-lg); cursor: pointer; }
.facade img, .facade picture { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease), opacity 400ms; }
.facade:hover img { transform: scale(1.04); }
.facade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(7,15,43,.7)); }
.facade-play { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; background: var(--glass); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); border: 1px solid var(--glass-border); box-shadow: var(--shadow-lg); transition: transform 300ms var(--ease); }
.facade:hover .facade-play { transform: translate(-50%, -50%) scale(1.08); }
.facade-play svg { width: 30px; height: 30px; color: var(--arch); margin-left: 4px; }
.facade-label { position: absolute; z-index: 2; left: 24px; bottom: 20px; color: #fff; font-weight: 700; font-size: 15px; }
.facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.facade.is-loaded::after { display: none; }
.facade--map { aspect-ratio: 16 / 9; background: #E9EEF8; }
.facade--map::after { background: linear-gradient(180deg, transparent 55%, rgba(7,15,43,.55)); }
.map-art { position: absolute; inset: 0; background-color: #EEF2FA; background-image: linear-gradient(var(--line-blue) 1px, transparent 1px), linear-gradient(90deg, var(--line-blue) 1px, transparent 1px); background-size: 44px 44px; }
.map-art .road { position: absolute; background: #fff; box-shadow: 0 0 0 1px rgba(0,73,255,.12); }
.map-art .r1 { left: 38%; top: -10%; width: 22px; height: 120%; transform: rotate(8deg); background: #FFE9B8; }
.map-art .r2 { left: -10%; top: 48%; width: 120%; height: 14px; transform: rotate(-4deg); }
.map-art .r3 { left: -10%; top: 22%; width: 70%; height: 10px; transform: rotate(12deg); }
.map-art .water { position: absolute; right: -6%; top: 58%; width: 38%; height: 60%; border-radius: 50%; background: #CFE0FF; }
.map-pin { position: absolute; left: 41%; top: 30%; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 22px 22px 22px 4px; transform: rotate(-45deg); background: var(--arch); box-shadow: var(--shadow-blue); }
.map-pin svg { width: 22px; height: 22px; color: #fff; transform: rotate(45deg); }
.facade--map .facade-play { left: auto; right: 24px; top: 24px; transform: none; width: 64px; height: 64px; }
.facade--map:hover .facade-play { transform: scale(1.06); }
.facade--map .facade-play svg { margin: 0; }
.info-list { display: grid; gap: 18px; margin: 26px 0 30px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink); }
.info-list .icon-box { width: 44px; height: 44px; }
.info-list .icon-box svg { width: 20px; height: 20px; }
.info-list small { display: block; color: var(--slate); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.info-list a { color: var(--ink); font-weight: 600; }
.info-list a:hover { color: var(--arch); }
.hours { width: 100%; border-collapse: collapse; font-size: 15px; }
.hours td { padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.hours td:last-child { text-align: right; color: var(--slate); }
.hours tr.is-today td { color: var(--arch); font-weight: 700; }

/* ---------- Chips ---------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; background: var(--glass-strong); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-weight: 700; color: var(--ink); font-size: 15px; }
.pill svg { width: 20px; height: 20px; color: var(--arch); }
.pill--sm { padding: 8px 14px; font-size: 14px; font-weight: 600; }
.discount { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: 32px; background: linear-gradient(120deg, var(--arch), #2A63FF 50%, var(--arch-deep)); color: #E6EDFF; box-shadow: var(--shadow-blue); position: relative; overflow: hidden; }
.discount::before { content: ""; position: absolute; right: -80px; top: -120px; width: 380px; height: 500px; border: 1.5px solid rgba(255,255,255,.2); border-radius: 999px 999px 0 0; }
.discount h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 10px; }
.discount .pill { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.25); box-shadow: none; backdrop-filter: blur(10px); }
.discount .pill svg { color: #fff; }

/* ---------- FAQ ---------- */
.faq-group + .faq-group { margin-top: 48px; }
.faq-group h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 18px; }
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 18px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: box-shadow var(--t-micro) var(--ease), border-color var(--t-micro) var(--ease); }
.faq details[open] { border-color: var(--line-blue); box-shadow: var(--shadow-md); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 24px; cursor: pointer; font-family: var(--f-display); font-size: 1.15rem; color: var(--ink); font-weight: 500; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--arch-mist); transition: background-color var(--t-micro), transform 300ms var(--ease); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--arch); border-radius: 2px; transition: transform 300ms var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { background: var(--arch); transform: rotate(180deg); }
.faq details[open] summary i::before { background: #fff; }
.faq details[open] summary i::after { transform: rotate(0deg); background: #fff; }
.faq-answer { padding: 0 24px 22px; font-size: 16px; }
.faq-answer p:last-child { margin: 0; }

/* ---------- Form ---------- */
.inquiry { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.inquiry-card { position: relative; padding: clamp(24px, 4vw, 44px); border-radius: 28px; background: var(--glass-strong); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); border: 1px solid var(--glass-border); box-shadow: var(--shadow-lg); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 58px; padding: 24px 16px 8px;
  font-size: 16px; color: var(--ink); background: var(--paper);
  border: 1px solid rgba(11,13,18,.14); border-radius: var(--r-btn);
  transition: border-color var(--t-micro) var(--ease), box-shadow var(--t-micro) var(--ease);
  appearance: none; -webkit-appearance: none;
}
.field textarea { min-height: 128px; resize: vertical; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A5468' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; cursor: pointer; }
.field label { position: absolute; left: 17px; top: 18px; font-size: 16px; color: var(--slate); pointer-events: none; transform-origin: left top; transition: transform var(--t-micro) var(--ease), color var(--t-micro) var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--arch); box-shadow: 0 0 0 4px var(--arch-glow); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { transform: translateY(-10px) scale(.76); color: var(--arch); font-weight: 600; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #C62828; }
.field-error { display: none; font-size: 13px; color: #B3261E; margin-top: 6px; font-weight: 600; }
.field.is-invalid .field-error { display: block; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13px; margin: 14px 0 0; text-align: center; }
.form-note a { text-decoration: underline; }
.form-status { display: none; text-align: center; padding: 40px 10px; }
.form-status.is-shown { display: block; animation: rise 600ms var(--ease); }
.form-status h3 { margin-top: 18px; }
.check-anim { width: 84px; height: 84px; margin: 0 auto; }
.check-anim circle { stroke: var(--arch); stroke-width: 3; fill: var(--arch-mist); stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 800ms var(--ease) forwards; }
.check-anim path { stroke: var(--arch); stroke-width: 4; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw 500ms var(--ease) 600ms forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.btn.is-loading { pointer-events: none; color: transparent; }
.btn.is-loading::before { content: ""; position: absolute; width: 22px; height: 22px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin 700ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-error-msg { display: none; margin-top: 12px; padding: 12px 14px; border-radius: 10px; background: #FDECEA; color: #8C1D18; font-size: 14px; font-weight: 600; }
.form-error-msg.is-shown { display: block; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; padding: clamp(80px, 11vw, 150px) 0; isolation: isolate; }
.cta-band-bg { position: absolute; inset: -12% 0; z-index: -2; }
.cta-band-bg picture, .storm-bg picture { display: block; width: 100%; height: 100%; }
.cta-band-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,15,43,.35), rgba(7,15,43,.6)); }
.cta-card { max-width: 720px; margin: 0 auto; text-align: center; padding: clamp(56px, 7vw, 88px) clamp(24px, 5vw, 64px) clamp(40px, 5vw, 56px); border-radius: 360px 360px 32px 32px; background: var(--glass); backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%); border: 1px solid var(--glass-border); box-shadow: var(--shadow-lg); }
.cta-card .eyebrow { justify-content: center; }
.cta-card h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.cta-card p { color: var(--ink); max-width: 46ch; margin: 0 auto 28px; }
.cta-card .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--midnight); color: #AEB9D3; padding: clamp(64px, 8vw, 100px) 0 0; font-size: 15px; overflow: hidden; }
.footer::before { content: ""; position: absolute; right: -10%; top: -30%; width: 60vw; max-width: 760px; aspect-ratio: 3 / 4; border: 1px solid rgba(143,170,255,.12); border-radius: 999px 999px 0 0; pointer-events: none; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer-logo { display: inline-block; padding: 12px 16px; border-radius: 60px 60px 16px 16px; background: #fff; box-shadow: var(--shadow-md); margin-bottom: 22px; }
.footer-logo img { height: 72px; width: auto; }
.footer h2 { font-family: var(--f-ui); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.footer a { color: #D4DBEC; }
.footer a:hover { color: #fff; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { display: inline-block; padding: 2px 0; }
.footer-contact { display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: #7F9CFF; }
.footer .socials { margin-top: 22px; }
.footer .socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.14); }
.footer .socials svg { width: 18px; height: 18px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.badges span { font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(201,164,92,.4); color: var(--brass); }
.footer-hours { width: 100%; font-size: 14px; border-collapse: collapse; margin-top: 16px; }
.footer-hours td { padding: 4px 0; }
.footer-hours td:last-child { text-align: right; color: #D4DBEC; }
.footer-bottom { position: relative; border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; font-size: 13.5px; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.credit a { color: #fff; font-weight: 700; }
.credit a:hover { color: #8FAAFF; }

/* ---------- Gallery ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.masonry { columns: 4 260px; column-gap: 18px; }
.m-item { break-inside: avoid; margin: 0 0 18px; position: relative; display: block; width: 100%; border-radius: 18px; overflow: hidden; cursor: zoom-in; box-shadow: var(--shadow-sm); background: var(--arch-mist); transition: box-shadow 400ms var(--ease), opacity 400ms var(--ease), transform 400ms var(--ease); text-align: left; }
.m-item:first-child, .m-item:nth-child(7n) { border-radius: 200px 200px 18px 18px; }
.m-item img { width: 100%; transition: transform 900ms var(--ease); }
.m-item:hover { box-shadow: var(--shadow-lg); }
.m-item:hover img { transform: scale(1.05); }
.m-item figcaption { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 10px 14px; border-radius: 12px; font-size: 13px; font-weight: 700; color: var(--ink); background: var(--glass-strong); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); opacity: 0; transform: translateY(10px); transition: opacity 300ms var(--ease), transform 300ms var(--ease); }
.m-item:hover figcaption, .m-item:focus-visible figcaption { opacity: 1; transform: none; }
.m-item.is-hidden { display: none; }
.lightbox { position: fixed; inset: 0; z-index: var(--z-lightbox); display: grid; grid-template-rows: 1fr auto; place-items: center; background: rgba(7,15,43,.94); backdrop-filter: blur(10px); padding: 64px 16px 20px; opacity: 0; visibility: hidden; transition: opacity 300ms var(--ease), visibility 0s linear 300ms; }
.lightbox.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.lightbox img { max-height: calc(100vh - 150px); width: auto; max-width: min(1200px, 100%); border-radius: 16px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox-cap { color: #D4DBEC; font-size: 15px; text-align: center; padding-top: 14px; }
.lightbox-cap span { color: #8FAAFF; margin-left: 10px; font-variant-numeric: tabular-nums; }
.lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); transition: background-color var(--t-micro); }
.lb-btn:hover { background: rgba(255,255,255,.2); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

.ba-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.ba { margin: 0; }
.ba-frame { position: relative; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-md); background: var(--midnight); --pos: 50%; }
.ba-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-frame picture, .ba-after { position: absolute; inset: 0; }
.ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.ba-line::after { content: ""; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: var(--glass-strong) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230049FF' stroke-width='2.5'%3E%3Cpath d='m9 18-6-6 6-6M15 6l6 6-6 6'/%3E%3C/svg%3E") center / 22px no-repeat; box-shadow: var(--shadow-md); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-label { position: absolute; top: 12px; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--glass-strong); color: var(--ink); pointer-events: none; }
.ba-label--b { left: 12px; } .ba-label--a { right: 12px; }
.ba figcaption { margin-top: 12px; font-weight: 700; color: var(--ink); }
.ba-range:focus-visible + .ba-line::after { outline: 3px solid var(--arch); outline-offset: 2px; }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.post-card { display: flex; flex-direction: column; border-radius: 26px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--slate); transition: box-shadow 400ms var(--ease), border-color 400ms var(--ease); }
.post-card:hover { box-shadow: var(--shadow-lg); border-color: var(--line-blue); }
.post-card .arch-img { aspect-ratio: 16 / 10; border-radius: 0; }
.post-card-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.post-card h2, .post-card h3 { font-size: 1.5rem; margin: 10px 0 12px; }
.post-meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: 13px; font-weight: 600; color: var(--slate); }
.post-meta .cat { color: var(--arch); text-transform: uppercase; letter-spacing: .1em; }
.post-card p { font-size: 15.5px; }
.post-card .link-arrow { margin-top: auto; }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.post-body { font-size: 18px; color: #2E3545; }
.post-body > p:first-of-type { font-size: 1.2rem; color: var(--ink); }
.post-aside { position: sticky; top: 140px; display: grid; gap: 18px; }
.toc { padding: 24px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.toc h2 { font-family: var(--f-ui); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 12px; color: var(--ink); }
.toc a { display: block; padding: 6px 0 6px 14px; font-size: 14px; color: var(--slate); border-left: 2px solid var(--line); transition: color var(--t-micro), border-color var(--t-micro); line-height: 1.4; }
.toc a:hover, .toc a.is-active { color: var(--arch); border-color: var(--arch); }
.aside-cta { padding: 26px; border-radius: 24px; background: var(--midnight); color: #C9D2E6; }
.aside-cta h2 { color: #fff; font-size: 1.4rem; }
.aside-cta p { font-size: 15px; }
.author-box { display: flex; gap: 18px; align-items: center; margin-top: 48px; padding: 24px; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); }
.author-box img { width: 72px; height: auto; flex: none; }
.author-box strong { color: var(--ink); display: block; }
.author-box p { margin: 0; font-size: 15px; }
.progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 90; background: linear-gradient(90deg, var(--arch), var(--brass)); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* ---------- 404 ---------- */
.nf { text-align: center; }
.nf-arch { width: 200px; height: 260px; margin: 0 auto 32px; border: 3px solid var(--arch); border-radius: 999px 999px 12px 12px; position: relative; display: grid; place-items: center; font-family: var(--f-display); font-size: 64px; color: var(--arch); background: linear-gradient(180deg, var(--arch-mist), transparent); }
.nf-arch::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; background: var(--arch); opacity: .25; }
.nf .pill-row { justify-content: center; margin-top: 28px; }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity var(--t-reveal) var(--ease), transform var(--t-reveal) var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal="scale"] { transform: scale(.96); }
.js [data-reveal="left"] { transform: translateX(-28px); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
[data-tilt] { transition: transform 500ms var(--ease), box-shadow 400ms var(--ease), border-color 400ms var(--ease); will-change: transform; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav-link { padding: 10px 10px; font-size: 14.5px; }
  .nav-link::after { left: 10px; right: 10px; }
  .topbar-hours { display: none; }
}
@media (max-width: 1024px) {
  :root { --nav-h: 76px; }
  .nav, .header-cta .btn { display: none; }
  .burger { display: inline-flex; }
  .logo img { height: 54px; }
  .is-scrolled .header { height: 64px; }
  .is-scrolled .logo img { height: 42px; }
  .hero-grid, .page-hero-grid, .split, .inquiry, .post-layout { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .hero-visual { min-height: 0; padding: 20px 0 10px; }
  .arch-frame { width: min(400px, 86%); }
  .arch-outline { width: 90%; right: -10%; }
  .bento, .bento--related { grid-template-columns: repeat(2, 1fr); }
  .tile--xl, .tile--md { grid-column: span 1; }
  .stat-grid, .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .post-aside { position: static; }
  .page-hero-media { max-width: 520px; }
}
@media (max-width: 767px) {
  :root { --top-h: 34px; --nav-h: 68px; }
  body { font-size: 16.5px; padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .topbar-email, .topbar-addr, .topbar-lic { display: none; }
  .topbar a { font-size: 13px; }
  .socials a { width: 30px; height: 30px; }
  .logo img { height: 48px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .chip { padding: 10px 14px; border-radius: 14px; }
  .chip strong { font-size: 22px; }
  .chip span { font-size: 12px; }
  .chip--1 { left: 0; } .chip--2 { right: 0; } .chip--3 { left: 6%; }
  .bento, .cards, .cards--2, .review-grid, .band, .post-grid, .form-grid { grid-template-columns: 1fr; }
  .stat-grid, .cards--4, .swatches { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 22px 18px; }
  .process { grid-template-columns: 1fr; gap: 26px; }
  .process::before, .process-fill { left: 31px; right: auto; top: 32px; bottom: 32px; width: 2px; height: auto; }
  .process-fill { transform: scaleY(var(--p, 0)); transform-origin: top; }
  .step { display: grid; grid-template-columns: 64px 1fr; gap: 0 18px; }
  .step-num { margin: 0; grid-row: span 2; }
  .discount { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .masonry { columns: 2 150px; column-gap: 10px; }
  .m-item { margin-bottom: 10px; }
  .m-item figcaption { display: none; }
  .page-hero-media .chip { left: 0; }
  .split-media .chip { right: 0; }
  .cta-card { border-radius: 200px 200px 24px 24px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
  .lightbox { padding-bottom: 84px; }

  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-mobilebar);
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: var(--glass-strong); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
    border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(7,15,43,.1);
  }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; border-radius: 14px; font-weight: 800; font-size: 15px; }
  .mobile-bar svg { width: 20px; height: 20px; }
  .mb-call { background: var(--arch); color: #fff; box-shadow: var(--shadow-blue); }
  .mb-wa { background: var(--wa); color: var(--ink); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .chip, .hero h1 .word > span { opacity: 1 !important; transform: none !important; }
  .arch-frame { clip-path: none !important; }
  .mullions i { transform: none !important; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; gap: 24px 40px; }
  .storm::after { display: none; }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :root { --glass: rgba(255,255,255,.95); --glass-strong: #fff; }
}
