:root {
  --tone-deep: #0f2854;
  --tone-mid: #1c4d8d;
  --tone-sky: #4988c4;
  --tone-mist: #bde8f5;
  --tone-paper: #f7fbff;
  --tone-ink: #0b1c39;
  --tone-white: #ffffff;
  --font-display: "Sora", sans-serif;
  --font-body: "Manrope", sans-serif;
  --space-xs: 0.4rem;
  --space-sm: 0.7rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.2rem;
  --space-2xl: 3.1rem;
  --radius-sm: 0.5rem;
  --radius-md: 0.9rem;
  --radius-lg: 1.4rem;
  --shadow-soft: 0 0.5rem 1.5rem rgba(15, 40, 84, 0.15);
  --shadow-strong: 0 1rem 2.8rem rgba(15, 40, 84, 0.2);
  --line-tight: 1.35;
  --trans-fast: 180ms ease;
  --trans-mid: 320ms ease;
  --max-width: 74rem;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.96rem;
  line-height: var(--line-tight);
  color: var(--tone-ink);
  background: linear-gradient(170deg, var(--tone-paper), #e8f4ff 58%, #d5eafb);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius-md);
}

.site-wrap {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
}

.standard-header {
  background: var(--tone-white);
  border-bottom: 0.08rem solid rgba(28, 77, 141, 0.15);
  box-shadow: var(--shadow-soft);
  position: relative;
  z-index: 40;
}

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

.brand-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--tone-deep);
}

.menu-button {
  border: none;
  background: var(--tone-deep);
  color: var(--tone-white);
  border-radius: 999rem;
  width: 2.2rem;
  height: 2.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 130;
}

.site-nav {
  display: none;
}

.site-nav.nav-open {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 110;
  background: linear-gradient(165deg, rgba(15, 40, 84, 0.97), rgba(28, 77, 141, 0.95));
  align-items: center;
  justify-content: center;
}

.site-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1rem;
  margin: 0;
  width: min(100% - 2rem, 20rem);
}

.site-menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: var(--tone-white);
  border: 0.08rem solid rgba(189, 232, 245, 0.3);
  transition: background var(--trans-fast);
}

.site-menu a:hover,
.site-menu a:focus-visible {
  background: rgba(189, 232, 245, 0.18);
}

.hero-shell {
  position: relative;
  padding: var(--space-2xl) 0 var(--space-xl);
}

.art-field {
  position: absolute;
  inset: 0;
  border-radius: 2rem;
  overflow: hidden;
}

#motion-surface {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-core {
  position: relative;
  background: rgba(255, 255, 255, 0.78);
  border-radius: 2rem;
  padding: 2.4rem 1.2rem 1.4rem;
  box-shadow: var(--shadow-strong);
  min-height: 20rem;
}

.hero-core h1 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.8vw, 2.6rem);
  margin: 0;
  max-width: 42rem;
}

.hero-core p {
  max-width: 36rem;
  margin: var(--space-md) 0;
}

