/* ==========================================================================
   CLINIC — design tokens
   ========================================================================== */
:root {
    --paper: #f7f3ec;
    --paper-2: #efe8dc;
    --paper-3: #e6ddcf;
    --ink: #13201b;
    --ink-2: #1b2c25;
    --ink-3: #263a31;
    --sage: #8c9d8d;
    --sage-2: #b8c4b6;
    --brass: #b58a58;
    --brass-2: #d2b183;
    --brass-3: #8d6539;
    --rose: #c8a49f;
    --white: #fffdf9;
    --text: #13201b;
    --text-sub: #5f6a64;
    --text-inv: #f7f3ec;
    --text-inv-sub: rgba(247, 243, 236, 0.64);
    --line: rgba(19, 32, 27, 0.14);
    --line-strong: rgba(19, 32, 27, 0.28);
    --line-dark: rgba(247, 243, 236, 0.14);
    --line-dark-strong: rgba(247, 243, 236, 0.3);
    --font-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Apple SD Gothic Neo", sans-serif;
    --font-display: "Noto Serif KR", "Nanum Myeongjo", "Batang", serif;
    --font-script: "Italianno", "Snell Roundhand", cursive;
    --inner: 1320px;
    --gutter: clamp(20px, 4vw, 56px);
    --header-h: 116px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   Reset & base
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 1.6rem;
    line-height: 1.65;
    font-weight: 400;
    word-break: keep-all;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body.is-locked {
    overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
dl,
dd,
figure,
blockquote {
    margin: 0;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

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

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

img {
    height: auto;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

button {
    border: 0;
    background: none;
    cursor: pointer;
}

table {
    border-collapse: collapse;
    width: 100%;
}

[hidden] {
    display: none !important;
}

::selection {
    background: var(--brass);
    color: var(--ink);
}

:focus-visible {
    outline: 2px solid var(--brass);
    outline-offset: 4px;
}

.icon {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.icon-sm {
    width: 14px;
    height: 14px;
}

.sound_only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

#skip_nav a {
    position: fixed;
    top: -100px;
    left: 16px;
    z-index: 1000;
    padding: 12px 20px;
    background: var(--ink);
    color: var(--paper);
    font-size: 1.4rem;
    transition: top 0.2s;
}

#skip_nav a:focus {
    top: 16px;
}

#hd_login_msg {
    position: fixed;
    top: calc(var(--header-h) + 12px);
    right: 20px;
    left: auto;
    z-index: 90;
    transform: none;
    padding: 7px 12px;
    background: rgba(181, 138, 88, 0.94);
    color: var(--ink);
    font-size: 1.1rem;
    line-height: 1.5;
    border-radius: 0;
}

#hd_login_msg a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

#hd_login_msg .hd_nick {
    font-weight: 600;
}

#hd_login_msg a:hover {
    text-decoration-thickness: 2px;
}

/* ==========================================================================
   Layout utilities
   ========================================================================== */
.inner {
    width: 100%;
    max-width: var(--inner);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.site-main {
    display: block;
    min-height: 60vh;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    line-height: 1.4;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-sub);
}

.is-dark .eyebrow {
    color: var(--brass-2);
}

.eyebrow-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brass);
}

.display {
    font-family: var(--font-display);
    font-size: clamp(3.4rem, 4.6vw, 6rem);
    font-weight: 500;
    line-height: 1.24;
    letter-spacing: -0.04em;
    color: var(--text);
}

.is-dark .display {
    color: var(--text-inv);
}

.display em {
    font-style: normal;
    color: var(--brass-3);
}

.is-dark .display em {
    color: var(--brass-2);
}

.lead {
    max-width: 58rem;
    font-size: 1.7rem;
    line-height: 1.9;
    color: var(--text-sub);
    word-break: keep-all;
}

.is-dark .lead {
    color: var(--text-inv-sub);
}

.section {
    position: relative;
    padding: clamp(9rem, 12vw, 16rem) 0;
    overflow: clip;
}

.section > .inner {
    position: relative;
    z-index: 2;
}

.section.is-dark {
    background: var(--ink);
    color: var(--text-inv);
}

.section-head {
    position: relative;
    z-index: 2;
    margin-bottom: clamp(4.8rem, 7vw, 8rem);
}

.section-head .display {
    margin-top: 2rem;
}

.section-head .lead {
    margin-top: 2.6rem;
}

.section-head.split {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(3.2rem, 8vw, 12rem);
    align-items: end;
}

.section-head.split .lead {
    justify-self: end;
    margin-top: 0;
}

.section-foot {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-start;
    margin-top: clamp(4rem, 6vw, 6.4rem);
}

.ghost {
    position: absolute;
    z-index: 0;
    left: -0.08em;
    bottom: -0.24em;
    font-family: var(--font-script);
    font-size: clamp(24rem, 38vw, 58rem);
    line-height: 0.8;
    letter-spacing: 0;
    color: rgba(19, 32, 27, 0.035);
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}

.is-dark .ghost {
    color: rgba(247, 243, 236, 0.035);
}

.ghost-about {
    left: -0.12em;
    bottom: -0.18em;
}

.ghost-treatments {
    right: -0.1em;
    left: auto;
    color: rgba(247, 243, 236, 0.03);
}

.ghost-facility {
    right: -0.06em;
    left: auto;
}

/* ==========================================================================
   Buttons & links
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 54px;
    padding: 0 28px;
    border: 1px solid transparent;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.2;
    white-space: nowrap;
    transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.btn .icon {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-brass {
    background: var(--brass);
    border-color: var(--brass);
    color: var(--ink);
}

.btn-brass:hover {
    background: var(--brass-2);
    border-color: var(--brass-2);
}

.btn-ghost {
    border-color: var(--line-dark-strong);
    color: var(--text-inv);
}

.btn-ghost:hover {
    background: var(--paper);
    border-color: var(--paper);
    color: var(--ink);
}

.btn-line {
    border-color: var(--line-strong);
    color: var(--text);
}

.btn-line:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--paper);
}

.btn-line-light {
    border-color: var(--line-dark-strong);
    color: var(--text-inv);
}

.btn-line-light:hover {
    background: var(--paper);
    border-color: var(--paper);
    color: var(--ink);
}

.btn-full {
    width: 100%;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line-strong);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text);
    transition: gap 0.3s var(--ease), border-color 0.3s;
}

.link-arrow .icon {
    width: 17px;
    height: 17px;
}

.link-arrow:hover {
    gap: 18px;
    border-color: var(--brass);
}

.is-dark .link-arrow {
    border-color: var(--line-dark-strong);
    color: var(--text-inv);
}

.is-dark .link-arrow:hover {
    border-color: var(--brass-2);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    color: var(--text);
    transition: background 0.4s var(--ease), color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.site-header.over-hero {
    color: var(--text-inv);
}

.site-header.over-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10, 16, 13, 0.62), rgba(10, 16, 13, 0));
    opacity: 1;
    pointer-events: none;
    transition: opacity 0.4s var(--ease);
}

.site-header.is-solid,
.site-header.over-hero.is-scrolled {
    background: rgba(247, 243, 236, 0.96);
    color: var(--text);
    box-shadow: 0 1px 0 var(--line);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.site-header.over-hero.is-scrolled::before {
    opacity: 0;
}

.site-header.is-solid .utility {
    background: var(--ink);
    border-bottom-color: var(--line-dark);
}

.utility {
    position: relative;
    z-index: 2;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    transition: max-height 0.4s var(--ease), opacity 0.3s, border-color 0.4s;
    max-height: 44px;
    overflow: hidden;
}

.site-header.over-hero.is-scrolled .utility {
    max-height: 0;
    opacity: 0;
    border-color: transparent;
}

.utility-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 40px;
    gap: 24px;
}

.utility-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    letter-spacing: 0.12em;
    color: rgba(247, 243, 236, 0.62);
}

.utility-note .icon {
    width: 14px;
    height: 14px;
    color: var(--brass-2);
}

.utility-links {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 1.15rem;
    color: rgba(247, 243, 236, 0.7);
}

.utility-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.utility-links a:hover {
    color: var(--paper);
}

.utility-user {
    color: rgba(247, 243, 236, 0.88);
    font-weight: 600;
}

.utility-user:hover {
    color: var(--paper);
}

.utility-hours {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.utility-hours .icon {
    width: 14px;
    height: 14px;
}

.header-main {
    position: relative;
    z-index: 2;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    min-height: 76px;
}

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

.brand-mark {
    display: inline-flex;
    width: 40px;
    height: 40px;
    color: var(--brass);
}

.site-header.is-solid .brand-mark,
.site-header.over-hero.is-scrolled .brand-mark {
    color: var(--brass-3);
}

.brand-mark svg {
    width: 100%;
    height: 100%;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    line-height: 1;
}

.brand-text strong {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.brand-text small {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    opacity: 0.62;
}

.gnb {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
}

.gnb-list {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2.4vw, 38px);
}

.gnb-item {
    position: relative;
}

.gnb-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 76px;
    font-size: 1.45rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    white-space: nowrap;
    transition: color 0.2s;
}

.gnb-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 22px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--brass);
    transform: translateX(-50%) scale(0);
    transition: transform 0.3s var(--ease);
}

.gnb-item.is-active .gnb-link::after,
.gnb-item:hover .gnb-link::after {
    transform: translateX(-50%) scale(1);
}

.gnb-sub {
    position: absolute;
    top: calc(100% - 6px);
    left: 50%;
    z-index: 5;
    min-width: 190px;
    padding: 14px 0;
    background: var(--paper);
    color: var(--text);
    border: 1px solid var(--line);
    box-shadow: 0 20px 50px rgba(19, 32, 27, 0.12);
    transform: translate(-50%, 10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}

.gnb-item:hover .gnb-sub,
.gnb-item:focus-within .gnb-sub {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.gnb-sub-list li a {
    display: block;
    padding: 9px 22px;
    font-size: 1.35rem;
    color: var(--text-sub);
    white-space: nowrap;
    transition: color 0.2s, background 0.2s;
}

.gnb-sub-list li a:hover,
.gnb-sub-list li a[aria-current="page"] {
    background: var(--paper-2);
    color: var(--text);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 0 0 auto;
}

.header-account {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: inherit;
    opacity: 0.7;
    white-space: nowrap;
    transition: opacity 0.2s, color 0.2s;
}

.header-account .icon {
    width: 15px;
    height: 15px;
}

.header-account:hover {
    opacity: 1;
    color: var(--brass-2);
}

.site-header.is-solid .header-account:hover,
.site-header.over-hero.is-scrolled .header-account:hover {
    color: var(--brass-3);
}

.header-user {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 500;
    color: inherit;
    white-space: nowrap;
}

.header-user-name {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 110px;
    min-width: 0;
    opacity: 0.78;
    transition: opacity 0.2s, color 0.2s;
}

.header-user-name span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-user-name .icon {
    width: 15px;
    height: 15px;
}

.header-user-name:hover {
    opacity: 1;
    color: var(--brass-2);
}

.header-user-logout {
    font-size: 1.05rem;
    opacity: 0.55;
    transition: opacity 0.2s, color 0.2s;
}

.header-user-logout:hover {
    opacity: 1;
    color: var(--brass-2);
}

.site-header.is-solid .header-user-name:hover,
.site-header.is-solid .header-user-logout:hover,
.site-header.over-hero.is-scrolled .header-user-name:hover,
.site-header.over-hero.is-scrolled .header-user-logout:hover {
    color: var(--brass-3);
}

.header-phone {
    display: flex;
    flex-direction: column;
    gap: 1px;
    text-align: right;
    line-height: 1.2;
}

.header-phone span {
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    opacity: 0.56;
}

.header-phone strong {
    font-size: 1.45rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.btn-header {
    min-height: 44px;
    padding: 0 20px;
    background: transparent;
    border-color: currentColor;
    color: inherit;
    font-size: 1.25rem;
}

.btn-header:hover {
    background: var(--brass);
    border-color: var(--brass);
    color: var(--ink);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 0 9px;
}

.menu-toggle-line {
    display: block;
    width: 100%;
    height: 1px;
    background: currentColor;
    transition: transform 0.3s var(--ease);
}

/* ==========================================================================
   Mobile drawer
   ========================================================================== */
