:root {
  --ivory: #fbf7f2;
  --blush: #f3e6df;
  --sand: #ead9cc;
  --gold: #b8925a;
  --gold-dark: #94723f;
  --gold-text: #8a6a36;   /* gold dark enough to read as small text on light backgrounds */
  --gold-light: #d4b483;
  --ink: #2b2420;
  --muted: #6b5f57;
  --line: #e4d6ca;
  --white: #fff;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold-dark); outline-offset: 3px; }
.section-dark :focus-visible { outline-color: var(--gold-light); }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
em { font-style: italic; color: var(--gold-dark); }

.eyebrow {
  font-size: .72rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-text); font-weight: 500; margin-bottom: .6rem;
}
.section-dark .eyebrow { color: var(--gold-light); }

/* Buttons */
.btn {
  display: inline-block; padding: 14px 28px; font-size: .8rem;
  letter-spacing: .16em; text-transform: uppercase; font-weight: 400;
  border: 1px solid transparent; transition: all .25s ease; cursor: pointer;
  text-align: center;
}
.btn-dark { background: var(--ink); color: var(--ivory); }
.btn-dark:hover { background: var(--gold-dark); }
.btn-line { border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--ivory); }
.btn-gold { background: var(--gold); color: var(--ink); font-weight: 500; }
.btn-gold:hover { background: var(--gold-light); }
.btn[aria-disabled="true"] { opacity: .55; cursor: default; pointer-events: none; }
.btn-line-light { border-color: rgba(255,255,255,.5); color: var(--ivory); }
.btn-line-light:hover { background: var(--ivory); color: var(--ink); }

/* Announcement */
.announce {
  background: var(--ink); color: var(--sand); text-align: center;
  font-size: .72rem; letter-spacing: .14em; padding: 9px 16px; text-transform: uppercase;
}

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,247,242,.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
@media (max-width: 900px) { .header-inner { height: 72px; } }
/* Stacked logo: ruby / — The — / RUVI / COLLECTION. Every size is in em, so changing
   .logo's font-size scales the whole logo (bigger in the footer, smaller on phones). */
.logo { display: flex; flex-direction: column; align-items: center; font-size: 1rem; line-height: 1; white-space: nowrap; }
.logo-gem { width: 1.2em; flex: none; color: var(--gold); }
.logo-gem path { fill: none; stroke: currentColor; stroke-width: 3.2; stroke-linejoin: round; }
.logo-gem .gem-crown { fill: #c9666f; stroke: none; }      /* the ruby: a nod to "Ruvi" */
.logo-gem .gem-pavilion { fill: #9a3440; stroke: none; }
.logo-the { display: flex; align-items: center; gap: .4em; margin-top: .14em; }
.logo-rule { width: .95em; height: 1px; background: var(--gold); }
.logo-small { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: .95em; line-height: .9; color: var(--gold-dark); }
.logo-big { font-family: var(--serif); font-size: 1.8em; line-height: .8; letter-spacing: .2em; margin-right: -.2em; font-weight: 500; margin-top: .06em; }
/* "COLLECTION" is spaced out to sit exactly under "RUVI" */
.logo-sub { font-family: var(--sans); font-weight: 400; font-size: .5em; text-transform: uppercase; letter-spacing: .52em; margin-right: -.52em; margin-top: .7em; }
@media (max-width: 900px) { .logo { font-size: .9rem; } }
.nav { display: flex; gap: 36px; margin-left: auto; margin-right: 28px; }
@media (max-width: 1000px) { .nav { gap: 22px; margin-right: 18px; } }
.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn { position: relative; min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: none; border: 0; cursor: pointer; color: var(--ink); font: inherit; }
.icon-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }
.icon-label { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; }
.account-btn { padding: 0 6px; }
.bag-count {
  position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--gold); color: var(--ink); font-size: .68rem; font-weight: 500; line-height: 18px; text-align: center;
}
.nav a { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; position: relative; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 1px; width: 0;
  background: var(--gold); transition: width .25s;
}
.nav a:hover::after { width: 100%; }
.menu-btn { display: none; background: none; border: 0; width: 32px; height: 32px; cursor: pointer; }
.menu-btn span { display: block; height: 1.5px; background: var(--ink); margin: 7px 4px; transition: .25s; }

@media (max-width: 900px) {
  .menu-btn { display: block; }
  .icon-label { display: none; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0;
    background: var(--ivory); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; visibility: hidden;
    transition: max-height .3s ease, visibility 0s linear .3s;
  }
  .nav.open { max-height: 320px; visibility: visible; transition: max-height .3s ease; }
  .nav a { padding: 16px 24px; border-top: 1px solid var(--line); }
  .menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
}

