/* =========================================================
   Avenir Scent — styles
   Type: Inter Tight 500 (UI + headings), Fragment Mono (numerals)
   Palette: monochrome greys, taken 1:1 from the reference
   ========================================================= */

:root {
  --black: #000;
  --ink: #212121;
  --white: #fff;
  --grey-50: #fafafa;
  --grey-100: #f4f4f4;
  --grey-150: #eee;
  --grey-200: #e6e6e6;
  --grey-300: #dadada;
  --grey-400: #ccc;
  --grey-500: #aeaeae;
  --grey-600: #999;
  --grey-700: #6d6d6d;

  /* Placeholder image tones — replace with real <img> later */
  --ph: #e4e4e4;
  --ph-2: #d6d6d6;
  --ph-hero: #a8a8a8;
  --ph-dark: #2b2b2b;

  --font: "Inter Tight", "Inter", system-ui, -apple-system, sans-serif;
  --mono: "Fragment Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --gutter: 40px;
  --max: 1600px;
  --gap: 8px;
  --header-h: 80px;
  --section-space: 150px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { -webkit-text-size-adjust: 100%; }

/* Lenis smooth scroll */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--font);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, p { margin: 0; font-weight: 500; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Media placeholders ----------
   Every .media block is a grey box. To add a real image later,
   drop an <img src="..." alt="..."> inside it — it will cover. */
.media {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--ph);
  overflow: hidden;
}
.media > img,
.media > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media--hero { background: var(--ph-hero); }
.media--alt  { background: #9c9c9c; }
.media--alt2 { background: #b3b3b3; }
.media--dark { background: var(--ph-dark); }

/* ---------- Typography ---------- */
.h2 {
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.eyebrow {
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--grey-700);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 19px;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
  /* reference: spring, duration .8s, bounce .2 */
  transition: border-color .8s cubic-bezier(.22, 1, .36, 1), background-color .8s cubic-bezier(.22, 1, .36, 1);
}
/* Outline (reference "Outline" button): only the border darkens on hover */
.btn--outline {
  border: 1px solid var(--grey-200);
  background: var(--white);
  color: var(--black);
}
.btn--outline:hover { border-color: var(--black); }

.btn--light { border: 1px solid var(--white); background: var(--white); color: var(--black); }
.btn--light:hover { border-color: var(--black); }
.footer .btn--light:hover { border-color: var(--grey-500); }

/* ---------- Inputs ---------- */
.form { display: flex; gap: 12px; align-items: center; }
.input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 20px;
  border: 0;
  outline: none;
  background: var(--grey-100);
  color: var(--black);
  font: inherit;
  letter-spacing: -0.01em;
}
.input::placeholder { color: var(--grey-600); }
.input:focus { box-shadow: inset 0 0 0 1px var(--grey-400); }
.input--dark { background: var(--ink); color: var(--white); }
.input--dark::placeholder { color: var(--grey-600); }
.input--dark:focus { box-shadow: inset 0 0 0 1px #444; }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
}
.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.logo {
  font-size: 24px;
  letter-spacing: -0.03em;
  line-height: 1;
}
.nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
}
.nav__link {
  position: relative;
  font-size: 16px;
  letter-spacing: 0;
}
/* underline grows from the left on hover (as on the reference site) */
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 0; height: 1px;
  background: currentColor;
  transition: width .4s cubic-bezier(.44, 0, .56, 1);
}
.nav__link:hover::after,
.nav__link:focus-visible::after { width: 100%; }

.header__actions { display: flex; align-items: center; gap: 18px; }
.icon-btn { display: grid; place-items: center; width: 28px; height: 28px; }
.menu-toggle { display: none; }

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 8px 20px 28px;
  background: var(--white);
  border-bottom: 1px solid var(--grey-150);
}
.mobile-menu a {
  padding: 12px 0;
  font-size: 28px;
  letter-spacing: -0.03em;
}

/* =========================================================
   HERO
   ========================================================= */
