/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:       #150e10;
  --bg-2:     #1c1315;
  --bg-3:     #241a1d;
  --cream:    #f1e8e3;
  --cream-2:  #d9cac2;
  --cream-3:  #8f7d78;
  --accent:   #b8536b;
  --accent-2: #93415a;
  --gold:     #c9a961;
  --line:     rgba(241,232,227,.12);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter", -apple-system, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; tab-size: 2; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--cream-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.08; font-family: var(--serif); font-weight: 500; color: var(--cream); }
::selection { background: var(--accent); color: var(--cream); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--cream); color: var(--bg);
  z-index: 9999; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 1rem;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }

/* =============================================================
   4. Typography
   ============================================================= */
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-style: italic; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-style: italic; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-style: italic; }
em { color: var(--gold); font-style: italic; }
.section-lede { max-width: 46ch; color: var(--cream-3); font-size: 1.05rem; }

/* =============================================================
   5. Components
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.7rem; border-radius: 999px;
  font-weight: 600; font-size: .92rem;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), background .4s var(--ease-out);
}
.btn-primary { background: var(--accent); color: var(--cream); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(184,83,107,.5); }
.btn-ghost { border: 1px solid rgba(241,232,227,.28); color: var(--cream); }
.btn-ghost:hover { background: rgba(241,232,227,.08); border-color: var(--cream); }

.card {
  background: var(--bg-3);
  border-radius: 20px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
}

/* =============================================================
   6. Nav
   ============================================================= */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem var(--gutter);
  background: rgba(21,14,16,0);
  backdrop-filter: blur(0px);
  transition: background .4s var(--ease-out), backdrop-filter .4s var(--ease-out), box-shadow .4s var(--ease-out), padding .4s var(--ease-out);
}
.nav.is-solid {
  background: rgba(21,14,16,.86);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
  padding-block: .85rem;
}
.nav-brand { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--cream); }
.nav-links { display: none; align-items: center; gap: 2rem; font-size: .9rem; font-weight: 500; }
.nav-links a { position: relative; padding-block: .25rem; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--gold);
  transition: right .35s var(--ease-out);
}
.nav-links a:hover::after { right: 0; }
@media (min-width: 960px) { .nav-links { display: flex; } }
.nav-cta { display: none; }
@media (min-width: 720px) { .nav-cta { display: inline-flex; } }
.nav-toggle { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; }
@media (min-width: 960px) { .nav-toggle { display: none; } }
.nav-toggle-bars { width: 22px; height: 14px; position: relative; }
.nav-toggle-bars i { position: absolute; left: 0; width: 100%; height: 2px; background: var(--cream); transition: transform .3s var(--ease-out), opacity .3s var(--ease-out); }
.nav-toggle-bars i:nth-child(1) { top: 0; }
.nav-toggle-bars i:nth-child(2) { top: 6px; }
.nav-toggle-bars i:nth-child(3) { top: 12px; }
.nav.is-open .nav-toggle-bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav-toggle-bars i:nth-child(2) { opacity: 0; }
.nav.is-open .nav-toggle-bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-mobile {
  position: fixed; inset: 0; z-index: 90;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
  transform: translateY(-100%); transition: transform .5s var(--ease-out);
}
.nav-mobile.is-open { transform: translateY(0); }
.nav-mobile a { font-family: var(--serif); font-style: italic; font-size: 1.8rem; color: var(--cream); }
@media (min-width: 960px) { .nav-mobile { display: none; } }

