/* Layout concept: an airy boutique page with an asymmetric split hero; key photos sit in
   tall arches (echoing Caribbean doorways), everything else stays quiet and tracked-out. */
:root {
  /* brand palette */
  --ivory: #F7F3EC;
  --beige: #E8DCCB;
  --eucalyptus: #A4B3A2;
  --taupe: #B7A594;
  --espresso: #493B32;
  --blush: #EBCFD0;
  /* derived, for text and controls that need more contrast */
  --ink: #3B2F28;
  --muted: #776659;
  --line: #DCCFBE;
  --euc-deep: #5D6E5B;
  --gold: #B08D57;
  --gold-ink: #8A6B3A;
  --paper: #FCFAF6;

  --f-display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --f-body: "Jost", "Futura", "Century Gothic", "Helvetica Neue", Arial, sans-serif;

  --step--1: 0.8125rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.75rem, 1.3rem + 1.5vw, 2.5rem);
  --step-3: clamp(2.3rem, 1.55rem + 2.8vw, 3.75rem);
  --step-4: clamp(2.85rem, 1.75rem + 4.4vw, 5.4rem);

  --wrap: 72rem;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --radius: 4px;
  --arch: 999px 999px var(--radius) var(--radius);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--f-body);
  font-weight: 300;
  font-size: var(--step-0);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 1.5px solid var(--euc-deep); outline-offset: 3px; }
::selection { background: var(--blush); }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--f-body);
  font-size: var(--step--1);
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.display-xl { font-family: var(--f-display); font-size: var(--step-4); line-height: 1.04; letter-spacing: -0.005em; }
.display-lg { font-family: var(--f-display); font-size: var(--step-3); line-height: 1.1; }
.display-md { font-family: var(--f-display); font-size: var(--step-2); line-height: 1.15; }
.display-xl em, .display-lg em, .display-md em { font-style: italic; color: var(--espresso); }
.lead { font-size: var(--step-1); line-height: 1.6; color: var(--ink); max-width: 34ch; }
.prose { max-width: 60ch; display: grid; gap: 1.1em; color: var(--ink); }
.sign { font-family: var(--f-display); font-style: italic; font-size: var(--step-1); color: var(--espresso); }
.fine { font-size: var(--step--1); color: var(--muted); letter-spacing: 0.02em; }

/* ---------- wordmark (matches the logo: wide-tracked, light) ---------- */
.wordmark { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; line-height: 1; gap: 0.35em; }
.wm-main { font-family: var(--f-body); font-weight: 300; text-transform: uppercase; font-size: 1.35rem; letter-spacing: 0.38em; margin-right: -0.38em; color: var(--espresso); }
.wm-sub { font-family: var(--f-body); font-weight: 400; text-transform: uppercase; font-size: 0.56rem; letter-spacing: 0.52em; margin-right: -0.52em; color: var(--gold); }
.wordmark--lg .wm-main { font-size: 1.9rem; }
.wordmark--lg .wm-sub { font-size: 0.72rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 3.1rem; padding: 0.8rem 1.6rem;
  font: 400 0.8125rem/1 var(--f-body); letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; border-radius: 999px; border: 1px solid transparent;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
  cursor: pointer;
}
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn--dark { background: var(--espresso); color: var(--ivory); }
.btn--dark:hover { background: var(--ink); }
.btn--wa { background: var(--euc-deep); color: var(--paper); }
.btn--wa:hover { background: #4E5E4C; }
.btn--line { border-color: var(--espresso); color: var(--espresso); background: transparent; }
.btn--line:hover { background: var(--espresso); color: var(--ivory); }
.btn--sm { min-height: 2.6rem; padding: 0.6rem 1.1rem; font-size: 0.72rem; }
.btn--block { width: 100%; }
.text-link {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-size: var(--step--1); letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
  border-bottom: 1px solid var(--taupe); padding-bottom: 0.3em; color: var(--espresso);
}
.text-link svg { width: 1.1em; height: 1.1em; transition: transform .25s ease; }
.text-link:hover svg { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }

/* ---------- header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--ivory); }
#site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--ivory) 92%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent; transition: border-color .3s ease;
}
#site-header.is-scrolled { border-bottom-color: var(--line); }
.bar {
  max-width: var(--wrap); margin-inline: auto; min-height: 5rem;
  padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px));
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem;
}
.nav { display: flex; justify-content: center; gap: 2.4rem; }
.nav a {
  text-decoration: none; font-size: var(--step--1); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink);
  padding-block: 0.4rem; border-bottom: 1px solid transparent;
}
.nav a:hover { border-bottom-color: var(--taupe); }
.nav a[aria-current="page"] { border-bottom-color: var(--espresso); }
.bar-end { display: flex; align-items: center; gap: 1rem; }
.lang { display: flex; align-items: center; gap: 0.3rem; font-size: 0.75rem; letter-spacing: 0.14em; color: var(--taupe); }
.lang button {
  font: inherit; letter-spacing: inherit; background: none; border: 0; padding: 0.4rem 0.25rem; cursor: pointer; color: var(--muted);
}
.lang button[aria-pressed="true"] { color: var(--espresso); font-weight: 500; }
.menu-btn {
  display: none; font: 400 0.75rem/1 var(--f-body); letter-spacing: 0.18em; text-transform: uppercase;
  background: none; border: 1px solid var(--line); border-radius: 999px; padding: 0.65rem 1rem; color: var(--espresso); cursor: pointer;
}

/* ---------- sections ---------- */
main { display: block; }
.section { padding-block: clamp(4.5rem, 3rem + 6vw, 8rem); }
.section--beige { background: var(--beige); }
.section--blush { background: color-mix(in srgb, var(--blush) 55%, var(--ivory)); }
.section--paper { background: var(--paper); }
.section-head { display: grid; gap: 1.1rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); max-width: 40rem; }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }

