/* Noviara: warm devotional palette. Text colours meet WCAG AA (4.5:1) on their backgrounds. */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond-latin.woff2?v=9832ec41b1") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope-latin.woff2?v=9832ec41b1") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --cream: #f8f3ea;
  --cream-2: #f1e8d8;
  --paper: #fffdf8;
  --ink: #2b211b;
  --ink-soft: #6b5d52;
  --line: #e4d8c4;
  --gold: #a87a2a;        /* decorative only: lines, borders, icons */
  --gold-text: #7f5a1a;   /* gold for text on light backgrounds */
  --gold-light: #d8b36a;  /* gold for text on dark backgrounds */
  --maroon: #6e1f1f;
  --maroon-deep: #3d1213;
  --error: #a4161a;
  --success: #2f6b3a;
  --radius: 4px;
  --wrap: 1200px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0 0 .4em; letter-spacing: -.01em; overflow-wrap: break-word; }
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; cursor: pointer; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--ink); color: #fff; padding: .7em 1.2em; border-radius: var(--radius); text-decoration: none;
}
.skip-link:focus { top: 12px; }

.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-text); text-decoration: none; margin-bottom: .8rem;
}
a.eyebrow { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: .3rem; }
a.eyebrow:hover { color: var(--maroon); }
.eyebrow-light { color: var(--gold-light); }
.muted { color: var(--ink-soft); }
.lede { font-size: 1.1rem; color: var(--ink-soft); max-width: 640px; }

/* Buttons: one filled primary style; outline and text links are secondary */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .85em 1.7em; border-radius: var(--radius); border: 1px solid var(--maroon);
  background: var(--maroon); color: #fff; text-decoration: none; text-align: center;
  font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--maroon-deep); border-color: var(--maroon-deep); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-lg { min-height: 54px; padding: 1em 2.2em; font-size: .9rem; }
.btn-sm { min-height: 44px; padding: .55em 1.2em; font-size: .78rem; }
.btn-block { display: flex; width: 100%; }
.btn-outline { background: transparent; color: var(--maroon); }
.btn-outline:hover { background: var(--maroon); color: #fff; }
.btn-light { background: var(--gold-light); border-color: var(--gold-light); color: var(--maroon-deep); }
.btn-light:hover { background: #f3e3c3; border-color: #f3e3c3; }
.link-arrow {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--maroon); text-decoration: none;
}
.link-arrow::after { content: "→"; margin-left: .4em; transition: margin .2s; }
.link-arrow:hover::after { margin-left: .65em; }
.link-light { color: #f6ecdb; }
.linklike { background: none; border: 0; padding: 0; text-align: left; text-decoration: none; font-size: inherit; }

/* Announcement + header */
.announce {
  background: var(--maroon-deep); color: #f3e3c3; text-align: center;
  font-size: .8rem; letter-spacing: .04em; padding: .6em 16px;
}
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(248, 243, 234, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--maroon); min-height: 44px; }
.logo svg { width: 30px; height: 30px; color: var(--gold); flex: none; }
.logo span { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; letter-spacing: .28em; }
.site-nav { display: flex; gap: 2rem; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  text-decoration: none; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  border-bottom: 1px solid transparent;
}
.site-nav a:hover, .site-nav a[aria-current] { color: var(--maroon); border-color: var(--gold); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 12px 9px; }
.nav-toggle span { display: block; height: 1.5px; background: var(--ink); margin: 5px 0; transition: transform .2s; }

@media (max-width: 767px) {
  .logo span { font-size: 1.35rem; letter-spacing: .24em; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line); padding: .25rem 16px .75rem;
    display: none; box-shadow: 0 12px 24px rgba(43, 33, 27, .08);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { min-height: 52px; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: 0; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
}

/* Hero */
.hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--maroon-deep); }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(30,12,10,.8) 0%, rgba(30,12,10,.5) 45%, rgba(30,12,10,0) 75%),
              linear-gradient(0deg, rgba(30,12,10,.55), transparent 50%);
}
.hero-content { position: relative; padding-top: 6rem; padding-bottom: 5rem; }
.hero-content h1 { max-width: 620px; }
.hero-content p { max-width: 520px; font-size: 1.08rem; color: rgba(255,255,255,.92); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.6rem; margin-top: 1.8rem; }
@media (max-width: 640px) {
  .hero { min-height: 88vh; min-height: 88svh; }
  .hero-media img { object-position: 62% center; }
  .hero-media::after { background: linear-gradient(0deg, rgba(30,12,10,.9) 0%, rgba(30,12,10,.55) 55%, rgba(30,12,10,.2) 100%); }
  .hero-content { padding-bottom: 2.5rem; }
  .hero-actions .btn { width: 100%; }
  .hero .eyebrow { color: #f3e3c3; text-shadow: 0 1px 6px rgba(30,12,10,.85); }
}

/* Sections */
.section { padding: 5rem 0; }
.section.wrap { padding-left: 16px; padding-right: 16px; }
@media (min-width: 768px) { .section.wrap { padding-left: 32px; padding-right: 32px; } }
@media (max-width: 640px) { .section { padding: 3.5rem 0; } }
.section-tint { background: var(--cream-2); }
.section-dark { background: var(--maroon-deep); color: #f6ecdb; }
.section-head { margin-bottom: 2.5rem; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.page-head { padding-bottom: 2rem; }
.crumbs { font-size: .82rem; color: var(--ink-soft); margin-bottom: 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0 .5em; }
.crumbs a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.crumbs a:hover { color: var(--maroon); text-decoration: underline; }

/* Collections */
.collection-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); }
.collection-card {
  display: grid; grid-template-columns: 1fr 1fr; background: var(--paper);
  border: 1px solid var(--line); text-decoration: none; overflow: hidden;
}
.collection-card img { width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .6s; }
.collection-card:hover img { transform: scale(1.03); }
.collection-card-body { padding: 2rem 1.6rem; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.collection-card-body p { color: var(--ink-soft); }
@media (max-width: 480px) {
  .collection-card { grid-template-columns: 1fr; }
  .collection-card img { aspect-ratio: 4 / 3; }
  .collection-card-body { padding: 1.4rem 1.2rem; }
}

/* Product grid + cards */
.grid { display: grid; gap: 2rem 1.5rem; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; } }
.card { text-decoration: none; display: block; }
.card[hidden] { display: none; }
.card-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--cream-2); }
.card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s, transform .8s; }
.card-img-alt { opacity: 0; }
@media (hover: hover) {
  .card:hover .card-img-alt { opacity: 1; }
  .card:hover .card-img { transform: scale(1.03); }
}
.card-body { padding-top: .9rem; }
.card-body .eyebrow { margin-bottom: .25rem; font-size: .74rem; }
.card-body h3 { font-size: 1.3rem; margin-bottom: .2rem; }
.card-size { font-size: .88rem; color: var(--ink-soft); }
.card:hover h3 { color: var(--maroon); }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chip {
  min-height: 44px; border: 1px solid var(--line); background: var(--paper); border-radius: 999px;
  padding: .45em 1.2em; font-size: .88rem;
}
.chip span { color: var(--ink-soft); margin-left: .25em; }
.chip.is-active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.chip.is-active span { color: var(--gold-light); }
.shop { padding-bottom: 5rem; }

