/* HEES experience: shared art direction, motion, showcase and editorial layouts.
   Page compositions extend this stylesheet. Brand tokens remain in app.css. */
body.page-hees {
    --home-max: 1360px;
    --home-gutter: clamp(20px, 4.5vw, 72px);
    --home-display: "Aptos Display", "Segoe UI Variable Display", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --home-serif: "Iowan Old Style", "Palatino Linotype", "URW Palladio L", "Book Antiqua", Georgia, serif;
    --home-ink: #f3f0ec;
    --home-soft: #b0adb6;
    --home-line: rgba(255, 255, 255, .12);
    --home-ease: cubic-bezier(.16, 1, .3, 1);
    --home-fast: 180ms;
    --home-normal: 420ms;
    background: var(--bg);
}

/* One header treatment for every page in the HEES experience. */
body.page-hees .site-lines {
    display: none;
}

body.page-hees .site-header {
    border-bottom-color: rgba(255, 255, 255, .06);
}

body.page-hees .header-bar {
    padding-block: 0;
    background: rgba(11, 11, 15, .96);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: background var(--home-normal), border-color var(--home-normal);
}

body.page-hees.header-scrolled .header-bar {
    background: rgba(11, 11, 15, .94);
    box-shadow: none;
}

body.page-hees .header-inner {
    max-width: var(--home-max);
    padding-inline: var(--home-gutter);
    min-height: 88px;
}

body.page-hees .logo__image {
    transform-origin: left center;
    transition: transform var(--home-normal) var(--home-ease);
}

body.page-hees.header-scrolled .logo__image {
    transform: scale(.92);
}

body.page-hees .nav {
    gap: 28px;
}

body.page-hees .nav > a:not(.btn):not(.user-chip) {
    position: relative;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

body.page-hees .nav > a:not(.btn):not(.user-chip)::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--text);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--home-normal) var(--home-ease);
}

body.page-hees .nav > a:hover::after,
body.page-hees .nav > a:focus-visible::after {
    transform: scaleX(1);
}

body.page-hees .nav .btn {
    min-height: 44px;
    border-radius: 6px;
    box-shadow: none;
}

body.page-hees .nav .btn[href$='/contact'] {
    background: var(--red);
    border-color: var(--red);
    color: white;
}

body.page-hees .site-footer {
    margin-top: 0;
    background: var(--bg);
}

body.page-hees .footer-grid, body.page-hees .footer-bottom__inner {
    max-width: var(--home-max);
    padding-inline: var(--home-gutter);
}

.hees-experience {
    overflow: clip;
    color: var(--home-ink);
}

.home-shell {
    width: 100%;
    max-width: var(--home-max);
    margin-inline: auto;
    padding-inline: var(--home-gutter);
}

.home-section {
    position: relative;
    padding-block: clamp(76px, 9vw, 132px);
    scroll-margin-top: 105px;
}

.hees-experience h2 {
    margin: 0;
    font-family: var(--home-display);
    font-size: clamp(36px, 4.25vw, 62px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -.055em;
    color: var(--home-ink);
}

.hees-experience h2 em {
    font-family: var(--home-serif);
    font-weight: 400;
    letter-spacing: -.05em;
    color: #b9b5bb;
}

.hees-experience h3 {
    color: var(--home-ink);
    font-family: var(--home-display);
    font-weight: 500;
}

:where(.hees-experience) p {
    margin-top: 0;
}

.home-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 28px;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #c6c1c8;
}

.section-index {
    color: #e66b7c;
    margin-right: 4px;
    font-variant-numeric: tabular-nums;
}

.status-dot {
    display: inline-block;
    flex: 0 0 auto;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--red-glow);
    box-shadow: 0 0 0 4px rgba(184, 10, 36, .1);
}

.home-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px 26px;
}

.home-button {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 56px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    color: white;
    transition: transform var(--home-normal) var(--home-ease), border-color var(--home-fast);
}

.home-button::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(255, 255, 255, .1);
    transform: translateY(102%);
    transition: transform var(--home-normal) var(--home-ease);
}

.home-button--primary {
    background: var(--red);
    border-color: rgba(255, 255, 255, .08);
    box-shadow: 0 6px 24px rgba(184, 10, 36, .13);
}

.home-button--light {
    color: #171319;
    background: var(--home-ink);
}

.home-button--light::before {
    background: #ded8d7;
}

.button-arrow {
    display: inline-block;
    font-size: 21px;
    line-height: 1;
    transition: transform var(--home-normal) var(--home-ease);
}