.action-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.spark-btn,
.hollow-btn,
form button {
  border: 0.08rem solid transparent;
  border-radius: 999rem;
  padding: 0.55rem 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.spark-btn,
form button {
  background: var(--tone-deep);
  color: var(--tone-white);
}

.hollow-btn {
  border-color: var(--tone-deep);
  color: var(--tone-deep);
  background: transparent;
}

.snug-section {
  margin: var(--space-xl) 0;
  position: relative;
}

.slant-panel {
  background: var(--tone-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: var(--space-lg);
  transform: rotate(-1.2deg);
}

.slant-panel > * {
  transform: rotate(1.2deg);
}

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

.float-card {
  background: rgba(255, 255, 255, 0.87);
  border: 0.08rem solid rgba(28, 77, 141, 0.15);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-soft);
}

.photo-frame {
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.photo-frame img {
  aspect-ratio: 7 / 4;
  object-fit: cover;
}

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

.list-clean {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-sm);
}

.list-clean li {
  background: var(--tone-white);
  border-left: 0.25rem solid var(--tone-sky);
  padding: var(--space-sm);
  border-radius: var(--radius-sm);
}

.map-box iframe {
  width: 100%;
  min-height: 15rem;
  border: 0;
  border-radius: var(--radius-md);
}

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

label {
  display: grid;
  gap: 0.25rem;
  font-size: 0.84rem;
}

input,
textarea {
  width: 100%;
  border: 0.08rem solid rgba(28, 77, 141, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.52rem 0.62rem;
  font: inherit;
  font-size: 0.85rem;
}

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

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}

.check-row input {
  width: auto;
  margin-top: 0.2rem;
}

.mini-foot {
  margin-top: var(--space-xl);
  padding: var(--space-md) 0 var(--space-lg);
  font-size: 0.78rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mini-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.legal-sheet {
  background: var(--tone-white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-soft);
  margin: var(--space-lg) 0;
}

.popup-layer {
  position: fixed;
  inset: auto 0 0;
  margin: 0 auto;
  width: min(100% - 1rem, 34rem);
  padding: 0.7rem;
  z-index: 90;
}

.popup-card {
  background: rgba(11, 28, 57, 0.96);
  color: var(--tone-white);
  border-radius: var(--radius-md);
  padding: 0.8rem;
  display: grid;
  gap: 0.6rem;
}

.popup-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.hide {
  display: none;
}

.price-tag {
  font-family: var(--font-display);
  color: var(--tone-mid);
  font-size: 1.2rem;
}

@media (max-width: 64rem) {
  .site-wrap {
    width: min(100% - 1.5rem, var(--max-width));
  }

  .hero-core {
    min-height: 18rem;
  }
}

@media (max-width: 48rem) {
  .hero-shell {
    padding: var(--space-xl) 0 var(--space-lg);
  }

  .hero-core {
    border-radius: 1.2rem;
    padding: 1.4rem 0.9rem 1.1rem;
    min-height: 16.5rem;
  }

  .hero-core h1 {
    font-size: clamp(1.3rem, 6.5vw, 1.8rem);
  }

  .slant-panel {
    transform: rotate(-0.4deg);
    padding: 1rem;
  }

  .slant-panel > * {
    transform: rotate(0.4deg);
  }

  .action-strip {
    gap: 0.5rem;
  }

  .spark-btn,
  .hollow-btn,
  form button {
    font-size: 0.8rem;
    padding: 0.5rem 0.9rem;
  }

  .map-box iframe {
    min-height: 13rem;
  }
}

@media (min-width: 48rem) {
  .menu-button {
    display: none;
  }

  .site-nav {
    display: block;
  }

  .site-menu {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    width: auto;
    gap: 0.35rem;
    padding: 0;
  }

  .site-menu a {
    justify-content: flex-start;
    color: var(--tone-ink);
    border: none;
    padding: 0.45rem 0.6rem;
    font-size: 0.9rem;
  }

  .hero-core {
    padding: 3rem 2.4rem 2.1rem;
  }

  .offset-stack {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }

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

  .drift-right {
    margin-left: 10%;
  }

  .drift-left {
    margin-right: 12%;
  }
}

@media (max-width: 30rem) {
  .site-wrap {
    width: min(100% - 1.1rem, var(--max-width));
  }

  .brand-mark {
    font-size: 0.92rem;
    letter-spacing: 0.03em;
  }

  .site-menu a {
    font-size: 0.92rem;
    padding: 0.72rem 0.7rem;
  }

  .float-card,
  .legal-sheet {
    padding: 0.85rem;
  }

  .popup-layer {
    width: calc(100% - 0.5rem);
    padding: 0.3rem;
  }
}

@media (max-width: 23.4375rem) {
  .hero-core {
    padding: 1.05rem 0.7rem 0.9rem;
    min-height: 15.5rem;
  }

  .hero-core p {
    margin: 0.7rem 0;
    font-size: 0.84rem;
  }

  .mini-links {
    gap: 0.45rem;
  }
}

@media (max-width: 20rem) {
  .hero-core h1 {
    font-size: 1.18rem;
  }

  body {
    font-size: 0.84rem;
  }

  .header-inner {
    min-height: 3.4rem;
  }

  .menu-button {
    width: 2rem;
    height: 2rem;
  }

  .site-menu {
    padding: 0 0.5rem 0.55rem;
  }

  .snug-section {
    margin: 1rem 0;
  }

  .float-card,
  .slant-panel,
  .legal-sheet,
  .popup-card {
    padding: 0.72rem;
    border-radius: 0.7rem;
  }

  .map-box iframe {
    min-height: 11rem;
  }

  input,
  textarea {
    font-size: 0.8rem;
    padding: 0.45rem 0.52rem;
  }

  .price-tag {
    font-size: 1rem;
  }
}

@media (min-width: 64rem) {
  .hero-core {
    min-height: 22rem;
  }

  .snug-section {
    margin: 2.5rem 0;
  }
}

@media (min-width: 90rem) {
  html {
    font-size: 106%;
  }
}