.hero { padding-top: 95px; }
.hero__slider {
  position: relative;
  height: 685px;
  overflow: hidden;
  border-radius: var(--flag-radius);
  isolation: isolate; /* keeps the rounded clip during slide/zoom transitions (Safari) */
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s var(--ease), visibility 1s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__slide .media { transform: scale(1.04); transition: transform 6s linear; }
.hero__slide.is-active .media { transform: scale(1); }

.hero__content {
  position: absolute;
  left: 0; right: 0;
  bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  color: var(--white);
  text-align: center;
}
.hero__title {
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.hero__dots {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 3;
}
.hero__dot {
  width: 4px;
  height: 4px;
  border-radius: 4px;
  background: var(--white);
  opacity: .9;
  transition: width .5s var(--ease);
}
.hero__dot.is-active { width: 20px; }

/* =========================================================
   SECTIONS / PRODUCT TRACK
   ========================================================= */
.section { padding-top: var(--section-space); }

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

/* Fixed rows (no sideways scrolling) */
.row { display: grid; gap: var(--gap); }
.row--3 { grid-template-columns: repeat(3, 1fr); }
.row--4 { grid-template-columns: repeat(4, 1fr); }

/* Product card */
.product { display: block; }
.product__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.product__media .media { position: absolute; inset: 0; }
.product__media .media--secondary {
  background: var(--ph-2);
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.product:hover .media--secondary { opacity: 1; }

.product__name {
  margin-top: 26px;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.product__price {
  margin-top: 6px;
  font-size: 16px;
  color: var(--grey-700);
}
.product__price s {
  margin-left: 8px;
  color: var(--grey-500);
  text-decoration-thickness: 1px;
}

/* =========================================================
   COLLECTIONS
   ========================================================= */

.collection {
  position: relative;
  display: block;
  aspect-ratio: 334 / 478;
  overflow: hidden;
  color: var(--white);
}
.collection .media { position: absolute; inset: 0; transition: transform 1s var(--ease); }
.collection:hover .media { transform: scale(1.04); }
.collection__overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 120px 20px 22px;
  background: linear-gradient(to top, rgba(0,0,0,.35), rgba(0,0,0,0));
}
.collection__title {
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.collection__text {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.4;
  color: rgba(255,255,255,.85);
  transition: max-height .6s var(--ease), opacity .4s var(--ease), margin .6s var(--ease);
}
.collection:hover .collection__text { max-height: 80px; opacity: 1; margin-top: 8px; }

/* =========================================================
   STATEMENT
   ========================================================= */
.statement { padding-top: var(--section-space); }
.statement__inner {
  position: relative;
  height: 890px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.statement__inner .media { position: absolute; inset: 0; }
.statement__inner .media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);
}
.statement__text {
  position: relative;
  z-index: 1;
  padding: 0 20px;
  font-size: 32px;
  line-height: 1.3;
  letter-spacing: -0.03em;
  text-align: center;
  color: var(--white);
}

/* =========================================================
   NEWSLETTER
   ========================================================= */
.newsletter {
  margin-top: var(--section-space);
  padding: 100px 0;
  background: var(--grey-100);
}
.newsletter__card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 24px;
  background: var(--white);
}
.newsletter__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 16px;
}
.newsletter__title {
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.newsletter__text {
  max-width: 410px;
  margin-top: 48px;
  color: var(--grey-700);
  line-height: 1.45;
}
.newsletter__content .form { margin-top: 40px; max-width: 550px; }
.newsletter__content .btn { height: 44px; }
.newsletter__media { aspect-ratio: 620 / 391; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--black); color: var(--white); }
.footer__inner {
  max-width: var(--max);
  margin-inline: auto;
  padding: 48px 48px 38px;
}
.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}
.footer__brand { display: flex; flex-direction: column; align-items: flex-start; }
.footer__logo {
  margin-bottom: 30px;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.footer__contact {
  font-size: 16px;
  line-height: 30px;
  transition: opacity .25s;
}
.footer__contact:hover { opacity: .6; }

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 182px);
  margin-right: -24px;
}
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer__label {
  margin-bottom: 14px;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--grey-600);
}
.footer__col a {
  font-size: 16px;
  line-height: 22px;
  color: var(--grey-150);
  transition: color .25s;
}
.footer__col a:hover { color: var(--grey-600); }