.home-button:active {
    transform: translateY(1px) scale(.985);
}

.home-text-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-height: 44px;
    width: fit-content;
    font-size: 12px;
    font-weight: 600;
    color: var(--home-ink);
}

.home-text-link::after {
    content: '';
    position: absolute;
    bottom: 7px;
    left: 0;
    right: 24px;
    height: 1px;
    background: currentColor;
    transform: scaleX(.22);
    transform-origin: left;
    opacity: .45;
    transition: transform var(--home-normal) var(--home-ease), opacity var(--home-fast);
}

.home-text-link > span {
    display: inline-block;
    transition: transform var(--home-normal) var(--home-ease);
}

.hees-experience :is(a, button, summary, [tabindex]):focus-visible {
    outline: 2px solid #ef8394;
    outline-offset: 5px;
}

body.page-hees :is(.site-header, .site-footer, .project-page) :is(a, button, [tabindex]):focus-visible {
    outline: 2px solid #ef8394;
    outline-offset: 5px;
}

.home-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

/* Shared arrival: finite typographic reveals, independent of scroll. */
.home-hero {
    position: relative;
    isolation: isolate;
    padding-top: clamp(40px, 5.5vw, 88px);
}

.home-hero::before {
    content: '';
    pointer-events: none;
    position: absolute;
    z-index: -1;
    inset: -90px 0 -180px;
    background: radial-gradient(ellipse at 81% 36%, rgba(131, 17, 38, .2), transparent 43%), radial-gradient(ellipse at 0% 0%, rgba(184, 10, 36, .055), transparent 45%);
    animation: hero-atmosphere 1.8s var(--home-ease) backwards;
}

.hero-grid {
    position: absolute;
    z-index: -1;
    inset: 0 0 10%;
    background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 88px 88px;
    mask-image: radial-gradient(ellipse at 79% 42%, black, transparent 56%);
    pointer-events: none;
}

.hero-title {
    margin: 0 0 28px;
    font-family: var(--home-display);
    font-size: clamp(48px, 5.25vw, 80px);
    font-weight: 500;
    line-height: 1.065;
    letter-spacing: -.065em;
    color: var(--home-ink);
}

.hero-title__line {
    display: block;
    overflow: clip;
    padding: .035em 0 .11em;
    margin-block: -.035em -.11em;
}

.hero-title__line > span {
    display: block;
    animation: hero-title-in 1.15s var(--home-ease) backwards;
}

.hero-title__line:nth-child(1) > span {
    animation-delay: .16s;
}

.hero-title__line:nth-child(2) > span {
    animation-delay: .28s;
}

.hero-title__line:nth-child(3) > span {
    animation-delay: .4s;
}

.hero-title__line--serif {
    font-family: var(--home-serif);
    font-weight: 400;
    font-style: italic;
    letter-spacing: -.06em;
    color: #e0c5c7;
}

.hero-lead {
    max-width: 43ch;
    margin-bottom: 30px;
    font-size: clamp(14px, 1.15vw, 16px);
    line-height: 1.85;
    color: var(--home-soft);
}

.hero-lead strong {
    font-weight: 500;
    color: var(--home-ink);
}

.hero-enter {
    animation: hero-enter 1s var(--home-ease) backwards;
}

.hero-enter--label {
    animation-delay: .06s;
}

.hero-enter--copy {
    animation-delay: .5s;
}

.hero-enter--actions {
    animation-delay: .62s;
}

.hero-enter--note {
    animation-delay: .73s;
}

.hero-enter--art {
    animation-name: hero-art-in;
    animation-duration: 1.5s;
    animation-delay: .72s;
}

.hero-enter--baseline {
    animation-delay: .85s;
}

.window-dots {
    display: inline-flex;
    gap: 4px;
}

.window-dots i {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #6a555c;
}

.window-dots i:first-child {
    background: #b7364b;
}

.scroll-cue {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 44px;
}

.scroll-cue > span:last-child {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--home-line);
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: border-color 300ms ease, color 300ms ease;
}

/* Showcase: real sites, native horizontal scrolling, enhanced drag/snap. */
.home-showcase {
    padding-top: clamp(64px, 7vw, 104px);
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 40px;
    margin-bottom: 44px;
}

.section-intro {
    max-width: 32ch;
    margin-bottom: 5px;
    font-size: 14px;
    line-height: 1.85;
    color: var(--home-soft);
}

