:root {
  --tone-ink: #222831;
  --tone-slate: #393e46;
  --tone-mint: #00adb5;
  --tone-mist: #eeeeee;
  --space-2xs: 0.25rem;
  --space-xs: 0.45rem;
  --space-sm: 0.65rem;
  --space-md: 1rem;
  --space-lg: 1.45rem;
  --space-xl: 2rem;
  --space-2xl: 2.75rem;
  --radius-sm: 0.45rem;
  --radius-md: 0.85rem;
  --radius-lg: 1.35rem;
  --shadow-soft: 0 0.35rem 1.1rem rgba(0, 0, 0, 0.22);
  --shadow-lift: 0 0.65rem 1.8rem rgba(0, 0, 0, 0.28);
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --text-xs: 0.72rem;
  --text-sm: 0.82rem;
  --text-md: 0.95rem;
  --text-lg: 1.08rem;
  --text-xl: 1.35rem;
  --text-2xl: 1.75rem;
  --text-3xl: 2.15rem;
  --line-snug: 1.25;
  --line-body: 1.55;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 180ms;
  --dur-mid: 320ms;
  --max-read: 68ch;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: var(--line-body);
  color: var(--tone-mist);
  background: radial-gradient(120% 80% at 10% 0%, #2a303a 0%, var(--tone-ink) 55%, #1a1e25 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--tone-mint);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
  transition: color var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
}

a:hover {
  color: var(--tone-mist);
}

.shell-wrap {
  width: min(1120px, calc(100% - 1.25rem));
  margin-inline: auto;
  padding-inline: 0;
}

.shell-pad {
  padding-block: var(--space-xl);
}

.t-display {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.t-muted {
  color: rgba(238, 238, 238, 0.72);
  font-size: var(--text-sm);
}

.t-kicker {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--tone-mint);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-md);
  border-radius: 999px;
  border: 1px solid rgba(0, 173, 181, 0.45);
  background: linear-gradient(135deg, rgba(0, 173, 181, 0.22), rgba(57, 62, 70, 0.55));
  color: var(--tone-mist);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: transform var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}

.btn-pill:hover {
  transform: translateY(-0.08rem);
  border-color: rgba(0, 173, 181, 0.85);
  color: var(--tone-mist);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-md);
  border-radius: 999px;
  border: 1px solid rgba(238, 238, 238, 0.18);
  background: rgba(34, 40, 49, 0.35);
  color: var(--tone-mist);
  font-size: var(--text-sm);
  text-decoration: none;
  transition: border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}

.btn-ghost:hover {
  border-color: rgba(0, 173, 181, 0.55);
  color: var(--tone-mist);
}
h1{
  font-size: 1.5rem;
}
.head-bar {

  z-index: 50;
  background: rgba(34, 40, 49, 0.96);
  border-bottom: 1px solid rgba(238, 238, 238, 0.12);
  box-shadow: 0 0.15rem 0.65rem rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  padding-block: var(--space-sm);
  padding-top: calc(var(--space-sm) + env(safe-area-inset-top, 0px));
}

.head-bar .shell-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.head-bar .brand-cluster {
  min-width: 0;
}

.head-bar .brand-word {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--tone-mist);
  letter-spacing: -0.03em;
}

.head-bar .brand-sub {
  font-size: var(--text-xs);
  color: rgba(238, 238, 238, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.head-bar .head-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.head-bar .desk-links {
  display: none;
  align-items: center;
  gap: var(--space-sm);
}

.head-bar .desk-links a {
  font-size: var(--text-sm);
  color: rgba(238, 238, 238, 0.88);
  text-decoration: none;
  padding: var(--space-2xs) var(--space-xs);
  border-radius: var(--radius-sm);
}

.head-bar .desk-links a:hover {
  color: var(--tone-mint);
}

.head-bar .burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid rgba(238, 238, 238, 0.22);
  background: rgba(57, 62, 70, 0.65);
  color: var(--tone-mist);
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}

.head-bar .burger:hover {
  border-color: rgba(0, 173, 181, 0.55);
  background: rgba(57, 62, 70, 0.85);
}

.head-bar .burger .nav-icon-close {
  display: none;
}

.head-bar .burger.is-open-nav .nav-icon-open {
  display: none;
}

.head-bar .burger.is-open-nav .nav-icon-close {
  display: inline-block;
}

.head-bar .brand-cluster a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  min-width: 0;
}

.nav-locked {
  overflow: hidden;
}

.sheet-panel {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  background: rgba(17, 19, 23, 0.88);
  backdrop-filter: blur(8px);
  z-index: 60;
}

