/* Nova & Quill — styles. Palette sampled from the supplied logo and banner. */
/* Fonts are served from this site (no Google request). Latin subset. */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/jost-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/jost-latin-500-normal.woff2") format("woff2"); }
:root {
  --navy: #102844;
  --navy-2: #24405f;
  --ivory: #fcf9f0;      /* matches logo/banner paper */
  --cream: #f6f0e3;
  --sand: #efe8d8;
  --line: #e4dac4;
  --gold: #a88448;       /* decorative: rules, icons, fine borders */
  --gold-ink: #7a5e2b;   /* gold safe for small text (AA on ivory) */
  --ink: #2b2f36;
  --muted: #565b63;
  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 8px;
  --shadow: 0 1px 2px rgba(16, 40, 68, .06), 0 8px 24px -12px rgba(16, 40, 68, .18);
  --shadow-up: 0 2px 4px rgba(16, 40, 68, .06), 0 16px 32px -14px rgba(16, 40, 68, .25);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--gold-ink); }
h1, h2, h3, .h3 { font-family: var(--serif); color: var(--navy); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .005em; }
h1 { font-size: clamp(2.1rem, 6vw, 3.1rem); }
h2 { font-size: clamp(1.7rem, 4.5vw, 2.35rem); }
h3, .h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
ul { padding: 0; margin: 0; list-style: none; }
.container { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 20px; }
.narrow { max-width: 720px; }
.center { text-align: center; }
.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; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--navy); color: var(--ivory); padding: 10px 16px; border-radius: var(--radius); z-index: 100; }
.skip:focus { top: 12px; color: var(--ivory); }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 4px; }
.btn:focus-visible, .site-footer a:focus-visible { outline-color: var(--gold); }
.icon { width: 1.5rem; height: 1.5rem; flex: none; }

/* announcement */
.announce { background: var(--navy); color: var(--ivory); text-align: center; font-size: .875rem; letter-spacing: .04em; padding: 7px 16px; }
.announce p { margin: 0; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(252, 249, 240, .97); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.brand img { height: 40px; width: auto; }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: none; border: 1px solid var(--line); border-radius: var(--radius); color: var(--navy); cursor: pointer; }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }
.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ivory); border-bottom: 1px solid var(--line); padding: 8px 20px 20px; box-shadow: var(--shadow); }
.site-nav.open { display: block; }
.site-nav ul { display: flex; flex-direction: column; }
.site-nav li a { display: block; padding: 14px 4px; text-decoration: none; color: var(--navy); border-bottom: 1px solid var(--line); font-weight: 500; }
.site-nav li a[aria-current="page"] { color: var(--gold-ink); }
.site-nav .btn { margin-top: 16px; width: 100%; }
@media (min-width: 860px) {
  .header-inner { min-height: 72px; }
  .brand img { height: 46px; }
  .menu-toggle { display: none; }
  .site-nav { display: flex; position: static; align-items: center; gap: 28px; padding: 0; border: 0; background: none; box-shadow: none; }
  .site-nav ul { flex-direction: row; gap: 28px; }
  .site-nav li a { padding: 8px 0; border: 0; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat; transition: background-size .25s; }
  .site-nav li a:hover, .site-nav li a[aria-current="page"] { background-size: 100% 1px; color: var(--navy); }
  .site-nav .btn { margin: 0; width: auto; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: 12px 24px; border-radius: var(--radius); font: 500 1rem/1.2 var(--sans); letter-spacing: .02em; text-decoration: none; border: 1.5px solid var(--navy); cursor: pointer; transition: background-color .2s, color .2s, transform .2s, box-shadow .2s; }
.btn-primary { background: var(--navy); color: var(--ivory); }
.btn-primary:hover { background: var(--navy-2); color: var(--ivory); box-shadow: var(--shadow); }
.btn-secondary { background: transparent; color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: var(--ivory); }
.btn-light { background: var(--ivory); color: var(--navy); border-color: var(--ivory); }
.btn-light:hover { background: var(--cream); color: var(--navy); }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: .95rem; }
.btn-lg { min-height: 54px; padding: 14px 32px; font-size: 1.05rem; }
.btn-disabled { opacity: .6; cursor: not-allowed; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 500; text-decoration: none; min-height: 44px; }
.link-arrow .icon { width: 1.1em; height: 1.1em; transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* sections */
.section { padding: 64px 0; }
.section-alt { background: var(--cream); border-block: 1px solid var(--line); }
.section-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.section-head p { color: var(--muted); }
.eyebrow { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); font-weight: 500; margin: 0 0 .6em; }
.rule { display: block; width: 56px; height: 1px; background: var(--gold); margin: 0 auto 20px; position: relative; }
.rule::after { content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; background: var(--gold); transform: translate(-50%, -50%) rotate(45deg); }

