/* Habbine Estelle Kim — plum identity, cream reading bands.
   Layout: one 1160px grid; section label column + content column, collapsing to one column under 760px. */
:root {
  --plum: #331F29; --plum-deep: #2A1924; --plum-line: #4A3242; --plum-mid: #533A48; --plum-card: #3A2230;
  --rose: #D9B3C3; --ink: #FFFFFF; --text: #E5DDE1; --muted: #B3AAAF; --soft: #C9BFC5;
  --cream: #F4EFEC; --paper: #FFFFFF; --c-ink: #2A1924; --c-text: #3E3138; --c-muted: #5E4B55; --c-line: #DCCFD3; --wine: #8A3D5C;
  --serif: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  --sans: 'Barlow', 'Noto Sans KR', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --label-w: 220px;
  color-scheme: dark;
}
:lang(ko) { --sans: 'Noto Sans KR', 'Barlow', system-ui, sans-serif; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--plum); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.65; text-rendering: optimizeLegibility; }
:lang(ko) body, body:lang(ko) { word-break: keep-all; line-height: 1.75; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--rose); }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }
.cream :focus-visible { outline-color: var(--wine); }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--gutter); top: -60px; background: var(--ink); color: var(--plum); padding: 10px 16px; z-index: 50; }
.skip:focus { top: 10px; }

/* layout */
.wrap { max-width: 1160px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.band { padding-block: clamp(64px, 9vw, 112px); }
.band.tight { padding-block: clamp(40px, 6vw, 64px); }
.deep { background: var(--plum-deep); border-block: 1px solid var(--plum-line); }
.cream { background: var(--cream); color: var(--c-text); }
.cream a { color: var(--c-ink); }
.cream a:hover { color: var(--wine); }
.split { display: grid; grid-template-columns: var(--label-w) minmax(0, 1fr); gap: 24px 56px; align-items: start; }
@media (max-width: 760px) { .split { grid-template-columns: minmax(0, 1fr); } }
.stack { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.row-between { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 32px; }
.measure { max-width: 66ch; }

/* type */
.kicker { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rose); }
.cream .kicker { color: var(--wine); }
.h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 5.2vw, 60px); line-height: 1.1; color: var(--ink); }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; color: var(--ink); }
.h3 { font-family: var(--sans); font-weight: 600; font-size: 19px; line-height: 1.35; color: var(--ink); }
.cream .h1, .cream .h2, .cream .h3 { color: var(--c-ink); }
.lead { font-size: clamp(19px, 2vw, 23px); font-weight: 300; line-height: 1.5; color: var(--ink); }
.cream .lead { color: var(--c-ink); }
.muted { color: var(--muted); }
.cream .muted { color: var(--c-muted); }
.small { font-size: 15px; }
.meta { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.cream .meta { color: var(--c-muted); }

/* header */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--plum); border-bottom: 1px solid var(--plum-line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 21; background: var(--plum); }
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand img { width: 44px; height: 44px; object-fit: cover; flex-shrink: 0; }
.brand-name { display: block; font-weight: 600; font-size: 19px; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink); line-height: 1.2; white-space: nowrap; }
.brand-sub { display: block; font-size: 13px; color: var(--muted); line-height: 1.3; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; gap: 26px; list-style: none; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: 16px; padding: 10px 0; display: inline-block; border-bottom: 2px solid transparent; }
.nav-links a[aria-current="page"] { border-bottom-color: var(--ink); }
.langs { display: flex; border: 1px solid var(--ink); list-style: none; }
.langs a { display: flex; align-items: center; justify-content: center; min-width: 46px; min-height: 40px; padding: 0 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-decoration: none; }
.langs a[aria-current="true"] { background: var(--ink); color: var(--plum); }
.menu-btn { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.menu-btn svg { width: 18px; height: 18px; }
@media (max-width: 1020px) {
  .menu-btn { display: inline-flex; }
  .js .nav { display: none; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--plum); border-bottom: 1px solid var(--plum-line); flex-direction: column; align-items: stretch; gap: 16px; padding: 12px var(--gutter-r) 24px var(--gutter); }
  .js .nav.open { display: flex; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--plum-line); font-size: 18px; }
  .nav-links a[aria-current="page"] { border-bottom-color: var(--plum-line); color: var(--rose); }
  .langs { align-self: flex-start; }
}
@media (max-width: 420px) { .brand-sub { display: none; } .brand-name { font-size: 16px; } }

