:root {
  --ink: #2b1d14;
  --ink-soft: #5a4636;
  --cream: #f7f0e5;
  --sand: #efe2cd;
  --paper: #fffaf2;
  --saddle: #8a5a3b;
  --saddle-dark: #6b4329;
  --sunset: #d9652f;
  --ocean: #1f6f6b;
  --line: rgba(43, 29, 20, .14);
  --radius: 14px;
  --display: "Rye", Georgia, serif;
  --body: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: .01em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--sunset); margin-bottom: .8em;
}
.section { padding: 88px 0; }
.section-lede { font-size: 1.1rem; color: var(--ink-soft); max-width: 640px; margin-bottom: 2.2em; }
.note { color: var(--ink-soft); font-size: .92rem; margin-top: 1.5em; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(43, 29, 20, .96);
  color: var(--cream);
  backdrop-filter: blur(6px);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-size: 1.35rem; white-space: nowrap; }
.logo-mark { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; color: #e9b77d; }
.nav { display: flex; gap: 26px; font-size: .95rem; font-weight: 500; }
.nav a { text-decoration: none; opacity: .85; }
.nav a:hover { opacity: 1; color: #e9b77d; }
@media (max-width: 760px) { .nav { display: none; } }

/* Buttons */
.btn {
  display: inline-block; padding: 14px 22px; border-radius: 999px;
  font-weight: 600; text-decoration: none; transition: transform .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--sunset); color: #fff; }
.btn-primary:hover { background: #c55424; }
.btn-ghost { border: 2px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }

/* Hero */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 500px at 85% 0%, rgba(217, 101, 47, .18), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(31, 111, 107, .12), transparent 60%),
    var(--cream);
  padding: 64px 0 80px;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 520px; }
.hero-viewer { margin: 0; }
.viewer {
  position: relative; aspect-ratio: 1 / 1; width: 100%;
  border-radius: 24px; overflow: hidden;
  background: radial-gradient(circle at 50% 40%, #fffaf2 0%, #efe2cd 70%, #e5d2b6 100%);
  box-shadow: 0 30px 60px -30px rgba(43, 29, 20, .45), inset 0 0 0 1px var(--line);
  cursor: grab; touch-action: pan-y;
}
.viewer:active { cursor: grabbing; }
.viewer canvas { display: block; width: 100% !important; height: 100% !important; }
.viewer-fallback { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .4s; }
.viewer-fallback svg { width: 45%; fill: none; stroke: var(--saddle); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: .5; }
.viewer.ready .viewer-fallback { opacity: 0; pointer-events: none; }
.hero-viewer figcaption { margin-top: 14px; font-size: .95rem; color: var(--ink-soft); text-align: center; }
.hero-viewer figcaption strong { color: var(--ink); }
@media (max-width: 860px) {
  .hero { padding: 40px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .viewer { max-width: 460px; margin: 0 auto; }
}

/* Rope divider */
.rope {
  position: absolute; left: 0; right: 0; bottom: 0; height: 14px;
  background:
    repeating-linear-gradient(135deg, #a8754c 0 6px, #7a4c2e 6px 9px, #c08d5f 9px 14px);
  opacity: .9;
}

/* Tiers */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tier {
  background: var(--paper); border-radius: var(--radius); padding: 26px 24px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.tier > header { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; border-bottom: 2px dashed var(--line); padding-bottom: 14px; margin-bottom: 14px; }
.tier h3 { margin: 0; font-size: 1.2rem; }
.price { font-weight: 700; color: var(--saddle); white-space: nowrap; }
.tier-feature { background: var(--ink); color: var(--cream); box-shadow: none; }
.tier-feature .price { color: #e9b77d; }
.tier-feature .items span { color: rgba(247, 240, 229, .72); }
.tier-feature > header { border-color: rgba(247, 240, 229, .2); }
.items { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.items li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; }
.items svg { width: 36px; height: 36px; fill: none; stroke: var(--saddle); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tier-feature .items svg { stroke: #e9b77d; }
.items b { display: block; font-weight: 600; }
.items span { display: block; font-size: .93rem; color: var(--ink-soft); line-height: 1.45; }
@media (max-width: 960px) { .tiers { grid-template-columns: 1fr; max-width: 560px; } }

/* Dark custom section */
.section-dark {
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(217, 101, 47, .25), transparent 60%),
    var(--ink);
  color: var(--cream);
}
.section-dark .section-lede { color: rgba(247, 240, 229, .75); }
.section-dark .eyebrow { color: #f0a372; }
.custom-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.card {
  background: rgba(255, 250, 242, .06); border: 1px solid rgba(247, 240, 229, .14);
  border-radius: var(--radius); padding: 22px 18px;
}
.card svg { width: 40px; height: 40px; fill: none; stroke: #e9b77d; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 12px; }
.card h3 { font-size: 1.02rem; }
.card p { font-size: .92rem; color: rgba(247, 240, 229, .72); margin: 0; line-height: 1.45; }
@media (max-width: 1000px) { .custom-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .custom-grid { grid-template-columns: 1fr; } }

.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.steps li > span {
  flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sunset); color: #fff; font-weight: 700;
}
.steps b { display: block; margin-bottom: 2px; }
.steps p { margin: 0; font-size: .93rem; color: rgba(247, 240, 229, .72); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--sand); aspect-ratio: 1 / 1; position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 10px;
  background: linear-gradient(transparent, rgba(43, 29, 20, .75)); color: #fff; font-size: .88rem; font-weight: 500;
}
.gallery .placeholder { display: grid; place-items: center; align-content: center; gap: 8px; color: var(--saddle); box-shadow: inset 0 0 0 2px var(--line); background: repeating-linear-gradient(45deg, var(--sand) 0 12px, #eadbc2 12px 24px); }
.gallery .placeholder svg { width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gallery .placeholder span { font-size: .85rem; font-weight: 600; text-align: center; padding: 0 10px; }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* Fair */
.section-sand { background: var(--sand); }
.fair-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.fair-card { margin: 0; background: var(--paper); border-radius: var(--radius); padding: 8px 26px; box-shadow: 0 20px 40px -28px rgba(43, 29, 20, .5); }
.fair-card div { display: grid; grid-template-columns: 100px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.fair-card div:last-child { border-bottom: 0; }
.fair-card dt { font-weight: 700; color: var(--saddle); text-transform: uppercase; font-size: .78rem; letter-spacing: .12em; padding-top: 3px; }
.fair-card dd { margin: 0; }
@media (max-width: 860px) { .fair-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .fair-card div { grid-template-columns: 1fr; gap: 2px; } }

/* About */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.about-grid p { font-size: 1.08rem; color: var(--ink-soft); max-width: 620px; }
.care { background: var(--paper); border-radius: var(--radius); padding: 24px; box-shadow: inset 0 0 0 1px var(--line); border-top: 4px solid var(--ocean); }
.care ul { margin: 0; padding-left: 18px; display: grid; gap: 10px; font-size: .95rem; color: var(--ink-soft); }
.care b { color: var(--ink); }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Footer */
.site-footer { background: var(--ink); color: rgba(247, 240, 229, .8); padding: 40px 0; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.footer-row p { margin: 0; }
.logo-footer { color: var(--cream); }
.small { font-size: .85rem; opacity: .7; }

@media (max-width: 520px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .wrap { padding: 0 16px; }
  .logo { font-size: 1.2rem; }
}