.footer__newsletter { margin-top: 90px; max-width: 500px; }
.footer__title {
  margin-bottom: 18px;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.footer__newsletter .btn { height: 44px; }
.footer__copy {
  margin-top: 52px;
  font-size: 16px;
}

/* =========================================================
   Reveal on scroll
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__slide .media { transition: none; transform: none; }
}

/* =========================================================
   Tablet  (810 – 1199)
   ========================================================= */
@media (max-width: 1199px) {
  :root { --section-space: 120px; }
  .hero__slider { height: 560px; }
  .h2 { font-size: 40px; }
  .statement__inner { height: 680px; }
  .statement__text { font-size: 28px; }
  .footer__cols { grid-template-columns: repeat(3, 160px); margin-right: 0; }
}

/* =========================================================
   Mobile  (< 810)
   ========================================================= */
@media (max-width: 809px) {
  :root { --gutter: 20px; --section-space: 90px; --header-h: 72px; }

  .nav { display: none; }
  .menu-toggle { display: grid; }
  .header.menu-open .mobile-menu { display: flex; }
  .logo { font-size: 24px; }

  .hero { padding-top: 53px; }
  .hero__slider { height: 555px; }
  .hero__content { bottom: 80px; gap: 28px; }
  .hero__title { font-size: 28px; }

  .h2 { font-size: 24px; letter-spacing: -0.03em; }
  .section__head { margin-bottom: 20px; }
  .section__head .btn { height: 38px; padding: 0 14px; font-size: 13px; }

  .row--3 { grid-template-columns: 1fr; gap: 32px; }
  .row--4 { grid-template-columns: 1fr 1fr; }
  .product__name { margin-top: 18px; font-size: 16px; }
  .product__price { font-size: 14px; }


  .collection__title { font-size: 18px; }
  .collection__text { display: none; }

  .statement__inner { height: 520px; }
  .statement__text { font-size: 22px; }

  .newsletter { padding: 60px 0; }
  .newsletter__card { grid-template-columns: 1fr; padding: 16px; }
  .newsletter__content { padding: 24px 8px 8px; order: 2; }
  .newsletter__media { order: 1; }
  .newsletter__title { font-size: 24px; }
  .newsletter__text { margin-top: 20px; font-size: 15px; }
  .newsletter__content .form { margin-top: 28px; }

  .footer__inner { padding: 40px 20px 32px; }
  .footer__top { flex-direction: column; gap: 48px; }
  .footer__logo { font-size: 28px; margin-bottom: 20px; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .footer__newsletter { margin-top: 64px; }
  .footer__title { font-size: 20px; }
  .footer__copy { margin-top: 40px; font-size: 14px; color: var(--grey-400); }
}

@media (max-width: 420px) {
  .form { flex-direction: column; align-items: stretch; }
  .form .btn { width: 100%; }
}

/* =========================================================
   ===  MULTI-PAGE ADDITIONS  ==============================
   ========================================================= */

html.no-scroll { overflow: hidden; }

/* Image legibility overlays */
.hero__slide .media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.42) 0%, rgba(0,0,0,.12) 38%, rgba(0,0,0,0) 60%);
}
.hero__content { z-index: 1; }
.statement__inner { place-items: start center; padding-top: 150px; }
.statement__inner .media::after { background: rgba(0,0,0,.18); }

/* Buttons */
.btn--dark { background: var(--black); color: var(--white); border: 1px solid var(--black); }
.btn--block { width: 100%; }

/* Header bag badge */
.bag-toggle { position: relative; }
.bag-count {
  position: absolute;
  top: -4px; right: -7px;
  min-width: 17px; height: 17px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--black);
  color: var(--white);
  font-size: 11px;
  line-height: 17px;
  letter-spacing: 0;
  text-align: center;
}
.bag-count[hidden] { display: none; }

/* Shared page heading */
.page-head { padding-top: 120px; padding-bottom: 64px; text-align: center; }
.page-head--left { text-align: left; }
.page-title { font-size: 48px; line-height: 1.1; letter-spacing: -0.03em; }
.page-sub { max-width: 520px; margin: 16px auto 0; color: var(--grey-700); line-height: 1.45; }
.page-head--left .page-sub { margin-left: 0; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px var(--gap);
}

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; font-size: 14px; color: var(--grey-700); }
.crumbs a:hover { color: var(--black); }
.crumbs span:not([aria-current]) { color: var(--grey-400); }

/* =========================================================
   SHOP
   ========================================================= */
.shop {
  display: grid;
  grid-template-columns: 264px 1fr;
  column-gap: 40px;
  padding-top: 120px;
}
.shop__head { grid-column: 2; padding-bottom: 56px; }
.shop__head .page-sub { margin-left: 0; }
.shop__side { grid-column: 1; align-self: start; position: sticky; top: calc(var(--header-h) + 20px); }
.shop__main { grid-column: 2; }
.shop__count { margin-bottom: 16px; font-size: 13px; letter-spacing: 0; text-transform: uppercase; color: var(--grey-600); }

