@font-face {
  font-family: 'Manrope';
  src: url('/fonts/manrope-latin.woff2') format('woff2');
  font-display: swap;
  font-weight: 200 800;
  font-style: normal;
}

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/fonts/cormorant-garamond-latin.woff2') format('woff2');
  font-display: swap;
  font-weight: 400 700;
  font-style: normal;
}

:root {
  color-scheme: light;
  --font-manrope: 'Manrope', Arial, sans-serif;
  --font-cormorant: 'Cormorant Garamond', Georgia, serif;
  --background: #fffffd;
  --surface: #fffffd;
  --surface-soft: #f3f8f5;
  --foreground: #244766;
  --muted-foreground: #4c6672;
  --primary: #244766;
  --primary-foreground: #fffffd;
  --accent: #a1cf55;
  --accent-strong: #557b23;
  --accent-foreground: #244766;
  --border: #c4d7cb;
  --border-strong: #789484;
  --danger: #913838;
  --danger-surface: #fff0ed;
  --shadow: 0 1.5rem 4rem rgb(24 58 85 / 12%);
  --content-max: 112rem;
  --page-gutter: max(clamp(1.25rem, 6vw, 7.5rem), calc((100vw - var(--content-max)) / 2));
  --section-space: clamp(5.5rem, 9vw, 9rem);
  --header-height: 4.75rem;
  --navigation-offset: var(--header-height);
  --motion-enter: cubic-bezier(.22, 1, .36, 1);
  --motion-move: cubic-bezier(.25, 1, .5, 1);
  --menu-open-duration: 190ms;
  --menu-close-duration: 130ms;
}

.dark {
  color-scheme: dark;
  --background: #142b3e;
  --surface: #1d3a53;
  --surface-soft: #23445e;
  --foreground: #f5fbfb;
  --muted-foreground: #c9d7d2;
  --primary: #b8dc72;
  --primary-foreground: #142b3e;
  --accent: #b8dc72;
  --accent-strong: #c9e995;
  --accent-foreground: #173429;
  --border: #597793;
  --border-strong: #829bad;
  --danger: #ffb4ab;
  --danger-surface: #4b2b31;
  --shadow: 0 1.5rem 4rem rgb(0 0 0 / 24%);
}

html.dark,
html.dark body {
  background-color: #142b3e;
}

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

[hidden] {
  display: none !important;
}

html {
  background: var(--background);
}

html,
main {
  scroll-padding-top: var(--navigation-offset);
}

main[id],
main section[id] {
  scroll-margin-top: var(--navigation-offset);
}

body {
  min-width: 20rem;
  margin: 0;
  overflow-x: clip;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-manrope);
  font-size: 1rem;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration-thickness: .08em;
  text-underline-offset: .22em;
}

img,
svg {
  display: block;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--font-cormorant);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: .97;
  text-wrap: balance;
}

h1 em,
h2 em {
  color: var(--accent-strong);
  font-style: italic;
  font-weight: 600;
}

::selection {
  background: var(--accent);
  color: var(--accent-foreground);
}

:focus-visible {
  outline: .2rem solid var(--accent-strong);
  outline-offset: .22rem;
}

#contenido:focus {
  outline: 0;
}

.site-shell {
  min-height: 100vh;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: .75rem;
  left: .75rem;
  min-height: 2.75rem;
  padding: .7rem 1rem;
  transform: translateY(-160%);
  background: var(--accent);
  color: var(--accent-foreground);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s var(--motion-enter);
}

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

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 var(--page-gutter);
  border-bottom: 1px solid transparent;
  background: color-mix(in srgb, var(--background) 90%, transparent);
  backdrop-filter: blur(1rem) saturate(125%);
  transition: border-color .3s var(--motion-enter);
}

html[data-header-scrolled='1'] .site-header {
  border-bottom-color: #fff;
}

.brand {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-logo {
  width: 2rem;
  height: 2rem;
  margin-right: .6rem;
  flex-shrink: 0;
}

.brand-mark {
  color: var(--accent-strong);
}

.desktop-nav,
.header-actions,
.footer-links {
  display: flex;
  align-items: center;
}

.desktop-nav {
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
}

.desktop-nav button,
.footer-links button {
  position: relative;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
}

.desktop-nav button::after {
  position: absolute;
  right: 0;
  bottom: .25rem;
  left: 0;
  height: .15rem;
  content: '';
  background: var(--accent-strong);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s var(--motion-enter);
}

.desktop-nav button[data-active]::after {
  transform: scaleX(1);
}

.header-actions {
  gap: .7rem;
}

.icon-button {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  flex: none;
  place-items: center;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
  color: var(--foreground);
  cursor: pointer;
}

.icon-button svg {
  width: 1.05rem;
  height: 1.05rem;
}

.theme-icon-stack {
  position: relative;
  width: 1.1rem;
  height: 1.1rem;
}

.theme-icon {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(.7) rotate(-15deg);
  transition: opacity .18s var(--motion-enter), transform .18s var(--motion-enter);
}

[data-theme='light'] .theme-icon-light,
[data-theme='dark'] .theme-icon-dark,
[data-theme='system'] .theme-icon-system {
  opacity: 1;
  transform: scale(1) rotate(0);
}

.header-cta,
.primary-button,
.secondary-button {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  padding: .8rem 1.15rem;
  border: 1px solid var(--primary);
  border-radius: 0;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .085em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s var(--motion-enter);
}

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

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

.primary-button svg,
.secondary-button svg {
  width: 1rem;
  height: 1rem;
  flex: none;
  transition: transform .18s var(--motion-enter);
}

.submit-button-idle,
.submit-button-busy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
}

