:root {
  --gold: #f2b33d;
  --gold-deep: #b87d0a;
  --paper: #FBF8F1;
  --paper-deep: #F1EADB;
  --ink: #14100B;
  --ink-soft: #1d1710;
  --text-ink: #14100B;
  --text-paper: #F6F1E6;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 112px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-ink);
  background: var(--paper);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }

h1, h2, h3 { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 700; line-height: 1.1; letter-spacing: -0.01em; }
h2 { font-size: clamp(30px, 7vw, 54px); margin-bottom: 28px; }
h3 { font-family: var(--sans); font-weight: 700; letter-spacing: 0.06em; font-size: 15px; }
p { margin: 0 0 1.1em; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 22px; }
.wrap.narrow { max-width: 760px; }
.center { text-align: center; }

.eyebrow {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 16px;
}
.ink .eyebrow, .ink-soft .eyebrow, .hero .eyebrow { color: var(--gold); }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: linear-gradient(to bottom, rgba(20,16,11,0.85), rgba(20,16,11,0));
  color: var(--text-paper);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.past-hero {
  background: rgba(20,16,11,0.96);
  box-shadow: 0 2px 18px rgba(0,0,0,0.35);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  max-width: 1140px; margin: 0 auto; padding: 8px 16px 0;
}
.wordmark {
  font-family: var(--serif); font-weight: 700; font-size: 21px; text-decoration: none;
  min-height: 44px; display: inline-flex; align-items: center; color: var(--text-paper);
}
.wordmark span { color: var(--gold); }
.call-chip {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 16px; border-radius: 999px;
  background: var(--gold); color: var(--ink); font-weight: 700; font-size: 15px;
  text-decoration: none; white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease;
}
.call-chip:hover { background: #ffc85c; transform: translateY(-1px); }
.main-nav {
  display: flex; gap: 2px; overflow-x: auto; max-width: 1140px; margin: 0 auto; padding: 0 10px 4px;
  scrollbar-width: none;
}
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a {
  flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  font-size: 14px; font-weight: 600; text-decoration: none; color: var(--text-paper); opacity: 0.88;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--gold); opacity: 1; }
/* with JS, links appear only once the hero is behind us */
.js .main-nav { display: none; }
.js .site-header.past-hero .main-nav { display: flex; }