.filter { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--grey-150); }
.filter:last-child { border-bottom: 0; }
.filter .eyebrow { margin-bottom: 16px; }
.search-field {
  display: flex; align-items: center; gap: 10px;
  height: 40px; padding: 0 14px;
  background: var(--grey-100);
  border: 1px solid var(--grey-150);
  color: var(--grey-600);
}
.search-field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 15px; color: var(--black); }
.check { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 15px; cursor: pointer; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check__box { width: 16px; height: 16px; border: 1px solid var(--grey-400); transition: background .2s, border-color .2s; }
.check input:checked + .check__box { background: var(--black); border-color: var(--black); box-shadow: inset 0 0 0 3px var(--white); }
.check input:focus-visible + .check__box { outline: 2px solid var(--black); outline-offset: 2px; }
.empty { grid-column: 1 / -1; padding: 80px 0; text-align: center; color: var(--grey-700); }
.empty .btn { margin-top: 20px; }

/* =========================================================
   PRODUCT
   ========================================================= */
.pdp { padding-top: 80px; }
.pdp__grid { display: grid; grid-template-columns: 1fr 428px; gap: 48px; align-items: start; }
.pdp__gallery { display: grid; gap: var(--gap); }
.pdp__img { aspect-ratio: 928 / 1152; }
.pdp__img--wide { aspect-ratio: 4 / 3; }
.pdp__info { position: sticky; top: calc(var(--header-h) + 20px); }
.pdp__title { font-size: 40px; line-height: 1.1; letter-spacing: -0.03em; }
.pdp__quote { margin-top: 16px; max-width: 380px; color: var(--grey-700); line-height: 1.45; }
.pdp__price { margin-top: 20px; font-size: 24px; letter-spacing: -0.02em; }
.pdp__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; font-size: 14px; color: var(--grey-700); }
.pdp__meta span { display: inline-flex; align-items: center; gap: 8px; }
.swatch { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.pdp__buy { display: flex; gap: 10px; margin-top: 32px; }
.pdp__buy .btn { height: 46px; }


.accordion { margin-top: 36px; border-top: 1px solid var(--grey-150); }
.accordion details, .faq__item { border-bottom: 1px solid var(--grey-150); }
.accordion summary, .faq__item summary {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
}
.accordion summary::-webkit-details-marker, .faq__item summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "";
  width: 8px; height: 8px;
  border-right: 1.3px solid currentColor; border-bottom: 1.3px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
  transition: transform .3s var(--ease);
}
.accordion details[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.accordion details > *:not(summary) { margin: 0 0 18px; color: var(--grey-700); line-height: 1.5; font-size: 15px; }
.accordion a { text-decoration: underline; text-underline-offset: 3px; }
.notes { display: grid; gap: 12px; }
.notes div { display: grid; grid-template-columns: 64px 1fr; gap: 12px; }
.notes span { font-size: 12px; letter-spacing: 0; text-transform: uppercase; color: var(--grey-600); padding-top: 2px; }
.notes p { margin: 0; color: var(--black); }

/* =========================================================
   ABOUT
   ========================================================= */
.about-intro { display: grid; grid-template-columns: 434px 1fr; gap: 64px; align-items: center; }
.about-intro__img { aspect-ratio: 1; }
.values-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px 40px;
  padding: 56px 0;
  border-top: 1px solid var(--grey-150); border-bottom: 1px solid var(--grey-150);
}
.num { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: 0; color: var(--grey-700); }
.value__title { margin-top: 18px; font-size: 20px; letter-spacing: -0.02em; }
.value__text { max-width: 330px; margin-top: 12px; color: var(--grey-600); line-height: 1.45; }

.marquee {
  margin-top: var(--section-space);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track { display: flex; gap: var(--gap); width: max-content; animation: marquee 50s linear infinite; }
.marquee__item { width: 300px; aspect-ratio: 3 / 4; overflow: hidden; background: var(--ph); }
.marquee__item img { width: 100%; height: 100%; object-fit: cover; }
@keyframes marquee { to { transform: translateX(calc(-50% - var(--gap) / 2)); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

.member { background: var(--grey-50); }
.member__img { aspect-ratio: 448 / 530; }
.member__info { padding: 20px 20px 24px; }
.member__name { font-size: 20px; letter-spacing: -0.02em; }
.member__role { margin-top: 12px; font-size: 14px; color: var(--grey-700); }
.member__bio { margin-top: 10px; font-size: 14px; line-height: 1.45; color: var(--grey-600); max-width: 330px; }

/* =========================================================
   SUPPORT
   ========================================================= */
.support { display: grid; justify-items: center; gap: 40px; }
.support__box { width: 100%; max-width: 600px; padding: 40px; background: var(--grey-100); }
.support__form { display: grid; gap: 20px; padding: 32px; background: var(--white); box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06); }
.field { display: grid; gap: 8px; font-size: 14px; }
.field .input { height: 44px; font-size: 15px; padding: 0 14px; background: var(--grey-50); }
.field textarea.input { height: auto; padding: 12px 14px; resize: vertical; }
.field select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--grey-600) 50%), linear-gradient(135deg, var(--grey-600) 50%, transparent 50%); background-position: calc(100% - 18px) 19px, calc(100% - 13px) 19px; background-size: 5px 5px; background-repeat: no-repeat; }
.support__form .btn { height: 44px; margin-top: 4px; }
.form-done { padding: 40px 0; text-align: center; }
.form-done h3 { font-size: 24px; letter-spacing: -0.02em; }
.form-done p { margin-top: 10px; color: var(--grey-700); }

.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); width: 100%; max-width: 600px; }
.info-card { padding: 22px 24px; background: var(--grey-100); }
.info-card h3 { font-size: 18px; letter-spacing: -0.02em; }
.info-card p { margin-top: 10px; font-size: 15px; color: var(--grey-700); }