.mobile-menu-wrap {
  position: relative;
  display: none;
}

.mobile-navigation {
  position: absolute;
  top: calc(100% + .65rem);
  right: 0;
  width: min(22rem, calc(100vw - 2rem));
  display: flex;
  flex-direction: column;
  padding: .8rem 1.1rem 1.1rem;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  transform-origin: top right;
  transition: opacity var(--menu-open-duration) var(--motion-enter),
    transform var(--menu-open-duration) var(--motion-enter);
}

.mobile-navigation[data-state='closed'] {
  opacity: 0;
  transform: translateY(-.375rem) scale(.985);
  transition-duration: var(--menu-close-duration);
}

.mobile-navigation button {
  min-height: 3.2rem;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0;
  border-bottom: 1px solid var(--border);
  border-top: 0;
  border-right: 0;
  border-left: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: .82rem;
  font-weight: 750;
  letter-spacing: .07em;
  text-decoration: none;
  text-transform: uppercase;
}

.mobile-navigation .mobile-contact {
  justify-content: center;
  margin-top: 1rem;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--accent-foreground);
}

.menu-icon-stack {
  width: 1.1rem;
  height: 1.1rem;
  display: grid;
}

.menu-icon {
  grid-area: 1 / 1;
  opacity: 0;
  transform: scale(.82) rotate(-10deg);
  transition: opacity .14s var(--motion-enter), transform .18s var(--motion-enter);
}

.menu-icon-stack[data-state='closed'] .menu-icon-open,
.menu-icon-stack[data-state='open'] .menu-icon-close {
  opacity: 1;
  transform: scale(1) rotate(0);
}

.hero-section,
.section-shell {
  padding-right: var(--page-gutter);
  padding-left: var(--page-gutter);
}

.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding-top: clamp(8.5rem, 13vw, 12rem);
  padding-bottom: clamp(6.5rem, 9vw, 9rem);
}

.hero-copy {
  min-width: 0;
  max-width: 66rem;
}

.hero-brand-intro {
  margin-bottom: clamp(1.6rem, 2.5vw, 2.5rem);
}

