/* ===== Tokens ===== */
:root,
:root[data-theme="light"] {
  --bg: #F4EBDA;
  --bg-alt: #ECDBBC;
  --surface: #FBF6EC;
  --text: #241F1A;
  --text-muted: #5B5148;
  --walnut: #5B3620;
  --walnut-hover: #432712;
  --brass: #B8862E;
  --gold-soft: #E7C77E;
  --espresso: #2B1E14;
  --espresso-2: #21160E;
  --border: rgba(36, 31, 26, 0.14);
  --shadow: 0 20px 50px rgba(36, 25, 15, 0.14);
}

:root[data-theme="dark"] {
  --bg: #16130E;
  --bg-alt: #1E1911;
  --surface: #211B14;
  --text: #F1E7D6;
  --text-muted: #C4B69C;
  --walnut: #C98A52;
  --walnut-hover: #DFA06A;
  --brass: #D9AE5C;
  --gold-soft: #E7C77E;
  --espresso: #0F0B08;
  --espresso-2: #0A0705;
  --border: rgba(241, 231, 214, 0.14);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background 0.4s ease, color 0.4s ease;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.5em;
  color: var(--text);
}

h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; color: var(--text-muted); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }

.mono { font-family: 'IBM Plex Mono', monospace; }
.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--brass);
  margin-bottom: 0.9em;
  display: inline-block;
}

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--walnut); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.94rem;
  border: 1px solid transparent;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--walnut); color: #fff; }