.faq { max-width: 680px; }
.faq__head { text-align: center; margin-bottom: 40px; }
.faq__item summary { justify-content: flex-start; gap: 14px; font-size: 16px; }
.faq__item summary::before { content: "+"; width: 14px; color: var(--grey-500); font-size: 18px; line-height: 1; transition: transform .3s var(--ease); }
.faq__item[open] summary::before { transform: rotate(45deg); }
.faq__item p { padding: 0 0 20px 28px; color: var(--grey-700); line-height: 1.5; }

/* =========================================================
   JOURNAL
   ========================================================= */
.post-card { display: block; }
.post-card__img { aspect-ratio: 4 / 3; }
.post-card__img img { transition: transform 1s var(--ease); }
.post-card:hover .post-card__img img { transform: scale(1.03); }
.post-card__tag { display: block; margin-top: 18px; font-size: 12px; letter-spacing: 0; text-transform: uppercase; color: var(--grey-600); }
.post-card__title { margin-top: 8px; font-size: 22px; line-height: 1.2; letter-spacing: -0.02em; }
.post-card__text { margin-top: 10px; max-width: 360px; color: var(--grey-700); line-height: 1.45; }

.article { max-width: 760px; margin: 0 auto; padding: 80px var(--gutter) 0; }
.article__title { font-size: 40px; line-height: 1.12; letter-spacing: -0.03em; }
.article__meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 24px 0 28px; }
.author { display: flex; align-items: center; gap: 12px; }
.author__avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--grey-200); font-size: 14px; }
.author strong { display: block; font-weight: 500; font-size: 15px; }
.author span { display: block; font-size: 13px; color: var(--grey-600); }
.article__date { font-size: 14px; color: var(--grey-600); }
.article__img { aspect-ratio: 16 / 10; }
.article__body { padding-top: 40px; }
.article__body p { margin-bottom: 18px; color: var(--grey-700); line-height: 1.6; font-size: 17px; }
.article__body h2 { margin: 40px 0 16px; font-size: 26px; letter-spacing: -0.02em; }

/* =========================================================
   POLICY
   ========================================================= */
.policy { max-width: 680px; margin: 0 auto; padding: 120px var(--gutter) 0; }
.policy .page-title { text-align: center; }
.policy__meta { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); max-width: 360px; margin: 28px auto 56px; }
.policy__meta div { padding: 14px; background: var(--grey-100); text-align: center; }
.policy__meta span { font-size: 12px; letter-spacing: 0; text-transform: uppercase; color: var(--grey-600); }
.policy__meta p { margin-top: 6px; font-size: 15px; }
.policy h2 { margin: 44px 0 16px; font-size: 26px; letter-spacing: -0.02em; }
.policy ul { margin: 0; padding-left: 20px; }
.policy li, .policy > p { margin-bottom: 6px; line-height: 1.55; color: var(--grey-700); }
.policy a { text-decoration: underline; text-underline-offset: 3px; }

/* =========================================================
   BAG DRAWER + TOAST
   ========================================================= */
.drawer { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
.drawer__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.45); opacity: 0; transition: opacity .45s var(--ease); }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  display: flex; flex-direction: column;
  width: min(480px, 100%);
  background: var(--white);
  transform: translateX(100%);
  transition: transform .6s var(--ease);
}
.drawer.is-open { pointer-events: auto; }
.drawer.is-open .drawer__overlay { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }

.drawer__head { display: flex; justify-content: space-between; align-items: center; height: var(--header-h); padding: 0 28px; flex-shrink: 0; }
.drawer__title { font-size: 24px; letter-spacing: -0.03em; }
.drawer__title span { color: var(--grey-600); }
.drawer__close { display: grid; place-items: center; width: 36px; height: 36px; margin-right: -8px; transition: transform .4s var(--ease); }
.drawer__close:hover { transform: rotate(90deg); }

.drawer__ship { padding: 0 28px 20px; flex-shrink: 0; border-bottom: 1px solid var(--grey-150); }
.drawer__ship[hidden] { display: none; }
.drawer__ship p { font-size: 14px; color: var(--grey-700); }
.drawer__ship strong { font-weight: 500; color: var(--black); }
.drawer__bar { height: 2px; margin-top: 12px; background: var(--grey-150); overflow: hidden; }
.drawer__bar span { display: block; height: 100%; background: var(--black); transition: width .6s var(--ease); }

.drawer__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.drawer__items { padding: 0 28px; }