.drawer {
    position: fixed;
    inset: 0;
    z-index: 200;
    visibility: hidden;
    pointer-events: none;
}

.drawer.is-open {
    visibility: visible;
    pointer-events: auto;
}

.drawer-bg {
    position: absolute;
    inset: 0;
    background: rgba(10, 16, 13, 0.55);
    opacity: 0;
    transition: opacity 0.35s var(--ease);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.drawer.is-open .drawer-bg {
    opacity: 1;
}

.drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    width: min(88vw, 420px);
    height: 100%;
    background: var(--paper);
    color: var(--text);
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.drawer.is-open .drawer-panel {
    transform: translateX(0);
}

.drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px;
    border-bottom: 1px solid var(--line);
}

.brand-drawer .brand-mark {
    width: 34px;
    height: 34px;
    color: var(--brass-3);
}

.brand-drawer .brand-text strong {
    font-size: 1.7rem;
}

.drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    color: var(--text);
}

.drawer-close .icon {
    width: 20px;
    height: 20px;
}

.drawer-body {
    flex: 1;
    padding: 16px 24px 32px;
}

.drawer-nav-item {
    border-bottom: 1px solid var(--line);
}

.drawer-nav-toggle,
.drawer-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 58px;
    padding: 0;
    font-size: 1.6rem;
    font-weight: 600;
    text-align: left;
    color: var(--text);
}

.drawer-nav-link[aria-current="page"],
.drawer-nav-item.is-active > .drawer-nav-toggle,
.drawer-nav-item.is-open > .drawer-nav-toggle {
    color: var(--brass-3);
}

.drawer-plus {
    position: relative;
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
}

.drawer-plus::before,
.drawer-plus::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transition: transform 0.3s var(--ease);
}

.drawer-plus::after {
    transform: rotate(90deg);
}

.drawer-nav-item.is-open .drawer-plus::after {
    transform: rotate(0deg);
}

.drawer-sub {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s var(--ease);
}

.drawer-sub > ul {
    overflow: hidden;
}

.drawer-nav-item.is-open .drawer-sub {
    grid-template-rows: 1fr;
}

.drawer-sub li a {
    display: block;
    padding: 9px 0 9px 14px;
    font-size: 1.4rem;
    color: var(--text-sub);
}

.drawer-sub li:last-child a {
    padding-bottom: 18px;
}

.drawer-sub li a[aria-current="page"] {
    color: var(--brass-3);
}

.drawer-foot {
    padding: 22px 24px 28px;
    border-top: 1px solid var(--line);
    background: var(--paper-2);
}

.drawer-account {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
    font-size: 1.15rem;
    color: var(--text-sub);
}

.drawer-account a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--text-sub);
}

.drawer-account a:hover {
    color: var(--brass-3);
}

.drawer-call {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding-bottom: 14px;
}

.drawer-call span {
    font-size: 1.1rem;
    letter-spacing: 0.12em;
    color: var(--text-sub);
}

.drawer-call strong {
    font-size: 1.9rem;
    letter-spacing: 0.02em;
}

/* ==========================================================================
   Reservation dialog
   ========================================================================== */
.reserve-dialog {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.reserve-dialog-bg {
    position: absolute;
    inset: 0;
    background: rgba(10, 16, 13, 0.62);
    opacity: 0;
    transition: opacity 0.3s var(--ease);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.reserve-dialog.is-open .reserve-dialog-bg {
    opacity: 1;
}

.reserve-dialog-panel {
    position: relative;
    width: min(100%, 560px);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    padding: clamp(30px, 5vw, 52px);
    background: var(--paper);
    color: var(--text);
    box-shadow: 0 30px 80px rgba(10, 16, 13, 0.3);
    transform: translateY(18px) scale(0.985);
    opacity: 0;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

.reserve-dialog.is-open .reserve-dialog-panel {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.reserve-dialog-close {
    position: absolute;
    top: 18px;
    right: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    color: var(--text);
}

.reserve-dialog-close .icon {
    width: 19px;
    height: 19px;
}

.reserve-dialog-panel h2 {
    margin-top: 16px;
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 4vw, 4.2rem);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.reserve-dialog-desc {
    margin-top: 14px;
    font-size: 1.45rem;
    line-height: 1.8;
    color: var(--text-sub);
}

.reserve-options {
    display: grid;
    gap: 10px;
    margin-top: 30px;
}

.reserve-option {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 20px;
    align-items: center;
    gap: 14px;
    min-height: 72px;
    padding: 12px 18px;
    border: 1px solid var(--line);
    transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.reserve-option:hover {
    border-color: var(--brass);
    transform: translateY(-1px);
}

.reserve-option.is-primary {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--paper);
}

.reserve-option.is-primary:hover {
    background: var(--ink-2);
}

.reserve-option-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--paper-2);
    color: var(--brass-3);
}

.reserve-option.is-primary .reserve-option-icon {
    background: rgba(247, 243, 236, 0.12);
    color: var(--brass-2);
}

.reserve-option-icon .icon {
    width: 20px;
    height: 20px;
}

.reserve-option small {
    display: block;
    font-size: 1.05rem;
    letter-spacing: 0.12em;
    color: var(--text-sub);
}

.reserve-option.is-primary small {
    color: rgba(247, 243, 236, 0.56);
}

.reserve-option strong {
    display: block;
    margin-top: 2px;
    font-size: 1.5rem;
    font-weight: 600;
}

.reserve-option-arrow {
    width: 18px;
    height: 18px;
    opacity: 0.5;
}

.reserve-dialog-foot {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    font-size: 1.2rem;
    color: var(--text-sub);
}

.reserve-dialog-foot span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    min-height: 100svh;
    padding-top: calc(var(--header-h) + 20px);
    padding-bottom: 72px;
    background: var(--ink);
    color: var(--text-inv);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-orb {
    position: absolute;
    display: block;
    border-radius: 50%;
    filter: blur(2px);
    opacity: 0.8;
    transition: transform 0.6s var(--ease);
}

.hero-orb-1 {
    top: -18%;
    right: -6%;
    width: 62vw;
    height: 62vw;
    background: radial-gradient(circle at 40% 40%, rgba(181, 138, 88, 0.24), rgba(181, 138, 88, 0) 62%);
}

.hero-orb-2 {
    right: 18%;
    bottom: -30%;
    width: 48vw;
    height: 48vw;
    background: radial-gradient(circle at 50% 50%, rgba(140, 157, 141, 0.22), rgba(140, 157, 141, 0) 66%);
}

.hero-orb-3 {
    top: 30%;
    left: -22%;
    width: 46vw;
    height: 46vw;
    background: radial-gradient(circle at 50% 50%, rgba(200, 164, 159, 0.12), rgba(200, 164, 159, 0) 64%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(247, 243, 236, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(247, 243, 236, 0.035) 1px, transparent 1px);
    background-size: 84px 84px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 72%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 72%);
}

.hero-grain {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(247, 243, 236, 0.06) 0.6px, transparent 0.7px);
    background-size: 7px 7px;
    opacity: 0.28;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    align-items: center;
    gap: clamp(3.2rem, 6vw, 9rem);
}

.hero-copy {
    padding-bottom: 2rem;
}

.hero-eyebrow {
    color: rgba(247, 243, 236, 0.62);
}

.hero-title {
    margin-top: 2.6rem;
    font-family: var(--font-display);
    font-size: clamp(4.4rem, 6.2vw, 8.2rem);
    font-weight: 400;
    line-height: 1.16;
    letter-spacing: -0.055em;
    color: var(--paper);
}

.hero-title em {
    font-style: normal;
    color: var(--brass-2);
}

.hero-lead {
    max-width: 50rem;
    margin-top: 3rem;
    font-size: 1.75rem;
    line-height: 1.85;
    color: rgba(247, 243, 236, 0.64);
}

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

.hero-stats {
    display: flex;
    gap: clamp(28px, 4vw, 56px);
    margin-top: 6rem;
    padding-top: 2.8rem;
    border-top: 1px solid var(--line-dark);
}

.hero-stats dt {
    font-size: 1.05rem;
    letter-spacing: 0.14em;
    color: rgba(247, 243, 236, 0.45);
}

.hero-stats dd {
    display: flex;
    align-items: baseline;
    gap: 3px;
    margin-top: 6px;
    color: var(--paper);
}

.hero-stats strong {
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 500;
    letter-spacing: -0.03em;
}

.hero-stats dd span {
    font-size: 1.2rem;
    color: var(--brass-2);
}

.hero-visual {
    position: relative;
    justify-self: end;
    width: min(100%, 500px);
    padding: 10px 0 20px;
}

.hero-frame {
    position: relative;
    margin-left: auto;
    width: 88%;
    aspect-ratio: 0.78;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(160deg, rgba(210, 177, 131, 0.28), rgba(140, 157, 141, 0.1) 45%, rgba(19, 32, 27, 0.2));
    border: 1px solid rgba(247, 243, 236, 0.18);
    overflow: hidden;
}

.hero-frame::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(247, 243, 236, 0.12);
    border-radius: 999px 999px 0 0;
}