.sheet-panel.is-open {
  display: block;
}

.sheet-panel .sheet-inner {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  background: linear-gradient(165deg, rgba(57, 62, 70, 0.97), rgba(34, 40, 49, 0.99));
  border: none;
  padding: var(--space-xl) var(--space-lg);
  padding-bottom: calc(var(--space-xl) + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--dur-mid) var(--ease-out);
}

.sheet-panel.is-open .sheet-inner {
  transform: translateX(0);
}

.sheet-panel .sheet-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.sheet-panel .sheet-links a {
  font-size: var(--text-md);
  color: var(--tone-mist);
  text-decoration: none;
  padding: var(--space-xs) 0;
  border-bottom: 1px solid rgba(238, 238, 238, 0.08);
}

.sheet-panel .sheet-links a:hover {
  color: var(--tone-mint);
}

.hero-flow {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(238, 238, 238, 0.1);
  box-shadow: var(--shadow-lift);
  min-height: clamp(320px, 58vh, 560px);
}

.hero-flow canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-flow canvas.is-static {
  background: linear-gradient(135deg, #1f242d, #2c333f);
}

.hero-flow .hero-overlay {
  position: relative;
  z-index: 2;
  padding: var(--space-2xl) var(--space-lg);
  display: grid;
  gap: var(--space-md);
  max-width: 36rem;
  animation: fade-rise 780ms var(--ease-out) both;
}

@keyframes fade-rise {
  from {
    opacity: 0;
    transform: translateY(0.65rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-flow .hero-overlay {
    animation: none;
  }
}

.hero-flow h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(var(--text-xl), 4vw, var(--text-3xl));
  line-height: var(--line-snug);
}

.hero-flow p {
  margin: 0;
  color: rgba(238, 238, 238, 0.78);
  font-size: var(--text-sm);
}

.grid-duo {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 860px) {
  .grid-duo {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
  }
  .head-bar .desk-links {
    display: flex;
  }
  .head-bar .burger {
    display: none;
  }
}

.card-slab {
  background: rgba(57, 62, 70, 0.45);
  border: 1px solid rgba(238, 238, 238, 0.1);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-soft);
  transition: transform var(--dur-mid) var(--ease-out), box-shadow var(--dur-mid) var(--ease-out), border-color var(--dur-mid) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .card-slab:hover {
    transform: translateY(-0.12rem);
    border-color: rgba(0, 173, 181, 0.22);
    box-shadow: var(--shadow-lift);
  }
}

@media (prefers-reduced-motion: reduce) {
  .card-slab {
    transition: none;
  }
}

.card-slab h2 {
  margin: 0 0 var(--space-sm);
  font-family: var(--font-display);
  font-size: var(--text-xl);
}

.card-slab p {
  margin: 0;
  font-size: var(--text-sm);
  color: rgba(238, 238, 238, 0.78);
}

.section-gap {
  margin-top: var(--space-2xl);
}

.split-band {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 780px) {
  .split-band {
    grid-template-columns: 1fr 1fr;
  }
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  padding: 0;
  margin: var(--space-md) 0 0;
  list-style: none;
}

.pill-list li {
  font-size: var(--text-xs);
  padding: var(--space-2xs) var(--space-sm);
  border-radius: 999px;
  border: 1px solid rgba(0, 173, 181, 0.28);
  color: rgba(238, 238, 238, 0.85);
}

.quote-row {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 720px) {
  .quote-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.quote-card {
  background: rgba(34, 40, 49, 0.65);
  border-radius: var(--radius-md);
  border: 1px solid rgba(238, 238, 238, 0.08);
  padding: var(--space-md);
  font-size: var(--text-sm);
  color: rgba(238, 238, 238, 0.82);
}

.quote-card .who {
  margin-top: var(--space-sm);
  font-size: var(--text-xs);
  color: var(--tone-mint);
}

.gallery-ribbon {
  display: grid;
  gap: var(--space-sm);
}

@media (min-width: 700px) {
  .gallery-ribbon {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.gallery-ribbon figure {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(238, 238, 238, 0.1);
  box-shadow: var(--shadow-soft);
}

.gallery-ribbon figcaption {
  padding: var(--space-xs) var(--space-sm);
  font-size: var(--text-xs);
  color: rgba(238, 238, 238, 0.65);
}

.foot-min {
  padding-block: var(--space-lg);
  border-top: 1px solid rgba(238, 238, 238, 0.08);
  margin-top: var(--space-2xl);
}

.foot-min .shell-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-xs);
  color: rgba(238, 238, 238, 0.55);
}

.foot-min .foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.foot-min a {
  color: rgba(238, 238, 238, 0.72);
  text-decoration: none;
}

.foot-min a:hover {
  color: var(--tone-mint);
}

.gate-pop {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 80;
  padding: var(--space-md);
  pointer-events: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--dur-mid) var(--ease-out), transform var(--dur-mid) var(--ease-out);
}

.gate-pop.is-visible {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}

.gate-pop .gate-card {
  width: min(720px, 100%);
  margin-inline: auto;
  background: rgba(34, 40, 49, 0.96);
  border: 1px solid rgba(0, 173, 181, 0.35);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  box-shadow: var(--shadow-lift);
  display: grid;
  gap: var(--space-sm);
}

.gate-pop .gate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
  justify-content: space-between;
}