.bag-item { display: grid; grid-template-columns: 96px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--grey-150); }
.bag-item__media { aspect-ratio: 928 / 1152; overflow: hidden; background: var(--ph); }
.bag-item__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.bag-item__media:hover img { transform: scale(1.04); }
.bag-item__info { display: flex; flex-direction: column; min-width: 0; }
.bag-item__top { display: flex; justify-content: space-between; gap: 12px; }
.bag-item__name { font-size: 18px; letter-spacing: -0.02em; }
.bag-item__price { font-size: 16px; }
.bag-item__meta { margin-top: 4px; font-size: 13px; color: var(--grey-600); }
.bag-item__bottom { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 16px; }
.bag-item__remove { font-size: 13px; color: var(--grey-600); transition: color .2s; }
.bag-item__remove:hover { color: var(--black); }

.drawer__upsell { padding: 28px 28px 32px; }
.drawer__upsell:empty { display: none; }
.drawer__upsell-title { margin-bottom: 14px; font-size: 13px; letter-spacing: 0; text-transform: uppercase; color: var(--grey-600); }
.upsell { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.upsell__item { display: flex; flex-direction: column; }
.upsell__media { aspect-ratio: 1; overflow: hidden; background: var(--ph); }
.upsell__media img { width: 100%; height: 100%; object-fit: cover; }
.upsell__name { margin-top: 10px; font-size: 14px; }
.upsell__price { font-size: 13px; color: var(--grey-600); }
.upsell__add {
  margin-top: 10px; height: 30px;
  border: 1px solid var(--grey-200);
  font-size: 12px; letter-spacing: 0; text-transform: uppercase;
  transition: border-color .8s cubic-bezier(.22, 1, .36, 1);
}
.upsell__add:hover { border-color: var(--black); }

.bag-empty { display: grid; justify-items: center; gap: 10px; padding: 72px 0 24px; text-align: center; }
.bag-empty__title { font-size: 22px; letter-spacing: -0.02em; }
.bag-empty__text { max-width: 260px; color: var(--grey-600); font-size: 15px; line-height: 1.45; }
.bag-empty .btn { margin-top: 14px; }

.drawer__foot { flex-shrink: 0; padding: 22px 28px 24px; border-top: 1px solid var(--grey-150); }
.drawer__foot[hidden] { display: none; }
.drawer__row { display: flex; justify-content: space-between; font-size: 18px; letter-spacing: -0.02em; }
.drawer__note { margin: 6px 0 18px; font-size: 13px; color: var(--grey-600); }
.drawer__foot .btn { height: 50px; }
.drawer__continue { display: block; margin: 14px auto 0; font-size: 14px; color: var(--grey-700); text-decoration: underline; text-underline-offset: 4px; }
.drawer__continue:hover { color: var(--black); }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--grey-200); height: 32px; }
.qty button { width: 30px; height: 100%; font-size: 16px; color: var(--grey-700); }
.qty button:hover { color: var(--black); }
.qty span { min-width: 22px; text-align: center; font-size: 14px; }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 120;
  padding: 12px 18px;
  background: var(--black); color: var(--white);
  font-size: 14px;
  opacity: 0; transform: translate(-50%, 10px);
  pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* =========================================================
   SHOP DROPDOWN (mega menu)
   ========================================================= */
.header { z-index: 60; }
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white);
  border-top: 1px solid var(--grey-150);
  box-shadow: 0 24px 40px -24px rgba(0,0,0,.12);
  clip-path: inset(0 0 100% 0);
  opacity: 0;
  visibility: hidden;
  transition: clip-path .55s var(--ease), opacity .3s var(--ease), visibility 0s .55s;
}
.header.mega-open .mega { clip-path: inset(0 0 0 0); opacity: 1; visibility: visible; transition: clip-path .55s var(--ease), opacity .3s var(--ease); }
.mega__inner {
  display: grid; grid-template-columns: 220px 220px 1fr; gap: 40px;
  max-width: var(--max); margin-inline: auto;
  padding: 36px var(--gutter) 44px;
}
.mega__col { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.mega__label { display: block; margin-bottom: 6px; font-size: 13px; letter-spacing: 0; text-transform: uppercase; color: var(--grey-600); }
.mega__link { position: relative; font-size: 18px; letter-spacing: -0.02em; }
.mega__link::after {
  content: ""; position: absolute; left: 0; bottom: -1px; width: 0; height: 1px; background: currentColor;
  transition: width .4s cubic-bezier(.44, 0, .56, 1);
}
.mega__link:hover::after { width: 100%; }
.mega__col .mega__link { opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .5s var(--ease); }
.header.mega-open .mega__col .mega__link { opacity: 1; transform: none; }
.header.mega-open .mega__col .mega__link:nth-child(3) { transition-delay: .04s; }
.header.mega-open .mega__col .mega__link:nth-child(4) { transition-delay: .08s; }
.header.mega-open .mega__col .mega__link:nth-child(5) { transition-delay: .12s; }
.mega__features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); justify-self: end; width: min(100%, 520px); }
.mega__feature { display: block; }
.mega__feature .media { display: block; height: auto; aspect-ratio: 4 / 3; }
.mega__feature img { transition: transform 1s var(--ease); }
.mega__feature:hover img { transform: scale(1.04); }
.mega__feature-title { display: block; margin-top: 10px; font-size: 15px; }
.header.mega-open .nav__link--mega::after { width: 100%; }

