/* A compact visual system for a professional aesthetic procurement catalogue. */
:root {
    color-scheme: light;
    --paper: #f5f6f0;
    --ink: #132d33;
    --deep: #08272f;
    --lime: #d7f76e;
    --line: #cad3cc;
    --quiet: #496067;
    --white: #fff;
    font: 16px/1.55 system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .23em; }
a:hover { text-decoration-thickness: .14em; }
a:focus-visible, input:focus-visible, button:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: 3px solid #30756c;
    outline-offset: 3px;
}
.wrap { width: min(92%, 1260px); margin-inline: auto; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem 1.6rem; }
.mast { display: flex; align-items: center; gap: 1.5rem; justify-content: space-between; padding-block: 1rem; }
.identity { display: flex; align-items: center; gap: .7rem; text-decoration: none; line-height: 1.1; flex-shrink: 0; }
.identity > span {
    display: grid; place-items: center; position: relative; background: var(--deep); color: var(--lime);
    width: 46px; height: 46px; font: 900 1.6rem/1 system-ui;
}
.identity > span span { position: absolute; right: 4px; top: 3px; font-size: .7rem; }
.search { display: flex; width: min(37%, 32rem); }
.search input { flex: 1; width: 0; }
.nav { border-block: 1px solid var(--line); }
.nav a { padding-block: .65rem; font-weight: 650; font-size: .93rem; text-decoration: none; }
.nav a:hover { text-decoration: underline; }
button, .button {
    background: var(--deep); color: white; border: 1px solid var(--deep); padding: .68rem 1rem;
    font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; display: inline-block;
}
button:hover, .button:hover { filter: brightness(1.13); }
input, select, textarea {
    color: var(--ink); background: white; border: 1px solid var(--line); padding: .65rem;
    font: inherit; border-radius: 0;
}
.hero { background: var(--deep); color: var(--white); }
.hero-grid { display: grid; grid-template-columns: 1fr .95fr; align-items: center; gap: clamp(1.4rem,4vw,4rem); padding-block: clamp(2.4rem,6vw,6rem); }
.hero-grid img { aspect-ratio: 3/2; width: 100%; object-fit: cover; }
.eyebrow { font-size: .77rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.hero .eyebrow { color: var(--lime); }
h1, h2 { line-height: 1.05; letter-spacing: -.045em; }
h1 { font-size: clamp(2.3rem,5.1vw,4.85rem); margin: .2em 0; max-width: 21ch; }
.hero h1 { max-width: 13ch; }
h2 { font-size: clamp(1.55rem,3vw,2.65rem); margin: .35em 0 .7em; }
.hero-intro, .intro { max-width: 62ch; font-size: clamp(1.03rem,1.8vw,1.23rem); }
.hero-intro { color: #e0eae4; margin-bottom: 1.6rem; }
.accent { background: var(--lime); color: var(--deep); }
.ghost { border-color: #90a5a2; }
.ticker { background: var(--lime); font-size: .71rem; letter-spacing: .15em; font-weight: 800; }
.ticker .row { justify-content: space-between; padding-block: .7rem; }
.section { padding-block: clamp(2rem,5vw,4rem); }
.cards { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,220px),1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-block: 1rem 2rem; }
.card { display: flex; flex-direction: column; background: var(--white); text-decoration: none; }
.card:hover { background: #eaf1e7; }
.card img { width: 100%; height: 155px; object-fit: contain; background: white; padding: 1rem; }
.card div { padding: 1rem 2.4rem 1rem 1rem; position: relative; }
.card small, .card strong { display: block; }
.card small { color: var(--quiet); }
.card span { position: absolute; right: .85rem; top: 1rem; }
.feature { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 1.3rem; border-top: 1px solid var(--line); }
.feature img, .article-photo { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.feature strong { display: block; margin-top: .65rem; }
.article-photo { max-width: 800px; }
.prose { max-width: 74ch; margin-block: 2.25rem; }
.feature .prose { margin: 0; }
.prose a { font-weight: 650; }
.prose h2 { margin-top: 1.25em; }
.product-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(1rem,5vw,4rem); }
.product-layout h1 { font-size: clamp(2rem,4vw,3.5rem); }
.packshot { background: white; display: grid; place-items: center; min-height: 15rem; padding: 1.25rem; }
.packshot img { width: 100%; max-height: 400px; object-fit: contain; }
dl { display: grid; grid-template-columns: minmax(6rem,.7fr) 1fr; gap: .4rem 1rem; }
dt { font-weight: 750; }
dd { margin: 0; }
.buy input { width: 5rem; }
.form { display: grid; gap: 1rem; max-width: 48rem; margin-block: 1rem; }
.form label:not(.row) { display: grid; gap: .2rem; }
.form button { justify-self: start; }
.basket-item { padding-block: .7rem; border-bottom: 1px solid var(--line); }
footer { background: var(--deep); color: #e9efea; padding: 2.5rem 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 1rem; }
.footer-grid a { display: block; margin-bottom: .3rem; }
.skip { position: absolute; top: -10rem; background: white; padding: .6rem; }
.skip:focus { top: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
pre { white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 760px) {
    .mast { flex-wrap: wrap; }
    .search { width: 100%; order: 3; }
    .nav .row { gap: 0 1rem; }
    .hero-grid, .product-layout { grid-template-columns: 1fr; }
    .feature { grid-template-columns: 1fr 1fr; }
    .feature .prose { grid-column: 1/-1; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid div:first-child { grid-column: 1/-1; }
}
@media (max-width: 390px) {
    .header-quote { font-size: .86rem; padding-inline: .45rem; }
    .mast { gap: .55rem; }
    .identity { font-size: .9rem; }
}
.language-row { display: flex; justify-content: flex-end; padding-top: .5rem; }
.language-row select, .language-row button { padding: .25rem .45rem; font-size: .8rem; }
.locale-note { padding: .5rem 0; font-size: .86rem; }
.feature { grid-template-columns: 1fr 1fr; }
.home-copy { border-top: 1px solid var(--line); }
.home-copy .prose { margin-block: 0; }

/* Storefront surfaces, product photography and responsive catalogue controls. */
:root {
    --paper: #f7f9f7;
    --ink: #182e2c;
    --deep: #103431;
    --lime: #dcf6ad;
    --line: #dce6df;
}
.wrap { width: min(92%, 1180px); }
header { background: var(--white); }
.identity > span { border-radius: 12px; }
button, .button, input, select, textarea { border-radius: 10px; }
.search input { border-radius: 10px 0 0 10px; }
.search button { border-radius: 0 10px 10px 0; }
.nav .row { gap: .25rem clamp(.75rem, 3vw, 2.2rem); }
.nav a { padding-block: .8rem; }
.hero { background: radial-gradient(ellipse at 85% 90%, #285951, transparent 55%), var(--deep); }
.hero-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(2.5rem, 6vw, 5rem); }
.hero-grid img { border-radius: 24px; aspect-ratio: 1.35; object-position: 46% 50%; }
.hero h1 { font-weight: 760; font-size: clamp(2.6rem, 5.5vw, 5.35rem); text-wrap: balance; }
.hero .row { gap: .75rem; }
.ticker { background: #e9f1e9; }
.ticker a { text-decoration: none; letter-spacing: .06em; }
.ticker a:hover { text-decoration: underline; }
.ticker .row { gap: .5rem 1rem; padding-block: .95rem; }
.cards {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 245px), 1fr));
    gap: 1rem; border: 0; background: transparent;
}
.card { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: border-color .18s, background .18s; }
.card:hover { border-color: #639181; }
.card img { height: 170px; border-bottom: 1px solid #edf1ed; }
.card strong { margin-top: .25rem; }
.packshot, .article-photo { border-radius: 20px; border: 1px solid var(--line); }
.packshot { box-shadow: 0 12px 38px #1034310b; }
.section-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .8rem; }
.section-heading h2 { margin-bottom: 0; }
.showcase { border-top: 1px solid var(--line); }
.feature a { border-radius: 18px; overflow: hidden; background: var(--white); border: 1px solid var(--line); text-decoration: none; }
.feature img { aspect-ratio: 2 / 1; }
.feature strong { margin: 0; padding: 1rem; }
.catalogue-page h1 { max-width: 19ch; }
.catalogue-controls {
    display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap;
    gap: .75rem 1.5rem; padding: 1rem; margin: 1.5rem 0; background: #eaf2eb; border-radius: 16px;
}
.catalogue-controls form { display: flex; flex-wrap: wrap; gap: .45rem; max-width: 100%; }
.catalogue-controls label { flex: 0 0 100%; font-weight: 650; }
.catalogue-controls select { max-width: 100%; }
.catalogue-controls p { margin: 0 0 .35rem; }
.review-gallery { margin: 2.5rem 0; }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.review-grid figure { margin: 0; background: var(--white); padding: .8rem; border: 1px solid var(--line); border-radius: 14px; }
.review-grid img { border-radius: 8px; }
.review-grid figcaption { margin-top: .6rem; font-size: .88rem; color: var(--quiet); }
@media (max-width: 760px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-grid img { aspect-ratio: 1.6; border-radius: 16px; }
    .review-grid { grid-template-columns: 1fr; }
}
@media (max-width: 500px) {
    .feature { grid-template-columns: 1fr; }
    .ticker .row { justify-content: start; }
}
/*
 * Keep the basket alongside the wordmark at common phone widths.
 * Let the header wrap naturally on narrower screens and in longer locales.
 */
@media (max-width: 500px) {
    .mast { gap: .75rem; }
    .header-quote { padding-inline: .65rem; font-size: .85rem; }
    .nav a { padding-block: .55rem; }
}

/* Beauty editorial cover and pharmacy-inspired catalogue palette. */
:root {
    --paper: #fffaf8;
    --ink: #39232d;
    --deep: #582b41;
    --lime: #f9e7e9;
    --line: #ecdce1;
    --quiet: #755966;
}
a:focus-visible, input:focus-visible, button:focus-visible, textarea:focus-visible, select:focus-visible { outline-color: #9a4c72; }
.identity > span { background: #f4e2e7; color: var(--deep); }
.beauty-front { padding-top: clamp(.85rem, 3vw, 2rem); }
.beauty-cover { position: relative; isolation: isolate; display: grid; align-items: end; min-height: clamp(450px, 46vw, 620px); overflow: hidden; border-radius: 26px; background: #59313c; }
.beauty-cover-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; z-index: -2; }
.beauty-cover::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #29111eea 0%, #351726c7 25%, #3d1b2c28 61%, transparent 78%); }
.beauty-title { padding: clamp(1.8rem, 5.5vw, 5rem); color: #fff9f9; }
.beauty-title .eyebrow { color: #ffdee9; }
.beauty-title h1 { max-width: 13ch; font: 500 clamp(3rem, 6.9vw, 6.3rem)/.95 Georgia, serif; letter-spacing: -.06em; text-wrap: balance; }
.beauty-title .hero-intro { color: #fff0f4; max-width: 38ch; }
.beauty-title .ghost { background: #3a1e2b90; border-color: #e6bccb; }
.beauty-title .row { gap: .65rem; }
.beauty-directory { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border: 1px solid var(--line); border-radius: 16px; margin-top: .75rem; background: #f9eef1; }
.beauty-directory a { display: flex; align-items: center; gap: .65rem; padding: .95rem; text-decoration: none; font-weight: 650; }
.beauty-directory a + a { border-left: 1px solid var(--line); }
.beauty-directory a:hover { color: #833358; }
.beauty-directory a span { color: #84556b; font-size: .8rem; }
.beauty-directory a b { margin-left: auto; }
h1, h2 { font-family: Georgia, serif; font-weight: 500; letter-spacing: -.035em; }
.card:hover { border-color: #bc8da1; background: #fff3f7; }
.catalogue-controls { background: #f8eaf0; }
.beauty-stories img { aspect-ratio: 1.8; }
.home-copy .prose { max-width: 78ch; }
.prose h2 { font-size: clamp(1.45rem, 3vw, 2.35rem); margin-top: 1.6em; }
@media (max-width: 650px) {
    .beauty-cover { min-height: auto; padding-top: 63%; border-radius: 16px; }
    .beauty-cover-image { height: auto; aspect-ratio: 1.5; object-position: center 35%; }
    .beauty-cover::before { background: linear-gradient(180deg, transparent 25%, #40232b 54%); }
    .beauty-title { padding: 1.2rem; }
    .beauty-title h1 { font-size: clamp(2.6rem, 11vw, 4rem); }
    .beauty-directory { grid-template-columns: 1fr; }
    .beauty-directory a + a { border-left: 0; border-top: 1px solid var(--line); }
}

/* Self-hosted typography and link colors for editorial and navigation contexts. */
@font-face {
    font-family: Fraunces;
    src: url("/assets/fonts/fraunces.woff2") format("woff2");
    font-style: normal;
    font-weight: 500 650;
    font-display: swap;
}
@font-face {
    font-family: Manrope;
    src: url("/assets/fonts/manrope.woff2") format("woff2");
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
}
:root { font-family: Manrope, system-ui, sans-serif; --link: #8d355c; }
h1, h2, .beauty-title h1 { font-family: Fraunces, Georgia, serif; }
a { color: var(--link); }
a:hover { color: #65223f; }
a:focus-visible { outline-offset: 4px; }
.identity, .card, .feature a, .beauty-directory a { color: var(--ink); }
.nav a { color: #5d354d; }
a.button { color: #fff; }
a.button.accent { color: var(--deep); }
.site-footer { color: #fff7f9; padding-block: clamp(2.4rem, 5vw, 4rem); }
.site-footer .footer-grid { grid-template-columns: 1.15fr 1.35fr .85fr; gap: 2rem; }
.site-footer h2 { margin: 0 0 .85rem; font-size: 1.42rem; letter-spacing: -.02em; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer a { display: inline-block; color: #ffd1e2; margin-bottom: .48rem; text-underline-offset: .24em; }
.site-footer a:hover { color: #fff; }
.site-footer a:focus-visible { outline-color: #ffd1e2; }
.footer-intro strong { font: 600 1.55rem/1.15 Fraunces, Georgia, serif; }
.footer-intro p { max-width: 32ch; }
.footer-links:not(.footer-support) ul { columns: 2; column-gap: 1.2rem; }
.footer-links li { break-inside: avoid; }
.journal-latest { padding: 1.25rem; background: #f8eaf0; border: 1px solid var(--line); border-radius: 16px; }
.journal-latest .cards { margin-bottom: 0; }
@media (max-width: 800px) {
    .site-footer .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-intro { grid-column: 1 / -1; }
    .footer-links:not(.footer-support) ul { columns: 1; }
}
@media (max-width: 370px) {
    .site-footer .footer-grid { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* Product specifications and provenance sit above the general buying copy. */
.product-specifications { margin: 2rem 0; padding: clamp(1.2rem, 3vw, 2rem); border: 1px solid var(--line); background: #fff; border-radius: 18px; }
.specification-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.2rem, 4vw, 3rem); }
.specification-grid h3 { margin-block: 1rem .3rem; }
.specification-grid p, .specification-grid ul { margin-block: .35rem .75rem; }
.specification-grid ul { padding-left: 1.3rem; }
.specification-basis { color: var(--quiet); font-size: .84rem; }
.specification-grid dl { grid-template-columns: minmax(7rem, 1fr) 1.5fr; }
@media (max-width: 680px) { .specification-grid { grid-template-columns: 1fr; } }
.store-logo { width: 330px; height: auto; object-fit: contain; }
.identity-with-logo { flex: 0 1 330px; min-width: 0; }
@media (max-width: 650px) {
    .identity.identity-with-logo { flex: 1 1 160px; max-width: 260px; }
    .identity-with-logo .store-logo { width: 100%; }
}
.identity strong { max-width: 17ch; }
.storefront-chat { position: fixed; right: 1rem; bottom: 1rem; z-index: 5; box-shadow: 0 4px 18px #39232d33; }

/* Currency choice and manual-payment checkout controls. */
.display-currency { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; font-size: .82rem; }
.display-currency select, .display-currency button { padding: .35rem .5rem; }
.card-price { margin-top: .45rem; color: var(--deep); font-weight: 700; }
.checkout-options, .checkout-received { border: 1px solid var(--line); border-radius: 12px; padding: 1rem; }
.checkout-options label { margin-block: .45rem; }
.checkout-received { background: white; }

/* A compact contact card keeps the footer contact details easy to scan. */
.footer-contact { background: #ffffff0e; border: 1px solid #ffffff2b; border-radius: 14px; padding: 1rem; margin-top: 1.25rem; }
.footer-contact .footer-contact-heading { color: #fff7f9; font-weight: 800; margin: 0 0 .55rem; }
.footer-contact dl { grid-template-columns: auto minmax(0, 1fr); gap: .35rem .7rem; margin: 0 0 .9rem; font-size: .87rem; }
.footer-contact dt { color: #efbed2; }
.footer-contact dd { overflow-wrap: anywhere; }
.site-footer .contact-whatsapp { display: inline-flex; gap: .55rem; align-items: center; margin: 0; padding: .55rem .75rem; background: #e0f2df; color: #214529; border-radius: 8px; text-decoration: none; font-weight: 800; }
.site-footer .contact-whatsapp:hover { background: #fff; color: #214529; }

/* A steady announcement stays readable without flashing or motion. */
.shipping-announcement {
    padding: .55rem 1rem;
    background: #4d273b;
    color: #fff;
    text-align: center;
    font-size: .9rem;
}
.shipping-announcement a {
    color: inherit;
    font-weight: 700;
    text-underline-offset: .2em;
}

.authored-section { margin-block: 2rem; }
.authored-section .article-photo { margin-bottom: 1.5rem; }
.beauty-cover.no-cover-photo { padding-top: 0; }

/* Soft editorial storefront: prominent locale controls and calm, readable proportions. */
:root {
    --paper: #fffcfa;
    --deep: #643c50;
    --ink: #3f3037;
    --quiet: #78636d;
    --line: #eee2e5;
    --lime: #f9e9e7;
}
.wrap { width: min(91%, 1280px); }
header { border-top: 3px solid #b68492; }
.preferences-bar { background: #f7eeef; border-bottom: 1px solid #eadcdf; }
.preferences {
    display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap;
    gap: .65rem 1.5rem; padding-block: .65rem;
}
.preference-field { display: flex; align-items: center; gap: .7rem; font-size: .8rem; font-weight: 650; }
.preference-field > span { display: flex; align-items: center; gap: .4rem; color: #644551; }
.preference-icon { width: 20px; height: 20px; flex-shrink: 0; }
.preference-field select { min-height: 44px; padding: .45rem .8rem; border-radius: 999px; background: #fffdfc; }
.preference-apply { min-height: 44px; padding: .45rem 1.15rem; font-size: .8rem; border-radius: 999px; }
.mast { gap: clamp(1rem, 3vw, 3rem); padding-block: 1.4rem; }
.identity { flex-shrink: 1; }
.identity strong { font-size: .95rem; line-height: 1.35; font-weight: 650; max-width: 20ch; }
.identity > span { border-radius: 50%; width: 48px; height: 48px; flex-shrink: 0; font-family: Fraunces, Georgia, serif; }
.search { flex: 1; max-width: 500px; width: auto; }
.search input { background: #fcf8f7; border-right: 0; border-radius: 999px 0 0 999px; padding-left: 1.2rem; }
.search button { border-radius: 0 999px 999px 0; padding-inline: 1.35rem; font-size: .85rem; }
button, .button { font-weight: 600; }
.button { border-radius: 999px; padding: .85rem 1.4rem; }
.header-quote { font-size: .85rem; white-space: nowrap; }
.nav { border-bottom-color: #f1e8ea; }
.nav .row { justify-content: center; gap: .2rem clamp(1rem, 3vw, 2.9rem); }
.nav a { font-size: .83rem; font-weight: 550; padding-block: 1rem; }
.beauty-front { padding-top: 1.6rem; }
.beauty-cover { min-height: 550px; border-radius: 32px; align-items: center; }
.beauty-cover-image { object-position: 65% 40%; }
.beauty-cover::before { background: linear-gradient(90deg, #3b202ee8, #482636b8 35%, #48263618 72%); }
.beauty-title { padding: clamp(1.8rem, 4.5vw, 4.2rem); max-width: 65%; }
.beauty-title .eyebrow { font-size: .67rem; letter-spacing: .19em; margin-bottom: 1.5rem; }
.beauty-title h1 { font-size: clamp(2.7rem, 4.6vw, 4.5rem); line-height: 1.08; letter-spacing: -.035em; max-width: 15ch; }
.beauty-title .hero-intro { font-size: .98rem; line-height: 1.85; max-width: 38ch; margin-block: 1.4rem 1.8rem; }
.beauty-title .button { font-size: .85rem; }
.beauty-title .accent { background: #fff3ee; border-color: #fff3ee; }
.beauty-title .ghost { background: #ffffff08; border-color: #f8d9e0a6; }
.beauty-directory { margin-top: 1rem; border-radius: 20px; background: #faf2f1; }
.beauty-directory a { padding: 1.3rem 1.4rem; font-size: .82rem; font-weight: 550; }
.beauty-directory a span { font: italic 1rem Fraunces, Georgia, serif; color: #966475; }
.section { padding-block: clamp(2.8rem, 5vw, 4.8rem); }
.section > .eyebrow, .section-heading .eyebrow { color: #916474; font-size: .68rem; letter-spacing: .18em; }
h2 { line-height: 1.2; font-size: clamp(1.9rem, 3.1vw, 2.8rem); }
.cards { gap: 1.25rem; margin-top: 1.8rem; }
.card { border-radius: 22px; box-shadow: 0 6px 26px #643c5006; }
.card img { height: 210px; padding: 1.6rem; border-bottom-color: #f6eff1; }
.card div { padding: 1.25rem 2.2rem 1.4rem 1.25rem; }
.card strong { font-size: .95rem; font-weight: 600; }
.card small { font-size: .76rem; }
.feature a { border-radius: 24px; }
.feature strong { padding: 1.3rem; font-weight: 550; }
.site-footer { background: #4c303e; }
@media (prefers-reduced-motion: no-preference) {
    .card, .button { transition: transform .2s ease, box-shadow .2s ease; }
    .card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px #643c5010; }
    .button:hover { transform: translateY(-1px); }
}
@media (max-width: 900px) {
    .mast { flex-wrap: wrap; }
    .identity { flex: 1; }
    .search { order: 3; flex-basis: 100%; max-width: none; }
    .beauty-title { max-width: 74%; }
    .beauty-cover { min-height: 510px; }
}
@media (max-width: 650px) {
    .preferences { justify-content: space-between; gap: .6rem; }
    .preference-field { display: grid; gap: .3rem; font-size: .65rem; }
    .preference-field:first-child { flex: 1; }
    .preference-field select { width: 100%; font-size: .88rem; }
    .preference-apply { align-self: end; padding-inline: .8rem; }
    .mast { padding-block: 1rem; }
    .identity strong { font-size: .8rem; }
    .identity > span { width: 40px; height: 40px; }
    .header-quote { font-size: .72rem; padding: .75rem .85rem; }
    .nav .row { justify-content: flex-start; gap: .1rem 1.2rem; }
    .nav a { font-size: .77rem; padding-block: .6rem; }
    .beauty-front { padding-top: 1rem; }
    .beauty-cover { min-height: auto; padding-top: 65%; border-radius: 24px; background: #53323f; }
    .beauty-cover-image { height: auto; aspect-ratio: 1.25; object-position: 65% 35%; mask-image: linear-gradient(#000 60%, transparent); }
    .beauty-cover::before { background: linear-gradient(180deg, transparent 20%, #53323f 52%); }
    .beauty-title { max-width: none; padding: 1.6rem; }
    .beauty-title h1 { font-size: clamp(2.3rem, 9vw, 3.3rem); max-width: 18ch; }
    .beauty-title .eyebrow { margin-bottom: .9rem; }
    .beauty-title .hero-intro { font-size: .92rem; margin-block: 1rem 1.4rem; }
    .beauty-title .button { padding: .8rem 1rem; font-size: .8rem; }
    .beauty-directory a { padding: 1rem 1.2rem; }
    .card img { height: 190px; }
}
