:root {
  color-scheme: light;
  --bg: #f4f6f8;
  --surface: #fbfcfd;
  --surface-2: #e9edf2;
  --surface-3: #dde3eb;
  --ink: #15191f;
  --muted: #5a6370;
  --line: #cfd6df;
  --accent: #3154c7;
  --accent-strong: #24429f;
  --accent-soft: #dfe7ff;
  --on-accent: #f8faff;
  --danger: #9f3535;
  --shadow: 0 24px 80px rgba(42, 54, 72, 0.14);
  --radius: 14px;
  --radius-small: 8px;
  --container: 1280px;
  --page-inline: clamp(24px, 9.722vw, 140px);
  --header: 72px;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #11151a;
  --surface: #171c22;
  --surface-2: #20262e;
  --surface-3: #29313b;
  --ink: #edf1f5;
  --muted: #aab4c0;
  --line: #333d48;
  --accent: #8aa5ff;
  --accent-strong: #b4c4ff;
  --accent-soft: #24345f;
  --on-accent: #111722;
  --danger: #ef9292;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 50; background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: var(--radius-small); }
.skip-link:focus { top: 16px; }

.site-header { position: sticky; top: 0; z-index: 20; height: var(--header); border-bottom: 1px solid color-mix(in srgb, var(--line) 75%, transparent); background: color-mix(in srgb, var(--bg) 91%, transparent); backdrop-filter: blur(18px); }
.header-inner { max-width: var(--container); height: 100%; margin-inline: max(var(--page-inline), calc((100vw - var(--container)) / 2)); display: grid; grid-template-columns: 260px 1fr auto; align-items: center; gap: 24px; }
.brand { border: 0; background: none; padding: 0; display: inline-flex; align-items: center; gap: 11px; text-align: left; cursor: pointer; }
.brand strong { display: block; font-size: 15px; letter-spacing: .14em; }
.brand small { display: block; margin-top: 2px; color: var(--muted); font-size: 9px; letter-spacing: .18em; }
.brand-mark { width: 30px; height: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; transform: skew(-7deg); }
.brand-mark i { display: block; background: var(--ink); border-radius: 3px 8px 3px 8px; }
.brand-mark i:last-child { background: var(--accent); transform: translateY(5px); }
.desktop-nav { justify-self: center; display: flex; align-items: center; gap: 30px; }
.desktop-nav button, .footer-links button { border: 0; background: none; padding: 8px 0; font-size: 14px; cursor: pointer; color: var(--muted); }
.desktop-nav button:hover, .desktop-nav button.active { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.primary-button, .secondary-button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: var(--radius-small); padding: 0 20px; border: 1px solid transparent; text-decoration: none; cursor: pointer; white-space: nowrap; font-weight: 650; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.primary-button { background: var(--accent); color: var(--on-accent); }
.primary-button:hover { background: var(--accent-strong); }
.primary-button:active, .secondary-button:active { transform: translateY(1px); }
.primary-button.small { min-height: 38px; padding: 0 14px; font-size: 13px; }
.secondary-button { background: var(--surface); border-color: var(--line); color: var(--ink); }
.link-button { border: 0; background: none; color: var(--accent-strong); padding: 0; cursor: pointer; }
.page { min-height: 70vh; }
.container { max-width: var(--container); margin-inline: max(var(--page-inline), calc((100vw - var(--container)) / 2)); }
.section { padding: 96px 0; }
.section.compact { padding: 56px 0; }
.section-label { display: block; margin-bottom: 16px; color: var(--accent-strong); font-size: 11px; line-height: 1; letter-spacing: .16em; font-weight: 750; }
.section-title { margin: 0; font-size: clamp(32px, 4vw, 52px); line-height: 1.08; letter-spacing: -.045em; }
.section-copy { margin: 18px 0 0; max-width: 58ch; color: var(--muted); line-height: 1.75; }
.section-head { margin-bottom: 40px; }
.section-head .section-copy { max-width: 46ch; }
.section-action { margin-top: 28px; }

.hero { position: relative; min-height: calc(100dvh - var(--header)); display: grid; grid-template-columns: 1fr; align-items: stretch; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(12, 17, 24, .9) 0%, rgba(12, 17, 24, .8) 27%, rgba(12, 17, 24, .52) 47%, rgba(12, 17, 24, .16) 69%, rgba(12, 17, 24, 0) 90%), linear-gradient(180deg, rgba(12, 17, 24, .03), transparent 54%, rgba(12, 17, 24, .1)); }
.hero-copy { position: relative; z-index: 2; grid-area: 1 / 1; max-width: 900px; min-height: calc(100dvh - var(--header)); padding: 84px max(var(--page-inline), calc((100vw - var(--container)) / 2)) 72px; padding-right: 40px; display: flex; flex-direction: column; justify-content: center; color: #f4f7fb; }
.hero-copy h1 { margin: 0; max-width: 660px; font-size: clamp(52px, 5.3vw, 78px); line-height: 1.03; letter-spacing: -.06em; font-weight: 690; }
.hero-copy .section-label { color: #b9c8ff; }
.hero-copy p { max-width: 420px; margin: 24px 0 0; color: #d7dee8; font-size: 17px; line-height: 1.7; }
.hero-actions { display: flex; gap: 10px; margin-top: 32px; }
.hero-copy .secondary-button { border-color: rgba(255, 255, 255, .5); background: rgba(248, 250, 253, .94); color: #15191f; }
.hero-visual { position: absolute; inset: 0; min-width: 0; min-height: 0; overflow: hidden; background: #efedeb; }
.hero-visual img { width: 100%; height: 100%; object-fit: contain; object-position: right center; transform: scale(.9); transform-origin: 82% center; }

.quick-access { padding: 32px 0; background: var(--bg); }
.quick-grid { min-height: 132px; display: grid; grid-template-columns: 1.35fr repeat(3, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.quick-intro, .quick-item { padding: 28px; display: flex; flex-direction: column; justify-content: space-between; }
.quick-item { appearance: none; border: 0; border-left: 1px solid var(--line); border-top: 0; background: none; box-shadow: none; text-align: left; cursor: pointer; }
.quick-item:hover { background: var(--accent-soft); }
.quick-intro strong { font-size: 20px; letter-spacing: -.02em; }
.quick-intro span, .quick-item span { color: var(--muted); font-size: 12px; }
.quick-item b { font-size: 17px; }

.product-section { position: relative; isolation: isolate; overflow: hidden; background: var(--bg); }
.product-background-copy { position: absolute; z-index: 0; inset: 34px 0 24px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; color: color-mix(in srgb, var(--ink) 7%, transparent); font-family: Georgia, "Times New Roman", serif; font-weight: 400; line-height: .72; letter-spacing: -.055em; white-space: nowrap; pointer-events: none; user-select: none; }
.product-background-copy span:first-child { align-self: flex-start; margin-left: max(18px, calc((100vw - var(--container)) / 2 - 70px)); font-size: clamp(150px, 20vw, 330px); }
.product-background-copy span:last-child { align-self: flex-end; margin-right: max(18px, calc((100vw - var(--container)) / 2 - 100px)); font-size: clamp(100px, 13.4vw, 224px); }
.product-layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(330px, .72fr) minmax(0, 1.55fr); gap: clamp(44px, 6vw, 92px); align-items: center; }
.product-copy { max-width: 390px; }
.product-gallery { min-width: 0; display: grid; grid-template-columns: 1.18fr .82fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 14px; height: min(650px, 58vw); max-height: 650px; }
.product-photo { min-width: 0; min-height: 0; margin: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.product-photo-main { grid-row: 1 / 3; }
.product-photo img { width: 100%; height: 100%; min-height: 0; object-fit: contain; object-position: center; }
.product-photo-main img { background: #efedeb; }
.product-photo:nth-child(3) img { background: #e4e5e7; }
.product-photo figcaption { padding: 11px 14px 12px; color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

.featured-layout { display: grid; grid-template-columns: 1.55fr .8fr; gap: 22px; }
.feature-main { position: relative; min-height: 610px; overflow: hidden; border-radius: var(--radius); background: var(--surface-2); }
.feature-main img { width: 100%; height: 100%; object-fit: cover; }
.feature-main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(10, 16, 24, .82)); }
.feature-main-copy { position: absolute; z-index: 1; left: 36px; right: 36px; bottom: 34px; color: #f4f7fb; }
.feature-main-copy h3 { margin: 8px 0 14px; max-width: 650px; font-size: 34px; line-height: 1.2; letter-spacing: -.035em; }
.feature-main-copy p { margin: 0; color: #d6dce6; }
.media-meta { display: flex; gap: 8px 16px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.feature-main .media-meta { color: #cfd8e6; }
.side-stack { display: grid; grid-template-rows: 1fr 1fr; gap: 22px; }
.side-panel { border-radius: var(--radius); padding: 30px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; }
.side-panel.blue { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.side-panel h3 { margin: 12px 0; font-size: 25px; letter-spacing: -.03em; line-height: 1.2; }
.side-panel p { color: var(--muted); line-height: 1.6; }
.side-panel.blue p, .side-panel.blue .media-meta { color: color-mix(in srgb, var(--on-accent) 75%, transparent); }
.arrow-link { align-self: flex-start; border: 0; border-bottom: 1px solid currentColor; background: none; padding: 0 0 4px; cursor: pointer; font-weight: 700; }

.resource-showcase { background: var(--surface-2); }
.resource-layout { display: grid; grid-template-columns: 380px 1fr; gap: 64px; align-items: start; }
.resource-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.resource-card { min-height: 252px; display: grid; grid-template-columns: 118px 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); cursor: pointer; transition: transform .25s ease, box-shadow .25s ease; }
.resource-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pdf-cover { padding: 20px 14px; background: var(--accent); color: var(--on-accent); display: flex; flex-direction: column; justify-content: space-between; }
.pdf-cover span { font-size: 10px; letter-spacing: .12em; }
.pdf-cover strong { font-size: 32px; letter-spacing: -.05em; }
.resource-info { padding: 24px; display: flex; flex-direction: column; justify-content: space-between; }
.resource-info h3 { margin: 12px 0; font-size: 19px; line-height: 1.38; letter-spacing: -.025em; }
.resource-info p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }

.agenda-strip { overflow: hidden; }
.agenda-shell { border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.agenda-head { padding: 24px 28px; display: flex; justify-content: space-between; align-items: center; background: var(--surface-2); }
.agenda-head h2 { margin: 0; font-size: 25px; letter-spacing: -.03em; }
.agenda-list { display: grid; grid-template-columns: repeat(3, 1fr); }
.agenda-item { min-height: 210px; padding: 26px 28px; border-left: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; }
.agenda-item:first-child { border-left: 0; }
.date { font-size: 13px; color: var(--accent-strong); font-weight: 750; }
.agenda-item h3 { margin: 20px 0 10px; font-size: 19px; line-height: 1.4; }
.agenda-item p { margin: 0; color: var(--muted); font-size: 13px; }
.status { display: inline-flex; align-items: center; align-self: flex-start; min-height: 26px; padding: 0 9px; border: 1px solid color-mix(in srgb, var(--accent) 34%, var(--line)); border-radius: 999px; background: var(--accent-soft); color: var(--accent-strong); box-shadow: 0 1px 2px rgba(38, 55, 82, .12); font-size: 11px; font-weight: 750; }

.before-after-section { background: var(--surface-2); }
.before-after-layout { display: grid; grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr); gap: clamp(44px, 6vw, 92px); align-items: center; }
.before-after-copy { max-width: 410px; }
.comparison-meta { margin: 34px 0 0; border-top: 1px solid var(--line); }
.comparison-meta div { display: grid; grid-template-columns: 100px 1fr; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.comparison-meta dt { color: var(--muted); font-size: 13px; }
.comparison-meta dd { margin: 0; font-size: 14px; font-weight: 650; }
.clinical-note { margin: 24px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.before-after { --position: 50%; position: relative; justify-self: end; width: min(100%, 680px); aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); background: #dfe3e7; touch-action: pan-y; user-select: none; }
.comparison-image { position: absolute; inset: 0; background-image: url("assets/images/clinical-before-after-concept.png"); background-repeat: no-repeat; background-size: 200% 100%; }
.comparison-before { background-position: left center; }
.comparison-after { background-position: right center; clip-path: inset(0 0 0 var(--position)); }
.comparison-label { position: absolute; top: 18px; z-index: 3; padding: 7px 10px; border-radius: var(--radius-small); background: rgba(248, 250, 253, .9); color: #15191f; font-size: 10px; font-weight: 750; letter-spacing: .12em; backdrop-filter: blur(8px); }
.before-label { left: 18px; }
.after-label { right: 18px; }
.comparison-divider { position: absolute; z-index: 4; inset-block: 0; left: var(--position); width: 2px; transform: translateX(-1px); background: rgba(255, 255, 255, .95); pointer-events: none; }
.comparison-divider span { position: absolute; top: 50%; left: 50%; width: 38px; height: 38px; transform: translate(-50%, -50%); border: 2px solid #fff; border-radius: 50%; background: var(--accent); box-shadow: 0 2px 8px rgba(25, 42, 82, .18); }
.comparison-divider span::before, .comparison-divider span::after { content: ""; position: absolute; top: 50%; width: 6px; height: 6px; border-top: 2px solid #fff; border-left: 2px solid #fff; }
.comparison-divider span::before { left: 9px; transform: translateY(-50%) rotate(-45deg); }
.comparison-divider span::after { right: 9px; transform: translateY(-50%) rotate(135deg); }
.comparison-range { position: absolute; z-index: 5; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.before-after:has(.comparison-range:focus-visible) { outline: 3px solid color-mix(in srgb, var(--accent) 68%, white); outline-offset: 4px; }

.page-hero { padding: 72px 0 46px; border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: 1fr 360px; gap: 80px; align-items: end; }
.page-hero h1 { margin: 0; font-size: clamp(46px, 5vw, 70px); letter-spacing: -.055em; line-height: 1.02; }
.page-hero p { margin: 0; color: var(--muted); line-height: 1.7; }
.filter-bar { padding: 20px 0; border-bottom: 1px solid var(--line); background: var(--surface); }
.filters { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.filter, .select { min-height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius-small); background: var(--surface); color: var(--muted); cursor: pointer; }
.filter.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.search-box { margin-left: auto; min-width: 270px; min-height: 40px; border: 1px solid var(--line); border-radius: var(--radius-small); padding: 0 14px; color: var(--ink); background: var(--bg); }
.archive-section { padding: 54px 0 100px; }
.archive-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.video-card { grid-column: span 4; cursor: pointer; }
.video-card.wide { grid-column: span 8; }
.video-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: var(--surface-2); }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s cubic-bezier(.16,1,.3,1); }
.video-card:hover img { transform: scale(1.025); }
.play-button { position: absolute; left: 18px; bottom: 18px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--surface); color: var(--ink); font-weight: 800; box-shadow: var(--shadow); }
.video-card h3 { margin: 16px 0 10px; font-size: 19px; line-height: 1.42; letter-spacing: -.025em; }
.video-card.wide h3 { font-size: 27px; }
.notice-list { max-width: 980px; }
.notice-row { display: grid; grid-template-columns: 110px 1fr 120px; gap: 24px; align-items: center; padding: 25px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.notice-row:first-child { border-top: 1px solid var(--line); }
.notice-row strong { font-size: 17px; }
.notice-row span { color: var(--muted); font-size: 13px; }

.admin-layout { min-height: calc(100dvh - var(--header)); display: grid; grid-template-columns: 232px 1fr; }
.admin-sidebar { padding: 30px 20px; border-right: 1px solid var(--line); background: var(--surface); }
.admin-sidebar strong { display: block; margin: 0 10px 28px; font-size: 13px; color: var(--muted); }
.admin-nav { display: grid; gap: 4px; }
.admin-nav button { border: 0; border-radius: var(--radius-small); padding: 11px 12px; background: none; text-align: left; cursor: pointer; }
.admin-nav button.active { background: var(--accent-soft); color: var(--accent-strong); font-weight: 700; }
.admin-main { min-width: 0; padding: 44px; }
.admin-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 34px; }
.admin-top h1 { margin: 0; font-size: 34px; letter-spacing: -.04em; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 28px; }
.metric { padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.metric span { color: var(--muted); font-size: 12px; }
.metric strong { display: block; margin-top: 12px; font-size: 30px; letter-spacing: -.04em; }
.admin-panel { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.panel-head { padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.panel-head h2 { margin: 0; font-size: 18px; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { padding: 17px 20px; text-align: left; border-bottom: 1px solid var(--line); font-size: 13px; }
.data-table th { color: var(--muted); font-weight: 600; background: var(--surface-2); }
.data-table tr:last-child td { border-bottom: 0; }
.data-table td strong { font-size: 14px; }
.table-actions { display: flex; gap: 7px; }
.table-actions button { padding: 6px 9px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); cursor: pointer; }

.site-footer { border-top: 1px solid var(--line); background: var(--surface); }
.footer-inner { max-width: var(--container); margin-inline: max(var(--page-inline), calc((100vw - var(--container)) / 2)); min-height: 210px; padding: 54px 0; display: grid; grid-template-columns: 1fr auto; gap: 38px; align-content: start; }
.footer-brand { display: flex; align-items: flex-start; gap: 14px; }
.footer-brand strong { letter-spacing: .08em; font-size: 13px; }
.footer-brand p { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { padding: 8px 0; color: var(--muted); font-size: 14px; text-decoration: none; }
.legal { grid-column: 1 / -1; margin: 20px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }

.login-dialog { width: min(980px, calc(100% - 32px)); padding: 0; border: 0; border-radius: var(--radius); background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.login-dialog::backdrop { background: rgba(12, 17, 24, .66); backdrop-filter: blur(5px); }
.dialog-shell { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 590px; }
.dialog-copy { padding: 64px; background: var(--accent); color: var(--on-accent); display: flex; flex-direction: column; justify-content: flex-end; }
.dialog-copy .section-label { color: color-mix(in srgb, var(--on-accent) 74%, transparent); }
.dialog-copy h2 { margin: 0; font-size: 42px; line-height: 1.15; letter-spacing: -.045em; }
.dialog-copy p { color: color-mix(in srgb, var(--on-accent) 75%, transparent); line-height: 1.7; }
.form-stack { padding: 74px 54px 48px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.form-stack label:not(.check) { display: grid; gap: 8px; font-size: 13px; font-weight: 650; }
.form-stack input[type="email"], .form-stack input[type="password"] { width: 100%; min-height: 48px; padding: 0 13px; border: 1px solid var(--line); border-radius: var(--radius-small); background: var(--bg); color: var(--ink); }
.form-stack input:focus { outline: 3px solid color-mix(in srgb, var(--accent) 28%, transparent); border-color: var(--accent); }
.form-options { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; }
.check { display: flex; align-items: center; gap: 7px; }
.form-note { margin: 0; color: var(--muted); text-align: center; font-size: 11px; }
.dialog-close { position: absolute; right: 18px; top: 18px; z-index: 1; border: 0; background: none; color: var(--muted); cursor: pointer; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 40; max-width: 360px; padding: 14px 18px; border-radius: var(--radius-small); background: var(--ink); color: var(--bg); box-shadow: var(--shadow); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.toast.visible { opacity: 1; transform: translateY(0); }
.empty-state { min-height: 360px; border: 1px dashed var(--line); border-radius: var(--radius); display: grid; place-items: center; text-align: center; padding: 30px; color: var(--muted); }
.skeleton { border-radius: var(--radius-small); background: linear-gradient(90deg, var(--surface-2), var(--surface-3), var(--surface-2)); background-size: 220% 100%; animation: shimmer 1.5s infinite; }
@keyframes shimmer { to { background-position: -220% 0; } }

@media (prefers-reduced-motion: no-preference) {
  .page-enter { animation: pageIn .55s cubic-bezier(.16, 1, .3, 1) both; }
  @keyframes pageIn { from { opacity: 0; transform: translateY(10px); } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (max-width: 1100px) {
  .header-inner { grid-template-columns: 200px 1fr auto; gap: 16px; }
  .desktop-nav { gap: 20px; }
  .hero-copy { min-height: 610px; padding-left: var(--page-inline); }
  .hero-visual { min-height: 600px; }
  .quick-grid { grid-template-columns: repeat(3, 1fr); }
  .quick-intro { grid-column: 1 / -1; min-height: 100px; }
  .quick-item:first-of-type { border-left: 0; }
  .featured-layout, .resource-layout { grid-template-columns: 1fr; }
  .product-layout, .before-after-layout { grid-template-columns: minmax(300px, .65fr) minmax(0, 1fr); gap: 36px; }
  .resource-layout { gap: 34px; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { border-right: 0; border-bottom: 1px solid var(--line); }
  .admin-nav { grid-template-columns: repeat(4, auto); overflow-x: auto; }
}

@media (max-width: 900px) {
  :root { --header: 112px; }
  .header-inner { grid-template-columns: 1fr auto; grid-template-rows: 64px 48px; gap: 0 12px; }
  .brand { grid-column: 1; grid-row: 1; }
  .header-actions { grid-column: 2; grid-row: 1; }
  .desktop-nav { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; justify-content: center; gap: 20px; overflow-x: auto; border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
  .desktop-nav button { flex: 0 0 auto; padding: 13px 0; font-size: 12px; }
}

@media (max-width: 767px) {
  :root { --header: 112px; }
  .header-inner { grid-template-columns: 1fr auto; grid-template-rows: 64px 48px; gap: 0 12px; }
  .brand { grid-column: 1; grid-row: 1; }
  .header-actions { grid-column: 2; grid-row: 1; }
  .desktop-nav { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; justify-content: center; gap: 20px; overflow-x: auto; border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
  .desktop-nav button { flex: 0 0 auto; padding: 13px 0; font-size: 12px; }
  .brand small { display: none; }
  .header-actions .primary-button { display: inline-flex; }
  .brand-mark { width: 26px; height: 26px; }
  .section { padding: 68px 0; }
  .section-title { font-size: 36px; }
  .hero { min-height: 610px; }
  .hero::after { background: linear-gradient(180deg, rgba(12, 17, 24, .82) 0%, rgba(12, 17, 24, .7) 48%, rgba(12, 17, 24, .24) 100%); }
  .hero-copy { min-height: 610px; padding: 54px var(--page-inline) 180px; justify-content: flex-start; }
  .hero-copy h1 { font-size: 49px; }
  .hero-copy p { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-visual { min-height: 610px; }
  .hero-visual img { object-position: center bottom; transform: scale(.94); transform-origin: center bottom; }
  .quick-grid { grid-template-columns: 1fr; }
  .quick-intro, .quick-item { min-height: 108px; }
  .quick-item { border-left: 0; border-top: 1px solid var(--line); }
  .product-layout, .before-after-layout { grid-template-columns: 1fr; gap: 34px; }
  .product-background-copy { inset: 34px 0 28px; }
  .product-background-copy span:first-child { margin-left: -14px; font-size: 34vw; }
  .product-background-copy span:last-child { margin-right: -22px; font-size: 21vw; }
  .product-copy, .before-after-copy { max-width: none; }
  .product-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 390px 220px; height: auto; max-height: none; }
  .product-photo-main { grid-column: 1 / -1; grid-row: 1; }
  .product-photo:not(.product-photo-main) { grid-row: 2; }
  .before-after { justify-self: stretch; width: 100%; }
  .featured-layout { display: block; }
  .feature-main { min-height: 520px; }
  .feature-main-copy { left: 22px; right: 22px; bottom: 24px; }
  .feature-main-copy h3 { font-size: 27px; }
  .side-stack { margin-top: 16px; grid-template-rows: none; }
  .side-panel { min-height: 260px; }
  .resource-grid { grid-template-columns: 1fr; }
  .resource-card { min-height: 230px; }
  .agenda-list { grid-template-columns: 1fr; }
  .agenda-item { border-left: 0; border-top: 1px solid var(--line); }
  .agenda-head { align-items: flex-start; gap: 12px; flex-direction: column; }
  .page-hero { padding: 52px 0 32px; }
  .page-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .page-hero h1 { font-size: 48px; }
  .search-box { width: 100%; margin-left: 0; }
  .archive-grid { display: grid; grid-template-columns: 1fr; }
  .video-card, .video-card.wide { grid-column: auto; }
  .video-card.wide h3 { font-size: 21px; }
  .notice-row { grid-template-columns: 72px 1fr; }
  .notice-row span:last-child { display: none; }
  .admin-main { padding: 28px 16px; }
  .admin-sidebar { padding: 18px 16px; }
  .admin-sidebar strong { display: none; }
  .admin-nav { grid-template-columns: repeat(4, max-content); }
  .admin-top { align-items: flex-start; gap: 16px; flex-direction: column; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .data-table { min-width: 720px; }
  .admin-panel { overflow-x: auto; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
  .legal { grid-column: auto; }
  .dialog-shell { grid-template-columns: 1fr; }
  .dialog-copy { padding: 52px 28px 34px; min-height: 320px; }
  .dialog-copy h2 { font-size: 34px; }
  .form-stack { padding: 38px 28px; }
}
