:root {
    --ink: #261711;
    --muted: #70564b;
    --paper: #fff8f4;
    --surface: #ffffff;
    --soft: #f8ebe5;
    --rose: #b76e79;
    --rose-dark: #914c56;
    --cocoa: #5b3518;
    --plum: #4d2835;
    --line: rgba(91, 53, 24, 0.16);
    --shadow: 0 24px 70px rgba(38, 23, 17, 0.14);
    --radius: 8px;
    --font-sans: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-sans);
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px clamp(18px, 4vw, 56px);
    color: var(--surface);
    transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
    background: rgba(255, 248, 244, 0.94);
    color: var(--ink);
    box-shadow: 0 10px 34px rgba(38, 23, 17, 0.08);
    backdrop-filter: blur(14px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-logo {
    width: 132px;
    height: auto;
    object-fit: contain;
}

.site-header:not(.is-scrolled):not(.is-open) .brand-logo {
    filter: brightness(0) invert(1);
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1;
}

.brand small {
    margin-top: 4px;
    color: currentColor;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    opacity: 0.78;
}

.brand > small::before {
    content: "Aesthetx";
    display: block;
    margin-bottom: 4px;
    color: currentColor;
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
    text-transform: none;
    opacity: 1;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(16px, 3vw, 34px);
    font-size: 14px;
    font-weight: 800;
}

.site-nav a {
    position: relative;
}

.site-nav a::after {
    position: absolute;
    right: 0;
    bottom: -7px;
    left: 0;
    height: 2px;
    background: currentColor;
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 160ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
    transform: scaleX(1);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid currentColor;
    border-radius: 50%;
    background: transparent;
    color: inherit;
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: currentColor;
}

.hero {
    position: relative;
    min-height: 92vh;
    display: grid;
    align-items: end;
    padding: 128px clamp(20px, 6vw, 86px) 48px;
    overflow: hidden;
    color: var(--surface);
}

.hero-media,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-media picture,
.hero-media img {
    width: 100%;
    height: 100%;
}

.hero-media picture {
    display: block;
}

.hero-media img {
    object-fit: cover;
    object-position: center center;
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(38, 23, 17, 0.68) 0%, rgba(77, 40, 53, 0.46) 44%, rgba(38, 23, 17, 0.22) 100%),
        linear-gradient(180deg, rgba(38, 23, 17, 0.18), rgba(38, 23, 17, 0.44));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 850px;
}

