:root {
  --ink: #121a1f;
  --ink-soft: #3a4a54;
  --paper: #edf1f2;
  --paper-2: #d8e0e3;
  --steel: #6a7c86;
  --line: rgba(18, 26, 31, 0.12);
  --signal: #0f7a6b;
  --signal-ink: #063d36;
  --warn: #c56a1a;
  --white: #ffffff;
  --hero-glow: rgba(15, 122, 107, 0.18);
  --font-display: "Syne", "Arial Narrow", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --max: 1120px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  background:
    radial-gradient(1200px 600px at 80% -10%, var(--hero-glow), transparent 55%),
    linear-gradient(165deg, #f7fafb 0%, var(--paper) 42%, var(--paper-2) 100%);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--signal-ink);
}

.wrap {
  width: min(var(--max), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

/* —— Top bar (brand only; not a dashboard) —— */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0 0.4rem;
}

.top-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
}

.top-nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.95rem;
}

.top-nav a {
  text-decoration: none;
  color: var(--ink-soft);
}

.top-nav a:hover {
  color: var(--ink);
}

/* —— Hero: one composition —— */
.hero {
  min-height: min(92vh, 860px);
  display: grid;
  align-items: end;
  padding-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 40%;
  filter: saturate(0.92) contrast(1.04);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(237, 241, 242, 0.96) 0%, rgba(237, 241, 242, 0.82) 38%, rgba(237, 241, 242, 0.2) 68%, transparent 100%),
    linear-gradient(0deg, rgba(18, 26, 31, 0.22) 0%, transparent 42%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 34rem;
  padding: 2rem 0 1rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0 0 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  max-width: 22ch;
}

.hero-lead {
  margin: 0 0 1.6rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
  max-width: 36ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 2px;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--signal);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--signal-ink);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--white);
}

.btn:disabled,
.btn.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

/* —— Sections —— */
section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 0.65rem;
}

.section-head p {
  margin: 0;
  color: var(--ink-soft);
}

.band {
  background: rgba(255, 255, 255, 0.45);
  border-block: 1px solid var(--line);
}

/* Features: one list, not a card grid of marketing chips */
.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.feature-list li {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.feature-list .tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--signal-ink);
}

.feature-list h3 {
  margin: 0 0 0.25rem;
  font-size: 1.12rem;
  font-weight: 650;
}

.feature-list p {
  margin: 0;
  color: var(--ink-soft);
}

@media (max-width: 640px) {
  .feature-list li {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1rem;
}

.gallery figure {
  margin: 0;
  background: #f4f7f8;
  border: 1px solid var(--line);
  overflow: hidden;
}

.gallery figcaption {
  padding: 0.75rem 1rem 1rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.gallery .wide img,
.gallery .tall img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  background: #fff;
}

.gallery .stack {
  display: grid;
  gap: 1rem;
}

@media (max-width: 800px) {
  .gallery {
    grid-template-columns: 1fr;
  }
}

/* Specs */
.specs {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}

.specs th,
.specs td {
  text-align: left;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.specs th {
  width: 38%;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--steel);
}

/* Order: interaction containers only */
.order-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.buy {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.4rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 100%;
}

.buy h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.buy .price {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--signal-ink);
}

.buy p {
  margin: 0;
  color: var(--ink-soft);
  flex: 1;
}

.buy .btn {
  align-self: start;
  margin-top: 0.5rem;
}

.note {
  margin-top: 1.25rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

@media (max-width: 720px) {
  .order-grid {
    grid-template-columns: 1fr;
  }
}

/* Contact */
.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.contact-row code {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.7);
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line);
}

footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
  color: var(--steel);
  font-size: 0.9rem;
}

footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy {
    animation: rise 700ms ease-out both;
  }

  .hero-bg img {
    animation: drift 12s ease-in-out alternate both;
  }

  .feature-list li {
    animation: rise 600ms ease-out both;
  }

  .feature-list li:nth-child(1) { animation-delay: 40ms; }
  .feature-list li:nth-child(2) { animation-delay: 100ms; }
  .feature-list li:nth-child(3) { animation-delay: 160ms; }
  .feature-list li:nth-child(4) { animation-delay: 220ms; }
  .feature-list li:nth-child(5) { animation-delay: 280ms; }
  .feature-list li:nth-child(6) { animation-delay: 340ms; }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.06) translate3d(-1.5%, 1%, 0); }
}
