/* Phone layout: one shared gutter, one vertical rhythm, no offset editorial columns. */
@media (max-width: 650px) {
  :root {
    --gutter: clamp(20px, 5.5vw, 24px);
    --phone-inset-left: max(var(--gutter), env(safe-area-inset-left));
    --phone-inset-right: max(var(--gutter), env(safe-area-inset-right));
  }

  html { scroll-padding-top: 64px; }
  body { width: 100%; max-width: 100%; overflow-x: hidden; }
  main, section, header, footer, article, .section-grid > * { min-width: 0; }

  .header {
    height: 60px;
    padding-inline: var(--phone-inset-left) var(--phone-inset-right);
  }
  .wordmark { font-size: 11px; letter-spacing: .2em; }
  .main-nav {
    top: 60px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 10px var(--gutter) 16px;
    border: 0;
    border-bottom: 1px solid rgba(239, 214, 193, .16);
    background: linear-gradient(180deg, rgba(31, 24, 22, .98), rgba(25, 20, 19, .96));
    box-shadow: 0 22px 44px rgba(8, 6, 6, .22);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-9px);
    clip-path: inset(0 0 100% 0);
    transition: opacity .28s ease, transform .42s cubic-bezier(.2,.75,.25,1),
      clip-path .42s cubic-bezier(.2,.75,.25,1), visibility 0s linear .42s;
  }
  .main-nav.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    clip-path: inset(0 0 0 0);
    transition-delay: 0s;
  }
  .main-nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(239, 214, 193, .09);
    font-size: 8px;
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity .28s ease, transform .36s cubic-bezier(.2,.75,.25,1), color .2s;
  }
  .main-nav a:last-child { border-bottom: 0; }
  .main-nav.open a { opacity: 1; transform: translateY(0); }
  .main-nav.open a:nth-child(1) { transition-delay: .07s; }
  .main-nav.open a:nth-child(2) { transition-delay: .13s; }
  .main-nav.open a:nth-child(3) { transition-delay: .19s; }
  .header-right { gap: 8px; margin: 0 0 0 auto; }
  .languages { gap: 0; padding: 2px; }
  .language { padding: 4px 5px; font-size: 7px; }
  .bag-button { gap: 5px; font-size: 7px; }
  .menu-button {
    position: relative;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    transition: transform .3s ease;
  }
  .menu-button:hover { background: transparent; }
  .menu-button span {
    position: absolute;
    width: 17px;
    height: 1px;
    margin: 0;
    border-radius: 2px;
    background: var(--cream);
    transition: transform .42s cubic-bezier(.2,.8,.2,1), width .3s ease, background .3s ease;
  }
  .menu-button span:first-child { transform: translateY(-3px); }
  .menu-button span:last-child { transform: translateY(3px); }
  .menu-button[aria-expanded="true"] { background: transparent; }
  .menu-button[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
  .menu-button:focus-visible { outline: 1px solid #d39a7f; outline-offset: 3px; }

  .hero { height: auto; min-height: 0; max-height: none; }
  .hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    height: auto;
    padding: 84px var(--phone-inset-right) 34px var(--phone-inset-left);
  }
  .hero-copy, .hero-description { width: 100%; max-width: 100%; }
  .eyebrow { gap: 6px; font-size: 6px; letter-spacing: .05em; }
  .eyebrow-rule { width: 18px; margin-left: 0; }
  .hero .overline { margin: 27px 0 13px; font-size: 7px; }
  .hero h1 { font-size: clamp(46px, 12.8vw, 68px); line-height: .94; }
  .hero-description { margin: 15px 0 17px; font-size: 10px; line-height: 1.7; }
  .hero-actions { gap: 12px; flex-wrap: wrap; }
  .button { min-width: 146px; height: 42px; padding-inline: 12px; gap: 12px; font-size: 6px; }
  .price { font-size: 7px; }
  .hero-note { margin-top: 19px; font-size: 10px; }
  .product-scene {
    width: 100%;
    height: clamp(250px, 76vw, 350px);
    min-height: 0;
    margin: 0;
    transform: none;
  }
  .product-bottle { width: clamp(142px, 45vw, 194px); height: 68%; top: 16%; }
  .scene-type {
    left: 0; top: 9%; width: 100%; padding: 0;
    text-align: left; font-size: clamp(31px, 10vw, 46px);
    line-height: .82; letter-spacing: -.055em; white-space: nowrap;
  }
  .scene-type i { padding-left: 0; }
  .scene-moon { width: min(66vw, 260px); left: 17%; top: 10%; }
  .scene-orbit { width: 94%; left: 3%; }
  .orbit-b { width: 86%; left: 7%; }
  .orbit-c { width: 76%; left: 12%; }
  .index-left { left: 1%; bottom: 18%; font-size: 5px; }
  .index-right { right: 1%; top: 10%; font-size: 5px; }
  .hero-footer {
    left: var(--phone-inset-left); right: var(--phone-inset-right); bottom: 10px;
    display: grid; grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px; padding: 0; font-size: 5px;
  }
  .hero-footer > span:first-child { display: none; }
  .footer-scroll { justify-content: flex-start; gap: 7px; }
  .footer-scroll i { width: 20px; }

  .night-ticker { height: 40px; font-size: 6px; }
  .ticker-track i { padding-inline: 9px; }
  .ticker-seal { right: var(--phone-inset-right); width: 27px; height: 27px; font-size: 5px; }

  .section-label { width: 100%; gap: 8px; padding-top: 0; font-size: 6px; letter-spacing: .07em; }
  .section-pad { padding: 46px var(--phone-inset-right) 42px var(--phone-inset-left); }
  .fragrance { padding: 43px var(--phone-inset-right) 48px var(--phone-inset-left); }
  .section-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    width: 100%;
  }
  .section-grid > .section-label,
  .section-grid > .fragrance-main,
  .section-grid > .fragrance-aside { grid-column: 1; width: 100%; }
  .section-grid > .fragrance-main { padding-top: 29px; }
  .fragrance h2,
  .notes-heading h2,
  .origin-copy h2,
  .ingredients-heading h2,
  .ritual h2,
  .shop-heading h2 {
    max-width: 100%;
    font-size: clamp(32px, 8.9vw, 46px);
    line-height: 1.03;
    letter-spacing: -.045em;
    overflow-wrap: normal;
  }
  .fragrance-main .overline,
  .notes-heading .overline,
  .ingredients-heading .overline,
  .shop-heading .overline,
  .origin-copy .overline,
  .ritual-copy .overline { margin-bottom: 13px; font-size: 7px; }
  .fragrance-bottom { display: grid; grid-template-columns: minmax(0, 1fr); gap: 15px; margin-top: 21px; }
  .fragrance-bottom p { max-width: 48ch; margin: 0; font-size: 10px; line-height: 1.75; }
  .add-button { justify-self: start; font-size: 7px; }
  .section-grid > .fragrance-aside {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding-top: 25px;
  }
  .aside-image { height: clamp(125px, 39vw, 160px); }
  .aside-quote { margin: 0; font-size: clamp(15px, 4.5vw, 19px); }
  .aside-byline { grid-column: 2; margin: -3px 0 0; font-size: 5px; line-height: 1.5; }

  .notes-top {
    display: grid; grid-template-columns: minmax(0, 1fr); gap: 25px;
    padding: 49px var(--phone-inset-right) 25px var(--phone-inset-left);
  }
  .notes-heading { width: 100%; max-width: none; margin: 0; }
  .notes-heading h2 { font-size: clamp(30px, 8.2vw, 44px); }
  .notes-intro { max-width: 42ch; margin-top: 13px; font-size: 9px; line-height: 1.7; }
  .notes-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 9px; padding: 0 var(--phone-inset-right) 0 var(--phone-inset-left); }
  .note-card { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); min-height: 150px; }
  .note-art { height: auto; min-height: 150px; }
  .note-info { min-width: 0; padding: 14px 12px; }
  .note-category { font-size: 6px; }
  .note-info h3 { margin: 10px 0 12px; font-size: clamp(22px, 6.4vw, 29px); }
  .note-info p { font-size: 6px; line-height: 1.6; overflow-wrap: anywhere; }
  .note-index { top: 10px; left: 9px; font-size: 5px; }
  .notes-bottom {
    display: grid; grid-template-columns: minmax(0, 1fr); gap: 7px;
    padding: 16px var(--phone-inset-right) 20px var(--phone-inset-left);
    font-size: 5px; line-height: 1.6;
  }

  .origin { padding: 46px var(--phone-inset-right) 22px var(--phone-inset-left); }
  .origin-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "art" "copy";
    gap: 23px;
    width: 100%; margin: 0; padding: 25px 0 22px;
  }
  .origin-art { grid-area: art; width: 100%; height: auto; min-height: 0; aspect-ratio: 1.15; }
  .origin-copy { grid-area: copy; width: 100%; min-width: 0; }
  .origin-copy h2 { max-width: 13ch; }
  .origin-copy > p:not(.overline) { max-width: 48ch; margin: 15px 0; font-size: 9px; line-height: 1.75; overflow-wrap: normal; }
  .origin-time { font-size: clamp(48px, 15vw, 67px); }
  .origin-foot {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
    gap: 8px 10px; width: 100%; padding-top: 12px; font-size: 5px; letter-spacing: .06em;
  }
  .origin-foot span:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }

  .ingredients { padding: 46px var(--phone-inset-right) 42px var(--phone-inset-left); }
  .ingredients-heading,
  .shop-heading {
    display: grid; grid-template-columns: minmax(0, 1fr); gap: 13px;
    width: 100%; margin: 29px 0 22px;
  }
  .ingredients-heading > p,
  .shop-heading > p { width: 100%; max-width: 42ch; margin: 0; font-size: 10px; line-height: 1.7; }
  .ingredient-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .ingredient-card { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .ingredient-art { width: 100%; height: auto; min-height: 0; aspect-ratio: 1.3; }
  .ingredient-copy { min-width: 0; padding: 17px 16px 19px; }
  .ingredient-family { font-size: 6px; }
  .ingredient-copy h3 { margin: 8px 0 6px; font-size: 23px; }
  .ingredient-copy p { max-width: 48ch; margin: 0; font-size: 9px; line-height: 1.7; overflow-wrap: normal; }
  .ingredient-origin { left: 12px; bottom: 11px; font-size: 5px; }
  .ingredient-number { left: 12px; top: 11px; }
  .ingredient-footer {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px;
    margin-top: 17px; font-size: 5px; letter-spacing: .05em; line-height: 1.6;
  }

  .ritual { padding: 46px var(--phone-inset-right) 22px var(--phone-inset-left); }
  .ritual-layout {
    display: grid; grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "copy" "art"; gap: 22px;
    width: 100%; margin: 0; padding: 25px 0 22px;
  }
  .ritual-copy { grid-area: copy; width: 100%; }
  .ritual-copy > p:not(.overline) { max-width: 48ch; margin: 15px 0; font-size: 9px; line-height: 1.75; }
  .ritual-art { grid-area: art; width: 100%; height: auto; min-height: 0; aspect-ratio: 1.18; }
  .ritual-vessel { width: 30%; height: 59%; left: 35%; top: 24%; }
  .ritual-footer {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 10px;
    font-size: 5px; letter-spacing: .05em; line-height: 1.6;
  }
  .ritual-footer span:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }

  .shop { padding: 46px var(--phone-inset-right) 42px var(--phone-inset-left); }
  .shop-heading { margin: 29px 0 22px; }
  .shop-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .shop-card { width: 100%; min-width: 0; }
  .shop-card:nth-child(3) { grid-column: auto; width: 100%; justify-self: stretch; }
  .shop-art { width: 100%; height: auto; min-height: 0; aspect-ratio: 1.12; }
  .shop-art:after { inset: 8px; }
  .shop-number { top: 12px; left: 13px; font-size: 6px; }
  .shop-edition { top: 13px; right: 13px; max-width: 58%; text-align: right; white-space: normal; font-size: 5px; line-height: 1.5; }
  .shop-side-note { left: 13px; bottom: 14px; max-width: 52%; white-space: normal; font-size: 5px; line-height: 1.5; }
  .shop-meta { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 8px; min-height: 0; padding: 13px 2px 12px; }
  .shop-meta > div { min-width: 0; }
  .shop-meta > span { padding: 13px 0 0; font-size: 8px; }
  .shop-type { font-size: 6px; letter-spacing: .06em; line-height: 1.5; }
  .shop-meta h3 { margin: 5px 0 4px; font-size: 21px; }
  .shop-blurb { font-size: 8px; line-height: 1.55; overflow-wrap: normal; }
  .shop-add { padding: 11px 2px; font-size: 6px; }
  .shop-promise { gap: 9px; margin-top: 27px; font-size: 5px; line-height: 1.6; text-align: center; }

  .footer { padding: 22px var(--phone-inset-right) 18px var(--phone-inset-left); }
  .footer-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding-bottom: 16px; }
  .footer-top p { grid-column: 1 / -1; width: 100%; margin: 0; font-size: 12px; }
  .back-top { font-size: 6px; }
  .footer-bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; font-size: 5px; line-height: 1.6; }
  .footer-bottom span:last-child { grid-column: 1 / -1; }
  .toast { right: var(--phone-inset-right); bottom: 14px; left: var(--phone-inset-left); text-align: center; }
}

@media (max-width: 360px) {
  :root { --gutter: 18px; }
  .wordmark { font-size: 9px; letter-spacing: .17em; }
  .header-right { gap: 4px; }
  .language { padding: 4px; font-size: 6px; }
  .bag-button { font-size: 6px; }
  .hero-inner { padding-top: 78px; }
  .hero h1 { font-size: clamp(43px, 14vw, 48px); }
  .product-scene { height: 248px; }
  .product-bottle { width: 138px; }
  .scene-type { font-size: 30px; }
  .note-card { grid-template-columns: minmax(0, .76fr) minmax(0, 1fr); }
  .note-info { padding: 12px 10px; }
  .note-info h3 { font-size: 22px; }
  .ingredient-copy { padding: 15px 14px 17px; }
  .shop-art { aspect-ratio: 1.02; }
  .shop-grid { gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none !important; }
  .main-nav, .main-nav a, .menu-button, .menu-button span { transition-duration: .01ms !important; }
}
