@font-face { font-family: "Glamour Absolute"; src: url("/assets/fonts/GlamourAbsolute-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Stronger"; src: url("/assets/fonts/Stronger-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("/assets/fonts/montserrat-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("/assets/fonts/montserrat-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("/assets/fonts/montserrat-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --forest-moss: #959790;
  --lux-grey: #4a4a4a;
  --light-moss: #c0c2b8;
  --santorini: #e5e5e0;
  --dusk-blush: #eec7bb;
  --sea-breeze: #f4f0ee;
  --stone: #ece7e2;
  --cotton: #fbf9f8;
  /* Forest Moss darkened for small text so it passes contrast on light backgrounds */
  --moss-text: #5f625b;
  --radius: 4px;
  --heading: "Glamour Absolute", Georgia, "Times New Roman", serif;
  --script: "Stronger", "Brush Script MT", cursive;
  --body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cotton); color: var(--lux-grey); font-family: var(--body); font-size: 1.0625rem; line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lux-grey); text-decoration-color: var(--forest-moss); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--lux-grey); }
:focus-visible { outline: 3px solid var(--lux-grey); outline-offset: 3px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 680px; }
.center { text-align: center; }
.small { font-size: 0.875rem; line-height: 1.6; }
.muted { color: var(--moss-text); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--lux-grey); color: var(--cotton); padding: 0.5rem 1rem; z-index: 10; }
.skip:focus { left: 0; }

