/* ==========================================================================
   LA Creations - Luxurious Handmade Stationery
   Palette: Midnight Navy & Gold - ivory #F8F7F3 | mist #E6EBF4 | gold #D4AE5E | navy #1F2B4D
   ========================================================================== */

:root {
  --ivory: #F8F7F3;
  --blush: #D5DCEA;
  --blush-soft: #E6EBF4;
  --gold: #D4AE5E;
  --gold-deep: #7C5E14;      /* gold for text: passes contrast on ivory/white */
  --cocoa: #1F2B4D;
  --cocoa-soft: #4B5675;
  --white: #FFFFFF;
  --line: color-mix(in srgb, var(--cocoa) 14%, transparent);
  --shadow-sm: 0 1px 2px rgba(73, 58, 53, .06), 0 4px 14px rgba(73, 58, 53, .06);
  --shadow-md: 0 2px 4px rgba(73, 58, 53, .06), 0 14px 34px rgba(73, 58, 53, .12);
  --radius: 4px;
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", "Lato", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --maxw: 1200px;
}


/* ---------- Colour themes (choose in js/products.js -> theme, preview on themes.html) ---------- */
:root[data-theme="rose-blush"] { --ivory:#FFF8F6; --blush:#F0CFD2; --blush-soft:#F9E7E8; --gold:#C98C93; --gold-deep:#9A4A57; --cocoa:#4D2F36; --cocoa-soft:#725459; }
:root[data-theme="sage-garden"] { --ivory:#F7F8F2; --blush:#D5E0CC; --blush-soft:#E7EEE1; --gold:#A9B88C; --gold-deep:#52683D; --cocoa:#2F3D34; --cocoa-soft:#55655A; }
:root[data-theme="champagne-ivory"] { --ivory:#FAF7F0; --blush:#E8CFCB; --blush-soft:#F4E6E3; --gold:#C6A66B; --gold-deep:#85672F; --cocoa:#493A35; --cocoa-soft:#6A5A53; }
:root[data-theme="midnight-navy"] { --ivory:#F8F7F3; --blush:#D5DCEA; --blush-soft:#E6EBF4; --gold:#D4AE5E; --gold-deep:#7C5E14; --cocoa:#1F2B4D; --cocoa-soft:#4B5675; }
:root[data-theme="lavender-mauve"] { --ivory:#FBF8FC; --blush:#E1D2EA; --blush-soft:#EFE5F5; --gold:#B995CB; --gold-deep:#6D4888; --cocoa:#3B2A4B; --cocoa-soft:#62536F; }
:root[data-theme="logo-colours"] { --ivory:#FCF9F3; --blush:#FAD6CC; --blush-soft:#FDE9E2; --gold:#F2A93B; --gold-deep:#A0511A; --cocoa:#1E4F5C; --cocoa-soft:#456A74; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ivory); color: var(--cocoa);
  font-family: var(--sans); font-size: 1rem; line-height: 1.7;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold-deep); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0 0 .5em; letter-spacing: .005em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 3px; border-radius: 2px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--cocoa); color: var(--ivory); padding: .8rem 1.2rem; z-index: 1000; }
.skip-link:focus { left: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--blush { background: var(--blush-soft); }
.section--white { background: var(--white); }
.section--cocoa { background: var(--cocoa); color: var(--ivory); }
.section--cocoa a:hover { color: var(--gold); }
.eyebrow { display: inline-block; font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 1rem; font-weight: 500; }
.section--cocoa .eyebrow { color: var(--gold); }
.lead { font-size: 1.12rem; color: var(--cocoa-soft); max-width: 40rem; }
.section--cocoa .lead { color: rgba(250, 247, 240, .82); }
.section-head { text-align: center; max-width: 44rem; margin: 0 auto clamp(2rem, 5vw, 3.5rem); }
.section-head .lead { margin-inline: auto; }
.orn { display: flex; align-items: center; gap: .9rem; justify-content: center; color: var(--gold); margin: 0 0 1.4rem; }
.orn::before, .orn::after { content: ""; height: 1px; width: 56px; background: currentColor; opacity: .7; }
.orn span { width: 7px; height: 7px; transform: rotate(45deg); background: currentColor; }

/* Buttons */
.btn {
  --b: var(--cocoa);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .9rem 1.7rem; border: 1px solid var(--b); background: var(--b); color: var(--ivory);
  font-family: var(--sans); font-size: .82rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; border-radius: 2px; transition: background .25s, color .25s, border-color .25s, transform .25s, box-shadow .25s;
}
.btn:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn--ghost { background: transparent; color: var(--cocoa); }
.btn--ghost:hover { background: var(--cocoa); border-color: var(--cocoa); color: var(--ivory); }
.btn--gold { --b: var(--gold); color: var(--cocoa); }
.btn--gold:hover { background: var(--ivory); border-color: var(--ivory); color: var(--cocoa); }
.btn--light { background: transparent; border-color: rgba(250, 247, 240, .6); color: var(--ivory); }
.btn--light:hover { background: var(--ivory); border-color: var(--ivory); color: var(--cocoa); }
.btn--sm { padding: .65rem 1.1rem; font-size: .72rem; letter-spacing: .12em; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.6rem; }

/* Announcement bar + header */
.announce { background: var(--cocoa); color: var(--ivory); text-align: center; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; padding: .6rem var(--gutter); }
.announce span { color: var(--gold); margin-inline: .6em; }
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--ivory) 96%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 78px; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--cocoa); }
.brand img { width: 46px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; letter-spacing: .03em; }
.brand-sub { white-space: nowrap; font-size: .58rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-deep); }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.nav-list { display: flex; gap: clamp(.9rem, 1.8vw, 1.8rem); list-style: none; }
.nav-list a { white-space: nowrap; text-decoration: none; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; padding: .5rem 0; border-bottom: 1px solid transparent; transition: border-color .25s, color .25s; font-weight: 500; }
.nav-list a:hover, .nav-list a[aria-current="page"] { border-color: var(--gold); color: var(--cocoa); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 2px; width: 46px; height: 46px; cursor: pointer; color: var(--cocoa); }
.nav-toggle svg { width: 22px; height: 22px; margin: auto; }