.arch { border-radius: var(--arch); overflow: hidden; background: var(--beige); }
.arch img { width: 100%; height: 100%; object-fit: cover; }

/* hero */
.hero { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) clamp(4rem, 3rem + 4vw, 7rem); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2.5rem, 2rem + 4vw, 6rem); align-items: center; }
.hero-copy { display: grid; gap: 1.8rem; min-width: 0; }
.hero-figure { position: relative; justify-self: end; width: min(100%, 30rem); }
.hero-figure .arch { aspect-ratio: 4 / 5.1; }
.hero-figure .arch img { object-position: 50% 55%; }
.coord {
  position: absolute; left: -2.2rem; bottom: 2.4rem; background: var(--ivory); padding: 1rem 1.2rem;
  display: grid; gap: 0.2rem; border-radius: var(--radius); box-shadow: 0 18px 40px -24px rgba(73,59,50,.45);
}
.coord .eyebrow { font-size: 0.66rem; }
.coord strong { font-family: var(--f-display); font-size: 1.15rem; color: var(--espresso); font-variant-numeric: lining-nums; }
.pillars { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; list-style: none; margin: 0; padding: 1.6rem 0 0; border-top: 1px solid var(--line); }
.pillars li { display: flex; align-items: center; gap: 0.6rem; font-size: var(--step--1); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.pillars li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--eucalyptus); }

/* split blocks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 2rem + 4vw, 6rem); align-items: center; }
.split > * { min-width: 0; }
.split-copy { display: grid; gap: 1.5rem; }
.photo-land { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; }
.photo-land img { width: 100%; height: 100%; object-fit: cover; }
.split--reverse .split-media { order: 2; }

/* featured product layout (home) */
.feature { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2.5rem, 2rem + 4vw, 6rem); align-items: center; }
.feature > * { min-width: 0; }
.feature-copy { display: grid; gap: 1.5rem; }
.feature .grid { grid-template-columns: 1fr; max-width: 24rem; justify-self: center; width: 100%; }

