@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/montserrat-500.ttf") format("truetype");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/montserrat-600.ttf") format("truetype");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/montserrat-700.ttf") format("truetype");
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/onest-800.ttf") format("truetype");
}

:root {
  --ink: #262729;
  --paper: #ffffff;
  --cyan: #00aff0;
  --sun: #ffd75e;
  --blue: #308ccb;
  --sand: #c6c4bf;
  --line: #bdbdbd;
  --max: 1120px;
  --header: 88px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Montserrat", "Segoe UI", sans-serif;
  --display: "Onest", "Montserrat", sans-serif;
}

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

@view-transition { navigation: auto; }

.vt-project { view-transition-name: project-shot; }

html { scroll-behavior: smooth; }

[id] { scroll-margin-top: 120px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--blue);
  font-family: var(--font);
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1.55;
}

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

a { color: var(--ink); }

:focus { outline: none; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 30;
  background: var(--sun);
  color: var(--ink);
  padding: 0.6rem 0.9rem;
  font-weight: 700;
  transform: translateY(-160%);
}

.skip:focus { transform: none; }

.preview-banner {
  background: var(--sun);
  color: var(--ink);
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.28rem 0.75rem;
}

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

h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; }

h1 { font-size: clamp(2.6rem, 6vw, 5rem); margin: 0 0 0.6rem; }

h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 0 0 0.6rem; }

h3 { font-size: 1.25rem; margin: 0 0 0.35rem; }

p { margin: 0 0 0.8rem; }

.kicker {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--ink);
  color: var(--paper);
}

.header-inner {
  width: min(1240px, calc(100% - 1.5rem));
  margin-inline: auto;
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo { display: block; line-height: 0; flex: 0 0 auto; }

.logo img { width: 200px; max-width: 46vw; height: auto; }

.nav-toggle {
  margin-left: auto;
  min-width: 48px;
  min-height: 48px;
  border: 2px solid var(--paper);
  background: transparent;
  color: var(--paper);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.site-nav { display: none; }

.site-nav.is-open {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--ink);
  padding: 0.4rem 1rem 1rem;
}

.site-nav a {
  color: var(--paper);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.2rem 0.55rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--sun); }

.header-call,
.motion-toggle,
.header-quote,
.header-quote.btn { display: none; }

.motion-toggle {
  border: 2px solid var(--paper);
  background: transparent;
  color: var(--paper);
  font: inherit;
  font-weight: 700;
  min-height: 44px;
  padding: 0 0.7rem;
  cursor: pointer;
}

.motion-toggle:hover,
.motion-toggle[aria-pressed="true"] { background: var(--sun); color: var(--ink); border-color: var(--sun); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.55rem 1.05rem;
  background: var(--cyan);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--cyan);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--sun);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 300ms var(--ease);
  z-index: -1;
}

.btn:hover::before,
.btn:focus-visible::before { transform: scaleY(1); }

.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--paper);
}

.btn-ghost::before { background: var(--paper); }

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  color: var(--paper);
  background: var(--ink);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img,
.hero-media canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(38, 39, 41, 0.92) 0%, rgba(38, 39, 41, 0.78) 42%, rgba(38, 39, 41, 0.15) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 2rem));
  margin: 0 auto 8vh 6vw;
}

.hero .kicker { color: var(--sun); }

.hero-copy p { max-width: 38rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }

.area-bar {
  background: var(--sun);
  color: var(--ink);
  font-weight: 700;
  text-align: center;
  padding: 0.7rem 1rem;
}

.section { padding: 4.2rem 0; background: var(--paper); }

.section.sand { background: var(--sand); }

.section.ink { background: var(--ink); color: var(--paper); }

.section.ink .kicker { color: var(--sun); }

.section.finance { background: var(--cyan); }

.caustic-rule {
  height: 14px;
  background: var(--ink);
  overflow: clip;
}