@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--ivory); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
         flex-direction: column; align-items: stretch; padding: 1rem var(--gutter) 1.6rem; display: none; }
  .nav.is-open { display: flex; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a { display: block; padding: .95rem 0; border-bottom: 1px solid var(--line); font-size: .85rem; }
  .nav .btn { margin-top: 1rem; }
}
@media (max-width: 520px) { .brand-sub { display: none; } .brand-name { font-size: 1.5rem; } }

/* Hero */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(900px 480px at 85% 10%, var(--blush-soft), transparent 70%),
  radial-gradient(700px 420px at 0% 100%, color-mix(in srgb, var(--gold) 14%, transparent), transparent 70%), var(--ivory); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(3rem, 7vw, 6rem); }
.hero h1 { margin-bottom: .45em; }
.hero h1 em { font-style: italic; color: var(--gold-deep); }
.hero .tagline { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--gold-deep); margin-bottom: 1rem; }
.hero-collage { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; aspect-ratio: 1 / 1.08; }
.hero-collage figure { margin: 0; position: relative; overflow: hidden; background: var(--white); padding: 7px; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.hero-collage figure:first-child { grid-row: 1 / 3; }
.hero-collage img { width: 100%; height: 100%; object-fit: cover; }
.hero-collage figure:nth-child(2) { transform: translateY(14px); }
.hero-collage figure:nth-child(3) { transform: translateY(-4px); }
.hero-badge { position: absolute; left: -14px; bottom: 6%; z-index: 2; background: var(--white); border: 1px solid var(--gold); padding: .9rem 1.2rem; box-shadow: var(--shadow-md); font-family: var(--serif); font-size: 1.15rem; font-style: italic; max-width: 12rem; line-height: 1.25; }
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-collage { max-width: 520px; margin-inline: auto; width: 100%; }
  .hero-badge { left: 8px; }
}

/* Category cards */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 2rem); }
.cat-card { position: relative; display: block; text-decoration: none; background: var(--white); padding: 10px 10px 0; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .35s, box-shadow .35s; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); color: var(--cocoa); }
.cat-card .ph { aspect-ratio: 4 / 5; overflow: hidden; background: var(--blush-soft); }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.cat-card:hover img { transform: scale(1.04); }
.cat-card .txt { padding: 1.2rem .6rem 1.4rem; text-align: center; }
.cat-card h3 { margin-bottom: .3rem; }
.cat-card p { color: var(--cocoa-soft); font-size: .95rem; margin-bottom: .6rem; }
.cat-card .more { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); font-weight: 500; }
@media (max-width: 760px) { .cat-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }

/* Product cards */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.masonry { display: flex; gap: clamp(1rem, 2vw, 1.6rem); align-items: flex-start; }
.masonry-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: clamp(1rem, 2vw, 1.6rem); }
@media (max-width: 1100px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .product-grid, .masonry, .masonry-col { gap: .7rem; } }

.product-card { background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: box-shadow .35s, transform .35s; display: flex; flex-direction: column; }
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card-media { display: block; width: 100%; padding: 8px; background: none; border: 0; cursor: zoom-in; position: relative; }
.card-media .frame { display: block; overflow: hidden; background: var(--blush-soft); }
.product-grid .card-media .frame { aspect-ratio: 4 / 5; }
.product-grid .card-media img { width: 100%; height: 100%; object-fit: cover; }
.masonry .card-media img { width: 100%; height: auto; }
.card-media img { transition: transform .8s; }
.card-media:hover img { transform: scale(1.035); }
.card-media .zoom { position: absolute; right: 16px; bottom: 16px; width: 34px; height: 34px; border-radius: 50%; background: rgba(250, 247, 240, .92); display: grid; place-items: center; opacity: 0; transition: opacity .25s; box-shadow: var(--shadow-sm); }
.card-media:hover .zoom, .card-media:focus-visible .zoom { opacity: 1; }
@media (hover: none) { .card-media .zoom { opacity: 1; } }
.zoom svg { width: 16px; height: 16px; }
.card-body { padding: .7rem 1rem 1.2rem; text-align: center; display: flex; flex-direction: column; gap: .15rem; flex: 1; }
.card-cat { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); margin: 0; font-weight: 500; }
.card-title { font-family: var(--sans); font-size: 1.02rem; font-weight: 700; letter-spacing: .02em; margin: .1rem 0 0; line-height: 1.25; }
.card-price { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; margin: .15rem 0 .1rem; }
.card-price::before, .card-price::after { content: "\2726"; color: var(--gold); font-size: .6em; margin-inline: .5em; vertical-align: .15em; }
.card-note { font-size: .74rem; color: var(--cocoa-soft); margin: 0 0 .5rem; }
.card-body .btn { margin-top: auto; width: 100%; }
.card-note + .btn, .card-price + .btn { margin-top: .6rem; }
.img-missing { display: grid; place-items: center; min-height: 220px; padding: 1.5rem; text-align: center; color: var(--cocoa-soft); font-family: var(--serif); font-style: italic; font-size: 1.1rem; background: repeating-linear-gradient(45deg, var(--blush-soft), var(--blush-soft) 10px, var(--ivory) 10px, var(--ivory) 20px); }

/* Split sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split--rev .split-media { order: 2; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } .split--rev .split-media { order: 0; } }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mosaic figure { margin: 0; background: var(--white); padding: 6px; box-shadow: var(--shadow-md); border: 1px solid var(--line); overflow: hidden; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.mosaic figure:nth-child(even) { transform: translateY(22px); }
.mosaic--wide figure:first-child { grid-column: 1 / 3; }
.mosaic--wide figure:first-child img { aspect-ratio: 16 / 9; }
.mosaic--wide figure:nth-child(even) { transform: none; }
.ticklist { list-style: none; margin: 1.2rem 0 0; display: grid; gap: .7rem; }
.ticklist li { position: relative; padding-left: 1.7rem; }
.ticklist li::before { content: ""; position: absolute; left: .2rem; top: .75em; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }

.note-box { border: 1px solid var(--gold); background: color-mix(in srgb, var(--gold) 12%, transparent); padding: 1.1rem 1.4rem; margin: 1.5rem 0; }
.section--cocoa .note-box { background: rgba(250, 247, 240, .06); }
.note-box h3, .note-box h4 { font-size: 1.15rem; margin-bottom: .4rem; font-family: var(--sans); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--gold-deep); }
.section--cocoa .note-box h4 { color: var(--gold); }
.note-box ul { list-style: none; display: grid; gap: .2rem; }
.note-box small { display: block; margin-top: .6rem; opacity: .8; }

/* Founder */
.founder { display: grid; grid-template-columns: 340px 1fr; gap: clamp(2rem, 6vw, 4.5rem); align-items: center; }
.founder-card { background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-md); padding: 2rem; text-align: center; position: relative; }
.founder-card::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--gold); opacity: .6; pointer-events: none; }
.founder-card img { width: 78%; margin: 0 auto 1rem; }
.founder-card .sig { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--gold-deep); margin: 0; }
@media (max-width: 800px) { .founder { grid-template-columns: 1fr; } .founder-card { max-width: 340px; margin-inline: auto; } }
blockquote { margin: 1.5rem 0; padding: .2rem 0 .2rem 1.4rem; border-left: 2px solid var(--gold); font-family: var(--serif); font-size: 1.5rem; font-style: italic; line-height: 1.35; }