.eyebrow,
.section-kicker {
    margin: 0 0 14px;
    color: var(--rose-dark);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.hero .eyebrow,
.journal-hero .eyebrow,
.guide .eyebrow {
    color: #f6c7c9;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1,
h2 {
    margin: 0;
    font-weight: 500;
    line-height: 0.98;
}

h1 {
    max-width: 840px;
    font-size: clamp(48px, 7vw, 88px);
}

h2 {
    font-size: clamp(34px, 5vw, 66px);
}

h3 {
    margin: 0;
    font-size: 21px;
    line-height: 1.2;
}

.hero-copy {
    max-width: 680px;
    margin: 26px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(17px, 2vw, 21px);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 13px 20px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.1;
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
}

.button.primary {
    background: var(--rose);
    color: var(--surface);
}

.button.primary.light {
    background: var(--surface);
    color: var(--ink);
}

.button.secondary {
    border-color: rgba(255, 255, 255, 0.58);
    color: var(--surface);
}

.button.secondary.ink {
    border-color: var(--line);
    color: var(--ink);
}

.hero-panel {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 760px;
    margin-top: 42px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
}

.hero-panel div {
    padding: 20px;
}

.hero-panel div + div {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-panel strong,
.hero-panel span {
    display: block;
}

.hero-panel strong {
    font-size: 30px;
    line-height: 1;
}

.hero-panel span {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
}

.section-pad {
    padding: clamp(72px, 10vw, 130px) clamp(20px, 6vw, 86px);
}

.intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: clamp(28px, 6vw, 84px);
    align-items: start;
}

.intro-grid p,
.section-head p,
.about-copy p,
.contact-copy p,
.steps p,
.guide p {
    color: var(--muted);
}

.intro-grid p {
    margin: 8px 0 0;
    font-size: 20px;
}

.proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    background: var(--ink);
    color: var(--surface);
}

.proof-item {
    min-height: 160px;
    padding: 34px clamp(22px, 5vw, 56px);
}

.proof-item + .proof-item {
    border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.proof-item strong,
.proof-item span {
    display: block;
}

.proof-item strong {
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1;
    font-weight: 500;
}

.proof-item span {
    max-width: 310px;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.local-seo {
    padding-top: clamp(46px, 7vw, 84px);
    padding-bottom: clamp(46px, 7vw, 84px);
    background: var(--soft);
}

.local-seo h2 {
    max-width: 1040px;
    font-size: clamp(34px, 5vw, 68px);
}

.local-seo p:last-child {
    max-width: 920px;
    color: var(--muted);
    font-size: 19px;
}

.section-head {
    max-width: 840px;
    margin-bottom: 38px;
}

.section-head.split {
    display: grid;
    max-width: none;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
    gap: 32px;
    align-items: end;
}

.section-head.split p:last-child {
    margin: 0;
    font-size: 18px;
}

.treatments,
.steps-section {
    background: var(--surface);
}

.treatment-flip-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 260px;
    gap: 14px;
}

.treatment-flip-card {
    position: relative;
    min-height: 260px;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
    transition: grid-column 220ms ease, grid-row 220ms ease, min-height 220ms ease;
}

.treatment-flip-card.is-flipped {
    grid-column: span 2;
    grid-row: span 2;
    order: -1;
}

.treatment-face {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: inherit;
    transition: opacity 200ms ease, transform 260ms ease;
}

.treatment-front {
    overflow: hidden;
    padding: 0;
    background: var(--soft);
    color: var(--surface);
    cursor: pointer;
    font: inherit;
    text-align: left;
}

.treatment-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 260ms ease;
}

.treatment-front::after {
    position: absolute;
    inset: auto 0 0;
    height: 58%;
    background: linear-gradient(180deg, transparent, rgba(38, 23, 17, 0.84));
    content: "";
}

.treatment-front:hover img,
.treatment-front:focus-visible img {
    transform: scale(1.04);
}

.tone-front {
    background:
        linear-gradient(135deg, rgba(77, 40, 53, 0.94), rgba(183, 110, 121, 0.76)),
        var(--rose);
}

.tone-front::after {
    background: linear-gradient(180deg, transparent, rgba(38, 23, 17, 0.36));
}

.treatment-title {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    display: block;
    padding: 18px;
    color: var(--surface);
    font-weight: 800;
}

.click-cue,
.return-cue {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 248, 244, 0.92);
    color: var(--ink);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 10px 24px rgba(38, 23, 17, 0.16);
}

.click-cue::after,
.return-cue::before {
    font-size: 15px;
    line-height: 1;
}

.click-cue::after {
    content: "+";
}

.treatment-front::before {
    position: absolute;
    inset: 0;
    z-index: 1;
    border: 2px solid transparent;
    border-radius: inherit;
    content: "";
    pointer-events: none;
    transition: border-color 160ms ease;
}

.treatment-front:hover::before,
.treatment-front:focus-visible::before {
    border-color: rgba(255, 255, 255, 0.78);
}

.treatment-front:focus-visible,
.return-cue:focus-visible {
    outline: 3px solid var(--rose);
    outline-offset: 4px;
}

.treatment-back {
    display: flex;
    flex-direction: column;
    overflow: auto;
    padding: clamp(22px, 3vw, 34px);
    background: var(--surface);
    opacity: 0;
    pointer-events: none;
    transform: rotateY(8deg) scale(0.98);
}

.treatment-flip-card.is-flipped .treatment-front {
    opacity: 0;
    pointer-events: none;
    transform: rotateY(-8deg) scale(0.98);
}

.treatment-flip-card.is-flipped .treatment-back {
    opacity: 1;
    pointer-events: auto;
    transform: rotateY(0) scale(1);
}