/* hero */
.hero { padding: 28px 0 56px; }
.hero-banner { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fbf7ee; }
.hero-banner img { width: 100%; height: auto; }
.hero-copy { text-align: center; max-width: 720px; margin: 40px auto 0; }
.hero-copy .lede { font-size: 1.15rem; color: var(--muted); margin-inline: auto; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-copy .cta-row { justify-content: center; }
@media (max-width: 539px) { .cta-row .btn { width: 100%; } }
@media (min-width: 860px) { .hero { padding: 40px 0 80px; } }

/* cards & grids */
.grid { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); justify-content: center; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(auto-fit, minmax(280px, 360px)); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-up); }
.card-media { display: block; background: var(--sand); }
.card-media img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.card-title { font-size: 1.35rem; margin-bottom: .4em; }
.card-title a { text-decoration: none; }
.card-text { color: var(--muted); font-size: .98rem; flex: 1; }
.card-meta { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; }
.badge { display: inline-block; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); background: var(--cream); border: 1px solid var(--line); border-radius: 99px; padding: 3px 12px; }
.price { font-weight: 500; color: var(--navy); }
.card-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.empty { background: var(--cream); border: 1px dashed var(--gold); border-radius: var(--radius); padding: 32px 24px; text-align: center; grid-column: 1 / -1; }
.empty p { color: var(--muted); }