.work-carousel {
    --carousel-color: #d85b73;
    --work-inset: max(var(--home-gutter), calc((100vw - var(--home-max)) / 2 + var(--home-gutter)));
}

.work-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.work-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.work-tab {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 0 15px;
    background: transparent;
    color: #aea8b4;
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    font-size: 11px;
    transition: background var(--home-fast), border-color var(--home-fast), color var(--home-fast);
}

.work-tab__number {
    font-size: 8px;
    color: #948593;
    font-variant-numeric: tabular-nums;
}

.work-tab.is-active {
    border-color: rgba(197, 64, 87, .38);
    color: var(--home-ink);
    background: rgba(184, 10, 36, .1);
}

.work-tab.is-active .work-tab__number {
    color: #ed899c;
}

.work-drag-hint {
    color: #a19aa5;
    font-size: 10px;
    white-space: nowrap;
}

.work-drag-hint > span {
    margin-left: 14px;
    font-size: 22px;
    vertical-align: middle;
}

.work-viewport {
    --slide-width: min(1040px, 80vw);
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 30px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px var(--work-inset) 24px;
    scroll-padding-inline: var(--work-inset);
    scroll-snap-type: x mandatory;
    scroll-behavior: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    touch-action: pan-x pan-y pinch-zoom;
    cursor: grab;
}

.work-viewport::-webkit-scrollbar {
    display: none;
}

.work-viewport.is-dragging {
    scroll-snap-type: none;
    cursor: grabbing;
    user-select: none;
}

.work-slide {
    flex: 0 0 var(--slide-width);
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
    --work-accent: #ba8090;
    --work-surface: #221a20;
}

.work-slide--restaurant {
    --work-accent: #d3a467;
    --work-surface: #251e16;
}

.work-slide--boutique {
    --work-accent: #a9a7cb;
    --work-surface: #20202a;
}

.work-slide--artisan {
    --work-accent: #b5c5a6;
    --work-surface: #102f27;
}

.work-slide--coach {
    --work-accent: #74b9b2;
    --work-surface: #182726;
}

.work-panel {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--home-line);
    border-radius: 9px;
    background: #121116;
    opacity: 1;
}

.work-slide.is-active .work-panel {
    border-color: color-mix(in srgb, var(--work-accent) 42%, transparent);
}

.work-browser {
    height: 38px;
    flex: 0 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding-inline: 18px;
    border-bottom: 1px solid var(--home-line);
    color: #bcb5bf;
    font-size: 9px;
}

.work-browser > span:last-child {
    font-size: 7px;
    letter-spacing: .12em;
    color: #968b99;
}

.work-preview {
    position: relative;
    isolation: isolate;
    width: 100%;
    aspect-ratio: 1440 / 720;
    max-height: 460px;
    overflow: hidden;
    background: var(--work-surface);
}

.work-preview__image {
    position: absolute;
    z-index: 1;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    pointer-events: none;
}

.work-preview__fallback {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8%;
    overflow: hidden;
    background: radial-gradient(ellipse at 90% 80%, color-mix(in srgb, var(--work-accent) 18%, transparent), transparent 70%), var(--work-surface);
}

.preview-overline {
    position: relative;
    z-index: 1;
    color: var(--work-accent);
    font-size: clamp(7px, .7vw, 10px);
    text-transform: uppercase;
    letter-spacing: .18em;
}

.preview-brand {
    position: relative;
    z-index: 1;
    max-width: 65%;
    margin-block: 18px;
    font-family: var(--home-serif);
    font-size: clamp(28px, 5.4vw, 72px);
    line-height: 1.1;
    letter-spacing: -.04em;
}

.preview-signature {
    z-index: 1;
    max-width: 60%;
    font-size: clamp(10px, 1vw, 14px);
    color: #d1c7ce;
}

.work-preview__badge {
    position: absolute;
    bottom: 18px;
    right: 18px;
    z-index: 2;
    display: flex;
    gap: 26px;
    align-items: center;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 3px;
    color: #eee9ef;
    background: rgba(16, 13, 18, .88);
    font-size: 8px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.work-preview__badge > span {
    font-size: 18px;
}

.work-info {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    align-items: start;
    gap: 28px;
    padding: 28px;
    border-top: 1px solid var(--home-line);
}

.work-audience {
    margin-bottom: 10px;
    font-size: 8px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--work-accent);
}

.work-info h3 {
    margin: 0;
    font-size: clamp(21px, 2.2vw, 29px);
    line-height: 1.14;
    letter-spacing: -.04em;
}