.return-cue {
    position: absolute;
    top: 16px;
    right: 16px;
    align-items: center;
    justify-content: center;
    width: 40px;
    min-height: 40px;
    padding: 0;
    border: 1px solid rgba(77, 40, 53, 0.12);
    border-radius: 50%;
    cursor: pointer;
    font: inherit;
    transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.return-cue span {
    font-size: 26px;
    line-height: 1;
    transform: translateY(-1px);
}

.return-cue:hover {
    background: var(--ink);
    color: var(--surface);
    transform: rotate(90deg);
}

.treatment-back .eyebrow {
    margin-top: clamp(24px, 4vw, 34px);
}

.treatment-back h3 {
    max-width: 740px;
    margin-bottom: 12px;
    font-size: clamp(28px, 3vw, 46px);
    font-weight: 500;
}

.treatment-back p {
    max-width: 760px;
    color: var(--muted);
    font-size: 18px;
}

.treatment-back ul {
    display: grid;
    gap: 8px;
    max-width: 760px;
    margin: 18px 0 0;
    padding-left: 20px;
    color: var(--muted);
}

.treatment-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.treatment-back a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    padding: 13px 18px;
    border-radius: var(--radius);
    background: var(--rose);
    color: var(--surface);
    font-size: 13px;
    font-weight: 800;
    transition: transform 160ms ease, background 160ms ease;
}

.treatment-back a.book-now {
    background: var(--ink);
}

.treatment-back a:hover,
.treatment-back a:focus-visible {
    background: var(--ink);
    transform: translateY(-1px);
}

.treatment-back a.book-now:hover,
.treatment-back a.book-now:focus-visible {
    background: var(--rose);
}

.about {
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(300px, 0.76fr);
    gap: clamp(32px, 6vw, 84px);
    align-items: center;
    background: var(--surface);
}

.about img {
    width: 100%;
    max-height: 760px;
    border-radius: var(--radius);
    object-fit: cover;
    object-position: center 18%;
}

.about-copy p {
    max-width: 620px;
    font-size: 18px;
}

.price-guide {
    background: var(--soft);
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.price-grid article,
.steps li,
.faq-list details {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 14px 42px rgba(38, 23, 17, 0.08);
}

.price-grid article {
    padding: 26px;
}

.price-grid h3 {
    margin-bottom: 18px;
}

.price-grid ul {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.price-grid li {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.price-grid li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.pricing-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 22px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 14px 42px rgba(38, 23, 17, 0.08);
}

.pricing-cta h3 {
    margin: 0 0 8px;
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.05;
}

.pricing-cta p:last-child {
    max-width: 660px;
    margin: 0;
    color: var(--muted);
}

.pricing-cta .button {
    flex: 0 0 auto;
}

.calculator-page {
    background: var(--paper);
}

.calculator-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: clamp(22px, 5vw, 70px);
    align-items: end;
    min-height: 540px;
    padding-top: 150px;
    background:
        linear-gradient(135deg, rgba(38, 23, 17, 0.88), rgba(77, 40, 53, 0.7)),
        url("assets/bex-hero-composite.jpg") center 28% / cover;
    color: var(--surface);
}

.calculator-hero h1 {
    max-width: 860px;
    margin: 0;
    font-size: clamp(44px, 8vw, 92px);
    line-height: 0.94;
}

.calculator-hero .hero-copy {
    max-width: 680px;
}

.calculator-summary,
.calculator-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 18px 52px rgba(38, 23, 17, 0.1);
}

.calculator-summary {
    z-index: 16;
    padding: 26px;
    color: var(--ink);
}

.calculator-summary.is-floating {
    position: fixed;
    top: 104px;
    right: clamp(18px, 4vw, 56px);
    width: min(360px, calc(100vw - 36px));
}

.calculator-summary span,
.calculator-summary small {
    display: block;
    color: var(--muted);
    font-weight: 800;
}

.calculator-summary strong {
    display: block;
    margin: 8px 0;
    color: var(--rose);
    font-size: clamp(42px, 5vw, 62px);
    line-height: 1;
}

.calculator-shell {
    background: var(--soft);
}