.hero-frame-inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-rings {
    position: absolute;
    inset: 12%;
}

.hero-rings span {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(247, 243, 236, 0.14);
    border-radius: 50%;
}

.hero-rings span:nth-child(2) {
    inset: 12%;
    border-style: dashed;
    opacity: 0.7;
}

.hero-rings span:nth-child(3) {
    inset: 24%;
    border-color: rgba(210, 177, 131, 0.28);
}

.hero-botanical {
    position: absolute;
    inset: 10% 8% 0;
    width: 84%;
    height: 86%;
    color: rgba(210, 177, 131, 0.72);
    z-index: 2;
}

.hero-frame-index {
    position: absolute;
    top: 8%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.95rem;
    letter-spacing: 0.22em;
    color: rgba(247, 243, 236, 0.5);
    white-space: nowrap;
}

.hero-frame-caption {
    position: absolute;
    left: 8%;
    top: 19%;
    z-index: 3;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2vw, 2.2rem);
    line-height: 1.25;
    letter-spacing: 0.02em;
    color: var(--paper);
}

.hero-frame-meta {
    position: absolute;
    right: 8%;
    top: 19.5%;
    z-index: 3;
    font-size: 0.85rem;
    letter-spacing: 0.16em;
    color: rgba(247, 243, 236, 0.42);
    text-align: right;
}

.hero-floating-card {
    position: absolute;
    left: 0;
    bottom: 8%;
    z-index: 4;
    display: block;
    width: min(76%, 290px);
    padding: 24px 26px;
    background: var(--paper);
    color: var(--text);
    text-decoration: none;
    box-shadow: 0 24px 60px rgba(5, 10, 8, 0.36);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.hero-floating-card:hover,
.hero-floating-card:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 30px 70px rgba(5, 10, 8, 0.44);
}

.hero-floating-card:focus-visible {
    outline: 2px solid var(--brass-2);
    outline-offset: 3px;
}

.hero-floating-card .eyebrow {
    font-size: 0.95rem;
    color: var(--brass-3);
}

.hero-floating-card strong {
    display: block;
    margin-top: 12px;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.hero-floating-card p {
    margin-top: 8px;
    font-size: 1.3rem;
    line-height: 1.7;
    color: var(--text-sub);
}

.hero-floating-arrow {
    position: absolute;
    top: 24px;
    right: 24px;
    color: var(--brass-3);
    transition: transform 0.3s var(--ease);
}

.hero-floating-card:hover .hero-floating-arrow,
.hero-floating-card:focus-visible .hero-floating-arrow {
    transform: translate(2px, -2px);
}

.hero-floating-arrow .icon {
    width: 18px;
    height: 18px;
}

.hero-vertical {
    position: absolute;
    top: 6%;
    right: -34px;
    writing-mode: vertical-rl;
    font-size: 0.85rem;
    letter-spacing: 0.22em;
    color: rgba(247, 243, 236, 0.34);
}

.hero-foot {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 3;
    width: 100%;
    border-top: 1px solid var(--line-dark);
}

.hero-foot-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 64px;
    font-size: 1rem;
    letter-spacing: 0.18em;
    color: rgba(247, 243, 236, 0.42);
}

.scroll-cue {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.scroll-line {
    position: relative;
    display: block;
    width: 36px;
    height: 1px;
    background: rgba(247, 243, 236, 0.25);
    overflow: hidden;
}

.scroll-line::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--brass-2);
    animation: scroll-line 2.2s var(--ease) infinite;
}

@keyframes scroll-line {
    0% { left: -100%; }
    45%, 55% { left: 0; }
    100% { left: 100%; }
}

.hero-cats {
    display: flex;
    gap: clamp(16px, 2.4vw, 34px);
}

.hero-cats li {
    position: relative;
    padding-left: 12px;
}

.hero-cats li::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--brass-2);
}

.hero-index {
    white-space: nowrap;
}

/* ==========================================================================
   Ticker
   ========================================================================== */
.ticker {
    position: relative;
    z-index: 2;
    padding: 16px 0;
    background: transparent;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}

.ticker-track {
    display: flex;
    align-items: center;
    gap: 28px;
    width: max-content;
    animation: ticker 34s linear infinite;
}

.ticker-track span {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    white-space: nowrap;
}

.ticker-track i {
    font-style: normal;
    opacity: 0.45;
}

@keyframes ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ==========================================================================
   About
   ========================================================================== */
.about {
    background: var(--paper);
}

.about-head {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(3.2rem, 8vw, 12rem);
    align-items: end;
}

.about-head .lead {
    margin-top: 0;
    justify-self: end;
}

.about-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
    gap: clamp(4rem, 8vw, 10rem);
    align-items: start;
}

.about-sticky {
    position: sticky;
    top: calc(var(--header-h) + 30px);
}

.about-quote {
    position: relative;
    padding: 4rem 0 4rem 3.4rem;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 2.7vw, 3.2rem);
    line-height: 1.6;
    letter-spacing: -0.035em;
    color: var(--text);
}

.about-quote em {
    font-style: normal;
    color: var(--brass-3);
}

.quote-mark {
    position: absolute;
    top: 1.6rem;
    left: 0;
    font-family: var(--font-display);
    font-size: 5rem;
    line-height: 1;
    color: var(--brass);
    opacity: 0.65;
}

.principle-list {
    margin-top: 4rem;
    border-top: 1px solid var(--line);
}

.principle-list li {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 18px;
    padding: 2.4rem 0;
    border-bottom: 1px solid var(--line);
}

.principle-num {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--brass-3);
    letter-spacing: 0.04em;
}

.principle-list h3 {
    font-size: 1.7rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.principle-list p {
    margin-top: 7px;
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--text-sub);
}

.about-media {
    display: grid;
    gap: 2.4rem;
}

.specimen-card {
    position: relative;
    padding: clamp(24px, 3.4vw, 42px);
    aspect-ratio: 0.78;
    background:
        radial-gradient(circle at 68% 28%, rgba(210, 177, 131, 0.22), transparent 38%),
        radial-gradient(circle at 30% 75%, rgba(140, 157, 141, 0.18), transparent 42%),
        var(--ink-2);
    color: var(--paper);
    border-radius: 999px 999px 2px 2px;
    overflow: hidden;
}

.specimen-card::after {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(247, 243, 236, 0.12);
    border-radius: 999px 999px 2px 2px;
    pointer-events: none;
}

.specimen-head {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.specimen-head .eyebrow {
    color: rgba(247, 243, 236, 0.45);
}

.specimen-mark {
    color: var(--brass-2);
}

.specimen-mark .icon {
    width: 24px;
    height: 24px;
}

.specimen-visual {
    position: absolute;
    top: 16%;
    left: 50%;
    width: 72%;
    aspect-ratio: 1;
    transform: translateX(-50%);
}

.specimen-ring {
    position: absolute;
    border: 1px solid rgba(247, 243, 236, 0.16);
    border-radius: 50%;
}

.ring-1 { inset: 0; }
.ring-2 { inset: 14%; border-style: dashed; }
.ring-3 { inset: 30%; border-color: rgba(210, 177, 131, 0.4); }

.specimen-core {
    position: absolute;
    inset: 40%;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, var(--brass-2), var(--brass-3) 70%);
    box-shadow: 0 0 40px rgba(210, 177, 131, 0.35);
}

.specimen-cross {
    position: absolute;
    background: rgba(247, 243, 236, 0.12);
}

.cross-x {
    top: 50%;
    left: 4%;
    width: 92%;
    height: 1px;
}

.cross-y {
    top: 4%;
    left: 50%;
    width: 1px;
    height: 92%;
}

.specimen-labels {
    position: absolute;
    right: 8%;
    bottom: 24%;
    z-index: 2;
    display: grid;
    gap: 8px;
    text-align: right;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    color: rgba(247, 243, 236, 0.42);
}

.specimen-foot {
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: 6%;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid rgba(247, 243, 236, 0.14);
    font-size: 0.9rem;
    letter-spacing: 0.14em;
    color: rgba(247, 243, 236, 0.5);
}

.about-note {
    display: flex;
    gap: 18px;
    padding: 24px 26px;
    background: var(--paper-2);
    border: 1px solid var(--line);
}

.about-note-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border: 1px solid var(--line);
    color: var(--brass-3);
}

.about-note strong {
    display: block;
    font-size: 1.45rem;
    font-weight: 600;
}

.about-note p {
    margin-top: 6px;
    font-size: 1.3rem;
    line-height: 1.75;
    color: var(--text-sub);
}

/* ==========================================================================
   Treatments
   ========================================================================== */
.treatments {
    background: var(--ink);
}

.treatment-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--line-dark);
    border-left: 1px solid var(--line-dark);
}

.treatment-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 390px;
    padding: 30px 28px 26px;
    border-right: 1px solid var(--line-dark);
    border-bottom: 1px solid var(--line-dark);
    color: var(--text-inv);
    transition: background 0.4s var(--ease), color 0.4s var(--ease);
}

.treatment-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--paper);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.45s var(--ease);
    z-index: 0;
}

.treatment-card > * {
    position: relative;
    z-index: 1;
}

.treatment-card:hover {
    color: var(--text);
}

.treatment-card:hover::before {
    transform: scaleY(1);
}

.treatment-num {
    align-self: flex-end;
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--brass-2);
    letter-spacing: 0.06em;
}

.treatment-card:hover .treatment-num {
    color: var(--brass-3);
}