/* Hero */
.hero { background: linear-gradient(135deg, var(--blush) 0%, var(--ivory) 70%); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; min-height: 560px; padding-top: 48px; padding-bottom: 48px; }
.hero h1 { font-size: clamp(2.8rem, 6.5vw, 5rem); margin-bottom: 1.2rem; }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 440px; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-art { position: relative; display: grid; place-items: center; aspect-ratio: 1; }
.hero-circle {
  position: absolute; inset: 6%; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0%, var(--sand) 60%, #dcc3ae 100%);
  box-shadow: 0 30px 80px rgba(148,114,63,.18);
}
.hero-ring { position: relative; width: 60%; color: var(--gold); animation: float 6s ease-in-out infinite; }
.monogram text { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 44px; fill: var(--ink); }
@keyframes float { 50% { transform: translateY(-12px) rotate(4deg); } }
@media (max-width: 760px) {
  .hero-inner { grid-template-columns: 1fr; min-height: 0; text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-art { max-width: 280px; margin: 0 auto; grid-row: 1; }
}

/* Promise */
.promise { border-bottom: 1px solid var(--line); background: var(--white); }
.promise-inner { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.promise-inner div { padding: 22px 8px; display: flex; flex-direction: column; }
.promise-inner div + div { border-left: 1px solid var(--line); }
.promise strong { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; }
.promise span { font-size: .78rem; color: var(--muted); }
@media (max-width: 600px) { .promise strong { font-size: 1rem; } .promise span { font-size: .7rem; } }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--white); }
.section-head { text-align: center; margin-bottom: 44px; }
@media (max-width: 600px) { .section { padding: 64px 0; } }

/* Filters */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter {
  font-family: var(--sans); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
  padding: 9px 20px; border: 1px solid var(--line); background: transparent; color: var(--ink);
  border-radius: 999px; cursor: pointer; transition: .2s;
}
.filter:hover { border-color: var(--gold); }
.filter.active { background: var(--ink); border-color: var(--ink); color: var(--ivory); }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 32px 24px; }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr 1fr; gap: 24px 12px; } }

.card { cursor: pointer; background: none; border: 0; text-align: left; font: inherit; color: inherit; display: block; width: 100%; }
.card > span { display: block; }
.card-img {
  position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--blush);
  margin-bottom: 14px;
}
.card-img img, .card-img .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
@media (hover: hover) { .card:hover .card-img img, .card:hover .card-img .ph { transform: scale(1.05); } }
.badge {
  position: absolute; top: 12px; left: 12px; background: var(--ivory); color: var(--ink);
  font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; padding: 5px 10px;
}
.badge.sold { background: var(--ink); color: var(--ivory); }
.card-cat { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.card-name { font-family: var(--serif); font-size: 1.3rem; line-height: 1.2; margin: 2px 0 4px; }
.card-price { font-size: .95rem; }
.card-price s { color: var(--muted); margin-left: 6px; font-size: .85rem; }
@media (max-width: 600px) { .card-name { font-size: 1.1rem; } }

.empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* Placeholder art */
.ph { display: grid; place-items: center; }
.ph svg { width: 42%; color: var(--gold); opacity: .85; }

/* About */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.about p:not(.eyebrow) { color: var(--muted); margin-top: 1rem; max-width: 560px; }
.about-art {
  aspect-ratio: 1; border-radius: 50% 50% 0 0; background: linear-gradient(160deg, var(--sand), var(--blush));
  display: grid; place-items: center;
}
.about-art .monogram { width: 58%; color: var(--white); }
.about-art .monogram text { fill: var(--white); }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; gap: 32px; } .about-art { max-width: 260px; } }

/* Contact */
.section-dark { background: var(--ink); color: var(--ivory); }
.contact { text-align: center; }
.contact p:not(.eyebrow) { color: var(--sand); margin: 1rem auto 2rem; max-width: 480px; }
.contact-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Footer */
.footer { background: #221c19; color: #a89c93; font-size: .78rem; padding: 22px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(43,36,32,.55); }
.modal-card {
  position: relative; background: var(--ivory); width: 100%; max-width: 860px; max-height: 92vh; overflow: auto;
  display: grid; grid-template-columns: 1fr 1fr; animation: pop .25s ease;
}
@keyframes pop { from { opacity: 0; transform: translateY(12px); } }
.modal-img { position: relative; aspect-ratio: 4/5; background: var(--blush); overflow: hidden; }
.gallery { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery:has(.zoomed) { overflow: hidden; }
.slide { flex: 0 0 100%; height: 100%; scroll-snap-align: start; overflow: hidden; }
.slide img, .slide .ph { width: 100%; height: 100%; object-fit: cover; }
.slide img { cursor: zoom-in; transition: transform .25s ease; user-select: none; -webkit-user-select: none; }
.slide.zoomed img { transform: scale(2.2); cursor: zoom-out; touch-action: none; }
.gal-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%;
  border: 0; background: rgba(251,247,242,.9); color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.gal-arrow.prev { left: 10px; } .gal-arrow.next { right: 10px; }
.gal-dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.gal-dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: rgba(43,36,32,.3); cursor: pointer; }
.gal-dots button[aria-current] { background: var(--ink); }
.modal-actions { display: flex; flex-direction: column; gap: 10px; }
.modal-body { padding: 40px 32px; display: flex; flex-direction: column; justify-content: center; }
.modal-body h3 { font-size: 2rem; margin-bottom: .4rem; }
.modal-body .price { font-size: 1.2rem; margin-bottom: 1rem; }
.modal-body .price s { color: var(--muted); font-size: 1rem; margin-left: 8px; }
.modal-body p:not(.eyebrow):not(.price) { color: var(--muted); }
.stock { font-size: .8rem; margin: 1rem 0 1.4rem; }
.modal-close {
  position: absolute; top: 8px; right: 12px; z-index: 2; background: none; border: 0;
  font-size: 2rem; line-height: 1; cursor: pointer; color: var(--ink);
}
@media (max-width: 700px) {
  .modal-card { grid-template-columns: 1fr; }
  .modal-img { aspect-ratio: 1; }
  .modal-body { padding: 24px 20px 28px; }
}

/* ===== Utilities ===== */
.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; z-index: 200; background: var(--ink); color: var(--ivory); padding: 10px 16px; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }
.small { font-size: .8rem; }
.btn-block { display: block; width: 100%; }
button.btn { font-family: var(--sans); }
.btn:disabled { opacity: .5; cursor: default; }