.section-label,
.form-kicker {
  margin-bottom: 1rem;
  color: var(--accent-strong);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-section h1 {
  min-width: 0;
  max-width: 62rem;
  margin-bottom: 0;
  font-size: clamp(3.2rem, 6.2vw, 6rem);
}

.hero-lead {
  max-width: 47rem;
  margin-bottom: 0;
  color: var(--muted-foreground);
  font-size: clamp(1.03rem, 1.25vw, 1.25rem);
  line-height: 1.75;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 2.5rem;
}

.scroll-cue {
  position: absolute;
  bottom: 2.2rem;
  left: var(--page-gutter);
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .66rem;
  font-weight: 750;
  letter-spacing: .12em;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll-cue svg {
  width: .9rem;
  height: .9rem;
}

/* hero scene: tower, plaza and people. layout lives in the hero grid, colors in tokens */
.hero-scene {
  --sc-facade-top: #eef4ef;
  --sc-facade-bot: #dde8e1;
  --sc-side-top: #cdddd4;
  --sc-side-bot: #b9cbc1;
  --sc-annex-top: #e3ebe6;
  --sc-annex-bot: #d2dfd7;
  --sc-glass-top: #b3c9d4;
  --sc-glass-bot: #6f90a5;
  --sc-glass-side-top: #8aa8ba;
  --sc-glass-side-bot: #54768b;
  --sc-frame: rgb(36 71 102 / 28%);
  --sc-edge: #fbfdfb;
  --sc-slab-top: #fbfdfb;
  --sc-slab-edge: #c2d2c9;
  --sc-slab-under: #aebfb6;
  --sc-shade: rgb(36 71 102 / 14%);
  --sc-blind: #e4ece7;
  --sc-curtain: #f6efe0;
  --sc-lit: #f7e9ae;
  --sc-lit-opacity: .6;
  --sc-lobby-top: #4d6d84;
  --sc-lobby-bot: #355770;
  --sc-lobby-light: #f4e6ae;
  --sc-core: #cbdad2;
  --sc-ground-floor: #cfdcd4;
  --sc-ground: #e3ece6;
  --sc-path: #f5f9f5;
  --sc-cast: rgb(36 71 102 / 17%);
  --sc-joint: rgb(36 71 102 / 7%);
  --sc-far: #e4ece8;
  --sc-far-window: rgb(36 71 102 / 8%);
  --sc-far-tree: #d9e6dc;
  --sc-tree-a: #8fb663;
  --sc-tree-b: #a9cb7c;
  --sc-trunk: #7a6a58;
  --sc-plant: #6f9a3a;
  --sc-plant-light: #9bc45c;
  --sc-planter: #b7c8bf;
  --sc-shop: #7f9bab;
  --sc-garage: #9db0a8;
  --sc-door: #aebfb7;
  --sc-ac: #bfcdc6;
  --sc-awning-a: var(--accent);
  --sc-awning-b: #fffffd;
  --sc-mech: #bccbc3;
  --sc-penthouse: #e9f0eb;
  --sc-parapet: #f4f8f4;
  --sc-step: #eef3ee;
  --sc-step-low: #dfe8e2;
  --sc-canopy: var(--accent);
  --sc-plaque: var(--accent-strong);
  --sc-beacon: #d96c5b;
  --pc1: #244766;
  --pc2: #557b23;
  --pc3: #3f7d8a;
  --pc4: #b4624a;
  --pc5: #6b7f93;
  --pc6: #c8a24a;
  --pp1: #2c3a4a;
  --pp2: #4c5d6e;
  --pp3: #7b8a73;
  --sc-person-shadow: rgb(36 71 102 / 24%);
  --sc-bag: #3a4a5a;
}

.dark .hero-scene {
  --sc-facade-top: #3d5f7a;
  --sc-facade-bot: #2f4e68;
  --sc-side-top: #26425a;
  --sc-side-bot: #1d364b;
  --sc-annex-top: #2c4b64;
  --sc-annex-bot: #243f56;
  --sc-glass-top: #2f5873;
  --sc-glass-bot: #17364d;
  --sc-glass-side-top: #1f4059;
  --sc-glass-side-bot: #112b40;
  --sc-frame: rgb(10 24 36 / 55%);
  --sc-edge: #7597ad;
  --sc-slab-top: #6b8ea6;
  --sc-slab-edge: #3a5b75;
  --sc-slab-under: #223d54;
  --sc-shade: rgb(0 0 0 / 26%);
  --sc-blind: #47708a;
  --sc-curtain: #7a8f9a;
  --sc-lit: #f2dfa0;
  --sc-lit-opacity: .82;
  --sc-lobby-top: #1c3c54;
  --sc-lobby-bot: #14304a;
  --sc-lobby-light: #f1dd9c;
  --sc-core: #29475f;
  --sc-ground-floor: #28465f;
  --sc-ground: #1f3a50;
  --sc-path: #2a4a62;
  --sc-cast: rgb(4 14 24 / 34%);
  --sc-joint: rgb(255 255 255 / 5%);
  --sc-far: #1a3349;
  --sc-far-window: rgb(255 255 255 / 7%);
  --sc-far-tree: #1c3a42;
  --sc-tree-a: #4d7a45;
  --sc-tree-b: #63925a;
  --sc-trunk: #5a5348;
  --sc-plant: #5c8c42;
  --sc-plant-light: #86b55c;
  --sc-planter: #3c5b73;
  --sc-shop: #1d3d54;
  --sc-garage: #2a455b;
  --sc-door: #2a465d;
  --sc-ac: #4c6b82;
  --sc-awning-a: #b8dc72;
  --sc-awning-b: #cfdde0;
  --sc-mech: #3a5972;
  --sc-penthouse: #345571;
  --sc-parapet: #4a6d86;
  --sc-step: #4a6d86;
  --sc-step-low: #3a5b75;
  --sc-beacon: #ff8b78;
  --pc1: #e8efe9;
  --pc2: #b8dc72;
  --pc3: #8fbbd6;
  --pc4: #e8a08c;
  --pc5: #c9d5dd;
  --pc6: #f0d58a;
  --pp1: #567089;
  --pp2: #34506a;
  --pp3: #7f96a6;
  --sc-person-shadow: rgb(0 0 0 / 32%);
  --sc-bag: #9db5c4;
}

.hero-scene {
  position: relative;
  width: 100%;
  max-width: 36rem;
  margin-left: auto;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 16%), linear-gradient(to bottom, #000 82%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 16%), linear-gradient(to bottom, #000 82%, transparent 100%);
  mask-composite: intersect;
}

.hero-scene-svg {
  width: 100%;
  height: auto;
  aspect-ratio: 640 / 420;
  overflow: visible;
}

.hero-scene-svg .sc-far-block { fill: var(--sc-far); }
.hero-scene-svg .sc-far-window { fill: var(--sc-far-window); }
.hero-scene-svg .sc-far-tree { fill: var(--sc-far-tree); }
.hero-scene-svg .sc-joint { stroke: var(--sc-joint); stroke-width: 1; fill: none; }
.hero-scene-svg .sc-path { stroke: none; }
.hero-scene-svg .sc-contact { stroke: none; }
.hero-scene-svg .sc-cast { stroke: none; }

.hero-scene-svg .sc-front-face,
.hero-scene-svg .sc-side-face,
.hero-scene-svg .sc-annex-face { stroke: none; }
.hero-scene-svg .sc-front-fade,
.hero-scene-svg .sc-annex-fade { stroke: none; pointer-events: none; }

.hero-scene-svg .sc-glass { fill: url(#sc-g-glass); }
.hero-scene-svg .sc-glass-side { fill: url(#sc-g-glass-side); }
.hero-scene-svg .sc-blind { fill: var(--sc-blind); opacity: .62; }
.hero-scene-svg .sc-blind-side { opacity: .4; }
.hero-scene-svg .sc-curtain { fill: var(--sc-curtain); opacity: .5; }
.hero-scene-svg .sc-lit { fill: var(--sc-lit); opacity: var(--sc-lit-opacity); }
.hero-scene-svg .sc-lit-side { opacity: .55; }
.hero-scene-svg .sc-lit-static { opacity: .5; animation: none; }
.hero-scene-svg .sc-lit-a { animation: sc-lit var(--sc-d, 16s) ease-in-out infinite; }
.hero-scene-svg .sc-frame { stroke: var(--sc-frame); stroke-width: .7; fill: none; }
.hero-scene-svg .sc-frame-door { stroke-width: 1; }
.hero-scene-svg .sc-frame-thin { stroke-width: .5; }
.hero-scene-svg .sc-pilaster { stroke: var(--sc-shade); stroke-width: .9; fill: none; }
.hero-scene-svg .sc-corner { stroke: var(--sc-edge); stroke-width: 1.2; fill: none; opacity: .85; }
.hero-scene-svg .sc-core { fill: var(--sc-core); }
.hero-scene-svg .sc-ground-floor { fill: var(--sc-ground-floor); }
.hero-scene-svg .sc-plinth { fill: var(--sc-ground-floor); opacity: .8; }

.hero-scene-svg .sc-slab-top { fill: var(--sc-slab-top); }
.hero-scene-svg .sc-slab-edge { fill: var(--sc-slab-edge); }
.hero-scene-svg .sc-slab-under { fill: var(--sc-slab-under); }
.hero-scene-svg .sc-slab-edge-side { opacity: .7; }
.hero-scene-svg .sc-balcony-edge { fill: var(--sc-slab-edge); }
.hero-scene-svg .sc-rail { fill: rgb(255 255 255 / 20%); }
.hero-scene-svg .sc-rail-top { stroke: var(--sc-slab-top); stroke-width: .8; }
.hero-scene-svg .sc-parapet { fill: var(--sc-parapet); }
.hero-scene-svg .sc-parapet-side { opacity: .75; }
.hero-scene-svg .sc-penthouse { fill: var(--sc-penthouse); }
.hero-scene-svg .sc-mech { fill: var(--sc-mech); }
.hero-scene-svg .sc-vent { stroke: var(--sc-frame); stroke-width: .8; }
.hero-scene-svg .sc-mast { stroke: var(--sc-slab-edge); stroke-width: 1; }
.hero-scene-svg .sc-beacon { fill: var(--sc-beacon); animation: sc-beacon 3.6s ease-in-out infinite; }
.hero-scene-svg .sc-ac { fill: var(--sc-ac); }
.hero-scene-svg .sc-annex-face { stroke: none; }

.hero-scene-svg .sc-shop { fill: var(--sc-shop); }
.hero-scene-svg .sc-garage { fill: var(--sc-garage); }
.hero-scene-svg .sc-slat { stroke: var(--sc-frame); stroke-width: .9; }
.hero-scene-svg .sc-service-door { fill: var(--sc-door); }
.hero-scene-svg .sc-lobby { stroke: none; }
.hero-scene-svg .sc-lobby-light { fill: var(--sc-lobby-light); opacity: .22; }
.hero-scene-svg .sc-door-glow { fill: var(--sc-lobby-light); opacity: .3; }
.hero-scene-svg .sc-handle { stroke: var(--sc-slab-top); stroke-width: .9; }
.hero-scene-svg .sc-canopy-edge { fill: var(--sc-canopy); }
.hero-scene-svg .sc-canopy-shadow { fill: rgb(0 0 0 / 22%); }
.hero-scene-svg .sc-downlight { fill: var(--sc-lobby-light); }
.hero-scene-svg .sc-plaque { fill: var(--sc-plaque); }
.hero-scene-svg .sc-step { fill: var(--sc-step); }
.hero-scene-svg .sc-step-low { fill: var(--sc-step-low); }
.hero-scene-svg .sc-planter { fill: var(--sc-planter); }
.hero-scene-svg .sc-plant { fill: var(--sc-plant); }
.hero-scene-svg .sc-plant-light { fill: var(--sc-plant-light); }
.hero-scene-svg .sc-awning-a { fill: var(--sc-awning-a); }
.hero-scene-svg .sc-awning-b { fill: var(--sc-awning-b); }

.hero-scene-svg .sc-tree-a { fill: var(--sc-tree-a); }
.hero-scene-svg .sc-tree-b { fill: var(--sc-tree-b); }
.hero-scene-svg .sc-trunk { fill: var(--sc-trunk); }
.hero-scene-svg .sc-pshadow { fill: var(--sc-person-shadow); }

.hero-scene-svg .sc-leg { fill: none; stroke: var(--pants); stroke-width: 2.5; stroke-linecap: round; }
.hero-scene-svg .sc-arm { fill: none; stroke: var(--cloth); stroke-width: 1.9; stroke-linecap: round; }
.hero-scene-svg .sc-torso { fill: var(--cloth); }
.hero-scene-svg .sc-bag { fill: var(--sc-bag); }

@keyframes sc-lit {
  0%, 38% { opacity: .08; }
  46%, 82% { opacity: var(--sc-lit-opacity); }
  92%, 100% { opacity: .08; }
}

@keyframes sc-beacon {
  0%, 70%, 100% { opacity: .15; }
  80%, 90% { opacity: 1; }
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface-soft);
}

.trust-strip span {
  min-height: 7.5rem;
  display: grid;
  place-items: center;
  padding: 1.4rem;
  border-right: 1px solid var(--border);
  font-family: var(--font-cormorant);
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 600;
  line-height: 1.1;
  text-align: center;
}

.trust-strip span:last-child {
  border-right: 0;
}

.section-shell {
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
}

.section-heading h2,
.method-copy h2,
.contact-copy h2 {
  margin-bottom: 0;
  font-size: clamp(3rem, 5.8vw, 6rem);
}

.compact-heading {
  max-width: 79rem;
}

.intro-grid {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.intro-tagline {
  max-width: 39rem;
  margin-bottom: 0;
  color: var(--accent-strong);
  font-family: var(--font-cormorant);
  font-size: clamp(1.9rem, 2.8vw, 2.75rem);
  font-style: italic;
  font-weight: 600;
  line-height: 1.25;
}

.services-section {
  border-top: 1px solid var(--border);
  background: var(--surface-soft);
}

.split-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(2rem, 8vw, 9rem);
  margin-bottom: clamp(3.5rem, 6vw, 6rem);
}

.split-heading > div {
  max-width: 75rem;
}

.split-heading > p {
  max-width: 27rem;
  margin-bottom: .6rem;
  color: var(--muted-foreground);
  line-height: 1.75;
}

.service-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--border-strong);
  border-left: 1px solid var(--border-strong);
}

.service-pillar {
  border-right: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
}

.service-pillar summary {
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 3vw, 2.75rem);
  cursor: pointer;
  list-style: none;
  transition: background-color .16s ease-out;
}

.service-pillar summary::-webkit-details-marker {
  display: none;
}

.service-pillar summary:hover,
.service-pillar summary:focus-visible {
  background: color-mix(in srgb, var(--accent) 10%, var(--surface-soft));
}

.service-pillar summary:focus-visible {
  outline: .15rem solid var(--accent-strong);
  outline-offset: -.15rem;
}

.service-pillar-heading h3 {
  margin-bottom: .6rem;
  font-family: var(--font-cormorant);
  font-size: clamp(1.7rem, 2.4vw, 2.4rem);
  font-weight: 600;
  line-height: 1.1;
}

.service-pillar-heading p {
  margin-bottom: 0;
  color: var(--muted-foreground);
  line-height: 1.7;
}

.service-pillar-cta {
  display: flex;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--accent-strong);
  font-size: .74rem;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.service-pillar-cta-closed,
.service-pillar-cta-open {
  align-items: center;
  gap: .85rem;
}

.service-pillar-cta-closed {
  display: inline-flex;
}

.service-pillar-cta-open {
  display: none;
}

/* the arrow is a square tile like the rest of the controls; it travels right on hover */
.service-pillar-cta svg {
  width: 2rem;
  height: 2rem;
  flex: none;
  padding: .52rem;
  border: 1px solid currentColor;
  transition: transform .18s var(--motion-enter), background-color .18s ease, color .18s ease, border-color .18s ease;
}

.service-pillar summary:hover .service-pillar-cta svg,
.service-pillar summary:focus-visible .service-pillar-cta svg {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-foreground);
  transform: translateX(.3rem);
}

.service-pillar[open] .service-pillar-cta-closed {
  display: none;
}

.service-pillar[open] .service-pillar-cta-open {
  display: inline-flex;
}

.service-pillar[open] .service-pillar-cta svg {
  transform: rotate(90deg);
}

.service-pillar[open] summary:hover .service-pillar-cta svg,
.service-pillar[open] summary:focus-visible .service-pillar-cta svg {
  transform: rotate(90deg) translateX(.3rem);
}

.service-pillar-list {
  list-style: none;
  margin: 0;
  padding: 1.5rem clamp(1.75rem, 3vw, 2.75rem) clamp(1.75rem, 3vw, 2.75rem);
  display: grid;
  gap: .75rem;
  border-top: 1px solid var(--border);
}

.service-pillar-list li {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--muted-foreground);
  line-height: 1.5;
}