.treatment-body {
    margin-top: auto;
    padding-top: 4rem;
}

.treatment-kicker {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--brass-2);
}

.treatment-card:hover .treatment-kicker {
    color: var(--brass-3);
}

.treatment-body h3 {
    margin-top: 12px;
    font-family: var(--font-display);
    font-size: 2.3rem;
    font-weight: 500;
    letter-spacing: -0.03em;
}

.treatment-body > p {
    margin-top: 14px;
    font-size: 1.35rem;
    line-height: 1.8;
    color: var(--text-inv-sub);
    min-height: 6.5em;
}

.treatment-card:hover .treatment-body > p {
    color: var(--text-sub);
}

.treatment-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 20px;
}

.treatment-tags li {
    padding: 5px 10px;
    border: 1px solid var(--line-dark-strong);
    font-size: 1.05rem;
    color: var(--text-inv-sub);
}

.treatment-card:hover .treatment-tags li {
    border-color: var(--line);
    color: var(--text-sub);
}

.treatment-arrow {
    position: absolute;
    top: 26px;
    left: 28px;
    color: var(--brass-2);
    opacity: 0;
    transform: translate(-4px, 4px);
    transition: opacity 0.3s, transform 0.3s var(--ease), color 0.3s;
}

.treatment-arrow .icon {
    width: 20px;
    height: 20px;
}

.treatment-card:hover .treatment-arrow {
    opacity: 1;
    transform: translate(0, 0);
    color: var(--brass-3);
}

/* ==========================================================================
   Program
   ========================================================================== */
.program {
    background: var(--paper-2);
}

.program-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(4rem, 9vw, 12rem);
    align-items: start;
}

.program-sticky {
    position: sticky;
    top: calc(var(--header-h) + 40px);
}

.program-sticky .display {
    margin-top: 20px;
}

.program-sticky .lead {
    margin-top: 26px;
}

.program-sticky .btn {
    margin-top: 36px;
}

.process-list {
    border-top: 1px solid var(--line-strong);
}

.process-list li {
    position: relative;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 22px;
    padding: 3.2rem 0;
    border-bottom: 1px solid var(--line);
}

.process-num {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--brass-3);
    letter-spacing: 0.04em;
}

.process-body h3 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 500;
    letter-spacing: -0.03em;
}

.process-body p {
    margin-top: 10px;
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--text-sub);
}

.process-line {
    position: absolute;
    right: 0;
    bottom: -1px;
    width: 0;
    height: 1px;
    background: var(--brass);
    transition: width 0.8s var(--ease);
}

.process-list li.is-in .process-line {
    width: 100%;
}

/* ==========================================================================
   Doctors
   ========================================================================== */
.doctors {
    background: var(--paper);
}

.doctor-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 38px);
}

.doctor-card {
    display: flex;
    flex-direction: column;
}

.doctor-portrait {
    position: relative;
    aspect-ratio: 0.78;
    overflow: hidden;
    background: var(--ink-2);
    color: var(--paper);
    border-radius: 999px 999px 2px 2px;
}

.doctor-portrait::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 20%, rgba(210, 177, 131, 0.32), transparent 46%);
}

.portrait-1 {
    background: linear-gradient(155deg, #263a31 0%, #13201b 56%, #0d1613 100%);
}

.portrait-2 {
    background: linear-gradient(155deg, #5c665b 0%, #263a31 48%, #13201b 100%);
}

.portrait-3 {
    background: linear-gradient(155deg, #7b6456 0%, #3c2e27 52%, #1b1512 100%);
}

.doctor-initial {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -46%);
    font-family: var(--font-display);
    font-size: clamp(11rem, 15vw, 18rem);
    line-height: 1;
    font-weight: 300;
    letter-spacing: -0.06em;
    color: rgba(247, 243, 236, 0.18);
}

.doctor-role {
    position: absolute;
    top: 26px;
    left: 26px;
    z-index: 2;
    font-size: 0.95rem;
    letter-spacing: 0.16em;
    color: rgba(247, 243, 236, 0.62);
}

.doctor-portrait-line {
    position: absolute;
    right: 26px;
    bottom: 0;
    width: 1px;
    height: 42%;
    background: linear-gradient(to top, rgba(247, 243, 236, 0.42), transparent);
}

.doctor-portrait::after {
    content: "";
    position: absolute;
    left: 26px;
    right: 26px;
    bottom: 26px;
    height: 1px;
    background: rgba(247, 243, 236, 0.16);
}

.doctor-body {
    padding: 26px 2px 0;
}

.doctor-specialty {
    font-size: 1.05rem;
    letter-spacing: 0.14em;
    color: var(--brass-3);
}

.doctor-body h3 {
    margin-top: 8px;
    font-family: var(--font-display);
    font-size: 2.3rem;
    font-weight: 500;
    letter-spacing: -0.03em;
}

.doctor-desc {
    margin-top: 12px;
    font-size: 1.35rem;
    line-height: 1.8;
    color: var(--text-sub);
}

.doctor-meta {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    display: grid;
    gap: 5px;
    font-size: 1.2rem;
    color: var(--text-sub);
}

.doctor-meta li {
    position: relative;
    padding-left: 12px;
}

.doctor-meta li::before {
    content: "";
    position: absolute;
    top: 0.8em;
    left: 0;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--brass);
}

/* ==========================================================================
   Facility
   ========================================================================== */
.facility {
    background: var(--ink-2);
}

.facility-scroll {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2.4vw, 28px);
}

.facility-card {
    display: flex;
    flex-direction: column;
}

.facility-art {
    position: relative;
    aspect-ratio: 1.22;
    overflow: hidden;
    background: linear-gradient(150deg, #2a3d34, #17251f);
    border: 1px solid var(--line-dark);
}

.facility-art span {
    position: absolute;
    display: block;
}

.art-consult {
    background: linear-gradient(145deg, #39483d, #1a2822 70%);
}

.art-window {
    top: 12%;
    right: 12%;
    width: 32%;
    height: 58%;
    border: 1px solid rgba(247, 243, 236, 0.28);
    background: linear-gradient(to bottom, rgba(247, 243, 236, 0.14), rgba(247, 243, 236, 0.02));
}

.art-table {
    left: 14%;
    bottom: 18%;
    width: 44%;
    height: 8%;
    background: rgba(210, 177, 131, 0.28);
    border: 1px solid rgba(210, 177, 131, 0.4);
}

.art-vase {
    left: 20%;
    bottom: 26%;
    width: 7%;
    height: 15%;
    border-radius: 50% 50% 20% 20%;
    background: rgba(200, 164, 159, 0.42);
}

.art-line {
    background: rgba(247, 243, 236, 0.12);
}

.line-a {
    left: 8%;
    bottom: 12%;
    width: 84%;
    height: 1px;
}

.line-b {
    top: 8%;
    left: 8%;
    width: 1px;
    height: 84%;
}

.art-room {
    background: linear-gradient(145deg, #26362e, #101b16 72%);
}

.art-arch {
    top: 12%;
    left: 50%;
    width: 54%;
    height: 72%;
    transform: translateX(-50%);
    border: 1px solid rgba(210, 177, 131, 0.34);
    border-radius: 999px 999px 0 0;
    background: linear-gradient(to bottom, rgba(210, 177, 131, 0.12), transparent 70%);
}

.art-bed {
    left: 24%;
    bottom: 18%;
    width: 52%;
    height: 12%;
    background: rgba(247, 243, 236, 0.14);
    border: 1px solid rgba(247, 243, 236, 0.2);
    border-radius: 2px;
}

.art-light {
    top: 0;
    left: 50%;
    width: 1px;
    height: 38%;
    background: linear-gradient(to bottom, rgba(247, 243, 236, 0.5), transparent);
}

.line-c {
    left: 10%;
    top: 10%;
    width: 80%;
    height: 80%;
    background: transparent;
    border: 1px solid rgba(247, 243, 236, 0.08);
}

.art-lounge {
    background: linear-gradient(145deg, #4a443a, #241f19 70%);
}

.art-sun {
    top: 14%;
    right: 14%;
    width: 26%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: rgba(210, 177, 131, 0.32);
}

.art-sofa {
    left: 14%;
    bottom: 22%;
    width: 54%;
    height: 20%;
    border-radius: 8px 8px 2px 2px;
    background: rgba(200, 164, 159, 0.26);
    border: 1px solid rgba(247, 243, 236, 0.14);
}

.art-plant {
    right: 18%;
    bottom: 22%;
    width: 1px;
    height: 34%;
    background: rgba(140, 157, 141, 0.66);
}

.art-plant::before,
.art-plant::after {
    content: "";
    position: absolute;
    width: 30px;
    height: 14px;
    border: 1px solid rgba(140, 157, 141, 0.66);
    border-radius: 100% 0 100% 0;
}

.art-plant::before {
    top: 18%;
    left: 0;
    transform: rotate(-18deg);
}

.art-plant::after {
    top: 44%;
    right: 0;
    transform: rotate(18deg) scaleX(-1);
}

.line-d {
    left: 10%;
    bottom: 12%;
    width: 80%;
    height: 1px;
}

.facility-copy {
    display: flex;
    gap: 18px;
    padding: 22px 2px 0;
}

.facility-num {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--brass-2);
    letter-spacing: 0.04em;
}

.facility-copy h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: -0.03em;
    color: var(--text-inv);
}

.facility-copy p {
    margin-top: 8px;
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-inv-sub);
}

/* ==========================================================================
   Journal
   ========================================================================== */
.journal {
    background: var(--paper-2);
}

.journal-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: clamp(4rem, 9vw, 12rem);
    align-items: start;
}

.journal-head .display {
    margin-top: 20px;
}

.journal-head .lead {
    margin-top: 24px;
}

.journal-head .btn {
    margin-top: 34px;
}

.journal-lists {
    display: grid;
    gap: 4.4rem;
}

.journal-block {
    border-top: 1px solid var(--line-strong);
}

.journal-block-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.journal-block-head h3 {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.journal-block-head a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 1.15rem;
    color: var(--text-sub);
}

.cl-latest {
    display: grid;
}

.cl-latest-item {
    border-bottom: 1px solid var(--line);
}

.cl-latest-item > a {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) 20px;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    transition: padding 0.3s var(--ease);
}