/* buttons */
.btns { display: flex; flex-wrap: wrap; gap: 16px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-width: 200px; min-height: 50px; padding: 0 24px; font-family: var(--serif); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; text-align: center; color: var(--ink); border: 1px solid var(--ink); outline: 1px solid var(--ink); outline-offset: 3px; background: transparent; cursor: pointer; }
.btn:hover { background: rgba(255,255,255,0.08); color: var(--ink); }
.btn.solid { background: var(--ink); color: var(--plum); }
.btn.solid:hover { background: var(--cream); color: var(--plum); }
.cream .btn { color: var(--c-ink); border-color: var(--c-ink); outline-color: var(--c-ink); }
.cream .btn:hover { background: rgba(42,25,36,0.06); }
.cream .btn.solid { background: var(--c-ink); color: var(--paper); }
@media (max-width: 480px) { .btns .btn { flex: 1 1 100%; min-width: 0; } }
.icon-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.icon-btn { width: 48px; height: 48px; border-radius: 999px; background: var(--ink); color: var(--plum); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.icon-btn:hover { background: var(--rose); color: var(--plum); }
.icon-btn svg { width: 22px; height: 22px; }
.link-arrow { font-weight: 600; text-decoration: none; color: var(--rose); }
.cream .link-arrow { color: var(--wine); }

/* hero */
.hero { padding-block: clamp(40px, 7vw, 88px) clamp(56px, 8vw, 96px); }
.hero-frame { position: relative; }
.hero-frame::before { content: ""; position: absolute; inset: -22px -22px 22px 22px; border: 2px solid var(--plum-line); pointer-events: none; }
.hero-in { position: relative; border: 2px solid var(--plum-mid); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 0 48px; align-items: end; padding: 48px 48px 0; }
.hero-photo { align-self: end; }
.hero-photo img { width: 100%; max-width: 520px; margin-inline: auto; }
.hero-text { display: flex; flex-direction: column; gap: 22px; padding-bottom: 56px; min-width: 0; }
.hero-name { font-family: var(--sans); font-weight: 700; font-size: clamp(34px, 4.6vw, 54px); line-height: 1.04; letter-spacing: 0.01em; text-transform: uppercase; color: var(--ink); }
.hero-tag { font-size: clamp(18px, 2vw, 22px); color: var(--muted); margin-top: 6px; }
.hero-hook { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 30px); line-height: 1.3; color: var(--ink); }
.hero-hook i { font-style: normal; color: var(--rose); padding-inline: 2px; }
.langs-line { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); }
@media (max-width: 860px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); padding: 32px 24px 0; }
  .hero-text { order: -1; padding-bottom: 8px; }
  .hero-photo img { max-width: 380px; }
  .hero-frame::before { inset: -12px -10px 12px 10px; }
}

/* stats + affiliations */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat { display: flex; flex-direction: column; gap: 4px; border-left: 2px solid var(--plum-mid); padding-left: 18px; text-decoration: none; }
.cream .stat { border-left-color: var(--wine); }
.stat b { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4.5vw, 52px); line-height: 1; color: var(--c-ink); font-variant-numeric: tabular-nums; }
.stat span { font-size: 15px; color: var(--c-muted); }
.affil { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 28px; border-top: 1px solid var(--c-line); padding-top: 26px; margin-top: 40px; }
.affil span { font-weight: 600; font-size: 18px; color: var(--c-ink); }