.service-pillar-list svg {
  width: 1rem;
  height: 1rem;
  flex: none;
  color: var(--accent-strong);
}

.method-section {
  background: #244766;
  color: #fffef9;
}

.method-layout {
  display: grid;
  grid-template-columns: minmax(18rem, .76fr) minmax(24rem, 1.24fr);
  gap: clamp(4rem, 10vw, 11rem);
}

.method-copy {
  align-self: start;
  position: sticky;
  top: calc(var(--header-height) + 3rem);
}

.method-copy .section-label {
  color: #cce69a;
}

.method-copy h2 {
  color: #fffef9;
}

.method-copy > p:last-child {
  max-width: 34rem;
  margin-top: 2.2rem;
  margin-bottom: 0;
  color: #dce7e1;
  line-height: 1.75;
}

.method-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgb(255 255 255 / 35%);
}

.method-steps li {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 1.5rem;
  padding: 2.4rem 0;
  border-bottom: 1px solid rgb(255 255 255 / 28%);
}

.method-steps li > span {
  color: #cce69a;
  font-family: var(--font-cormorant);
  font-size: 1.6rem;
}

.method-steps h3 {
  margin-bottom: .6rem;
  color: #fffef9;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.method-steps p {
  max-width: 42rem;
  margin-bottom: 0;
  color: #dce7e1;
  line-height: 1.75;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(18rem, .72fr) minmax(28rem, 1.28fr);
  gap: clamp(4rem, 10vw, 11rem);
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: calc(var(--header-height) + 3rem);
}