/* mobile menu lists */
.mobile-menu__main { display: flex; flex-direction: column; }
.mobile-menu__lists { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--grey-150); }
.mobile-menu__lists div { display: flex; flex-direction: column; gap: 10px; }
.mobile-menu .mobile-menu__lists a { padding: 0; font-size: 16px; letter-spacing: -0.01em; }

/* =========================================================
   MULTI-PAGE — Tablet
   ========================================================= */
@media (max-width: 1199px) {
  .page-title { font-size: 40px; }
  .shop { grid-template-columns: 220px 1fr; column-gap: 28px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .pdp__grid { grid-template-columns: 1fr 360px; gap: 32px; }
  .pdp__title { font-size: 34px; }
  .about-intro { grid-template-columns: 1fr 1fr; gap: 40px; }
  .values-grid { grid-template-columns: 1fr; gap: 32px; padding: 32px 0; }
  .statement__inner { padding-top: 110px; }
}

/* =========================================================
   MULTI-PAGE — Mobile
   ========================================================= */
@media (max-width: 809px) {
  .page-head { padding-top: 64px; padding-bottom: 40px; }
  .page-title { font-size: 32px; }
  .grid-3 { grid-template-columns: 1fr 1fr; gap: 28px var(--gap); }

  .shop { display: block; padding-top: 64px; }
  .shop__head { padding-bottom: 28px; }
  .shop__side { position: static; margin-bottom: 24px; }
  .shop__side .filter { padding-bottom: 14px; margin-bottom: 14px; }
  .shop__side .filter:not(:first-child) { display: flex; flex-wrap: wrap; gap: 4px 18px; }
  .shop__side .filter:not(:first-child) .eyebrow { width: 100%; margin-bottom: 6px; }

  .pdp { padding-top: 32px; }
  .pdp__grid { grid-template-columns: 1fr; gap: 28px; }
  .pdp__gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
  .pdp__gallery::-webkit-scrollbar { display: none; }
  .pdp__img { flex: 0 0 86%; scroll-snap-align: start; }
  .pdp__img--wide { aspect-ratio: 928 / 1152; }
  .pdp__info { position: static; }
  .pdp__title { font-size: 32px; }

  .about-intro { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .marquee__item { width: 200px; }
  .team { grid-template-columns: 1fr; }

  .support__box { padding: 12px; }
  .support__form { padding: 20px; }
  .info-grid { grid-template-columns: 1fr; }

  .journal-grid { grid-template-columns: 1fr; }
  .article { padding-top: 40px; }
  .article__title { font-size: 30px; }
  .article__meta { flex-direction: column; align-items: flex-start; }
  .policy { padding-top: 64px; }
  .policy h2 { font-size: 22px; }

  .statement__inner { padding-top: 70px; }
}

/* =========================================================
   SEARCH MODAL — matches the reference (Framer Site Search,
   QuickMenu layout: 500px, square, top-aligned, 45% backdrop)
   ========================================================= */
.search-modal { position: fixed; inset: 0; z-index: 110; display: flex; justify-content: center; align-items: flex-start; pointer-events: none; }
.search-modal__overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.45);
  opacity: 0;
  transition: opacity .3s cubic-bezier(.2, .8, .2, 1);
}
.search-modal__panel {
  position: relative;
  width: min(500px, calc(100% - 20px));
  margin-top: 10px;
  background: var(--white);
  box-shadow: 0 20px 40px rgba(0,0,0,.2);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .3s cubic-bezier(.2, .8, .2, 1), transform .4s cubic-bezier(.2, .8, .2, 1);
}
.search-modal.is-open { pointer-events: auto; }
.search-modal.is-open .search-modal__overlay { opacity: 1; }
.search-modal.is-open .search-modal__panel { opacity: 1; transform: none; }

.search-modal__bar { display: flex; align-items: center; gap: 12px; padding: 16px 20px; cursor: text; }
.search-modal__bar > svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--grey-200); }
.search-modal__input {
  flex: 1; min-width: 0;
  border: 0; outline: 0; background: transparent;
  font: inherit; font-weight: 400; font-size: 16px; line-height: 2em; letter-spacing: -0.01em;
  color: var(--black);
}
.search-modal__input::placeholder { color: var(--grey-500); }
.search-modal__clear { display: grid; place-items: center; color: var(--grey-400); transition: color .2s; }
.search-modal__clear:hover { color: var(--grey-700); }
.search-modal__clear[hidden] { display: none; }

