:root {
  --bg: #f3eee4;
  --bg-2: #e8e1d4;
  --bg-3: #ddd5c6;
  --ink: #1b1814;
  --ink-soft: #3a342c;
  --muted: #6f675c;
  --rust: #a34b32;
  --rust-deep: #7e3825;
  --paper: #faf6ee;
  --line: rgba(27, 24, 20, 0.12);
  --line-strong: rgba(27, 24, 20, 0.2);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: Manrope, "Segoe UI", system-ui, sans-serif;
  --header: 4.4rem;
  --gutter: clamp(1.2rem, 4vw, 3.2rem);
  --wide: 86rem;
  --max: 70rem;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--rust);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--rust-deep);
}

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

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.55rem 0.9rem;
  z-index: 80;
  font-weight: 600;
}

.skip:focus {
  top: 1rem;
}

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

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

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

.kicker {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--rust);
}

.kicker::before {
  content: "";
  width: 1.4rem;
  height: 1px;
  background: var(--rust);
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.96;
  margin: 0;
}

h1 {
  font-size: clamp(3rem, 7.4vw, 6.6rem);
}

h2 {
  font-size: clamp(2.1rem, 4.4vw, 3.7rem);
}

h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  line-height: 1.15;
}

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  color: var(--ink-soft);
  max-width: 38rem;
  line-height: 1.7;
}

