:root {
  color-scheme: light;
  --paper: #fff;
  --white: #fff;
  --ink: #202329;
  --muted: #505964;
  --line: #dfe4ec;
  --blue: #0a64f6;
  --blue-ink: #0757cb;
  --blue-wash: #f3f7ff;
  --blue-line: #d5e5fb;
  --font: "NanumSquare Neo", "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  --number-font: "DM Sans", Inter, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 79px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.65 var(--font); word-break: keep-all; }
a { color: inherit; }
h1, h2, h3, h4, p, figure, ul, ol, dl, dd { margin: 0; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.wrap { width: min(1240px, calc(100% - 104px)); margin-inline: auto; }
.kicker { color: var(--blue); font: 800 .74rem/1.35 var(--number-font); letter-spacing: .11em; }
.skip-link { position: fixed; z-index: 3; inset: 8px auto auto 8px; transform: translateY(-150%); padding: 9px 15px; background: var(--white); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 2; border-bottom: 1px solid var(--line); background: var(--white); }
.header-row, .footer-row { display: flex; align-items: center; justify-content: space-between; gap: 10px 24px; }
.header-row { min-height: 62px; }
.wordmark { display: inline-flex; align-items: baseline; gap: 10px; font-size: 1.06rem; font-weight: 900; text-decoration: none; white-space: nowrap; }
.wordmark span { color: var(--muted); font-size: .75rem; font-weight: 680; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 2px clamp(14px, 2.5vw, 30px); }
.site-header nav a, .site-footer a:not(.wordmark) { display: inline-flex; align-items: center; min-height: 44px; font-size: .82rem; font-weight: 760; text-decoration: none; }
.site-header nav a { position: relative; color: var(--muted); }
.site-header nav a[aria-current] { color: var(--blue-ink); }
.site-header nav a[aria-current]::after { content: ""; position: absolute; inset: auto 0 3px; height: 2px; background: var(--blue); }
.site-header nav a:hover, .site-footer a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }

.cover {
  --profile-panel-inline: clamp(11px, 1.25vw, 17px);
  display: grid;
  grid-template-areas: "intro overview" "intro tools" "heading heading" "cases cases";
  grid-template-columns: minmax(0, .68fr) minmax(0, 1.32fr);
  column-gap: clamp(22px, 3vw, 46px);
  padding-block: clamp(25px, 2.8vw, 42px) clamp(36px, 5vw, 68px);
}
.profile-intro { grid-area: intro; align-self: center; }
.profile-intro .kicker { color: var(--muted); font: 740 clamp(.77rem, 1.25vw, .92rem)/1.4 var(--font); letter-spacing: .035em; }
.cover h1 { margin-top: 6px; font-size: clamp(2.9rem, 5.3vw, 4.85rem); font-weight: 900; line-height: 1.1; letter-spacing: -.088em; }
.cover h1 em { color: var(--blue); font-style: normal; }
.profile-career { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 8px; margin-top: 11px; font-size: clamp(.87rem, 1.4vw, 1.05rem); }
.profile-career strong { font-weight: 810; }
.profile-career > span { padding: 2px 7px; border: 1px solid var(--blue-line); border-radius: 4px; background: var(--blue-wash); color: var(--blue-ink); font-size: .81em; font-weight: 750; white-space: nowrap; }
.profile-career time { font-variant-numeric: tabular-nums; }
.profile-line { margin-top: 7px; color: var(--muted); font-size: clamp(.88rem, 1.5vw, 1.07rem); font-weight: 650; letter-spacing: -.035em; }
:is(.cover-specialties, .profile-tool-panel) { min-width: 0; padding-inline: var(--profile-panel-inline); border: 1px solid var(--blue-line); background: var(--blue-wash); }
.cover-specialties { grid-area: overview; padding-top: 3px; border-bottom: 0; border-radius: 6px 6px 0 0; }
:is(.cover-specialties, .profile-tools) > div { display: grid; grid-template-columns: 6.15rem minmax(0, 1fr); align-items: baseline; gap: 7px; }
.cover-specialties > div { padding-block: 7px; }
:is(.cover-specialties, .profile-tools) > div + div { border-top: 1px solid var(--blue-line); }
:is(.cover-specialties, .profile-tools) dt { color: var(--blue-ink); font-size: .81rem; font-weight: 820; }
:is(.cover-specialties, .profile-tools) dd { min-width: 0; font-size: .81rem; line-height: 1.5; }
.profile-tool-panel { grid-area: tools; padding-bottom: 6px; border-top: 0; border-radius: 0 0 6px 6px; }
.profile-tool-panel h2 { padding-top: 6px; margin-bottom: 2px; border-top: 1px solid var(--blue-line); font-size: .86rem; line-height: 1.4; }
.profile-tools > div { grid-template-columns: 5.8rem minmax(0, 1fr); padding-block: 4px; }
.profile-tools dd { font-size: .8rem; }
.profile-tools dd strong { font-weight: 780; }
.profile-tool-name { padding-block: 3px; color: var(--blue-ink); text-decoration: underline; text-decoration-color: #8ab8ff; text-underline-offset: 3px; white-space: nowrap; }
.profile-tool-name:hover { text-decoration-color: currentColor; }
.profile-tool-name img { display: inline-block; width: 14px; height: 14px; margin-inline-end: 3px; object-fit: contain; vertical-align: -.17em; }
.specialty-links { display: flex; flex-wrap: wrap; gap: 2px 10px; }
.specialty-links a { display: inline-flex; align-items: center; gap: 3px; min-height: 25px; color: var(--blue-ink); font-size: .8rem; font-weight: 760; text-decoration: underline; text-decoration-color: #8ab8ff; text-underline-offset: 3px; white-space: nowrap; }
.specialty-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.cover-work-heading { grid-area: heading; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-block: clamp(20px, 2.4vw, 34px) 10px; }
.cover-work-heading h2 { font-size: clamp(1.12rem, 2vw, 1.55rem); line-height: 1.24; letter-spacing: -.05em; }
.cover-work-heading a { color: var(--blue-ink); font-size: .78rem; font-weight: 750; text-underline-offset: 3px; }

.cover-cases { grid-area: cases; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 22px); }
.cover-case { display: grid; grid-template-rows: auto 1fr; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: var(--white); color: var(--ink); text-decoration: none; transition: border-color .18s, background-color .18s; }
.cover-case:hover { border-color: var(--blue); background: var(--blue-wash); }
.cover-case, .featured-case { --case-color: var(--blue-ink); --case-tint: var(--blue-wash); }
.cover-visual { position: relative; height: clamp(104px, 10vw, 152px); overflow: hidden; border-bottom: 1px solid var(--line); background: var(--blue-wash); }
.cover-visual img { width: 100%; height: 100%; object-fit: cover; }
.cover-season .cover-visual { padding: 12px; }
.cover-season .cover-visual img { object-fit: contain; }
.cover-olive .cover-visual img { object-position: 50% 48%; }
.cover-diffuser .cover-visual img { object-position: 50% 52%; }
.cover-case-body { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; padding: 13px 15px 15px; }
.cover-case-title { display: flex; align-items: start; justify-content: space-between; gap: 5px 7px; }
.case-code { color: var(--case-color); font: 850 .82rem/1.45 var(--number-font); }
.case-code span { margin-left: 5px; font: 750 .74rem/1.45 var(--font); }
.cover-case .case-code span { margin-left: 0; }
.cover-case h3 { margin-top: 3px; font-size: clamp(1rem, 1.8vw, 1.42rem); letter-spacing: -.057em; line-height: 1.25; }
.jump-mark { display: grid; place-items: center; flex: 0 0 29px; width: 29px; height: 29px; border-radius: 50%; background: var(--case-tint); color: var(--case-color); font-size: 1.03rem; }
.cover-case:hover .jump-mark { background: var(--case-color); color: #fff; }
.cover-role { margin: 7px 0 10px; color: var(--muted); font-size: .80rem; font-weight: 650; }
.cover-result { display: flex; align-items: end; flex-wrap: wrap; gap: 5px 10px; margin-top: auto; padding-top: 9px; border-top: 1px solid var(--line); }
.cover-result strong { color: var(--case-color); font: 850 clamp(1.85rem, 3.35vw, 2.8rem)/.96 var(--number-font); font-variant-numeric: tabular-nums; letter-spacing: -.066em; white-space: nowrap; }
.cover-result strong span { margin-left: .12em; font-size: .49em; }
.cover-result > span { color: var(--muted); font-size: .71rem; line-height: 1.36; }

.case-collection, .ai-work, .brand-search, .partners { padding-block: clamp(26px, 4.3vw, 50px); border-top: 1px solid var(--line); }
.section-title { margin-bottom: clamp(16px, 2.6vw, 25px); font-size: clamp(1.75rem, 3.25vw, 2.6rem); font-weight: 900; line-height: 1.15; letter-spacing: -.07em; }
.ai-portfolio { padding: clamp(14px, 2.65vw, 28px); border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.ai-portfolio + .ai-portfolio { margin-top: 16px; }
.ai-section-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; margin-bottom: 14px; }
.ai-section-top h3 { color: var(--blue); font-size: clamp(1.25rem, 2.5vw, 1.88rem); letter-spacing: -.054em; line-height: 1.2; }
.ai-section-top p { color: var(--muted); font-size: .85rem; }
.automation-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0; list-style: none; }
.automation-stage { min-width: 0; display: flex; flex-direction: column; gap: 9px; padding: clamp(11px, 2vw, 17px); border: 1px solid var(--line); border-radius: 5px; background: var(--white); }
.automation-stage h4 { color: var(--blue-ink); font-size: 1.05rem; line-height: 1.3; }
.automation-facts { padding-bottom: 4px; }
.automation-facts > div { align-items: baseline; padding: 4px 6px; }
.automation-facts > div.automation-review { border-radius: 4px; background: var(--blue-wash); }
.automation-review dt { color: var(--blue-ink); }
.automation-capture img { aspect-ratio: 1.75; background: #edf0f7; }
.automation-reels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: auto; }
.automation-reel { min-width: 0; border: 1px solid var(--blue-line); border-radius: 4px; overflow: hidden; background: var(--white); }
.automation-reel video { display: block; width: 100%; aspect-ratio: 9 / 16; max-height: 300px; object-fit: contain; background: #141a26; }
.automation-reel figcaption { display: grid; gap: 3px; padding: 7px 9px; }
.automation-reel figcaption strong { font-size: .84rem; }
.automation-reel figcaption > span { color: var(--muted); font-size: .71rem; }
.ai-search-card h4 { color: var(--blue-ink); font-size: .92rem; line-height: 1.32; }
.ai-text-link, .ai-proof-link { color: var(--blue-ink); font-size: .79rem; font-weight: 810; text-underline-offset: 3px; }
.ai-text-link { display: inline-flex; gap: 4px; align-items: center; min-height: 33px; }
.ai-proof-link { display: inline-flex; align-items: center; gap: 5px; min-height: 42px; margin-top: 7px; }
.ai-search-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.ai-search-card { min-width: 0; padding: 12px 14px; border: 1px solid var(--blue-line); border-radius: 4px; background: #eef1fb; }
.ai-stat { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 7px; margin-top: 5px; }
.ai-stat strong { color: var(--blue-ink); font: 880 2.55rem/1 var(--number-font); letter-spacing: -.065em; }
.ai-stat span { font-size: .86rem; font-weight: 810; }
.ai-stat-detail { margin-top: 7px; color: var(--muted); font-size: .8rem; }
.ai-search-card .source { margin-top: 7px; }
.ai-query-list { display: flex; flex-wrap: wrap; gap: 1px 10px; margin-top: 5px; padding: 0; list-style: none; }
.ai-query-list a { display: inline-flex; align-items: center; gap: 3px; min-height: 40px; color: var(--blue-ink); font-size: .75rem; font-weight: 780; text-underline-offset: 3px; }
.ai-referral { display: flex; align-items: center; flex-wrap: wrap; gap: 3px 19px; margin-top: 12px; padding: 8px 2px 0; border-top: 1px solid var(--line); }
.ai-referral p { margin-top: 0; }
.ai-referral small { color: var(--muted); font-size: .73rem; }
.ai-evidence-card { display: flex; flex-direction: column; gap: 9px; background: var(--white); }
.ai-evidence-card h4 { font-size: 1.06rem; }
.ai-evidence-facts { display: grid; gap: 6px; }
.ai-evidence-facts > div { display: grid; grid-template-columns: 4.35em minmax(0, 1fr); gap: 3px 8px; font-size: .82rem; }
.ai-evidence-facts dt { color: var(--muted); font-weight: 700; }
.ai-evidence-facts dd { overflow-wrap: anywhere; }
.ai-evidence-facts a { color: var(--blue-ink); font-weight: 760; text-underline-offset: 3px; }
.ai-capture { margin-top: auto; }
.ai-capture a { display: block; border: 1px solid var(--blue-line); border-radius: 4px; overflow: hidden; background: #f5f6fa; text-decoration: none; }
.ai-capture a:hover .partnership-link-label { text-decoration: underline; text-underline-offset: 3px; }
.ai-capture img { width: 100%; height: auto; aspect-ratio: 1.65; object-fit: contain; }
.ai-capture figcaption { margin-top: 4px; color: var(--muted); font-size: .71rem; }
.ai-search-history { margin-top: 10px; border-top: 1px solid var(--line); }
.ai-search-history summary { min-height: 40px; padding-top: 9px; color: var(--blue-ink); font-size: .8rem; font-weight: 780; cursor: pointer; }
.featured-list { display: grid; gap: clamp(25px, 4vw, 52px); }
.featured-season { margin-bottom: clamp(25px, 4vw, 52px); }
.featured-case { min-width: 0; border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.featured-page { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); align-items: start; gap: clamp(20px, 3.7vw, 50px); padding: clamp(16px, 3vw, 38px); }
.featured-editorial { min-width: 0; }
.featured-heading { display: grid; gap: 6px; padding-bottom: clamp(13px, 2.1vw, 25px); border-bottom: 1px solid var(--line); }
.featured-heading h3 { font-size: clamp(1.5rem, 2.95vw, 2.58rem); font-weight: 900; letter-spacing: -.062em; line-height: 1.16; }
.featured-heading .case-code { font-size: .95rem; }
.featured-heading .case-code span { margin-left: 0; font-size: .8rem; }
.project-period { color: var(--muted); font-size: .8rem; }
.featured-overview { display: grid; gap: clamp(12px, 2vw, 22px); margin-top: clamp(13px, 2.1vw, 25px); }
.featured-role, .featured-result { min-width: 0; }
.featured-overview h4 { margin-bottom: 5px; color: var(--case-color); font-size: .92rem; font-weight: 850; }
.featured-role p { max-width: 55ch; font-size: .96rem; }
.featured-role p + p { margin-top: 6px; color: var(--muted); font-size: .88rem; }
.featured-result { padding: 13px clamp(11px, 1.7vw, 22px); border-left: 3px solid var(--blue); border-radius: 0 5px 5px 0; background: var(--blue-wash); }
.feature-number { margin: 4px 0 6px; color: var(--case-color); font: 880 clamp(2.4rem, 4.6vw, 4rem)/.98 var(--number-font); font-variant-numeric: tabular-nums; letter-spacing: -.075em; }
.feature-number span { margin-left: .13em; font-size: .48em; }
.featured-result p:not(.feature-number) { color: var(--muted); font-size: .8rem; }

.partnership-detail { padding: clamp(15px, 2.6vw, 28px) clamp(16px, 3vw, 32px); border-top: 1px solid var(--line); --evidence-ink: var(--case-color, var(--blue-ink)); }
.featured-page > .partnership-detail { min-width: 0; padding: 0; border-top: 0; }
.featured-season .featured-page .partnership-artifacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.featured-season .featured-page .partnership-artifact:first-child { grid-column: 1 / -1; }
.featured-season .featured-page .partnership-artifact:first-child .partnership-preview { height: clamp(104px, 13vw, 158px); aspect-ratio: auto; }
.partnership-detail > h4 { margin-bottom: 12px; font-size: clamp(1.04rem, 1.8vw, 1.32rem); line-height: 1.3; letter-spacing: -.04em; }
.partnership-artifacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.partnership-artifacts-pair { grid-template-columns: minmax(0, 1fr) minmax(0, 1.22fr); }
.partnership-artifact { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 5px; background: var(--white); }
#meta-performance-report:target { border-color: var(--blue); }
.partnership-artifact figcaption { display: grid; gap: 2px; padding: 9px 11px; }
.partnership-artifact figcaption strong { font-size: .93rem; line-height: 1.35; }
.partnership-artifact figcaption .kicker { color: var(--evidence-ink); font-family: var(--font); font-size: .68rem; letter-spacing: .02em; }
.partnership-artifact-link { display: block; color: var(--evidence-ink); text-decoration: none; }
.partnership-artifact-link:hover .partnership-link-label { text-decoration: underline; text-underline-offset: 3px; }
.partnership-preview { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 1.95; overflow: hidden; background: var(--case-tint, var(--blue-wash)); }
.partnership-preview img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.partnership-report .partnership-preview { background: #eef0f5; }
.partnership-artifacts-pair .partnership-preview { height: clamp(150px, 20vw, 230px); aspect-ratio: auto; }
.partnership-reel img { position: absolute; object-fit: contain; }
.partnership-play { position: absolute; right: 11px; bottom: 11px; z-index: 1; display: grid; place-items: center; width: 43px; aspect-ratio: 1; padding-left: 2px; border: 1px solid #ffffffb8; border-radius: 50%; background: #202438ef; color: #fff; font-size: .9rem; }
.partnership-link-label { display: flex; align-items: center; gap: 5px; min-height: 43px; padding: 5px 11px; color: var(--evidence-ink, var(--blue)); font-size: .78rem; font-weight: 800; }
.partnership-artifact p { padding: 0 11px 10px; color: var(--muted); font-size: .79rem; }
.partnership-follow-up { background: var(--case-tint, var(--blue-wash)); }
.featured-case > .partnership-follow-up { margin: 0 clamp(15px, 3vw, 38px) clamp(12px, 2vw, 22px); padding: clamp(13px, 2.3vw, 26px); border: 1px solid var(--blue-line); border-radius: 5px; }
.partnership-follow-up-grid, .detail-tables { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); align-items: start; gap: 14px clamp(15px, 3vw, 32px); }
.review-copy, .case-steps p, .detail-body p { color: var(--muted); font-size: .87rem; }
.case-steps { padding-left: 1.6rem; }
.case-steps li { padding-left: 3px; }
.case-steps li + li { margin-top: 9px; }
.case-steps li::marker { color: var(--evidence-ink); font-weight: 850; }
.case-steps strong { font-size: .92rem; }
.case-steps p { margin-top: 2px; }
.partnership-record-link, .sample-link { display: inline-flex; align-items: center; width: fit-content; gap: 5px; min-height: 43px; color: var(--evidence-ink, var(--blue)); font-size: .79rem; font-weight: 800; text-underline-offset: 3px; }
.case-table { width: 100%; border-collapse: collapse; font-size: .83rem; font-variant-numeric: tabular-nums; }
.case-table caption { padding-bottom: 5px; color: var(--muted); font-size: .75rem; text-align: left; }
.case-table :is(th, td) { padding: 6px; border-bottom: 1px solid var(--line); text-align: left; }
.case-table thead { background: #ffffffa8; }
.case-table :is(td, th):not(:first-child) { text-align: right; }
.partnership-metrics tbody td:last-child { color: var(--evidence-ink); font-weight: 850; }
.case-detail { border-top: 1px solid var(--line); }
.partnership-follow-up-grid + .case-detail { margin-top: 15px; }
.case-detail summary, .archive-summary { min-height: 44px; list-style: none; cursor: pointer; }
.case-detail summary { display: flex; flex-direction: row-reverse; justify-content: flex-end; align-items: center; gap: 9px; color: var(--evidence-ink); font-size: .84rem; font-weight: 800; }
.case-detail summary:hover, .archive-summary:hover .archive-title strong { text-decoration: underline; text-underline-offset: 4px; }
:is(.case-detail, .archive-case) summary::-webkit-details-marker { display: none; }
.detail-icon { align-self: center; color: var(--evidence-ink, var(--blue)); }
.detail-icon::before { content: "▸"; display: inline-block; font: 750 1.18rem/1 var(--number-font); }
details[open] > summary .detail-icon::before { transform: rotate(90deg); }
.detail-body { padding: 0 0 13px; }
.detail-body p { margin: 8px 0 0; }
.project-reference { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0 10px; padding: 7px clamp(16px, 3vw, 32px); border-top: 1px solid var(--line); }
.source { color: var(--muted); font-size: .72rem; overflow-wrap: anywhere; }

.archive-list { border-top: 1px solid var(--line); }
.archive-case { border-bottom: 1px solid var(--line); }
.archive-summary { display: grid; grid-template-columns: 15px minmax(0, 1fr) auto; align-items: center; gap: 2px 12px; padding: 10px 8px; }
.archive-summary:hover { background: var(--blue-wash); }
.archive-title { display: grid; grid-column: 2; grid-row: 1; }
.archive-title small { color: var(--muted); font-size: .72rem; }
.archive-title strong { font-size: .98rem; line-height: 1.45; }
.archive-figure { color: var(--blue); font-size: .75rem; font-weight: 800; text-align: right; }
.archive-summary .detail-icon { grid-column: 1; grid-row: 1; text-align: center; }
.archive-body { background: var(--white); }
.archive-overview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px 16px; padding: 15px clamp(12px, 3vw, 28px); }
.archive-overview dt { color: var(--blue); font-size: .81rem; font-weight: 850; }
.archive-overview dd { color: var(--muted); font-size: .84rem; }

.site-footer { min-height: 62px; border-top: 1px solid var(--line); }
.footer-row { min-height: 62px; }
.sample-dialog { width: min(1060px, calc(100% - 24px)); max-height: calc(100% - 28px); margin: auto; padding: 0; border: 1px solid var(--line); border-radius: 5px; background: var(--white); color: var(--ink); }
.sample-dialog[open] { display: flex; flex-direction: column; overflow: hidden; }
.sample-dialog::backdrop { background: #1b2335bf; }
.sample-dialog-header { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 7px 11px; border-bottom: 1px solid var(--line); }
.sample-dialog-header h2 { font-size: .94rem; line-height: 1.3; }
.sample-dialog-actions { flex: none; display: flex; align-items: center; gap: 8px; }
.sample-dialog-actions a { color: var(--blue); font-size: .73rem; font-weight: 800; white-space: nowrap; text-underline-offset: 3px; }
.sample-dialog-header button { min-width: 44px; min-height: 44px; padding-inline: 10px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font: 800 .79rem/1.4 var(--font); cursor: pointer; white-space: nowrap; }
#sample-dialog-zoom:not(:disabled) { border-color: var(--blue-line); background: var(--blue-wash); color: var(--blue-ink); }
.sample-dialog-tip { flex: none; padding: 4px 11px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .75rem; }
.sample-dialog-view { min-height: 0; overflow: auto; overscroll-behavior: contain; }
.sample-dialog-view:focus-visible { outline-offset: -3px; }
.sample-dialog img { width: 100%; height: auto; }
.sample-dialog[data-zoomed] img { width: auto; min-width: 150%; max-width: none; }
body:has(.sample-dialog[open]) { overflow: hidden; }

.brand-search-head { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.brand-search-head .section-title { margin: 4px 0 0; }
.brand-search-tag { padding: 4px 10px; border: 1px solid var(--blue-line); border-radius: 4px; background: var(--blue-wash); color: var(--blue-ink); font-size: .77rem; }
.brand-search-tag strong { margin-left: 4px; }
.brand-search-panel { --evidence-ink: var(--blue-ink); padding: clamp(13px, 2.8vw, 29px); border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.brand-search-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.brand-search-metrics > div { padding: clamp(10px, 2vw, 19px); border: 1px solid var(--blue-line); border-radius: 5px; background: var(--blue-wash); }
.brand-search-metrics dt { color: #27337a; font-size: clamp(.83rem, 1.4vw, 1rem); font-weight: 800; }
.brand-search-metrics dd:first-of-type { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 13px; margin: 4px 0; }
.brand-search-metrics strong { color: var(--blue); font: 850 clamp(2.18rem, 5vw, 3.45rem)/1 var(--number-font); letter-spacing: -.064em; }
.brand-search-level { color: #27337a; font: 750 clamp(.91rem, 2vw, 1.12rem)/1.5 var(--number-font); font-variant-numeric: tabular-nums; }
.brand-search-dates { color: var(--muted); font-size: .75rem; font-variant-numeric: tabular-nums; }
.brand-campaign-figure { margin: clamp(18px, 3vw, 32px) 0 18px; }
.brand-campaign-heading h3 { font-size: clamp(1.06rem, 2.1vw, 1.43rem); line-height: 1.27; letter-spacing: -.05em; }
.brand-campaign-heading p { margin-top: 3px; color: var(--muted); font-size: clamp(.74rem, 1.2vw, .83rem); }
.brand-event-season { --event-color: #3548ad; --event-tint: #eaedfd; --event-border: #cbd4ee; }
.brand-event-olive { --event-color: #2c6246; --event-tint: #edf4e9; --event-border: #c7d9cb; }
.brand-event-wool { --event-color: #84423c; --event-tint: #f6e8e3; --event-border: #e3c4be; }
.brand-trend { --trend-height: clamp(144px, 20vw, 208px); display: grid; grid-template: ". key" 39px "scale plot" var(--trend-height) ". months" 21px / 23px minmax(0, 1fr); column-gap: 6px; margin-top: 4px; }
.brand-trend-key { grid-area: key; position: relative; }
.brand-trend-tag { position: absolute; left: var(--x); bottom: 6px; transform: translateX(-50%); display: flex; align-items: center; gap: 4px; min-height: 28px; padding: 2px 6px; border: 1px solid var(--event-border); border-radius: 4px; background: var(--event-tint); color: var(--event-color); font-size: clamp(.68rem, 1.2vw, .78rem); font-weight: 850; text-decoration: none; white-space: nowrap; }
.brand-trend-tag.brand-event-wool { left: min(var(--x), calc(100% - 43px)); }
.brand-trend-tag:hover { border-color: var(--event-color); text-decoration: underline; text-underline-offset: 2px; }
.brand-trend-scale { grid-area: scale; display: flex; flex-direction: column; justify-content: space-between; color: var(--muted); text-align: right; }
.brand-trend-scale span { font: 500 .72rem/0 var(--number-font); }
.brand-trend-plot { grid-area: plot; position: relative; isolation: isolate; background: linear-gradient(#dfdce2 1px, transparent 1px) 0 0 / 100% 20% repeat-y; box-shadow: inset 0 -1px #a4a3ad; }
.brand-trend-plot svg { display: block; position: relative; width: 100%; height: 100%; color: #29344e; }
.brand-trend-plot polyline { fill: none; stroke: currentColor; stroke-width: 2.1px; stroke-linecap: round; stroke-linejoin: round; }
.brand-trend-mark, .brand-trend-band { position: absolute; inset: 0 auto 0 var(--x); }
.brand-trend-mark { border-left: 1px dashed var(--event-color); }
.brand-trend-band { width: var(--span); border-inline: 1px solid var(--event-border); background: var(--event-tint); }
.brand-trend-dot { position: absolute; top: var(--y); left: var(--x); width: 9px; height: 9px; transform: translate(-50%, -50%); border: 2px solid var(--white); border-radius: 50%; background: var(--event-color); box-shadow: 0 0 0 1px var(--event-color); }
.brand-trend-months { grid-area: months; position: relative; color: var(--muted); }
.brand-trend-months span { position: absolute; left: var(--x); top: 4px; transform: translateX(-50%); font-size: .72rem; white-space: nowrap; }
.brand-trend-note { margin: 5px 0 11px; color: var(--muted); font-size: .75rem; }
.brand-event-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.brand-event-card { display: grid; grid-template-rows: auto auto 1fr auto auto; align-content: start; gap: 5px; min-width: 0; padding: clamp(11px, 1.8vw, 17px); border: 1px solid var(--event-border); border-radius: 5px; background: var(--white); }
.brand-event-card-wide { grid-column: 1 / -1; grid-template-rows: none; }
.brand-event-card:target { outline: 2px solid var(--event-color); outline-offset: 2px; }
.brand-event-date { display: flex; align-items: center; gap: 4px; color: var(--event-color); font: 760 .82rem/1.35 var(--number-font); }
.brand-event-date span { margin-right: 2px; padding: 3px 6px; border-radius: 3px; background: var(--event-tint); }
.brand-event-card h4 { font-size: clamp(1rem, 1.75vw, 1.16rem); line-height: 1.28; letter-spacing: -.05em; }
.brand-event-role { margin: 1px 0 4px; color: var(--muted); font-size: .81rem; }
.brand-event-role strong { margin-right: .32em; color: var(--event-color); }
.brand-wool-timing { display: flex; flex-wrap: wrap; gap: 4px 15px; margin: 2px 0; }
.brand-wool-timing > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 1px 6px; }
.brand-wool-timing dt { padding: 2px 5px; border: 1px dashed var(--event-color); border-radius: 3px; color: var(--event-color); font-size: .73rem; font-weight: 750; }
.brand-wool-timing > div + div dt { border: 1px solid var(--event-border); background: var(--event-tint); }
.brand-wool-timing dd { color: var(--event-color); font: 750 .8rem/1.3 var(--number-font); font-variant-numeric: tabular-nums; }
.brand-event-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.brand-event-values-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.brand-event-values-eight { grid-template-columns: repeat(8, minmax(0, 1fr)); }
.brand-event-values > div { min-width: 0; padding: 5px clamp(2px, .8vw, 9px); border: 1px solid var(--line); border-radius: 4px; }
.brand-event-values .brand-event-highlight { border-color: var(--event-border); background: var(--event-tint); color: var(--event-color); }
.brand-event-wool .brand-event-values .brand-event-highlight { border: 1px dashed var(--event-color); background: var(--white); }
.brand-event-values .brand-event-ad-week { border-color: var(--event-border); background: var(--event-tint); color: var(--event-color); }
.brand-event-values dt { font-size: .73rem; font-weight: 800; line-height: 1.3; }
.brand-event-values small { display: block; margin-top: 1px; color: var(--muted); font: 500 .66rem/1.35 var(--number-font); white-space: nowrap; }
.brand-event-values dd { margin-top: 4px; font: 830 clamp(.93rem, 2vw, 1.32rem)/1.1 var(--number-font); font-variant-numeric: tabular-nums; letter-spacing: -.042em; }
.brand-event-links { display: flex; flex-wrap: wrap; gap: 3px 10px; }
.brand-event-links a { padding-block: 3px; color: var(--event-color); font-size: .74rem; font-weight: 750; text-underline-offset: 2px; }
.brand-search-figure { margin: clamp(16px, 2.6vw, 26px) 0 15px; }
.brand-chart-caption { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 15px; }
.brand-chart-caption h3 { font-size: clamp(1rem, 1.9vw, 1.25rem); line-height: 1.3; letter-spacing: -.04em; }
.brand-chart-caption p { margin-top: 3px; color: var(--muted); font-size: .81rem; }
.brand-chart-legend { display: flex; gap: 11px; padding: 0; list-style: none; color: var(--muted); font-size: .74rem; }
.brand-chart-legend li { display: flex; align-items: center; gap: 5px; }
.brand-chart-legend li::before { content: ""; width: 11px; height: 11px; border-radius: 2px; background: #8792b8; }
.brand-chart-legend li + li::before { background: var(--blue); }
.brand-chart { --plot-height: clamp(118px, 18vw, 178px); display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 5px; }
.brand-chart-scale { display: flex; flex-direction: column; justify-content: space-between; height: var(--plot-height); padding-right: 4px; color: var(--muted); text-align: right; }
.brand-chart-scale span { transform: translateY(-50%); font: 500 .7rem/0 var(--number-font); }
.brand-chart-bars { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); padding: 0; list-style: none; background: linear-gradient(#dfdce2 1px, transparent 1px) 0 0 / 100% calc(var(--plot-height) / 3) repeat-y; }
.brand-chart-bars li { min-width: 0; color: var(--muted); font-size: .75rem; text-align: center; }
.brand-chart-bars li > span { display: block; padding: 5px 0 1px; background: var(--white); }
.brand-chart-pair { display: flex; align-items: end; justify-content: center; gap: clamp(3px, .8vw, 8px); height: var(--plot-height); border-bottom: 1px solid #a4a3ad; }
.brand-chart-pair i { width: min(30%, 29px); height: var(--previous); border-radius: 3px 3px 0 0; background: #8792b8; }
.brand-chart-pair i + i { height: var(--current); background: var(--blue); }
.brand-query-evidence { display: grid; grid-template: "graph heading" auto "graph period" 1fr / minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; gap: 12px clamp(12px, 2.5vw, 27px); margin: 18px 0; padding: clamp(11px, 2vw, 19px); border: 1px solid #dedfd7; border-radius: 5px; background: #f6f7f2; }
.brand-query-heading { grid-area: heading; }
.brand-query-heading h3 { color: #283b2f; font-size: clamp(1rem, 1.9vw, 1.24rem); line-height: 1.28; letter-spacing: -.045em; }
.brand-query-facts { display: grid; gap: 3px; margin-top: 7px; }
.brand-query-facts > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 1px 9px; }
.brand-query-facts dt { min-width: 3.35rem; color: var(--muted); font-size: .76rem; }
.brand-query-facts dd { color: #283b2f; font-size: clamp(.81rem, 1.3vw, .96rem); font-weight: 830; font-variant-numeric: tabular-nums; }
.brand-query-facts dd span { color: var(--muted); font-size: .76rem; font-weight: 650; }
.brand-query-preview { display: block; min-width: 0; border: 1px solid #dedfd7; border-radius: 4px; overflow: hidden; background: #fff; text-decoration: none; }
.brand-query-preview:hover { border-color: var(--blue); }
.brand-query-preview img { width: 100%; height: auto; }
.brand-query-preview > span { display: block; padding: 6px 9px; border-top: 1px solid #dedfd7; color: var(--blue-ink); font-size: .74rem; font-weight: 780; }
.brand-query-preview:hover > span { text-decoration: underline; text-underline-offset: 3px; }
.brand-query-graph { grid-area: graph; }
.brand-query-period { grid-area: period; }
.brand-search-detail .case-table { max-width: 530px; margin-bottom: 10px; }
.brand-search-source { padding-top: 8px; border-top: 1px solid var(--line); color: var(--muted); font-size: .74rem; }
.brand-search-source a { color: var(--blue-ink); text-underline-offset: 2px; }

@media (max-width: 950px) {
  .wrap { width: calc(100% - 60px); }
  .cover { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); column-gap: 22px; }
}

@media (max-width: 760px) {
  .brand-trend { grid-template-rows: 67px var(--trend-height) 21px; }
  .brand-trend-tag.brand-event-wool { bottom: 36px; }
  .brand-event-values-eight { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 690px) {
  html { scroll-padding-top: 88px; }
  .wrap { width: calc(100% - 32px); }
  .header-row { min-height: 0; flex-direction: column; align-items: start; gap: 0; padding-top: 3px; }
  .wordmark { min-height: 34px; align-items: center; }
  .site-header nav { width: 100%; gap: 0 clamp(10px, 3.1vw, 18px); }
  .site-header nav a { min-height: 35px; font-size: .74rem; white-space: nowrap; }
  .cover { --profile-panel-inline: 10px; grid-template-areas: "intro" "overview" "heading" "cases" "tools"; grid-template-columns: minmax(0, 1fr); padding-block: 21px 34px; }
  .profile-intro { margin-bottom: 13px; }
  .cover h1 { margin-top: 5px; font-size: clamp(2.4rem, 10vw, 3.85rem); }
  .profile-career { margin-top: 8px; }
  .profile-line { margin-top: 5px; }
  .cover-specialties { padding-block: 3px; border-bottom: 1px solid var(--blue-line); border-radius: 6px; }
  .cover-specialties > div { grid-template-columns: 3.3rem minmax(0, 1fr); gap: 6px; padding-block: 6px; }
  :is(.cover-specialties, .profile-tools) :is(dt, dd) { font-size: .76rem; }
  .profile-tool-panel { margin-top: 16px; border-top: 1px solid var(--blue-line); border-radius: 6px; }
  .profile-tool-panel h2 { border-top: 0; font-size: .8rem; }
  .profile-tools > div { display: block; padding-block: 4px; font-size: .76rem; line-height: 1.4; }
  .profile-tools :is(dt, dd) { display: inline; }
  .profile-tools dt { margin-right: 5px; }
  .profile-tool-name img { width: 12px; height: 12px; margin-inline-end: 2px; }
  .specialty-links { gap: 0 8px; }
  .specialty-links a { min-height: 24px; font-size: .71rem; }
  .automation-grid, .ai-search-grid { grid-template-columns: 1fr; }
  .brand-search-metrics { grid-template-columns: 1fr; gap: 7px; }
  .brand-event-list { grid-template-columns: 1fr; gap: 7px; }
  .brand-query-evidence { grid-template: "heading" "period" "graph" / minmax(0, 1fr); gap: 8px; }
  .cover-work-heading { margin-top: 19px; }
  .cover-cases { grid-template-columns: 1fr; gap: 7px; }
  .cover-case { grid-template: 1fr / minmax(0, 1fr) minmax(61px, 24%); }
  .cover-case-body { grid-area: 1 / 1; padding: 9px 10px; }
  .cover-visual { grid-area: 1 / 2; height: auto; min-height: 100%; border: 0; border-left: 1px solid var(--line); }
  .cover-visual img { position: absolute; inset: 0; }
  .cover-season .cover-visual img { inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .cover-case h3 { font-size: 1.04rem; }
  .cover-role { margin: 4px 0 5px; font-size: .72rem; }
  .cover-result { gap: 3px 8px; padding-top: 5px; }
  .cover-result strong { font-size: 1.65rem; }
  .cover-result > span { font-size: .65rem; }
  .case-code { font-size: .72rem; }
  .case-code span { font-size: .68rem; }
  .jump-mark { width: 25px; height: 25px; flex-basis: 25px; font-size: .88rem; }
  .featured-list { gap: 23px; }
  .featured-season { margin-bottom: 23px; }
  .featured-page, .partnership-follow-up-grid, .detail-tables, .archive-overview { grid-template-columns: 1fr; }
  .partnership-artifacts-pair { grid-template-columns: 1fr; }
  .partnership-artifacts:not(.partnership-artifacts-pair) { grid-template-columns: 1fr; }
  .partnership-preview { aspect-ratio: 2.12; }
  .partnership-artifacts-pair .partnership-preview { height: clamp(155px, 48vw, 216px); }
  .case-table :is(th, td) { padding-inline: 4px; }
  .archive-summary { grid-template-columns: 14px minmax(0, 1fr); gap: 3px 9px; }
  .archive-summary .detail-icon { grid-row: 1 / span 2; }
  .archive-figure { grid-column: 2; text-align: left; }
  .footer-row .wordmark span { display: none; }
}

@media (max-width: 690px) and (max-height: 900px) {
  .cover-cases { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .cover-case { display: block; }
  .cover-case :is(.cover-visual, .cover-role, .case-code, .jump-mark) { display: none; }
  .cover-case-body { display: grid; grid-template-rows: minmax(2.15rem, auto) 1fr; justify-content: stretch; height: 100%; gap: 4px; padding: 7px 6px; }
  .cover-case h3 { margin: 0; font-size: .86rem; }
  .cover-result { display: grid; align-content: start; gap: 4px; margin-top: 0; }
  .cover-result strong { font-size: clamp(1.25rem, 6vw, 1.62rem); }
  .cover-result > span { font-size: .64rem; }
}

@media (max-width: 690px) and (max-height: 740px) {
  .cover { padding-top: 17px; }
  .profile-line { display: none; }
  .profile-intro { margin-bottom: 10px; }
  .cover-work-heading { margin-block: 13px 6px; }
  .cover-specialties > div { padding-block: 4px; }
  .profile-tools > div { padding-block: 3px; }
}

@media (max-width: 480px) {
  .sample-dialog-header { flex-direction: column; align-items: stretch; gap: 4px; }
  .sample-dialog-actions form { margin-inline-start: auto; }
}

@media (max-width: 355px) {
  .wrap { width: calc(100% - 26px); }
  .cover-case { grid-template-columns: minmax(0, 1fr) 70px; }
  .cover-case h3 { font-size: .95rem; }
  .site-header nav { gap: 0 10px; }
  .featured-season .featured-page .partnership-artifacts { grid-template-columns: 1fr; }
  .archive-summary strong { font-size: .9rem; }
}

@media (max-width: 355px) and (max-height: 900px) {
  .cover-case h3 { font-size: .8rem; }
}

@media (max-width: 355px) and (max-height: 740px) {
  .profile-intro { margin-bottom: 8px; }
  .cover-work-heading { margin-top: 10px; }
  .profile-tool-panel h2 { padding-top: 4px; }
  .profile-tools > div { padding-block: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  .cover-case { transition: none; }
}