.calculator-layout {
    display: grid;
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.calculator-details {
    position: sticky;
    top: 112px;
    display: grid;
    gap: 18px;
}

.calculator-card {
    padding: clamp(20px, 3vw, 30px);
}

.calculator-card h2 {
    margin: 0 0 18px;
    font-size: clamp(24px, 2.4vw, 34px);
    line-height: 1.05;
}

.treatment-selector h2 {
    max-width: 680px;
    font-size: clamp(26px, 2.4vw, 38px);
}

.calculator-card > label + label,
.choice-field {
    margin-top: 14px;
}

.choice-field {
    padding: 0;
    border: 0;
}

.choice-field legend {
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.segmented-control {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.segmented-control button {
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fbfaf7;
    color: var(--ink);
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.segmented-control button.is-selected,
.option-tile:has(input:checked) {
    border-color: rgba(183, 110, 121, 0.48);
    background: var(--soft);
}

.calculator-warning,
.calculator-note {
    color: var(--muted);
    font-size: 13px;
}

.calculator-warning {
    color: #9d2e39;
    font-weight: 900;
}

.calculator-options {
    display: grid;
    gap: 18px;
}

.selector-heading {
    display: block;
    margin-bottom: 20px;
}

.selector-heading > span {
    align-self: start;
    border-radius: 999px;
    background: var(--soft);
    color: var(--rose-dark);
    padding: 7px 11px;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

.option-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
}

.option-tile {
    position: relative;
    display: flex;
    gap: 10px;
    align-items: center;
    min-height: 58px;
    margin: 0;
    padding: 11px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fbfaf7;
    color: var(--ink);
    cursor: pointer;
}

.option-tile input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    accent-color: var(--rose);
    margin: 0;
}

.option-tile span {
    display: block;
    font-weight: 800;
    line-height: 1.2;
    min-width: 0;
}

.option-tile strong {
    color: var(--rose-dark);
    font-size: 14px;
}

.estimate-lines {
    display: grid;
    gap: 10px;
    margin-bottom: 16px;
}

.estimate-lines p {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
}

.estimate-lines small {
    color: var(--muted);
    font-weight: 800;
}

.estimate-lines .estimate-total {
    border-bottom: 0;
    color: var(--ink);
    font-size: 18px;
}

.total-card .button {
    width: 100%;
    margin-top: 10px;
}

.button.disabled,
.button[aria-disabled="true"] {
    opacity: 0.48;
    pointer-events: none;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.steps li {
    min-height: 280px;
    padding: 30px;
}

.steps span {
    display: inline-block;
    margin-bottom: 66px;
    color: var(--rose);
    font-size: 13px;
    font-weight: 800;
}

.guide {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 480px);
    gap: clamp(28px, 6vw, 84px);
    align-items: center;
    background: linear-gradient(120deg, var(--ink), var(--rose-dark));
    color: var(--surface);
}

.guide h2 {
    max-width: 760px;
}

.guide p {
    max-width: 680px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 18px;
}

.guide-form,
.contact-form {
    display: grid;
    gap: 16px;
    padding: clamp(22px, 4vw, 36px);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow);
}

.contact-form {
    background: var(--surface);
}

.guide-form {
    backdrop-filter: blur(12px);
}

.journal-promo,
.journal-hub,
.article-page {
    background: var(--paper);
}

.journal-promo-grid,
.journal-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.journal-promo-grid a,
.journal-card {
    position: relative;
    display: grid;
    align-content: end;
    min-height: 230px;
    overflow: hidden;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 16px 48px rgba(38, 23, 17, 0.08);
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.journal-promo-grid a:hover,
.journal-promo-grid a:focus-visible,
.journal-card:hover,
.journal-card:focus-visible {
    border-color: rgba(183, 110, 121, 0.46);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.journal-promo-grid span,
.journal-card span,
.article-meta {
    position: relative;
    z-index: 1;
    color: var(--rose-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.journal-promo-grid strong,
.journal-card strong {
    position: relative;
    z-index: 1;
    display: block;
    margin-top: 24px;
    font-size: clamp(21px, 2.1vw, 30px);
    font-weight: 500;
    line-height: 1.08;
}

.journal-promo-grid small,
.journal-card small {
    position: relative;
    z-index: 1;
    display: block;
    margin-top: 12px;
    color: var(--muted);
    font-size: 14px;
}

.subpage .site-header {
    background: rgba(255, 248, 244, 0.94);
    color: var(--ink);
    box-shadow: 0 10px 34px rgba(38, 23, 17, 0.08);
    backdrop-filter: blur(14px);
}

.subpage.guides-page .site-header:not(.is-scrolled):not(.is-open) {
    background: transparent;
    color: var(--surface);
    box-shadow: none;
    backdrop-filter: none;
}

.subpage .site-header .brand-logo,
.subpage .site-header:not(.is-scrolled):not(.is-open) .brand-logo {
    filter: none;
}

.subpage.guides-page .site-header:not(.is-scrolled):not(.is-open) .brand-logo {
    filter: brightness(0) invert(1);
}

.journal-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.7fr);
    gap: clamp(32px, 7vw, 96px);
    align-items: end;
    padding-top: clamp(140px, 16vw, 190px);
    background:
        linear-gradient(135deg, rgba(38, 23, 17, 0.84), rgba(77, 40, 53, 0.78)),
        var(--plum);
    color: var(--surface);
    overflow: hidden;
}

.journal-hero::before {
    content: none;
    position: absolute;
    right: clamp(20px, 5vw, 86px);
    top: clamp(82px, 10vw, 128px);
    z-index: 1;
    color: rgba(255, 248, 244, 0.07);
    font-size: clamp(64px, 12vw, 184px);
    font-weight: 900;
    line-height: 0.8;
    pointer-events: none;
}

.journal-hero::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: none;
    content: "";
}

.journal-hero > * {
    position: relative;
    z-index: 2;
}

.journal-hero > div {
    max-width: 850px;
}

.journal-hero p:not(.eyebrow) {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 19px;
}

.guides-page .journal-hero .hero-copy {
    max-width: 680px;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(17px, 2vw, 21px);
}

.journal-hero img {
    width: 100%;
    max-height: 520px;
    border-radius: var(--radius);
    object-fit: cover;
    object-position: center 18%;
}

.guides-page .journal-hero {
    min-height: 92vh;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: end;
    padding: 128px clamp(20px, 6vw, 86px) 48px;
    background: var(--plum);
}

.guides-page .journal-hero::after {
    background:
        linear-gradient(90deg, rgba(38, 23, 17, 0.68) 0%, rgba(77, 40, 53, 0.46) 44%, rgba(38, 23, 17, 0.22) 100%),
        linear-gradient(180deg, rgba(38, 23, 17, 0.18), rgba(38, 23, 17, 0.44));
}

.guides-page .journal-hero img {
    position: absolute;
    inset: 0;
    z-index: 0;
    height: 100%;
    max-height: none;
    border-radius: 0;
    object-position: center center;
}

.guides-page .journal-hero picture {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
}

.journal-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(24px, 4vw, 44px);
}

.blog-feature {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(320px, 0.62fr);
    gap: clamp(22px, 4vw, 54px);
    align-items: stretch;
    margin-bottom: 26px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.blog-feature img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    object-position: center 18%;
}

.blog-feature div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(28px, 5vw, 58px) clamp(24px, 5vw, 62px) clamp(28px, 5vw, 58px) 0;
}

.blog-feature h2 {
    max-width: 620px;
    font-size: clamp(38px, 6vw, 76px);
}

.blog-feature p:not(.eyebrow) {
    max-width: 560px;
    color: var(--muted);
    font-size: 19px;
}

.blog-feature span {
    display: inline-flex;
    width: fit-content;
    margin-top: 18px;
    padding: 12px 16px;
    border-radius: var(--radius);
    background: var(--rose);
    color: var(--surface);
    font-size: 13px;
    font-weight: 800;
}

.blog-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px;
}

