:root {
  --tone-ink: #2c3333;
  --tone-deep: #2e4f4f;
  --tone-surge: #0e8388;
  --tone-mist: #cbe4de;
  --tone-paper: #f6fbfa;
  --font-display: "Syne", sans-serif;
  --font-body: "Manrope", sans-serif;
  --size-xs: 0.75rem;
  --size-sm: 0.85rem;
  --size-md: 0.95rem;
  --size-lg: 1.2rem;
  --space-xs: 0.4rem;
  --space-sm: 0.7rem;
  --space-md: 1rem;
  --space-lg: 1.4rem;
  --space-xl: 2rem;
  --curve-sm: 0.6rem;
  --curve-md: 1rem;
  --curve-lg: 1.6rem;
  --shadow-soft: 0 0.9rem 2rem rgba(44, 51, 51, 0.14);
  --timing-smooth: 0.28s ease;
}
*,
*::before,
*::after { box-sizing: border-box; }
html { font-size: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--tone-ink);
  background: linear-gradient(140deg, #f8fcfb, #eef8f7 48%, #e8f4f2);
  font-size: var(--size-sm);
  line-height: 1.45;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  margin: 0 0 var(--space-sm);
}
p { margin: 0 0 var(--space-md); }
main { width: min(96%, 75rem); margin: var(--space-xl) auto; display: grid; gap: var(--space-lg); }
.halo-bar { padding: var(--space-sm) 0; position: relative; z-index: 10; }
.halo-inner {
  width: min(94%, 62rem);
  margin: 0.8rem auto 0;
  background: rgba(203, 228, 222, 0.88);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: 0.45rem 0.7rem 0.45rem 1rem;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.wordmark { font-family: var(--font-display); font-size: var(--size-lg); margin: 0; }
.menu-burst {
  border: 0;
  border-radius: 999px;
  background: var(--tone-deep);
  color: #fff;
  width: 2.5rem;
  height: 2.5rem;
  display: none;
  place-content: center;
  gap: 0.22rem;
  cursor: pointer;
}
.menu-burst span { display: block; width: 1.1rem; height: 0.12rem; background: #fff; }
.menu-burst span { transition: transform var(--timing-smooth), opacity var(--timing-smooth); transform-origin: center; }
.drift-menu { display: flex; gap: var(--space-sm); align-items: center; }
.drift-menu a { padding: 0.38rem 0.66rem; border-radius: 999px; transition: var(--timing-smooth); font-size: var(--size-xs); }
.drift-menu a:hover { background: var(--tone-surge); color: #fff; }
.hero-orbit {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-md);
  align-items: center;
}
.hero-copy { background: #ffffffb5; padding: var(--space-lg); border-radius: var(--curve-lg); box-shadow: var(--shadow-soft); }
.hero-copy h1 { font-size: clamp(1.1rem, 3.3vw, 2.5rem); line-height: 1.08; }
.hero-copy p { max-width: 44ch; }
.site-domain { font-size: var(--size-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--tone-surge); }
.generative-panel {
  width: 100%;
  min-height: 19rem;
  border-radius: var(--curve-lg);
  background: radial-gradient(circle at 20% 30%, #0e838861, transparent 40%), #1f3434;
  box-shadow: var(--shadow-soft);
}
.photo-wave, .compact-grid, .angled-band, .review-stack, .contact-slice, .tilt-hero, .overlap-cards, .slant-panel, .offset-band, .zig-contact, .contact-stage, .micro-map {
  background: #ffffffbf;
  border-radius: var(--curve-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-soft);
}
.photo-ribbon { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-sm); }
.photo-ribbon figure { margin: 0; }
.photo-ribbon img { width: 100%; height: auto; border-radius: var(--curve-sm); display: block; }
.photo-ribbon figcaption { margin-top: var(--space-xs); font-size: var(--size-xs); }
.compact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-sm); }
.compact-grid article { background: var(--tone-paper); border-radius: var(--curve-sm); padding: var(--space-sm); }
.compact-grid i { font-size: 1.1rem; color: var(--tone-surge); }
.action-chip {
  display: inline-block;
  border-radius: 999px;
  background: var(--tone-deep);
  color: #fff;
  padding: 0.45rem 0.9rem;
  font-size: var(--size-xs);
  transition: var(--timing-smooth);
}
.action-chip:hover { background: var(--tone-surge); transform: translateY(-0.1rem); }
.angled-band { transform: skewY(-2deg); }
.angled-band > * { transform: skewY(2deg); }
.review-stack { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-sm); }
.review-stack article { background: #f1f8f7; padding: var(--space-sm); border-radius: var(--curve-sm); }
.contact-slice { display: grid; gap: var(--space-xs); }
.micro-foot {
  width: min(94%, 62rem);
  margin: 0 auto var(--space-lg);
  padding: var(--space-sm);
  border-radius: var(--curve-md);
  background: var(--tone-ink);
  color: var(--tone-mist);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}
.asym-shell section:nth-child(2n) { margin-left: 6%; }
.asym-shell section:nth-child(2n+1) { margin-right: 6%; }
.overlap-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-sm);
}
.overlap-cards article:nth-child(2) { margin-top: -1.3rem; }
.overlap-cards article {
  background: #f2f9f8;
  border: 0.08rem solid #d4ebea;
  border-radius: var(--curve-sm);
  padding: var(--space-sm);
}
.slant-panel { border-left: 0.3rem solid var(--tone-surge); transform: rotate(-0.4deg); }
.offset-band ul { margin: 0; padding-left: 1rem; }
.contact-stage form { display: grid; gap: var(--space-xs); }
.contact-stage input, .contact-stage textarea {
  border: 0.08rem solid #bdd8d1;
  border-radius: var(--curve-sm);
  padding: 0.55rem;
  font-size: var(--size-sm);
  font-family: var(--font-body);
}
.consent-row { display: flex; gap: var(--space-xs); align-items: center; }
.consent-row input { flex: 0 0 auto; }
.micro-map iframe { width: 100%; min-height: 16rem; border: 0; border-radius: var(--curve-sm); }
.policy-shell { width: min(94%, 60rem); margin: var(--space-xl) auto; background: #ffffffcf; border-radius: var(--curve-md); box-shadow: var(--shadow-soft); padding: var(--space-lg); }
.policy-shell section { margin-bottom: var(--space-md); }
.policy-shell h1 { margin-bottom: var(--space-md); }
.flash-page {
  min-height: 75vh;
  width: min(94%, 44rem);
  margin: var(--space-xl) auto;
  background: #ffffffcf;
  border-radius: var(--curve-md);
  box-shadow: var(--shadow-soft);
  padding: var(--space-xl);
  display: grid;
  place-content: center;
  text-align: center;
  gap: var(--space-sm);
}
.privacy-toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: min(22rem, 90vw);
  background: var(--tone-ink);
  color: #fff;
  border-radius: var(--curve-sm);
  padding: var(--space-sm);
  box-shadow: var(--shadow-soft);
  display: none;
  z-index: 20;
}
.privacy-toast.show { display: block; }
.privacy-toast button { border: 0; border-radius: 999px; padding: 0.35rem 0.8rem; background: var(--tone-surge); color: #fff; margin-top: var(--space-xs); cursor: pointer; }
@media (max-width: 80rem) {
  :root {
    --space-lg: 1.25rem;
    --space-xl: 1.75rem;
  }
  main { width: min(95%, 70rem); }
}
@media (max-width: 64rem) {
  .halo-inner { width: min(95%, 58rem); }
  .hero-orbit { grid-template-columns: 1fr; }
  .hero-copy p { max-width: 100%; }
  .generative-panel { min-height: 16rem; }
  .hero-orbit, .compact-grid, .review-stack, .overlap-cards, .photo-ribbon { grid-template-columns: 1fr; }
  .overlap-cards article:nth-child(2) { margin-top: 0; }
  .asym-shell section:nth-child(2n), .asym-shell section:nth-child(2n+1) { margin: 0; }
}
@media (max-width: 56rem) {
  :root {
    --size-sm: 0.82rem;
    --size-md: 0.92rem;
  }
  .photo-wave, .compact-grid, .angled-band, .review-stack, .contact-slice, .tilt-hero, .overlap-cards, .slant-panel, .offset-band, .zig-contact, .contact-stage, .micro-map, .policy-shell, .flash-page {
    padding: 1rem;
  }
  .micro-foot {
    width: min(95%, 100%);
    padding: 0.7rem;
    gap: 0.5rem;
  }
}
@media (max-width: 48rem) {
  body { line-height: 1.4; }
  h1 { font-size: clamp(1.2rem, 6vw, 1.6rem); }
  h2 { font-size: clamp(1.05rem, 4.9vw, 1.3rem); }
  h3 { font-size: clamp(0.95rem, 4.2vw, 1.08rem); }
  main { width: min(96%, 100%); margin: 1.1rem auto; gap: 0.9rem; }
  .halo-inner {
    border-radius: 1rem;
    padding: 0.4rem 0.5rem 0.4rem 0.75rem;
  }
  .wordmark { font-size: 1rem; }
  .menu-burst {
    display: grid;
    position: relative;
    z-index: 80;
  }
  .menu-burst[aria-expanded="true"] span:nth-child(1) { transform: translateY(0.34rem) rotate(45deg); }
  .menu-burst[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-burst[aria-expanded="true"] span:nth-child(3) { transform: translateY(-0.34rem) rotate(-45deg); }
  .drift-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 70;
    background: rgba(44, 51, 51, 0.98);
    padding: 5.2rem 1rem 1rem;
    flex-direction: column;
    width: 100vw;
    height: 100dvh;
    overflow-y: auto;
    gap: 0.4rem;
  }
  .drift-menu a {
    width: 100%;
    text-align: center;
    color: #fff;
    border: 0.06rem solid rgba(203, 228, 222, 0.35);
    padding: 0.7rem;
  }
  .drift-menu.open { display: flex; }
  .angled-band { transform: none; }
  .angled-band > * { transform: none; }
  .slant-panel { transform: none; }
  .contact-stage form { gap: 0.5rem; }
  .micro-map iframe { min-height: 13rem; }
  .privacy-toast {
    right: 0.5rem;
    left: 0.5rem;
    bottom: 0.5rem;
    width: auto;
  }
}
@media (max-width: 36rem) {
  :root {
    --size-xs: 0.72rem;
    --size-sm: 0.8rem;
    --space-sm: 0.6rem;
    --space-md: 0.8rem;
  }
  .hero-copy,
  .photo-wave, .compact-grid, .angled-band, .review-stack, .contact-slice, .tilt-hero, .overlap-cards, .slant-panel, .offset-band, .zig-contact, .contact-stage, .micro-map, .policy-shell, .flash-page {
    border-radius: 0.75rem;
  }
  .action-chip {
    width: 100%;
    text-align: center;
    padding: 0.5rem 0.75rem;
  }
  .micro-foot {
    justify-content: flex-start;
    padding: 0.65rem;
  }
  .micro-foot a, .micro-foot p { width: 100%; margin: 0; }
  .consent-row { align-items: flex-start; }
}
@media (max-width: 22.5rem) {
  main { width: 95%; margin: 0.9rem auto; gap: 0.7rem; }
  .halo-bar { padding: 0.4rem 0; }
  .halo-inner { padding: 0.36rem 0.45rem 0.36rem 0.55rem; gap: 0.35rem; }
  .wordmark { font-size: 0.92rem; }
  .menu-burst { width: 2.2rem; height: 2.2rem; }
  .menu-burst span { width: 1rem; }
  .drift-menu {
    padding: 4.6rem 0.75rem 0.75rem;
  }
  .drift-menu a {
    padding: 0.55rem 0.45rem;
    font-size: 0.74rem;
  }
  .hero-copy h1 { line-height: 1.12; }
  .generative-panel { min-height: 11.5rem; }
  .photo-wave, .compact-grid, .angled-band, .review-stack, .contact-slice, .tilt-hero, .overlap-cards, .slant-panel, .offset-band, .zig-contact, .contact-stage, .micro-map, .policy-shell, .flash-page {
    padding: 0.8rem;
  }
  .contact-stage input, .contact-stage textarea { padding: 0.48rem; }
  .micro-map iframe { min-height: 11rem; }
  .privacy-toast { border-radius: 0.55rem; padding: 0.55rem; }
}