h1, h2, h3 { font-family: var(--heading); font-weight: 400; line-height: 1.2; color: var(--lux-grey); margin: 0 0 0.75em; }
h1 { font-size: clamp(2rem, 5.5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3.6vw, 2rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
.lead { font-size: 1.2rem; line-height: 1.6; }
.script, .eyebrow { font-family: var(--script); font-size: 2.7rem; line-height: 1.2; margin-bottom: 0.4rem; color: var(--lux-grey); }

/* header */
.site-header { background: var(--sea-breeze); border-bottom: 1px solid var(--stone); }
.header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 2rem; padding-top: 1rem; padding-bottom: 1rem; }
.logo img { width: 190px; height: auto; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.site-header nav a { text-decoration: none; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.4rem 0; border-bottom: 2px solid transparent; }
.site-header nav a:hover, .site-header nav a[aria-current] { border-bottom-color: var(--dusk-blush); }
@media (max-width: 720px) { .header-row { justify-content: center; } .site-header nav { justify-content: center; } }

/* hero + sections */
.hero { background: var(--sea-breeze); padding: 4rem 0 4.5rem; }
.hero h1 { margin-bottom: 0.6em; }
.section { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.band { padding: 3.5rem 0; }
.band--stone { background: var(--stone); }
.band--blush { background: var(--dusk-blush); }
.big-quote { font-family: var(--heading); font-size: clamp(1.4rem, 3.6vw, 2rem); line-height: 1.35; margin: 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 1.75rem; }

/* gallery */
.gallery-main { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--stone); }
.gallery-thumbs { display: flex; gap: 0.6rem; margin-top: 0.75rem; }
.thumb { padding: 0; border: 2px solid transparent; border-radius: var(--radius); background: none; cursor: pointer; width: 72px; overflow: hidden; line-height: 0; }
.thumb img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.thumb[aria-current="true"] { border-color: var(--lux-grey); }
.card .cover-photo { object-position: center 55%; }

/* note from Mel */
.section--tight { padding-top: 0; }
.note-grid { max-width: 680px; margin: 0 auto; }
.note-grid.has-photo { max-width: 900px; display: grid; gap: 2rem; align-items: center; }
@media (min-width: 820px) { .note-grid.has-photo { grid-template-columns: 340px 1fr; gap: 3.5rem; } }
.note-photo { width: 100%; max-width: 340px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; margin: 0 auto; }
.note-text h2 { margin-bottom: 0.6em; }
.note-text p { font-size: 1.1rem; }
.signature, .note-text .signature { font-family: var(--script); font-size: 5.5rem; line-height: 1; margin: 0.4rem 0 0; color: var(--lux-grey); }
.center .signature { margin-top: 1.5rem; }

/* buttons */
.btn { display: inline-block; font: 600 0.8rem/1 var(--body); letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; text-align: center; background: var(--lux-grey); color: var(--cotton); border: 2px solid var(--lux-grey); border-radius: var(--radius); padding: 1rem 1.6rem; cursor: pointer; }
.btn:hover { background: #333; border-color: #333; }
.btn--ghost { background: transparent; color: var(--lux-grey); }
.btn--ghost:hover { background: var(--stone); color: var(--lux-grey); border-color: var(--lux-grey); }
.btn--wide { width: 100%; max-width: 420px; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }

/* cards */
.cards { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 2rem; }
.card { display: flex; flex-direction: column; background: var(--sea-breeze); border: 1px solid var(--stone); border-radius: var(--radius); text-decoration: none; overflow: hidden; }
.card:hover { border-color: var(--forest-moss); }
.card-body { padding: 1.25rem 1.25rem 0.5rem; }
.card-body h3 { margin-bottom: 0.4em; }
.card-body p { font-size: 0.95rem; }
.cover-panel { aspect-ratio: 4 / 3; background: var(--stone); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; padding: 1rem; text-align: center; }
.cover-panel img { width: 96px; height: auto; opacity: 0.85; }
.cover-panel .script { font-size: 2.3rem; }
.cover-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.price { font-weight: 600; letter-spacing: 0.02em; }
.price.big { font-size: 1.8rem; margin: 0.25rem 0 1rem; }
.tag { display: inline-block; background: var(--dusk-blush); color: var(--lux-grey); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.3rem 0.7rem; border-radius: 2px; margin-left: 0.4rem; vertical-align: middle; }
.tag--soft { background: var(--santorini); margin-left: 0; }
.product-info .tag { margin-left: 0; }

/* product page */
.product { display: grid; gap: 2.5rem; padding-top: 3rem; padding-bottom: 1rem; align-items: start; }
@media (min-width: 820px) { .product { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }
.product-media .cover-panel, .product-media .cover-photo { border-radius: var(--radius); }
.ticks { list-style: none; padding: 0; margin: 1.5rem 0 0; font-size: 0.95rem; }
.ticks li { padding-left: 1.5rem; position: relative; margin-bottom: 0.4rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 0.7rem; height: 2px; background: var(--forest-moss); }
.buybox { margin: 1rem 0 0; }
.inline-form { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 0.4rem 0 1rem; }
.inline-form input { width: 9rem; }
.shipping-options { margin-bottom: 1rem; }
.shipping-options label { display: flex; gap: 0.6rem; align-items: baseline; padding: 0.7rem 0.9rem; border: 1px solid var(--light-moss); border-radius: var(--radius); margin-bottom: 0.5rem; cursor: pointer; background: var(--sea-breeze); }
.shipping-options input { accent-color: var(--lux-grey); }
.soldout { font-weight: 600; background: var(--stone); padding: 1rem; border-radius: var(--radius); }

/* prose */
.prose h2 { margin-top: 2em; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.35em; }
.prose blockquote { margin: 1.5em 0; padding-left: 1.2rem; border-left: 3px solid var(--dusk-blush); font-family: var(--heading); font-size: 1.25rem; line-height: 1.4; }
.post h1 { margin-bottom: 1.2em; }

/* blog list */
.post-list { display: grid; gap: 2rem; margin: 2rem 0; }
.post-item { border-bottom: 1px solid var(--stone); padding-bottom: 1.5rem; }
.post-item h2, .post-item h3 { margin-bottom: 0.3em; }
.post-item h2 a, .post-item h3 a { text-decoration: none; }
.post-item h2 a:hover, .post-item h3 a:hover { text-decoration: underline; text-decoration-color: var(--dusk-blush); text-decoration-thickness: 2px; }

/* forms */
input[type="email"], input[inputmode="numeric"] { font: inherit; padding: 0.9rem 1rem; border: 1px solid var(--forest-moss); border-radius: var(--radius); background: var(--cotton); color: var(--lux-grey); min-width: 0; }
.signup { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin: 1.25rem 0 0.5rem; }
.signup input[type="email"] { flex: 1 1 260px; max-width: 360px; }
.form-msg { flex-basis: 100%; min-height: 1.5em; margin: 0.5rem 0 0; font-size: 0.95rem; }
.form-msg.ok { font-weight: 600; }
.form-msg.err { color: #8a3b2b; font-weight: 500; }

/* footer */
.site-footer { background: var(--sea-breeze); border-top: 1px solid var(--stone); padding: 3rem 0; margin-top: 0; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.footer-mark { width: 56px; margin-bottom: 0.75rem; opacity: 0.9; }
.site-footer nav { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.9rem; }
.site-footer a { text-decoration-color: var(--light-moss); }
.site-footer p { margin: 0; }

@media (prefers-reduced-motion: no-preference) { .btn, .card { transition: background 0.15s, border-color 0.15s; } }

/* Square cover (Unwritten Rules): show the whole image, no cropping */
.cover-contain { object-fit: contain; background: #959790; }
.card .cover-contain { object-position: center; }
.product-media .cover-contain { aspect-ratio: 1 / 1; }
