/* ============ Molly Ray Parfums | Light Gold Editorial theme ============ */

:root {
  --bg: #faf6ec;          /* ivory page */
  --bg-2: #f3ecd9;        /* champagne tint band */
  --bg-3: #fffcf5;        /* card surface */
  --line: rgba(154, 116, 36, 0.28);
  --gold: #a8802e;
  --gold-deep: #7d5e1d;
  --gold-bright: #c9a24b;
  --ink: #2b2317;         /* espresso text */
  --muted: #6f6144;
  --danger: #b3402e;
  --wa-green: #1fa855;

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;

  --fs-body: clamp(1rem, 0.95rem + 0.25vw, 1.0625rem);
  --fs-h2: clamp(1.9rem, 1.4rem + 2.2vw, 3.1rem);
  --fs-h1: clamp(2.8rem, 2rem + 4vw, 5.2rem);
  --fs-hero-sub: clamp(1.05rem, 1rem + 0.4vw, 1.3rem);

  --space-section: clamp(4.5rem, 3rem + 7vw, 8.5rem);
  --wrap: 1180px;
  --narrow: 820px;
  --radius-art: 2px;
  --ease-out-soft: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 68px;
  --shadow-soft: 0 24px 60px rgba(125, 94, 29, 0.14);
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--gold-bright); color: #231a06; }
a { color: var(--gold-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 1px; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap.narrow { max-width: var(--narrow); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  margin: 0 0 1rem;
  letter-spacing: 0.01em;
  color: var(--ink);
}

p { margin: 0 0 1.1rem; }
.quiet { color: var(--muted); font-size: 0.95em; }
.lede {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 1.1rem + 1vw, 1.8rem);
  color: var(--gold-deep);
  line-height: 1.35;
}

/* ---------- anti-copy protection ---------- */
h1, h2, h3, p, li, blockquote, summary {
  -webkit-user-select: none;
  user-select: none;
}
input, textarea, select { -webkit-user-select: text; user-select: text; }
img { -webkit-user-drag: none; }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  background: rgba(250, 246, 236, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--ink); }

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border: 1px solid var(--gold);
  color: var(--gold-deep);
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.06em;
}

.brand-name { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: 0.05em; }
.brand-logo { height: 46px; width: auto; display: block; }

.site-nav { display: flex; align-items: center; gap: 1.9rem; }

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.84rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 0.5rem 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--gold-deep); }
.site-nav .nav-cta {
  color: var(--gold-deep);
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 0.45rem 1.25rem;
}
.site-nav .nav-cta:hover { background: var(--gold); color: #fffcf5; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--ink);
  width: 44px; height: 44px;
  cursor: pointer;
}
.nav-toggle:hover { color: var(--gold-deep); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.7rem 1.9rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out-soft), background 0.2s, color 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.btn:active { transform: scale(0.98); }

.btn-gold {
  background: linear-gradient(160deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep));
  color: #fffcf5;
  box-shadow: 0 10px 26px rgba(154, 116, 36, 0.28);
}
.btn-gold:hover { box-shadow: 0 12px 34px rgba(154, 116, 36, 0.4); }

.btn-ghost {
  border: 1px solid var(--gold);
  color: var(--gold-deep);
  background: transparent;
}
.btn-ghost:hover { background: rgba(201, 162, 75, 0.14); }

.btn-block { width: 100%; }

.btn-wa { background: var(--bg-3); border: 1px solid var(--line); color: var(--ink); }
.btn-wa svg { color: var(--wa-green); }
.btn-wa:hover { border-color: var(--wa-green); }

/* ---------- hero (home): full-bleed bright banner ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100dvh - var(--header-h));
  display: grid;
  place-items: center;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  text-align: center;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 45%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(70rem 34rem at 50% 55%, rgba(250, 246, 236, 0.3), rgba(250, 246, 236, 0.72)),
    linear-gradient(180deg, rgba(250, 246, 236, 0.72), rgba(250, 246, 236, 0.35) 45%, var(--bg) 98%);
}

.hero h1 { font-size: var(--fs-h1); margin-bottom: 1.2rem; }
.hero h1 em { font-style: italic; color: var(--gold-deep); }

.hero-sub {
  font-size: var(--fs-hero-sub);
  color: var(--muted);
  max-width: 40rem;
  margin: 0 auto 2.4rem;
}

.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

/* ---------- page head (inner pages) ---------- */
.page-head {
  padding: calc(var(--header-h) + clamp(3rem, 6vw, 6rem)) 0 clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
}
.page-head h1 { font-size: clamp(2.4rem, 1.8rem + 3vw, 4.2rem); margin-bottom: 0.9rem; }
.page-head .lede { max-width: 46rem; margin-inline: auto; }