/* =============================================================
   7. Hero
   ============================================================= */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media picture, .hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(21,14,16,.2) 0%, rgba(21,14,16,.55) 55%, rgba(21,14,16,.88) 100%),
              linear-gradient(180deg, rgba(21,14,16,.15) 0%, transparent 40%, rgba(21,14,16,.5) 100%);
}
.hero-inner { position: relative; z-index: 1; width: 100%; padding: clamp(2rem, 6vw, 4rem) var(--gutter); }
.hero-glyph { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--gold); display: block; margin-bottom: 1rem; }
.hero-title { max-width: 14ch; }
.hero-sub { max-width: 42ch; margin-top: 1.1rem; font-size: 1.08rem; color: var(--cream-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero-rating { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.75rem; font-size: .95rem; color: var(--cream-2); }
.hero-rating .stars { color: var(--gold); letter-spacing: 2px; }

/* =============================================================
   8. Manifesto
   ============================================================= */
.manifesto { padding: clamp(4rem, 9vw, 7rem) 0; }
.manifesto-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .manifesto-grid { grid-template-columns: 0.7fr 1.3fr; gap: 3rem; } }
.manifesto-num { font-family: var(--serif); font-style: italic; font-size: 4rem; color: var(--accent); opacity: .5; line-height: 1; }
.manifesto-text p { font-size: clamp(1.1rem, 2vw, 1.4rem); color: var(--cream-2); font-style: italic; }

/* =============================================================
   9. Services
   ============================================================= */
.services { padding: clamp(3rem, 8vw, 6rem) 0; }
.section-head { display: flex; flex-direction: column; gap: .75rem; margin-bottom: clamp(2rem, 5vw, 3rem); }
.bento { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .bento { grid-template-columns: repeat(2, 1fr); } }
.bento .card { transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .5s var(--ease-out); }
.bento .card:hover { transform: translateY(-6px); border-color: rgba(184,83,107,.4); box-shadow: 0 24px 46px -22px rgba(184,83,107,.35); }
.bento .card .num { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.2rem; margin-bottom: .75rem; display: block; }
.bento .card h3 { margin-bottom: .6rem; font-size: 1.3rem; }
.bento .card p { color: var(--cream-3); font-size: .96rem; }

/* =============================================================
   10. Gallery
   ============================================================= */
.gallery { padding: clamp(3rem, 8vw, 6rem) 0; }
.gallery-grid { display: grid; gap: .9rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-item { position: relative; overflow: hidden; border-radius: 18px; aspect-ratio: 3/4; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out), filter .7s var(--ease-out); }
.gallery-item:hover img { transform: scale(1.08); filter: brightness(1.08); }

/* =============================================================
   11. Testimonial band
   ============================================================= */
.testimonial-band { padding: clamp(3.5rem, 8vw, 6rem) 0; background: var(--bg-2); }
.testimonial-inner { max-width: 720px; margin-inline: auto; text-align: center; }
.testimonial-inner .stars { color: var(--gold); font-size: 1.4rem; letter-spacing: .3rem; display: block; margin-bottom: 1.25rem; }
.testimonial-quote { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 3vw, 2.1rem); color: var(--cream); }
.testimonial-author { margin-top: 1.25rem; color: var(--cream-3); font-size: .95rem; }

/* =============================================================
   12. Demo notice
   ============================================================= */
.demo-notice { background: var(--bg-3); color: var(--cream); border-bottom: 1px solid var(--line); }
.demo-notice-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem;
  padding: .85rem var(--gutter); text-align: center; font-size: .85rem;
}
.demo-notice strong { color: var(--gold); }

/* =============================================================
   13. FAQ
   ============================================================= */
.faq { padding: clamp(3rem, 8vw, 6rem) 0; }
.faq-list { max-width: 760px; margin-inline: auto; display: grid; gap: .8rem; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; background: var(--bg-3); overflow: hidden; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.2rem 1.5rem; text-align: left; font-weight: 600; color: var(--cream);
}
.faq-q .plus { font-size: 1.3rem; color: var(--gold); transition: transform .35s var(--ease-out); flex-shrink: 0; }
.faq-item.is-open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease-out); }
.faq-a p { padding: 0 1.5rem 1.2rem; color: var(--cream-3); font-size: .95rem; max-width: 60ch; }

/* =============================================================
   14. CTA + Footer
   ============================================================= */
.cta { padding: clamp(4rem, 9vw, 7rem) 0; text-align: center; }
.cta h2 { max-width: 18ch; margin-inline: auto; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2rem; }

.footer { background: var(--bg-3); color: rgba(241,232,227,.7); padding: clamp(3rem, 6vw, 4rem) 0 2rem; border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--cream); margin-bottom: .75rem; }
.footer h4 { color: var(--cream); font-family: var(--sans); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1rem; }
.footer ul { display: grid; gap: .6rem; font-size: .92rem; list-style: none; padding: 0; }
.footer a:hover { color: var(--cream); }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .82rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; }

/* =============================================================
   15. Reduced motion
   ============================================================= */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
