/* ==========================================================
   Discovered By You — AURA
   Black & white. Cormorant Garamond + Inter Tight. No images.
   ========================================================== */

:root {
  --black: #000;
  --white: #fff;
  --grey: #6f6f6f;
  --line: #e2e2e2;
  --soft: #f5f5f5;

  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --announce-h: 2.25rem;
  --header-h: 4.75rem;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font: 400 1rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, dl, dd, fieldset { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
video { display: block; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }

.visually-hidden, .skip-link:not(:focus) {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link { position: fixed; top: .5rem; left: .5rem; z-index: 99; background: #fff; padding: .5rem 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.25rem; padding: 0 2.5rem;
  border: 1px solid; border-radius: 0;
  font: 500 .8125rem/1 var(--sans); letter-spacing: .14em;
  text-decoration: none; cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.btn--black { background: var(--black); color: var(--white); border-color: var(--black); }
.btn--black:hover { background: var(--white); color: var(--black); }
.btn--white { background: var(--white); color: var(--black); border-color: var(--white); }
.btn--white:hover { background: transparent; color: var(--white); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: progress; }
.text-btn { background: none; border: 0; padding: 0; cursor: pointer; font-size: .875rem; text-decoration: underline; text-underline-offset: 4px; }


/* ---------- Scrolling benefits ticker ---------- */
.announce {
  height: var(--announce-h);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--white);
  color: var(--black);
  border-bottom: 1px solid var(--line);
  font-size: .7rem;
  letter-spacing: .14em;
  white-space: nowrap;
}

.announce__track {
  display: flex;
  width: max-content;
  min-width: 100%;
  animation: announce-scroll 24s linear infinite;
  will-change: transform;
}

.announce__group {
  display: flex;
  align-items: center;
  flex: none;
}

.announce__group span {
  display: inline-block;
  padding: 0 1.75rem;
}

@keyframes announce-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .announce__track {
    animation: none;
    transform: none;
  }

  .announce__group[aria-hidden="true"] {
    display: none;
  }
}

@media (max-width: 720px) {
  .announce {
    font-size: .62rem;
    letter-spacing: .1em;
  }

  .announce__group span {
    padding: 0 1rem;
  }
}

/* ---------- Header ---------- */
.header {
  position: absolute; top: var(--announce-h); left: 0; right: 0; z-index: 40;
  height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 var(--gutter);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, .25);
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.header.is-fixed { position: fixed; top: 0; }
.header.is-solid { background: var(--white); color: var(--black); border-bottom-color: var(--line); }

.nav__links { display: flex; gap: 2.25rem; list-style: none; margin: 0; padding: 0; font-size: .8125rem; letter-spacing: .06em; }
.nav__links a { text-decoration: none; }
.nav__links a:hover { text-decoration: underline; text-underline-offset: 6px; }
.nav__toggle { display: none; background: none; border: 0; padding: .5rem 0; cursor: pointer; font-size: .8125rem; letter-spacing: .06em; }

.logo {
  font-family: var(--serif); font-weight: 500;
  font-size: 1.2rem; letter-spacing: .34em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  padding-left: .34em; /* balances the trailing letter-spacing */
}
.bag-btn { justify-self: end; background: none; border: 0; padding: .5rem 0; cursor: pointer; font-size: .8125rem; letter-spacing: .06em; font-variant-numeric: tabular-nums; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: calc(100svh - var(--announce-h));
  min-height: 600px;
  overflow: hidden;
  background: var(--black); color: var(--white);
}
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 25%),
    linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.45) 35%, rgba(0,0,0,0) 65%);
}
.hero__content {
  position: absolute; left: 0; right: 0; bottom: clamp(2.5rem, 7vh, 5rem);
  display: grid; justify-items: center; text-align: center;
  padding: 0 var(--gutter);
}
.hero__kicker { font-size: .8125rem; letter-spacing: .2em; }
.hero__kicker, .hero__title { text-shadow: 0 1px 24px rgba(0,0,0,.35); }
.hero__title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(5rem, 16vw, 13rem);
  line-height: .9; letter-spacing: .18em;
  padding-left: .18em;
  margin: .5rem 0 2rem;
}
.hero__pause {
  position: absolute; right: var(--gutter); bottom: 1.5rem;
  background: none; border: 0; padding: 0; cursor: pointer;
  font-size: .75rem; letter-spacing: .1em; color: rgba(255,255,255,.8);
  text-decoration: underline; text-underline-offset: 4px;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__kicker { animation: in 1s var(--ease) .3s both; }
  .hero__title  { animation: spread 1.8s var(--ease) .1s both; }
  .hero .btn    { animation: in 1s var(--ease) .9s both; }
}
@keyframes in { from { opacity: 0; } to { opacity: 1; } }
@keyframes spread { from { opacity: 0; letter-spacing: .02em; } to { opacity: 1; letter-spacing: .18em; } }