/* Hero */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  color: var(--text-paper); overflow: hidden; background: var(--ink);
}
.hero-photo { position: absolute; inset: 0; }
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
  transform-origin: 50% 40%;
  animation: slowzoom 24s ease-out forwards;
}
@keyframes slowzoom { from { transform: scale(1); } to { transform: scale(1.14); } }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(20,16,11,0.97) 0%, rgba(20,16,11,0.82) 38%, rgba(20,16,11,0.25) 72%, rgba(20,16,11,0.45) 100%);
}
.hero-content { position: relative; z-index: 2; width: 100%; max-width: 1140px; margin: 0 auto; padding: 120px 22px 96px; }
.hero h1 { font-size: clamp(40px, 11vw, 92px); max-width: 14ch; margin-bottom: 22px; }
.hero-sub { font-size: clamp(17px, 4.4vw, 22px); max-width: 36em; color: #EFE8D8; margin-bottom: 28px; }
.hero-small { margin: 14px 0 0; font-size: 15px; color: #D9D0BC; }
.scroll-cue {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 14px; text-align: center;
  font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold);
  text-decoration: none; min-height: 44px; display: flex; align-items: center; justify-content: center;
}
.scroll-cue::after { content: ""; display: inline-block; width: 8px; height: 8px; margin-left: 10px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg); animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 0%,100% { transform: translateY(-2px) rotate(45deg); } 50% { transform: translateY(4px) rotate(45deg); } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 32px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--gold); color: var(--ink); font-family: var(--sans); font-weight: 700; font-size: 17px;
  text-decoration: none; letter-spacing: 0.01em;
  box-shadow: 0 10px 30px rgba(242,179,61,0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { background: #ffc85c; transform: translateY(-2px); box-shadow: 0 14px 36px rgba(242,179,61,0.4); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* Marquee */
.marquee { background: var(--gold); color: var(--ink); overflow: hidden; padding: 16px 0; border-block: 1px solid rgba(20,16,11,0.2); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee ul { display: flex; flex: 0 0 auto; }
.marquee li {
  font-family: var(--serif); font-size: 22px; font-weight: 700; white-space: nowrap; padding-right: 0;
}
.marquee li::after { content: "\2022"; margin: 0 22px; opacity: 0.7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 84px 0; position: relative; }
.paper { background: var(--paper); color: var(--text-ink); }
.paper-deep { background: var(--paper-deep); color: var(--text-ink); }
.ink { background: var(--ink); color: var(--text-paper); }
.ink-soft { background: var(--ink-soft); color: var(--text-paper); }
.ink h2, .ink-soft h2 { color: #FFF8E8; }
.lead { font-size: 20px; max-width: 40em; }
.note { font-size: 14px; color: #C9BFA9; border-left: 3px solid var(--gold); padding-left: 14px; margin-top: 30px; }

.two-col { display: grid; gap: 0; margin-top: 8px; }
.two-col p { font-size: 19px; max-width: 34em; }

.blocks { display: grid; gap: 18px; margin-top: 36px; }
.block {
  background: #fff; border: 1px solid #E6DDC8; border-top: 4px solid var(--gold);
  padding: 26px 24px 12px; border-radius: 6px;
  box-shadow: 0 10px 30px rgba(20,16,11,0.06);
}
.block h3 { margin-bottom: 12px; color: var(--gold-deep); }

/* Steps */
.steps { display: grid; gap: 22px; counter-reset: s; }
.step { position: relative; padding: 28px 24px 14px 92px; background: #fff; border: 1px solid #E6DDC8; border-radius: 6px; }
.step-num {
  position: absolute; left: 22px; top: 22px; width: 52px; height: 52px; border-radius: 50%;
  background: var(--ink); color: var(--gold); font-family: var(--serif); font-weight: 700; font-size: 26px;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { margin-bottom: 10px; font-size: 16px; }

/* Cards */
.cards { display: grid; gap: 14px; grid-template-columns: 1fr; margin-top: 36px; }
.card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-start; height: 100%; min-height: 168px;
  padding: 22px 22px 20px; border: 1px solid rgba(242,179,61,0.28); border-radius: 8px;
  background: linear-gradient(160deg, #241c12 0%, #17120c 100%);
  color: var(--text-paper); text-decoration: none;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-8px); border-color: var(--gold); box-shadow: 0 22px 40px rgba(0,0,0,0.5); }
.card.live { border-color: rgba(242,179,61,0.65); }
.card-idx { font-family: var(--serif); font-size: 15px; color: var(--gold); margin-bottom: 10px; letter-spacing: 0.1em; }
.card h3 { font-family: var(--serif); font-size: 22px; letter-spacing: 0; line-height: 1.2; margin-bottom: 8px; color: #FFF8E8; }
.card p { color: #D4CAB4; font-size: 16px; margin-bottom: 14px; }
.card-link, .tag {
  margin-top: auto; align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}
.card-link { background: var(--gold); color: var(--ink); }
.card-link::after { content: " \2192"; }
.tag { border: 1px solid rgba(246,241,230,0.4); color: #E8DFC9; }

/* Pricing */
#pricing { background: radial-gradient(ellipse at 50% 0%, #2a2012 0%, var(--ink) 65%); }
#pricing .btn { margin-top: 14px; }

/* About */
.about-grid { display: grid; gap: 34px; align-items: center; }
.about-photo { overflow: hidden; border-radius: 8px; aspect-ratio: 3 / 2; box-shadow: 0 24px 50px rgba(20,16,11,0.3); }
.about-photo img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }

/* FAQ */
.faq-list { margin-top: 10px; }
.faq { border-bottom: 1px solid #D5C9AE; }
.faq summary {
  list-style: none; cursor: pointer; min-height: 56px; padding: 14px 40px 14px 0; position: relative;
  font-family: var(--serif); font-size: 20px; font-weight: 700; display: flex; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; font-family: var(--sans); font-size: 28px; color: var(--gold-deep); transition: transform 0.25s ease; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { padding-bottom: 14px; margin: 0; max-width: 40em; }

/* Contact */
.contact-form { margin-top: 28px; display: grid; gap: 8px; }
.contact-form label { font-weight: 600; font-size: 15px; margin-top: 10px; color: #EDE4CF; }
.contact-form input, .contact-form textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; font: inherit; font-size: 17px;
  color: var(--ink); background: var(--paper); border: 2px solid transparent; border-radius: 6px;
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold); }
.contact-form .btn { margin-top: 22px; width: 100%; }
.form-small { margin: 12px 0 0; font-size: 14px; color: #C9BFA9; }
.mail-line { margin-top: 26px; }
.inline-link { color: var(--gold); font-weight: 700; display: inline-block; padding: 10px 0; }
.thanks {
  margin-top: 28px; padding: 26px 24px; border: 2px solid var(--gold); border-radius: 8px;
  font-family: var(--serif); font-size: 24px; background: rgba(242,179,61,0.08);
}
.thanks p { margin: 0; }

/* Footer */
.site-footer { background: #0b0906; color: #CFC6B1; padding: 52px 0 40px; font-size: 15px; }
.site-footer a { color: var(--gold); display: inline-block; padding: 10px 2px; }
.foot-title { font-family: var(--serif); font-size: 20px; color: #FFF8E8; font-weight: 700; }
.small-print { margin-top: 18px; font-size: 13px; color: #9C927D; }

/* Scroll reveal: only hidden when JS is running */
.js .reveal { opacity: 0; transform: translateY(28px); }

@media (min-width: 720px) {
  :root { --header-h: 124px; }
  body { font-size: 19px; }
  .section { padding: 120px 0; }
  .wrap { padding: 0 36px; }
  .header-inner { padding: 10px 28px 0; }
  .main-nav { padding: 0 22px 4px; }
  .main-nav a { padding: 0 14px; font-size: 15px; }
  .two-col { grid-template-columns: 1fr 1fr; gap: 40px; }
  .blocks { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step { padding: 100px 24px 16px; }
  .step-num { left: 24px; top: 24px; }
  .cards { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .about-grid { grid-template-columns: 5fr 6fr; gap: 64px; }
  .hero-content { padding-bottom: 110px; }
  .contact-form .btn { width: auto; align-self: start; }
}

@media (min-width: 1024px) {
  .cards { grid-template-columns: repeat(4, 1fr); }
  .hero-photo img { object-position: 50% 25%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-photo img, .marquee-track, .scroll-cue::after { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
  .card, .btn, .call-chip { transition: none; }
  .about-photo img { height: 100%; }
}