/* ---------- sections ---------- */
.section { padding: var(--space-section) 0; }
.section.tight { padding: clamp(3rem, 5vw, 5rem) 0; }
.section h2 { font-size: var(--fs-h2); }
.section-head { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head.center { text-align: center; }

.tint { background: var(--bg-2); }

.note {
  color: var(--muted);
  font-size: 0.92rem;
  border-left: 1px solid var(--gold);
  padding-left: 1.1rem;
}
.note strong { color: var(--gold-deep); font-weight: 500; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.split-art { margin: 0; }
.split-art img {
  border-radius: var(--radius-art);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.split-art.portrait img {
  border-radius: 320px 320px var(--radius-art) var(--radius-art);
  max-height: 640px;
  width: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.split-copy p { max-width: 36rem; }

/* feature list (home: factory services) */
.feature-grid {
  list-style: none;
  margin: 1.8rem 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
}
.feature-grid li {
  border: 1px solid var(--line);
  background: var(--bg-3);
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.feature-grid li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-bright);
  flex: none;
}
@media (min-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
}

.form-title { margin-bottom: 1.6rem; }

.footer-contact { margin-top: 0.6rem; font-size: 0.95rem; }

.is-unbound { opacity: 0.45; cursor: default; }
.is-unbound:hover { transform: none; }

blockquote.pull {
  margin: 2rem 0 0;
  padding-left: 1.4rem;
  border-left: 1px solid var(--gold);
}
blockquote.pull p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.6rem);
  line-height: 1.35;
  color: var(--gold-deep);
}
blockquote.pull cite {
  font-style: normal;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- accordion ---------- */
.accordion { margin: clamp(2rem, 4vw, 3rem) 0; border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }

.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0.25rem;
  min-height: 56px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.55rem);
  color: var(--ink);
  transition: color 0.2s;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { color: var(--gold-deep); }
.accordion summary::after {
  content: "+";
  font-family: var(--font-body);
  font-size: 1.4rem;
  color: var(--gold);
  transition: transform 0.25s var(--ease-out-soft);
}
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion details[open] summary { color: var(--gold-deep); }

.acc-body { padding: 0 0.25rem 1.6rem; color: var(--muted); max-width: 62rem; }
.acc-body p:last-child { margin-bottom: 0; }
.acc-body em { color: var(--gold-deep); }

.acc-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.2rem; }
.acc-tags span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.2rem 0.85rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--gold-deep);
  background: var(--bg-3);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.cta-row p {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.7rem);
  margin: 0;
  max-width: 34rem;
}

/* ---------- teaser band (home) ---------- */
.band {
  position: relative;
  border-block: 1px solid var(--line);
  overflow: hidden;
}
.band-bg { position: absolute; inset: 0; z-index: 0; }
.band-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.16; }
.band-content { position: relative; z-index: 1; }

/* press list */
.press {
  list-style: none;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem 2.4rem;
  max-width: 62rem;
}
.press a {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.35rem);
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: none;
  padding: 0.4rem 0.2rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.press a:hover { color: var(--gold-deep); border-bottom-color: var(--gold); }

/* quotes */
.quotes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  max-width: 62rem;
  margin-inline: auto;
}
.quotes blockquote {
  margin: 0;
  padding-left: 1.6rem;
  border-left: 1px solid var(--gold);
}
.quotes p {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.05rem + 0.8vw, 1.6rem);
  font-style: italic;
  line-height: 1.35;
}

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.alt-channel { margin-top: 2rem; color: var(--muted); }

.enquiry {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-art);
  padding: clamp(1.4rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-soft);
}

.field { margin-bottom: 1.25rem; }

.field label {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.45rem;
}

.field input,
.field textarea {
  width: 100%;
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(111, 97, 68, 0.4);
  border-radius: var(--radius-art);
  padding: 0.8rem 0.95rem;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input::placeholder,
.field textarea::placeholder { color: rgba(111, 97, 68, 0.6); }

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 75, 0.3);
}

.field.invalid input,
.field.invalid textarea { border-color: var(--danger); }
.error-msg { color: var(--danger); font-size: 0.85rem; margin: 0.4rem 0 0; }

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }

.form-status { margin: 1rem 0 0; min-height: 1.4em; font-size: 0.95rem; }
.form-status.ok { color: var(--gold-deep); }
.form-status.fail { color: var(--danger); }

/* ---------- newsletter ---------- */
.newsletter { border-block: 1px solid var(--line); background: var(--bg-2); padding: clamp(2.5rem, 5vw, 4rem) 0; }

