:root {
  --ink: #0b1c24;
  --ink-soft: #2a4550;
  --stone: #e4eef1;
  --paper: #f5fafb;
  --line: #c2d4da;
  --teal: #1a6b7a;
  --teal-deep: #145564;
  --gold: #d4a017;
  --sun: #e8c45a;
  --font-display: "Syne", sans-serif;
  --font-body: "Manrope", sans-serif;
  --space: clamp(1rem, 2vw, 1.5rem);
  --max: 70rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(212, 160, 23, 0.14), transparent 60%),
    linear-gradient(180deg, #d5e6ec 0%, var(--paper) 35%, var(--paper) 100%);
  line-height: 1.6;
  min-height: 100vh;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 0.9rem;
  z-index: 20;
}

.skip-link:focus {
  top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem clamp(1rem, 4vw, 2.5rem);
  background: linear-gradient(180deg, rgba(247, 250, 251, 0.92), rgba(247, 250, 251, 0));
  backdrop-filter: blur(6px);
}

.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a {
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sun {
  transform-origin: 1120px 210px;
  animation: sun-breathe 8s ease-in-out infinite;
}

.ridge-back,
.ridge-mid,
.ridge-front {
  transform-origin: center bottom;
}

.ridge-back {
  animation: rise 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ridge-mid {
  animation: rise 1.35s 0.08s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ridge-front {
  animation: rise 1.5s 0.14s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.signal-lines path {
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  animation: draw 1.8s 0.6s ease forwards;
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: min(100% - 2rem, 40rem);
  margin: 0 auto 12vh;
  padding: 1.5rem 1.5rem 1.75rem;
  animation: fade-up 900ms 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
  background: none;
}

.brand-mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 7vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0;
  padding: 0;
  text-transform: uppercase;
  color: var(--ink);
  text-shadow: 0 1px 0 rgba(247, 250, 251, 0.45);
}

.hero h1,
.about h2,
.services h2,
.product h2,
.contact h2,
.thanks h1 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 0.85rem;
}

.hero h1 {
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  max-width: 16ch;
  color: var(--ink);
  margin: clamp(3rem, 6vw, 5rem) 0 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(13, 28, 36, 0.18);
}

.lede,
.section-lede {
  margin: 0 0 1.5rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 36ch;
}

.hero .lede {
  color: var(--gold);
  font-size: clamp(1.08rem, 2.2vw, 1.22rem);
  font-weight: 600;
  line-height: 1.55;
  max-width: 34ch;
  text-shadow: 0 1px 2px rgba(11, 28, 36, 0.35);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 0.8rem 1.15rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease,
    border-color 160ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

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

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--gold);
  color: var(--ink);
}

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

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(13, 23, 28, 0.06);
}

.about,
.services,
.product,
.contact {
  padding: clamp(4rem, 10vw, 7rem) 0;
}

.section-inner {
  width: min(100% - 2rem, 42rem);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.about p,
.services .section-lede,
.product p,
.contact .section-lede {
  font-size: 1.1rem;
  color: var(--ink-soft);
}

.services .section-lede {
  margin-bottom: 1.75rem;
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.service-list li {
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.product .section-lede {
  margin-bottom: 2rem;
}

.product-list {
  display: grid;
  gap: 2.5rem;
}

.product-item {
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.product-item h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.5rem;
}

.product-cta {
  margin-top: 1.25rem;
}

.product-price {
  margin: 0 0 0.85rem;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.contact-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 0.85rem 0.95rem;
  font: inherit;
  border-radius: 0;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--gold);
}

.contact-form .btn {
  justify-self: start;
  margin-top: 0.35rem;
}

.form-note {
  min-height: 1.4em;
  margin: 0;
  color: var(--teal-deep);
  font-weight: 500;
}

.about a,
.site-footer a {
  color: var(--teal-deep);
}

.site-footer {
  padding: 2rem clamp(1rem, 4vw, 2.5rem) 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.thanks-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem;
}

.thanks {
  width: min(100%, 34rem);
  animation: fade-up 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes sun-breathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}

@media (max-width: 640px) {
  .hero-copy {
    margin-bottom: 8vh;
  }

  .site-nav {
    gap: 0.9rem;
  }
}

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

  .sun,
  .ridge-back,
  .ridge-mid,
  .ridge-front,
  .signal-lines path,
  .hero-copy,
  .thanks,
  .btn {
    animation: none !important;
    transition: none !important;
  }

  .signal-lines path {
    stroke-dashoffset: 0;
  }
}