.cl-latest-item > a:hover {
    padding-left: 8px;
}

.cl-latest-date {
    font-size: 1.1rem;
    letter-spacing: 0.04em;
    color: var(--text-sub);
    font-variant-numeric: tabular-nums;
}

.cl-latest-title {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 1.4rem;
    color: var(--text);
}

.cl-latest-badge {
    display: inline-block;
    margin-right: 6px;
    padding: 2px 6px;
    background: var(--brass);
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    vertical-align: 1px;
}

.cl-latest-arrow {
    color: var(--brass-3);
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.3s, transform 0.3s;
}

.cl-latest-item > a:hover .cl-latest-arrow {
    opacity: 1;
    transform: translateX(0);
}

.cl-latest-empty {
    padding: 28px 0;
    font-size: 1.35rem;
    color: var(--text-sub);
    border-bottom: 1px solid var(--line);
}

.journal-empty {
    padding: 22px 0 4px;
    font-size: 1.35rem;
    color: var(--text-sub);
}

.journal-empty a {
    display: inline-block;
    margin-left: 10px;
    border-bottom: 1px solid var(--line-strong);
    color: var(--text);
}

.journal-note {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 10px;
    padding: 28px 30px;
    background: var(--ink);
    color: var(--paper);
}

.journal-note .eyebrow {
    color: var(--brass-2);
}

.journal-note h3 {
    margin-top: 14px;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: -0.03em;
}

.journal-note p {
    margin-top: 8px;
    font-size: 1.25rem;
    line-height: 1.75;
    color: var(--text-inv-sub);
}

.journal-note .link-arrow {
    margin-top: 18px;
    border-color: var(--line-dark-strong);
    color: var(--paper);
}

.journal-note .link-arrow:hover {
    border-color: var(--brass-2);
}

/* ==========================================================================
   Reserve section
   ========================================================================== */
.reserve {
    background: var(--ink);
}

.reserve-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.reserve-bg span {
    position: absolute;
    top: -30%;
    right: -10%;
    width: 70vw;
    height: 70vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(181, 138, 88, 0.2), transparent 62%);
}

.reserve-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(4rem, 9vw, 12rem);
    align-items: center;
}

.reserve-copy .display {
    margin-top: 20px;
}

.reserve-copy .lead {
    margin-top: 26px;
}

.reserve-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 38px;
}

.reserve-info {
    display: grid;
    gap: 14px;
}

.info-card {
    padding: 28px 30px;
    border: 1px solid var(--line-dark);
    background: rgba(247, 243, 236, 0.02);
}

.info-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line-dark-strong);
    color: var(--brass-2);
}

.info-icon .icon {
    width: 18px;
    height: 18px;
}

.info-card-head h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-inv);
}

.info-hours {
    display: grid;
    gap: 8px;
}

.info-hours li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 1.25rem;
    color: var(--text-inv-sub);
}

.info-hours strong {
    font-weight: 500;
    color: var(--text-inv);
}

.info-address {
    font-size: 1.4rem;
    line-height: 1.7;
    color: var(--text-inv);
}

.info-sub {
    margin-top: 6px;
    font-size: 1.2rem;
    color: var(--text-inv-sub);
}

.info-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--line-dark-strong);
    font-size: 1.2rem;
    color: var(--brass-2);
}

/* ==========================================================================
   Page hero / sub pages
   ========================================================================== */
.page-hero {
    position: relative;
    padding: calc(var(--header-h) + clamp(6rem, 9vw, 10rem)) 0 clamp(6rem, 9vw, 9rem);
    background: var(--ink);
    color: var(--text-inv);
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-hero-orb {
    position: absolute;
    top: -40%;
    right: -8%;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(181, 138, 88, 0.2), transparent 64%);
}

.page-hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(247, 243, 236, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(247, 243, 236, 0.04) 1px, transparent 1px);
    background-size: 84px 84px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 80%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 80%);
}

.page-hero-inner {
    position: relative;
    z-index: 2;
}

.page-hero .eyebrow {
    color: var(--brass-2);
}

.page-title {
    margin-top: 18px;
    font-family: var(--font-display);
    font-size: clamp(3.6rem, 5.4vw, 6.6rem);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.045em;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    color: rgba(247, 243, 236, 0.42);
}

.breadcrumb a:hover {
    color: var(--paper);
}

.breadcrumb strong {
    font-weight: 500;
    color: rgba(247, 243, 236, 0.72);
}

.sub-shell {
    padding: clamp(5rem, 8vw, 9rem) 0 clamp(8rem, 12vw, 14rem);
}

.sub-inner {
    max-width: 1120px;
}

/* ==========================================================================
   Sub-page section tabs  (히어로 하단 하위 페이지 링크)
   ========================================================================== */
.sub-tabs {
    position: relative;
    z-index: 3;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.sub-tabs-list {
    display: flex;
    align-items: stretch;
    gap: clamp(24px, 3.2vw, 48px);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.sub-tabs-list::-webkit-scrollbar {
    display: none;
}

.sub-tabs-list > li {
    display: flex;
    flex: 0 0 auto;
}

.sub-tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 21px 0 19px;
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--text-sub);
    white-space: nowrap;
    transition: color 0.3s var(--ease);
}

.sub-tab::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--brass);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.35s var(--ease);
}

.sub-tab:hover {
    color: var(--text);
}

.sub-tab.is-active {
    color: var(--ink);
}

.sub-tab.is-active::after {
    transform: scaleX(1);
}

/* ==========================================================================
   Footer CTA & footer
   ========================================================================== */
.footer-cta {
    position: relative;
    padding: clamp(7rem, 10vw, 11rem) 0;
    background: var(--ink-2);
    color: var(--text-inv);
    overflow: hidden;
}

.footer-cta-bg span {
    position: absolute;
    top: -50%;
    right: -8%;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(181, 138, 88, 0.2), transparent 66%);
}

.footer-cta-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 4rem;
}

.footer-cta .eyebrow {
    color: var(--brass-2);
}

.footer-cta h2 {
    margin-top: 20px;
    font-family: var(--font-display);
    font-size: clamp(3rem, 4.6vw, 5.6rem);
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: -0.04em;
}

.footer-cta h2 em {
    font-style: normal;
    color: var(--brass-2);
}

.footer-cta-copy p:last-child {
    margin-top: 18px;
    font-size: 1.4rem;
    color: var(--text-inv-sub);
}

.footer-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 6px;
}

.site-footer {
    padding: clamp(6rem, 9vw, 9rem) 0 3rem;
    background: #0d1612;
    color: var(--text-inv);
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
    gap: clamp(3rem, 7vw, 8rem);
    padding-bottom: clamp(4rem, 6vw, 6rem);
    border-bottom: 1px solid var(--line-dark);
}

.brand-footer .brand-mark {
    width: 42px;
    height: 42px;
    color: var(--brass-2);
}

.brand-footer .brand-text strong {
    font-size: 2.2rem;
}

.footer-tagline {
    margin-top: 22px;
    font-family: var(--font-display);
    font-size: 1.8rem;
    line-height: 1.5;
    letter-spacing: -0.02em;
    color: rgba(247, 243, 236, 0.78);
}

.footer-since {
    margin-top: 14px;
    font-size: 0.95rem;
    letter-spacing: 0.18em;
    color: rgba(247, 243, 236, 0.46);
}

.footer-cols {
    display: grid;
    grid-template-columns: 0.8fr 1.1fr 1fr;
    gap: 3rem;
}

.footer-col h2 {
    margin-bottom: 16px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--brass-2);
}

.footer-col ul {
    display: grid;
    gap: 8px;
    font-size: 1.25rem;
    color: rgba(247, 243, 236, 0.56);
}

.footer-col a:hover {
    color: var(--paper);
}

.footer-contact a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.footer-contact li:first-child a {
    font-size: 1.6rem;
    color: var(--paper);
}

.footer-hours li {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.footer-hours strong {
    font-weight: 500;
    color: rgba(247, 243, 236, 0.78);
}

.footer-bottom {
    display: grid;
    grid-template-columns: 1.3fr 1fr auto;
    align-items: center;
    gap: 2rem;
    padding-top: 2.4rem;
    font-size: 1.05rem;
    color: rgba(247, 243, 236, 0.46);
}

.footer-legal {
    margin: 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-links a:hover {
    color: var(--paper);
}

.footer-copy {
    white-space: nowrap;
}

.footer-disclaimer {
    margin-top: 18px;
    font-size: 1rem;
    color: rgba(247, 243, 236, 0.38);
}

/* ==========================================================================
   Quick menu
   ========================================================================== */
.quick-menu {
    position: fixed;
    right: 22px;
    bottom: 24px;
    z-index: 90;
    display: grid;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}

.quick-menu.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.quick-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--line-strong);
    background: var(--paper);
    color: var(--ink);
    box-shadow: 0 8px 24px rgba(19, 32, 27, 0.12);
    transition: background 0.25s, color 0.25s, transform 0.25s;
}

.quick-btn:hover {
    background: var(--ink);
    color: var(--paper);
    transform: translateY(-2px);
}

.quick-btn .icon {
    width: 19px;
    height: 19px;
}

.quick-reserve {
    background: var(--brass);
    border-color: var(--brass);
}

/* ==========================================================================
   Reveal
   ========================================================================== */
.js .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js .reveal.is-in {
    opacity: 1;
    transform: translateY(0);
}

.js .reveal.delay-1 { transition-delay: 0.08s; }
.js .reveal.delay-2 { transition-delay: 0.16s; }
.js .reveal.delay-3 { transition-delay: 0.24s; }
.js .reveal.delay-4 { transition-delay: 0.32s; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1240px) {
    :root {
        --header-h: 108px;
    }

    .gnb-list {
        gap: 20px;
    }

    .gnb-link {
        font-size: 1.35rem;
    }

    .header-phone {
        display: none;
    }

    .hero-title {
        font-size: clamp(4.2rem, 6.4vw, 7rem);
    }

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

    .treatment-card {
        min-height: 330px;
    }
}