.caustic-rule span {
  display: block;
  height: 100%;
  width: 220%;
  background: linear-gradient(90deg, transparent 0%, var(--cyan) 18%, transparent 36%, var(--cyan) 54%, transparent 72%, var(--cyan) 90%, transparent 100%);
  animation: caustic-drift 9s linear infinite;
}

@keyframes caustic-drift {
  to { transform: translateX(-45%); }
}

html.motion-off .caustic-rule span,
html.motion-off .btn::before { animation: none; transition: none; }

.section-head { max-width: 40rem; margin-bottom: 1.4rem; }

.cards {
  display: grid;
  gap: 1rem;
}

.card {
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.card img { width: 100%; height: 180px; object-fit: cover; }

.card-body { padding: 0.9rem 0.95rem 1.1rem; }

.card-more { font-weight: 700; font-size: 0.92rem; }

.chapter { background: var(--ink); color: var(--paper); }

.chapter-sticky {
  display: grid;
  gap: 1.2rem;
  padding: 3rem 0;
}

.stage-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }

.stage {
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.75rem 0.85rem;
}

.stage strong { display: block; font-family: var(--display); font-size: 1.2rem; }

.chapter-visual { position: relative; min-height: 280px; background: #111214; overflow: hidden; }

.chapter-visual img { width: 100%; height: 320px; object-fit: cover; }

.waterline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 175, 240, 0.45), rgba(0, 175, 240, 0.05));
  transform: scaleY(0.15);
  transform-origin: bottom center;
  pointer-events: none;
}

.placeholder {
  border: 2px dashed var(--ink);
  background: var(--sun);
  color: var(--ink);
  padding: 0.8rem 0.9rem;
}

.chapter .placeholder { border-color: var(--sun); background: transparent; color: var(--sun); }

.ba {
  position: relative;
  background: var(--ink);
  min-height: 420px;
  overflow: hidden;
}

.ba img { width: 100%; height: 520px; object-fit: cover; }

.ba-before {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: var(--sand);
  clip-path: inset(0 40% 0 0);
}

.ba input[type="range"] {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  width: calc(100% - 2rem);
  accent-color: var(--ink);
}

.parallax-band {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  align-items: end;
}

.parallax-band img {
  position: absolute;
  inset: -8% 0;
  width: 100%;
  height: 116%;
  object-fit: cover;
}

.parallax-band .wrap { position: relative; z-index: 1; padding: 2.5rem 0; }

.parallax-band .scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(38, 39, 41, 0.82), rgba(38, 39, 41, 0.1));
}

.quote {
  margin: 0;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.3;
}

.quote footer { margin-top: 0.8rem; font-size: 1rem; color: var(--sun); }

.stars { color: var(--sun); letter-spacing: 0.15em; }

.count { font-family: var(--display); font-size: clamp(3rem, 6vw, 4.5rem); line-height: 1; margin: 0; }

.finance-grid, .contact-grid {
  display: grid;
  gap: 1.4rem;
  align-items: center;
}

.facts { list-style: none; margin: 0; padding: 0; }

.facts li { margin: 0 0 0.85rem; }

.quote-form, .form-confirm {
  background: var(--paper);
  padding: 1.2rem;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  left: 50%;
  top: 60%;
  width: 24px;
  height: 24px;
  margin: -12px 0 0 -12px;
  border-radius: 50%;
  background: rgba(0, 175, 240, 0.35);
  pointer-events: none;
  animation: ripple 280ms var(--ease) forwards;
}

@keyframes ripple {
  to { transform: scale(16); opacity: 0; }
}

html.js.motion .reveal:not(.is-in) {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}

html.js.motion .reveal.is-in {
  opacity: 1;
  transform: none;
}

.field { margin-bottom: 0.85rem; }

.field label { display: block; font-weight: 700; margin-bottom: 0.25rem; }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.55rem 0.7rem;
  border: 2px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

.field textarea { min-height: 120px; }

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea { border-color: var(--ink); box-shadow: inset 4px 0 0 var(--sun); }

