/* Prayer Mat Hanger — deep green & gold. Self-hosted fonts, no external requests. */
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: normal; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: italic; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap;
  src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }

:root {
  --bg: #09231b;
  --bg-2: #0c2c22;
  --panel: #0f3428;
  --panel-2: #123d2f;
  --line: rgba(212, 176, 106, 0.26);
  --line-strong: rgba(212, 176, 106, 0.55);
  --gold: #d4b06a;
  --gold-light: #e9d29c;
  --gold-dark: #a8843e;
  --ivory: #f3ecdb;
  --text: #e9e3d3;
  --muted: #b3bfb5;
  --muted-2: #8ea296;
  --radius: 14px;
  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1160px;
  color-scheme: dark;
  /* eight-point star lattice, drawn once and tiled at very low contrast */
  --lattice: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='88' viewBox='0 0 88 88'%3E%3Cg fill='none' stroke='%23d4b06a' stroke-width='1'%3E%3Cpath d='M26 26h36v36H26z'/%3E%3Cpath d='M44 18.5 69.5 44 44 69.5 18.5 44z'/%3E%3Cpath d='M44 0v18.5M44 69.5V88M0 44h18.5M69.5 44H88M0 0l26 26M88 0 62 26M0 88l26-26M88 88 62 62'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: var(--gold-light); text-underline-offset: 3px; }
