/* AK Criminal Lawyers - design system
   Palette: #FFFFFF #FFDDBB #CCBEB1 #997E67 #664930
   Derived tints/inks are mixes of the palette, defined once below. */

:root {
  /* palette */
  --c-white: #ffffff;
  --c-sand: #ffddbb;
  --c-stone: #ccbeb1;
  --c-clay: #997e67;
  --c-brown: #664930;
  /* derived */
  --c-ink: #2b1e14;          /* body text, darkened brown */
  --c-ink-soft: #4d3a2a;     /* secondary text */
  --c-paper: #fbf6f0;        /* subtle section background (white + sand tint) */
  --c-paper-2: #f3e9dd;      /* second tint */
  --c-line: #e3d7ca;         /* hairlines on light */
  --c-line-dark: rgba(255, 221, 187, .28);
  --c-brown-deep: #52391f;   /* hover on brown */
  --c-focus: #664930;

  /* type */
  --f-serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --f-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-h4: 1.375rem;
  --fs-h3: clamp(1.5rem, 1.3rem + .8vw, 1.875rem);
  --fs-h2: clamp(2rem, 1.5rem + 2vw, 3rem);
  --fs-h1: clamp(2.5rem, 1.6rem + 3.8vw, 4.5rem);

  /* space */
  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: clamp(4rem, 3rem + 5vw, 7.5rem);

  /* shape */
  --radius: 2px;
  --radius-md: 4px;
  --shadow: 0 1px 2px rgba(43, 30, 20, .06), 0 8px 24px -12px rgba(43, 30, 20, .18);
  --container: 1200px;
  --container-narrow: 760px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .6, .2, 1);
  --t: 180ms var(--ease);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--f-sans); font-size: var(--fs-base); line-height: 1.7;
  color: var(--c-ink); background: var(--c-white); text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-brown); text-underline-offset: .2em; text-decoration-thickness: 1px; transition: color var(--t); }
a:hover { color: var(--c-ink); }
:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 3px; border-radius: 2px; }
.on-brown :focus-visible, .site-footer :focus-visible { outline-color: var(--c-sand); }
.skip { position: absolute; left: -999px; top: 0; background: var(--c-brown); color: #fff; padding: var(--s-3) var(--s-5); z-index: 200; }
.skip:focus { left: var(--s-4); top: var(--s-4); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3, h4 { font-family: var(--f-serif); font-weight: 600; line-height: 1.12; color: var(--c-brown); margin: 0 0 var(--s-4); letter-spacing: -.005em; }
h1 { font-size: var(--fs-h1); font-weight: 600; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
p { margin: 0 0 var(--s-4); }
ul, ol { margin: 0 0 var(--s-4); padding-left: 1.2em; }
li { margin-bottom: var(--s-2); }
.lead { font-size: var(--fs-lg); line-height: 1.6; color: var(--c-ink-soft); max-width: 62ch; }
.eyebrow { font-family: var(--f-sans); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--c-clay); margin: 0 0 var(--s-4); display: flex; align-items: center; gap: var(--s-3); }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.on-brown .eyebrow { color: var(--c-sand); }

.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
@media (min-width: 720px) { .container { width: min(100% - 3rem, var(--container)); } }
.narrow { max-width: var(--container-narrow); }
.section { padding-block: var(--s-9); }
.section--paper { background: var(--c-paper); }
.section--sand { background: var(--c-paper-2); }
.section--tight { padding-block: var(--s-8); }
.on-brown { background: var(--c-brown); color: #f6ece0; }
.on-brown h1, .on-brown h2, .on-brown h3, .on-brown h4 { color: #fff; }
.on-brown a { color: var(--c-sand); }
.on-brown .lead { color: #ead9c6; }
.section-head { max-width: 680px; margin-bottom: var(--s-7); }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--s-5); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 48px;
  padding: .75rem 1.6rem; font: 600 var(--fs-sm)/1.2 var(--f-sans); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  border: 1px solid var(--c-brown); border-radius: var(--radius); background: var(--c-brown); color: #fff;
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t);
}
.btn:hover { background: var(--c-brown-deep); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--c-brown); }
.btn--ghost:hover { background: var(--c-brown); color: #fff; }
.btn--sand { background: var(--c-sand); border-color: var(--c-sand); color: var(--c-brown); }
.btn--sand:hover { background: #fff; border-color: #fff; color: var(--c-brown); }
.on-brown a.btn--sand, .on-brown a.btn--sand:hover { color: var(--c-brown); }
.on-brown a.btn--ghost-light { color: #fff; }
.on-brown a.btn--ghost-light:hover { color: var(--c-brown); }
.btn--ghost-light { background: transparent; border-color: rgba(255,221,187,.6); color: #fff; }
.btn--ghost-light:hover { background: var(--c-sand); color: var(--c-brown); border-color: var(--c-sand); }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.link-arrow { font-weight: 600; font-size: var(--fs-sm); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow::after { content: " \2192"; }

/* ---------- header ---------- */
.review-strip { background: var(--c-ink); color: #f1e4d4; font-size: var(--fs-xs); text-align: center; padding: .4rem 1rem; letter-spacing: .02em; }
.topbar { background: var(--c-brown); color: #f6ece0; font-size: var(--fs-xs); }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); min-height: 38px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 500; }
.topbar a:hover { color: var(--c-sand); }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: var(--s-5); }
.topbar__emerg::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--c-sand); margin-right: .55em; box-shadow: 0 0 0 3px rgba(255,221,187,.25); }
@media (max-width: 719px) { .topbar__left span.hide-sm, .topbar__right a.hide-sm { display: none; } }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--c-line); backdrop-filter: saturate(1.2) blur(6px); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: var(--s-5); }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--c-brown); }
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__text { display: grid; line-height: 1; }
.brand__name { font-family: var(--f-serif); font-weight: 700; font-size: 1.5rem; letter-spacing: .01em; color: var(--c-brown); }
.brand__sub { font-size: .625rem; letter-spacing: .32em; text-transform: uppercase; color: var(--c-clay); margin-top: .35rem; font-weight: 600; }

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav__list > li { margin: 0; position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: .4em; padding: .6rem .85rem; font-size: var(--fs-sm); font-weight: 500; color: var(--c-ink); text-decoration: none; background: none; border: 0; cursor: pointer; font-family: inherit; position: relative; }
.nav__link::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .25rem; height: 1px; background: var(--c-brown); transform: scaleX(0); transform-origin: left; transition: transform var(--t); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__link[aria-expanded="true"]::after { transform: scaleX(1); }
.nav__link:hover { color: var(--c-brown); }
.nav__link .chev { width: 10px; height: 10px; transition: transform var(--t); }
.nav__link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.dropdown { position: absolute; top: calc(100% + 6px); left: 0; min-width: 300px; background: #fff; border: 1px solid var(--c-line); border-top: 2px solid var(--c-brown); box-shadow: var(--shadow); padding: var(--s-3); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity var(--t), transform var(--t), visibility var(--t); }
.dropdown.open, .has-dd:hover > .dropdown, .has-dd:focus-within > .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: block; padding: .55rem .75rem; text-decoration: none; color: var(--c-ink); font-size: var(--fs-sm); border-radius: var(--radius); }
.dropdown a:hover { background: var(--c-paper); color: var(--c-brown); }
.dropdown small { display: block; color: var(--c-clay); font-size: var(--fs-xs); }
.dropdown .dd-all { border-top: 1px solid var(--c-line); margin-top: var(--s-2); padding-top: var(--s-3); font-weight: 600; color: var(--c-brown); }

.header-actions { display: flex; align-items: center; gap: var(--s-3); }
.header-actions .btn { min-height: 44px; padding: .6rem 1.2rem; }
.header-actions .btn--call { display: none; }

.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: .45em; min-height: 44px; padding: 0 .7rem; background: none; border: 1px solid var(--c-line); border-radius: var(--radius); font: 500 var(--fs-xs)/1 var(--f-sans); color: var(--c-ink); cursor: pointer; letter-spacing: .06em; transition: border-color var(--t); }
.lang__btn:hover { border-color: var(--c-clay); }
.lang__btn svg { width: 15px; height: 15px; }
.lang__menu { position: absolute; right: 0; top: calc(100% + 6px); min-width: 210px; background: #fff; border: 1px solid var(--c-line); border-top: 2px solid var(--c-brown); box-shadow: var(--shadow); list-style: none; margin: 0; padding: var(--s-2); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity var(--t), transform var(--t), visibility var(--t); z-index: 5; }
.lang__menu.open { opacity: 1; visibility: visible; transform: none; }
.lang__menu li { margin: 0; }
.lang__menu a, .lang__menu span { display: flex; justify-content: space-between; padding: .5rem .7rem; font-size: var(--fs-sm); text-decoration: none; color: var(--c-ink); }
.lang__menu span { color: var(--c-clay); }
.lang__menu em { font-style: normal; font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--c-clay); }
.lang__menu a[aria-current="true"] { color: var(--c-brown); font-weight: 600; }