.field-error { min-height: 1.2em; color: var(--ink); font-weight: 700; font-size: 0.95rem; margin: 0.25rem 0 0; }

.specs { display: grid; gap: 0.6rem; margin: 0; }

.specs div {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 0.6rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}

.specs dt { font-weight: 700; margin: 0; }

.specs dd { margin: 0; }

.gallery {
  display: grid;
  gap: 0.8rem;
}

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

.gallery img { width: 100%; height: 240px; object-fit: cover; }

.gallery figcaption { padding: 0.4rem 0 0.6rem; font-weight: 600; font-size: 0.95rem; }

.cursor-ring {
  position: fixed;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  pointer-events: none;
  z-index: 40;
  display: none;
}

.site-footer { background: var(--blue); color: var(--ink); }

.footer-brand { background: var(--ink); padding: 0.85rem 0; }

.footer-logo { width: 200px; max-width: 52vw; height: auto; }

.footer-panel { background: var(--paper); padding: 1.4rem 0 0.6rem; }

.footer-grid { display: grid; gap: 1.2rem; }

.hours { margin: 0.2rem 0 0; padding-left: 1.1rem; }

.fine {
  margin-top: 1.2rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}

.mobile-bar {
  position: sticky;
  bottom: 0;
  z-index: 15;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.mobile-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  color: var(--ink);
  background: var(--sun);
  font-weight: 800;
  text-decoration: none;
}

.mobile-bar a + a { background: var(--cyan); }

body { padding-bottom: 0; }

@media (min-width: 720px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .contact-grid, .finance-grid { grid-template-columns: 1fr 1fr; }
  .chapter-sticky { grid-template-columns: 0.9fr 1.1fr; align-items: center; }
}

@media (min-width: 980px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; }
  .site-nav ul { display: flex; gap: 0.1rem; list-style: none; margin: 0; padding: 0; }
  .header-call, .motion-toggle, .header-quote, .header-quote.btn { display: inline-flex; align-items: center; }
  .header-call { color: var(--paper); text-decoration: none; font-weight: 700; min-height: 44px; }
  .header-quote { margin-left: 0.2rem; }
  .cards.four { grid-template-columns: repeat(4, 1fr); }
  .gallery { grid-template-columns: 1.3fr 1fr 1fr; }
  .gallery figure:first-child { grid-row: span 2; }
  .gallery figure:first-child img { height: 100%; min-height: 520px; }
  .mobile-bar { display: none; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .chapter { height: 260vh; }
  .chapter-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 6rem 0 2rem;
  }
  html.js .stage { opacity: 0.45; transition: opacity 300ms var(--ease); }
  html.js .stage.is-on { opacity: 1; }
}

@media (max-width: 979px) {
  .hero { min-height: 88vh; }
  .hero-scrim { background: linear-gradient(to top, rgba(38, 39, 41, 0.92), rgba(38, 39, 41, 0.35)); }
  .hero-copy { margin: 0 1rem 2rem; }
  .motion-toggle.mobile-pause { display: inline-flex; }
}

@media (prefers-reduced-motion: reduce) {
  .caustic-rule span,
  .btn::before,
  html.js .stage {
    animation: none !important;
    transition: none !important;
    transform: none;
    opacity: 1;
  }
  .chapter { height: auto; }
  .chapter-sticky { position: static; height: auto; }
  .waterline { transform: none; opacity: 0.35; }
  .hero-media canvas { display: none; }
  html.js.motion .reveal,
  html.js.motion .reveal:not(.is-in) {
    opacity: 1;
    transform: none;
    transition: none;
  }
  ::view-transition-old(*),
  ::view-transition-new(*) { animation-duration: 0s; }
}

html.motion-off .caustic-rule span { transform: none; }
html.motion-off .chapter { height: auto; }
html.motion-off .chapter-sticky { position: static; height: auto; }
html.motion-off .stage { opacity: 1 !important; }
html.motion-off .waterline { transform: scaleY(0.35); }
html.motion-off .hero-media canvas { display: none; }
