@font-face {
  font-family: "Inter";
  src: url("/fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face { font-family: "Cormorant"; src: url("/fonts/CormorantGaramond-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("/fonts/CormorantGaramond-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("/fonts/CormorantGaramond-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("/fonts/CormorantGaramond-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

/* Light "Parchment & Walnut" is the default; dark walnut matches the plugins (and the santoor page's
   --lacquer/--ivory/--gold). Dark is the site's theme (js/review-theme.js sets it); light stays, without a switch. */
:root {
  color-scheme: light;
  --bg: #f4ebdd;
  --bg-2: #eadfcb;
  --panel: #fbf6ee;
  --text: #3a2a24;
  --muted: #6e5a4e;
  --accent: #783f49;
  --accent-hover: #5e2f38;
  --on-accent: #fbf6ee;
  --brass: #9a6a34;
  --line: rgb(58 42 36 / 0.16);
  --shadow: rgb(58 42 36 / 0.22);
  --serif: "Cormorant", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --page: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #17110d;
  --bg-2: #221913;
  --panel: #1d1611;
  --text: #e9dcc8;
  --muted: #b0a08a;
  --accent: #d8a660;
  --accent-hover: #e6bb7c;
  --on-accent: #17110d;
  --brass: #d8a660;
  --line: rgb(216 166 96 / 0.24);
  --shadow: rgb(0 0 0 / 0.6);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 0.2em; }
a:hover { color: var(--accent-hover); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0 0 1rem; }
h1 em, h2 em { color: var(--accent); }
.wrap { max-width: var(--page); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 10; background: var(--panel); padding: 0.5rem 1rem; }

.eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 0.9rem;
}

/* Header */
.site-header { position: relative; z-index: 2; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.4rem; padding-bottom: 1.4rem; }
.wordmark { color: var(--text); text-decoration: none; text-align: center; line-height: 1; }
.wordmark b { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.45rem; letter-spacing: 0.24em; margin-right: -0.24em; }
.wordmark span { display: block; font-size: 0.58rem; letter-spacing: 0.5em; margin-right: -0.5em; margin-top: 0.3rem; color: var(--muted); }
.nav { display: flex; gap: clamp(1rem, 3vw, 2.2rem); }
.nav a { color: var(--text); text-decoration: none; font-size: 0.74rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.85rem 1.5rem; border-radius: 4px; border: 1px solid var(--accent);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
  background: var(--accent); color: var(--on-accent);
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent); }
.btn.ghost { background: transparent; color: var(--accent); }
.btn.ghost:hover { background: color-mix(in srgb, var(--accent) 10%, transparent); color: var(--accent); }

/* Home hero: the santoor photo fades into the page colour on the left, under the headline. */
.hero { position: relative; isolation: isolate; margin-top: -5.2rem; padding: 10rem 0 7rem; min-height: min(46rem, 92vh); display: flex; align-items: center; }
.hero > .wrap { width: 100%; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 75% 50%; z-index: -2; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 94%, transparent) 32%, color-mix(in srgb, var(--bg) 55%, transparent) 50%, transparent 72%),
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 70%, transparent) 0%, transparent 25%, transparent 75%, var(--bg) 100%);
}
.hero h1 { font-size: clamp(2.8rem, 7vw, 5.2rem); max-width: 11ch; }
.hero .lede { max-width: 32rem; font-size: 1.12rem; color: var(--muted); margin: 0 0 2rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* Three points under the hero */
.points { list-style: none; margin: 0; padding: 2.5rem 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.points li { display: grid; grid-template-columns: auto 1fr; gap: 0 1rem; }
.points .n { font-family: var(--serif); font-size: 1.6rem; color: var(--brass); line-height: 1; grid-row: span 2; }
.points b { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; }
.points span:last-child { color: var(--muted); font-size: 0.95rem; }

section { padding: clamp(4rem, 9vw, 7rem) 0; }
section + section { padding-top: 0; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); }
.intro { color: var(--muted); max-width: 40rem; margin: 0 0 2.5rem; }

/* Product grid */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 30rem), 1fr)); gap: 1.5rem; }
.card {
  display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: 6px;
  background: var(--panel); border: 1px solid var(--line); box-shadow: 0 24px 60px -30px var(--shadow);
  color: var(--text); text-decoration: none; transition: transform 0.2s;
}
.card:hover { transform: translateY(-3px); color: var(--text); }
.card img { aspect-ratio: 1000 / 760; object-fit: cover; width: 100%; }
.card-body { padding: 1.6rem 1.8rem 1.8rem; display: grid; gap: 0.4rem; }
.card h3 { font-size: 2rem; margin: 0; }
.card p { margin: 0; color: var(--muted); }
.card .meta { font-size: 0.85rem; }
.card .more { margin-top: 0.8rem; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
/* While there is only one product, its card runs the full width: picture left, text right. */
@media (min-width: 761px) {
  .products:has(> .card:only-child) { grid-template-columns: 1fr; }
  .card:only-child { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); grid-template-rows: none; }
  .card:only-child img { height: 100%; }
  .card:only-child .card-body { align-content: center; padding: 2.5rem; }
  .card:only-child h3 { font-size: 2.6rem; }
}

/* Picture + text, used on home (about teaser) and the about page */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split img { border-radius: 6px; box-shadow: 0 30px 70px -30px var(--shadow); }
.split p { color: var(--muted); }
.split p.first { color: var(--text); font-size: 1.15rem; }

/* Text pages: support, legal */
.page-head { padding: 3rem 0 1rem; }
.page-head h1 { font-size: clamp(2.6rem, 6vw, 4rem); }
.prose { max-width: 44rem; padding-bottom: 5rem; }
.prose h2 { font-size: 1.8rem; margin-top: 2.5rem; }
.prose li { margin-bottom: 0.4rem; }
.draft { border: 1px dashed var(--accent); border-radius: 6px; padding: 0.8rem 1rem; color: var(--accent); font-size: 0.9rem; }
.faq details { border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 1.35rem; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brass); font-family: var(--sans); font-weight: 300; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > :not(summary) { color: var(--muted); margin: 0.8rem 0 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 2.5rem 0 3rem; font-size: 0.88rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }

@media (max-width: 760px) {
  .site-header .wrap { flex-direction: column; }
  .hero { margin-top: 0; padding: 4rem 0; min-height: 0; }
  .hero > img { object-position: 85% 50%; }
  .hero::after { background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 82%, transparent) 0%, color-mix(in srgb, var(--bg) 90%, transparent) 60%, var(--bg) 100%); }
  .points { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
}