a:hover { color: var(--ivory); }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--ivory); line-height: 1.12; margin: 0 0 .5em; letter-spacing: .005em; }
h1 { font-size: clamp(2.35rem, 6.2vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
.eyebrow {
  font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 1rem; display: flex; align-items: center; gap: .7rem;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.gold { color: var(--gold-light); }

/* ---------------------------------------------------------------- ribbon + header */
.ribbon {
  background: #061a14; color: var(--gold-light); text-align: center; font-size: .82rem; letter-spacing: .04em;
  padding: .5rem 16px; border-bottom: 1px solid var(--line);
}
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(9, 35, 27, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ivory); }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand span { font-family: var(--serif); font-size: clamp(1.2rem, 4.4vw, 1.7rem); font-weight: 600; letter-spacing: .02em; line-height: 1; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.nav a:hover { color: var(--ivory); }
.nav a.btn, .nav a.btn:hover { color: #0a241b; }
.nav .nav-link { display: none; }
@media (min-width: 860px) { .nav .nav-link { display: inline; } }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--sans); font-weight: 600; font-size: 1rem; letter-spacing: .01em;
  padding: .95rem 1.6rem; border-radius: 999px; text-decoration: none; cursor: pointer; border: 0;
  background: linear-gradient(180deg, var(--gold-light), var(--gold) 55%, var(--gold-dark));
  color: #0a241b; box-shadow: 0 6px 22px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .45);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn:hover { color: #0a241b; filter: brightness(1.05); transform: translateY(-1px); box-shadow: 0 10px 28px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255,255,255,.45); }
.btn-small { padding: .55rem 1.1rem; font-size: .9rem; }
.btn-ghost {
  background: transparent; color: var(--gold-light); border: 1px solid var(--line-strong); box-shadow: none;
}
.btn-ghost:hover { color: var(--ivory); border-color: var(--gold); background: rgba(212, 176, 106, .08); }
.btn-block { width: 100%; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding: 2.5rem 0 3.5rem; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; background-image: var(--lattice); background-size: 88px;
  opacity: .055; pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 55% at 78% 40%, rgba(212, 176, 106, .10), transparent 70%);
}
.hero .wrap { position: relative; z-index: 1; display: grid; gap: 2.2rem; }
.hero-intro .lede { margin-bottom: 0; }
@media (min-width: 940px) {
  .hero { padding: 4.5rem 0 5rem; }
  .hero .wrap { grid-template-columns: 1.05fr .95fr; grid-template-areas: "intro art" "buy art"; column-gap: 3.5rem; row-gap: 1.8rem; align-items: start; }
  .hero-intro { grid-area: intro; align-self: end; }
  .hero-art { grid-area: art; align-self: center; }
  .hero-buy { grid-area: buy; }
}

.arch {
  position: relative; width: min(100%, 440px); margin: 0 auto; aspect-ratio: 4 / 5;
}
.arch-inner {
  position: absolute; inset: 14px;
  -webkit-mask: url("../images/arch-mask.svg") center / 100% 100% no-repeat;
  mask: url("../images/arch-mask.svg") center / 100% 100% no-repeat;
  background: var(--panel);
}
.arch-inner img { width: 100%; height: 100%; object-fit: cover; }
.arch-frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.arch-caption { text-align: center; color: var(--muted-2); font-size: .82rem; margin-top: .8rem; }

/* ---------------------------------------------------------------- buy box */
.buy {
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; max-width: 520px;
}
.buy-top { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.buy-thumb { width: 92px; height: 69px; border-radius: 10px; object-fit: cover; border: 1px solid var(--line); flex: none; }
.price { font-family: var(--serif); font-size: 2.5rem; font-weight: 600; color: var(--ivory); line-height: 1; }
.price small { font-family: var(--sans); font-size: .85rem; font-weight: 500; color: var(--muted); display: block; margin-top: .35rem; letter-spacing: .01em; }
.swatches { border: 0; padding: 0; margin: 0 0 1rem; }
.swatches legend { font-size: .85rem; color: var(--muted); margin-bottom: .5rem; padding: 0; }
.swatch-row { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.swatch { position: relative; }
.swatch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.swatch label {
  display: inline-flex; align-items: center; gap: .55rem; padding: .45rem .95rem .45rem .5rem; border-radius: 999px;
  border: 1px solid var(--line); cursor: pointer; font-size: .92rem; color: var(--text); background: rgba(0,0,0,.12);
}
.swatch label i { width: 22px; height: 22px; border-radius: 50%; display: block; box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); }
.swatch input:checked + label { border-color: var(--gold); background: rgba(212, 176, 106, .12); color: var(--ivory); }
.swatch input:focus-visible + label { outline: 2px solid var(--gold-light); outline-offset: 2px; }
.swatch-note { font-size: .82rem; color: var(--muted-2); }
.buy-fine { font-size: .84rem; color: var(--muted-2); margin: .8rem 0 0; text-align: center; }
.buy-fine svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; }
.checkout-msg { display: none; margin: .8rem 0 0; font-size: .9rem; color: var(--gold-light); text-align: center; }
.checkout-msg.show { display: block; }

.ticks { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .55rem; }
.ticks li { display: flex; gap: .65rem; align-items: flex-start; color: var(--muted); font-size: .98rem; }
.ticks li::before {
  content: ""; flex: none; width: 16px; height: 16px; margin-top: .3rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0l2 3.2 3.7-.9-.9 3.7L16 8l-3.2 2 .9 3.7-3.7-.9L8 16l-2-3.2-3.7.9.9-3.7L0 8l3.2-2-.9-3.7 3.7.9z' fill='%23d4b06a'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------------------------------------------------------------- sections */
section { scroll-margin-top: 80px; }
.section { padding: 4.2rem 0; position: relative; }
@media (min-width: 940px) { .section { padding: 6rem 0; } }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin: 0 auto 2.6rem; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head .eyebrow::after { content: ""; width: 26px; height: 1px; background: var(--gold); }
.section-head p { color: var(--muted); }

.divider { display: flex; align-items: center; justify-content: center; gap: 1rem; color: var(--gold); margin: 0 auto; }
.divider::before, .divider::after { content: ""; height: 1px; width: min(28vw, 180px); background: linear-gradient(90deg, transparent, var(--line-strong)); }
.divider::after { background: linear-gradient(90deg, var(--line-strong), transparent); }
.divider svg { width: 22px; height: 22px; }

/* story */
.story { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .story { grid-template-columns: .9fr 1.1fr; gap: 4rem; } }
.story blockquote {
  margin: 0; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.45rem, 3vw, 1.9rem);
  line-height: 1.4; color: var(--ivory);
}
.story blockquote p { margin-bottom: .8em; }
.story cite { display: block; font-family: var(--sans); font-style: normal; font-size: .9rem; color: var(--gold); letter-spacing: .06em; }
.story figure { margin: 0; }
.photo { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--panel); position: relative; }
.photo img { width: 100%; height: auto; }
.tag {
  position: absolute; left: 10px; bottom: 10px; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(6, 26, 20, .78); color: var(--gold-light); padding: .25rem .6rem; border-radius: 999px; border: 1px solid var(--line);
}

/* benefits */
.cards { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.4rem;
}
.card svg { width: 38px; height: 38px; color: var(--gold); margin-bottom: .9rem; }
.card h3 { font-size: 1.35rem; margin-bottom: .35rem; }
.card p { color: var(--muted); font-size: .97rem; margin: 0; }

/* steps */
.steps { display: grid; gap: 1.6rem; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 1.6rem; } }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.step .photo { border: 0; border-radius: 0; border-bottom: 1px solid var(--line); aspect-ratio: 4 / 3; }
.step .photo img { height: 100%; object-fit: cover; }
.step-body { padding: 1.3rem 1.4rem 1.5rem; }
.step-num {
  counter-increment: step; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-light); font-family: var(--serif); font-size: 1.15rem;
  font-weight: 600; margin-bottom: .7rem;
}
.step-num::before { content: counter(step); }
.step h3 { margin-bottom: .3rem; }
.step p { color: var(--muted); font-size: .97rem; margin: 0; }

.demo { display: grid; gap: 1.6rem; align-items: center; margin-top: 3rem; }
@media (min-width: 900px) { .demo { grid-template-columns: 1.15fr .85fr; gap: 3rem; } }
.demo video { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.demo p { color: var(--muted); }

/* kit */
.kit { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 940px) { .kit { grid-template-columns: 1.1fr .9fr; gap: 3.5rem; } }
.kit-list { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: .1rem; }
.kit-list li { display: flex; align-items: baseline; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.kit-list b { font-family: var(--serif); font-size: 1.6rem; color: var(--gold-light); min-width: 1.6em; font-weight: 600; }
.kit-list span { color: var(--text); }
.kit-list small { display: block; color: var(--muted-2); font-size: .88rem; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 1.4rem; margin: 0; }
.specs div { border-left: 1px solid var(--line-strong); padding-left: .8rem; }
.specs dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted-2); }
.specs dd { margin: 0; color: var(--ivory); font-size: .98rem; }