@media (max-width: 1080px) {
    .utility {
        display: none;
    }

    .gnb {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .header-inner {
        gap: 20px;
    }

    .hero-inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
        gap: 4rem;
    }

    .hero-vertical {
        display: none;
    }

    .journal-grid,
    .reserve-grid {
        grid-template-columns: 1fr;
        gap: 5.6rem;
    }

    .journal-head {
        max-width: 56rem;
    }

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

    .footer-top {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .hero {
        min-height: auto;
        padding-top: calc(var(--header-h) + 7rem);
        padding-bottom: 8rem;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 6rem;
    }

    .hero-copy {
        max-width: 62rem;
    }

    .hero-visual {
        justify-self: start;
        width: min(100%, 430px);
        margin-left: 8%;
    }

    .hero-frame {
        width: 100%;
    }

    .hero-foot {
        position: relative;
        margin-top: 6rem;
    }

    .hero-foot-inner {
        padding-top: 18px;
        padding-bottom: 18px;
        flex-wrap: wrap;
    }

    .hero-cats {
        order: 3;
        width: 100%;
        flex-wrap: wrap;
        gap: 12px 22px;
    }

    .about-head,
    .about-grid,
    .section-head.split,
    .program-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .about-head .lead,
    .section-head.split .lead {
        justify-self: start;
    }

    .about-sticky,
    .program-sticky {
        position: static;
    }

    .about-media {
        max-width: 560px;
    }

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

    .doctor-card:last-child {
        grid-column: 1 / -1;
        max-width: calc(50% - 10px);
    }

    .facility-scroll {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 12px;
        margin-right: calc(var(--gutter) * -1);
        padding-right: var(--gutter);
        -webkit-overflow-scrolling: touch;
    }

    .facility-card {
        flex: 0 0 min(78vw, 420px);
        scroll-snap-align: start;
    }

    .footer-cta-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 3rem;
    }

    .footer-bottom {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .footer-copy {
        white-space: normal;
    }
}

@media (max-width: 768px) {
    :root {
        --header-h: 84px;
        --gutter: 20px;
    }

    .utility {
        display: none;
    }

    #hd_login_msg {
        display: none;
    }

    .header-user {
        display: none;
    }

    .header-inner {
        min-height: 68px;
    }

    .brand-mark {
        width: 34px;
        height: 34px;
    }

    .brand-text strong {
        font-size: 1.7rem;
    }

    .brand-text small {
        font-size: 0.72rem;
    }

    .btn-header {
        display: none;
    }

    .hero {
        padding-top: calc(var(--header-h) + 6rem);
        padding-bottom: 5rem;
    }

    .hero-visual {
        display: none;
    }

    .hero-title {
        font-size: clamp(3.4rem, 9.4vw, 4.6rem);
    }

    .hero-lead {
        font-size: 1.5rem;
    }

    .hero-actions .btn {
        flex: 1 1 100%;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }

    .hero-stats strong {
        font-size: 2rem;
    }

    .hero-visual {
        margin-left: 0;
    }

    .hero-floating-card {
        left: 0;
        bottom: 4%;
        width: 72%;
        padding: 18px 20px;
    }

    .hero-floating-card strong {
        font-size: 1.6rem;
    }

    .hero-foot-inner {
        font-size: 0.9rem;
        letter-spacing: 0.12em;
    }

    .section {
        padding: 8rem 0;
    }

    .display {
        font-size: clamp(3rem, 8vw, 4.2rem);
    }

    .lead {
        font-size: 1.5rem;
    }

    .section-head {
        margin-bottom: 4.4rem;
    }

    .about-quote {
        padding: 3rem 0 3rem 2.6rem;
        font-size: 2rem;
    }

    .quote-mark {
        font-size: 4rem;
    }

    .specimen-card {
        aspect-ratio: 0.9;
    }

    .specimen-labels {
        bottom: 22%;
    }

    .treatment-grid {
        grid-template-columns: 1fr;
        border-left: 0;
    }

    .treatment-card {
        min-height: 0;
        padding: 26px 0 24px;
        border-right: 0;
    }

    .treatment-card::before {
        display: none;
    }

    .treatment-card:hover {
        color: var(--text-inv);
    }

    .treatment-body {
        padding-top: 2rem;
    }

    .treatment-body > p {
        min-height: 0;
    }

    .treatment-tags li {
        border-color: var(--line-dark-strong);
        color: var(--text-inv-sub);
    }

    .treatment-arrow {
        top: 22px;
        left: 0;
        opacity: 1;
        transform: none;
    }

    .process-list li {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 14px;
        padding: 2.4rem 0;
    }

    .doctor-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .doctor-card:last-child {
        max-width: none;
    }

    .doctor-portrait {
        aspect-ratio: 1.05;
    }

    .facility-card {
        flex-basis: 84vw;
    }

    .reserve-info {
        grid-template-columns: 1fr;
    }

    .reserve-actions .btn {
        flex: 1 1 100%;
    }

    .journal-lists {
        gap: 3.6rem;
    }

    .cl-latest-item > a {
        grid-template-columns: 76px minmax(0, 1fr) 16px;
        gap: 10px;
    }

    .cl-latest-title {
        font-size: 1.3rem;
    }

    .page-hero {
        padding-top: calc(var(--header-h) + 5rem);
        padding-bottom: 5rem;
    }

    .page-title {
        font-size: clamp(3rem, 9vw, 4.2rem);
    }

    .sub-shell {
        padding: 4.8rem 0 8rem;
    }

    .sub-tabs-list {
        gap: 22px;
    }

    .sub-tab {
        padding: 16px 0 14px;
        font-size: 1.3rem;
    }

    .footer-cols {
        grid-template-columns: 1fr 1fr;
    }

    .footer-col:first-child {
        grid-column: 1 / -1;
    }

    .quick-menu {
        right: 14px;
        bottom: 14px;
    }

    .quick-btn {
        width: 44px;
        height: 44px;
    }

    .quick-top {
        display: none;
    }

    .drawer-panel {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        grid-template-columns: 1fr 1fr;
    }

    .hero-stats > div:last-child {
        grid-column: 1 / -1;
    }

    .hero-cats li:last-child {
        display: none;
    }

    .footer-cols {
        grid-template-columns: 1fr;
    }

    .footer-col:first-child {
        grid-column: auto;
    }

    .reserve-dialog {
        padding: 0;
        align-items: flex-end;
    }

    .reserve-dialog-panel {
        width: 100%;
        max-height: 92vh;
        padding: 30px 22px 26px;
    }

    .reserve-option {
        grid-template-columns: 38px minmax(0, 1fr) 16px;
        gap: 10px;
        padding: 10px 14px;
    }

    .reserve-option-icon {
        width: 38px;
        height: 38px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    .js .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ==========================================================================
   Photography layer — real imagery replaces the CSS art (hero / doctors / facility)
   ========================================================================== */
.hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 60% 16%;
    z-index: 1;
}

.hero-frame-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(11, 18, 15, 0.66) 0%, rgba(11, 18, 15, 0.14) 32%, rgba(11, 18, 15, 0.08) 58%, rgba(11, 18, 15, 0.58) 100%);
}

.hero-rings {
    z-index: 3;
}

.hero-botanical {
    display: none;
}

.hero-frame-index,
.hero-frame-caption,
.hero-frame-meta {
    z-index: 4;
}

.doctor-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 18%;
    z-index: 0;
}

.doctor-portrait::before {
    z-index: 1;
    background: linear-gradient(180deg, rgba(9, 15, 12, 0.55) 0%, rgba(9, 15, 12, 0.05) 34%, rgba(9, 15, 12, 0.42) 100%);
}

.doctor-role,
.doctor-portrait-line,
.doctor-portrait::after {
    z-index: 2;
}

.doctor-initial {
    display: none;
}

.facility-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 45%;
    z-index: 0;
}

.facility-art span {
    display: none;
}

.hero-frame,
.doctor-portrait,
.facility-art {
    background-color: #101a16;
}

/* Photography polish */
.hero-photo {
    filter: saturate(0.88) contrast(1.04) brightness(0.9);
}

.hero-frame-inner::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: radial-gradient(120% 80% at 70% 22%, rgba(210, 177, 131, 0.12), transparent 60%);
    mix-blend-mode: screen;
}

.doctor-role {
    top: 40px;
    left: 28px;
    color: rgba(247, 243, 236, 0.78);
    text-shadow: 0 1px 12px rgba(8, 14, 11, 0.55);
}

.doctor-photo {
    filter: saturate(0.94) contrast(1.02);
}

.facility-photo {
    filter: saturate(0.95) brightness(0.98);
}

/* Hero arch clipping + text placement over photography */
.hero-frame-inner {
    overflow: hidden;
    border-radius: 999px 999px 0 0;
}

.hero-frame-index {
    top: 5.5%;
    z-index: 4;
}

.hero-frame-caption {
    top: 10.5%;
    left: 9%;
    font-size: clamp(1.25rem, 1.7vw, 1.85rem);
    text-shadow: 0 2px 18px rgba(8, 14, 11, 0.55);
}

.hero-frame-meta {
    top: auto;
    bottom: 5.5%;
    right: 7%;
    text-shadow: 0 2px 14px rgba(8, 14, 11, 0.5);
}

/* Clip the photo itself instead of the whole frame, so captions are not cut */
.hero-frame-inner {
    overflow: visible;
    border-radius: 0;
}

.hero-photo {
    border-radius: 999px 999px 0 0;
}

.hero-frame-caption {
    top: 13%;
    left: 13%;
    font-size: clamp(1.2rem, 1.55vw, 1.7rem);
}

.hero-frame-index {
    top: 6.5%;
}

.hero-frame-meta {
    bottom: 6%;
    right: 8%;
}

/* Doctor role label: keep it inside the arch, above the hairline */
.doctor-role {
    top: auto;
    bottom: 46px;
    left: 28px;
    right: 28px;
    color: rgba(247, 243, 236, 0.9);
    font-size: 0.92rem;
    letter-spacing: 0.18em;
    text-shadow: 0 1px 14px rgba(8, 14, 11, 0.6);
}

/* ==========================================================================
   Sub-page hero photography  (page-hero background photo per page)
   ========================================================================== */
:root {
    --page-photo: none;
}

.page-hero-bg {
    background-image: linear-gradient(90deg, rgba(9, 16, 13, 0.96) 0%, rgba(9, 16, 13, 0.9) 26%, rgba(9, 16, 13, 0.62) 58%, rgba(9, 16, 13, 0.66) 100%), var(--page-photo);
    background-size: cover, cover;
    background-position: center, 62% 45%;
    background-repeat: no-repeat, no-repeat;
}

