/* Intentional layout changes for touch screens and narrow viewports. */
@media (max-width: 900px) {
  .header-inner { min-height: 74px; }
  .brand-mark__word strong { font-size: 16px; }
  .primary-nav__list { gap: 21px; }
  .header-actions { gap: 2px; }
  .hero { min-height: 565px; gap: 30px; }
  .hero__copy h1 { font-size: clamp(44px, 6.2vw, 64px); }
  .hero__visual { padding-inline: 8px; }
  .hero__note--top { inset-inline-start: -8px; }
  .hero__note--bottom { inset-inline-end: -8px; }
  .notes-section { gap: 42px; }
  .editorial { gap: 33px; }
  .editorial-card { min-height: 235px; padding: 12px; }
  .editorial-card img { width: 77px; }
  .catalog-tools { grid-template-columns: 1fr; gap: 18px; }
  .filters { align-items: end; }
  .contact-layout { gap: 40px; }
  .footer-main { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-main .footer-column:last-child { grid-column: 2 / -1; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 76px; }
  .section-wrap, .footer-inner { width: calc(100% - 38px); }
  .header-inner { width: calc(100% - 36px); min-height: 69px; justify-content: space-between; gap: 14px; }
  .brand-mark { gap: 8px; }
  .brand-mark__glyph { width: 34px; height: 34px; font-size: 18px; }
  .brand-mark__word strong { font-size: 15px; }
  .brand-mark__word small { font-size: 6px; }
  .primary-nav { position: absolute; top: calc(100% + 1px); inset-inline: 0; display: block; padding: 0 18px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-soft); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .22s ease, transform .22s ease, visibility .22s ease; }
  .site-header.menu-open .primary-nav { opacity: 1; visibility: visible; transform: translateY(0); }
  .primary-nav__list { display: grid; gap: 0; padding-block: 8px 4px; }
  .primary-nav__list li { border-bottom: 1px solid var(--line); }
  .primary-nav__list li:last-child { border-bottom: 0; }
  .primary-nav__link { width: 100%; min-height: 47px; justify-content: flex-start; color: var(--ink); font-size: 13px; }
  .primary-nav__link::after { display: none; }
  .primary-nav__link[aria-current="page"] { color: var(--lavender-deep); }
  .header-actions { gap: 5px; }
  .header-actions > .search-toggle, .header-actions > .theme-toggle { display: none; }
  .menu-toggle { display: grid; width: 40px; height: 40px; }
  .menu-toggle svg { width: 21px; height: 21px; }
  .mobile-tools { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-block: 9px 13px; border-top: 1px solid var(--line); }
  .mobile-tools button { display: inline-flex; align-items: center; gap: 9px; min-height: 40px; padding: 0 11px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 10px; }
  .mobile-tools button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
  .header-search-panel { inset-inline: 12px; top: calc(100% + 8px); width: auto; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 32px; min-height: 0; padding-block: 45px 42px; }
  .hero__copy { max-width: 640px; padding: 0; }
  .hero__copy h1 { font-size: clamp(46px, 10vw, 68px); }
  .hero__lead { max-width: 520px; font-size: 13px; }
  .hero__footnote { margin-top: 30px; }
  .hero__visual { width: min(100%, 560px); padding: 0 9px 18px; }
  .hero__image-frame { aspect-ratio: 1.12 / 1; }
  .hero__orbit--one { width: 78px; height: 78px; inset-inline-start: -4px; }
  .hero__orbit--two { width: 120px; height: 120px; inset-inline-end: -3px; }
  .hero__note { padding: 6px 8px; font-size: 8px; }
  .hero__note--top { inset-inline-start: -5px; inset-block-start: 14%; }
  .hero__note--bottom { inset-inline-end: -4px; inset-block-end: 15%; }
  .intro-strip { gap: 12px; padding-block: 15px; font-size: 9px; }
  .intro-strip__rule { width: 20px; }
  .intro-strip__mark { font-size: 17px; }
  .section { padding-block: 72px; }
  .section-heading { align-items: flex-end; gap: 18px; margin-bottom: 24px; }
  .section-heading h2 { font-size: clamp(27px, 6vw, 36px); }
  .section-heading__aside { max-width: 175px; font-size: 10px; }
  .product-grid, .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-grid--featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .perfume-card__body { padding: 13px 11px 11px; }
  .perfume-card__brand { font-size: 7px; letter-spacing: .12em; }
  .perfume-card__name { min-height: 0; font-size: 14px; overflow-wrap: anywhere; }
  .perfume-card__meta { flex-wrap: wrap; gap: 5px; margin-block: 5px 7px; font-size: 9px; }
  .perfume-card__description { min-height: 52px; font-size: 10px; line-height: 1.8; }
  .note-chips { gap: 4px; margin-bottom: 9px; }
  .note-chip { gap: 3px; min-height: 23px; padding: 1px 5px; font-size: 8px; }
  .note-chip img { width: 18px; height: 18px; }
  .perfume-card__button { min-height: 34px; font-size: 10px; }
  .perfume-card__button span:last-child { width: 22px; height: 22px; }
  .perfume-card__badge { inset-block-start: 9px; inset-inline-start: 9px; padding: 3px 6px; font-size: 8px; }
  .perfume-card__family { inset-block-start: 9px; inset-inline-end: 8px; font-size: 8px; }
  .family-section { margin-top: 35px; padding-block: 53px 58px; }
  .family-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .family-tile { min-height: 145px; padding: 12px 10px; }
  .family-tile strong { font-size: 15px; }
  .family-tile small { max-width: 90px; font-size: 8px; }
  .family-tile__icon { inset-inline-end: 4px; inset-block-start: 22px; width: 49px; }
  .family-tile__index { inset-block-start: 9px; inset-inline-start: 9px; font-size: 8px; }
  .family-tile__arrow { inset-inline-end: 9px; inset-block-end: 9px; }
  .notes-section { grid-template-columns: 1fr; gap: 27px; padding-block: 76px; }
  .notes-section__intro h2 { font-size: 37px; }
  .note-board { gap: 8px; padding: 12px; }
  .note-board__item { min-height: 120px; padding: 10px; }
  .note-board__item img { width: 63px; }
  .manifesto { padding-block: 69px 64px; }
  .manifesto h2 { margin-bottom: 29px; font-size: 34px; }
  .manifesto__ornament { inset-inline-end: -35px; inset-block-start: 30px; width: 95px; height: 95px; }
  .value-grid { grid-template-columns: 1fr; gap: 8px; max-width: 460px; }
  .value-card { padding: 12px 14px; border-inline-start: 0; border-bottom: 1px solid var(--line); }
  .value-card:last-child { border: 0; }
  .value-card h3 { margin: 8px 0 4px; }
  .value-card p { font-size: 10px; }
  .story-section { grid-template-columns: 1fr; gap: 37px; padding-block: 76px; }
  .story-section__visual { width: min(100%, 470px); margin-inline: auto; padding-inline: 12px; }
  .story-art { aspect-ratio: 1.08 / 1; }
  .story-section__side-note { inset-inline-start: -1px; }
  .story-section__copy h2 { font-size: 39px; }
  .editorial { grid-template-columns: 1fr; gap: 25px; padding-block: 35px 76px; }
  .editorial__cards { gap: 8px; }
  .editorial-card { min-height: 200px; padding: 10px; }
  .editorial-card img { width: 62px; inset-block-start: 25px; }
  .editorial-card strong { font-size: 14px; }
  .editorial-card small { font-size: 8px; }
  .contact-banner { align-items: flex-start; flex-direction: column; gap: 17px; margin-bottom: 60px; padding: 23px 20px; }
  .contact-banner__mark { inset-inline-end: -8px; inset-block-start: -34px; font-size: 105px; }
  .contact-banner h2 { font-size: 25px; }
  .contact-banner .button { min-height: 46px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-bottom: 34px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 360px; }
  .footer-main .footer-column:last-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 7px; }
  .catalog-page, .contact-page { padding-top: 44px; padding-bottom: 65px; }
  .page-intro { align-items: flex-start; padding-bottom: 27px; }
  .page-intro__aside { display: none; }
  .page-intro h1 { font-size: clamp(42px, 9vw, 61px); }
  .page-intro__copy > p:last-child { font-size: 12px; }
  .catalog-tools { padding-block: 20px 15px; gap: 14px; }
  .filters { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .filter-reset { justify-self: start; grid-column: 1 / -1; min-height: 30px; }
  .catalog-result-line { align-items: flex-start; flex-direction: column; gap: 3px; padding-block: 10px 13px; }
  .catalog-grid { padding-top: 14px; }
  .catalog-disclaimer { margin-top: 24px; padding: 11px; }
  .catalog-disclaimer p { font-size: 9px; }
  .breadcrumbs { padding-block: 17px; font-size: 9px; }
  .product-detail__top { grid-template-columns: 1fr; gap: 28px; padding-block: 0 35px; }
  .product-detail__visual { min-height: 350px; max-height: 440px; }
  .product-detail__visual img { height: 340px; }
  .product-detail__copy { padding-inline: 3px; }
  .product-detail__name { font-size: 43px; }
  .product-detail__description { font-size: 13px; }
  .product-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 35px; }
  .product-spec:nth-child(2) { border-inline-start: 0; }
  .product-spec:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .note-pyramid { padding: 25px 16px; }
  .note-pyramid__heading { align-items: flex-start; flex-direction: column; gap: 5px; }
  .note-groups { grid-template-columns: 1fr; }
  .note-group { min-height: 0; }
  .related-section { padding-top: 58px; }
  .product-grid--related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .modal-backdrop { align-items: end; padding: 0; }
  .perfume-modal { width: 100%; max-height: 94vh; border-bottom: 0; }
  .modal-close { inset-inline-start: 10px; inset-block-start: 10px; }
  .modal-detail { padding: 15px 16px 24px; }
  .modal-detail__top { grid-template-columns: 1fr; gap: 18px; }
  .modal-detail__visual { min-height: 270px; max-height: 310px; }
  .modal-detail__visual img { height: 260px; }
  .modal-detail__copy { padding-top: 4px; }
  .modal-detail__copy h2 { font-size: 31px; }
  .modal-detail .note-groups { gap: 8px; }
  .modal-detail .note-group { min-height: 0; }
  .modal-detail .note-pyramid { padding: 15px; }
  .about-hero { grid-template-columns: 1fr; gap: 30px; padding-block: 44px 57px; }
  .about-hero__copy h1 { font-size: clamp(45px, 10vw, 66px); }
  .about-hero__copy > p:not(.eyebrow) { font-size: 12px; }
  .about-hero__image, .about-hero__image img { min-height: 310px; max-height: 430px; }
  .about-statement { padding-block: 49px 54px; }
  .about-statement h2 { font-size: clamp(26px, 6vw, 38px); }
  .about-statement h2 br { display: none; }
  .about-pillars { grid-template-columns: 1fr; gap: 10px; padding-block: 45px 60px; }
  .pillar-card { min-height: 230px; padding: 20px; }
  .pillar-card h3 { margin-top: 66px; }
  .pillar-card img { width: 62px; }
  .process-section { padding-block: 54px; }
  .process-timeline { grid-template-columns: 1fr; gap: 0; margin-top: 31px; }
  .process-step, .process-step:first-child, .process-step:last-child { min-height: 107px; padding: 0 18px 20px 0; border-inline-start: 1px solid var(--line-strong); }
  .process-step:last-child { border: 0; min-height: 77px; }
  .process-step i { inset-inline-end: -4px; }
  .process-step:last-child i { display: block; }
  .about-note { grid-template-columns: 1fr; gap: 20px; padding-block: 56px; }
  .about-note__shape { width: 73px; height: 73px; font-size: 24px; }
  .page-intro--contact { min-height: 0; }
  .contact-intro-art { display: none; }
  .demo-alert { margin-block: 18px 25px; }
  .contact-layout { grid-template-columns: 1fr; gap: 37px; }
  .contact-details h2 { margin-bottom: 14px; font-size: 30px; }
  .contact-form { padding: 23px 18px 20px; }
  .contact-form__heading h2 { font-size: 24px; }
  .form-privacy { display: block; margin: 11px 0 0; }
  .contact-bottom-note { padding-top: 45px; }
}