/* categories */
.cat-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
.cat-tile { display: flex; flex-direction: column; height: 100%; padding: 24px; background: transparent; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: background-color .2s, border-color .2s; }
.cat-tile h3 { font-size: 1.3rem; margin-bottom: .3em; }
.cat-tile p { color: var(--muted); font-size: .96rem; flex: 1; }
.cat-icon { color: var(--gold); margin-bottom: 14px; }
.cat-icon .icon { width: 2rem; height: 2rem; }
.cat-tile:hover { background: #fff; border-color: var(--gold); color: var(--ink); }
.cat-tile.is-active { background: #fff; border-color: var(--gold); }
.cat-note { font-size: .88rem; color: var(--muted); }

/* values */
.values-intro { max-width: 700px; margin: 0 auto 48px; text-align: center; font-size: 1.12rem; }
.values { display: grid; gap: 32px; }
@media (min-width: 760px) { .values { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.value { text-align: center; padding-top: 8px; }
.value .icon { width: 2.1rem; height: 2.1rem; color: var(--gold); margin: 0 auto 14px; }
.value p { color: var(--muted); margin: 0; }

/* steps */
.steps { display: grid; gap: 28px; counter-reset: s; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.step { position: relative; padding-top: 52px; text-align: center; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 40px; height: 40px; border: 1px solid var(--gold); border-radius: 50%; display: grid; place-items: center; font: 500 1.25rem/1 var(--serif); color: var(--navy); background: var(--ivory); }
.step p { color: var(--muted); margin: 0; }
.fineprint { text-align: center; color: var(--muted); font-size: .95rem; max-width: 560px; margin: 36px auto 0; }

/* testimonial */
.testimonial-inner { max-width: 680px; margin: 0 auto; text-align: center; }
.stars { display: flex; justify-content: center; gap: 4px; color: var(--gold); margin-bottom: 16px; }
.stars .icon { width: 1.25rem; height: 1.25rem; fill: currentColor; }
blockquote { margin: 0 0 16px; }
blockquote p { font: italic 400 clamp(1.35rem, 3.6vw, 1.75rem)/1.4 var(--serif); color: var(--navy); }
.cite { color: var(--muted); font-size: .95rem; }

/* closing CTA */
.closing { background: var(--navy); color: var(--ivory); text-align: center; }
.closing h2 { color: var(--ivory); }
.closing p { color: #d9dfe8; max-width: 560px; margin: 0 auto 28px; }

/* page header (inner pages) */
.page-head { padding: 56px 0 24px; text-align: center; }
.page-head p { color: var(--muted); max-width: 620px; margin-inline: auto; }

/* shop */
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 32px; }
.filters[hidden] { display: none; }
.filters button { min-height: 44px; padding: 8px 18px; border-radius: 99px; border: 1px solid var(--line); background: #fff; color: var(--navy); font: 500 .95rem var(--sans); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--navy); color: var(--ivory); border-color: var(--navy); }
.shop-count { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 28px; }

/* product detail */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .92rem; color: var(--muted); padding: 24px 0 8px; }
.crumbs a { color: var(--muted); }
.product-layout { display: grid; gap: 32px; padding-bottom: 72px; }
@media (min-width: 860px) { .product-layout { grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; } .gallery { position: sticky; top: 100px; } }
.gallery-main { background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery-main img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: var(--sand); }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.thumbs a { display: block; width: 100%; padding: 0; border: 2px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--sand); cursor: pointer; }
.thumbs a[aria-current="true"] { border-color: var(--navy); }
.thumbs img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.buy-box { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 24px 0 32px; }
.buy-box .btn { width: 100%; }
.buy-box .note { font-size: .92rem; color: var(--muted); margin: 12px 0 0; }
.tick li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.tick li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.specs { margin: 0; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); font-size: .92rem; }
.specs dd { margin: 0; }

/* prose (about / faq / contact) */
.prose { max-width: 680px; margin-inline: auto; }
.prose p { font-size: 1.1rem; }
.prose .lead { font: 500 1.5rem/1.35 var(--serif); color: var(--navy); }
.about-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.2fr .8fr; gap: 64px; } .about-side { position: sticky; top: 100px; } }
.about-side img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-up); }
.about-side figcaption { font-size: .9rem; color: var(--muted); margin-top: 12px; }
.contact-card { max-width: 640px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 28px; text-align: center; box-shadow: var(--shadow); }
.contact-card p { color: var(--muted); }
.contact-alt { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .98rem; }
.faq { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding: 14px 4px; font: 500 1.3rem/1.25 var(--serif); color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 300 1.6rem/1 var(--sans); color: var(--gold-ink); }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 4px 20px; color: var(--muted); }
.faq .answer p:last-child { margin-bottom: 0; }

/* footer */
.site-footer { background: var(--navy); color: #d9dfe8; padding-top: 56px; font-size: .98rem; }
.site-footer a { color: #f3efe4; text-decoration: none; display: inline-block; padding: 6px 0; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 32px; padding-bottom: 40px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-name { font: 500 1.7rem/1.1 var(--serif); color: #fff; margin: 0 0 .4em; }
.footer-h { font: 500 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #cfb98f; margin: 0 0 12px; }
.footer-base { border-top: 1px solid rgba(255, 255, 255, .14); padding-block: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: .86rem; color: #b9c3d1; }
.footer-base p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .card:hover { transform: none; }
}

.product-info h1 { font-size: clamp(1.9rem, 4.5vw, 2.5rem); }
.product-info .h3 { margin-top: 1.6em; }

#site-header { display: contents; }

/* guide page */
.prose h2 { font-size: 1.9rem; margin: 1.8em 0 .5em; }
.prose .tick { font-size: 1.05rem; }
.notes-table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.notes-table caption { text-align: left; font: 500 1.2rem/1.3 var(--serif); color: var(--navy); padding: 0 0 8px; caption-side: top; }
.notes-table th, .notes-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.notes-table thead th { background: var(--cream); color: var(--navy); font-weight: 500; }
.notes-table tbody th { font-weight: 500; color: var(--navy); white-space: nowrap; }
.notes-table tr:last-child > * { border-bottom: 0; }
@media (max-width: 560px) { .notes-table th, .notes-table td { padding: 10px; font-size: .95rem; } }
h1, h2 { text-wrap: balance; }