.menu-btn { width: 46px; height: 46px; display: grid; place-items: center; background: none; border: 1px solid var(--c-line); border-radius: var(--radius); cursor: pointer; color: var(--c-brown); }
.menu-btn svg { width: 22px; height: 22px; }
.menu-btn .x { display: none; }
.menu-btn[aria-expanded="true"] .x { display: block; }
.menu-btn[aria-expanded="true"] .bars { display: none; }

.mobile-nav { position: fixed; inset: 0 0 0 0; top: var(--header-offset, 114px); background: #fff; z-index: 99; overflow-y: auto; padding: var(--s-5) 1rem 7rem; display: none; }
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; padding: 0; margin: 0; }
.mobile-nav li { margin: 0; border-bottom: 1px solid var(--c-line); }
.mobile-nav a, .mobile-nav summary { display: flex; justify-content: space-between; align-items: center; padding: 1rem .25rem; font-family: var(--f-serif); font-size: 1.5rem; font-weight: 600; color: var(--c-brown); text-decoration: none; cursor: pointer; list-style: none; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary::after { content: "+"; font-family: var(--f-sans); font-weight: 400; }
.mobile-nav details[open] summary::after { content: "\2212"; }
.mobile-nav details ul li { border: 0; }
.mobile-nav details ul a { font-family: var(--f-sans); font-size: var(--fs-base); font-weight: 500; padding: .6rem 1rem; color: var(--c-ink); }
.mobile-nav .btn-row { margin-top: var(--s-6); }
.mobile-nav .btn { font-family: var(--f-sans); font-size: var(--fs-sm); padding: .75rem 1.6rem; color: #fff; }
.mobile-nav .btn--ghost { color: var(--c-brown); }

@media (min-width: 1040px) {
  .nav { display: block; }
  .menu-btn, .mobile-nav { display: none !important; }
  .header-actions .btn--call { display: inline-flex; }
}

/* ---------- breadcrumbs ---------- */
.breadcrumbs { font-size: var(--fs-xs); color: var(--c-clay); padding-block: var(--s-4); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; }
.breadcrumbs li { margin: 0; display: flex; gap: .4rem; }
.breadcrumbs li + li::before { content: "/"; color: var(--c-stone); }
.breadcrumbs a { color: var(--c-ink-soft); text-decoration: none; }
.breadcrumbs a:hover { color: var(--c-brown); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--c-brown); font-weight: 500; }
.on-brown .breadcrumbs, .on-brown .breadcrumbs a, .on-brown .breadcrumbs [aria-current] { color: #ead9c6; }

/* ---------- hero (home) ---------- */
.hero { position: relative; background: var(--c-paper); overflow: hidden; }
.hero__grid { display: grid; gap: var(--s-7); padding-block: var(--s-8) var(--s-8); align-items: center; }
.hero h1 { margin-bottom: var(--s-5); }
.hero h1 em { font-style: italic; color: var(--c-clay); font-weight: 500; }
.hero__pledge { border-left: 2px solid var(--c-clay); padding-left: var(--s-4); margin: var(--s-6) 0; font-family: var(--f-serif); font-size: 1.25rem; font-style: italic; color: var(--c-brown); max-width: 52ch; line-height: 1.4; }
.hero__facts { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); margin: var(--s-6) 0 0; padding: 0; list-style: none; font-size: var(--fs-sm); color: var(--c-ink-soft); }
.hero__facts li { margin: 0; display: flex; align-items: center; gap: .5rem; }
.hero__facts svg { width: 18px; height: 18px; color: var(--c-clay); flex: none; }
.hero__card { position: relative; justify-self: center; width: min(100%, 380px); }
.hero__card figure { margin: 0; position: relative; }
.hero__card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top; background: var(--c-stone); }
.hero__card::before { content: ""; position: absolute; inset: 24px -16px -16px 24px; border: 1px solid var(--c-clay); z-index: 0; }
.hero__card figure { z-index: 1; }
.hero__card figcaption { background: var(--c-brown); color: #fff; padding: var(--s-4) var(--s-5); position: relative; z-index: 1; }
.hero__card figcaption strong { display: block; font-family: var(--f-serif); font-size: 1.375rem; font-weight: 600; }
.hero__card figcaption span { font-size: var(--fs-xs); letter-spacing: .08em; color: var(--c-sand); }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.25fr .75fr; gap: var(--s-8); padding-block: var(--s-9); } }