.news-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem 3rem;
  align-items: center;
}

.news-copy { margin: 0; color: var(--muted); max-width: 36rem; }
.news-copy strong { color: var(--gold-deep); font-weight: 500; }

.news-form { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.news-form input {
  flex: 1 1 220px;
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(111, 97, 68, 0.4);
  border-radius: 999px;
  padding: 0.75rem 1.2rem;
  font-family: var(--font-body);
  font-size: 1rem;
}
.news-form input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 75, 0.3);
}
.news-form .form-status { flex-basis: 100%; margin-top: 0.25rem; }
.btn-news { white-space: nowrap; }

/* ---------- footer ---------- */
.site-footer { padding: 3.5rem 0 2.5rem; background: var(--bg-2); border-top: 1px solid var(--line); }

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem 3rem;
}

.footer-simple { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; text-align: center; }
.footer-simple a { color: inherit; }

.footer-brand { font-size: 1.35rem; margin-bottom: 0.3rem; }

.footer-social { display: flex; gap: 0.6rem; }
.footer-social a {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  transition: color 0.2s, border-color 0.2s;
}
.footer-social a:hover { color: var(--gold-deep); border-color: var(--gold); }

.footer-nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.8rem; }
.footer-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.footer-nav a:hover { color: var(--gold-deep); }

.footer-legal { color: rgba(111, 97, 68, 0.8); font-size: 0.85rem; width: 100%; margin: 1rem 0 0; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: max(1.1rem, env(safe-area-inset-right));
  bottom: max(1.1rem, env(safe-area-inset-bottom));
  z-index: 50;
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--wa-green);
  color: #fff;
  box-shadow: 0 12px 30px rgba(31, 168, 85, 0.35);
  transition: transform 0.2s var(--ease-out-soft);
}
.wa-float:hover { transform: scale(1.07); }
.wa-float:active { transform: scale(0.96); }

/* ---------- scroll reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s var(--ease-out-soft), transform 0.7s var(--ease-out-soft);
  }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1023px) {
  .split { grid-template-columns: 1fr; }
  .split-art { order: -1; }
  .split-art.portrait img { max-height: 520px; }
  .contact-grid { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .news-inner { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .nav-toggle { display: grid; place-items: center; }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(250, 246, 236, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.6rem 1.25rem 1.2rem;
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
    transition: transform 0.25s var(--ease-out-soft), opacity 0.2s;
  }
  .site-nav.is-open { transform: scaleY(1); opacity: 1; }
  .site-nav a { justify-content: space-between; padding: 0.85rem 0.25rem; min-height: 48px; }
  .site-nav .nav-cta { border-radius: 999px; justify-content: center; margin-top: 0.6rem; }

  .hero { min-height: calc(92dvh - var(--header-h)); }
  .cta-row { flex-direction: column; align-items: flex-start; }
  .news-form .btn-news { width: 100%; }
}

/* ---------- v5: products / services / why / blog ---------- */
.h3 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.7rem); line-height: 1.2; }

.site-nav { gap: clamp(0.8rem, 1.6vw, 1.6rem); }

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }

.prod-card {
  border: 1px solid var(--line);
  background: var(--bg-3);
  border-radius: var(--radius-art);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.prod-card img { width: 100%; height: 260px; object-fit: cover; display: block; }
@media (min-width: 768px) { .prod-card img { height: 300px; } }
.prod-card .prod-body { padding: 1.6rem 1.6rem 1.8rem; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.prod-card.text-card { background: linear-gradient(160deg, var(--bg-3), var(--bg-2)); }

.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 1.6rem 0 1.6rem 4.6rem;
  border-bottom: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 0; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 1.65rem;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--gold-bright);
}
.steps p { color: var(--muted); max-width: 42rem; }

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem 1rem;
  text-align: center;
}
@media (min-width: 1024px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.2rem);
  color: var(--gold-deep);
  line-height: 1.1;
}
.stat p { color: var(--muted); font-size: 0.95rem; margin-top: 0.4rem; }

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.check-list li { padding-left: 2.1rem; position: relative; max-width: 44rem; }
.check-list li::before {
  content: "\2713";
  position: absolute; left: 0; top: 0;
  color: var(--gold);
  font-weight: 600;
}

.post-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-art);
  background: var(--bg-3);
  padding: 1.8rem 1.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.article-meta { font-size: 0.85rem; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; }
.article-meta a { color: var(--gold-deep); }
.article h2 { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem); margin: 2.2rem 0 0.8rem; }
.article p { color: var(--muted); line-height: 1.75; }
.article p.article-end { margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line); color: var(--ink); }