.blog-filter-row span {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.blog-filter-row span:first-child {
    background: var(--ink);
    color: var(--surface);
}

.journal-card.image-card {
    display: flex;
    height: auto;
    min-height: 0;
    flex-direction: column;
    align-content: start;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    box-shadow: none;
}

.journal-card.image-card::before {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 0.9;
    background:
        linear-gradient(180deg, rgba(255, 248, 244, 0.02), rgba(255, 248, 244, 0.16)),
        var(--card-image);
    background-position: var(--card-position, center);
    background-size: cover;
    content: "";
}

.journal-card.image-card span,
.journal-card.image-card small {
    color: var(--muted);
}

.journal-card.image-card span {
    margin-top: 22px;
    color: var(--rose-dark);
}

.journal-card.image-card strong {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 22px;
    color: var(--ink);
    font-size: clamp(24px, 2.4vw, 34px);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.journal-card.image-card::after {
    position: relative;
    z-index: 1;
    display: inline-flex;
    width: fit-content;
    margin-top: 20px;
    padding-bottom: 2px;
    border-bottom: 1px solid currentColor;
    color: var(--rose-dark);
    font-size: 12px;
    font-weight: 800;
    content: "Read more";
}

.journal-card.image-card small {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.card-anti {
    --card-image: url("assets/aesthetx-guide-anti-wrinkle.webp");
}

.card-filler {
    --card-image: url("assets/aesthetx-guide-filler.webp");
}

.card-skin {
    --card-image: url("assets/aesthetx-guide-skin-quality.webp");
}

.card-poly {
    --card-image: url("assets/aesthetx-guide-skin-quality.webp");
}

.card-wellness {
    --card-image: url("assets/aesthetx-guide-wellness.webp");
}

.card-practitioner,
.card-consult {
    --card-image: url("assets/aesthetx-guide-consultation.webp");
    --card-position: center 18%;
}

.journal-card.featured {
    min-height: 320px;
    background:
        linear-gradient(180deg, rgba(38, 23, 17, 0.05), rgba(183, 110, 121, 0.14)),
        var(--surface);
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 760px) minmax(260px, 360px);
    gap: clamp(34px, 6vw, 82px);
    align-items: start;
}

.article-content {
    font-size: 18px;
}

.article-content h2 {
    margin-top: 42px;
    font-size: clamp(30px, 4vw, 48px);
}

.article-content h3 {
    margin-top: 30px;
}

.article-content p,
.article-content li {
    color: var(--muted);
}

.article-content ul {
    display: grid;
    gap: 10px;
    padding-left: 22px;
}

.article-aside {
    position: sticky;
    top: 110px;
    display: grid;
    gap: 14px;
}

.article-cta,
.article-note {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 14px 42px rgba(38, 23, 17, 0.08);
}

.article-cta h2,
.article-note h2 {
    margin-bottom: 12px;
    font-size: 26px;
}

.article-cta p,
.article-note p {
    color: var(--muted);
}

.article-cta .button {
    width: 100%;
    margin-top: 12px;
}

label {
    display: grid;
    gap: 7px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.guide-form label,
.guide-form .form-note {
    color: rgba(255, 255, 255, 0.86);
}

input,
textarea,
select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fbfaf7;
    color: var(--ink);
    font: inherit;
    font-size: 16px;
    outline: none;
    padding: 13px 14px;
}

textarea {
    resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--rose);
    box-shadow: 0 0 0 3px rgba(183, 110, 121, 0.18);
}

.form-note {
    min-height: 22px;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.faq {
    background: var(--surface);
}

.faq-list {
    display: grid;
    max-width: 920px;
    gap: 18px;
}

.faq-list details {
    overflow: hidden;
}

.faq-list summary {
    cursor: pointer;
    padding: 22px 26px;
    color: var(--ink);
    font-size: 18px;
    font-weight: 800;
}

.faq-list summary::marker {
    color: var(--rose);
}

.faq-list p {
    margin: 0;
    padding: 0 26px 24px;
    color: var(--muted);
}

.contact {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(300px, 1.12fr);
    gap: clamp(32px, 6vw, 84px);
    align-items: start;
    background: var(--soft);
}

.contact-copy {
    position: sticky;
    top: 110px;
}

.contact-copy p {
    max-width: 520px;
    font-size: 18px;
}

.contact-list {
    display: grid;
    gap: 12px;
    margin-top: 30px;
}

.contact-list a,
.contact-list span {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
    font-weight: 700;
}

.field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.contact-form .button,
.guide-form .button {
    width: fit-content;
    border: 0;
    cursor: pointer;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    padding: 34px clamp(20px, 6vw, 86px);
    background: var(--ink);
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
}

.site-footer p {
    margin: 0;
    max-width: 520px;
}

.site-footer p::before {
    content: "Aesthetx";
    display: block;
    margin-bottom: 8px;
    color: var(--surface);
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
}

.site-footer div {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.site-footer a {
    color: var(--surface);
    font-weight: 800;
}

@media (max-width: 980px) {
    .hero {
        min-height: 860px;
    }

    .proof,
    .steps,
    .intro-grid,
    .section-head.split,
    .journal-hero,
    .blog-feature,
    .journal-promo-grid,
    .journal-grid,
    .article-layout,
    .about,
    .guide,
    .contact,
    .price-grid,
    .pricing-cta,
    .calculator-hero,
    .calculator-layout {
        grid-template-columns: 1fr;
    }

    .pricing-cta {
        display: grid;
        align-items: start;
    }

    .calculator-details {
        position: static;
        grid-row: 2;
    }

    .option-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .proof-item + .proof-item {
        border-top: 1px solid rgba(255, 255, 255, 0.16);
        border-left: 0;
    }

    .treatment-flip-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 300px;
    }

    .treatment-flip-card.is-flipped {
        grid-column: span 2;
        grid-row: span 2;
    }

    .journal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-copy {
        position: static;
    }

    .article-aside {
        position: static;
    }

    .subpage:not(.guides-page) .journal-hero {
        padding-top: 118px;
    }

    .subpage:not(.guides-page) .journal-hero img {
        aspect-ratio: 16 / 9;
        max-height: 300px;
    }

    .blog-feature div {
        padding: 0 clamp(24px, 5vw, 44px) clamp(28px, 5vw, 44px);
    }

    .blog-feature img {
        min-height: 360px;
    }
}

@media (max-width: 760px) {
    .site-header {
        padding: 14px 18px;
    }

    .brand-logo {
        width: 110px;
    }

    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: 72px;
        right: 16px;
        left: 16px;
        display: grid;
        gap: 0;
        overflow: hidden;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: rgba(255, 248, 244, 0.98);
        color: var(--ink);
        box-shadow: var(--shadow);
        transform: translateY(-8px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 160ms ease, transform 160ms ease;
    }

    .site-nav.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .site-nav a {
        padding: 17px 18px;
        border-bottom: 1px solid var(--line);
    }

    .site-nav a:last-child {
        border-bottom: 0;
    }

    .site-nav a::after {
        display: none;
    }

    .hero {
        min-height: 760px;
        padding: 112px 20px 30px;
    }

    .hero-media img {
        object-position: center center;
    }

    .hero-overlay {
        background:
            linear-gradient(180deg, rgba(38, 23, 17, 0.46) 0%, rgba(77, 40, 53, 0.52) 56%, rgba(38, 23, 17, 0.78) 100%),
            linear-gradient(90deg, rgba(77, 40, 53, 0.32), rgba(38, 23, 17, 0.18));
    }

    .hero-copy {
        font-size: 17px;
    }

    .hero-panel {
        grid-template-columns: 1fr;
        margin-top: 36px;
    }

    .hero-panel div + div {
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        border-left: 0;
    }

    .guides-page .journal-hero {
        min-height: 760px;
        padding: 112px 20px 30px;
    }

    .calculator-hero {
        min-height: auto;
        padding: 112px 20px 120px;
        background:
            linear-gradient(145deg, rgba(38, 23, 17, 0.92), rgba(77, 40, 53, 0.84) 58%, rgba(183, 110, 121, 0.78));
    }

    .calculator-hero h1 {
        font-size: clamp(42px, 12vw, 54px);
    }

    .calculator-summary {
        width: auto;
        padding: 16px;
    }

    .calculator-summary.is-floating {
        top: 86px;
        right: 14px;
        left: 14px;
        bottom: auto;
        width: auto;
    }

    .calculator-summary strong {
        margin: 2px 0;
        font-size: 34px;
    }

    .calculator-summary span,
    .calculator-summary small {
        font-size: 12px;
    }

    .guides-page .journal-hero::after {
        background:
            linear-gradient(180deg, rgba(38, 23, 17, 0.46) 0%, rgba(77, 40, 53, 0.52) 56%, rgba(38, 23, 17, 0.78) 100%),
            linear-gradient(90deg, rgba(77, 40, 53, 0.32), rgba(38, 23, 17, 0.18));
    }

    .treatment-flip-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 300px;
    }

    .journal-grid {
        grid-template-columns: 1fr;
    }

    .treatment-flip-card.is-flipped {
        grid-column: auto;
        grid-row: span 2;
        order: initial;
    }

    .treatment-back {
        padding: 22px;
    }

    .treatment-back h3 {
        font-size: 28px;
    }

    .treatment-back p,
    .treatment-back li {
        font-size: 16px;
    }

    .steps span {
        margin-bottom: 34px;
    }

    .field-row {
        grid-template-columns: 1fr;
    }

    .selector-heading {
        display: grid;
    }

    .site-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 430px) {
    h1 {
        font-size: 44px;
    }

    .brand small {
        display: none;
    }

    .hero-actions,
    .hero-actions .button,
    .contact-form .button,
    .guide-form .button,
    .option-grid {
        width: 100%;
    }

    .option-tile {
        min-height: 48px;
        padding: 9px 10px;
        gap: 8px;
        font-size: 13px;
    }

    .option-tile input {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 620px) {
    .option-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}