.gate-pop p {
  margin: 0;
  font-size: var(--text-sm);
  color: rgba(238, 238, 238, 0.82);
}

.gate-pop .btn-pill {
  cursor: pointer;
  border: none;
  font: inherit;
}

.contact-stage {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 900px) {
  .contact-stage {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: start;
  }
}

.contact-card {
  background: linear-gradient(155deg, rgba(57, 62, 70, 0.75), rgba(34, 40, 49, 0.85));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(238, 238, 238, 0.1);
  padding: var(--space-lg);
  box-shadow: var(--shadow-lift);
  position: relative;
  overflow: hidden;
}

.contact-card::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  right: -40px;
  top: -40px;
  background: radial-gradient(circle, rgba(0, 173, 181, 0.35), transparent 70%);
  pointer-events: none;
}

.contact-card h2 {
  margin: 0 0 var(--space-sm);
  font-family: var(--font-display);
  font-size: var(--text-xl);
}

.field-grid {
  display: grid;
  gap: var(--space-sm);
}

.field-grid label {
  font-size: var(--text-xs);
  color: rgba(238, 238, 238, 0.7);
  display: grid;
  gap: var(--space-2xs);
}

.field-grid input,
.field-grid textarea {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(238, 238, 238, 0.14);
  background: rgba(17, 19, 23, 0.45);
  color: var(--tone-mist);
  padding: var(--space-xs) var(--space-sm);
  font: inherit;
  font-size: var(--text-sm);
}

.field-grid textarea {
  min-height: 7rem;
  resize: vertical;
}

.check-line {
  display: flex;
  gap: var(--space-xs);
  align-items: flex-start;
  font-size: var(--text-xs);
  color: rgba(238, 238, 238, 0.75);
}

.check-line input {
  margin-top: 0.2rem;
}

.map-shell {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(238, 238, 238, 0.12);
  box-shadow: var(--shadow-soft);
  min-height: 220px;
}

.map-shell iframe {
  width: 100%;
  height: 260px;
  border: 0;
}

.asym-stack {
  position: relative;
  padding-block: var(--space-xl);
}

.asym-stack .tilt-a {
  transform: rotate(-1.2deg);
  margin-left: 0;
}

.asym-stack .tilt-b {
  transform: rotate(1deg);
  margin-top: calc(var(--space-lg) * -1);
  margin-left: 8%;
}

.asym-stack .tilt-c {
  transform: rotate(-0.6deg);
  margin-top: var(--space-md);
  margin-right: 6%;
}

.overlap-band {
  position: relative;
}

.overlap-band .float-note {
  position: relative;
  z-index: 2;
  margin-top: calc(var(--space-lg) * -1);
  margin-left: 4%;
  max-width: min(var(--max-read), 92%);
}

.product-grid {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 780px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.product-tile {
  background: rgba(34, 40, 49, 0.72);
  border-radius: var(--radius-md);
  border: 1px solid rgba(238, 238, 238, 0.1);
  padding: var(--space-md);
  display: grid;
  gap: var(--space-sm);
  box-shadow: var(--shadow-soft);
}

.product-tile h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-lg);
}

.product-tile .price {
  font-size: var(--text-md);
  color: var(--tone-mint);
  font-weight: 600;
}

.product-tile p {
  margin: 0;
  font-size: var(--text-sm);
  color: rgba(238, 238, 238, 0.78);
}

.legal-sheet {
  max-width: var(--max-read);
  margin-inline: auto;
}

.legal-sheet h2 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  margin-top: var(--space-xl);
}

.legal-sheet h2:first-child {
  margin-top: 0;
}

.legal-sheet p,
.legal-sheet li {
  font-size: var(--text-sm);
  color: rgba(238, 238, 238, 0.82);
}