/* About */
.about { display: grid; gap: 3rem; grid-template-columns: 1.1fr 1fr; align-items: start; }
.about-text p { color: var(--ink-soft); font-size: 1.05rem; }
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.features li { background: var(--paper); padding: 1.3rem 1.5rem; display: grid; gap: .2rem; }
.features strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--maroon); }
.features span { color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 2rem; } }

/* CTA band (dark) */
.cta-band { text-align: center; max-width: 720px; }
.cta-band p { color: rgba(246,236,219,.85); font-size: 1.05rem; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .6rem 1.6rem; margin-top: 1.8rem; }
.section-dark .muted { color: rgba(246,236,219,.75); }
@media (max-width: 480px) { .cta-actions .btn { width: 100%; } }

/* Product page */
.product { padding-top: 2rem; padding-bottom: 5rem; }
.product-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 3.5rem; align-items: start; }
@media (max-width: 860px) { .product-grid { grid-template-columns: 1fr; gap: 2rem; } }
.gallery { position: sticky; top: 90px; }
@media (max-width: 860px) { .gallery { position: static; } }
.gallery-main {
  display: block; width: 100%; padding: 0; border: 0; background: var(--cream-2);
  aspect-ratio: 4 / 5; overflow: hidden; cursor: zoom-in;
}
.gallery-main img { width: 100%; height: 100%; object-fit: contain; transition: opacity .25s; }
.thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: .5rem; margin-top: .6rem; }
@media (max-width: 480px) { .thumbs { grid-template-columns: repeat(4, 1fr); } }
.thumb { padding: 0; border: 2px solid transparent; background: var(--cream-2); aspect-ratio: 1; overflow: hidden; opacity: .7; transition: opacity .2s, border-color .2s; min-height: 44px; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover, .thumb.is-active { opacity: 1; }
.thumb.is-active { border-color: var(--maroon); }
.product-info h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
.product-desc { color: var(--ink-soft); font-size: 1.05rem; }
.specs { margin: 1.8rem 0; border-top: 1px solid var(--line); }
.specs div { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.specs dt { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.specs dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.cta-block { display: grid; gap: .6rem; justify-items: center; }
.soon-note {
  margin-top: 1.4rem; padding: 1rem 1.2rem; border-left: 3px solid var(--gold); background: var(--paper);
  color: var(--ink-soft); font-size: .95rem;
}
.soon-note strong { color: var(--maroon); }

/* Sticky mobile CTA on product pages */
.sticky-cta { display: none; }
@media (max-width: 860px) {
  .sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: .7rem 16px calc(.7rem + env(safe-area-inset-bottom)); background: var(--paper);
    border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(43, 33, 27, .1);
    transform: translateY(110%); transition: transform .25s;
  }
  .sticky-cta.is-visible { transform: none; }
  .sticky-cta div { display: grid; min-width: 0; line-height: 1.3; }
  .sticky-cta strong { font-family: var(--serif); font-size: 1.15rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sticky-cta span { font-size: .82rem; color: var(--ink-soft); }
  .sticky-cta .btn { flex: none; padding: .7em 1.2em; }
  .has-sticky-cta .site-footer { padding-bottom: calc(1.5rem + 76px + env(safe-area-inset-bottom)); }
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 50; background: rgba(20,10,8,.94);
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox-close {
  position: absolute; top: 10px; right: 12px; background: none; border: 0; color: #fff;
  font-size: 2.4rem; line-height: 1; width: 52px; height: 52px;
}

/* Contact page + form */
.contact-page { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 3rem; padding-bottom: 5rem; align-items: start; }
@media (max-width: 860px) { .contact-page { grid-template-columns: 1fr; } }
.contact-form-wrap, .contact-direct { background: var(--paper); border: 1px solid var(--line); padding: 2rem; }
@media (max-width: 480px) { .contact-form-wrap, .contact-direct { padding: 1.3rem 1.1rem; } }
.contact-direct h2 { font-size: 1.8rem; }
.contact-direct > p { color: var(--ink-soft); }
.contact-direct .specs { margin-bottom: 0; }
.enquiry-form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .35rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field label { font-size: .88rem; font-weight: 600; }
.req { color: var(--error); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .7em .9em; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid #8e7f70; border-radius: var(--radius);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: #7a6b5f; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.field [aria-invalid="true"] { border-color: var(--error); background: #fff8f7; }
.field-error { margin: 0; color: var(--error); font-size: .85rem; min-height: 0; }
.field-error:empty { display: none; }
.field-hint { margin: -.5rem 0 0; font-size: .85rem; color: var(--ink-soft); }
.field-count { margin: 0; font-size: .8rem; color: var(--ink-soft); text-align: right; }
.field-check { grid-template-columns: auto 1fr; align-items: start; gap: .2rem .7rem; }
.field-check input { width: 22px; height: 22px; min-height: 0; margin: .15rem 0 0; accent-color: var(--maroon); }
.field-check label { font-weight: 400; font-size: .92rem; }
.field-check .field-error { grid-column: 2; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-size: .95rem; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--error); }
.form-success { text-align: center; padding: 2rem 0; }
.form-success h2 { font-size: 2rem; color: var(--success); }
.form-success:focus { outline: none; }

/* Legal pages */
.prose { max-width: 760px; padding-bottom: 5rem; }
.prose h2 { font-size: 1.7rem; margin-top: 2.2rem; }
.prose h3 { font-size: 1.25rem; margin-top: 1.4rem; }
.prose p, .prose li { color: #4a3d34; }
.prose ul { padding-left: 1.3rem; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--maroon); }
.prose code { font-size: .9em; background: var(--cream-2); padding: .1em .35em; border-radius: 3px; }
.legal-meta { font-size: .9rem; color: var(--ink-soft); }

/* 404 */
.notfound { padding-top: 4rem; }

/* Cookie banner */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px;
  background: var(--ink); color: #f1e6d4; padding: 1.2rem 1.3rem; border-radius: 6px;
  box-shadow: 0 16px 40px rgba(0,0,0,.25); font-size: .92rem;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0 0 .9rem; }
.cookie-banner a { color: var(--gold-light); }
.cookie-actions { display: flex; gap: .6rem; justify-content: flex-end; }
.cookie-banner .btn-outline { color: #f1e6d4; border-color: #8e7f70; }
.cookie-banner .btn-outline:hover { background: #f1e6d4; color: var(--ink); }
.cookie-banner .btn:not(.btn-outline) { background: var(--gold-light); border-color: var(--gold-light); color: var(--maroon-deep); }

/* Footer */
.site-footer { background: var(--ink); color: #d9cbb6; padding: 3.5rem 0 1.5rem; font-size: .92rem; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
.footer-inner nav, .footer-touch { display: flex; flex-direction: column; align-items: flex-start; }
.footer-h { font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); margin: 0 0 .5rem; }
.site-footer a, .site-footer .linklike { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; color: #d9cbb6; overflow-wrap: anywhere; }
.site-footer a:hover, .site-footer .linklike:hover { color: var(--gold-light); text-decoration: underline; }
.logo-footer span { color: var(--gold-light); }
.footer-brand p { margin-top: .6rem; }
.footer-base { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; color: #a39480; }
@media (max-width: 900px) { .footer-inner { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-inner { grid-template-columns: 1fr; } }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.section-dark :focus-visible, .site-footer :focus-visible, .hero :focus-visible { outline-color: var(--gold-light); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