/* ===== Shop toolbar ===== */
.toolbar { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.search { position: relative; flex: 1 1 280px; max-width: 420px; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 1.6; }
.search input, .sort select, .field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--ivory);
  border: 1px solid var(--line); border-radius: 0; padding: 11px 14px;
}
.search input { padding-left: 42px; border-radius: 999px; }
.search input:focus, .sort select:focus, .field input:focus, .field textarea:focus { outline: none; border-color: var(--gold-dark); }
.sort { display: flex; align-items: center; gap: 8px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.sort select { width: auto; border-radius: 999px; padding: 10px 14px; text-transform: none; letter-spacing: 0; cursor: pointer; }
.result-count { text-align: center; font-size: .85rem; color: var(--muted); margin: -16px 0 24px; min-height: 1px; }

/* ===== Gifting ===== */
.gift-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 760px) { .gift-tiles { grid-template-columns: 1fr; } }
.gift-tile {
  display: flex; flex-direction: column; gap: 6px; text-align: left; font: inherit; color: inherit; cursor: pointer;
  padding: 32px 28px; border: 1px solid var(--line); background: linear-gradient(160deg, var(--blush), var(--ivory));
  transition: border-color .2s, transform .2s;
}
.gift-tile:hover { border-color: var(--gold); }
.gift-tile.static { cursor: default; background: var(--white); }
.gift-kicker { font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-text); font-weight: 500; }
.gift-title { font-family: var(--serif); font-size: 1.9rem; line-height: 1.1; }
.gift-text { color: var(--muted); font-size: .95rem; }
.gift-link { margin-top: 8px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }

/* ===== Reviews ===== */
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.review { background: var(--ivory); border: 1px solid var(--line); padding: 28px; margin: 0; }
.stars { color: var(--gold); letter-spacing: .15em; margin-bottom: 10px; }
.review blockquote { font-family: var(--serif); font-size: 1.25rem; line-height: 1.4; margin: 0 0 14px; }
.review figcaption { font-size: .8rem; color: var(--muted); letter-spacing: .06em; }

/* ===== Help / FAQ ===== */
.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; padding: 20px 40px 20px 0; position: relative;
  font-family: var(--serif); font-size: 1.3rem; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-weight: 300; font-size: 1.5rem; color: var(--gold-dark); }
.faq details[open] summary::after { content: "−"; }
.faq details > p, .faq details > ul { padding: 0 0 22px; color: var(--muted); max-width: 640px; }
.faq a { text-decoration: underline; text-underline-offset: 3px; }
.care { list-style: none; display: grid; gap: 8px; }
.care strong { color: var(--ink); font-weight: 500; }
.help-more { text-align: center; margin-top: 28px; font-size: .9rem; color: var(--muted); }
.help-more a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ===== Footer links ===== */
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--ivory); }