.legal-sheet ul {
  padding-left: 1.1rem;
}

.thanks-hero {
  min-height: 48vh;
  display: grid;
  align-items: center;
}

.mini-404 {
  min-height: 60vh;
  display: grid;
  align-items: center;
  text-align: center;
}

@media (max-width: 374px) {
  .shell-wrap {
    width: calc(100% - 1rem);
  }

  .head-bar .brand-word {
    font-size: var(--text-md);
  }

  .head-bar .brand-sub {
    font-size: 0.65rem;
    line-height: 1.3;
  }

  .hero-flow {
    border-radius: var(--radius-md);
    min-height: min(72vh, 28rem);
  }

  .hero-flow .hero-overlay {
    padding: var(--space-lg) var(--space-sm);
    gap: var(--space-sm);
  }

  .hero-flow h1 {
    font-size: clamp(1.05rem, 5.5vw, var(--text-2xl));
  }

  .btn-pill,
  .btn-ghost {
    min-height: 2.75rem;
    padding-inline: var(--space-sm);
    justify-content: center;
    flex: 1 1 auto;
  }

  .btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  .card-slab,
  .contact-card,
  .product-tile,
  .quote-card {
    padding: var(--space-md);
  }

  .gate-pop {
    padding: var(--space-sm);
    padding-bottom: calc(var(--space-sm) + env(safe-area-inset-bottom, 0px));
  }

  .gate-pop .gate-card {
    padding: var(--space-sm) var(--space-md);
  }

  .map-shell iframe {
    height: 200px;
    min-height: 180px;
  }

  .foot-min .shell-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (min-width: 375px) and (max-width: 479px) {
  .hero-flow .hero-overlay {
    padding-inline: var(--space-md);
  }
}

@media (max-width: 479px) {
  body {
    font-size: var(--text-sm);
  }

  .shell-pad {
    padding-block: var(--space-lg);
  }

  .section-gap {
    margin-top: var(--space-xl);
  }

  .asym-stack .tilt-a,
  .asym-stack .tilt-b,
  .asym-stack .tilt-c {
    transform: none;
    margin-left: 0;
    margin-right: 0;
  }

  .asym-stack .tilt-b {
    margin-top: var(--space-md);
  }

  .overlap-band .float-note {
    margin-left: 0;
    margin-top: var(--space-md);
    max-width: 100%;
  }

  .legal-sheet {
    padding-inline: 0;
  }

  .mini-404 .btn-row,
  .thanks-hero .btn-row {
    flex-direction: column;
    align-items: stretch;
  }

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

@media (min-width: 480px) and (max-width: 599px) {
  .quote-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quote-row .quote-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (min-width: 480px) and (max-width: 699px) {
  .gallery-ribbon {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-ribbon figure:last-child {
    grid-column: 1 / -1;
  }
}

@media (min-width: 600px) and (max-width: 779px) {
  .split-band {
    grid-template-columns: 1fr 1fr;
  }

  .split-band .card-slab:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

@media (min-width: 640px) and (max-width: 899px) {
  .contact-stage {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

@media (min-width: 768px) and (max-width: 859px) {
  .shell-wrap {
    width: min(1120px, calc(100% - 2.5rem));
  }
}

@media (min-width: 992px) {
  .shell-wrap {
    width: min(1120px, calc(100% - 3rem));
  }

  .shell-pad {
    padding-block: var(--space-2xl);
  }
}

@media (min-width: 1200px) {
  .hero-flow {
    min-height: clamp(360px, 56vh, 600px);
  }
}

@media (min-width: 1400px) {
  .shell-wrap {
    width: min(1120px, 88%);
  }
}

@media (max-width: 599px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 600px) and (max-width: 779px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 600px) and (max-width: 719px) {
  .quote-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quote-row .quote-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 320px) {
  .shell-wrap {
    width: calc(100% - 0.75rem);
  }

  .hero-flow h1 {
    font-size: 1.02rem;
    word-break: break-word;
  }

  .pill-list li {
    font-size: 0.68rem;
    padding-inline: var(--space-xs);
  }

  .field-grid input,
  .field-grid textarea {
    font-size: var(--text-xs);
  }
}

@media (min-width: 1024px) {
  .map-shell iframe {
    height: 280px;
  }

  .contact-card {
    padding: var(--space-xl);
  }
}

@media (orientation: landscape) and (max-height: 480px) {
  .hero-flow {
    min-height: 260px;
  }

  .thanks-hero {
    min-height: auto;
    padding-block: var(--space-lg);
  }
}