/* gallery */
.gallery { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .gallery { grid-template-columns: 1.2fr 1fr 1fr; } .gallery .photo.tall { grid-row: span 2; aspect-ratio: auto; } }
.gallery .photo { aspect-ratio: 4 / 3; }
.gallery .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { position: absolute; inset: auto 0 0 0; padding: 2.2rem 1rem .9rem; font-size: .92rem; color: var(--ivory);
  background: linear-gradient(transparent, rgba(4, 18, 14, .85)); }
.gallery figure { margin: 0; }

/* colours */
.colours { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .colours { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }
.colour-chips { display: flex; gap: 1.2rem; flex-wrap: wrap; margin: 1.2rem 0 1.6rem; }
.chip { display: flex; align-items: center; gap: .6rem; color: var(--text); }
.chip i { width: 30px; height: 30px; border-radius: 50%; display: block; border: 1px solid var(--line-strong); }
.chip.soon { color: var(--muted-2); }
.chip.soon i { background: repeating-linear-gradient(45deg, transparent 0 5px, rgba(212,176,106,.35) 5px 6px); }

/* faq */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.15rem 2.4rem 1.15rem 0; position: relative;
  font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--ivory);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq .answer { padding: 0 0 1.2rem; color: var(--muted); }
.faq .answer p:last-child { margin-bottom: 0; }

/* closing call to action */
.cta {
  text-align: center; padding: 4.5rem 0; position: relative; overflow: hidden;
  background: radial-gradient(70% 90% at 50% 0%, rgba(212, 176, 106, .13), transparent 70%), var(--bg-2);
  border-top: 1px solid var(--line);
}
.cta::before { content: ""; position: absolute; inset: 0; background-image: var(--lattice); background-size: 88px; opacity: .05; }
.cta .wrap { position: relative; }
.cta p { color: var(--muted); max-width: 32em; margin: 0 auto 1.6rem; }

/* footer */
.site-footer { background: #061a14; border-top: 1px solid var(--line); padding: 2.8rem 0 2rem; color: var(--muted-2); font-size: .9rem; }
.footer-grid { display: grid; gap: 1.6rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 .7rem; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ivory); text-decoration: underline; }
.footer-bottom { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between; }

/* policy / text pages */
.page { padding: 3rem 0 4.5rem; }
.prose { max-width: 760px; margin: 0 auto; }
.prose h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.prose h2 { font-size: 1.9rem; margin-top: 2.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.prose h3 { font-size: 1.3rem; margin-top: 1.6rem; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li { margin-bottom: .35rem; }
.prose .toc, .toc { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.2rem 0 0; padding: 0; list-style: none; }
.toc a { display: inline-block; border: 1px solid var(--line); border-radius: 999px; padding: .3rem .85rem; text-decoration: none; font-size: .9rem; }
.form-box { border: 1px dashed var(--line-strong); border-radius: 10px; padding: 1rem 1.2rem; background: rgba(0,0,0,.12); }
.form-box p { margin-bottom: .55rem; }
.fill { color: var(--gold-light); background: rgba(212, 176, 106, .12); padding: 0 .3em; border-radius: 4px; }
.notice { border: 1px solid var(--line-strong); border-radius: 10px; padding: 1rem 1.2rem; background: rgba(212, 176, 106, .07); color: var(--text); }

/* thank you */
.thanks { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 4rem 0; position: relative; }
.thanks::before { content: ""; position: absolute; inset: 0; background-image: var(--lattice); background-size: 88px; opacity: .05; }
.thanks .wrap { position: relative; max-width: 640px; }
.thanks p { color: var(--muted); }
.thanks .star { width: 54px; height: 54px; margin: 0 auto 1.2rem; color: var(--gold); }
@media (max-width: 520px) { .hide-sm { display: none; } }

/* hero animation in a double gold frame */
.hero-art { margin: 0; }
.video-frame {
  position: relative; border-radius: calc(var(--radius) + 6px); padding: 8px;
  background: linear-gradient(160deg, rgba(212, 176, 106, .18), rgba(212, 176, 106, .04));
  border: 1px solid var(--line-strong); box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
}
.video-frame video { width: 100%; height: auto; border-radius: var(--radius); display: block; background: var(--panel);
  border: 1px solid var(--line); }
.video-frame .tag { left: 18px; bottom: 18px; }
.story-art { width: 100%; }
@media (min-width: 900px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .cards.cards-3 { grid-template-columns: repeat(3, 1fr); } }
.section-foot { text-align: center; margin: 1.8rem 0 0; }