.btn-primary:hover { background: var(--walnut-hover); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--brass); color: var(--brass); }
.btn-call {
  background: transparent; color: var(--text); border: 1px solid var(--border);
  padding: 9px 16px; font-size: 0.86rem;
}
.btn-call:hover { border-color: var(--brass); color: var(--brass); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--espresso-2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { display: block; }
.brand-name { font-family: 'Fraunces', serif; font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; color: #F1E7D6; }
.brand-name em { font-style: normal; color: var(--brass); }

.site-nav { display: flex; gap: 30px; }
.site-nav a { font-size: 0.93rem; font-weight: 500; position: relative; padding: 4px 0; color: #F1E7D6; }
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1.5px; background: var(--brass);
  transition: width 0.25s ease;
}
.site-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.theme-toggle {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent; color: #F1E7D6; display: grid; place-items: center;
}
.header-actions .btn-call { color: #F1E7D6; border-color: rgba(255, 255, 255, 0.25); }
.header-actions .btn-call:hover { border-color: var(--brass); color: var(--brass); }
.icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: none; }
[data-theme="dark"] .icon-moon { display: block; }

.hamburger { display: none; flex-direction: column; gap: 5px; width: 38px; height: 38px; background: none; border: none; align-items: center; justify-content: center; }
.hamburger span { width: 20px; height: 2px; background: #F1E7D6; transition: transform 0.25s ease, opacity 0.25s ease; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 70px 0 90px;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
  animation: hero-fade 15s infinite;
}
.hero-media img:nth-child(1) { animation-delay: 0s; }
.hero-media img:nth-child(2) { animation-delay: 5s; }
.hero-media img:nth-child(3) { animation-delay: 10s; }
@keyframes hero-fade {
  0%, 27% { opacity: 1; }
  33%, 100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-media img { animation: none; opacity: 0; }
  .hero-media img:first-child { opacity: 1; }
}
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(15, 11, 8, 0.92) 0%, rgba(15, 11, 8, 0.55) 45%, rgba(15, 11, 8, 0.35) 100%);
}
.hero-inner { max-width: 640px; }
.hero .eyebrow { color: var(--gold-soft); }
.hero-title { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.01em; color: #F8F2E4; }
.hero-title em { font-style: italic; color: var(--gold-soft); }
.hero-sub { font-size: 1.1rem; max-width: 46ch; color: rgba(248, 242, 228, 0.85); }
.hero-cta { display: flex; gap: 14px; margin: 26px 0 30px; flex-wrap: wrap; }
.hero .btn-ghost { color: #F8F2E4; border-color: rgba(248, 242, 228, 0.4); }
.hero .btn-ghost:hover { border-color: var(--gold-soft); color: var(--gold-soft); }
.hero-rating { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: rgba(248, 242, 228, 0.75); }
.stars { color: var(--gold-soft); letter-spacing: 2px; }

/* ===== Category spotlight banners ===== */
.spotlight {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.spotlight-media { position: absolute; inset: 0; z-index: -2; }
.spotlight-media img { width: 100%; height: 100%; object-fit: cover; }
.spotlight::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(15, 11, 8, 0.82) 0%, rgba(15, 11, 8, 0.45) 55%, rgba(15, 11, 8, 0.2) 100%);
}
.spotlight-inner { max-width: 480px; padding: 90px 0; }
.spotlight .eyebrow { color: var(--gold-soft); }
.spotlight h2 { color: #F8F2E4; margin-bottom: 0.4em; }
.spotlight p { color: rgba(248, 242, 228, 0.82); }
.spotlight .btn-ghost { color: #F8F2E4; border-color: rgba(248, 242, 228, 0.4); margin-top: 10px; }
.spotlight .btn-ghost:hover { border-color: var(--gold-soft); color: var(--gold-soft); }
.spotlight.align-right .spotlight-inner { margin-left: auto; text-align: right; }
.spotlight.align-right .trust-item, .spotlight.align-right { }

/* ===== Trust strip ===== */
.trust { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 74px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.trust-item { border-left: 2px solid var(--brass); padding-left: 20px; }
.trust-icon { color: var(--brass); font-size: 0.8rem; letter-spacing: 0.1em; }
.trust-item h3 { margin-top: 6px; }
.trust-item p { font-size: 0.94rem; }
.trust-name { color: var(--text); font-weight: 600; }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===== About / Process ===== */
.about { padding: 150px 0; }
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 70px; align-items: start; }
.about-visual img {
  width: 100%; height: 100%; object-fit: cover; min-height: 320px;
  border-radius: 18px; box-shadow: var(--shadow);
}
.about-content { display: flex; flex-direction: column; gap: 48px; }
.about-copy h2 { max-width: 14ch; }
.process { display: flex; flex-direction: column; gap: 26px; }
.process li { display: flex; gap: 18px; align-items: flex-start; }
.process-no { color: var(--brass); font-size: 0.85rem; padding-top: 4px; }
.process h4 { margin-bottom: 4px; }
.process p { margin: 0; font-size: 0.92rem; }

/* ===== Collection ===== */
.collection { padding: 20px 0 150px; }
.collection h2 { max-width: 16ch; margin-bottom: 48px; }
.collection-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.collection-card { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 3/4; display: block; }
.collection-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.collection-card:hover img { transform: scale(1.06); }
.collection-info {
  position: absolute; inset: auto 0 0 0; padding: 20px;
  background: linear-gradient(to top, rgba(20,15,10,0.88), transparent);
  color: #fff;
  display: flex; flex-direction: column; gap: 4px;
}
.collection-info h3 { color: #fff; margin: 0; }
.collection-info span { font-size: 0.72rem; letter-spacing: 0.08em; color: var(--gold-soft); }

/* ===== Gallery ===== */
.gallery { padding: 20px 0 150px; }
.gallery h2 { max-width: 18ch; margin-bottom: 48px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.gallery-grid img { border-radius: 10px; aspect-ratio: 1; object-fit: cover; }

/* ===== Testimonials ===== */
.testimonials { background: var(--espresso); color: #EFE9DD; padding: 130px 0; }
.testimonials .eyebrow { color: var(--gold-soft); }
.testimonials h2 { color: #fff; max-width: 16ch; margin-bottom: 48px; }
.testimonial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.testimonials blockquote { margin: 0; border-left: 2px solid var(--gold-soft); padding-left: 20px; }
.testimonials blockquote p { color: #EFE9DD; font-family: 'Fraunces', serif; font-size: 1.2rem; font-style: italic; }
.testimonials cite { font-style: normal; font-size: 0.85rem; color: var(--gold-soft); }
.google-badge { display: inline-flex; align-items: center; gap: 10px; margin-top: 40px; font-size: 0.9rem; color: var(--gold-soft); border-bottom: 1px solid var(--gold-soft); padding-bottom: 3px; }

/* ===== CTA band ===== */
.cta-band { padding: 110px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 64px 0; }
.cta-inner h2 { margin: 0; max-width: 18ch; }

/* ===== Contact ===== */
.contact { padding: 20px 0 150px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 40px; }
.contact-info { grid-column: 1; grid-row: 1 / 3; }
.contact-form-wrap { grid-column: 2; grid-row: 1; }
.contact-map { grid-column: 2; grid-row: 2; border-radius: 12px; overflow: hidden; min-height: 240px; border: 1px solid var(--border); }
.contact-map iframe { width: 100%; height: 100%; min-height: 240px; border: 0; filter: grayscale(0.15); }

.contact-list { display: flex; flex-direction: column; gap: 18px; margin-top: 24px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--text-muted); }
.contact-list svg { flex-shrink: 0; margin-top: 2px; color: var(--brass); }
.contact-list a:hover { color: var(--brass); }
.note-mono { font-size: 0.7rem; opacity: 0.65; }

.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 0.85rem; color: var(--text-muted); }
.contact-form input, .contact-form textarea {
  font: inherit; padding: 11px 12px; border-radius: 6px; border: 1px solid var(--border);
  background: var(--bg); color: var(--text); resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--brass); }
.form-note { min-height: 1.2em; color: var(--brass); }

/* ===== Footer ===== */
.site-footer { background: var(--espresso-2); color: #D8CBB3; padding: 70px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-name em { color: var(--gold-soft); }
.site-footer p { color: #B7A98C; margin-top: 10px; }
.footer-grid nav { display: flex; flex-direction: column; gap: 10px; }
.footer-grid nav a:hover, .footer-contact a:hover { color: var(--gold-soft); }
.footer-contact { display: flex; flex-direction: column; gap: 10px; font-size: 0.9rem; color: #B7A98C; }
.footer-bottom { padding-top: 20px; font-size: 0.82rem; color: #8A7C64; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .contact-info, .contact-form-wrap, .contact-map { grid-column: 1; grid-row: auto; }
  .trust-grid { grid-template-columns: 1fr; }
  .collection-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .about, .collection, .gallery, .testimonials, .cta-band, .contact { padding-top: 90px; }
  .collection, .gallery, .contact { padding-bottom: 100px; }
  .hero { min-height: 78vh; }
  .spotlight { min-height: 50vh; }
  .spotlight.align-right .spotlight-inner { margin-left: 0; text-align: left; }
}

@media (max-width: 900px) {
  .site-nav {
    position: fixed; top: 76px; left: 0; right: 0; bottom: 0;
    background: var(--espresso-2); flex-direction: column; padding: 30px 24px; gap: 20px;
    transform: translateX(100%); transition: transform 0.3s ease; font-size: 1.1rem;
  }
  .site-nav.is-open { transform: translateX(0); }
  .hamburger { display: flex; }
  .btn-call span { display: none; }
  .header-actions .btn-call { padding: 9px; }
}

@media (max-width: 560px) {
  .collection-grid, .gallery-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