@media (max-width: 500px) {
  .section-wrap, .footer-inner { width: calc(100% - 30px); }
  .header-inner { width: calc(100% - 28px); }
  .hero { padding-top: 36px; }
  .hero__copy h1 { font-size: clamp(43px, 12vw, 57px); }
  .hero__lead { font-size: 12px; }
  .hero__actions { gap: 13px 17px; }
  .button { min-height: 48px; padding-inline: 17px; font-size: 11px; }
  .button--text { padding-inline: 3px; }
  .hero__footnote { margin-top: 24px; }
  .intro-strip { justify-content: space-between; gap: 7px; font-size: 8px; }
  .intro-strip__rule { width: 13px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 11px; }
  .section-heading__aside { max-width: 260px; }
  .product-grid, .catalog-grid, .product-grid--featured, .product-grid--related { gap: 9px; }
  .perfume-card__visual { aspect-ratio: .91 / 1; }
  .perfume-card__body { padding: 11px 9px 9px; }
  .perfume-card__brand { font-size: 6.5px; }
  .perfume-card__name { font-size: 12px; line-height: 1.35; }
  .perfume-card__description { min-height: 53px; font-size: 9px; }
  .note-chip { font-size: 7px; }
  .note-chip img { width: 16px; height: 16px; }
  .family-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .family-tile { min-height: 130px; }
  .family-tile__icon { width: 44px; }
  .notes-section__intro h2 { font-size: 33px; }
  .note-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .note-board__item { min-height: 108px; }
  .editorial__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .editorial-card { min-height: 178px; }
  .editorial-card strong { font-size: 12px; }
  .editorial-card small { font-size: 7px; }
  .editorial-card img { width: 53px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .catalog-page, .contact-page { padding-top: 36px; }
  .page-intro h1 { font-size: 43px; }
  .catalog-search input { font-size: 11px; }
  .filters { gap: 8px; }
  .filter-control select { padding-inline: 9px; font-size: 10px; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-result-line span { font-size: 8px; }
  .product-detail__visual { min-height: 300px; }
  .product-detail__visual img { height: 295px; }
  .product-detail__name { font-size: 37px; }
  .product-spec { min-height: 85px; padding: 12px; }
  .note-pyramid__heading h2 { font-size: 24px; }
  .related-section .section-heading { flex-direction: row; align-items: end; }
  .related-section .section-heading h2 { font-size: 24px; }
  .related-section .text-link { font-size: 9px; white-space: nowrap; }
  .about-hero__image, .about-hero__image img { min-height: 260px; }
  .about-statement h2 { font-size: 26px; }
  .contact-layout { gap: 28px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-field input, .form-field select { min-height: 44px; }
  .button--submit { width: 100%; }
  .contact-bottom-note { font-size: 9px; }
  .modal-detail { padding-inline: 12px; }
}

@media (max-width: 359px) {
  .section-wrap, .footer-inner { width: calc(100% - 24px); }
  .product-grid, .catalog-grid, .product-grid--featured, .product-grid--related { grid-template-columns: 1fr; }
  .perfume-card { display: grid; grid-template-columns: .9fr 1.1fr; align-items: stretch; }
  .perfume-card__visual { aspect-ratio: auto; min-height: 220px; }
  .perfume-card__body { display: flex; flex-direction: column; justify-content: center; }
  .perfume-card__description { min-height: 0; }
  .family-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .editorial__cards { gap: 5px; }
  .editorial-card { padding: 8px; }
  .editorial-card strong { font-size: 11px; }
  .editorial-card small { font-size: 6.5px; }
  .product-detail__visual { min-height: 270px; }
  .product-spec { padding: 9px; }
  .footer-main { gap: 23px 12px; }
  .footer-brand { grid-column: 1 / -1; }
}