.muted {
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(243, 238, 228, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(var(--wide), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  width: 1.9rem;
  height: 1.9rem;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  line-height: 1;
}

.brand-sub {
  display: block;
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.22rem;
}

.nav-burger {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-burger span,
.nav-burger span::before,
.nav-burger span::after {
  display: block;
  width: 1rem;
  height: 1px;
  background: var(--ink);
  position: relative;
}

.nav-burger span::before,
.nav-burger span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-burger span::before {
  top: -5px;
}

.nav-burger span::after {
  top: 5px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

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

.btn-rust:hover {
  background: var(--rust-deep);
  color: var(--paper);
}

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

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

.btn-full {
  width: 100%;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
  padding: 4.2rem 0 4.8rem;
}

.hero-copy h1 {
  margin: 0.7rem 0 1.2rem;
  max-width: 12ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 11rem));
  gap: 1.2rem;
  margin-top: 2.4rem;
}

.hero-meta b {
  display: block;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1;
}

.hero-meta span {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.frame {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 0.65rem;
}

.frame img {
  width: 100%;
  object-fit: cover;
}

.frame.hero-frame img {
  aspect-ratio: 16 / 11;
}

.frame.portrait img {
  aspect-ratio: 3 / 4;
  object-position: 50% 15%;
}

.frame figcaption {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.7rem 0.15rem 0.1rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.section {
  padding: 4.8rem 0;
}

.band {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.6rem;
}

.section-head p {
  margin: 0;
  color: var(--ink-soft);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.2rem;
  align-items: center;
}

.prose p {
  color: var(--ink-soft);
  margin: 0 0 1rem;
}

.claim {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  line-height: 1.15;
  font-weight: 500;
  max-width: 22ch;
  margin: 0.6rem 0 1rem;
}

.process {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process li {
  padding: 1.6rem 1.3rem 1.7rem 0;
  border-right: 1px solid var(--line);
}

.process li:last-child {
  border-right: 0;
}

.process .num {
  font-family: var(--serif);
  color: var(--rust);
  font-size: 1.6rem;
}

.process h3 {
  margin: 0.55rem 0 0.5rem;
}

.process p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.mosaic {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 0.8rem;
}

.mosaic article {
  position: relative;
  overflow: hidden;
  background: var(--bg-3);
}

.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 16rem;
}

.mosaic article:first-child {
  grid-row: 1 / span 2;
}

.mosaic article:first-child img {
  min-height: 33rem;
}

.tile-label {
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.9rem;
  display: flex;
  justify-content: space-between;
  color: #faf6ee;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

.code-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.2rem;
}

pre.code {
  margin: 0;
  background: #1b1814;
  color: #efe6d6;
  border: 1px solid var(--ink);
  padding: 1.3rem 1.2rem;
  overflow: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  line-height: 1.65;
  min-height: 100%;
}

pre.code .tag {
  color: #d9a08a;
}

pre.code .val {
  color: #c4b089;
}

pre.code .com {
  color: #8a8174;
}

.prices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.price {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.55rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.price.featured {
  border-color: var(--rust);
  background: linear-gradient(180deg, rgba(163, 75, 50, 0.08), transparent 42%), var(--paper);
}

.price .amount {
  font-family: var(--serif);
  font-size: 3.2rem;
  line-height: 1;
  font-weight: 500;
}

.price .amount small {
  font-size: 1.1rem;
  color: var(--muted);
}

.price .tagline {
  color: var(--muted);
  margin: 0.35rem 0 1.1rem;
  font-size: 0.92rem;
}

.price ul {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
  flex: 1;
}

.price li {
  padding: 0.5rem 0 0.5rem 1.05rem;
  border-top: 1px solid var(--line);
  position: relative;
  font-size: 0.92rem;
}

.price li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 0.42rem;
  height: 1px;
  background: var(--rust);
}

.badge {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--rust);
  color: var(--paper);
  padding: 0.24rem 0.5rem;
  border-radius: 99px;
  font-weight: 700;
}

.price-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.8rem;
}

.note {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 1.1rem;
}

.order-panel {
  display: none;
}

.order-panel:target {
  display: block;
}

.order-choose {
  display: block;
}

.order-panel:target ~ .order-choose {
  display: none;
}

.form-shell {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.4rem;
  align-items: start;
  padding: 3.4rem 0 4.5rem;
}

.form {
  display: grid;
  gap: 0.95rem;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.4rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field span {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  min-height: 2.9rem;
  padding: 0.65rem 0.8rem;
  font-family: var(--sans);
  font-size: 1rem;
}

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

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--rust);
}

.check {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.check input {
  margin-top: 0.2rem;
  accent-color: var(--rust);
}

.chosen {
  display: inline-flex;
  border: 1px solid rgba(163, 75, 50, 0.35);
  color: var(--rust);
  padding: 0.4rem 0.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0.8rem 0 1rem;
}

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

.facts div {
  border-top: 1px solid var(--line);
  padding-top: 0.8rem;
}

.facts dt {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.facts dd {
  margin: 0.2rem 0 0;
  font-size: 1.12rem;
}

.legal h2 {
  font-size: 1.7rem;
  margin: 2rem 0 0.7rem;
}

.legal p,
.legal li {
  color: var(--ink-soft);
}

.updated {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.8rem 0 1.3rem;
  background: #ece6da;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.8rem;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 1.8rem;
}

.site-footer h2 {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rust);
  margin: 0 0 0.8rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
}

.site-footer a:hover {
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.7rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

.thanks {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 5rem var(--gutter);
  overflow: hidden;
}

.thanks-bg {
  position: absolute;
  inset: 0;
}

.thanks-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
}

.thanks-inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  color: #faf6ee;
}

.thanks-inner h1 {
  color: #faf6ee;
  margin: 0.7rem 0 1rem;
}

.thanks-inner .lead {
  color: #e8dfd0;
  margin-inline: auto;
}

.thanks-inner .kicker {
  color: #e2b09a;
}

.thanks-inner .kicker::before {
  background: #e2b09a;
}

.bars {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.3rem;
}

.bar-row {
  display: grid;
  grid-template-columns: 8rem 1fr 3rem;
  gap: 0.7rem;
  align-items: center;
  font-size: 0.8rem;
  color: var(--muted);
}

.bar-track {
  height: 0.36rem;
  background: var(--bg-3);
  border-radius: 99px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #7e3825, #c56a50);
}

.chart-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.3rem 1.2rem;
}

@media (max-width: 860px) {
  .nav-burger {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--gutter) 1rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .site-nav a,
  .site-nav .btn {
    width: 100%;
    min-height: 2.7rem;
    justify-content: flex-start;
  }

  .nav-toggle:checked ~ .site-nav {
    display: flex;
  }

  .nav-toggle:checked + .nav-burger span {
    background: transparent;
  }

  .nav-toggle:checked + .nav-burger span::before {
    top: 0;
    transform: rotate(45deg);
  }

  .nav-toggle:checked + .nav-burger span::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .hero,
  .section-head,
  .split,
  .code-grid,
  .form-shell,
  .prices,
  .process,
  .footer-grid,
  .mosaic {
    grid-template-columns: 1fr;
  }

  .mosaic article:first-child {
    grid-row: auto;
  }

  .mosaic article:first-child img,
  .mosaic img {
    min-height: 16rem;
    aspect-ratio: 16 / 10;
  }

  .process li {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-right: 0;
  }

  .hero-meta,
  .bar-row {
    grid-template-columns: 1fr 1fr;
  }

  .bar-row {
    grid-template-columns: 1fr;
    gap: 0.28rem;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 2.4rem;
  }

  .hero-actions,
  .hero-actions .btn {
    width: 100%;
  }

  .section {
    padding: 3.3rem 0;
  }
}

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