/* ---------- Statement ---------- */
.statement {
  padding: clamp(5rem, 12vw, 10rem) var(--gutter);
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.statement p {
  max-width: 22ch; margin: 0 auto;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2rem, 4.6vw, 3.75rem); line-height: 1.12;
}

/* ---------- Shop ---------- */
.shop { padding: clamp(4rem, 9vw, 8rem) var(--gutter); }
.product {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: start;
}

/* Product video */
.product__media {
  position: sticky; top: calc(var(--header-h) + 2rem);
  aspect-ratio: 3 / 2;
  background: var(--black);
  overflow: hidden;
}
.product__video { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }

.product__info { display: grid; gap: 1.25rem; max-width: 34rem; }
.product__brand { font-size: .75rem; letter-spacing: .2em; color: var(--grey); }
.product__name { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3.4vw, 2.75rem); line-height: 1.1; margin-top: -.5rem; }
.product__price { font-size: 1.125rem; font-variant-numeric: tabular-nums; }
.product__lede { color: #333; line-height: 1.75; }
.product__note { font-size: .8125rem; color: var(--grey); text-align: center; margin-top: -.5rem; }
.product__more { font-size: .9375rem; color: #333; }
.product__more a { color: var(--black); text-underline-offset: 4px; }
.product__sign { font-family: var(--serif); font-size: 1.375rem; line-height: 1.35; margin-top: 1rem; }

.sizes { border: 0; padding: 0; display: flex; align-items: center; gap: 1rem; }
.sizes legend { float: left; font-size: .8125rem; color: var(--grey); margin-right: 1rem; }
.sizes label { position: relative; cursor: pointer; }
.sizes input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.sizes span { display: inline-grid; place-items: center; height: 2.5rem; padding: 0 1.25rem; border: 1px solid var(--line); font-size: .8125rem; }
.sizes input:checked + span { border-color: var(--black); }
.sizes input:focus-visible + span { outline: 1px solid var(--black); outline-offset: 3px; }

/* Accordion */
.accordion { border-top: 1px solid var(--black); margin-top: .5rem; }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.15rem 0; cursor: pointer; list-style: none;
  font-size: .875rem; letter-spacing: .06em;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 1.1rem; font-weight: 300; }
.accordion details[open] summary::after { content: "–"; }
.accordion__body { padding: 0 0 1.5rem; display: grid; gap: 1rem; color: #333; line-height: 1.75; font-size: .9375rem; }
.accordion__body h4 { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; color: var(--black); margin-top: .5rem; margin-bottom: -.5rem; }

.spec > div { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; padding: .6rem 0; border-top: 1px solid var(--line); }
.spec > div:first-child { border-top: 0; }
.spec dt { color: var(--grey); }

/* ---------- Newsletter ---------- */
.newsletter {
  background: var(--black); color: var(--white);
  text-align: center;
  padding: clamp(5rem, 10vw, 8rem) var(--gutter);
}
.newsletter h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.25rem, 5vw, 4rem); line-height: 1.1; }
.newsletter__lede { color: rgba(255,255,255,.75); max-width: 30rem; margin: 1rem auto 2.5rem; }
.news-form { max-width: 46rem; margin: 0 auto; display: grid; gap: 1.25rem; }
.news-form__row { display: grid; grid-template-columns: 1fr 1.4fr auto; border: 1px solid rgba(255,255,255,.6); }
.news-form input[type="text"],
.news-form input[type="email"] {
  min-width: 0; height: 3.25rem; padding: 0 1.25rem;
  background: transparent; color: var(--white);
  border: 0; border-right: 1px solid rgba(255,255,255,.6); border-radius: 0;
  font: inherit; font-size: .9375rem;
}
.news-form input::placeholder { color: rgba(255,255,255,.6); }
.news-form input:focus-visible { outline: 1px solid var(--white); outline-offset: -4px; }
.news-form input[aria-invalid="true"] { background: rgba(255,255,255,.08); }
.news-form .btn { min-height: 3.25rem; }
.check { display: flex; justify-content: center; gap: .65rem; font-size: .8125rem; color: rgba(255,255,255,.75); cursor: pointer; text-align: left; }
.check input { accent-color: var(--white); width: 1rem; height: 1rem; margin: .2rem 0 0; flex: none; }
.form-status { min-height: 1.5em; font-size: .9375rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.footer { padding: 4.5rem var(--gutter) 2.5rem; text-align: center; display: grid; gap: 1.5rem; justify-items: center; }
.footer__logo { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; letter-spacing: .34em; padding-left: .34em; text-transform: uppercase; text-decoration: none; }
.footer__contact a { text-decoration: none; border-bottom: 1px solid; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 2rem; list-style: none; margin: 0; padding: 0; font-size: .8125rem; }
.footer__links a { text-decoration: none; color: var(--grey); }
.footer__links a:hover { color: var(--black); }
.footer__legal { font-size: .75rem; color: var(--grey); padding-top: 1.5rem; border-top: 1px solid var(--line); width: 100%; max-width: 1280px; }

/* ---------- Dialogs ---------- */
dialog { border: 0; padding: 0; background: var(--white); color: var(--black); }
dialog::backdrop { background: rgba(0,0,0,.55); }
.dialog-head { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 1.75rem; border-bottom: 1px solid var(--line); }
.dialog-head h2 { font-family: var(--serif); font-weight: 400; font-size: 1.75rem; }

.drawer { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(420px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh; display: none; flex-direction: column; }
.drawer[open] { display: flex; }
@media (prefers-reduced-motion: no-preference) { .drawer[open] { animation: slide .45s var(--ease); } }
@keyframes slide { from { transform: translateX(100%); } to { transform: none; } }

.drawer__body { flex: 1; overflow-y: auto; padding: 0 1.75rem; }
.bag-empty { padding: 2rem 0; color: var(--grey); }
.bag-list { list-style: none; margin: 0; padding: 0; }
.bag-item { display: grid; grid-template-columns: 1fr auto; gap: 1rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.bag-item__name { font-family: var(--serif); font-size: 1.5rem; letter-spacing: .1em; line-height: 1.1; }
.bag-item__meta { font-size: .8125rem; color: var(--grey); }
.bag-item__price { font-variant-numeric: tabular-nums; }
.qty { display: inline-flex; align-items: center; margin-top: .75rem; border: 1px solid var(--line); }
.qty button { width: 2.25rem; height: 2.25rem; background: none; border: 0; cursor: pointer; }
.qty output { min-width: 2rem; text-align: center; font-size: .875rem; }
.bag-item .text-btn { display: block; margin-top: .6rem; font-size: .75rem; color: var(--grey); }
.drawer__foot { padding: 1.5rem 1.75rem 1.75rem; border-top: 1px solid var(--black); display: grid; gap: .75rem; }
.drawer__foot[hidden] { display: none; }
.bag-row { display: flex; justify-content: space-between; font-variant-numeric: tabular-nums; }
.bag-note { font-size: .8125rem; color: var(--grey); }

.pay { width: min(600px, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); overflow-y: auto; }
.pay__mount { padding: 1.5rem 1.75rem 2rem; min-height: 320px; }
.pay__status { color: var(--grey); }

.confirm { width: min(460px, calc(100vw - 2rem)); padding: 3rem 2.5rem; text-align: center; }
.confirm[open] { display: grid; gap: 1.25rem; justify-items: center; }
.confirm h2 { font-family: var(--serif); font-weight: 300; font-size: 2.75rem; }
.confirm p { color: #333; }


/* ==========================================================
   Unique Perfume Bottle page (unique-perfume-bottle.html)
   ========================================================== */
/* Longer H1 in the homepage hero style */
.hero__title--long {
  font-size: clamp(2.75rem, 8vw, 7.5rem);
  line-height: 1;
  letter-spacing: .08em;
  padding-left: .08em;
}
/* Taller text block, so the shade reaches higher for legibility */
.hero--long .hero__shade {
  background:
    linear-gradient(to bottom, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 25%),
    linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,0) 80%);
}
@media (prefers-reduced-motion: no-preference) {
  .hero__title--long { animation-name: spread-long; }
}
@keyframes spread-long { from { opacity: 0; letter-spacing: 0; } to { opacity: 1; letter-spacing: .08em; } }

.statement--page { display: grid; gap: 2rem; justify-items: center; }
.statement__body { max-width: 38rem; display: grid; gap: 1rem; color: #333; line-height: 1.8; font-size: 1.0625rem; }
.statement__body p { font-family: var(--sans); font-size: inherit; font-weight: 400; max-width: none; line-height: inherit; }
.crumbs { font-size: .75rem; letter-spacing: .08em; color: var(--grey); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 4px; }

.prose-section { padding: clamp(4rem, 8vw, 6.5rem) var(--gutter); }
.prose-section--rule { border-top: 1px solid var(--line); }
.prose { max-width: 46rem; margin: 0 auto; color: #333; line-height: 1.8; font-size: 1.0625rem; }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 {
  font-family: var(--serif); font-weight: 400; color: var(--black);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.12;
}
.prose > * + h2 { margin-top: 3.5rem; }
.prose a { color: var(--black); text-underline-offset: 4px; }
.prose ul { padding-left: 1.1rem; }
.prose li + li { margin-top: .5rem; }
.prose strong { color: var(--black); font-weight: 500; }
.inline-cta a { font-weight: 500; }

.shop .product__name { margin-top: 0; }
.stock { font-size: .875rem; }
.stock::before { content: ""; display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; background: var(--black); margin-right: .6rem; vertical-align: .1em; }
.ticks { list-style: none; margin: .5rem 0 0; padding: 1.25rem 0 0; border-top: 1px solid var(--line); display: grid; gap: .55rem; font-size: .9375rem; color: #333; }
.ticks li { padding-left: 1.5rem; position: relative; }
.ticks li::before { content: "—"; position: absolute; left: 0; color: var(--grey); }

.faq { margin-top: 2rem; }
.faq summary { font-family: var(--serif); font-size: 1.3rem; letter-spacing: 0; line-height: 1.3; gap: 1.5rem; color: var(--black); }

.closing { background: var(--black); color: var(--white); text-align: center; padding: clamp(4rem, 9vw, 7rem) var(--gutter); display: grid; justify-items: center; gap: 1rem; }
.closing__title { font-family: var(--serif); font-weight: 300; font-size: clamp(2.25rem, 5vw, 3.75rem); line-height: 1.05; }
.closing__meta { font-size: .8125rem; letter-spacing: .14em; color: rgba(255,255,255,.75); margin-bottom: 1rem; }


/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .product { grid-template-columns: 1fr; }
  .product__media { position: static; }
}
@media (max-width: 720px) {
  :root { --header-h: 4rem; }
  .header { grid-template-columns: auto 1fr auto; gap: .75rem; }
  .logo { justify-self: center; font-size: .85rem; letter-spacing: .22em; padding-left: .22em; }
  .nav__toggle { display: block; }
  .nav__links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--white); color: var(--black);
    padding: .5rem var(--gutter) 1rem; border-bottom: 1px solid var(--line);
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { display: block; padding: .8rem 0; font-size: 1rem; }
  .news-form__row { grid-template-columns: 1fr; }
  .news-form input[type="text"], .news-form input[type="email"] { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.6); }
  .hero__video { object-position: 38% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