.work-description {
    margin: 0;
    color: var(--home-soft);
    font-size: 12px;
    line-height: 1.8;
}

.work-actions {
    display: grid;
    gap: 6px;
}

.work-actions .home-button {
    min-height: 46px;
    padding-inline: 18px;
    font-size: 11px;
}

.work-actions > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.work-actions .home-text-link {
    font-size: 9px;
    gap: 8px;
}

.work-actions .home-text-link::after {
    right: 15px;
}

.work-footer {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 6px;
}

.work-counter {
    display: flex;
    align-items: center;
    gap: 13px;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.work-counter__divider, [data-carousel-total] {
    color: #827b89;
}

.work-progress {
    width: 120px;
    height: 2px;
    background: var(--home-line);
    overflow: hidden;
}

.work-progress > span {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--carousel-color);
    transform: scaleX(.2);
    transform-origin: left;
    transition: transform var(--home-fast) linear, background-color var(--home-normal);
}

.work-footer > p {
    margin: 0;
    color: #9c93a2;
    font-size: 10px;
}

.work-controls {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

.circle-button {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    background: transparent;
    color: var(--home-ink);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: border-color 300ms ease, color 300ms ease, transform var(--home-normal) var(--home-ease);
}

/* One precise arrow stroke; a second stroke enters in the direction of travel. */
.hees-arrow { display: inline-grid; place-items: center; flex: 0 0 auto; }
.hees-arrow > svg {
    position: relative;
    z-index: 1;
    display: block;
    width: 22px;
    height: 22px;
    overflow: hidden;
    transform: rotate(var(--arrow-angle, 0deg));
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.hees-arrow--left { --arrow-angle: 180deg; }
.hees-arrow--down { --arrow-angle: 90deg; }
.hees-arrow__main, .hees-arrow__trail {
    transition: transform 480ms cubic-bezier(.22, 1, .36, 1);
}
.hees-arrow__trail { transform: translateX(-28px); }
.circle-button::before, .scroll-cue > .hees-arrow::before {
    content: '';
    position: absolute;
    inset: -1px;
    z-index: 0;
    border-radius: inherit;
    background: linear-gradient(145deg, var(--red), #e1062c);
    transform: translateY(105%);
    transition: transform 480ms cubic-bezier(.22, 1, .36, 1);
    pointer-events: none;
}
.circle-button:not(:disabled):focus-visible,
.scroll-cue:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 5px;
}
.circle-button:not(:disabled):focus-visible,
.scroll-cue:focus-visible > .hees-arrow { border-color: var(--red); color: #fff; }
.circle-button:not(:disabled):focus-visible::before,
.scroll-cue:focus-visible > .hees-arrow::before { transform: translateY(0); }
.circle-button:not(:disabled):focus-visible .hees-arrow__main,
.scroll-cue:focus-visible .hees-arrow__main { transform: translateX(28px); }
.circle-button:not(:disabled):focus-visible .hees-arrow__trail,
.scroll-cue:focus-visible .hees-arrow__trail { transform: translateX(0); }
.circle-button:not(:disabled):active { border-color: var(--red); }
.scroll-cue:active > .hees-arrow { border-color: var(--red); color: #fff; }
.circle-button:not(:disabled):active::before,
.scroll-cue:active > .hees-arrow::before { transform: translateY(0); }

.circle-button:disabled {
    opacity: .3;
    cursor: default;
}

.circle-button:active {
    transform: scale(.94);
}
.method-intro > p:not(.home-eyebrow) {
    max-width: 37ch;
    margin: 27px 0 18px;
    color: var(--home-soft);
    font-size: 14px;
    line-height: 1.85;
}

/* A continuous process, with its own vertical rhythm. */
.method-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(50px, 8vw, 120px);
    align-items: start;
}

.method-intro {
    position: sticky;
    top: 140px;
}

.method-signature {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 65px;
    color: #9d7f8d;
    font-family: var(--home-serif);
    font-style: italic;
    font-size: 19px;
}

.method-signature > span {
    font-family: var(--home-display);
    font-size: 60px;
    font-style: normal;
    font-weight: 300;
    line-height: 1;
}

.method-steps {
    list-style: none;
    margin: 0;
    padding: 0;
}

.method-step {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 28px;
    position: relative;
    padding-bottom: 48px;
}

.method-step:last-child {
    padding-bottom: 0;
}

.method-step:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 64px;
    bottom: 7px;
    width: 1px;
    background: linear-gradient(#783047, rgba(255, 255, 255, .1));
}

.method-step__number {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border: 1px solid #4a2c3b;
    background: #181018;
    color: #d296a7;
    border-radius: 50%;
    font-family: var(--home-display);
    font-size: 16px;
    font-variant-numeric: tabular-nums;
}

.method-step__label {
    display: block;
    margin: 4px 0 12px;
    color: #af7f92;
    text-transform: uppercase;
    letter-spacing: .15em;
    font-size: 8px;
}

.method-step h3 {
    font-size: 25px;
    line-height: 1.2;
    letter-spacing: -.04em;
    margin-bottom: 15px;
}

.method-step p {
    margin: 0;
    color: var(--home-soft);
    font-size: 13px;
    line-height: 1.85;
    max-width: 42ch;
}

.faq-item {
    border-top: 1px solid var(--home-line);
}

.faq-item:last-child {
    border-bottom: 1px solid var(--home-line);
}

.faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding-block: 25px;
    list-style: none;
    font-size: 13px;
    line-height: 1.65;
    color: #dfd8e1;
    cursor: pointer;
    transition: color var(--home-fast);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

/* Closing composition reconnects with the hero. */
.home-contact {
    padding-bottom: 0;
    isolation: isolate;
    background: radial-gradient(ellipse at 50% 80%, rgba(127, 15, 38, .15), transparent 65%);
}

.contact-orbit {
    position: absolute;
    z-index: -1;
    left: 50%;
    bottom: -220px;
    width: min(950px, 120vw);
    aspect-ratio: 1;
    border: 1px solid rgba(196, 99, 128, .1);
    border-radius: 50%;
    transform: translateX(-50%) scaleY(.7);
    pointer-events: none;
}

.contact-orbit::after {
    content: '';
    position: absolute;
    inset: 55px;
    border: 1px solid rgba(196, 99, 128, .065);
    border-radius: 50%;
}

.contact-content {
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.contact-content .home-eyebrow {
    justify-content: center;
}

.contact-content h2 {
    font-size: clamp(44px, 6.5vw, 92px);
    line-height: 1.04;
}

.contact-content h2 em {
    color: #dfbac8;
}

.contact-content > p:not(.home-eyebrow) {
    margin: 30px 0;
    color: var(--home-soft);
    max-width: 44ch;
    font-size: 14px;
    line-height: 1.85;
}

.contact-content > .home-text-link {
    margin-top: 16px;
    color: #aaa0ad;
    font-size: 10px;
}

.contact-signoff {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 100px;
    padding-block: 24px;
    color: #a090a0;
    font-size: 9px;
    letter-spacing: .04em;
}

/* Motion is finite on arrival. Scroll reveals are progressive WAAPI effects. */
@keyframes hero-title-in {
    from {
        transform: translate3d(0, 115%, 0) rotate(2deg);
    }
    to {
        transform: translate3d(0, 0, 0) rotate(0);
    }
}

@keyframes hero-enter {
    from {
        opacity: 0;
        transform: translate3d(0, 20px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes hero-art-in {
    from {
        opacity: 0;
        transform: translate3d(30px, 25px, 0) rotate(5deg) scale(.95);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) rotate(0) scale(1);
    }
}

@keyframes hero-atmosphere {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (hover: hover) {
    .home-button:hover {
        transform: translateY(-2px);
    }

    .home-button:hover::before {
        transform: translateY(0);
    }

    .home-button:hover .button-arrow {
        transform: translate(3px, -3px);
    }

    .home-text-link:hover::after {
        transform: scaleX(1);
        opacity: .9;
    }

    .home-text-link:hover > span {
        transform: translate(2px, -2px);
    }

    .scroll-cue:hover > .hees-arrow { border-color: var(--red); color: #fff; }

    .work-tab:hover {
        color: white;
        border-color: var(--home-line);
    }

    .circle-button:not(:disabled):hover {
        border-color: var(--red);
        color: #fff;
    }

    .circle-button:not(:disabled):hover::before,
    .scroll-cue:hover > .hees-arrow::before { transform: translateY(0); }
    .circle-button:not(:disabled):hover .hees-arrow__main,
    .scroll-cue:hover .hees-arrow__main { transform: translateX(28px); }
    .circle-button:not(:disabled):hover .hees-arrow__trail,
    .scroll-cue:hover .hees-arrow__trail { transform: translateX(0); }

    .faq-item summary:hover {
        color: #e99ab1;
    }
}

@media (max-width: 1100px) {

    .hero-title {
        font-size: clamp(46px, 5.3vw, 62px);
    }

    .hero-lead {
        max-width: 37ch;
    }

    .work-info {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .work-actions {
        grid-column: 1 / -1;
        grid-template-columns: auto 1fr;
        gap: 28px;
        align-items: center;
    }

    .work-actions > div {
        justify-content: flex-start;
        gap: 24px;
    }

    .work-actions .home-text-link {
        font-size: 11px;
    }
.method-layout {
        gap: 48px;
    }
}

@media (max-width: 980px) {
    body.page-hees .header-inner {
        min-height: 76px;
    }

    .work-drag-hint {
        display: none;
    }
}

/* Mobile is composed, not a stripped-down desktop. */
@media (max-width: 760px) {
    body.page-hees {
        --home-gutter: 24px;
    }

    body.page-hees .header-inner {
        min-height: 72px;
    }

    body.page-hees .header-bar {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(11, 11, 15, .96);
    }

    .home-section {
        padding-block: 74px;
        scroll-margin-top: 88px;
    }

    .hees-experience h2 {
        font-size: clamp(34px, 6vw, 46px);
    }

    .home-eyebrow {
        font-size: 9px;
        margin-bottom: 22px;
    }

    .home-hero {
        padding-top: 42px;
    }

    .hero-title {
        font-size: clamp(44px, 8.6vw, 64px);
        line-height: 1.065;
        margin-bottom: 25px;
    }

    .hero-lead {
        max-width: 44ch;
        font-size: 14px;
        line-height: 1.8;
        margin-bottom: 25px;
    }

    .home-actions {
        gap: 9px 22px;
    }

    .home-button {
        min-height: 54px;
        padding-inline: 20px;
    }

    .hero-grid {
        background-size: 60px 60px;
        mask-image: radial-gradient(ellipse at 65% 70%, black, transparent 65%);
    }

    .section-heading {
        display: block;
        margin-bottom: 27px;
    }

    .section-intro {
        margin: 23px 0 0;
        max-width: 43ch;
        font-size: 13px;
    }

    .work-toolbar {
        margin-bottom: 16px;
    }

    .work-pagination {
        gap: 3px;
    }

    .work-tab {
        font-size: 10px;
        min-height: 44px;
        padding-inline: 11px;
        gap: 6px;
    }

    .work-tab__number {
        font-size: 7px;
    }

    .work-viewport {
        --slide-width: calc(100vw - var(--home-gutter) * 2 - 16px);
        gap: 16px;
        padding-bottom: 18px;
    }

    .work-panel {
        transform: scale(.97);
    }

    .work-browser {
        height: 32px;
        padding-inline: 12px;
        font-size: 8px;
    }

    .work-browser > span:last-child {
        font-size: 6px;
    }

    .work-preview {
        aspect-ratio: 1.48;
    }

    .work-preview__badge {
        bottom: 10px;
        right: 10px;
        font-size: 6px;
        padding: 4px 8px;
        gap: 10px;
    }

    .work-preview__badge > span {
        font-size: 14px;
    }

    .work-info {
        grid-template-columns: 1fr;
        gap: 17px;
        padding: 22px;
    }

    .work-info h3 {
        font-size: 27px;
        max-width: 17ch;
    }

    .work-audience {
        font-size: 7px;
        line-height: 1.6;
        margin-bottom: 9px;
    }

    .work-description {
        font-size: 13px;
        line-height: 1.8;
    }

    .work-actions {
        grid-column: auto;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .work-actions .home-button {
        min-height: 48px;
        font-size: 12px;
    }

    .work-actions > div {
        justify-content: space-between;
    }

    .work-actions .home-text-link {
        font-size: 11px;
    }

    .work-footer {
        flex-wrap: wrap;
        gap: 16px;
        margin-top: 3px;
    }

    .work-footer > p {
        order: 5;
        flex-basis: 100%;
        font-size: 9px;
        margin-top: 0;
    }

    .work-progress {
        width: 64px;
    }

    .circle-button {
        width: 44px;
        height: 44px;
    }

    .preview-brand {
        font-size: clamp(27px, 6vw, 40px);
    }
.preview-overline {
        font-size: 6px;
    }

    .preview-signature {
        font-size: 9px;
    }
.method-layout {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .method-intro {
        position: static;
    }

    .method-intro > p:not(.home-eyebrow) {
        max-width: 44ch;
        font-size: 13px;
    }

    .method-signature {
        display: none;
    }

    .method-steps {
        margin-top: 6px;
    }

    .method-step {
        grid-template-columns: 46px 1fr;
        gap: 21px;
        padding-bottom: 34px;
    }

    .method-step__number {
        width: 46px;
        height: 46px;
        font-size: 14px;
    }

    .method-step:not(:last-child)::before {
        left: 22px;
        top: 53px;
    }

    .method-step h3 {
        font-size: 24px;
    }

    .method-step p {
        font-size: 13px;
    }

    .faq-item summary {
        font-size: 13px;
        padding-block: 22px;
        gap: 15px;
    }

    .home-contact {
        padding-block: 68px 0;
    }

    .contact-content h2 {
        font-size: clamp(39px, 8.2vw, 60px);
    }

    .contact-content > p:not(.home-eyebrow) {
        font-size: 13px;
        margin-block: 25px;
    }

    .contact-content .home-button {
        font-size: 12px;
    }

    .contact-signoff {
        flex-direction: column;
        gap: 5px;
        text-align: center;
        margin-top: 65px;
        font-size: 8px;
    }
}

@media (max-width: 374px) {
    body.page-hees {
        --home-gutter: 18px;
    }

    .home-hero {
        padding-top: 33px;
    }

    .hero-title {
        font-size: 39px;
    }

    .hero-lead {
        font-size: 13px;
    }

    .home-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 4px;
    }

    .home-actions .home-text-link {
        align-self: center;
    }

    .hees-experience h2 {
        font-size: 33px;
    }

    .home-eyebrow {
        font-size: 8px;
    }

    .work-tab {
        padding-inline: 9px;
        font-size: 9px;
    }

    .work-info {
        padding: 20px 17px;
    }

    .work-info h3 {
        font-size: 25px;
    }

    .work-browser > span:last-child {
        font-size: 5px;
    }

    .work-footer {
        gap: 12px;
    }

    .work-progress {
        width: 42px;
    }

    .contact-content h2 {
        font-size: 37px;
    }
}

/* Desktop showcase: one complete composition inside the available viewport.
   One screen, no scroll pinning; every viewport keeps native swipe. */
@media (min-width: 981px) and (min-height: 600px) {
    .home-showcase {
        padding-block: 0;
        margin-block: 64px;
    }

    .showcase-stage {
        height: calc(100svh - 88px);
        min-height: 512px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-block: clamp(16px, 3svh, 30px);
    }

    .showcase-stage .section-heading {
        flex: 0 0 auto;
        margin-bottom: 18px;
        gap: 28px;
    }

    .showcase-stage .home-eyebrow { margin-bottom: 8px; }
    .showcase-stage h2 { font-size: clamp(30px, 3vw, 44px); }
    .showcase-stage h2 .heading-line { display: inline-block; }
    .showcase-stage .section-intro { font-size: 12px; max-width: 40ch; }

    .showcase-stage .work-carousel {
        flex: 1;
        min-height: 0;
        display: flex;
        flex-direction: column;
    }

    .showcase-stage .work-toolbar { margin-bottom: 12px; flex: 0 0 auto; }
    .showcase-stage .work-viewport {
        --slide-width: min(1120px, 84vw);
        flex: 1;
        min-height: 0;
        padding-block: 4px 12px;
        gap: 24px;
    }

    .showcase-stage .work-panel {
        display: grid;
        grid-template-columns: minmax(0, 1.55fr) minmax(290px, 1fr);
        grid-template-rows: 32px minmax(0, 1fr);
        border-radius: 14px;
        background: var(--work-surface);
        border-color: color-mix(in srgb, var(--work-accent) 35%, transparent);
    }

    .showcase-stage .work-browser { grid-column: 1 / -1; height: 32px; background: rgba(0, 0, 0, .18); }
    .showcase-stage .work-preview { height: 100%; min-height: 0; max-height: none; aspect-ratio: auto; }
    .showcase-stage .work-preview__badge { bottom: 12px; right: 12px; }
    .showcase-stage .work-info {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: clamp(14px, 2.5svh, 28px);
        padding: clamp(20px, 2.5vw, 36px);
        border-top: 0;
        border-left: 1px solid color-mix(in srgb, var(--work-accent) 25%, transparent);
        background: radial-gradient(ellipse at 100% 0%, color-mix(in srgb, var(--work-accent) 20%, transparent), transparent 75%), var(--work-surface);
    }

    .showcase-stage .work-info h3 { font-size: clamp(25px, 2.5vw, 36px); max-width: 15ch; }
    .showcase-stage .work-audience { font-size: 8px; line-height: 1.7; margin-bottom: 12px; }
    .showcase-stage .work-description { font-size: 13px; line-height: 1.75; }
    .showcase-stage .work-actions { display: grid; width: 100%; gap: 8px; }
    .showcase-stage .work-actions .home-button--light { background: var(--work-accent); color: #151215; min-height: 48px; font-size: 12px; }
    .showcase-stage .work-actions > div { justify-content: space-between; gap: 14px; }
    .showcase-stage .work-actions .home-text-link { font-size: 10px; }
    .showcase-stage .work-footer { flex: 0 0 auto; margin-top: 6px; }
    .showcase-stage .circle-button { width: 44px; height: 44px; }
    .showcase-stage .work-slide--beauty { --work-accent: #cba77b; --work-surface: #282018; }
    .showcase-stage .work-slide--restaurant { --work-accent: #dfa45c; --work-surface: #2b1b10; }
    .showcase-stage .work-slide--boutique { --work-accent: #ffa08c; --work-surface: #241f35; }
    .showcase-stage .work-slide--artisan { --work-accent: #b5c5a6; --work-surface: #102f27; }
    .showcase-stage .work-slide--coach { --work-accent: #84efd1; --work-surface: #131f31; }
}

@media (min-width: 981px) and (min-height: 600px) and (max-height: 720px) {
    .showcase-stage .section-heading { margin-bottom: 12px; }
    .showcase-stage .section-intro { max-width: 46ch; font-size: 11px; }
    .showcase-stage .work-info { gap: 12px; padding: 18px 24px; }
    .showcase-stage .work-info h3 { font-size: 25px; }
    .showcase-stage .work-description { font-size: 12px; line-height: 1.65; }
    .showcase-stage .work-audience { margin-bottom: 6px; }
    .showcase-stage .work-actions .home-button { min-height: 44px; }
}

/* An unenhanced carousel remains a normal scrollable set of working links. */
.work-carousel:not(.is-enhanced) .work-panel {
    opacity: 1;
    transform: none;
}

.work-carousel:not(.is-enhanced) .work-toolbar,
.work-carousel:not(.is-enhanced) .work-controls,
.work-carousel:not(.is-enhanced) .work-counter,
.work-carousel:not(.is-enhanced) .work-progress {
    display: none;
}

html:not(.js-enabled) body.page-hees .burger {
    display: none;
}

html:not(.js-enabled) body.page-hees .header-inner {
    flex-wrap: wrap;
    padding-block: 14px;
}

html:not(.js-enabled) body.page-hees .nav--desktop {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

/* Scene handoffs: one red stroke, different rhythms. All defaults are readable. */
.heading-line { display: block; overflow: clip; padding-bottom: .13em; margin-bottom: -.13em; }
.heading-line > span { display: block; }
.home-contact::before {
    content: ''; position: absolute; top: 0; left: var(--home-gutter); width: 1px; height: 64px;
    background: var(--red); transform-origin: top; pointer-events: none;
}
.home-contact::before { left: 50%; height: 72px; }
.work-counter__window { display: inline-block; height: 1.2em; overflow: hidden; vertical-align: bottom; }
.work-counter__reel { display: block; transition: transform 600ms var(--home-ease); }
.work-counter__reel > span { display: block; height: 1.2em; line-height: 1.2; }
.has-step-motion .method-step:not(:last-child)::before { background: var(--home-line); }
.has-step-motion .method-step:not(:last-child)::after {
    content: ''; position: absolute; left: 28px; top: 64px; bottom: 7px; width: 1px; background: var(--red);
    transform: scaleY(0); transform-origin: top; transition: transform 300ms var(--home-ease);
}
.has-step-motion .method-step.is-complete::after { transform: scaleY(1); }
.method-step__number { transition: color var(--home-normal), background-color var(--home-normal), border-color var(--home-normal); }
.has-step-motion .method-step.is-current .method-step__number { background: var(--red); border-color: var(--red); color: white; }
.home-contact { padding-top: clamp(120px, 14vw, 200px); }
@media (max-width: 760px) {
    .has-step-motion .method-step:not(:last-child)::after { left: 22px; top: 52px; }
}

@media (prefers-reduced-motion: reduce) {
    .hees-experience *, .hees-experience *::before, .hees-experience *::after {
        /* Override state selectors too, including when the preference changes mid-gesture. */
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .work-panel {
        transform: none;
        opacity: 1;
    }

    body.page-hees .header-bar, body.page-hees .nav > a::after, body.page-hees .logo__image {
        transition: none;
    }
}