/* Instagram strip */
.insta-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.insta-grid a { display: block; aspect-ratio: 1; overflow: hidden; position: relative; background: var(--blush-soft); }
.insta-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s, opacity .3s; }
.insta-grid a:hover img { transform: scale(1.07); opacity: .88; }
@media (max-width: 880px) { .insta-grid { grid-template-columns: repeat(3, 1fr); } }
.insta-cap { text-align: center; font-size: .85rem; color: var(--cocoa-soft); margin-top: 1rem; }

/* Page hero (inner pages) */
.page-hero { text-align: center; padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2rem, 4vw, 3rem); background: radial-gradient(800px 300px at 50% 0, var(--blush-soft), transparent 75%), var(--ivory); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.3rem, 5.2vw, 3.8rem); }
.page-hero .lead { margin-inline: auto; }

/* Collections toolbar */
.toolbar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 2rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.filters { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { font-family: var(--sans); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; padding: .65rem 1.15rem; border: 1px solid var(--line); background: var(--white); color: var(--cocoa); cursor: pointer; border-radius: 2px; transition: all .25s; font-weight: 500; }
.chip:hover { border-color: var(--gold); }
.chip[aria-pressed="true"] { background: var(--cocoa); border-color: var(--cocoa); color: var(--ivory); }
.chip .count { opacity: .7; margin-left: .35em; }
.sort { display: flex; align-items: center; gap: .6rem; font-size: .85rem; }
select, input, textarea { font: inherit; color: var(--cocoa); }
.sort select { padding: .55rem .8rem; border: 1px solid var(--line); background: var(--white); border-radius: 2px; }
.result-count { font-size: .9rem; color: var(--cocoa-soft); margin: 0 0 1.4rem; }
.empty { text-align: center; padding: 3rem 1rem; color: var(--cocoa-soft); }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(40, 30, 27, .86); display: none; align-items: center; justify-content: center; padding: 1rem; }
.lb.is-open { display: flex; }
.lb-panel { background: var(--ivory); max-width: 980px; width: 100%; max-height: 94vh; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); position: relative; overflow: hidden; }
.lb-img { background: var(--blush-soft); display: flex; align-items: center; justify-content: center; min-height: 0; padding: 1rem; }
.lb-img img { max-height: calc(94vh - 2rem); width: auto; max-width: 100%; object-fit: contain; }
.lb-info { padding: 2.4rem 2rem 2rem; display: flex; flex-direction: column; justify-content: center; gap: .3rem; overflow: auto; }
.lb-info h2 { font-size: 2rem; }
.lb-info .card-price { font-size: 1.8rem; }
.lb-info .card-price::before, .lb-info .card-price::after { display: none; }
.lb-close, .lb-nav { position: absolute; background: var(--ivory); border: 1px solid var(--line); width: 44px; height: 44px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; color: var(--cocoa); box-shadow: var(--shadow-sm); }
.lb-close:hover, .lb-nav:hover { background: var(--cocoa); color: var(--ivory); }
.lb-close { top: 12px; right: 12px; z-index: 3; }
.lb-nav { top: 50%; transform: translateY(-50%); z-index: 2; }
.lb-prev { left: 12px; } .lb-next { right: calc(38% + 12px); }
.lb-close svg, .lb-nav svg { width: 20px; height: 20px; }
.lb-hint { font-size: .78rem; color: var(--cocoa-soft); margin-top: 1rem; }
@media (max-width: 760px) {
  .lb-panel { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; overflow: auto; }
  .lb-img img { max-height: 52vh; }
  .lb-info { padding: 1.4rem 1.2rem 1.6rem; }
  .lb-next { right: 12px; } .lb-nav { top: 26vh; }
}

