@font-face {
  font-family: "Macloney";
  src: url("fonts/Macloney.otf") format("opentype"),
       url("fonts/Macloney.ttf") format("truetype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Macloney Ligature";
  src: url("fonts/Macloney ligature.otf") format("opentype"),
       url("fonts/Macloney ligature.ttf") format("truetype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0e0d0b;
  --bg-elev: #16140f;
  --ink: #f5efe2;
  --ink-dim: #b8b09e;
  --accent: #d4a24c;
  --accent-ink: #1a1408;
  --rule: #2a261d;
  --serif: "Macloney", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; }
a { color: inherit; text-decoration: none; }

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

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10;
  background: transparent;
}
.nav__inner {
  margin: 0 80px;
  padding: 18px 0;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  font-family: var(--serif); font-weight: 800;
  background: var(--accent); color: var(--accent-ink);
  width: 34px; height: 34px; display: grid; place-items: center;
  border-radius: 6px; font-size: 14px;
}
.brand__name { font-family: var(--serif); font-size: 18px; font-weight: 600; }
.nav__links { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav__links a:not(.btn):hover { color: var(--accent); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; border-radius: 999px;
  font-weight: 500; font-size: 15px;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
  border: 1px solid transparent;
}
.btn--primary { background: #ffffff; color: var(--accent-ink); }
.btn--primary:hover { transform: translateY(-1px); }
.btn--ghost { border-color: #ffffff; }
.btn--ghost:hover { border-color: #ffffff; background: rgba(255, 255, 255, 0.5); color: var(--accent-ink); }
.btn--link { padding: 12px 0; color: var(--ink-dim); }
.btn--link:hover { color: var(--accent); }

/* Hero */
.hero {
  background: linear-gradient(45deg, #87B8D5 0%, #0C486B 100%);
  min-height: 100vh;
  display: flex; align-items: center;
}
.hero__inner {
  width: 100%;
  max-width: 1360px; margin: 0 auto;
  padding: 80px 28px 100px;
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 64px; align-items: center;
}
.hero__media {
  display: flex; align-items: center; justify-content: center;
}
.hero__stage {
  position: relative;
  width: 100%;
  max-width: 728px;
  aspect-ratio: 928 / 992;
  margin: 0 auto;
  transform: translateX(-24px);
}
.hero__canvas {
  display: block;
  width: 100%; height: 100%;
  position: relative;
  z-index: 1;
}
.hero__shadow-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  transform: translateY(8px);
  filter: blur(28px);
  opacity: 0.45;
  z-index: 0;
  pointer-events: none;
}
.hero__video {
  position: absolute; width: 2px; height: 2px;
  opacity: 0.001; pointer-events: none;
  clip: rect(0,0,0,0); clip-path: inset(50%);
}
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.18em;
  font-size: 12px; color: var(--accent);
  margin: 0 0 18px;
}
.hero h1 {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05; margin: 0 0 24px;
  text-wrap: balance;
}
.lede {
  font-size: 18px; color: var(--ink-dim);
  max-width: 50ch; margin: 0 0 32px;
}
.hero .lede { color: rgba(255, 255, 255, 0.7); }
.hero .btn--link { color: #ffffff; }
.hero .btn--link:hover { color: var(--accent); }
.cta-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

/* How */
.how {
  max-width: 1200px; margin: 0 auto;
  padding: 80px 28px;
  border-top: 1px solid var(--rule);
}
.how h2 {
  font-size: clamp(28px, 3vw, 40px);
  margin: 0 0 48px;
}
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.steps li {
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 32px;
}
.steps__num {
  font-family: var(--serif); color: var(--accent);
  font-size: 14px; letter-spacing: 0.1em;
}
.steps h3 { margin: 12px 0 8px; font-size: 22px; }
.steps p { margin: 0; color: var(--ink-dim); }

/* Gallery */
.gallery {
  max-width: 1200px; margin: 0 auto;
  padding: 80px 28px;
  border-top: 1px solid var(--rule);
}
.gallery h2 { font-size: clamp(28px, 3vw, 40px); margin: 0 0 48px; }
.gallery__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.gallery figure {
  margin: 0; border-radius: 14px; overflow: hidden;
  background: var(--bg-elev); border: 1px solid var(--rule);
}
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption {
  padding: 16px 20px; color: var(--ink-dim); font-size: 14px;
}

/* Order */
.order {
  max-width: 1200px; margin: 0 auto;
  padding: 80px 28px 120px;
}
.order__card {
  background: linear-gradient(180deg, #1c1810, #14110b);
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: 56px;
  text-align: center;
}
.order h2 { font-size: clamp(28px, 3vw, 40px); margin: 0 0 12px; }
.order p { color: var(--ink-dim); max-width: 50ch; margin: 0 auto 28px; }
.order__form {
  display: flex; gap: 12px; max-width: 460px; margin: 0 auto;
}
.order__form input {
  flex: 1; padding: 12px 18px; border-radius: 999px;
  background: #0e0d0b; color: var(--ink);
  border: 1px solid var(--rule); font: inherit;
}
.order__form input:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.order__thanks { color: var(--accent); margin-top: 18px; }

/* Footer */
.foot {
  border-top: 1px solid var(--rule);
  padding: 28px;
  text-align: center;
  color: var(--ink-dim);
  font-size: 14px;
}

/* Responsive */
@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 64px; gap: 40px; }
  .hero__media { order: -1; }
  .steps { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr; }
  .order__card { padding: 36px 24px; }
  .order__form { flex-direction: column; }
  .nav__links a:not(.btn) { display: none; }
}