body.is-sub .page-hero-orb {
    opacity: 0.35;
}

body.is-content-clinic_about { --page-photo: url("/theme/clinic/img/sub-reception.jpg?v=2"); }
body.is-content-clinic_doctors { --page-photo: url("/theme/clinic/img/sub-team.jpg?v=4"); }
body.is-content-clinic_facility { --page-photo: url("/theme/clinic/img/facility-1.jpg"); }
body.is-content-clinic_skin { --page-photo: url("/theme/clinic/img/sub-skin.jpg?v=2"); }
body.is-content-clinic_antiaging { --page-photo: url("/theme/clinic/img/sub-antiaging.jpg?v=3"); }
body.is-content-clinic_body { --page-photo: url("/theme/clinic/img/sub-body.jpg?v=2"); }
body.is-content-clinic_hair { --page-photo: url("/theme/clinic/img/sub-hair.jpg?v=2"); }
body.is-content-clinic_program { --page-photo: url("/theme/clinic/img/facility-2.jpg"); }
body.is-content-clinic_reservation { --page-photo: url("/theme/clinic/img/sub-lounge.jpg?v=2"); }
body.is-content-clinic_location { --page-photo: url("/theme/clinic/img/sub-location.jpg?v=3"); }
body.is-board-notice { --page-photo: url("/theme/clinic/img/facility-2.jpg"); }
body.is-board-gallery { --page-photo: url("/theme/clinic/img/sub-body.jpg?v=2"); }
body.is-board-qa { --page-photo: url("/theme/clinic/img/sub-reception.jpg?v=2"); }

/* ==========================================================================
   의료진 상세 페이지 : 이니셜 → 실사 포트레이트
   ========================================================================== */
body.is-content-clinic_doctors .doctor-visual {
    background-size: cover;
    background-position: 50% 16%;
}

body.is-content-clinic_doctors .doctor-visual-1 { background-image: url("../img/doctor-1.jpg"); }
body.is-content-clinic_doctors .doctor-visual-2 { background-image: url("../img/doctor-2.jpg"); }
body.is-content-clinic_doctors .doctor-visual-3 { background-image: url("../img/doctor-3.jpg"); }

body.is-content-clinic_doctors .doctor-visual .doctor-initial {
    display: none;
}

body.is-content-clinic_doctors .doctor-visual::before {
    background: linear-gradient(180deg, rgba(9, 15, 12, 0.5) 0%, rgba(9, 15, 12, 0.02) 38%, rgba(9, 15, 12, 0.45) 100%);
}

body.is-content-clinic_doctors .doctor-visual .doctor-role {
    top: 26px;
    bottom: auto;
    left: 28px;
    color: rgba(247, 243, 236, 0.92);
    text-shadow: 0 1px 14px rgba(8, 14, 11, 0.75);
}

/* ==========================================================================
   시설 안내 페이지 : CSS 도형 → 실사 인테리어
   ========================================================================== */
body.is-content-clinic_facility .facility-art {
    background-size: cover;
    background-position: 50% 45%;
}

body.is-content-clinic_facility .facility-art span {
    display: none;
}

body.is-content-clinic_facility .art-consult { background-image: url("../img/facility-1.jpg"); }
body.is-content-clinic_facility .art-room { background-image: url("../img/facility-2.jpg"); }
body.is-content-clinic_facility .art-lounge { background-image: url("../img/facility-3.jpg"); }

/* Sub-page hero photo on narrow screens */
@media (max-width: 768px) {
    .page-hero-bg {
        background-image: linear-gradient(180deg, rgba(9, 16, 13, 0.92) 0%, rgba(9, 16, 13, 0.74) 55%, rgba(9, 16, 13, 0.92) 100%), var(--page-photo);
        background-position: center, 58% 45%;
    }
}

/* ==========================================================================
   Hero v2 — full-bleed photo panel (arch frame removed)
   ========================================================================== */
.hero-visual { display: none !important; }

.hero-photo-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 54%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 66% 14%;
    border-radius: 0;
    filter: saturate(0.82) contrast(1.05) brightness(0.88);
}

.hero-photo-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, #13201b 0%, rgba(19, 32, 27, 0.94) 7%, rgba(19, 32, 27, 0.52) 21%, rgba(19, 32, 27, 0) 42%),
        linear-gradient(180deg, rgba(19, 32, 27, 0.9) 0%, rgba(19, 32, 27, 0) 18%, rgba(19, 32, 27, 0) 58%, rgba(19, 32, 27, 0.88) 90%, #13201b 100%);
}

.hero-photo-index,
.hero-photo-caption,
.hero-photo-meta,
.hero-vertical {
    position: absolute;
    z-index: 2;
}

.hero-photo-index {
    top: calc(var(--header-h) + 30px);
    right: 46px;
    font-size: 0.95rem;
    letter-spacing: 0.24em;
    color: rgba(247, 243, 236, 0.5);
}

.hero-photo-caption {
    right: 46px;
    bottom: 132px;
    text-align: right;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 1.9vw, 2.1rem);
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--paper);
}

.hero-photo-caption em {
    font-style: normal;
    color: var(--brass-2);
}

.hero-photo-meta {
    right: 46px;
    bottom: 106px;
    font-size: 0.88rem;
    letter-spacing: 0.18em;
    color: rgba(247, 243, 236, 0.42);
}

.hero-vertical {
    left: 20px;
    top: calc(var(--header-h) + 30px);
    font-size: 0.82rem;
    letter-spacing: 0.22em;
    color: rgba(247, 243, 236, 0.3);
}

.hero-floating-card {
    position: absolute;
    left: auto;
    right: 47%;
    bottom: 16%;
    width: min(72vw, 300px);
    z-index: 3;
}

@media (max-width: 1024px) {
    .hero-photo-panel {
        width: 100%;
        height: 62vh;
        bottom: auto;
    }

    .hero-photo {
        object-position: 62% 18%;
    }

    .hero-photo-panel::after {
        background: linear-gradient(180deg, rgba(19, 32, 27, 0.82) 0%, rgba(19, 32, 27, 0.42) 32%, rgba(19, 32, 27, 0.94) 82%, #13201b 100%);
    }

    .hero-photo-index,
    .hero-photo-caption,
    .hero-photo-meta,
    .hero-vertical {
        display: none;
    }

    .hero-floating-card {
        position: static;
        width: auto;
        margin-top: 32px;
    }
}

/* Hero fade refinement + caption legibility */
.hero-photo-panel::after {
    background:
        linear-gradient(90deg, #13201b 0%, #13201b 11%, rgba(19, 32, 27, 0.9) 18%, rgba(19, 32, 27, 0.38) 27%, rgba(19, 32, 27, 0) 41%),
        linear-gradient(180deg, rgba(19, 32, 27, 0.92) 0%, rgba(19, 32, 27, 0) 16%, rgba(19, 32, 27, 0) 56%, rgba(19, 32, 27, 0.86) 88%, #13201b 100%);
}

.hero-photo-caption {
    text-shadow: 0 2px 24px rgba(9, 16, 13, 0.85);
}

.hero-photo-meta,
.hero-photo-index {
    text-shadow: 0 1px 14px rgba(9, 16, 13, 0.8);
}

/* ==========================================================================
   Break the arch-frame motif: straight, hairline-framed images
   ========================================================================== */
.doctor-portrait {
    border-radius: 0;
    border: 1px solid rgba(247, 243, 236, 0.16);
}

.doctor-visual {
    border-radius: 0;
    border: 1px solid var(--line-dark);
}

.specimen-card {
    border-radius: 0;
}

.specimen-visual {
    border-radius: 0;
}

/* square inner ticks instead of an arch outline */
.hero-frame::before,
.doctor-portrait::before {
    border-radius: 0;
}

/* Hero photo: fade with a mask (no ink-coloured overlay seam) */
.hero-photo {
    -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 17%, rgba(0, 0, 0, 0.82) 29%, #000 43%);
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 17%, rgba(0, 0, 0, 0.82) 29%, #000 43%);
    transform: scale(1.03);
    transform-origin: 60% 22%;
}

.hero-photo-panel::after {
    background:
        linear-gradient(180deg, rgba(19, 32, 27, 0.9) 0%, rgba(19, 32, 27, 0) 15%, rgba(19, 32, 27, 0) 55%, rgba(19, 32, 27, 0.72) 86%, rgba(19, 32, 27, 0.98) 100%);
}

.hero-photo-caption {
    bottom: 152px;
}

.hero-photo-meta {
    bottom: 124px;
}

/* Hero: tighter face crop + corner scrim so the caption reads on skin */
.hero-photo {
    transform: scale(1.16);
    transform-origin: 67% 24%;
}

.hero-photo-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(58% 34% at 86% 84%, rgba(9, 16, 13, 0.88), rgba(9, 16, 13, 0) 72%),
        radial-gradient(40% 26% at 96% 6%, rgba(9, 16, 13, 0.6), rgba(9, 16, 13, 0) 70%);
}

.hero-foot {
    border-top-color: rgba(247, 243, 236, 0.1);
}

.hero-foot-inner {
    position: relative;
    z-index: 3;
}

/* Hero photo: new portrait, no zoom, caption in the negative space */
.hero-photo {
    object-position: 50% 26%;
    transform: none;
}

.hero-photo-panel::before {
    background: none;
}

.hero-photo-caption {
    left: 46px;
    right: auto;
    bottom: auto;
    top: 41%;
    text-align: left;
}

.hero-photo-meta {
    left: 46px;
    right: auto;
    bottom: auto;
    top: calc(41% + 86px);
    text-align: left;
}

/* Mobile hero: dim the photo into a backdrop so the copy stays readable */
@media (max-width: 1024px) {
    .hero-photo-panel::after {
        background:
            linear-gradient(180deg, rgba(19, 32, 27, 0.72) 0%, rgba(19, 32, 27, 0.66) 26%, rgba(19, 32, 27, 0.88) 58%, rgba(19, 32, 27, 0.98) 82%, #13201b 100%),
            linear-gradient(90deg, rgba(19, 32, 27, 0.55) 0%, rgba(19, 32, 27, 0.1) 60%, rgba(19, 32, 27, 0.4) 100%);
    }

    .hero-photo {
        object-position: 58% 14%;
        filter: saturate(0.7) contrast(1.02) brightness(0.8);
    }
}

/* Doctor role label readability */
.doctor-portrait::before {
    background: linear-gradient(180deg, rgba(9, 15, 12, 0.5) 0%, rgba(9, 15, 12, 0.03) 32%, rgba(9, 15, 12, 0.62) 100%);
}

/* Mobile hero: keep the face at the top, dissolve into ink behind the copy */
@media (max-width: 1024px) {
    .hero-photo-panel {
        height: 68vh;
    }

    .hero-photo-panel::after {
        background:
            linear-gradient(180deg, rgba(19, 32, 27, 0.3) 0%, rgba(19, 32, 27, 0.48) 11%, rgba(19, 32, 27, 0.9) 24%, rgba(19, 32, 27, 0.97) 42%, #13201b 60%, #13201b 100%);
    }
}

/* stacking fix: scrim must paint above the photo */
.hero-photo {
    z-index: 0;
}

.hero-photo-panel::after {
    z-index: 1;
}

.hero-photo-caption,
.hero-photo-meta,
.hero-photo-index,
.hero-vertical {
    z-index: 2;
}

/* Doctor role label → top-left over the dark backdrop for contrast */
.doctor-role {
    top: 26px;
    bottom: auto;
    left: 28px;
    color: rgba(247, 243, 236, 0.92);
    text-shadow: 0 1px 14px rgba(8, 14, 11, 0.75);
}

.doctor-portrait::before {
    background: linear-gradient(180deg, rgba(9, 15, 12, 0.62) 0%, rgba(9, 15, 12, 0.05) 28%, rgba(9, 15, 12, 0.42) 100%);
}

/* Hero: drop the background grid where the photo now lives */
.hero-grid {
    display: none;
}

/* keep a soft vertical vignette instead */
.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(70% 60% at 22% 40%, rgba(255, 255, 255, 0.02), transparent 70%);
    pointer-events: none;
}

/* soften the top scrim so it does not read as a rectangle edge */
.hero-photo-panel::after {
    background:
        linear-gradient(180deg, rgba(19, 32, 27, 0.5) 0%, rgba(19, 32, 27, 0.12) 12%, rgba(19, 32, 27, 0) 26%, rgba(19, 32, 27, 0) 56%, rgba(19, 32, 27, 0.7) 86%, rgba(19, 32, 27, 0.98) 100%);
}

/* Remove the old arch-era decorative hairlines from doctor photos */
.doctor-portrait-line,
.doctor-portrait::after {
    display: none;
}

/* ==========================================================================
   ABOUT — specimen card becomes a diagnosis record (photo + measurements)
   ========================================================================== */
.specimen-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: var(--ink-2);
    border: 1px solid rgba(247, 243, 236, 0.1);
}

.specimen-card::after {
    border-radius: 0;
    z-index: 3;
}

.specimen-visual {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    aspect-ratio: auto;
    flex: 1 1 auto;
    min-height: 200px;
    margin: 0;
    overflow: hidden;
    background: #0e1713;
}

.specimen-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.9) contrast(1.03) brightness(0.94);
}