.contact-copy > p {
  max-width: 34rem;
  margin-top: 2rem;
  margin-bottom: 0;
  color: var(--muted-foreground);
  line-height: 1.75;
}

.contact-copy > p.contact-email {
  margin-top: .75rem;
}

.contact-copy > p.contact-email a {
  color: var(--accent-strong);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.contact-form,
.form-success {
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: .65rem .65rem 0 var(--surface-soft);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: clamp(1.4rem, 3.5vw, 3.5rem);
}

.form-intro {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.form-intro p {
  margin-bottom: 0;
}

.form-intro .form-kicker {
  margin-bottom: .45rem;
}

.form-intro > div > p:last-child,
.form-intro > p {
  color: var(--muted-foreground);
  font-size: .75rem;
  line-height: 1.55;
}

.form-intro > p {
  max-width: 10rem;
  text-align: right;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.field-group,
.consent-group {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.field-group > label,
.field-label-row label,
.check-label {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .045em;
}

.field-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.field-required,
.message-count.is-complete {
  color: var(--accent-strong);
}

.field-optional,
.field-help,
.message-count {
  color: var(--muted-foreground);
  font-size: .68rem;
  font-weight: 500;
}

.contact-form input:not([type='checkbox']),
.contact-form textarea,
.select-trigger {
  width: 100%;
  min-height: 3.15rem;
  padding: .82rem .95rem;
  border: 1px solid var(--border-strong);
  border-radius: 0;
  background: var(--background);
  color: var(--foreground);
  font-size: .9rem;
  line-height: 1.45;
}

.contact-form textarea {
  min-height: 9.5rem;
  resize: vertical;
}

.contact-form textarea::placeholder,
.contact-form input::placeholder {
  color: color-mix(in srgb, var(--muted-foreground) 78%, transparent);
  opacity: 1;
}

.contact-form input:not([type='checkbox']):focus,
.contact-form textarea:focus,
.select-trigger:focus {
  border-color: var(--accent-strong);
}

.contact-form input:not([type='checkbox']):focus-visible,
.contact-form textarea:focus-visible,
.select-trigger:focus-visible {
  border-color: transparent;
  outline: .18rem solid var(--accent-strong);
  outline-offset: .08rem;
}

.contact-form [aria-invalid='true'] {
  border-color: var(--danger);
}

.contact-form [aria-invalid='true']:focus-visible {
  border-color: transparent;
  outline-color: var(--danger);
}

.field-error,
.form-status {
  margin: 0;
  color: var(--danger);
  font-size: .72rem;
  font-weight: 750;
  line-height: 1.5;
}

.field-error {
  display: flex;
  align-items: flex-start;
  gap: .4rem;
}

.field-error svg {
  width: .9rem;
  height: .9rem;
  flex: none;
  margin-top: .08rem;
}

.select-trigger {
  display: block;
  cursor: pointer;
  text-align: left;
}

.check-label {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  line-height: 1.55;
  letter-spacing: 0;
}

.check-label input {
  width: 1.2rem;
  height: 1.2rem;
  flex: none;
  margin: .12rem 0 0;
  accent-color: var(--accent-strong);
}

.check-label input:focus-visible {
  outline: .18rem solid var(--accent-strong);
  outline-offset: .18rem;
}

.contact-form input:-webkit-autofill,
.contact-form input:-webkit-autofill:hover,
.contact-form input:-webkit-autofill:focus {
  box-shadow: 0 0 0 1000px var(--background) inset;
  -webkit-text-fill-color: var(--foreground);
  caret-color: var(--foreground);
}

.bot-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: .25rem;
}

.submit-button {
  flex: none;
  cursor: pointer;
}

.submit-button:disabled {
  cursor: wait;
  opacity: .65;
}

.submit-note {
  max-width: 20rem;
  margin: 0;
  color: var(--muted-foreground);
  font-size: .68rem;
  line-height: 1.55;
  text-align: right;
}

.form-status:empty {
  display: none;
}

.form-status:not(:empty) {
  padding: .85rem 1rem;
  border-left: .22rem solid var(--danger);
  background: var(--danger-surface);
}

.loading-icon {
  animation: spin .8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.form-success {
  min-height: 32rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4rem);
}

.success-icon {
  width: 3.2rem;
  height: 3.2rem;
  display: grid;
  place-items: center;
  margin-bottom: 2rem;
  background: var(--accent);
  color: var(--accent-foreground);
}

.success-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.form-success h3 {
  margin-bottom: 1rem;
  font-family: var(--font-cormorant);
  font-size: clamp(2.3rem, 4vw, 4rem);
  font-weight: 600;
  line-height: 1;
}

.form-success > p:not(.section-label) {
  color: var(--muted-foreground);
}

.text-link {
  min-height: 2.75rem;
  padding: .4rem 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: var(--foreground);
  cursor: pointer;
  font-weight: 750;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  padding: clamp(4rem, 7vw, 7rem) var(--page-gutter) 2rem;
  background: #244766;
  color: #fffef9;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.footer-brand strong {
  font-family: var(--font-cormorant);
  font-size: 1.7rem;
}

.footer-brand strong .brand-mark {
  color: #9fd4a3;
}

.footer-brand p {
  margin: .25rem 0 0;
  color: #dce7e1;
}

.footer-links {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1.8rem;
}

.copyright {
  grid-column: 1 / -1;
  margin: 2rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 30%);
  color: #dce7e1;
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: .42s;
  animation-timing-function: cubic-bezier(.22, 1, .36, 1);
  mix-blend-mode: normal;
}

html.theme-transition::view-transition-new(root) {
  animation-name: theme-reveal;
  clip-path: circle(0 at var(--theme-x) var(--theme-y));
}

html.theme-transition::view-transition-old(root) {
  animation: none;
  z-index: -1;
}

html.theme-fallback body {
  transition: background-color .18s ease, color .18s ease;
}

@keyframes theme-reveal {
  to { clip-path: circle(var(--theme-radius) at var(--theme-x) var(--theme-y)); }
}

@media (hover: hover) and (pointer: fine) {
  .desktop-nav button:hover::after {
    transform: scaleX(1);
  }

  .header-cta:hover,
  .primary-button:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--primary-foreground);
    transform: translateY(-.12rem);
  }

  .primary-button:hover svg {
    transform: translateX(.2rem);
  }

  .submit-button:hover:not(:disabled) .submit-button-idle svg {
    transform: translate(.2rem, -.2rem);
  }

  .secondary-button:hover,
  .icon-button:hover {
    border-color: var(--accent-strong);
    background: var(--surface-soft);
  }

  .footer-links button:hover {
    text-decoration: underline;
  }

  .contact-form input:not([type='checkbox']):hover,
  .contact-form textarea:hover,
  .select-trigger:hover {
    border-color: var(--foreground);
  }

  .contact-form [aria-invalid='true']:hover {
    border-color: var(--danger);
  }
}