/* Forms */
.form-card { background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-md); padding: clamp(1.4rem, 4vw, 2.6rem); position: relative; }
.form-card::before { content: ""; position: absolute; inset: 8px; border: 1px solid var(--gold); opacity: .45; pointer-events: none; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.3rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.field label .opt { text-transform: none; letter-spacing: 0; opacity: .7; font-weight: 400; }
.field input, .field select, .field textarea { padding: .85rem 1rem; border: 1px solid color-mix(in srgb, var(--cocoa) 32%, transparent); background: var(--ivory); border-radius: 2px; width: 100%; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-deep); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 40%, transparent); }
.field input:user-invalid, .field select:user-invalid { border-color: #9b2c2c; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; align-items: center; }
.form-note { font-size: .86rem; color: var(--cocoa-soft); margin-top: 1.1rem; position: relative; }
.form-status { font-size: .9rem; margin-top: 1rem; min-height: 1.4em; position: relative; }

/* Contact cards */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
@media (max-width: 700px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: var(--white); border: 1px solid var(--line); padding: 1.8rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: .4rem; align-items: flex-start; }
.contact-card .ic { width: 48px; height: 48px; border-radius: 50%; background: var(--blush-soft); display: grid; place-items: center; color: var(--gold-deep); margin-bottom: .6rem; }
.contact-card .ic svg { width: 22px; height: 22px; }
.contact-card h2 { font-size: 1.6rem; margin: 0; }
.contact-card p { margin: 0 0 .6rem; color: var(--cocoa-soft); }
.contact-card .val { font-family: var(--serif); font-size: 1.5rem; color: var(--cocoa); text-decoration: none; word-break: break-word; }

/* Story */
.prose { max-width: 42rem; margin-inline: auto; font-size: 1.08rem; }
.prose p:first-of-type::first-letter { font-family: var(--serif); font-size: 4.2rem; float: left; line-height: .8; padding: .12em .12em 0 0; color: var(--gold-deep); }
.journey { list-style: none; counter-reset: j; display: grid; gap: 0; max-width: 46rem; margin-inline: auto; position: relative; }
.journey::before { content: ""; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 1px; background: var(--gold); opacity: .6; }
.journey > li { counter-increment: j; position: relative; padding: 0 0 2rem 4rem; }
.journey > li::before { content: counter(j); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--ivory); border: 1px solid var(--gold); display: grid; place-items: center; font-family: var(--serif); font-size: 1.3rem; color: var(--gold-deep); }
.journey h3 { margin-bottom: .2rem; }
.journey p { margin: 0; color: var(--cocoa-soft); }
.pill-list { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; margin-top: .8rem; }
.pill-list li { padding: .4rem .9rem; border: 1px solid var(--gold); border-radius: 999px; font-size: .88rem; background: var(--white); color: var(--cocoa); }

/* Footer */
.site-footer { background: var(--cocoa); color: rgba(250, 247, 240, .86); padding-top: clamp(3rem, 6vw, 4.5rem); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 2.4rem; padding-bottom: 2.6rem; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { font-family: var(--sans); font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; font-weight: 500; }
.site-footer ul { list-style: none; display: grid; gap: .45rem; }
.site-footer a { text-decoration: none; color: inherit; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.footer-brand .brand-name { color: var(--ivory); }
.footer-brand p { margin-top: 1rem; max-width: 22rem; }
.footer-brand .tag { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(250, 247, 240, .16); padding-block: 1.3rem; font-size: .82rem; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: var(--cocoa); color: var(--ivory); display: grid; place-items: center; box-shadow: var(--shadow-md); border: 2px solid var(--gold); transition: transform .25s, background .25s; }
.wa-float:hover { transform: scale(1.06); background: var(--gold-deep); color: var(--white); }
.wa-float svg { width: 28px; height: 28px; }

/* Policy */
.policy h2 { font-size: 1.8rem; margin-top: 2.2rem; }
.policy { max-width: 46rem; margin-inline: auto; }

/* Reveal (subtle) */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print { .announce, .site-header, .wa-float, .site-footer { display: none; } }

/* Theme preview page */
.theme-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
@media (max-width: 980px) { .theme-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .theme-grid { grid-template-columns: 1fr; } }
.theme-card { background: var(--white); border: 1px solid var(--line); padding: 1.4rem; box-shadow: var(--shadow-sm); }
.theme-card h2 { font-size: 1.6rem; margin: .8rem 0 .3rem; }
.theme-card p { color: var(--cocoa-soft); font-size: .95rem; }
.theme-card .sw { display: flex; height: 64px; border: 1px solid var(--line); }
.theme-card .sw span { flex: 1; }
.theme-card .btn-row { margin-top: 1rem; }
.theme-code { margin: .8rem 0 0; font-size: .82rem; }
code { background: var(--blush-soft); padding: .1em .4em; border-radius: 3px; font-size: .9em; }