.trust-bar { background: var(--c-brown); color: #fff; }
.trust-bar ul { list-style: none; margin: 0; padding: var(--s-5) 0; display: grid; gap: var(--s-5); grid-template-columns: repeat(2, 1fr); }
.trust-bar li { margin: 0; display: flex; flex-direction: column; gap: .15rem; }
.trust-bar strong { font-family: var(--f-serif); font-size: 2rem; line-height: 1; color: var(--c-sand); font-weight: 600; }
.trust-bar span { font-size: var(--fs-xs); letter-spacing: .06em; color: #ead9c6; }
@media (min-width: 800px) { .trust-bar ul { grid-template-columns: repeat(4, 1fr); } .trust-bar li { border-left: 1px solid var(--c-line-dark); padding-left: var(--s-5); } .trust-bar li:first-child { border: 0; padding: 0; } }

/* ---------- page header (inner pages) ---------- */
.page-hero { background: var(--c-paper); border-bottom: 1px solid var(--c-line); }
.page-hero__grid { display: grid; gap: var(--s-6); padding-block: var(--s-6) var(--s-8); align-items: end; }
.page-hero h1 { font-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem); margin-bottom: var(--s-4); }
.page-hero--brown { background: var(--c-brown); border: 0; }
.page-hero--brown h1 { color: #fff; }
.page-hero--brown .lead { color: #ead9c6; }
.page-hero .meta { font-size: var(--fs-xs); color: var(--c-clay); letter-spacing: .04em; margin-top: var(--s-5); }
.reviewer { display: flex; align-items: center; gap: var(--s-4); padding: var(--s-4); background: #fff; border: 1px solid var(--c-line); text-decoration: none; color: inherit; transition: border-color var(--t); }
.reviewer:hover { border-color: var(--c-clay); }
.reviewer img { width: 64px; height: 80px; object-fit: cover; object-position: top; flex: none; }
.reviewer small { display: block; font-size: var(--fs-xs); color: var(--c-clay); letter-spacing: .06em; text-transform: uppercase; }
.reviewer strong { font-family: var(--f-serif); font-size: 1.25rem; color: var(--c-brown); line-height: 1.2; display: block; }
.reviewer span { font-size: var(--fs-xs); color: var(--c-ink-soft); }
@media (min-width: 900px) { .page-hero__grid { grid-template-columns: 1fr 340px; } }

/* ---------- cards & grids ---------- */
.grid { display: grid; gap: var(--s-5); }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.card { background: #fff; border: 1px solid var(--c-line); padding: var(--s-6); display: flex; flex-direction: column; text-decoration: none; color: inherit; position: relative; transition: border-color var(--t), box-shadow var(--t), transform var(--t); }
a.card:hover { border-color: var(--c-clay); box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
.card h3 { font-size: 1.5rem; margin-bottom: var(--s-3); }
.card p { color: var(--c-ink-soft); font-size: var(--fs-sm); }
.card .card__go { margin-top: auto; padding-top: var(--s-3); font-weight: 600; font-size: var(--fs-sm); color: var(--c-brown); }
.card .card__go::after { content: " \2192"; transition: margin var(--t); }
a.card:hover .card__go::after { margin-left: 4px; }
.card__icon { width: 44px; height: 44px; color: var(--c-brown); margin-bottom: var(--s-5); }
.card--soon { background: var(--c-paper); border-style: dashed; }
.card--soon .card__go { color: var(--c-clay); }
.card--soon .card__go::after { content: ""; }
.tag { display: inline-block; font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--c-clay); border: 1px solid var(--c-stone); padding: .15rem .55rem; margin-bottom: var(--s-3); align-self: flex-start; }

.num-list { list-style: none; padding: 0; margin: 0; counter-reset: n; display: grid; gap: var(--s-5); }
.num-list li { margin: 0; counter-increment: n; display: grid; grid-template-columns: 56px 1fr; gap: var(--s-4); }
.num-list li::before { content: counter(n, decimal-leading-zero); font-family: var(--f-serif); font-size: 2.25rem; line-height: 1; color: var(--c-clay); }
.num-list h3, .num-list h4 { margin-bottom: var(--s-2); }
.on-brown .num-list li::before { color: var(--c-sand); }
.on-brown .num-list p { color: #ead9c6; }

.split { display: grid; gap: var(--s-7); align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: var(--s-8); } .split--wide-left { grid-template-columns: 1.2fr .8fr; } }

.check-list { list-style: none; padding: 0; }
.check-list li { padding-left: 1.9rem; position: relative; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px; border-left: 2px solid var(--c-clay); border-bottom: 2px solid var(--c-clay); transform: rotate(-45deg); }
.on-brown .check-list li::before { border-color: var(--c-sand); }

/* ---------- attorneys ---------- */
.lawyer { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: #fff; border: 1px solid var(--c-line); transition: border-color var(--t), box-shadow var(--t); }
a.lawyer:hover { border-color: var(--c-clay); box-shadow: var(--shadow); color: inherit; }
.lawyer__img { aspect-ratio: 3/4; overflow: hidden; background: var(--c-stone); }
.lawyer__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 500ms var(--ease); }
a.lawyer:hover .lawyer__img img { transform: scale(1.03); }
.lawyer__body { padding: var(--s-4) var(--s-5) var(--s-5); }
.lawyer__body h3, .lawyer__body h4 { font-size: 1.3rem; margin: 0 0 .2rem; }
.lawyer__body p { margin: 0; font-size: var(--fs-xs); color: var(--c-clay); letter-spacing: .04em; }
.lawyer--compact .lawyer__body { padding: var(--s-3) var(--s-4); }
.lawyer--compact h3 { font-size: 1.1rem; }
.lawyer-grid { display: grid; gap: var(--s-5); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .lawyer-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .lawyer-grid--4 { grid-template-columns: repeat(4, 1fr); } .lawyer-grid--5 { grid-template-columns: repeat(5, 1fr); } }
.lawyer-grid--dense { grid-template-columns: repeat(2, 1fr); gap: var(--s-4); }
@media (min-width: 720px) { .lawyer-grid--dense { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1040px) { .lawyer-grid--dense { grid-template-columns: repeat(6, 1fr); } }

/* ---------- placeholders (clearly marked) ---------- */
.placeholder { border: 1px dashed var(--c-clay); background: repeating-linear-gradient(135deg, transparent 0 10px, rgba(204,190,177,.15) 10px 11px); padding: var(--s-5); color: var(--c-ink-soft); font-size: var(--fs-sm); }
.placeholder strong { display: block; font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--c-clay); margin-bottom: var(--s-2); }
.on-brown .placeholder { border-color: rgba(255,221,187,.5); color: #ead9c6; background: rgba(255,255,255,.04); }
.on-brown .placeholder strong { color: var(--c-sand); }
.quote { margin: 0; padding: var(--s-6); background: #fff; border: 1px solid var(--c-line); }
.quote p { font-family: var(--f-serif); font-size: 1.375rem; line-height: 1.4; color: var(--c-brown); }
.quote footer { font-size: var(--fs-xs); color: var(--c-clay); letter-spacing: .06em; }
.rating { display: inline-flex; align-items: center; gap: .6rem; font-size: var(--fs-sm); color: var(--c-ink-soft); }
.rating .stars { color: var(--c-clay); letter-spacing: .1em; }

/* ---------- article / content layout ---------- */
.content-layout { display: grid; gap: var(--s-8); padding-block: var(--s-8) var(--s-9); }
@media (min-width: 1000px) { .content-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: var(--s-9); align-items: start; } .content-layout--full { grid-template-columns: 1fr; } }
.prose { max-width: 70ch; }
.prose h2 { margin-top: var(--s-8); font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--s-6); }
.prose .answer { font-size: 1.1875rem; color: var(--c-ink); border-left: 3px solid var(--c-sand); padding-left: var(--s-4); }
.prose .note, .note { background: var(--c-paper); border: 1px solid var(--c-line); border-left: 3px solid var(--c-clay); padding: var(--s-4) var(--s-5); font-size: var(--fs-sm); margin-block: var(--s-5); }
.prose .note strong, .note strong { color: var(--c-brown); }
.toc { border: 1px solid var(--c-line); padding: var(--s-5); background: var(--c-paper); margin-bottom: var(--s-7); font-size: var(--fs-sm); max-width: 70ch; }
.toc p { font-weight: 600; margin-bottom: var(--s-2); color: var(--c-brown); }
.toc ol { margin: 0; columns: 1; }
@media (min-width: 640px) { .toc ol { columns: 2; column-gap: var(--s-6); } }
.stage-strip { display: grid; gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); margin-block: var(--s-6); }
.stage-strip > div { background: #fff; padding: var(--s-4) var(--s-5); }
.stage-strip b { display: block; font-family: var(--f-serif); color: var(--c-brown); font-size: 1.25rem; }
.stage-strip span { font-size: var(--fs-sm); color: var(--c-ink-soft); }
@media (min-width: 720px) { .stage-strip { grid-template-columns: repeat(4, 1fr); } }

.faq details { border-bottom: 1px solid var(--c-line); }
.faq summary { cursor: pointer; list-style: none; padding: var(--s-5) 2rem var(--s-5) 0; font-family: var(--f-serif); font-size: 1.375rem; font-weight: 600; color: var(--c-brown); position: relative; line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-family: var(--f-sans); font-weight: 300; font-size: 1.75rem; transition: transform var(--t); }
.faq details[open] summary::after { content: "\2212"; }
.faq .faq__a { padding: 0 0 var(--s-5); max-width: 66ch; color: var(--c-ink-soft); }

/* ---------- sidebar ---------- */
.sidebar { display: grid; gap: var(--s-5); }
@media (min-width: 1000px) { .sidebar { position: sticky; top: calc(var(--header-h) + 20px); } }
.side-cta { background: var(--c-brown); color: #f6ece0; padding: var(--s-6); }
.side-cta h2, .side-cta h3 { color: #fff; font-size: 1.625rem; margin-bottom: var(--s-3); }
.side-cta p { font-size: var(--fs-sm); color: #ead9c6; margin-bottom: var(--s-5); }
.side-cta .btn { width: 100%; }
.side-cta .alt { margin: var(--s-4) 0 0; font-size: var(--fs-sm); text-align: center; color: #ead9c6; }
.side-cta .alt a { color: var(--c-sand); }
.side-links { border: 1px solid var(--c-line); padding: var(--s-5); }
.side-links h3 { font-family: var(--f-sans); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .14em; color: var(--c-clay); margin-bottom: var(--s-3); font-weight: 600; }
.side-links ul { list-style: none; padding: 0; margin: 0; }
.side-links li { margin: 0; border-top: 1px solid var(--c-line); }
.side-links li:first-child { border: 0; }
.side-links a { display: block; padding: .6rem 0; font-size: var(--fs-sm); text-decoration: none; font-weight: 500; }
.side-links a:hover { color: var(--c-ink); text-decoration: underline; }
.side-proof { font-size: var(--fs-sm); color: var(--c-ink-soft); padding: var(--s-4) var(--s-5); background: var(--c-paper); border-left: 3px solid var(--c-sand); }
.side-proof strong { color: var(--c-brown); }
.side-contact { font-size: var(--fs-sm); color: var(--c-ink-soft); }
.side-contact a { font-weight: 600; }

/* ---------- forms ---------- */
.form { display: grid; gap: var(--s-4); }
.form-row { display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: var(--fs-sm); font-weight: 600; margin-bottom: .35rem; color: var(--c-ink); }
.field .opt { font-weight: 400; color: var(--c-clay); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: .75rem .9rem; font: inherit; font-size: 1rem; color: var(--c-ink); background: #fff; border: 1px solid var(--c-stone); border-radius: var(--radius); transition: border-color var(--t), box-shadow var(--t); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-brown); box-shadow: 0 0 0 3px rgba(102,73,48,.2); }
.field .error { display: none; color: #8a2a1a; font-size: var(--fs-sm); margin-top: .3rem; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #8a2a1a; }
.field.invalid .error { display: block; }
.fieldset { border: 1px solid var(--c-line); padding: var(--s-4); margin: 0; }
.fieldset legend { font-size: var(--fs-sm); font-weight: 600; padding: 0 .4rem; }
.radio-row { display: flex; flex-wrap: wrap; gap: var(--s-4); }
.radio-row label { display: flex; align-items: center; gap: .5rem; font-weight: 400; font-size: var(--fs-sm); margin: 0; min-height: 40px; }
.radio-row input { width: 18px; height: 18px; min-height: 0; accent-color: var(--c-brown); }
.form-note { font-size: var(--fs-xs); color: var(--c-ink-soft); }
.form-success { display: none; padding: var(--s-5); background: var(--c-paper); border: 1px solid var(--c-clay); border-left-width: 4px; }
.form-success.show { display: block; }
.form-success strong { font-family: var(--f-serif); font-size: 1.5rem; color: var(--c-brown); display: block; margin-bottom: .25rem; }
.form-panel { background: #fff; border: 1px solid var(--c-line); padding: var(--s-6); }
@media (min-width: 720px) { .form-panel { padding: var(--s-7); } }
.contact-list { list-style: none; padding: 0; margin: 0 0 var(--s-5); display: grid; gap: var(--s-4); }
.contact-list li { margin: 0; display: grid; grid-template-columns: 24px 1fr; gap: var(--s-3); }
.contact-list svg { width: 22px; height: 22px; color: var(--c-clay); margin-top: .2rem; }
.contact-list small { display: block; font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--c-clay); }
.on-brown .contact-list small { color: var(--c-sand); }
.contact-list a { font-size: 1.25rem; font-weight: 600; text-decoration: none; }
.on-brown .contact-list a { color: #fff; }

/* ---------- profile ---------- */
.profile { display: grid; gap: var(--s-7); padding-block: var(--s-6) var(--s-8); }
.profile__photo { width: min(100%, 360px); }
.profile__photo img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top; background: var(--c-stone); }
@media (min-width: 900px) { .profile { grid-template-columns: 360px 1fr; gap: var(--s-8); align-items: center; } }
.facts { display: grid; gap: 0; border-top: 1px solid var(--c-line-dark); margin-top: var(--s-6); }
.facts div { display: grid; gap: .2rem; padding: var(--s-3) 0; border-bottom: 1px solid var(--c-line-dark); }
@media (min-width: 640px) { .facts div { grid-template-columns: 180px 1fr; } }
.facts dt { font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--c-sand); }
.facts dd { margin: 0; color: #fff; }

/* ---------- cta band ---------- */
.cta-band .container { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 900px) { .cta-band .container { grid-template-columns: 1fr auto; } }
.cta-band h2 { margin-bottom: var(--s-3); }
.cta-band p { margin: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--c-ink); color: #d8c8b6; font-size: var(--fs-sm); }
.site-footer .container { padding-block: var(--s-8) var(--s-6); }
.footer-grid { display: grid; gap: var(--s-7); }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h2 { font-family: var(--f-sans); font-size: var(--fs-xs); letter-spacing: .16em; text-transform: uppercase; color: var(--c-sand); margin-bottom: var(--s-4); font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45rem; }
.site-footer a { color: #f1e4d4; text-decoration: none; }
.site-footer a:hover { color: var(--c-sand); text-decoration: underline; }
.site-footer .brand__name { color: #fff; }
.site-footer .brand__sub { color: var(--c-stone); }
.site-footer .brand { color: #fff; margin-bottom: var(--s-4); }
.footer-lang { display: flex; flex-wrap: wrap; gap: .35rem .9rem; font-size: var(--fs-xs); margin-top: var(--s-4); }
.footer-lang span { color: #a79684; }
.footer-legal { border-top: 1px solid rgba(255,221,187,.18); margin-top: var(--s-7); padding-top: var(--s-5); font-size: var(--fs-xs); color: #b6a490; display: grid; gap: var(--s-3); }
.footer-legal p { margin: 0; max-width: 90ch; }
.flag { display: inline-block; width: 22px; height: 14px; vertical-align: -2px; margin-right: .4rem; }

/* ---------- sticky mobile bar ---------- */
.sticky-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1fr; background: #fff; border-top: 1px solid var(--c-line); box-shadow: 0 -6px 20px -10px rgba(43,30,20,.25); padding-bottom: env(safe-area-inset-bottom); }
.sticky-bar a { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 54px; font-weight: 600; font-size: var(--fs-sm); text-decoration: none; }
.sticky-bar a:first-child { background: var(--c-brown); color: #fff; }
.sticky-bar a:last-child { background: var(--c-sand); color: var(--c-brown); }
.sticky-bar svg { width: 18px; height: 18px; }
body { padding-bottom: 54px; }
@media (min-width: 900px) { .sticky-bar { display: none; } body { padding-bottom: 0; } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print { .site-header, .topbar, .sticky-bar, .sidebar, .review-strip { display: none; } }

/* ---------- polish layer ---------- */
.site-header { transition: box-shadow var(--t), min-height var(--t); }
.site-header.scrolled { box-shadow: 0 6px 24px -14px rgba(43,30,20,.35); }
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--c-clay); z-index: 300; }

/* hero: arched portrait, scale watermark, staggered entrance */
.hero::before { content: ""; position: absolute; right: -6%; top: -8%; width: 56%; aspect-ratio: 1; background: radial-gradient(circle at center, rgba(255,221,187,.55), rgba(255,221,187,0) 68%); pointer-events: none; }
.hero__mark { position: absolute; right: 3%; bottom: -40px; width: min(46vw, 520px); color: var(--c-brown); opacity: .05; pointer-events: none; }
.hero__grid { position: relative; z-index: 1; }
.hero__card img { border-radius: 999px 999px 0 0; }
.hero__card::before { border-radius: 999px 999px 0 0; }
.hero h1 { font-size: clamp(2.75rem, 1.6rem + 4.6vw, 5.25rem); letter-spacing: -.015em; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero__grid > div:first-child > * { animation: rise 800ms var(--ease) both; }
.hero__grid > div:first-child > *:nth-child(2) { animation-delay: 90ms; }
.hero__grid > div:first-child > *:nth-child(3) { animation-delay: 180ms; }
.hero__grid > div:first-child > *:nth-child(4) { animation-delay: 270ms; }
.hero__grid > div:first-child > *:nth-child(n+5) { animation-delay: 360ms; }
.hero__card { animation: rise 1000ms 200ms var(--ease) both; }
.no-js .hero__grid > *, .no-js .hero__card { animation: none; }

/* card accent line */
a.card::after { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: var(--c-brown); transform: scaleX(0); transform-origin: left; transition: transform 360ms var(--ease); }
a.card:hover::after { transform: scaleX(1); }
.card__icon { transition: transform 360ms var(--ease); }
a.card:hover .card__icon { transform: translateY(-3px); }

/* section heading ornament */
.section-head h2::after { content: ""; display: block; width: 56px; height: 2px; background: var(--c-sand); margin-top: var(--s-4); }
.on-brown .section-head h2::after, .on-brown h2::after { background: var(--c-clay); }

/* lawyer cards: name plate slides up on hover */
.lawyer__img { position: relative; }
a.lawyer .lawyer__img::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(to top, rgba(102,73,48,.55), transparent); opacity: 0; transition: opacity var(--t); }
a.lawyer:hover .lawyer__img::after { opacity: 1; }

/* stage explorer */
.stage-ex { border: 1px solid var(--c-line); background: #fff; margin-block: var(--s-6); }
.stage-ex [role="tablist"] { display: grid; grid-template-columns: repeat(2, 1fr); border-bottom: 1px solid var(--c-line); }
@media (min-width: 720px) { .stage-ex [role="tablist"] { grid-template-columns: repeat(4, 1fr); } }
.stage-ex [role="tab"] { display: flex; align-items: baseline; gap: .6rem; padding: var(--s-4) var(--s-5); background: var(--c-paper); border: 0; border-right: 1px solid var(--c-line); border-bottom: 3px solid transparent; font: 600 1.35rem/1.1 var(--f-serif); color: var(--c-ink-soft); cursor: pointer; text-align: left; transition: background var(--t), color var(--t), border-color var(--t); }
.stage-ex [role="tab"] span { font: 600 .75rem/1 var(--f-sans); letter-spacing: .12em; color: var(--c-clay); }
.stage-ex [role="tab"]:hover { background: var(--c-paper-2); color: var(--c-brown); }
.stage-ex [role="tab"][aria-selected="true"] { background: #fff; color: var(--c-brown); border-bottom-color: var(--c-brown); }
.stage-ex [role="tabpanel"] { padding: var(--s-6); max-width: 70ch; }
.stage-ex__sub { font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--c-clay); font-weight: 600; margin-bottom: var(--s-3); }
.stage-ex__tip { background: var(--c-paper); border-left: 3px solid var(--c-sand); padding: var(--s-3) var(--s-4); font-size: var(--fs-sm); }
.stage-ex [role="tabpanel"]:not([hidden]) { animation: rise 400ms var(--ease) both; }
.no-js .stage-ex [role="tabpanel"][hidden] { display: block; }

/* sticky mobile-friendly tweaks */
.prose h2 { padding-top: var(--s-2); }
.prose ul li::marker { color: var(--c-clay); }
.cta-band { position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border: 1px solid rgba(255,221,187,.2); border-radius: 50%; pointer-events: none; }
.cta-band::before { content: ""; position: absolute; right: -20px; top: -20px; width: 200px; height: 200px; border: 1px solid rgba(255,221,187,.15); border-radius: 50%; pointer-events: none; }

/* cards placed on brown sections stay light and readable */
.on-brown .card { background: #fff; color: var(--c-ink); border-color: transparent; }
.on-brown .card h3 { color: var(--c-brown); }
.on-brown .card p { color: var(--c-ink-soft); }
.on-brown .card .tag { color: var(--c-clay); }
.results-cards .card p strong { color: var(--c-brown); }
.results-cards .card { padding: var(--s-6); }

/* timeline: how the clock runs */
.timeline { list-style: none; margin: var(--s-6) 0 var(--s-4); padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: var(--c-stone); }
.timeline li { position: relative; padding: 0 0 var(--s-6) var(--s-7); margin: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 6px; width: 15px; height: 15px; background: #fff; border: 2px solid var(--c-brown); border-radius: 50%; }
.timeline li:first-child::before { background: var(--c-brown); }
.timeline__when { display: inline-block; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--c-clay); margin-bottom: .25rem; }
.timeline h3 { font-size: 1.5rem; margin-bottom: var(--s-2); }
.timeline p { color: var(--c-ink-soft); margin-bottom: var(--s-2); }
.timeline__law { display: inline-block; font-size: var(--fs-xs); letter-spacing: .04em; color: var(--c-clay); border-top: 1px solid var(--c-line); padding-top: .35rem; margin-top: auto; }
.card .timeline__law { margin-top: var(--s-3); }

/* ===== compact, modern, high-legibility layer ===== */
:root {
  --f-serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --fs-base: 1rem; --fs-lg: 1.125rem; --fs-sm: .9rem;
  --fs-h1: clamp(2.1rem, 1.5rem + 2.6vw, 3.5rem);
  --fs-h2: clamp(1.65rem, 1.3rem + 1.3vw, 2.25rem);
  --fs-h3: clamp(1.2rem, 1.1rem + .5vw, 1.45rem);
  --s-5: 1.25rem; --s-6: 1.5rem; --s-7: 2.25rem; --s-8: 3rem;
  --s-9: clamp(2.5rem, 2rem + 2.5vw, 4rem);
  --header-h: 62px;
}
body { font-size: var(--fs-base); line-height: 1.6; letter-spacing: -.003em; }
h1, h2, h3, h4 { line-height: 1.18; letter-spacing: -.012em; font-weight: 600; margin-bottom: var(--s-3); }
.lead { font-size: var(--fs-lg); line-height: 1.55; max-width: 60ch; }
.eyebrow { font-size: .75rem; margin-bottom: var(--s-3); }
.section-head { margin-bottom: var(--s-6); }
.section-head h2::after { margin-top: var(--s-3); width: 40px; }

.topbar .container { min-height: 34px; }
.site-header .container { min-height: var(--header-h); }
.brand__mark { width: 36px; height: 36px; }
.brand__name { font-size: 1.3rem; letter-spacing: 0; }
.brand__sub { margin-top: .3rem; }
.nav__link { padding: .5rem .7rem; font-weight: 500; }
.btn { min-height: 44px; padding: .6rem 1.25rem; font-size: .9rem; }
.header-actions .btn { min-height: 40px; padding: .5rem 1rem; }

.hero__grid { padding-block: var(--s-7); gap: var(--s-6); }
.hero h1 { font-size: clamp(2.3rem, 1.6rem + 3vw, 3.9rem); margin-bottom: var(--s-4); }
.hero__facts { margin-top: var(--s-4); gap: var(--s-2) var(--s-5); font-size: .9rem; }
.hero__card { width: min(100%, 330px); }
.hero__card figcaption { padding: var(--s-3) var(--s-4); }
.hero__card figcaption strong { font-size: 1.15rem; }
@media (min-width: 900px) { .hero__grid { padding-block: var(--s-8); } }

.page-hero__grid { padding-block: var(--s-4) var(--s-7); gap: var(--s-5); }
.page-hero h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.9rem); }
.breadcrumbs { padding-block: var(--s-3); }
.reviewer { padding: var(--s-3); }
.reviewer img { width: 56px; height: 70px; }
.reviewer strong { font-size: 1.1rem; }

.content-layout { padding-block: var(--s-7) var(--s-8); gap: var(--s-7); }
@media (min-width: 1000px) { .content-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: var(--s-8); } }
.prose { max-width: 68ch; }
.prose h2 { margin-top: var(--s-7); font-size: clamp(1.45rem, 1.2rem + 1vw, 1.95rem); }
.prose h3 { margin-top: var(--s-5); }
.prose .answer { font-size: 1.1rem; padding-left: var(--s-3); }
.toc { padding: var(--s-4); margin-bottom: var(--s-6); }

.grid { gap: var(--s-4); }
.card { padding: var(--s-5); }
.card h3 { font-size: 1.2rem; margin-bottom: var(--s-2); }
.card p { font-size: .9rem; line-height: 1.55; }
.card__icon { width: 36px; height: 36px; margin-bottom: var(--s-3); }
.tag { margin-bottom: var(--s-2); }

.num-list { gap: var(--s-4); }
.num-list li { grid-template-columns: 44px 1fr; gap: var(--s-3); }
.num-list li::before { font-size: 1.75rem; }
.num-list h3, .num-list h4 { font-size: 1.15rem; }

.lawyer-grid { gap: var(--s-4); }
.lawyer__body { padding: var(--s-3) var(--s-4) var(--s-4); }
.lawyer__body h3, .lawyer__body h4 { font-size: 1.1rem; }
.lawyer--compact .lawyer__body { padding: var(--s-2) var(--s-3); }
.lawyer--compact h3 { font-size: 1rem; }

.stage-ex [role="tab"] { padding: var(--s-3) var(--s-4); font-size: 1.1rem; }
.stage-ex [role="tabpanel"] { padding: var(--s-5); }
.timeline li { padding-bottom: var(--s-5); }
.timeline h3 { font-size: 1.2rem; }
.faq summary { font-size: 1.15rem; padding: var(--s-4) 2rem var(--s-4) 0; }

.side-cta { padding: var(--s-5); }
.side-cta h2, .side-cta h3 { font-size: 1.4rem; }
.side-links { padding: var(--s-4); }
.sidebar { gap: var(--s-4); }

.form-panel { padding: var(--s-5); }
.field input, .field select, .field textarea { min-height: 46px; padding: .6rem .8rem; }
.quote { padding: var(--s-5); }
.quote p { font-size: 1.2rem; }
.cta-band.section--tight, .section--tight { padding-block: var(--s-7); }
.site-footer .container { padding-block: var(--s-7) var(--s-5); }
.footer-grid { gap: var(--s-6); }

/* ===== lawyer cards: normal-sized portrait thumbnails ===== */
.lawyer-grid, .lawyer-grid--4, .lawyer-grid--5 { grid-template-columns: repeat(auto-fill, minmax(150px, 190px)); gap: var(--s-4); justify-content: start; }
.lawyer-grid--dense { grid-template-columns: repeat(auto-fill, minmax(112px, 140px)); gap: var(--s-3); justify-content: start; }
.lawyer__img { aspect-ratio: 4 / 5; }
.lawyer__body { padding: var(--s-3); }
.lawyer__body h3, .lawyer__body h4 { font-size: 1rem; line-height: 1.25; }
.lawyer__body p { font-size: .75rem; }
.lawyer--compact .lawyer__body { padding: var(--s-2) var(--s-3); }
.lawyer--compact h3 { font-size: .9rem; }
@media (max-width: 719px) {
  .lawyer-grid, .lawyer-grid--4, .lawyer-grid--5 { grid-template-columns: repeat(2, 1fr); }
  .lawyer-grid--dense { grid-template-columns: repeat(3, 1fr); }
}

/* ===== modern type + spacing system (final layer) ===== */
:root {
  --f-serif: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;   /* headings (name kept for compatibility) */
  --f-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-xs: .8125rem; --fs-sm: .9375rem; --fs-base: 1.0625rem; --fs-lg: 1.1875rem;
  --fs-h1: clamp(2.25rem, 1.6rem + 2.8vw, 3.75rem);
  --fs-h2: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
  --fs-h3: clamp(1.2rem, 1.1rem + .5vw, 1.4rem);
  --s-4: 1rem; --s-5: 1.5rem; --s-6: 2rem; --s-7: 3rem; --s-8: 4rem;
  --s-9: clamp(3rem, 2.3rem + 3.2vw, 5.5rem);
  --container: 1160px; --radius: 6px; --header-h: 68px;
}
body { font-family: var(--f-sans); font-size: var(--fs-base); line-height: 1.7; color: #2b1e14; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--f-serif); font-weight: 700; letter-spacing: -.022em; line-height: 1.15; color: var(--c-brown); margin-bottom: var(--s-4); }
h4 { font-weight: 600; letter-spacing: -.01em; }
.lead { font-size: var(--fs-lg); line-height: 1.6; color: #4d3a2a; max-width: 62ch; }
.eyebrow { font-family: var(--f-sans); font-size: .75rem; font-weight: 600; letter-spacing: .14em; margin-bottom: var(--s-4); }

/* rhythm */
.section { padding-block: var(--s-9); }
.section--tight { padding-block: var(--s-8); }
.section-head { margin-bottom: var(--s-7); max-width: 720px; }
.section-head h2::after { margin-top: var(--s-4); width: 48px; height: 3px; background: var(--c-sand); }
.grid { gap: var(--s-5); }
.split { gap: var(--s-7); }
@media (min-width: 900px) { .split { gap: var(--s-8); } }

/* header + brand */
.site-header .container { min-height: var(--header-h); }
.brand__name { font-family: var(--f-serif); font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; }
.brand__sub { font-size: .625rem; letter-spacing: .3em; }
.nav__link { font-size: .9rem; font-weight: 500; padding: .55rem .8rem; }
.btn { font-family: var(--f-sans); font-weight: 600; letter-spacing: 0; border-radius: var(--radius); min-height: 46px; padding: .65rem 1.4rem; }
.header-actions .btn { min-height: 42px; }

/* hero */
.hero__grid { padding-block: var(--s-8); gap: var(--s-7); }
@media (min-width: 900px) { .hero__grid { padding-block: calc(var(--s-8) + 1rem); gap: var(--s-8); } }
.hero h1 { font-size: clamp(2.5rem, 1.7rem + 3.4vw, 4.25rem); letter-spacing: -.03em; line-height: 1.08; margin-bottom: var(--s-5); }
.hero h1 em { font-style: normal; color: var(--c-clay); text-decoration: underline; text-decoration-color: var(--c-sand); text-decoration-thickness: .1em; text-underline-offset: .1em; }
.hero .lead { margin-bottom: var(--s-5); }
.hero__facts { gap: var(--s-3) var(--s-6); }
.hero__card { width: min(100%, 340px); }
.hero__card figcaption strong { font-family: var(--f-serif); font-weight: 700; font-size: 1.1rem; }

/* page headers */
.page-hero__grid { padding-block: var(--s-4) var(--s-8); gap: var(--s-6); }
.page-hero h1 { font-size: clamp(2rem, 1.5rem + 2.2vw, 3.1rem); }
.reviewer strong { font-family: var(--f-serif); font-weight: 700; }

/* reading layout */
.content-layout { padding-block: var(--s-8) calc(var(--s-8) + 1rem); gap: var(--s-8); }
.prose { max-width: 66ch; font-size: var(--fs-base); line-height: 1.75; }
.prose p { margin-bottom: 1.1rem; }
.prose h2 { margin-top: var(--s-8); margin-bottom: var(--s-4); font-size: clamp(1.5rem, 1.25rem + 1.1vw, 2rem); }
.prose h3 { margin-top: var(--s-6); }
.prose .answer { font-size: 1.15rem; font-weight: 500; line-height: 1.6; color: #2b1e14; border-left: 3px solid var(--c-clay); padding-left: var(--s-4); margin-bottom: var(--s-5); }
.prose ul, .prose ol { margin-bottom: var(--s-5); }
.toc { border-radius: var(--radius); padding: var(--s-5); }

/* cards + components */
.card { padding: var(--s-5) 1.75rem; border-radius: var(--radius); }
.card h3 { font-family: var(--f-serif); font-weight: 700; font-size: 1.15rem; letter-spacing: -.015em; margin-bottom: var(--s-3); }
.card p { font-size: var(--fs-sm); line-height: 1.6; }
.card__icon { width: 38px; height: 38px; margin-bottom: var(--s-4); }
.tag { font-size: .6875rem; border-radius: 3px; }
.num-list { gap: var(--s-5); }
.num-list li { grid-template-columns: 48px 1fr; }
.num-list li::before { font-family: var(--f-serif); font-weight: 800; font-size: 1.5rem; letter-spacing: -.03em; }
.num-list h3, .num-list h4 { font-size: 1.1rem; margin-bottom: .35rem; }
.timeline h3 { font-size: 1.2rem; }
.timeline__when { letter-spacing: .1em; }
.faq summary { font-family: var(--f-serif); font-weight: 600; font-size: 1.1rem; letter-spacing: -.01em; padding: var(--s-5) 2rem var(--s-5) 0; }
.stage-ex { border-radius: var(--radius); overflow: hidden; margin-block: var(--s-6); }
.stage-ex [role="tab"] { font-family: var(--f-serif); font-weight: 700; font-size: 1rem; padding: var(--s-4) var(--s-5); }
.stage-ex [role="tabpanel"] { padding: var(--s-6); }
.quote { border-radius: var(--radius); padding: var(--s-6); }
.quote p { font-family: var(--f-serif); font-weight: 600; font-size: 1.2rem; letter-spacing: -.015em; line-height: 1.4; }
.lawyer, .form-panel, .side-links, .side-proof, .note, .placeholder, .reviewer { border-radius: var(--radius); }
.lawyer__body h3, .lawyer__body h4 { font-family: var(--f-serif); font-weight: 700; letter-spacing: -.01em; font-size: .95rem; }

/* sidebar + forms */
.sidebar { gap: var(--s-5); }
.side-cta { padding: var(--s-6); border-radius: var(--radius); }
.side-cta h2, .side-cta h3 { font-size: 1.35rem; margin-bottom: var(--s-3); }
.side-links { padding: var(--s-5); }
.form { gap: var(--s-5); }
.field label { font-weight: 600; margin-bottom: .4rem; }
.field input, .field select, .field textarea { border-radius: var(--radius); min-height: 48px; }
.form-panel { padding: var(--s-6); }
@media (min-width: 720px) { .form-panel { padding: var(--s-7); } }

/* footer */
.site-footer .container { padding-block: var(--s-8) var(--s-6); }
.site-footer h2 { font-family: var(--f-sans); }
.footer-grid { gap: var(--s-7); }
.footer-legal { margin-top: var(--s-7); padding-top: var(--s-6); }
.trust-bar strong { font-family: var(--f-serif); }


/* ===== mega menu (sub and sub-sub menu) ===== */
.site-header .container { position: relative; }
.has-dd--mega { position: static; }
.dropdown--mega { left: 0; right: 0; top: 100%; min-width: 0; padding: 0; border-top-width: 3px; }
.mega { display: grid; grid-template-columns: 300px 1fr; max-height: min(72vh, 620px); }
.mega__hubs { border-right: 1px solid var(--c-line); overflow-y: auto; padding: var(--s-4); background: var(--c-paper); }
.mega__hubs ul { list-style: none; margin: 0 0 var(--s-3); padding: 0; }
.mega__hubs li { margin: 0; }
.mega__group { font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--c-clay); margin: var(--s-3) 0 var(--s-2); padding-inline: .6rem; }
.mega__group:first-child { margin-top: 0; }
.dropdown .mega__hub { padding: .45rem .6rem; font-size: .9rem; font-weight: 500; border-radius: 4px; color: var(--c-ink); }
.dropdown .mega__hub:hover, .dropdown .mega__hub.is-active, .dropdown .mega__hub:focus-visible { background: #fff; color: var(--c-brown); box-shadow: inset 3px 0 0 var(--c-brown); }
.mega__panels { padding: var(--s-6); overflow-y: auto; }
.mega__title { font-family: var(--f-serif); font-weight: 700; font-size: 1.35rem; margin: 0 0 var(--s-4); }
.dropdown .mega__title a { padding: 0; color: var(--c-brown); display: inline; }
.mega__panel ul { list-style: none; margin: 0 0 var(--s-5); padding: 0; columns: 2; column-gap: var(--s-6); }
.mega__panel li { margin: 0; break-inside: avoid; }
.dropdown .mega__panel li a { padding: .4rem 0; font-size: .92rem; color: var(--c-ink); border-radius: 0; border-bottom: 1px solid var(--c-line); }
.dropdown .mega__panel li a:hover { background: none; color: var(--c-brown); border-bottom-color: var(--c-brown); }
.dropdown .mega__all { display: inline-block; padding: 0; font-weight: 600; font-size: .9rem; color: var(--c-brown); border-bottom: 1px solid currentColor; }
.mega__empty { color: var(--c-ink-soft); font-size: .92rem; margin-bottom: var(--s-4); }
.dropdown--mega .dd-all { margin: 0; border-top: 1px solid var(--c-line); padding: .85rem var(--s-6); background: #fff; }
@media (max-width: 1160px) { .mega { grid-template-columns: 260px 1fr; } .mega__panel ul { columns: 1; } }

/* mobile nested accordion */
.mobile-nav .mnav-sub { padding-left: var(--s-3); }
.mobile-nav .mnav-sub > li { border-bottom: 1px solid var(--c-line); }
.mobile-nav .mnav-hub summary { font-family: var(--f-sans); font-size: 1rem; font-weight: 600; padding: .8rem .25rem; color: var(--c-ink); }
.mobile-nav .mnav-hub ul { padding-left: var(--s-4); margin-bottom: var(--s-3); }
.mobile-nav .mnav-hub ul li { border: 0; }
.mobile-nav .mnav-hub ul a { font-size: .95rem; padding: .5rem .25rem; font-weight: 500; color: var(--c-ink-soft); }
.mobile-nav .mnav-sub > li > a { font-family: var(--f-sans); font-size: 1rem; font-weight: 600; }
.nav__list > li.has-dd--mega { position: static; }
.dropdown--mega { background: #fff; }
.nav__list > li.has-dd--mega > .dropdown--mega { left: 0; right: 0; width: auto; }

/* mega menu: fixed height with inner scrolling so the bottom bar never overlaps the hub list */
.dropdown--mega { display: flex; flex-direction: column; overflow: hidden; }
.dropdown--mega .mega { display: grid; grid-template-columns: 300px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); height: min(calc(100vh - 200px), 600px); min-height: 280px; max-height: none; flex: 0 0 auto; overflow: hidden; }
.dropdown--mega .mega__hubs, .dropdown--mega .mega__panels { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.dropdown--mega .mega__hubs { padding-bottom: var(--s-5); }
.dropdown--mega .dd-all { flex: 0 0 auto; position: static; display: block; background: #fff; border-top: 1px solid var(--c-line); }
.dropdown--mega .mega__hub { line-height: 1.3; }

/* ===== neat, compact enquiry form ===== */
.form-panel { padding: var(--s-5); }
@media (min-width: 720px) { .form-panel { padding: var(--s-6); } }
.form { gap: var(--s-4); }
.form-row { gap: var(--s-4); align-items: start; }
.form-row--2 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.field label { font-size: .875rem; font-weight: 600; margin-bottom: .35rem; line-height: 1.3; white-space: nowrap; }
.field input, .field select, .field textarea { min-height: 44px; padding: .55rem .8rem; font-size: .95rem; }
.field select { padding-right: 2rem; text-overflow: ellipsis; appearance: none; -webkit-appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23664930' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right .8rem center; }
.field textarea { min-height: 96px; }
.fieldset { padding: var(--s-3) var(--s-4) var(--s-4); border-radius: var(--radius); }
.fieldset legend { font-size: .875rem; padding: 0 .35rem; }
.radio-row { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.radio-row label { font-size: .9rem; min-height: 36px; gap: .45rem; white-space: nowrap; }
.radio-row input { width: 17px; height: 17px; }
.form .btn-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: var(--s-3); }
.form .btn-row .btn { width: 100%; min-height: 46px; padding-inline: 1rem; }
.form-note { font-size: .8125rem; line-height: 1.5; margin: 0; }
.form-row--2 { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.form .btn-row { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.form .btn-row .btn { white-space: nowrap; font-size: .9rem; padding-inline: .75rem; }
@media (min-width: 900px) { .split--form { grid-template-columns: .9fr 1.1fr; } }
@media (max-width: 480px) {
  .fieldset { padding-inline: .75rem; }
  .radio-row { gap: .25rem .85rem; }
  .radio-row label { font-size: .85rem; gap: .35rem; }
}

/* ===== language support: fonts, right-to-left, CJK ===== */
html.lang-ar { --f-sans: "Noto Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif; --f-serif: "Noto Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif; }
html.lang-zh { --f-sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", "Hiragino Sans GB", sans-serif; --f-serif: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif; }
html.lang-ar body, html.lang-zh body { line-height: 1.85; letter-spacing: 0; }
html.lang-ar h1, html.lang-ar h2, html.lang-ar h3, html.lang-ar h4, html.lang-zh h1, html.lang-zh h2, html.lang-zh h3, html.lang-zh h4 { letter-spacing: 0; line-height: 1.35; }
html.lang-ar .brand__name, html.lang-zh .brand__name { font-family: "Manrope", "Inter", sans-serif; }
html.lang-ar .eyebrow, html.lang-zh .eyebrow, html.lang-ar .tag, html.lang-zh .tag, html.lang-ar .stage-ex__sub, html.lang-zh .stage-ex__sub, html.lang-ar .mega__group, html.lang-ar .timeline__when, html.lang-zh .timeline__when { letter-spacing: 0; text-transform: none; }
html.lang-zh .hero h1, html.lang-ar .hero h1 { line-height: 1.25; letter-spacing: 0; }
html.lang-zh .prose, html.lang-ar .prose { max-width: 62ch; }
html.lang-zh .prose p { text-align: justify; text-justify: inter-ideograph; }
html.lang-zh .lead { max-width: 40em; }

[dir="rtl"] ul, [dir="rtl"] ol { padding-left: 0; padding-right: 1.2em; }
[dir="rtl"] .skip { left: auto; right: -999px; }
[dir="rtl"] .skip:focus { right: var(--s-4); left: auto; }
[dir="rtl"] .topbar__emerg::before { margin-right: 0; margin-left: .55em; }
[dir="rtl"] .nav__link::after { transform-origin: right; }
[dir="rtl"] .dropdown { left: auto; right: 0; }
[dir="rtl"] .lang__menu { right: auto; left: 0; }
[dir="rtl"] .lang__menu em { margin-right: 0; margin-left: 0; }
[dir="rtl"] .hero__pledge, [dir="rtl"] .prose .answer, [dir="rtl"] .side-proof, [dir="rtl"] .stage-ex__tip { border-left: 0; padding-left: var(--s-4); border-right: 3px solid var(--c-clay); padding-right: var(--s-4); }
[dir="rtl"] .prose .note, [dir="rtl"] .note { border-left: 1px solid var(--c-line); border-right: 3px solid var(--c-clay); }
[dir="rtl"] .form-success { border-left-width: 1px; border-right-width: 4px; }
[dir="rtl"] .hero::before { right: auto; left: -6%; }
[dir="rtl"] .hero__mark { right: auto; left: 3%; }
[dir="rtl"] .hero__card::before { inset: 24px 24px -16px -16px; }
[dir="rtl"] .hero__card img, [dir="rtl"] .hero__card::before { border-radius: 999px 999px 0 0; }
[dir="rtl"] .cta-band::after, [dir="rtl"] .cta-band::before { right: auto; left: -80px; }
[dir="rtl"] .check-list li { padding-left: 0; padding-right: 1.9rem; }
[dir="rtl"] .check-list li::before { left: auto; right: 0; transform: rotate(45deg); border-left: 0; border-right: 2px solid var(--c-clay); }
[dir="rtl"] .on-brown .check-list li::before { border-right-color: var(--c-sand); }
[dir="rtl"] .faq summary { padding: var(--s-4) 0 var(--s-4) 2rem; }
[dir="rtl"] .faq summary::after { right: auto; left: 0; }
[dir="rtl"] .timeline::before { left: auto; right: 7px; }
[dir="rtl"] .timeline li { padding-left: 0; padding-right: var(--s-7); }
[dir="rtl"] .timeline li::before { left: auto; right: 0; }
[dir="rtl"] .stage-ex [role="tab"] { border-right: 0; border-left: 1px solid var(--c-line); text-align: right; }
[dir="rtl"] .card__go::after, [dir="rtl"] .link-arrow::after { content: " \2190"; }
[dir="rtl"] a.card:hover .card__go::after { margin-left: 0; margin-right: 4px; }
[dir="rtl"] a.card::after { transform-origin: right; }
[dir="rtl"] .field select { padding-right: .8rem; padding-left: 2rem; background-position: left .8rem center; }
[dir="rtl"] .trust-bar li { border-left: 0; border-right: 1px solid var(--c-line-dark); padding-left: 0; padding-right: var(--s-5); }
[dir="rtl"] .flag { margin-right: 0; margin-left: .4rem; }
[dir="rtl"] .mobile-nav .mnav-sub { padding-left: 0; padding-right: var(--s-3); }
[dir="rtl"] .mobile-nav .mnav-hub ul { padding-left: 0; padding-right: var(--s-4); }
[dir="rtl"] .progress { left: auto; right: 0; }
[dir="rtl"] .num-list { padding-right: 0; }
[dir="rtl"] .toc ol { padding-right: 1.4em; }
[dir="rtl"] .reviewer { text-align: right; }
[dir="rtl"] input[dir="ltr"], [dir="rtl"] .field input[type="tel"], [dir="rtl"] .field input[type="email"] { text-align: right; }
[dir="rtl"] .fieldset legend { text-align: right; }
@media (min-width: 900px) { [dir="rtl"] .hero__grid { direction: rtl; } }
[dir="rtl"] [dir="ltr"] { unicode-bidi: isolate; direction: ltr; display: inline-block; }
[dir="rtl"] .btn [dir="ltr"], [dir="rtl"] .topbar [dir="ltr"] { display: inline; }

/* Inline language links in the top bar */
.lang-inline { display: flex; list-style: none; margin: 0 .75rem 0 0; padding: 0; gap: .1rem; align-items: center; }
.lang-inline li { margin: 0; }
.lang-inline a, .lang-inline span { display: block; padding: .3rem .5rem; font-size: var(--fs-xs); line-height: 1; border-radius: var(--radius); text-decoration: none; color: inherit; white-space: nowrap; opacity: .85; }
.lang-inline a:hover { opacity: 1; background: rgba(255,255,255,.14); }
.lang-inline span[aria-current="true"] { opacity: 1; font-weight: 600; background: rgba(255,221,187,.25); }
.topbar__right { display: flex; align-items: center; }
.nav__list > li > a, .nav__list > li > button { white-space: nowrap; }

/* Legal icons: trust strip and inline icons */
.trust { background: var(--c-paper, #FFF8F0); border-block: 1px solid var(--c-line); padding-block: var(--s-5); }
.trust__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); }
.trust__list li { margin: 0; display: flex; gap: .85rem; align-items: center; }
.trust__ic { flex: none; width: 40px; height: 40px; padding: 8px; border-radius: 50%; background: #FFDDBB66; color: var(--c-brown); }
.trust__list strong { display: block; font-size: var(--fs-sm); color: var(--c-ink); line-height: 1.3; }
.trust__list span { display: block; font-size: var(--fs-xs); color: var(--c-clay); line-height: 1.4; }
.inline-ic { width: 1.15em; height: 1.15em; margin-inline-end: .45em; vertical-align: -.2em; color: var(--c-clay); }
.h-ic { width: 1.1em; height: 1.1em; margin-inline-end: .4em; vertical-align: -.15em; color: var(--c-clay); }
.quote > .inline-ic { display: block; width: 28px; height: 28px; margin-bottom: var(--s-3); }
.card > .tag + .inline-ic { display: none; }
.card .inline-ic { display: block; width: 30px; height: 30px; margin: 0 0 var(--s-3); color: var(--c-brown); }
.on-brown .card .inline-ic { color: var(--c-clay); }
.num-list h3 .inline-ic { display: inline-block; width: 1.1em; height: 1.1em; margin: 0 .4em 0 0; }
@media (max-width: 900px) { .trust__list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .trust__list { grid-template-columns: 1fr; } }
.num-list li > div > .inline-ic { display: block; width: 26px; height: 26px; margin: 0 0 var(--s-2); color: var(--c-clay); }
.on-brown .num-list li > div > .inline-ic { color: var(--c-sand); }
.quote { position: relative; }

.btn--block { width: 100%; justify-content: center; }
.btn--block svg { width: 1.15em; height: 1.15em; }

html.lang-ko { --f-sans: "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif; --f-serif: "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif; }
html.lang-ko body { line-height: 1.8; letter-spacing: 0; word-break: keep-all; }
html.lang-ko h1, html.lang-ko h2, html.lang-ko h3, html.lang-ko h4 { letter-spacing: 0; line-height: 1.35; word-break: keep-all; }
html.lang-ko .brand__name { font-family: "Manrope", "Inter", sans-serif; }
html.lang-ko .eyebrow, html.lang-ko .tag, html.lang-ko .timeline__when { letter-spacing: 0; text-transform: none; }

.flag--lg { width: 30px; height: 19px; margin-inline-end: .6rem; vertical-align: -.2em; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); display: inline-block; }

/* Language bar above the header */
.langbar { background: #FFF3E6; border-bottom: 1px solid #F0DCC6; }
.langbar .container { display: flex; align-items: center; justify-content: center; gap: 1rem; min-height: 38px; }
.langbar__label { display: inline-flex; align-items: center; gap: .4rem; font-size: .6875rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--c-clay); white-space: nowrap; }
.langbar__label svg { width: 15px; height: 15px; }
.langbar__list { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.langbar__list li { margin: 0; }
.langbar__list a, .langbar__list span { display: block; padding: .3rem .7rem; font-size: .8125rem; line-height: 1.2; color: var(--c-brown); text-decoration: none; border-radius: 999px; transition: background var(--t), color var(--t); }
.langbar__list a:hover { background: #FFDDBB; }
.langbar__list span[aria-current="true"] { background: var(--c-brown); color: #fff; font-weight: 600; }
.header-actions > .lang { display: none; }
@media (max-width: 720px) {
  /* all languages visible at once: label on top, chips wrap into a centred grid */
  .langbar .container { flex-direction: column; align-items: center; gap: .3rem; padding-block: .5rem; }
  .langbar__label { font-size: .75rem; }
  .langbar__list { gap: .35rem .4rem; }
  .langbar__list a, .langbar__list span { white-space: nowrap; padding: .35rem .7rem; font-size: .875rem; min-height: 34px; display: inline-flex; align-items: center; background: rgba(255,255,255,.7); border: 1px solid #F0DCC6; }
  .langbar__list span[aria-current="true"] { border-color: var(--c-brown); }
}

/* rating + map */
.site-footer .rating, .on-brown .rating { color: #ead9c6; }
.site-footer .rating a, .on-brown .rating a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer .rating .stars, .on-brown .rating .stars { color: var(--c-sand); }
.map-embed { margin: var(--s-5) 0; border: 1px solid rgba(255,221,187,.35); border-radius: 6px; overflow: hidden; background: #fff; }
.map-embed iframe { display: block; }
.contact-list a[target="_blank"] { text-decoration: underline; text-underline-offset: 3px; }
.footer-legal .rating { display: flex; margin: 0 0 var(--s-4); }

/* 404 and link lists */
.link-list { list-style: none; margin: var(--s-4) 0 0; padding: 0; display: grid; gap: .5rem; }
.link-list a { text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }
.link-list--inline { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.card .link-list a { color: var(--c-brown); }