.specimen-reticle {
    position: absolute;
    inset: 11%;
    border: 1px solid rgba(247, 243, 236, 0.3);
    background:
        linear-gradient(rgba(247, 243, 236, 0.22), rgba(247, 243, 236, 0.22)) center / 1px 100% no-repeat,
        linear-gradient(rgba(247, 243, 236, 0.22), rgba(247, 243, 236, 0.22)) center / 100% 1px no-repeat;
    pointer-events: none;
}

.specimen-point {
    position: absolute;
    left: 63%;
    top: 40%;
    width: 54px;
    height: 54px;
    margin: -27px 0 0 -27px;
    border: 1px solid rgba(210, 177, 131, 0.85);
    border-radius: 50%;
    pointer-events: none;
}

.specimen-point::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    margin: -2.5px 0 0 -2.5px;
    border-radius: 50%;
    background: var(--brass-2);
}

.specimen-tag {
    position: absolute;
    left: 12px;
    bottom: 12px;
    padding: 6px 10px;
    background: rgba(9, 16, 13, 0.76);
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    color: rgba(247, 243, 236, 0.8);
    pointer-events: none;
}

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

.specimen-metrics li {
    display: grid;
    gap: 7px;
}

.specimen-metrics span {
    font-size: 0.82rem;
    letter-spacing: 0.16em;
    color: rgba(247, 243, 236, 0.45);
}

.specimen-metrics strong {
    font-family: var(--font-display);
    font-size: 1.85rem;
    font-weight: 500;
    line-height: 1;
    color: var(--paper);
}

.specimen-metrics strong em {
    font-style: normal;
    font-size: 0.95rem;
    color: var(--brass-2);
    margin-left: 2px;
}

.specimen-metrics i {
    position: relative;
    display: block;
    height: 2px;
    background: rgba(247, 243, 236, 0.12);
}

.specimen-metrics i::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--v, 50%);
    background: var(--brass);
}

.specimen-message {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 1.35vw, 1.42rem);
    line-height: 1.5;
    letter-spacing: -0.01em;
    color: var(--paper);
}

.specimen-foot {
    position: static;
    margin-top: auto;
}

@media (max-width: 1024px) {
    .specimen-card {
        aspect-ratio: auto;
    }

    .specimen-visual {
        flex: 0 0 auto;
        aspect-ratio: 1.15;
    }
}

/* Diagnosis photo: neutral clinical grade so it sits in the palette */
.specimen-photo {
    filter: saturate(0.6) contrast(1.07) brightness(0.94);
}

.specimen-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(19, 32, 27, 0.16);
    mix-blend-mode: multiply;
    pointer-events: none;
}

/* Diagnosis card: cooler clinical grade + sub line */
.specimen-photo {
    filter: saturate(0.42) contrast(1.08) brightness(0.9);
}

.specimen-visual::after {
    background: rgba(19, 32, 27, 0.24);
}

.specimen-sub {
    margin: -4px 0 0;
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(247, 243, 236, 0.55);
}

.specimen-metrics i {
    background: rgba(247, 243, 236, 0.18);
}

/* Diagnosis card: give more room to the numbers than the photo */
.specimen-visual {
    flex: 0 0 46%;
    min-height: 260px;
}

.specimen-card {
    gap: 14px;
}

/* photo fills the leftover height instead of leaving a gap */
.specimen-visual {
    flex: 1 1 auto;
    max-height: 62%;
}

/* Card hierarchy: statement first, photo as evidence, numbers last */
.specimen-message {
    margin: 2px 0 0;
    font-size: clamp(1.5rem, 1.95vw, 2rem);
    line-height: 1.36;
    letter-spacing: -0.025em;
}

.specimen-sub {
    margin: -6px 0 4px;
    font-size: 1rem;
}

.specimen-visual {
    flex: 0 0 40%;
    min-height: 220px;
    max-height: none;
}

.specimen-sub {
    font-size: 1.02rem;
    line-height: 1.65;
    color: rgba(247, 243, 236, 0.62);
}

/* fill the remaining height so the card has no dead space */
.specimen-visual {
    flex: 1 1 auto;
    min-height: 220px;
}

/* legibility of the metric labels and tracks */
.specimen-metrics span {
    font-size: 0.86rem;
    color: rgba(247, 243, 236, 0.55);
}

.specimen-metrics i {
    background: rgba(247, 243, 236, 0.22);
}

/* Vignette so the macro reads as a documented frame, not a raw close-up */
.specimen-visual::after {
    background:
        radial-gradient(72% 72% at 50% 46%, rgba(9, 16, 13, 0) 38%, rgba(9, 16, 13, 0.62) 100%),
        rgba(19, 32, 27, 0.2);
}

.specimen-photo {
    filter: saturate(0.38) contrast(1.05) brightness(0.86);
}

/* Diagnosis photo: now a measuring scene, not a macro — lighter grade */
.specimen-photo {
    filter: saturate(0.82) contrast(1.03) brightness(0.92);
    object-position: 52% 42%;
}

.specimen-visual::after {
    background:
        radial-gradient(78% 78% at 50% 46%, rgba(9, 16, 13, 0) 45%, rgba(9, 16, 13, 0.5) 100%),
        rgba(19, 32, 27, 0.14);
}

.specimen-reticle {
    inset: 13% 13%;
    border-color: rgba(247, 243, 236, 0.26);
}

.specimen-point {
    left: 69%;
    top: 41%;
}

/* Reticle → focus brackets around the measuring point */
.specimen-reticle {
    inset: auto;
    left: 54%;
    top: 19%;
    width: 33%;
    height: 37%;
    border: 0;
    background: none;
}

.specimen-reticle::before,
.specimen-reticle::after {
    content: "";
    position: absolute;
    width: 22px;
    height: 22px;
    border-color: rgba(247, 243, 236, 0.55);
    border-style: solid;
}

.specimen-reticle::before {
    top: 0;
    left: 0;
    border-width: 1px 0 0 1px;
}

.specimen-reticle::after {
    right: 0;
    bottom: 0;
    border-width: 0 1px 1px 0;
}

/* Brackets read as noise here — keep only the measurement ring */
.specimen-reticle {
    display: none;
}

.specimen-point {
    left: 69.5%;
    top: 33%;
    width: 62px;
    height: 62px;
    margin: -31px 0 0 -31px;
    border: 1px solid rgba(210, 177, 131, 0.9);
    box-shadow: 0 0 0 1px rgba(9, 16, 13, 0.35), 0 0 22px rgba(210, 177, 131, 0.25);
}

.specimen-point::after {
    width: 6px;
    height: 6px;
    margin: -3px 0 0 -3px;
    background: var(--brass-2);
    box-shadow: 0 0 8px rgba(210, 177, 131, 0.9);
}

/* marker onto the device contact point (was sitting on the eye) */
.specimen-point {
    left: 67.5%;
    top: 37.5%;
    width: 56px;
    height: 56px;
    margin: -28px 0 0 -28px;
}

.specimen-metrics i {
    background: rgba(247, 243, 236, 0.14);
}