@media (max-width: 68rem) {
  .scroll-cue {
    display: none;
  }

  .split-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .method-layout,
  .contact-section {
    grid-template-columns: minmax(0, 1fr);
  }

  .method-copy,
  .contact-copy {
    position: static;
  }

  .service-pillars {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* copy and scene side by side: the scene is anchored to the container's right edge */
@media (min-width: 72rem) {
  .hero-section {
    grid-template-columns: minmax(0, 1fr) clamp(24rem, 32vw, 42rem);
  }

  .hero-scene {
    max-width: none;
    margin-left: 0;
  }

  .hero-section h1 {
    font-size: clamp(3rem, 4.9vw, 6rem);
  }
}

@media (max-width: 56rem) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu-wrap {
    display: block;
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-strip span:nth-child(2) {
    border-right: 0;
  }

  .trust-strip span:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }


  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 42rem) {
  :root {
    --page-gutter: 1.1rem;
    --header-height: 4.25rem;
  }

  .site-header {
    gap: .65rem;
  }

  .brand {
    font-size: .68rem;
  }

  .header-cta {
    display: none;
  }

  .hero-section {
    padding-top: 7.2rem;
    padding-bottom: 4.5rem;
  }

  .hero-section h1 {
    font-size: clamp(2.72rem, 14.5vw, 4rem);
  }

  .button-row {
    flex-direction: column;
  }

  .button-row button {
    width: 100%;
  }

  .trust-strip span {
    min-height: 6.5rem;
    padding: 1rem .7rem;
    font-size: 1.25rem;
  }

  .section-heading h2,
  .method-copy h2,
  .contact-copy h2 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .service-pillar summary {
    padding: 1.5rem;
  }

  .service-pillar-list {
    padding: 1.25rem 1.5rem 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-intro,
  .form-submit-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .form-intro > p,
  .submit-note {
    max-width: none;
    text-align: left;
  }

  .submit-button {
    width: 100%;
  }

  .footer-brand {
    align-items: flex-start;
  }
}

@media (max-width: 23rem) {
  :root {
    --page-gutter: 1rem;
  }

  .hero-section h1 {
    font-size: 2.65rem;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-strip span {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .trust-strip span:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 42rem) and (max-height: 44rem) {
  .hero-section {
    padding-top: calc(var(--header-height) + 1rem);
  }

  .hero-section h1 {
    font-size: clamp(2.3rem, 11vw, 2.75rem);
  }

  .hero-lead {
    font-size: .96rem;
    line-height: 1.6;
  }

  .button-row {
    margin-top: 1.5rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

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

@media (forced-colors: active) {
  .desktop-nav button::after {
    background: Highlight;
  }

  .method-section,
  .site-footer {
    border: 1px solid CanvasText;
    background: Canvas;
    color: CanvasText;
  }

  .header-cta,
  .primary-button,
  .mobile-contact,
  .success-icon {
    border: 2px solid ButtonText;
  }

  .contact-form [aria-invalid='true'] {
    border: 3px solid Mark;
  }
}

.notfound-page {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 30rem);
  align-items: stretch;
  gap: clamp(2rem, 7vw, 7rem);
  padding: clamp(6rem, 11vw, 9rem) clamp(1.25rem, 7vw, 7rem);
  background: var(--background);
  color: var(--foreground);
}

.notfound-content {
  align-self: center;
  max-width: 49rem;
}

.notfound-eyebrow {
  margin: 0 0 1.5rem;
  color: var(--accent-strong);
  font-family: var(--font-manrope);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.notfound-title {
  max-width: 46rem;
  margin: 0;
  font-family: var(--font-cormorant);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: .96;
}

.notfound-description {
  max-width: 38rem;
  margin: 2rem 0 2.5rem;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.7;
}

.notfound-link {
  min-height: 3.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .8rem 1.25rem;
  border: 2px solid var(--foreground);
  background: var(--accent);
  color: #142b3e;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.notfound-link:hover {
  background: transparent;
  color: var(--foreground);
}

.notfound-link:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.notfound-order-panel {
  align-self: center;
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  background: #244766;
  color: #f5fbfb;
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.notfound-order-panel span {
  min-height: 5.25rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #597793;
  padding: 1.25rem;
}

.notfound-order-panel span:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.notfound-order-panel span:nth-child(odd) {
  color: #a1cf55;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.notfound-order-panel .notfound-active {
  background: #a1cf55;
  color: #142b3e;
}

html.dark .notfound-page {
  --accent-strong: #a1cf55;
}

@media (max-width: 760px) {
  .notfound-page {
    grid-template-columns: 1fr;
    padding-top: 7rem;
  }

  .notfound-order-panel {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .notfound-page {
    padding-inline: 1rem;
  }

  .notfound-title {
    font-size: 2.75rem;
  }
}

@media (forced-colors: active) {
  .notfound-link,
  .notfound-order-panel,
  .notfound-order-panel .notfound-active {
    border: 2px solid CanvasText;
    background: Canvas;
    color: CanvasText;
  }
}