/* cards */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 1px; background: var(--plum-mid); border: 1px solid var(--plum-mid); }
.tile { background: var(--plum); padding: 28px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.tile p { font-size: 16px; color: var(--soft); }
.card { display: flex; flex-direction: column; background: var(--plum); text-decoration: none; min-width: 0; }
.card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card-body { display: flex; flex-direction: column; gap: 10px; padding: 24px 26px 26px; flex: 1 1 auto; }
.card-title { font-family: var(--serif); font-size: 20px; line-height: 1.35; color: var(--ink); }
.card-foot { margin-top: auto; font-size: 15px; color: var(--soft); }
.card:hover .card-title { text-decoration: underline; text-underline-offset: 4px; }
.paper-card { background: var(--paper); border: 1px solid var(--c-line); padding: 28px; display: flex; flex-direction: column; gap: 12px; text-decoration: none; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-static { border: 1px solid var(--plum-mid); padding: 7px 14px; font-size: 15px; color: var(--ink); }

/* rows (CV lists) */
.rows { display: flex; flex-direction: column; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 24px; padding: 16px 0; border-top: 1px solid var(--plum-line); align-items: baseline; }
.rows > .row:last-child { border-bottom: 1px solid var(--plum-line); }
.row-title { font-weight: 600; color: var(--ink); }
.row-sub { grid-column: 1; font-size: 15.5px; color: var(--muted); }
.row-year { grid-column: 2; grid-row: 1; font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.row ul { grid-column: 1 / -1; padding-left: 18px; margin-top: 6px; font-size: 15px; color: var(--soft); display: flex; flex-direction: column; gap: 3px; }
.cv-section + .cv-section { margin-top: 56px; }

/* conference */
.year-block { display: grid; grid-template-columns: var(--label-w) minmax(0, 1fr); gap: 16px 56px; }
.year-block + .year-block { margin-top: 48px; }
.year-num { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--rose); position: sticky; top: 100px; align-self: start; }
@media (max-width: 760px) { .year-block { grid-template-columns: minmax(0, 1fr); } .year-num { position: static; } }
.event { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 24px; padding: 18px 0; border-top: 1px solid var(--plum-line); }
.event-title { font-weight: 600; font-size: 18px; color: var(--ink); }
.event-topic { color: var(--soft); font-size: 16px; }
.event-place { color: var(--muted); font-size: 15px; }
.role { grid-column: 2; grid-row: 1 / span 3; align-self: start; border: 1px solid var(--plum-mid); padding: 4px 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
@media (max-width: 560px) { .event { grid-template-columns: minmax(0, 1fr); } .role { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 6px; } }
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.gallery figure { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.gallery figcaption { font-size: 14px; color: var(--soft); }
.event-group { display: flex; flex-direction: column; gap: 14px; border-top: 1px solid var(--plum-line); padding-top: 22px; }
.event-group + .event-group { margin-top: 40px; }
.feature { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 32px 48px; align-items: center; border: 1px solid var(--plum-mid); outline: 1px solid var(--plum-line); outline-offset: 8px; padding: 32px; }
@media (max-width: 860px) { .feature { grid-template-columns: minmax(0, 1fr); padding: 20px; } }
.counters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--plum-line); border: 1px solid var(--plum-line); max-width: 420px; width: 100%; }
.counters div { background: var(--plum-deep); padding: 16px 18px; }
.counters b { display: block; font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.1; color: var(--ink); }
.counters span { font-size: 14px; color: var(--muted); }

/* publication banner */
.banner { position: relative; overflow: hidden; background: #24151D; min-height: 440px; display: flex; align-items: center; }
.banner::before { content: ""; position: absolute; width: min(620px, 90vw); aspect-ratio: 1; right: -8%; top: 50%; transform: translateY(-50%); border-radius: 50%; background: #8C7A84; box-shadow: 0 0 40px 8px rgba(242,228,235,0.45), 0 0 140px 30px rgba(242,228,235,0.14); }
.banner::after { content: ""; position: absolute; width: 84px; aspect-ratio: 1; right: 14%; bottom: 8%; border-radius: 50%; background: #EFE6EA; }
.banner .wrap { position: relative; z-index: 1; width: 100%; }
.banner-box { display: inline-flex; flex-direction: column; gap: 10px; background: rgba(51,31,41,0.88); padding: 56px clamp(24px, 6vw, 72px); }
.banner-title { font-family: var(--sans); font-weight: 600; font-size: clamp(38px, 6vw, 68px); letter-spacing: 0.1em; text-transform: uppercase; line-height: 1; color: var(--ink); }
.banner-sub { font-size: clamp(12px, 1.4vw, 15px); letter-spacing: 0.3em; text-transform: uppercase; color: #ECE4E8; }

/* filters */
.filters { background: var(--paper); border: 1px solid var(--c-line); padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; }
.filter-row { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px 16px; align-items: center; }
@media (max-width: 600px) { .filter-row { grid-template-columns: minmax(0, 1fr); } }
.filter-label { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-muted); }
.chip { min-height: 44px; padding: 0 14px; border: 1px solid #B9A5AE; background: var(--paper); color: var(--c-ink); font: inherit; font-size: 15px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--c-ink); color: var(--paper); border-color: var(--c-ink); }
.chip .n { color: #8A7A82; margin-left: 4px; font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"] .n { color: var(--rose); }
.chip:disabled { opacity: 0.45; cursor: default; }
.dark-chips .chip { background: transparent; color: var(--ink); border-color: var(--plum-mid); }
.dark-chips .chip[aria-pressed="true"] { background: var(--ink); color: var(--plum); border-color: var(--ink); }
.dark-chips .chip .n { color: var(--muted); }
.dark-chips .chip[aria-pressed="true"] .n { color: var(--wine); }
.count { font-size: 15px; color: var(--c-muted); border-top: 1px solid #EADFE3; padding-top: 12px; }

/* publications */
.pubs { list-style: none; border-left: 6px solid #6A4E5E; padding-left: clamp(18px, 3vw, 32px); }
.pub { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 28px; padding: 26px 0; border-bottom: 1px solid var(--c-line); }
.pub-main { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.pub-title { font-family: var(--serif); font-size: clamp(18px, 1.8vw, 21px); line-height: 1.4; color: var(--c-ink); text-decoration: underline; text-decoration-color: #B9A5AE; text-underline-offset: 5px; }
.pub-year { font-family: var(--serif); font-size: 16px; color: var(--wine); font-variant-numeric: tabular-nums; }
.pub-summary { font-size: 16px; line-height: 1.6; color: var(--c-text); max-width: 70ch; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tag { border: 0; background: #EADFE3; color: #4A3242; padding: 4px 10px; font: inherit; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; cursor: pointer; }
.tag:hover { background: #DCCAD2; }
.lang-tag { border: 1px solid var(--wine); color: var(--wine); padding: 3px 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; }
.award { background: var(--c-ink); color: var(--paper); padding: 4px 10px; font-size: 12px; font-weight: 600; }
.doc-links { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; }
.doc-links a { text-decoration: none; border: 1px solid #B9A5AE; padding: 7px 12px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--c-ink); min-height: 36px; display: inline-flex; align-items: center; }
.doc-links a:hover { border-color: var(--c-ink); }
@media (max-width: 560px) { .pub { grid-template-columns: minmax(0, 1fr); } .pub-year { grid-row: 1; } }
.empty { padding: 32px 0; color: var(--c-muted); }
.dark .empty, .band .empty { color: var(--muted); }

/* blog */
.search { display: flex; align-items: center; gap: 10px; border: 1px solid var(--plum-mid); padding: 0 14px; min-height: 50px; color: var(--muted); width: min(100%, 380px); }
.search input { flex: 1 1 auto; min-width: 0; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 16px; outline: none; }
.search:focus-within { border-color: var(--rose); }
.featured { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--cream); color: var(--c-text); text-decoration: none; }
.featured-art { background: #47303D; min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; padding: 32px; }
.featured-art .glyph { font-family: var(--serif); font-size: 96px; line-height: 1; color: var(--ink); }
.featured-body { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.featured-title { font-family: var(--serif); font-size: clamp(24px, 2.8vw, 36px); line-height: 1.25; color: var(--c-ink); }
@media (max-width: 760px) { .featured { grid-template-columns: minmax(0, 1fr); } .featured-art { min-height: 140px; } }
.series { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.series button { text-align: left; border: 1px solid var(--plum-line); background: var(--plum-deep); color: var(--ink); padding: 20px; font: inherit; cursor: pointer; display: flex; flex-direction: column; gap: 6px; border-top: 4px solid var(--stripe); }
.series button[aria-pressed="true"] { background: var(--plum-line); border-color: var(--stripe); }
.series b { font-family: var(--serif); font-weight: 400; font-size: 20px; }
.series span { font-size: 15px; color: var(--soft); }
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.post-card { background: var(--plum-card); border-top: 4px solid var(--stripe, #6A4E5E); padding: 24px; display: flex; flex-direction: column; gap: 12px; text-decoration: none; min-height: 270px; }
.post-card .card-title { font-size: 20px; }
.post-card p { font-size: 16px; line-height: 1.55; color: #D6CCD1; }
.post-foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ptag { background: var(--plum-line); color: #F0E6EA; padding: 3px 9px; font-size: 12px; font-weight: 600; }
.post-foot .go { margin-left: auto; font-weight: 700; font-size: 14px; color: var(--rose); }
.post-card:hover .card-title { text-decoration: underline; text-underline-offset: 4px; }

/* article */
.article { max-width: 760px; margin: 0 auto; padding: clamp(40px, 7vw, 72px) var(--gutter-r) clamp(56px, 8vw, 88px) var(--gutter); color: var(--c-text); display: flex; flex-direction: column; gap: 22px; font-size: 18px; line-height: 1.75; }
.article h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4.4vw, 44px); line-height: 1.2; color: var(--c-ink); }
.article h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.3; color: var(--c-ink); margin-top: 18px; }
.article blockquote { margin: 0; border-left: 3px solid var(--wine); padding: 4px 0 4px 22px; font-size: 16.5px; color: var(--c-text); }
.article .byline { display: flex; flex-wrap: wrap; gap: 6px 18px; border-block: 1px solid var(--c-line); padding: 14px 0; font-size: 15px; color: var(--c-muted); }
.article .byline b { color: var(--c-ink); }
.article .standfirst { font-size: clamp(19px, 2vw, 22px); line-height: 1.55; color: var(--c-ink); }
.timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); }
.timeline div { background: var(--paper); padding: 16px 18px; }
.timeline span { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-muted); }
.share { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--c-line); padding-top: 20px; }
.share-btns { display: flex; gap: 8px; }
.share-btns a, .share-btns button { width: 44px; height: 44px; border: 1px solid var(--c-ink); background: transparent; color: var(--c-ink); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.share-btns svg { width: 18px; height: 18px; }
.placeholder { border: 1px dashed var(--wine); padding: 18px; color: var(--wine); font-size: 16px; }
.toast { min-height: 1.5em; font-size: 14px; color: var(--wine); }

/* instagram follow */
.follow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; border: 1px solid var(--plum-mid); padding: 22px 24px; }
.follow-id { display: flex; align-items: center; gap: 14px; }
.follow-id img { width: 52px; height: 52px; border-radius: 999px; object-fit: cover; }
.follow-id b { display: block; color: var(--ink); font-size: 18px; }
.follow-id span { font-size: 15px; color: var(--muted); }
.btn.ig { min-width: 0; gap: 10px; }

/* contact list */
.contact-list { display: flex; flex-direction: column; }
.contact-list a, .contact-list div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-top: 1px solid var(--plum-line); text-decoration: none; align-items: baseline; }
.contact-list > :last-child { border-bottom: 1px solid var(--plum-line); }
.contact-list span:first-child { color: var(--muted); font-size: 15px; }
.contact-list span:last-child { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }

/* footer */
.site-foot { background: var(--plum-deep); border-top: 1px solid var(--plum-line); padding-block: 28px calc(28px + env(safe-area-inset-bottom, 0px)); font-size: 14px; color: var(--muted); }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; align-items: center; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; }
.foot-links a { color: var(--muted); }

/* labelled social links */
.social { display: flex; flex-wrap: wrap; gap: 10px; }
.social a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px 0 10px; border: 1px solid var(--plum-mid); text-decoration: none; font-size: 15px; font-weight: 600; color: var(--ink); }
.social a:hover { border-color: var(--ink); color: var(--ink); background: rgba(255,255,255,0.06); }
.social svg { width: 20px; height: 20px; flex-shrink: 0; }
.hero-hook, .hero-sub { text-wrap: balance; max-width: 34ch; }
.hero-sub { max-width: 52ch; font-size: 18px; color: var(--text); }
.hero .btns .btn { min-width: 220px; }
.brand > span { min-width: 0; }
.brand-name { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 560px) { .brand-sub { display: none; } .brand-name { font-size: 15px; letter-spacing: 0.01em; } .brand img { width: 38px; height: 38px; } .menu-btn { padding: 0 12px; } .head-in { min-height: 64px; } }

/* brand block: name and title set to the same width */
.brand img { width: 40px; height: 40px; }
.brand-name { font-size: 16px; letter-spacing: 0.06em; line-height: 1.25; }
.brand-sub { font-size: 13px; line-height: 1.3; }

.article h1 { font-size: clamp(24px, 3.2vw, 34px); line-height: 1.25; }

@media (min-width: 600px) { .nb { white-space: nowrap; } }
.hero-hook { max-width: none; }
@media (max-width: 420px) { .brand-name { font-size: 14px; letter-spacing: 0.02em; } .brand { gap: 10px; } .brand img { width: 34px; height: 34px; } .menu-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .menu-btn { width: 44px; justify-content: center; padding: 0; } }

/* name on one line: sized to its column */
.hero-text, .name-box { container-type: inline-size; }
.hero-name { white-space: nowrap; font-size: clamp(20px, 8.2cqi, 50px); letter-spacing: 0.01em; }

/* hero text block as one clean rectangle: every row spans the same width */
.hero-in { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
.hero-sub { max-width: none; }
.hero .btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.hero .btns .btn { min-width: 0; width: 100%; }
.hero .social { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.hero .social a { justify-content: center; padding: 0 6px; gap: 6px; font-size: 14px; min-width: 0; }
.hero .social svg { width: 18px; height: 18px; }
.hero .social a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 1100px) and (min-width: 861px) { .hero .social a span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
@media (max-width: 560px) { .hero .social a span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .hero .btns { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 860px) { .hero-in { grid-template-columns: minmax(0, 1fr); } }

/* tiles: drawn borders instead of gap lines, so no divider can vanish at fractional widths */
.tiles { gap: 0; background: none; border: 0; border-top: 1px solid var(--plum-mid); border-left: 1px solid var(--plum-mid); grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tile { border-right: 1px solid var(--plum-mid); border-bottom: 1px solid var(--plum-mid); text-align: left; align-content: start; }
.cream .tiles, .tiles.on-cream { border-color: var(--c-line); }
.cream .tile { border-color: var(--c-line); }
@media (max-width: 1000px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tiles { grid-template-columns: minmax(0, 1fr); } }
.hero { overflow-x: clip; }

/* subtitle stretched to the exact width of PERSPECTIVES */
.banner-title { margin-right: -0.1em; }
.banner-sub { font-size: clamp(11px, 1.45vw, 17px); letter-spacing: 0.12em; text-align: left; white-space: nowrap; }
@media (max-width: 520px) { .banner-sub { white-space: normal; letter-spacing: 0.08em; } }

/* recommendations pass */
.highlight { display: flex; gap: 10px; align-items: baseline; font-size: 15px; font-weight: 600; color: var(--rose); letter-spacing: 0.02em; }
.highlight span { font-size: 10px; }
.doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.doors .btn { min-width: 0; width: 100%; padding: 0 12px; letter-spacing: 0.1em; font-size: 12px; }
@media (max-width: 760px) { .doors { grid-template-columns: minmax(0, 1fr); } }
.feature-photo { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 48px; align-items: center; }
@media (max-width: 860px) { .feature-photo { grid-template-columns: minmax(0, 1fr); } }
.topic-list { list-style: none; counter-reset: t; display: flex; flex-direction: column; }
.topic-list li { counter-increment: t; display: grid; grid-template-columns: 40px minmax(0, 1fr); padding: 14px 0; border-top: 1px solid var(--c-line); color: var(--c-ink); font-weight: 600; }
.topic-list li:last-child { border-bottom: 1px solid var(--c-line); }
.topic-list li::before { content: counter(t, decimal-leading-zero); font-family: var(--serif); font-weight: 400; color: var(--wine); }
.bio-box { background: var(--paper); border: 1px solid var(--c-line); padding: 20px 22px; color: var(--c-text); max-width: 70ch; }
.cover { display: flex; align-items: center; justify-content: center; height: 120px; margin: -24px -24px 6px; color: var(--ink-glyph, #D9B3C3); border-bottom: 1px solid rgba(255,255,255,0.06); }
.cover svg { width: 46px; height: 46px; opacity: 0.9; }
.cover.big { height: auto; flex: 1 1 auto; margin: 0; background: transparent !important; border: 0; justify-content: flex-start; }
.cover.big svg { width: 84px; height: 84px; }
.article .cover.big { height: 160px; justify-content: center; background: var(--plum) !important; margin: 0; }
.foot-id { display: block; color: var(--text); font-family: var(--serif); font-size: 15px; margin-bottom: 4px; }

.row > .link-arrow { grid-column: 1 / -1; justify-self: start; margin-top: 6px; font-size: 13px; }
.follow .btn.ig { width: 340px; min-width: 0; justify-content: center; white-space: nowrap; }
@media (max-width: 560px) { .follow .btn.ig { width: 100%; min-width: 0; } }
/* latest cards: kicker, title and footer share rows across the three cards */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 861px) {
    .grid.g3 > .card { display: grid; grid-template-rows: subgrid; grid-row: span 4; row-gap: 10px; }
    .grid.g3 > .card > .card-body { display: contents; }
    .grid.g3 > .card > .card-body > * { padding-inline: 26px; }
    .grid.g3 > .card > .card-body > .kicker { padding-top: 14px; align-self: start; }
    .grid.g3 > .card > .card-body > .card-title { align-self: start; }
    .grid.g3 > .card > .card-body > .card-foot { padding-bottom: 26px; align-self: end; }
  }
}
#contact .stack > p.muted { text-align: left; }
/* hero: natural spacing, no stretched word gaps */
.hero-text { gap: 18px; }
.hero-sub { text-align: left; hyphens: manual; text-wrap: pretty; max-width: 46ch; line-height: 1.6; }
.hero .langs-line { display: block; text-align: left; text-align-last: auto; margin-top: -8px; font-size: 12.5px; letter-spacing: 0.16em; color: var(--muted); font-weight: 600; }
.hero .btns { margin-top: 6px; }
[hidden] { display: none !important; }

/* citations */
.cite { display: inline-block; }
.cite summary { list-style: none; cursor: pointer; border: 1px solid var(--c-ink); background: var(--c-ink); color: var(--paper); padding: 7px 12px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; min-height: 36px; display: inline-flex; align-items: center; gap: 6px; }
.cite summary::-webkit-details-marker { display: none; }
.cite[open] summary { background: var(--paper); color: var(--c-ink); }
.cite[open] { display: block; flex-basis: 100%; }
.cite-box { margin-top: 10px; border: 1px solid var(--c-line); background: var(--paper); }
.cite-row { display: grid; grid-template-columns: 90px minmax(0, 1fr) auto; gap: 8px 16px; align-items: start; padding: 12px 16px; border-top: 1px solid #EADFE3; }
.cite-row:first-child { border-top: 0; background: #FBF8F6; }
.cite-style { font-size: 13px; font-weight: 600; color: var(--c-muted); padding-top: 2px; }
.cite-row:first-child .cite-style { color: var(--wine); }
.cite-text { font-size: 15px; line-height: 1.55; color: var(--c-ink); overflow-wrap: anywhere; margin: 0; }
pre.cite-text { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; white-space: pre-wrap; }
.cite-copy { border: 1px solid #B9A5AE; background: transparent; color: var(--c-ink); font: inherit; font-size: 13px; font-weight: 600; padding: 6px 10px; min-height: 34px; cursor: pointer; }
.cite-copy:hover { border-color: var(--c-ink); }
@media (max-width: 560px) { .cite-row { grid-template-columns: minmax(0, 1fr) auto; } .cite-style { grid-column: 1 / -1; } }
.cite-files { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; padding: 14px 16px; border-top: 1px solid #EADFE3; }
.cite-files a { color: var(--wine); font-weight: 600; font-size: 14px; }

/* hero rows share one width */
.hero-text { gap: 20px; }
.hero-tag { margin-top: 4px; line-height: 1.2; }
.hero-hook.fitted .nb { display: block; white-space: nowrap; }
.hero-hook.fitted { line-height: 1.3; }

.affil { display: grid; grid-template-columns: var(--label-w) minmax(0, 1fr); gap: 12px 56px; align-items: baseline; }
.affil-list { display: flex; flex-wrap: wrap; gap: 10px 28px; }
@media (max-width: 760px) { .affil { grid-template-columns: minmax(0, 1fr); } }

.affil-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 12px 32px; }
.affil-list span { font-size: 16.5px; line-height: 1.35; padding-left: 14px; border-left: 2px solid var(--c-line); }
/* justified running text, hyphenated per page language */
.tile p, .pub-summary, .post-card p, .article p, .measure, .bio-box, .feature p, .stack > p.muted { text-align: justify; hyphens: manual; -webkit-hyphens: manual; }
.tile h3 { min-height: 1.35em; }
@media (max-width: 420px) { .hero .langs-line { letter-spacing: 0.08em; font-size: 12px; } }

/* never split words */
h1, h2, h3, .h1, .h2, .h3, p, li, span, a { hyphens: manual; -webkit-hyphens: manual; word-break: normal; }
.h1, .h2, .h3 { overflow-wrap: normal; }

/* contact: get in touch + follow */
.contact-sub { text-align: left; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px 48px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.follow-panel { border: 1px solid var(--plum-mid); padding: 22px 22px 8px; display: flex; flex-direction: column; gap: 14px; }
.follow-panel .follow-id b { font-size: 17px; }
.follow-list { display: flex; flex-direction: column; }
.follow-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--plum-line); text-decoration: none; color: var(--ink); }
.follow-ico { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--plum-mid); color: var(--ink); }
.follow-txt { display: flex; flex-direction: column; min-width: 0; }
.follow-txt b { font-weight: 600; }
.follow-txt span { font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.follow-btn { font-family: var(--serif); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; background: var(--ink); color: var(--plum); padding: 10px 16px; white-space: nowrap; outline: 1px solid var(--ink); outline-offset: 2px; }
.follow-row:hover .follow-btn, .follow-row:focus-visible .follow-btn { background: var(--rose); outline-color: var(--rose); }
.follow-row:hover b { text-decoration: underline; text-underline-offset: 3px; }

/* compact page head: title + intro left, counters right */
.page-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; }
.page-head > .stack { flex: 1 1 420px; min-width: 0; }
.page-head > .stack > p.muted { max-width: 60ch; text-align: left; }
.page-head .counters { flex: 0 0 auto; }

/* collaboration: header, equal buttons, list + project side by side */
.collab-sub { text-align: left; max-width: 70ch; }
.collab-btns { display: grid; grid-template-columns: repeat(2, minmax(0, 240px)); gap: 14px; }
.collab-btns .btn { width: 100%; min-width: 0; white-space: nowrap; }
.collab-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px 40px; align-items: stretch; }
.collab-grid .paper-card { height: 100%; }
@media (max-width: 860px) { .collab-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .collab-btns { grid-template-columns: minmax(0, 1fr); } }
/* about expertise intro: three aligned columns */
.exp-intro { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 32px; }
.exp-intro p { text-align: left; }
@media (max-width: 860px) { .exp-intro { grid-template-columns: minmax(0, 1fr); } }

.pub-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pub-links .btn { width: 100%; min-width: 0; padding: 0 10px; font-size: 12px; letter-spacing: 0.1em; white-space: nowrap; }
@media (max-width: 960px) { .pub-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 440px) { .pub-links { grid-template-columns: minmax(0, 1fr); } }
/* short section intros read better ragged-right than stretched */
.stack > p.muted, .stack > p.muted.measure { text-align: left; text-wrap: pretty; }
.follow-sep { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rose); padding: 18px 0 8px; border-top: 1px solid var(--plum-line); }
.follow-sep + .follow-row { border-top: 0; }

/* write-to-me cards: email built into each invitation */
.doors-panel { display: flex; flex-direction: column; gap: 14px; }
.doors-list { display: flex; flex-direction: column; gap: 12px; }
.door { display: grid; gap: 4px; padding: 18px 20px; border: 1px solid var(--plum-mid); text-decoration: none; color: var(--ink); transition: border-color .15s, background .15s; }
.door-t { font-family: var(--serif); font-size: 20px; line-height: 1.3; }
.door-s { font-size: 14.5px; color: var(--muted); }
.door-e { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 14.5px; font-weight: 600; color: var(--ink); min-width: 0; }
.door-e > span:first-of-type { overflow-wrap: anywhere; }
.door-go { margin-left: auto; font-size: 18px; transition: transform .15s; }
.door:hover, .door:focus-visible { border-color: var(--ink); background: rgba(255,255,255,0.03); }
.door:hover .door-go { transform: translateX(4px); }
.door.lead { background: var(--ink); color: var(--plum); border-color: var(--ink); }
.door.lead .door-s, .door.lead .door-e { color: var(--plum); }
.door.lead .door-s { opacity: .75; }
.door.lead:hover { background: #fff; }
.contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.name-box > p.measure, .name-box > p.lead { max-width: 680px; width: 100%; }
/* About intro: one rectangle — name, text and social row share the same width */
.name-box { max-width: 680px; width: 100%; }
.name-box > p.measure, .name-box > p.lead { max-width: none; }
.name-box .social { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; width: 100%; }
.name-box .social a { justify-content: center; padding: 0 6px; gap: 6px; font-size: 14px; min-width: 0; }
.name-box .social svg { width: 18px; height: 18px; }
.name-box .social a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 560px) { .name-box .social a span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
.paper-card img[src*="/dele.jpg"], .paper-card img[src$="dele.jpg"] { object-fit: contain; background: #fff; }

/* article body lists and notes */
.article ul, .article ol { display: flex; flex-direction: column; gap: 8px; padding-left: 22px; line-height: 1.65; }
.article ul ul { margin-top: 8px; gap: 4px; }
.article li::marker { color: var(--wine); }
.article h3 { font-family: var(--sans); font-weight: 600; font-size: 18px; color: var(--c-ink); margin-top: 8px; }
.article .note { background: #FBF8F6; border: 1px solid var(--c-line); padding: 14px 18px; font-size: 15.5px; }
.article blockquote + blockquote { margin-top: -6px; }

.paper-card img[src$="dele.jpg"] { object-fit: contain !important; background: #fff; }
.follow-btn { min-width: 118px; text-align: center; }

/* contact v3: two follow panels side by side, invitations below with one email link */
.contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
.contact-grid .follow-panel { height: 100%; }
.follow-id img[src*="logo_small"] { border-radius: 0; background: #111; }
.doors-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.door { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 12px; align-content: start; }
.door .door-t { grid-column: 1; }
.door .door-s { grid-column: 1; }
.door .door-go { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin: 0; }
.door-mail { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; font-weight: 600; font-size: 16px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--plum-mid); padding: 4px 0; }
.door-mail:hover { border-color: var(--ink); }
@media (max-width: 900px) { .doors-list { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.hero-hook .nb { display: inline; }
.firm-mark { width: 52px; height: 52px; border-radius: 999px; display: grid; place-items: center; flex-shrink: 0; background: var(--ink); color: var(--plum); font-family: var(--serif); font-size: 26px; }
.hero-sub { max-width: none; }
.banner-sub { text-align: center; }
.exp-intro { display: flex; flex-direction: column; gap: 14px; max-width: 860px; }
.exp-intro p { text-align: justify; }
.article .table-wrap { overflow-x: auto; border: 1px solid var(--c-line); background: var(--paper); }
.article table { width: 100%; border-collapse: collapse; font-size: 15px; }
.article th, .article td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.article th { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); font-weight: 600; }
.article tr:last-child td { border-bottom: 0; }
.article td:first-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.article .note a { color: var(--wine); }
.article .poem { border-left: 3px solid var(--wine); padding: 4px 0 4px 22px; font-family: var(--serif); font-size: 19px; line-height: 1.7; color: var(--c-ink); display: flex; flex-direction: column; gap: 18px; }
.article .poem p { text-align: left; }
.article .ref { font-size: 14px; color: var(--c-muted); text-align: left; }
.article ul.checklist { list-style: none; padding-left: 0; }
.article ul.checklist li { padding-left: 28px; position: relative; }
.article ul.checklist li::before { content: "✓"; position: absolute; left: 4px; color: var(--wine); font-weight: 700; }
.follow-id img.firm-logo { width: auto; height: 56px; border-radius: 0; object-fit: contain; background: none; }
/* article: every text block justified to the same edges */
.article p, .article p.standfirst, .article blockquote, .article li, .article .note, .article p.ref { text-align: justify; text-wrap: wrap; }
.article .poem p { text-align: left; }
.collab-link { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 16px; width: 100%; padding: 14px 18px; border: 1px solid var(--plum-mid); text-decoration: none; color: var(--ink); font-weight: 600; }
.collab-link span { color: var(--rose); font-weight: 600; }
.collab-link:hover { border-color: var(--ink); }
#collab { scroll-margin-top: 90px; }
.lang-switch { font-size: 14px; font-weight: 600; color: var(--wine); text-decoration: none; border-bottom: 1px solid currentColor; }
.article p:has(> strong:only-child) { text-align: left; }
html:lang(ko) .article p, html:lang(ko) .article li, html:lang(ko) .article blockquote { word-break: keep-all; }
/* all prose blocks justified, on every screen size */
.hero-sub, .stack > p.muted, .stack > p.muted.measure, .contact-sub, .collab-sub, .page-head > .stack > p.muted, .cv-section .split p, .split > p, .row-sub, .feature p, .lead, .measure, .exp-intro p, .door-s, .follow-txt span, .tile p, .pub-summary, .post-card p { text-align: justify; text-wrap: wrap; }
#contact .stack > p.contact-sub { text-align: justify; }

.pub-links { grid-template-columns: repeat(2, minmax(0, 260px)); }
@media (max-width: 440px) { .pub-links { grid-template-columns: minmax(0, 1fr); } }
.cv-more > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; font-weight: 600; letter-spacing: .04em; color: var(--rose); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.cv-more > summary::-webkit-details-marker { display: none; }
.cv-more > summary::after { content: "▾"; font-size: 12px; }
.cv-more[open] > summary::after { content: "▴"; }
.cv-more > summary .l { display: none; }
.cv-more[open] > summary .m { display: none; }
.cv-more[open] > summary .l { display: inline; }
.cv-more[open] > summary { margin-bottom: 4px; }
.cv-more[open] { display: flex; flex-direction: column-reverse; }
.cv-more > summary { align-self: flex-start; }
