:root {
  --color-bg: #ffffff;
  --color-surface: #f6f6f4;
  --color-surface-strong: #ecece8;
  --color-text: #1c1c1c;
  --color-muted: #666666;
  --color-border: #d8d8d2;
  --color-accent: #2f5f5a;
  --color-accent-contrast: #ffffff;
  --font-body: Arial, Helvetica, sans-serif;
  --font-display: Arial, Helvetica, sans-serif;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --shadow-soft: 0 1rem 2.5rem rgb(0 0 0 / 0.08);
  --header-height: 76px;
  --content-width: 1120px;
}

/* V3 editorial motion skin: client-neutral by design. */
:root {
  --v3-ink: #07132d;
  --v3-electric: #ff2462;
  --v3-mint: #78e4d2;
  --v3-blue: #384fff;
  --v3-paper: #f2f1eb;
}

.site-header {
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: rgba(7,19,45,.96);
  color: #fff;
  box-shadow: 0 12px 48px rgba(7,19,45,.2);
  backdrop-filter: blur(18px);
}
.site-header .brand,.site-header a,.menu-button { color:#fff; }
.brand-mark { border-radius: .35rem 50% .35rem 50%; background:linear-gradient(135deg,var(--v3-mint) 0 44%,var(--v3-electric) 44% 70%,#fff 70%); transform:rotate(7deg); }
.header-cta,.drawer-cta { border-radius:999px; background:var(--v3-mint); color:var(--v3-ink)!important; }

.hero { min-height:calc(100svh - var(--header-height)); background:var(--v3-electric); color:var(--v3-ink); isolation:isolate; }
.hero-background-slot { inset:0 0 0 46%; overflow:hidden; background:var(--v3-ink); }
.hero-background-slot::before,.hero-background-slot::after { content:""; position:absolute; z-index:1; pointer-events:none; }
.hero-background-slot::before { width:64%; aspect-ratio:1; right:-12%; top:-10%; border-radius:50%; background:var(--v3-mint); }
.hero-background-slot::after { width:42%; height:122%; left:8%; top:-9%; border:clamp(2.5rem,6vw,6rem) solid var(--v3-paper); border-radius:50%; transform:rotate(24deg); }
.hero-background-slot > [data-shell-sculpture] { --shell-sculpture-spin:0deg; --shell-sculpture-rise:0px; position:absolute; z-index:2; width:clamp(17rem,34vw,38rem); aspect-ratio:1; right:8%; bottom:-10%; border-radius:18% 62% 35% 65%; background:linear-gradient(145deg,var(--v3-blue),var(--v3-electric) 62%,var(--v3-mint)); box-shadow:inset 2rem 2rem 5rem rgba(255,255,255,.12),0 3rem 8rem rgba(0,0,0,.35); transform:translate3d(0,var(--shell-sculpture-rise),0) rotate(var(--shell-sculpture-spin)); will-change:transform; }
.hero-scrim { background:linear-gradient(90deg,var(--v3-electric) 0 43%,rgba(255,36,98,.88) 52%,transparent 68%); }
.hero-content { position:relative; z-index:3; }
.hero-copy { max-width:min(53rem,60vw); color:var(--v3-ink); }
.hero-copy .eyebrow { color:var(--v3-ink); font-weight:800; }
.hero-copy h1 { max-width:54rem; font-size:clamp(4.5rem,9.2vw,9rem); font-weight:850; line-height:.79; letter-spacing:-.085em; text-wrap:balance; }
.hero-copy .lede { max-width:36rem; color:rgba(7,19,45,.78); font-size:clamp(1rem,1.6vw,1.25rem); }
.hero .button-primary { border-radius:999px; background:var(--v3-ink); color:#fff; }
.hero .button-secondary { border-radius:999px; border-color:var(--v3-ink); color:var(--v3-ink); }
.hero-badge-row { display:none; }
.hero-proof { color:var(--v3-ink); font-weight:700; }

.conversion { background:var(--v3-paper); color:var(--v3-ink); }
.conversion h2,.section-heading h2 { font-weight:800; letter-spacing:-.065em; }
.conversion .feature-card { border-radius:1.5rem; border-color:rgba(7,19,45,.16); background:#fff; }

#services { background:var(--v3-paper); color:var(--v3-ink); }
#services .section-heading h2 { max-width:61rem; font-size:clamp(3.3rem,7vw,7rem); line-height:.86; }
.service-grid { display:block; max-width:72rem; margin-inline:auto; padding-bottom:max(88px,12svh); }
.service-grid > [data-motion-stack-card] { position:sticky; top:calc(var(--header-height) + var(--motion-stack-offset)); z-index:calc(10 + var(--motion-stack-index)); display:grid; min-height:0; height:min(66svh,37rem); grid-template-columns:minmax(8rem,.56fr) 1fr; grid-template-rows:auto 1fr; gap:1rem 3rem; align-items:center; margin:0; padding:clamp(1.3rem,4vw,3.5rem); border:1px solid rgba(7,19,45,.18); border-radius:1.8rem; background:#fff; color:var(--v3-ink); box-shadow:0 1.3rem 3.5rem rgba(7,19,45,.14); transform:translate3d(0,var(--motion-stack-lift),0) scale(var(--motion-stack-scale)); transform-origin:top center; }
.service-grid > [data-motion-stack-card]:nth-child(2) { background:var(--v3-ink); color:#fff; }
.service-grid > [data-motion-stack-card]:nth-child(3) { background:var(--v3-mint); color:var(--v3-ink); }
.service-grid .icon-slot { grid-row:1/3; width:min(13rem,100%); aspect-ratio:1; border:2px solid currentColor; border-radius:50%; transform:translate3d(var(--motion-tilt-x,0),calc(var(--motion-media-shift,0px) + var(--motion-tilt-y,0)),0); }
.service-grid .icon-slot::after { content:""; display:block; width:35%; aspect-ratio:1; margin:32%; border-radius:17% 55% 23% 65%; background:currentColor; }
.service-grid h3 { align-self:end; font-size:clamp(2.4rem,5vw,5rem); font-weight:850; line-height:.84; letter-spacing:-.075em; }
.service-grid p { align-self:start; max-width:34rem; font-size:clamp(.95rem,1.5vw,1.15rem); line-height:1.65; opacity:.72; }

.about-section { min-height:75svh; background:var(--v3-blue); color:#fff; }
.about-section .section-background-slot { display:none; }
.about-section .section-scrim { background:radial-gradient(circle at 12% 72%,rgba(120,228,210,.44),transparent 18rem),linear-gradient(125deg,transparent 55%,rgba(7,19,45,.35)); }
.about-section h2 { font-size:clamp(3rem,7vw,7rem); font-weight:850; line-height:.84; letter-spacing:-.075em; }
.proof-item { border-radius:999px; border-color:rgba(255,255,255,.3); }

.gallery-section { background:var(--v3-ink); color:#fff; }
.gallery-section .section-heading h2 { font-size:clamp(3rem,7vw,7rem); line-height:.86; }
.media-slot { border-radius:1.25rem; background:linear-gradient(145deg,var(--v3-blue),var(--v3-electric) 56%,var(--v3-mint)); color:#fff; }
.signature-gallery__slide:nth-child(3n+2) { background:linear-gradient(145deg,var(--v3-mint),var(--v3-ink)); }
.signature-gallery__slide:nth-child(3n) { background:linear-gradient(145deg,var(--v3-electric),#ffb35b); }

.process-section { background:var(--v3-paper); color:var(--v3-ink); }
.process-section .section-background-slot { display:none; }
.process-section .section-scrim { background:linear-gradient(130deg,transparent 38%,rgba(56,79,255,.08)); }
.motion-story__pin [data-motion-story-word] { color:var(--v3-blue); font-weight:850; letter-spacing:-.085em; }
.process-list li { border-color:rgba(7,19,45,.2); }

.contact-section { background:var(--v3-electric); color:var(--v3-ink); }
.contact-panel { border-radius:1.8rem; border-color:var(--v3-ink); background:var(--v3-paper); }
.site-footer { background:var(--v3-ink); color:#fff; }

@media (max-width:767px) {
  .site-header { background:rgba(7,19,45,.98); }
  .mobile-drawer { background:rgba(7,19,45,.98); }
  .hero { min-height:calc(100svh - var(--header-height)); }
  .hero-background-slot { inset:42% -28% -10% 24%; border-radius:48% 48% 0 0; }
  .hero-background-slot::before { width:78%; }
  .hero-background-slot::after { width:48%; border-width:2rem; }
  .hero-background-slot > [data-shell-sculpture] { width:24rem; right:-3rem; bottom:-8rem; }
  .hero-scrim { background:linear-gradient(180deg,var(--v3-electric) 0 47%,rgba(255,36,98,.84) 61%,transparent 84%); }
  .hero-copy { max-width:100%; align-self:start; padding-top:clamp(2.2rem,7vh,4rem); }
  .hero-copy h1 { max-width:20rem; font-size:clamp(4rem,19vw,5.8rem); }
  .hero-copy .lede { max-width:20rem; font-size:1rem; line-height:1.45; }
  .hero .button-row { max-width:20rem; }
  .hero .button { width:100%; min-height:3.35rem; }
  .hero-proof { max-width:18rem; font-size:.76rem; }
  #services { padding-inline:1rem; }
  #services .section-heading h2 { font-size:clamp(3.1rem,15vw,4.7rem); }
  .service-grid > [data-motion-stack-card] { height:min(66svh,34rem); grid-template-columns:1fr; grid-template-rows:auto auto 1fr; gap:.9rem; padding:1.25rem; border-radius:1.2rem; }
  .service-grid .icon-slot { grid-row:auto; width:5.3rem; }
  .service-grid h3 { align-self:auto; font-size:clamp(2.3rem,11.5vw,3.4rem); }
  .service-grid p { font-size:.86rem; line-height:1.5; }
  .about-section h2,.gallery-section .section-heading h2 { font-size:clamp(3.1rem,15vw,4.7rem); }
}

@media (prefers-reduced-motion:reduce) {
  .hero-background-slot > [data-shell-sculpture] { transform:none; }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.5;
}

body.drawer-open {
  overflow: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--color-accent), white 25%);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  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: var(--space-4);
  top: var(--space-4);
  z-index: 1000;
  transform: translateY(-150%);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  background: var(--color-accent);
  color: var(--color-accent-contrast);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(100% - 2rem, var(--content-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  min-height: var(--header-height);
  overflow: visible;
  isolation: isolate;
  border-bottom: 1px solid var(--color-border);
  background: color-mix(in srgb, var(--color-bg), transparent 5%);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-width: 0;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  font-weight: 700;
}

.brand-mark {
  flex: 0 0 auto;
  width: 2.25rem;
  aspect-ratio: 1;
  overflow: visible;
  border: 1px dashed var(--color-border);
  border-radius: 50%;
  background: var(--color-surface);
}

.brand-mark img,
[data-header-logo] img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

[data-header-logo] {
  object-fit: contain;
}

.brand-text {
  min-width: 0;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.desktop-nav,
.footer-nav {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-size: 0.95rem;
}

.desktop-nav a,
.footer-nav a,
.mobile-nav a {
  text-decoration: none;
}

.header-cta,
.drawer-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 var(--space-5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 700;
}

.button-primary,
.header-cta,
.drawer-cta {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: var(--color-accent-contrast);
}

.button-secondary {
  background: var(--color-bg);
}

.button-row,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.menu-button {
  display: none;
  width: 2.75rem;
  min-width: 44px;
  min-height: 44px;
  flex: 0 0 44px;
  aspect-ratio: 1;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  color: var(--color-text);
}

.menu-button-lines,
.menu-button-lines::before,
.menu-button-lines::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  margin-inline: auto;
  background: currentColor;
  content: "";
}

.menu-button-lines {
  position: relative;
}

.menu-button-lines::before {
  position: absolute;
  inset: 0;
  transform: translateY(-0.38rem);
}

.menu-button-lines::after {
  position: absolute;
  inset: 0;
  transform: translateY(0.25rem);
}

[data-mobile-menu-state="open"] .menu-button-lines {
  background: transparent;
}

[data-mobile-menu-state="open"] .menu-button-lines::before {
  transform: rotate(45deg);
}

[data-mobile-menu-state="open"] .menu-button-lines::after {
  transform: rotate(-45deg);
}

.mobile-drawer {
  position: absolute;
  inset-inline: 0;
  top: 100%;
  width: 100%;
  max-height: calc(100vh - var(--mobile-header-height, var(--header-height)));
  max-height: calc(100dvh - var(--mobile-header-height, var(--header-height)));
  overflow-y: auto;
  overscroll-behavior: contain;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text);
  box-shadow: var(--shadow-soft);
}

.mobile-drawer[hidden] {
  display: none;
}

.mobile-nav {
  width: min(100% - 2rem, var(--content-width));
  margin-inline: auto;
  padding: var(--space-4) 0;
  display: grid;
  gap: var(--space-2);
}

.mobile-nav a {
  display: flex;
  min-width: 0;
  min-height: 44px;
  align-items: center;
  padding: 0.65rem var(--space-3);
  border-radius: var(--radius-sm);
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.mobile-nav a:hover,
.mobile-nav a:focus-visible {
  background: color-mix(in srgb, currentColor 12%, transparent);
}

.drawer-cta {
  width: min(100% - 2rem, var(--content-width));
  min-height: 44px;
  margin: 0 auto var(--space-5);
}

.section {
  scroll-margin-top: calc(var(--header-height) + 1.5rem);
  padding: var(--space-8) 0;
}

.visual-section {
  position: relative;
  overflow: clip;
}

.section-background-slot {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  min-height: 100%;
  border-block: 1px dashed var(--color-border);
  background:
    linear-gradient(135deg, rgb(255 255 255 / 0.2), rgb(0 0 0 / 0.06)),
    repeating-linear-gradient(135deg, var(--color-surface), var(--color-surface) 18px, var(--color-surface-strong) 18px, var(--color-surface-strong) 36px);
  color: color-mix(in srgb, var(--color-muted), transparent 10%);
  font-weight: 700;
  text-align: center;
}

.section-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.section-content {
  position: relative;
  z-index: 1;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: grid;
  align-items: center;
  overflow: clip;
  color: var(--color-text);
  --hero-copy-color: var(--color-text);
  --hero-muted-color: color-mix(in srgb, var(--color-text), var(--color-muted) 42%);
  --hero-outline-color: rgb(255 255 255 / 0.76);
  --hero-shadow-color: rgb(0 0 0 / 0.28);
}

.hero-background-slot {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 1px dashed var(--color-border);
  background:
    linear-gradient(135deg, rgb(255 255 255 / 0.16), rgb(0 0 0 / 0.08)),
    repeating-linear-gradient(135deg, var(--color-surface), var(--color-surface) 18px, var(--color-surface-strong) 18px, var(--color-surface-strong) 36px);
  color: color-mix(in srgb, var(--color-muted), transparent 12%);
  font-weight: 700;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: transparent;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--content-width));
  padding-block: var(--space-8);
}

.hero-copy {
  max-width: 680px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--hero-copy-color);
}

.text-on-art {
  -webkit-text-stroke: 0.35px var(--hero-outline-color);
  paint-order: stroke fill;
  text-shadow:
    -0.65px -0.65px 0 var(--hero-outline-color),
    0.65px -0.65px 0 var(--hero-outline-color),
    -0.65px 0.65px 0 var(--hero-outline-color),
    0.65px 0.65px 0 var(--hero-outline-color);
}

.split-section,
.about-grid,
.contact-panel,
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
  gap: var(--space-7);
  align-items: center;
}

.hero h1,
.section-heading h2,
.split-section h2,
.about-grid h2,
.contact-panel h2 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.05;
}

.hero h1 {
  font-size: clamp(2.75rem, 8vw, 5.75rem);
  text-shadow:
    0 1px 0 rgb(255 255 255 / 0.7),
    0 10px 30px var(--hero-shadow-color),
    0 2px 10px rgb(0 0 0 / 0.18);
  -webkit-text-stroke: 0.35px var(--hero-outline-color);
}

.hero-proof {
  margin: var(--space-5) 0 0;
  color: var(--hero-muted-color);
  font-size: 0.95rem;
}

.hero .lede {
  color: var(--hero-muted-color);
}

.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: var(--space-4) 0 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  max-width: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--hero-copy-color);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.1;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-badge-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 1rem;
  aspect-ratio: 1;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, currentColor, transparent 28%);
  background: rgb(255 255 255 / 0.24);
  overflow: hidden;
}

.hero-badge-icon::before {
  width: 0.38rem;
  aspect-ratio: 1;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.hero-badge-icon img:not([hidden]) {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-badge-icon:has(img:not([hidden]))::before {
  content: none;
}

.hero .button-secondary {
  background: rgb(255 255 255 / 0.72);
  backdrop-filter: blur(8px);
}

h2 {
  font-size: clamp(2rem, 5vw, 3.75rem);
}

h3,
p {
  margin-top: 0;
}

.lede {
  max-width: 42rem;
  color: var(--color-muted);
  font-size: 1.15rem;
}

.eyebrow {
  margin-bottom: var(--space-3);
  color: var(--color-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 760px;
  margin-bottom: var(--space-6);
}

.conversion,
.gallery-section,
.contact-section {
  background: var(--color-surface);
}

.about-section,
.process-section,
.contact-section {
  background: var(--color-surface);
}

.middle-background-slot {
  background:
    linear-gradient(135deg, rgb(255 255 255 / 0.3), rgb(0 0 0 / 0.08)),
    repeating-linear-gradient(135deg, var(--color-surface), var(--color-surface) 20px, var(--color-surface-strong) 20px, var(--color-surface-strong) 40px);
}

.middle-scrim {
  background: linear-gradient(90deg, rgb(255 255 255 / 0.88), rgb(255 255 255 / 0.68) 48%, rgb(255 255 255 / 0.36));
}

.process-background-slot {
  border-block-style: dotted;
  background:
    linear-gradient(135deg, rgb(255 255 255 / 0.6), rgb(255 255 255 / 0.32)),
    repeating-linear-gradient(135deg, var(--color-bg), var(--color-bg) 28px, var(--color-surface) 28px, var(--color-surface) 56px);
  color: color-mix(in srgb, var(--color-muted), transparent 40%);
  font-weight: 600;
}

.process-scrim {
  background: rgb(255 255 255 / 0.72);
}

.final-background-slot {
  background:
    linear-gradient(135deg, rgb(255 255 255 / 0.18), rgb(0 0 0 / 0.12)),
    repeating-linear-gradient(135deg, var(--color-surface-strong), var(--color-surface-strong) 20px, var(--color-surface) 20px, var(--color-surface) 40px);
}

.final-scrim {
  background:
    linear-gradient(90deg, rgb(255 255 255 / 0.85), rgb(255 255 255 / 0.58) 52%, rgb(255 255 255 / 0.26)),
    linear-gradient(0deg, rgb(0 0 0 / 0.14), transparent 46%);
}

.media-slot,
.icon-slot {
  display: grid;
  place-items: center;
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface-strong);
  color: var(--color-muted);
}

.icon-slot {
  width: 3rem;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
}

.card-grid,
.gallery-grid,
.process-list,
.proof-list {
  display: grid;
  gap: var(--space-4);
}

.service-grid,
.gallery-grid,
.process-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.compact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card,
.review-card,
.process-list li,
.proof-item,
.contact-panel {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  box-shadow: var(--shadow-soft);
}

.feature-card,
.review-card,
.process-list li,
.proof-item {
  padding: var(--space-5);
}

.gallery-grid .media-slot {
  min-height: 260px;
}

.signature-gallery {
  display: grid;
  gap: var(--space-4);
}

.signature-gallery__stage {
  display: block;
}

.signature-gallery__viewport {
  min-width: 0;
}

.signature-gallery__slide[hidden] {
  display: none !important;
}

.signature-gallery__control,
.signature-gallery__dots {
  display: none;
}

.signature-gallery__slide span {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
}

@media (min-width: 761px) {
  .signature-gallery.is-enhanced .signature-gallery__slide.is-entering {
    animation: signature-gallery-enter-from-right 560ms cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--gallery-enter-order, 0) * 70ms);
    will-change: opacity, transform;
  }
}

@keyframes signature-gallery-enter-from-right {
  from {
    opacity: 0;
    transform: translate3d(28px, 0, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 760px) {
  .signature-gallery__stage {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.5rem;
  }

  .signature-gallery.is-enhanced .signature-gallery__viewport {
    overflow: hidden;
  }

  .signature-gallery.is-enhanced .signature-gallery__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    grid-template-columns: none;
    gap: 0;
    transform: translateX(calc(var(--signature-gallery-offset, 0px) * -1));
    transition: transform 320ms ease;
  }

  .signature-gallery.is-enhanced .signature-gallery__slide {
    display: grid !important;
    min-height: 360px;
  }

  .signature-gallery__control {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid var(--color-accent);
    border-radius: 999px;
    background: var(--color-surface);
    color: var(--color-primary);
    cursor: pointer;
  }

  .signature-gallery__dots {
    display: flex;
    justify-content: center;
    gap: 0.45rem;
  }

  .signature-gallery__dot {
    width: 0.7rem;
    height: 0.7rem;
    padding: 0;
    border: 1px solid var(--color-accent);
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
  }

  .signature-gallery__dot[aria-current="true"] {
    background: var(--color-accent);
  }

  .signature-gallery__control:focus-visible,
  .signature-gallery__dot:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .signature-gallery.is-enhanced .signature-gallery__track {
    transition: none;
  }

  .signature-gallery.is-enhanced .signature-gallery__slide.is-entering {
    animation: none !important;
  }
}

.process-list {
  padding: 0;
  list-style: none;
}

.process-list span {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  aspect-ratio: 1;
  margin-bottom: var(--space-4);
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-accent-contrast);
  font-weight: 700;
}

.review-carousel {
  --reviews-per-view: 3;
  --review-gap: var(--space-4);
  display: grid;
  gap: var(--space-5);
}

.reviews-section .section-heading {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.review-summary-card {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  max-width: 100%;
  padding: var(--space-3) var(--space-5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  box-shadow: 0 0.75rem 2rem rgb(0 0 0 / 0.06);
  color: var(--color-muted);
  font-weight: 700;
}

.review-safety-note {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.92rem;
  text-align: center;
}

.carousel-dots {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
}

.review-stage {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: var(--space-3);
  align-items: center;
}

.review-viewport {
  overflow: visible;
}

.review-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--review-gap);
}

.review-carousel.is-enhanced .review-viewport {
  overflow: hidden;
}

.review-carousel.is-enhanced .review-track {
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--review-gap) * (var(--reviews-per-view) - 1))) / var(--reviews-per-view));
  grid-template-columns: none;
  transform: translateX(calc(var(--carousel-offset, 0px) * -1));
  transition: transform 320ms ease;
}

.review-card {
  min-width: 0;
}

.review-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.review-rating {
  display: inline-flex;
  align-items: center;
  min-height: 1.85rem;
  padding: 0 var(--space-3);
  border: 1px dashed var(--color-border);
  border-radius: 999px;
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.review-source-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2.1rem;
  aspect-ratio: 1;
  border: 1px dashed var(--color-border);
  border-radius: 50%;
  background: var(--color-bg);
  color: var(--color-muted);
  box-shadow: 0 0.4rem 1rem rgb(0 0 0 / 0.06);
}

.review-source-icon::before {
  width: 0.72rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.review-source-icon img:not([hidden]) {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.review-source-icon:has(img:not([hidden]))::before {
  content: none;
}

.review-summary-score {
  color: var(--color-text);
}

.review-text {
  min-height: 6.5rem;
}

.review-meta {
  display: grid;
  gap: var(--space-2);
  color: var(--color-muted);
  font-size: 0.9rem;
}

.review-attribution {
  color: var(--color-text);
  font-weight: 700;
}

.carousel-dot {
  min-height: 2.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  color: var(--color-text);
}

.carousel-control {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  min-height: 3rem;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: var(--color-bg);
  color: var(--color-text);
  box-shadow: 0 0.75rem 2rem rgb(0 0 0 / 0.06);
  font-size: 2rem;
  line-height: 1;
}

.carousel-control:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.carousel-dot {
  width: 2.75rem;
  padding: 0;
}

.carousel-dot[aria-current="true"] {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: var(--color-accent-contrast);
}

.contact-panel {
  padding: var(--space-6);
}

.pending-contact {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 var(--space-4);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-muted);
}

.site-footer {
  padding: var(--space-7) 0;
  border-top: 1px solid var(--color-border);
  background: var(--color-text);
  color: var(--color-accent-contrast);
}

.footer-grid {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.footer-brand .brand-mark {
  background: transparent;
}

[data-footer-location-status="verified-public"] .footer-grid {
  grid-template-columns: minmax(0, 1fr) auto minmax(16rem, 0.8fr);
}

.footer-map-column {
  min-width: 0;
}

.footer-map-preview {
  display: block;
  overflow: hidden;
  border: 1px solid currentColor;
  border-radius: var(--radius-md);
}

[data-footer-map-link] {
  display: block;
  color: inherit;
  text-decoration: none;
}

[data-footer-map-link]:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 4px;
}

[data-footer-map-visual] {
  display: block;
}

[data-footer-map-visual] img {
  display: block;
  width: 100%;
  height: auto;
}

.footer-map-copy {
  display: grid;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

[data-footer-map-description],
[data-footer-map-instruction] {
  margin: 0;
}

[data-footer-map-instruction] {
  color: color-mix(in srgb, currentColor 78%, transparent);
  font-size: 0.9rem;
}

@media (max-width: 1180px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-button {
    display: inline-grid;
    place-items: center;
  }

  .header-inner {
    padding-block: var(--space-2);
  }

  .brand {
    max-width: calc(100% - 60px);
  }

  .brand-mark {
    max-width: 44px;
    max-height: 44px;
  }

  .brand-text {
    font-size: clamp(0.8rem, 3.5vw, 0.95rem);
    white-space: normal;
  }

}

@media (max-width: 900px) {

  .hero-grid,
  .split-section,
  .about-grid,
  .contact-panel,
  .footer-grid,
  [data-footer-location-status="verified-public"] .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .gallery-grid,
  .process-list,
  .compact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: calc(100svh - var(--header-height));
  }

  .hero-scrim {
    background: transparent;
  }

  .middle-scrim,
  .final-scrim {
    background:
      linear-gradient(180deg, rgb(255 255 255 / 0.88), rgb(255 255 255 / 0.7) 58%, rgb(255 255 255 / 0.42)),
      linear-gradient(0deg, rgb(0 0 0 / 0.12), transparent 45%);
  }

  .process-scrim {
    background: rgb(255 255 255 / 0.78);
  }

  .hero-content {
    min-height: calc(100svh - var(--header-height));
    display: flex;
    align-items: center;
    padding-block: var(--space-7);
  }

  .hero-copy {
    width: min(78%, 20rem);
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .hero-badge-row {
    gap: 0.5rem;
  }

  .hero-badge {
    font-size: 0.8rem;
  }

  .review-carousel {
    --reviews-per-view: 2;
  }

  .review-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .review-carousel {
    --reviews-per-view: 1;
  }

  .review-summary-card {
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .review-stage {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: var(--space-2);
  }

  .review-track {
    grid-template-columns: 1fr;
  }

  .carousel-control {
    width: 2.5rem;
    min-height: 2.5rem;
    font-size: 1.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .review-carousel.is-enhanced .review-track {
    transition: none;
  }
}

.footer-meta {
  grid-column: 1 / -1;
  width: 100%;
  padding-top: 1.1rem;
  border-top: 2px solid rgba(210, 160, 68, 0.78);
  text-align: center;
}

.copyright,
.builder-credit {
  margin: 0;
}

.copyright {
  color: rgba(255, 253, 248, 0.92);
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
  font-weight: 700;
  line-height: 1.35;
}

.copyright-mark {
  display: inline-block;
  margin-right: 0.45rem;
  color: #d2a044;
  font-family: var(--font-display);
  font-size: 1.25em;
  line-height: 0;
}

.coverage-section {
  background: var(--color-surface, #fffdf8);
}

.coverage-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(15rem, 0.7fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: stretch;
}

.coverage-map {
  min-height: clamp(22rem, 54vw, 34rem);
  overflow: hidden;
  border: 1px solid rgba(18, 48, 39, 0.16);
  border-radius: 1.25rem;
  background: #eef3ef;
  box-shadow: 0 1rem 2.5rem rgba(18, 48, 39, 0.1);
  z-index: 0;
}

.coverage-summary {
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid rgba(18, 48, 39, 0.14);
  border-radius: 1.25rem;
  background: #ffffff;
}

.coverage-summary h3 {
  margin-top: 0;
}

.coverage-legend {
  display: grid;
  gap: 0.75rem;
}

.coverage-legend-item {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  font-weight: 700;
}

.coverage-swatch {
  width: 0.9rem;
  height: 0.9rem;
  flex: 0 0 auto;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: var(--coverage-color);
  box-shadow: 0 0 0 1px var(--coverage-color);
}

.coverage-location-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid rgba(18, 48, 39, 0.12);
  list-style: none;
}

.coverage-location-list li {
  line-height: 1.45;
}

.coverage-location-list small {
  display: block;
  opacity: 0.72;
}

@media (max-width: 760px) {
  .coverage-layout {
    grid-template-columns: 1fr;
  }

  .coverage-map {
    min-height: 24rem;
  }
}

.builder-credit {
  margin-top: 0.85rem;
  color: rgba(255, 253, 248, 0.82);
  font-size: clamp(0.82rem, 1vw, 0.95rem);
  font-weight: 500;
}

.builder-credit a {
  position: relative;
  display: inline-block;
  color: #d2a044;
  font-weight: 800;
  text-decoration: none;
  transition: color 180ms ease, text-shadow 180ms ease, transform 180ms ease;
}

.builder-credit a::after {
  position: absolute;
  right: 0;
  bottom: -0.12rem;
  left: 0;
  height: 1px;
  background: currentColor;
  box-shadow: 0 0 0 rgba(210, 160, 68, 0);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease, bottom 180ms ease, box-shadow 180ms ease;
}

.builder-credit a:hover,
.builder-credit a:focus-visible {
  color: #e1b85f;
  text-shadow: 0 0 14px rgba(210, 160, 68, 0.52);
  transform: translateY(-0.12rem);
}

.builder-credit a:hover::after,
.builder-credit a:focus-visible::after {
  bottom: -0.2rem;
  box-shadow: 0 0 12px rgba(210, 160, 68, 0.7);
  transform: scaleX(1);
}

/* Reusable layered motion: neutral hooks, client styling stays build-local. */
[data-motion-stack] {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(96px, 12svh, 150px);
  padding-bottom: clamp(120px, 18svh, 200px);
}

[data-motion-stack-card] {
  position: sticky;
  top: calc(var(--header-height) + 18px + var(--motion-stack-offset, 0px));
  z-index: calc(10 + var(--motion-stack-index, 0));
  height: clamp(420px, calc(100svh - var(--header-height) - 84px - var(--motion-stack-offset, 0px)), 680px);
  min-height: 0;
  align-content: end;
  overflow: hidden;
  box-shadow: 0 calc(8px + (var(--motion-stack-index, 0) * 4px)) 70px rgb(15 31 27 / 0.2);
  transform-origin: center top;
}

.js-layered-motion [data-motion-stack-card] {
  transform: translateY(var(--motion-stack-lift, 0px)) scale(var(--motion-stack-scale, 1));
}

[data-motion-stack-media] {
  transform: translate3d(
    var(--motion-tilt-x, 0px),
    calc(var(--motion-media-shift, 0px) + var(--motion-tilt-y, 0px)),
    0
  ) scale(1.06);
  transition: transform 160ms ease-out;
}

/* Optional Salamanca signature object. Build-local geometry defines the safe lane. */
[data-motion-signature-frame] {
  position: relative;
  isolation: isolate;
  overflow: clip;
}

[data-motion-signature-lane] {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

[data-motion-signature-object] {
  position: absolute;
  transform: translate3d(
    var(--motion-signature-x, 0px),
    var(--motion-signature-y, 0px),
    0
  ) rotate(var(--motion-signature-rotation, 0deg));
  transform-origin: center;
  will-change: transform;
}

[data-motion-signature-content] {
  position: relative;
  z-index: 1;
}

[data-motion-story] {
  overflow: clip;
}

.motion-story__pin {
  position: sticky;
  z-index: 5;
  top: var(--header-height);
  display: grid;
  place-items: center;
  height: calc(100svh - var(--header-height));
  margin-bottom: calc(-100svh + var(--header-height));
  padding-inline: var(--space-4);
  pointer-events: none;
}

.motion-story__pin p {
  max-width: 1100px;
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 10vw, 11rem);
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: -0.075em;
  text-align: center;
}

[data-motion-story][data-motion-story-active="1"] .motion-story__pin p {
  color: var(--color-accent-contrast);
}

[data-motion-story][data-motion-story-active="2"] .motion-story__pin p {
  color: var(--color-bg);
}

[data-motion-story] .process-list {
  position: relative;
  z-index: 1;
  grid-template-columns: 1fr;
  gap: 0;
}

[data-motion-story-panel] {
  min-height: calc(100svh - var(--header-height));
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: clamp(28px, 5vw, 72px);
  border-radius: 0;
}

[data-motion-story-panel]:nth-child(2) {
  background: var(--color-accent);
  color: var(--color-accent-contrast);
}

[data-motion-story-panel]:nth-child(3) {
  background: var(--color-text);
  color: var(--color-bg);
}

.contact-section {
  z-index: 6;
}

.js-reveal .reveal-on-scroll {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition:
    opacity 820ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 820ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.js-reveal .reveal-on-scroll.reveal-card {
  transform: translate3d(0, 20px, 0) scale(0.988);
  transition-duration: 700ms, 700ms;
}

.js-reveal .reveal-on-scroll.reveal-from-left {
  transform: translate3d(-16px, 0, 0);
}

.js-reveal .reveal-on-scroll.reveal-card.reveal-from-left {
  transform: translate3d(-20px, 0, 0) scale(0.988);
}

.js-reveal .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

.js-reveal .reveal-on-scroll.reveal-card.is-visible {
  transform: translate3d(0, 0, 0) scale(1);
}

@media (max-width: 767px) and (prefers-reduced-motion: no-preference) {
  .js-reveal .reveal-on-scroll {
    transform: translate3d(0, 13px, 0);
    transition-duration: 680ms, 680ms;
  }

  .js-reveal .reveal-on-scroll.reveal-card {
    transform: translate3d(0, 16px, 0) scale(0.992);
    transition-duration: 620ms, 620ms;
  }

  .js-reveal .reveal-on-scroll.reveal-from-left {
    transform: translate3d(-13px, 0, 0);
  }

  .js-reveal .reveal-on-scroll.reveal-card.reveal-from-left {
    transform: translate3d(-16px, 0, 0) scale(0.992);
  }
}

@media (max-width: 960px) {
  [data-motion-stack] {
    gap: clamp(88px, 12svh, 128px);
    padding-bottom: clamp(96px, 16svh, 150px);
  }

  [data-motion-stack-card] {
    position: sticky;
    top: calc(var(--header-height) + 10px + var(--motion-stack-offset, 0px));
    height: clamp(360px, calc(100svh - var(--header-height) - 54px - var(--motion-stack-offset, 0px)), 620px);
    min-height: 0;
  }

  .motion-story__pin p {
    font-size: clamp(3rem, 14vw, 4rem);
    line-height: 0.88;
  }

  .motion-story__pin {
    place-items: start center;
    padding-top: 4svh;
  }

  [data-motion-story-panel] {
    min-height: 92svh;
    padding: var(--space-5);
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-motion-stack] {
    gap: var(--space-4);
    padding-bottom: 0;
  }

  [data-motion-stack-card] {
    position: relative;
    top: auto;
    height: auto;
    min-height: 0;
  }

  [data-motion-stack-card],
  [data-motion-stack-media] {
    transform: none !important;
  }

  [data-motion-signature-object] {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }

  .motion-story__pin {
    position: relative;
    top: auto;
    height: auto;
    margin-bottom: 0;
    padding-block: var(--space-6);
  }

  .js-reveal .reveal-on-scroll {
    opacity: 1;
    transition: none;
    transform: none;
  }
}
