/* Fendle'le: artisan fragrances
   Palette from the approved print pack: ink black + ivory, with brass from the product caps */
/* Self-hosted fonts (SIL OFL, via Fontsource) */
@font-face { font-family: "Gilda Display"; src: url("../fonts/gilda-display-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Lato"; src: url("../fonts/lato-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Lato"; src: url("../fonts/lato-latin-400-normal.woff2") format("woff2"); font-weight: 400 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Lato"; src: url("../fonts/lato-latin-700-normal.woff2") format("woff2"); font-weight: 600 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Mrs Saint Delafield"; src: url("../fonts/mrs-saint-delafield-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
:root {
  --ink: #111111;
  --ink-2: #1c1c1c;
  --ivory: #f5f0e8;
  --stone: #e6dfd3;
  --taupe: #655d53; /* darkened for AA on ivory and stone */
  --brass: #b08d57;
  --white: #ffffff;

  --font-display: "Gilda Display", "Times New Roman", serif;
  --font-body: "Lato", "Helvetica Neue", Arial, -apple-system, "Segoe UI", sans-serif;
  --font-script: "Mrs Saint Delafield", cursive;

  --radius: 18px;
  --wrap: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Greek key band (matches the logo ring) */
  --key-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='M0 1H20M0 19H20M17 19V4H4V13H11V8' fill='none' stroke='%23111111' stroke-width='1.6'/%3E%3C/svg%3E");
  --key-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='M0 1H20M0 19H20M17 19V4H4V13H11V8' fill='none' stroke='%23f5f0e8' stroke-width='1.6'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.1; margin: 0 0 .5em; }
h2 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
strong { font-weight: 700; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--white); padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.eyebrow {
  font-size: .78rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  color: var(--taupe); margin-bottom: .8rem;
}
.script { font-family: var(--font-script); font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.2; margin: .3em 0 .6em; }
.script.small { font-size: 1.6rem; opacity: .85; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.7rem; border-radius: 999px; border: 1px solid transparent;
  font: 500 .9rem/1 var(--font-body); letter-spacing: .04em; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-light { background: var(--ivory); color: var(--ink); }
.btn-light:hover { background: var(--white); }
.btn-dark { background: var(--ink); color: var(--ivory); }
.btn-dark:hover { background: #000; }
.btn-ghost { border-color: rgba(245, 240, 232, .45); color: var(--ivory); }
.btn-ghost:hover { border-color: var(--ivory); }
.btn-sm { padding: .65rem 1.15rem; font-size: .82rem; }
.btn-block { width: 100%; }
.link-arrow { font-weight: 500; font-size: .9rem; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow::after { content: " →"; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(17, 17, 17, .92); backdrop-filter: blur(10px);
  color: var(--ivory); border-bottom: 1px solid rgba(245, 240, 232, .08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand-name { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: .02em; }
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a:not(.btn) { text-decoration: none; font-size: .9rem; opacity: .85; transition: opacity .2s; }
.site-nav a:not(.btn):hover { opacity: 1; }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle .bar { display: block; width: 24px; height: 1.5px; background: var(--ivory); margin: 6px 0; transition: transform .3s; }
.nav-toggle[aria-expanded="true"] .bar:nth-of-type(2) { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-of-type(3) { transform: translateY(-3.75px) rotate(-45deg); }

/* Decorative arches (from the pull-up banner) */
.arches {
  position: absolute; bottom: 0; width: 150px; height: 260px; pointer-events: none; opacity: .5;
  background:
    radial-gradient(circle at 50% 100%, transparent 54px, rgba(245,240,232,.7) 55px, rgba(245,240,232,.7) 56.5px, transparent 57.5px),
    radial-gradient(circle at 50% 100%, transparent 76px, rgba(245,240,232,.7) 77px, rgba(245,240,232,.7) 78.5px, transparent 79.5px),
    radial-gradient(circle at 50% 100%, transparent 98px, rgba(245,240,232,.7) 99px, rgba(245,240,232,.7) 100.5px, transparent 101.5px),
    radial-gradient(circle at 50% 100%, transparent 120px, rgba(245,240,232,.7) 121px, rgba(245,240,232,.7) 122.5px, transparent 123.5px);
  background-size: 260px 260px; background-repeat: no-repeat;
}
.arches-left { left: -20px; background-position: -130px 100%; }
.arches-right { right: -20px; background-position: 20px 100%; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--ivory); padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(4rem, 9vw, 7rem); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero h1 { font-size: clamp(3.4rem, 8.5vw, 6.4rem); letter-spacing: -.01em; margin-bottom: .1em; }
.pill { display: inline-block; background: var(--ivory); color: var(--ink); font-weight: 600; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; padding: .45rem 1rem; border-radius: 8px; margin-bottom: 1.6rem; }
.lead { max-width: 30rem; opacity: .82; }
.cta-row { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero-media { position: relative; margin: 0; }
.hero-media picture img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 60% 70%;
  border-radius: 999px 999px var(--radius) var(--radius);
}
.hero-seal {
  position: absolute; left: -46px; bottom: 36px; width: 132px; height: 132px;
  background: var(--ink); border-radius: 50%; padding: 6px; box-shadow: 0 18px 40px rgba(0,0,0,.45);
}

/* Meaning band */
.meaning { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.meaning-text { font-family: var(--font-display); font-size: clamp(1.45rem, 3vw, 2.05rem); line-height: 1.4; margin: 1.8rem 0; }
.meaning-text em { font-style: normal; border-bottom: 1px solid var(--brass); }
.meaning-text strong { font-weight: 400; color: #7a5c2b; }
.key-divider { height: 20px; background: var(--key-dark) repeat-x center; opacity: .85; max-width: 420px; margin-inline: auto; }
.key-divider.light { background-image: var(--key-light); max-width: none; opacity: .35; }

/* Collection */
.collection { padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6.5rem); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); }
.section-intro { color: var(--taupe); }
.section-head.light .eyebrow, .section-head.light .section-intro { color: rgba(245, 240, 232, .7); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.product { background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; }
.product:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(17, 17, 17, .1); }
.product-img { aspect-ratio: 1; overflow: hidden; background: var(--stone); }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product:hover .product-img img { transform: scale(1.05); }
.product-img-seal { display: grid; place-items: center; background: var(--ink); }
.product-img-seal img { width: 58%; height: auto; object-fit: contain; }
.product:hover .product-img-seal img { transform: rotate(8deg); }
.product-body { padding: 1.5rem 1.5rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.product-body p { color: var(--taupe); font-size: .93rem; flex: 1; }
.custom-note {
  margin-top: 2.5rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  border: 1px solid var(--stone); border-radius: var(--radius); padding: 1.8rem 2.2rem; background: rgba(255,255,255,.5);
}
.custom-note h3 { margin-bottom: .3rem; }
.custom-note p { margin: 0; color: var(--taupe); }

/* Difference */
.difference { position: relative; overflow: hidden; background: var(--ink-2); color: var(--ivory); padding: clamp(4rem, 8vw, 6.5rem) 0; }
.difference .arches-left { opacity: .25; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(245,240,232,.14); border: 1px solid rgba(245,240,232,.14); border-radius: var(--radius); overflow: hidden; position: relative; }
.pillar { background: var(--ink-2); padding: 2.2rem 1.8rem; }
.pillar-num { font-family: var(--font-display); font-size: 1rem; color: var(--brass); display: block; margin-bottom: 1.6rem; }
.pillar h3 { font-size: 1.3rem; }
.pillar p { font-size: .92rem; opacity: .75; margin: 0; }

/* Story */
.story { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.story-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.story-seal img { width: 100%; max-width: 420px; margin-inline: auto; }
.mission { margin: 2rem 0 0; padding: 1.6rem 0 0 1.6rem; border-left: 1px solid var(--brass); }
.mission p { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.5; }
.mission cite { font-style: normal; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--taupe); }

/* Contact */
.contact { background: var(--stone); padding: clamp(4rem, 8vw, 6.5rem) 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 1.8rem 0; display: grid; gap: 1rem; }
.contact-list li { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(17,17,17,.12); }
.ci-label { font-size: .75rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--taupe); padding-top: .2rem; }
.contact-list a { text-decoration: none; font-weight: 400; }
.contact-list a:hover { text-decoration: underline; }
.map { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--ivory); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }
.contact-form { background: var(--white); border-radius: var(--radius); padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: 0 20px 50px rgba(17,17,17,.06); }
.contact-form h3 { font-size: 1.8rem; margin-bottom: .2rem; }
.form-note { color: var(--taupe); font-size: .88rem; margin-bottom: 1.4rem; }
.contact-form label { display: block; font-size: .8rem; font-weight: 500; letter-spacing: .06em; margin: 1rem 0 .4rem; }
.contact-form input[type="text"], .contact-form select, .contact-form textarea {
  width: 100%; font: 300 1rem var(--font-body); color: var(--ink);
  padding: .85rem 1rem; border: 1px solid #d6cfc3; border-radius: 10px; background: var(--ivory);
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--ink); background: var(--white); }
.consent { display: flex !important; gap: .7rem; align-items: flex-start; font-weight: 300 !important; letter-spacing: 0 !important; font-size: .82rem !important; line-height: 1.5; margin: 1.3rem 0 1.4rem !important; color: var(--taupe); }
.consent input { margin-top: .2rem; accent-color: var(--ink); width: 16px; height: 16px; flex: none; }
.form-error { color: #9b2c2c; font-size: .85rem; margin: -.4rem 0 1rem; }

/* Footer */
.site-footer { background: var(--ink); color: var(--ivory); padding-bottom: 1.5rem; }
.site-footer .key-divider { margin-bottom: 3.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer-grid img { width: 96px; margin-bottom: .6rem; }
.footer-grid h4 { font-size: .75rem; font-family: var(--font-body); font-weight: 500; letter-spacing: .2em; text-transform: uppercase; opacity: .6; margin-bottom: 1rem; }
.footer-grid p { font-size: .92rem; opacity: .85; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; border-top: 1px solid rgba(245,240,232,.12); padding-top: 1.4rem; font-size: .8rem; opacity: .6; }
.footer-base p { margin: 0; }

/* WhatsApp float */
.wa-float {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 10px 28px rgba(0,0,0,.25); transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Privacy page */
.legal { padding: clamp(3rem, 7vw, 5rem) 0; }
.legal h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); }
.legal h2 { font-size: 1.6rem; margin-top: 2rem; }
.legal p, .legal li { color: #3a3631; }

/* Responsive */
@media (max-width: 1024px) {
  .product-grid, .pillars { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); padding: .5rem 1.25rem 1.5rem; border-bottom: 1px solid rgba(245,240,232,.1);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .25s var(--ease);
  }
  .site-nav.open { transform: none; opacity: 1; visibility: visible; }
  .site-nav a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid rgba(245,240,232,.08); font-size: 1rem; }
  .site-nav .btn { margin-top: 1rem; }
  .hero-grid, .story-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 460px; margin-inline: auto; width: 100%; }
  .hero-seal { left: -10px; width: 104px; height: 104px; }
  .story-seal img { max-width: 260px; }
  .custom-note { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .arches { display: none; }
}
@media (max-width: 560px) {
  .product-grid, .pillars { grid-template-columns: 1fr; }
  .contact-list li { grid-template-columns: 1fr; gap: .2rem; }
  .cta-row .btn { width: 100%; }
}
/* Phone action bar */
.mbar { display: none; }
@media (max-width: 860px) {
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1fr 1.25fr;
    background: var(--ink); border-top: 1px solid rgba(245,240,232,.14); padding-bottom: env(safe-area-inset-bottom); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 58px; color: var(--ivory);
    font: 400 .78rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }
  .mbar a + a { border-left: 1px solid rgba(245,240,232,.14); }
  .mbar a.primary { background: var(--brass); color: var(--ink); font-weight: 700; }
  .mbar svg { width: 18px; height: 18px; }
  .wa-float { display: none; }
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* decorative arches bleed off the edge: clip them without breaking the sticky header */
html, body { overflow-x: clip; }