.search-modal__results { margin: 0; padding: 0; list-style: none; max-height: min(60vh, 420px); overflow-y: auto; }
.search-modal.has-results .search-modal__results { border-top: 1px solid var(--grey-150); }
.search-hit { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px 20px; }
.search-hit::before { content: ""; position: absolute; inset: 0; background: var(--black); opacity: 0; }
.search-hit.is-active::before { opacity: .06; }
.search-hit__title { position: relative; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 16px; font-weight: 400; line-height: 1.4; color: var(--black); }
.search-hit__path { position: relative; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14px; font-weight: 400; line-height: 1.4; color: var(--grey-500); }
.search-empty { padding: 16px 20px; font-size: 14px; color: var(--grey-500); }

@media (max-width: 809px) {
  .search-modal__panel { width: calc(100% - 20px); }
  .mega { display: none; }
  .mobile-menu { max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
}

/* =========================================================
   BLACK FRIDAY ANNOUNCEMENT BAR — a fixed "flag" behind the page.
   The black extends under the header, whose rounded top corners
   let it show through.
   ========================================================= */
:root { --flag-radius: 18px; }
.promo {
  position: relative;
  z-index: 0;
  background: var(--black);
  color: var(--white);
  padding-bottom: var(--flag-radius);
  margin-bottom: calc(var(--flag-radius) * -1);
}
.promo__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  height: 40px;
  padding: 0 24px;
  font-size: 14px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.promo__label { font-weight: 500; }
.promo__text { font-weight: 400; }
.promo__clock { color: rgba(255,255,255,.55); font-weight: 400; font-variant-numeric: tabular-nums; }
.promo__cta { position: relative; font-weight: 500; }
.promo__cta::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: currentColor;
  transform-origin: right;
  transition: transform .5s cubic-bezier(.44, 0, .56, 1);
}
.promo__link:hover .promo__cta::after { transform: scaleX(0); }

/* the page "sheet" under the flag */
.promo + .header {
  border-radius: var(--flag-radius) var(--flag-radius) 0 0;
  transition: border-radius .35s var(--ease);
}
.promo + .header.is-stuck { border-radius: 0; }

/* bag: discount lines */
.drawer__row[hidden] { display: none; }
.drawer__row--sm { margin-bottom: 6px; font-size: 15px; color: var(--grey-700); }
.drawer__row--promo { color: var(--black); }
.drawer__promo { margin-bottom: 10px; padding: 9px 12px; background: var(--black); color: var(--white) !important; font-size: 13px !important; }
.drawer__promo strong { color: var(--white) !important; }

@media (max-width: 809px) {
  :root { --flag-radius: 14px; }
  .promo__link { gap: 12px; height: 38px; padding: 0 16px; font-size: 13px; }
  .promo__cta { display: none; }
}
@media (max-width: 420px) {
  .promo__clock { display: none; }
}


/* =========================================================
   LANGUAGE PICKER
   ========================================================= */
.lang { position: relative; }
.flag {
  display: block;
  width: 18px; height: 18px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(0,0,0,.08);
  flex-shrink: 0;
}
.lang__btn {
  display: flex; align-items: center; gap: 7px;
  height: 32px; padding: 0 4px;
  font-size: 15px; letter-spacing: 0;
}
.lang__btn svg { color: var(--grey-600); transition: transform .35s var(--ease); }
.lang.is-open .lang__btn svg { transform: rotate(180deg); }
.lang__menu {
  position: absolute; top: calc(100% + 12px); right: -8px; z-index: 70;
  width: 220px;
  margin: 0; padding: 6px;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--grey-150);
  box-shadow: 0 20px 40px rgba(0,0,0,.12);
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .25s var(--ease), transform .35s var(--ease), visibility 0s .35s;
}
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .35s var(--ease); }
.lang__opt {
  display: grid; grid-template-columns: 18px 1fr auto; align-items: center; gap: 12px;
  width: 100%;
  padding: 9px 10px;
  text-align: left;
  font-size: 15px;
  transition: background-color .2s;
}
.lang__opt:hover { background: var(--grey-100); }
.lang__iso { font-size: 12px; letter-spacing: 0; color: var(--grey-500); }
.lang__opt.is-current .lang__iso { color: var(--black); }
.lang__opt.is-current .lang__iso::after { content: " ✓"; }

@media (max-width: 809px) {
  .lang__code, .lang__btn svg { display: none; }
  .lang__btn { padding: 0; width: 28px; justify-content: center; }
  .lang__menu { right: -60px; }
}

/* Space above the footer on pages without the newsletter band */
main + .footer { margin-top: var(--section-space); }