/* ===== Shopping bag drawer ===== */
.drawer { position: fixed; inset: 0; z-index: 110; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(43,36,32,.5); animation: fade .2s ease; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--ivory);
  display: flex; flex-direction: column; animation: slide-in .25s ease; box-shadow: -20px 0 60px rgba(43,36,32,.15);
}
@keyframes slide-in { from { transform: translateX(100%); } }
@keyframes fade { from { opacity: 0; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 1.6rem; }
.modal-close.static { position: static; }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 20px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 16px 20px 20px; background: var(--white); }
.ship-note { font-size: .85rem; margin-bottom: 14px; }
.ship-note .bar { display: block; height: 3px; background: var(--line); margin-top: 8px; }
.ship-note .bar span { display: block; height: 100%; background: var(--gold); transition: width .3s; }
.bag-items { list-style: none; }
.bag-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.bag-thumb { display: block; width: 72px; aspect-ratio: 4/5; overflow: hidden; background: var(--blush); }
.bag-thumb img, .bag-thumb .ph { width: 100%; height: 100%; object-fit: cover; }
.bag-thumb .ph svg { width: 60%; }
.bag-info { display: flex; flex-direction: column; gap: 2px; }
.bag-name { font-family: var(--serif); font-size: 1.15rem; line-height: 1.2; }
.bag-price { font-size: .9rem; color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); margin-top: 6px; width: max-content; }
.qty button { width: 34px; height: 32px; border: 0; background: none; font-size: 1.1rem; cursor: pointer; color: var(--ink); }
.qty span { min-width: 26px; text-align: center; font-size: .9rem; }
.bag-remove { background: none; border: 0; font: inherit; font-size: .75rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 4px 0; }
.bag-empty { text-align: center; padding: 40px 0; color: var(--muted); }
.bag-empty p { margin-bottom: 18px; }
.bag-extras { display: grid; gap: 14px; padding-top: 18px; }
.check { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); }
.field { display: grid; gap: 6px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.field textarea { resize: vertical; text-transform: none; letter-spacing: 0; }
.field input { text-transform: none; letter-spacing: 0; }
.totals { display: grid; gap: 6px; margin-bottom: 14px; font-size: .92rem; }
.totals div { display: flex; justify-content: space-between; }
.totals dt { color: var(--muted); }
.totals .grand { font-size: 1.05rem; font-weight: 500; padding-top: 8px; border-top: 1px solid var(--line); margin-top: 4px; }
.totals .grand dt { color: var(--ink); }
.upi { display: grid; gap: 10px; margin-top: 10px; }
.upi-qr summary { font-size: .82rem; color: var(--muted); cursor: pointer; text-align: center; }
.upi-qr div { display: grid; place-items: center; padding-top: 10px; }
.upi-qr svg { width: 180px; height: 180px; }

/* ===== Toast ===== */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 150;
  background: var(--ink); color: var(--ivory); padding: 12px 20px; font-size: .88rem; max-width: calc(100% - 32px);
  box-shadow: 0 10px 30px rgba(0,0,0,.2); animation: fade .2s ease;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ===== Policies page ===== */
.back-btn { padding: 10px 18px; font-size: .72rem; }
.policy { max-width: 760px; }
.policy h1 { font-size: clamp(2.4rem, 6vw, 3.4rem); margin-bottom: 18px; }
.policy-toc { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 16px 0 8px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.policy-toc a { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.policy-toc a:hover { color: var(--ink); }
.policy section { padding: 28px 0 8px; }
.policy h2 { font-size: 1.9rem; margin-bottom: 12px; }
.policy ul { padding-left: 1.1rem; display: grid; gap: 8px; color: var(--muted); }
.policy p { color: var(--muted); }
.policy a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.policy-updated { margin-top: 36px; font-size: .8rem; }

/* ===== Header on small phones ===== */
.nav-account { display: none; }
@media (max-width: 900px) { .nav-account:not([hidden]) { display: block; } }
@media (max-width: 359px) { .account-btn { display: none !important; } } /* only the smallest phones; Sign in stays in the menu */
@media (max-width: 400px) {
  .header-actions { gap: 0; }
  .icon-btn { min-width: 36px; }
  .icon-btn svg { width: 22px; height: 22px; }
}

/* ===== Wishlist hearts ===== */
.card-wrap { position: relative; }
.heart {
  position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: rgba(251,247,242,.92); color: var(--ink); transition: transform .15s;
}
.heart svg, .wish-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.heart[aria-pressed="true"] svg, .wish-toggle[aria-pressed="true"] svg { fill: #b4535a; stroke: #b4535a; }
.heart:active { transform: scale(.9); }
.wish-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
}
.btn-sm { padding: 8px 14px; font-size: .7rem; margin-top: 8px; width: max-content; }
.as-btn { border: 0; padding: 0; cursor: pointer; }
.optional { text-transform: none; letter-spacing: 0; }
.wish-note { text-align: center; margin-top: 18px; }

/* ===== Account drawer ===== */
.acct-intro { color: var(--muted); margin-bottom: 18px; }
.acct-perks { list-style: none; display: grid; gap: 8px; margin: 0 0 22px; color: var(--muted); font-size: .92rem; }
.acct-perks li::before { content: "✓"; color: var(--gold-dark); margin-right: 10px; }
.acct-actions { display: grid; gap: 10px; }
.acct-hello { font-family: var(--serif); font-size: 1.6rem; line-height: 1.2; }
.acct-email { color: var(--muted); font-size: .85rem; margin-bottom: 18px; word-break: break-all; }
.acct-section { border-top: 1px solid var(--line); padding: 18px 0; }
.acct-section h4 { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; margin-bottom: 12px; }
.acct-form { display: grid; gap: 12px; }
.acct-status { font-size: .82rem; color: var(--muted); min-height: 1.2em; }
.order-card { border: 1px solid var(--line); background: var(--white); padding: 14px; margin-bottom: 10px; font-size: .9rem; }
.order-top { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.order-no { font-weight: 500; }
.order-items { color: var(--muted); margin: 0 0 6px; padding-left: 1rem; }
.pill { display: inline-block; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: var(--blush); color: var(--ink); }
.pill.new { background: #f6e7c9; } .pill.confirmed { background: #e4ecd9; } .pill.shipped { background: #dfe7f1; }
.pill.delivered { background: #d9ecdf; } .pill.cancelled { background: #eee; color: var(--muted); }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ===== Shop manager (admin.html) ===== */
.admin-head-actions { display: flex; gap: 18px; align-items: center; font-size: .85rem; }
.admin-main { padding-top: 48px; }
.admin-card { max-width: 520px; margin: 40px auto; background: var(--white); border: 1px solid var(--line); padding: 36px; text-align: center; display: grid; gap: 14px; justify-items: center; }
.admin-card h1, .admin-top h1 { font-size: 2.4rem; }
.admin-card code { background: var(--blush); padding: 2px 6px; font-size: .85em; word-break: break-all; }
.admin-top { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.admin-save { font-size: .85rem; color: var(--muted); }
.admin-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.admin-tabs button { background: none; border: 0; border-bottom: 2px solid transparent; padding: 12px 18px; font: inherit; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; color: var(--muted); }
.admin-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.admin-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.admin-note { background: #f6ecd9; border: 1px solid #e8d4ad; padding: 16px 18px; margin-bottom: 18px; display: grid; gap: 10px; font-size: .92rem; }
.admin-list { list-style: none; display: grid; gap: 10px; }
.admin-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; background: var(--white); border: 1px solid var(--line); padding: 10px; }
.admin-thumb { width: 64px; height: 80px; overflow: hidden; background: var(--blush); display: grid; place-items: center; }
.admin-thumb img { width: 100%; height: 100%; object-fit: cover; }
.admin-ph { font-size: 1.6rem; color: var(--gold); }
.admin-info { display: grid; gap: 4px; min-width: 0; }
.admin-info strong { font-weight: 500; }
.admin-flags { display: flex; gap: 16px; }
.admin-flags .check { gap: 6px; font-size: .82rem; }
.admin-flags .check input { width: 16px; height: 16px; }
.admin-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.admin-actions .btn-sm { margin-top: 0; }
.icon-mini { width: 32px; height: 32px; border: 1px solid var(--line); background: var(--ivory); cursor: pointer; font-size: .95rem; }
.icon-mini:disabled { opacity: .35; cursor: default; }
@media (max-width: 640px) {
  .admin-item { grid-template-columns: 56px 1fr; }
  .admin-thumb { width: 56px; height: 70px; }
  .admin-actions { grid-column: 1 / -1; justify-content: flex-start; }
}
.editor-card { display: block; max-width: 640px; }
.editor-form { padding: 32px 28px; display: grid; gap: 14px; }
.editor-form h3 { font-size: 1.9rem; }
.editor-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .editor-row { grid-template-columns: 1fr 1fr; } .editor-row .field:first-child { grid-column: 1 / -1; } }
.editor-checks { display: flex; gap: 22px; flex-wrap: wrap; }
.editor-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 8px; }
.photo-tile { position: relative; aspect-ratio: 4/5; background: var(--blush); overflow: hidden; }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; }
.photo-main { position: absolute; left: 4px; bottom: 4px; background: var(--ink); color: var(--ivory); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; padding: 2px 6px; }
.photo-btn { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(251,247,242,.92); cursor: pointer; font-size: 1rem; line-height: 1; }
.photo-btn.star { right: auto; left: 4px; color: var(--gold-dark); }
.photo-add { width: max-content; cursor: pointer; text-transform: uppercase; }
.admin-order p { margin: 4px 0; }
.admin-order a { text-decoration: underline; }
.admin-note .btn-sm { width: auto; max-width: 100%; white-space: normal; justify-self: start; }

/* =====================================================================
   VISUAL REFRESH — richer boutique look
   ===================================================================== */
:root { --rose: #b4535a; --cream: #fffaf3; --shadow-soft: 0 18px 50px rgba(122, 90, 44, .13); }
svg.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.announce { letter-spacing: .2em; font-size: .68rem; }
.header { background: rgba(251, 247, 242, .86); }
.btn { letter-spacing: .18em; padding: 15px 30px; }
.btn-dark:hover { background: #4a3e37; }

/* Section labels with fine gold rules */
.eyebrow-line { display: inline-flex; align-items: center; gap: 14px; }
.eyebrow-line::before, .eyebrow-line::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .55; }
.section-head { margin-bottom: 52px; }
.section-head h2, .about-copy h2, .contact h2 { font-size: clamp(2.2rem, 4.4vw, 3.3rem); font-weight: 400; letter-spacing: -.01em; }
h2 em { font-style: italic; color: var(--gold-dark); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(900px 520px at 88% 8%, #f6e4d9 0%, rgba(246, 228, 217, 0) 62%), linear-gradient(180deg, #fbf3ec 0%, var(--ivory) 100%);
}
.hero-inner { grid-template-columns: 1.05fr .95fr; min-height: 640px; gap: 56px; padding-top: 64px; padding-bottom: 76px; }
.hero h1 { font-size: clamp(3rem, 7vw, 5.6rem); font-weight: 400; letter-spacing: -.015em; line-height: 1.02; }
.hero .eyebrow-line::before { display: none; }
.lead { font-size: 1.12rem; }
.hero-points { list-style: none; display: flex; gap: 22px; flex-wrap: wrap; margin-top: 34px; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points li::before { content: "✦"; color: var(--gold); font-size: .7rem; }
.hero-visual { position: relative; justify-self: center; width: min(430px, 100%); padding: 0 18px 18px 0; }
.hero-arch {
  position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px 18px 18px; overflow: hidden;
  background: radial-gradient(circle at 50% 36%, #fffaf3 0%, #f6e8dd 46%, #e9cfbd 100%);
  box-shadow: var(--shadow-soft), inset 0 0 0 1px rgba(184, 146, 90, .25);
}
.hero-arch-outline { position: absolute; inset: 18px 0 0 18px; border: 1px solid rgba(184, 146, 90, .5); border-radius: 999px 999px 18px 18px; pointer-events: none; }
.hero-svg { width: 100%; height: 100%; display: block; transform-origin: 50% 0; animation: sway 7s ease-in-out infinite; }
@keyframes sway { 50% { transform: rotate(1.2deg) translateY(4px); } }
.hero-badge {
  position: absolute; left: -22px; bottom: 64px; background: var(--white); padding: 14px 20px; display: grid; line-height: 1.25;
  box-shadow: var(--shadow-soft); border-left: 2px solid var(--gold);
}
.hero-badge strong { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; }
.hero-badge span { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 760px) {
  .hero-inner { min-height: 0; gap: 30px; padding-top: 34px; padding-bottom: 52px; }
  .hero-visual { width: min(290px, 80%); grid-row: 1; }
  .hero .eyebrow-line::before { display: block; }
  .hero-points { justify-content: center; gap: 16px; }
  .hero-badge { left: -14px; bottom: 34px; padding: 10px 14px; }
  .hero-badge strong { font-size: 1.25rem; }
}

/* ---------- Gold ribbon ---------- */
.marquee { background: var(--ink); color: var(--sand); overflow: hidden; }
.marquee-track { display: flex; align-items: center; width: max-content; padding: 17px 0; animation: marquee 40s linear infinite; font-family: var(--serif); font-style: italic; font-size: 1.2rem; white-space: nowrap; }
.marquee-track > * { margin-right: 30px; }
.marquee-track i { font-style: normal; color: var(--gold); font-size: .75rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Product artwork ---------- */
.ph { display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, var(--cream) 0%, var(--ph1, #f3eee9) 58%, var(--ph2, #e2d8cf) 100%); }
.ph svg { width: 72%; opacity: 1; overflow: visible; }
.tone-rose { --ph1: #f6e7e1; --ph2: #e9d0c6; }
.tone-sand { --ph1: #f4eadb; --ph2: #e4d0b4; }
.tone-pearl { --ph1: #f3efea; --ph2: #e0d6cc; }
.tone-blush { --ph1: #f7e6e1; --ph2: #ebcac1; }
.bag-thumb .ph svg { width: 92%; }

/* ---------- Shop by category ---------- */
.cats-section { padding-bottom: 32px; }
.cat-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 22px; }
.cat-tile { background: none; border: 0; cursor: pointer; font: inherit; color: inherit; display: grid; justify-items: center; gap: 4px; text-align: center; }
.cat-art { display: block; width: 100%; aspect-ratio: 3 / 4; border-radius: 999px 999px 14px 14px; overflow: hidden; box-shadow: 0 0 0 1px rgba(184, 146, 90, .2); transition: transform .4s ease, box-shadow .4s ease; }
.cat-art .ph { width: 100%; height: 100%; }
.cat-art .ph svg { width: 86%; }
.cat-name { font-family: var(--serif); font-size: 1.3rem; margin-top: 10px; }
.cat-count { font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
@media (hover: hover) { .cat-tile:hover .cat-art { transform: translateY(-5px); box-shadow: var(--shadow-soft), 0 0 0 1px rgba(184, 146, 90, .4); } }
@media (max-width: 600px) {
  .cat-tiles { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 -16px; padding: 0 16px 6px; scrollbar-width: none; }
  .cat-tiles::-webkit-scrollbar { display: none; }
  .cat-tile { flex: 0 0 38%; scroll-snap-align: start; }
}

/* ---------- Product cards ---------- */
.grid { gap: 42px 26px; }
.card-img { margin-bottom: 16px; box-shadow: 0 0 0 1px rgba(184, 146, 90, .12); transition: box-shadow .4s ease; }
.card-quick {
  position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 10px; text-align: center; background: rgba(251, 247, 242, .95);
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s;
}
@media (hover: hover) {
  .card:hover .card-quick { opacity: 1; transform: none; }
  .card:hover .card-img { box-shadow: var(--shadow-soft); }
}
.card-name { font-size: 1.4rem; }
.card-price { font-size: 1rem; }
.badge { font-weight: 500; letter-spacing: .18em; }
.heart { box-shadow: 0 4px 14px rgba(43, 36, 32, .08); }
@media (max-width: 600px) { .card-name { font-size: 1.15rem; } .card-quick { display: none; } }

/* ---------- Gifting banner ---------- */
.gifts-section { padding-top: 40px; }
.gift-banner {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px; padding: 64px;
  background: radial-gradient(700px 420px at 85% 50%, #3d322c 0%, var(--ink) 72%); color: var(--ivory);
}
.gift-banner::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(212, 180, 131, .32); pointer-events: none; }
.gift-banner .eyebrow { color: var(--gold-light); }
.gift-copy h2 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 400; margin-bottom: 18px; }
.gift-copy h2 em { color: var(--gold-light); }
.gift-copy p:not(.eyebrow) { color: #dacbbf; max-width: 470px; margin-bottom: 30px; }
.gift-ctas { position: relative; z-index: 1; display: flex; gap: 12px; flex-wrap: wrap; }
.gift-art svg { display: block; width: 100%; max-width: 330px; margin: 0 auto; }
@media (max-width: 760px) {
  .gift-banner { grid-template-columns: 1fr; padding: 44px 26px; text-align: center; gap: 18px; }
  .gift-copy p:not(.eyebrow) { margin-left: auto; margin-right: auto; }
  .gift-ctas { justify-content: center; }
  .gift-art { grid-row: 1; }
  .gift-art svg { max-width: 190px; }
}

/* ---------- Our story ---------- */
.about { gap: 80px; }
.about-art { position: relative; background: radial-gradient(circle at 50% 40%, #fffaf3 0%, #f2e1d5 55%, #e4c8b5 100%); border-radius: 999px 999px 18px 18px; box-shadow: var(--shadow-soft); }
.about-art .monogram { width: 56%; color: inherit; filter: drop-shadow(0 8px 12px rgba(122, 90, 44, .22)); }
.about-art .monogram text { fill: var(--ink); }
.signature { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--gold-dark) !important; margin-top: 1.4rem !important; }
@media (max-width: 760px) { .about { gap: 36px; } .about-art { margin: 0 auto; width: 100%; } }

/* ---------- Our story: sparkle, glint & a gentle reveal ---------- */
.about-art { overflow: hidden; isolation: isolate; }
.about-art::before { /* fine gold inner arch */
  content: ""; position: absolute; inset: 14px; z-index: 0; pointer-events: none;
  border: 1px solid rgba(184, 146, 90, .35); border-radius: 999px 999px 10px 10px;
}
.about-art::after { /* soft light behind the ring, slowly breathing */
  content: ""; position: absolute; left: 50%; top: 47%; width: 70%; aspect-ratio: 1; z-index: 0; pointer-events: none;
  translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 251, 243, .95) 0%, rgba(255, 251, 243, 0) 68%);
  animation: story-glow 7s ease-in-out infinite;
}
.about-art .monogram { position: relative; z-index: 1; animation: story-float 7s ease-in-out infinite; }
.about-art .spark, .about-art .pearl { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); z-index: 1; pointer-events: none; }
.about-art .spark {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-14 -14 28 28'%3E%3Cpath fill='%23c9a15a' d='M0 -14 C 1.5 -3, 3 -1.5, 14 0 C 3 1.5, 1.5 3, 0 14 C -1.5 3, -3 1.5, -14 0 C -3 -1.5, -1.5 -3, 0 -14 Z'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0; animation: story-twinkle 4.2s ease-in-out var(--d) infinite;
}
.about-art .pearl {
  border-radius: 50%; box-shadow: 0 6px 12px rgba(122, 90, 44, .18);
  background: radial-gradient(circle at 34% 30%, #fff 0%, #f8f1e8 32%, #e2d2c3 72%, #c9b4a1 100%);
  animation: story-bob 6s ease-in-out var(--d) infinite;
}
.about .ring-base { stroke-dasharray: 200; stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s cubic-bezier(.55, .05, .25, 1) .15s; }
.about .ring-shine { stroke-dasharray: 10 190; opacity: .9; animation: story-shine 8s linear infinite; transition: opacity .8s ease 1.9s; }
.about .mono-gem { transition: opacity .7s ease 1.25s, transform .9s cubic-bezier(.2, .9, .3, 1.35) 1.25s; }
.about .mono-r { transition: opacity 1.1s ease .6s; }
.about .gem-glint { opacity: 0; transform: translateX(-16px); animation: story-glint 5.5s ease-in-out 2.4s infinite; }
.about .gem-twinkle { opacity: 0; transform-box: fill-box; transform-origin: center; animation: story-gem-twinkle 5.5s ease-in-out 2.4s infinite; }
.flourish { display: block; width: 210px; max-width: 70%; height: auto; margin-top: 4px; overflow: visible; }
.flourish path { fill: none; stroke: var(--gold); stroke-width: 1.3; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s ease 1.1s; }
.about.will-reveal .about-copy > * { transition: opacity .8s ease, transform .8s ease; }
.about.will-reveal .about-copy > :nth-child(2) { transition-delay: .12s; }
.about.will-reveal .about-copy > :nth-child(3) { transition-delay: .28s; }
.about.will-reveal .about-copy > :nth-child(4) { transition-delay: .42s; }
.about.will-reveal .about-copy > :nth-child(5) { transition-delay: .6s; }
/* before it scrolls into view (only when the script is running and motion is welcome) */
.about.will-reveal:not(.in) .about-copy > * { opacity: 0; transform: translateY(18px); }
.about.will-reveal:not(.in) .ring-base { stroke-dashoffset: 200; }
.about.will-reveal:not(.in) .ring-shine { opacity: 0; }
.about.will-reveal:not(.in) .mono-gem { opacity: 0; transform: translateY(-12px); }
.about.will-reveal:not(.in) .mono-r { opacity: 0; }
.about.will-reveal:not(.in) .flourish path { stroke-dashoffset: 400; }
@keyframes story-float { 50% { transform: translateY(-7px); } }
@keyframes story-glow { 50% { opacity: .6; scale: 1.08; } }
@keyframes story-bob { 50% { transform: translateY(-6px); } }
@keyframes story-twinkle { 0%, 100% { opacity: 0; transform: scale(.3) rotate(0deg); } 50% { opacity: .95; transform: scale(1) rotate(45deg); } }
@keyframes story-shine { to { stroke-dashoffset: -200; } }
@keyframes story-glint { 0%, 62% { transform: translateX(-16px); opacity: 0; } 70%, 82% { opacity: .85; } 92%, 100% { transform: translateX(34px); opacity: 0; } }
@keyframes story-gem-twinkle { 0%, 80% { opacity: 0; transform: scale(.2) rotate(0deg); } 88% { opacity: 1; transform: scale(1) rotate(45deg); } 100% { opacity: 0; transform: scale(.2) rotate(90deg); } }
@media (prefers-reduced-motion: reduce) {
  .about-art::after, .about-art .monogram, .about-art .spark, .about-art .pearl, .about .ring-shine, .about .gem-glint, .about .gem-twinkle { animation: none !important; }
  .about-art .spark { opacity: .7; }
  .about .ring-shine, .about .gem-glint { opacity: 0; }
}

/* ---------- Contact ---------- */
.section-dark { background: radial-gradient(900px 420px at 50% 0%, #3d322c 0%, var(--ink) 70%); }

/* ---------- Footer ---------- */
.footer { background: #1f1916; color: #a89c93; padding: 64px 0 0; }
.footer:has(> .footer-inner) { padding: 22px 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 44px; }
.footer-brand p { margin-top: 16px; max-width: 300px; font-size: .9rem; line-height: 1.7; }
.footer-ig { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: .88rem; color: var(--gold-light); }
.footer-ig:hover { color: var(--ivory); }
.footer-ig svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.logo-light { color: var(--ivory); width: max-content; font-size: 1.3rem; }
.logo-light .logo-small { color: var(--gold-light); }
.footer-col { display: grid; gap: 10px; align-content: start; font-size: .9rem; }
.footer-col h4 { font-family: var(--sans); font-weight: 500; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ivory); margin-bottom: 6px; }
.footer-col a:hover { color: var(--ivory); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid #3a302b; padding-top: 20px; padding-bottom: 26px; font-size: .78rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) { .marquee-track, .hero-svg { animation: none !important; } }
/* phone overrides that must come after the refresh rules above */
@media (max-width: 760px) { .hero-inner { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .grid { gap: 28px 12px; } .btn { padding: 14px 24px; } }
.btn-line, .btn-line-light { background: transparent; }
.btn-line-light:hover { background: var(--ivory); color: var(--ink); }

/* ===== "Continue with Google" button ===== */
.btn-social {
  display: flex; align-items: center; justify-content: center; gap: 12px; background: #fff; color: #1f1f1f;
  border: 1px solid #c9c2bb; font-family: var(--sans); font-weight: 500; letter-spacing: .04em; text-transform: none; font-size: .95rem;
}
.btn-social:hover { background: #f7f3ef; }
.btn-social svg { width: 20px; height: 20px; flex: none; }
.or-line { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .78rem; margin: 4px 0; }
.or-line::before, .or-line::after { content: ""; flex: 1; height: 1px; background: var(--line); }