/* product cards */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.card { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius); overflow: hidden; }
.card-link { display: flex; flex-direction: column; flex: 1; text-decoration: none; color: inherit; }
.card-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--beige); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.card-link:hover .card-media img { transform: scale(1.035); }
.card-body { display: grid; gap: 0.5rem; padding: 1.4rem 1.4rem 0.4rem; }
.card-title { font-family: var(--f-display); font-size: 1.5rem; line-height: 1.2; }
.card-tag { font-size: 0.95rem; color: var(--muted); line-height: 1.55; }
.card-price { display: flex; justify-content: space-between; align-items: baseline; padding-top: 0.6rem; font-variant-numeric: tabular-nums; }
.card-price span:first-child { font-family: var(--f-display); font-size: 1.35rem; color: var(--espresso); }
.card-size { font-size: var(--step--1); letter-spacing: 0.1em; color: var(--muted); }
.card-actions { padding: 1rem 1.4rem 1.4rem; }
.card-actions .btn { width: 100%; }
.card--soon .card-media img { filter: saturate(.55) brightness(1.05); opacity: .78; }
.card--soon .card-body { padding-bottom: 1.4rem; }
.tag {
  position: absolute; top: 1rem; left: 1rem; background: var(--ivory); color: var(--espresso);
  font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; padding: 0.45rem 0.8rem; border-radius: 999px;
}

/* how to order */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: 1rem; align-content: start; padding-top: 1.4rem; border-top: 1px solid var(--taupe); }
.steps li::before {
  content: counter(step); font-family: var(--f-display); font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--gold);
}
.order-foot { margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }

/* self-love */
.love-figure { width: min(100%, 26rem); justify-self: center; }
.love-figure .arch { aspect-ratio: 4 / 5; }

/* connect */
.connect { text-align: center; display: grid; justify-items: center; gap: 1.4rem; }
.connect .actions { justify-content: center; }
.connect .prose { text-align: center; }

/* ---------- page header (inner pages) ---------- */
.page-head { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) clamp(2rem, 1.5rem + 2vw, 3.5rem); display: grid; gap: 1.2rem; max-width: 46rem; }

/* shop */
.filters { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.5rem; }
.filters button {
  font: 400 0.75rem/1 var(--f-body); letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.75rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer;
}
.filters button[aria-pressed="true"] { background: var(--espresso); border-color: var(--espresso); color: var(--ivory); }
.shop-note { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }

/* product detail */
.back { display: inline-block; margin-block: 2rem 1.5rem; font-size: var(--step--1); letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; color: var(--muted); }
.back:hover { color: var(--espresso); }
.pd { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 2rem + 4vw, 5.5rem); align-items: start; padding-bottom: clamp(4rem, 3rem + 4vw, 7rem); }
.pd > * { min-width: 0; }
.pd-media { margin: 0; position: sticky; top: 6.5rem; border-radius: var(--arch); overflow: hidden; aspect-ratio: 4 / 5; background: var(--beige); }
.pd-media img { width: 100%; height: 100%; object-fit: cover; }
.pd-info { display: grid; gap: 1.4rem; }
.pd-tagline { font-family: var(--f-display); font-style: italic; font-size: var(--step-1); color: var(--espresso); }
.pd-price { font-family: var(--f-display); font-size: 1.95rem; color: var(--espresso); font-variant-numeric: tabular-nums; }
.pd-facts { margin: 0; display: grid; border-top: 1px solid var(--line); }
.pd-facts div { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding-block: 0.9rem; border-bottom: 1px solid var(--line); }
.pd-facts dt { font-size: var(--step--1); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); padding-top: 0.15em; }
.pd-facts dd { margin: 0; }
.pd-desc { padding-top: 1rem; max-width: 58ch; }
.pd-section { display: grid; gap: 0.8rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.pd-section ul, .pd-section ol { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.35rem; }
.pd-section ul li::marker { color: var(--eucalyptus); }
.pd-section ol li::marker { font-family: var(--f-display); font-style: italic; color: var(--gold); }
details summary { cursor: pointer; font-size: var(--step--1); letter-spacing: 0.12em; text-transform: uppercase; color: var(--euc-deep); padding-block: 0.4rem; }
.inci { font-size: 0.9rem; color: var(--muted); padding-top: 0.5rem; }
.empty { display: grid; gap: 1.2rem; justify-items: start; padding-block: 5rem; max-width: 36rem; }

/* story */
.chapter-label { color: var(--gold-ink); }
.story-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 2rem + 4vw, 6rem); }
.story-pair > div { display: grid; gap: 1.1rem; align-content: start; }
.quote { font-family: var(--f-display); font-style: italic; font-size: var(--step-3); line-height: 1.15; color: var(--espresso); text-align: center; }

/* contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.contact-card { background: var(--paper); border-radius: var(--radius); padding: 2rem; display: grid; gap: 1rem; align-content: start; }
.contact-card .ico { width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--beige); display: grid; place-items: center; color: var(--espresso); }
.contact-card .ico svg { width: 1.3rem; height: 1.3rem; }
.contact-card h2 { font-family: var(--f-display); font-size: 1.65rem; }
.contact-card .handle { font-size: 1.05rem; color: var(--espresso); user-select: all; font-variant-numeric: tabular-nums; }
.contact-card .btn { justify-self: start; }

/* ---------- footer ---------- */
#site-footer { background: var(--espresso); color: var(--beige); padding-block: 4.5rem 2rem; }
#site-footer .eyebrow { color: var(--taupe); margin-bottom: 1rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; }
.footer-brand { display: grid; gap: 1.2rem; justify-items: start; max-width: 26rem; }
.footer-brand p { font-size: 0.95rem; }
.footer-brand .origin { font-size: var(--step--1); letter-spacing: 0.14em; text-transform: uppercase; color: var(--taupe); }
#site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
#site-footer a { text-decoration: none; }
#site-footer a:hover { color: var(--ivory); text-decoration: underline; text-underline-offset: 4px; }
.footer-legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem 2rem;
  margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(232,220,203,.18);
  font-size: 0.78rem; letter-spacing: 0.04em; color: var(--taupe);
}

/* ---------- gentle load-in (content is visible at rest) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise 1s cubic-bezier(.2,.7,.2,1) both; }
  .rise-2 { animation-delay: .12s; } .rise-3 { animation-delay: .24s; } .rise-4 { animation-delay: .36s; }
  @keyframes rise { from { opacity: .001; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  .hero-figure .arch img { animation: settle 2.2s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes settle { from { transform: scale(1.06); } to { transform: none; } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1fr; max-width: 34rem; }
}
@media (max-width: 860px) {
  .bar { grid-template-columns: 1fr auto; min-height: 4.4rem; }
  .menu-btn { display: inline-block; }
  .nav {
    display: none; grid-column: 1 / -1; flex-direction: column; align-items: flex-start; gap: 0.2rem; padding-bottom: 1.4rem;
  }
  .nav a { font-family: var(--f-display); text-transform: none; letter-spacing: 0; font-size: 1.6rem; }
  #site-header.is-open .nav { display: flex; }
  .hero-grid, .split, .feature, .pd, .story-pair { grid-template-columns: 1fr; }
  .hero-figure { justify-self: center; width: min(100%, 26rem); }
  .coord { left: 1rem; bottom: 1rem; }
  .split--reverse .split-media { order: 0; }
  .pd-media { position: static; max-width: 30rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .grid, .steps { grid-template-columns: 1fr; }
  .pd-facts div { grid-template-columns: 1fr; gap: 0.2rem; }
  .lead { font-size: 1.125rem; }
  .actions .btn { width: 100%; }
}

/* ---------- brand mark (new logo) ---------- */
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand-sprig { width: 2.1rem; height: auto; mix-blend-mode: multiply; transform: translateY(-3px); }
.logo-word {
  display: block; width: 7.6rem; aspect-ratio: 900 / 140; background: var(--espresso);
  -webkit-mask: url("../img/logo-wordmark.png") center / contain no-repeat;
          mask: url("../img/logo-wordmark.png") center / contain no-repeat;
}
.brand--footer .logo-word { width: 11rem; background: var(--ivory); }
.gold-rule { display: block; width: 4.5rem; height: 1px; background: var(--gold); }
.brand-tagline { font-size: 0.72rem !important; letter-spacing: 0.32em; text-transform: uppercase; color: var(--beige); }
.badge { width: min(11rem, 50vw); height: auto; mix-blend-mode: multiply; margin-bottom: 0.4rem; }
.quote-sprig { width: 5.5rem; height: auto; mix-blend-mode: multiply; }
@media (max-width: 860px) { .logo-word { width: 6.4rem; } .brand-sprig { width: 1.8rem; } }

/* display face weight: medium keeps the thin strokes legible */
.display-xl, .display-lg, .display-md, .sign, .coord strong, .card-title, .card-price span:first-child,
.steps li::before, .pd-tagline, .pd-price, .pd-section ol li::marker, .quote, .contact-card h2 { font-weight: 500; }
@media (max-width: 860px) { .nav a { font-weight: 500; } }
