/* =========================================================
   mayurmakwana.com — "forge" theme
   Iron, copper and one ember. Anek (Ek Type, Mumbai) for display and
   interface, Vollkorn for reading, Anek Gujarati for the name.
   ========================================================= */

@font-face {
  font-family: "Anek Latin";
  src: url("../fonts/anek-latin-latin-standard-normal.woff2") format("woff2-variations");
  font-weight: 100 800; font-stretch: 75% 125%; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Anek Latin";
  src: url("../fonts/anek-latin-latin-ext-standard-normal.woff2") format("woff2-variations");
  font-weight: 100 800; font-stretch: 75% 125%; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Anek Gujarati";
  src: url("../fonts/anek-gujarati-name.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
  unicode-range: U+0A80-0AFF, U+200C-200D, U+25CC;
}
@font-face {
  font-family: "Anek Devanagari";
  src: url("../fonts/anek-devanagari-name.woff2") format("woff2");
  font-weight: 100 800; font-style: normal; font-display: swap;
  unicode-range: U+0900-097F, U+200C-200D, U+25CC;
}
@font-face {
  font-family: "Vollkorn";
  src: url("../fonts/vollkorn-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 400 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Vollkorn";
  src: url("../fonts/vollkorn-latin-wght-italic.woff2") format("woff2-variations");
  font-weight: 400 900; font-style: italic; font-display: swap;
}

:root {
  --iron: #1f1c1a;
  --iron-2: #282421;
  --iron-3: #37312d;
  --iron-4: #4a423c;
  --ash: #ece4d8;
  --ash-2: #c9bdae;
  --ash-dim: #a3968a;
  --copper: #cf8446;
  --copper-hi: #efb57f;
  --copper-lo: #8f4f24;
  --ember: #d9301c;

  --forge: linear-gradient(100deg, #8f4f24 0%, #cf8446 35%, #f3c08d 52%, #cf8446 68%, #8f4f24 100%);

  --display: "Anek Latin", "Arial Narrow", system-ui, sans-serif;
  --serif: "Vollkorn", Georgia, "Times New Roman", serif;
  --sans: "Anek Latin", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --native: "Anek Devanagari", "Anek Gujarati", "Noto Sans Devanagari", "Noto Sans Gujarati", "Nirmala UI", "Mangal", "Shruti", sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: 1.65rem;
  --step-3: clamp(1.9rem, 1.4rem + 1.8vw, 2.6rem);
  --step-4: clamp(2.4rem, 1.6rem + 3.4vw, 4rem);
  --step-5: clamp(3.4rem, 1.8rem + 7vw, 7.6rem);

  --wrap: 1200px;
  --gutter: clamp(1.1rem, 3vw, 2.5rem);
  --radius-s: 4px;
  --radius-m: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

body {
  margin: 0;
  background-color: var(--iron);
  /* hammered-iron grain */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .9 0 0 0 0 .8 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--ash);
  font: 400 var(--step-0)/1.6 var(--sans);
  font-stretch: 100%;
  font-feature-settings: "kern";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--copper-hi); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: #fff3e4; }
:focus-visible { outline: 2px solid var(--copper-hi); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--copper); color: var(--iron); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: calc(44rem + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-wide { max-width: calc(64rem + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--copper); color: var(--iron); padding: .6rem 1rem; z-index: 99; }
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(31, 28, 26, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(207, 132, 70, .16); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .75rem; color: var(--ash); text-decoration: none; }
.brand img { width: 58px; height: auto; filter: drop-shadow(0 0 10px rgba(217, 48, 28, .25)); }
.wordmark { display: flex; flex-direction: column; gap: .18rem; padding-left: .75rem; border-left: 1px solid rgba(207, 132, 70, .35); }
.wm-en { font: 700 expanded .98rem/1 var(--display); letter-spacing: .16em; text-transform: uppercase;
  background: linear-gradient(180deg, #fff1df 0%, #efc08f 55%, #b8672f 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wm-en b { font-weight: 800; }
.wm-native { font: 500 .84rem/1.1 var(--native); color: var(--copper); letter-spacing: .02em; opacity: .9; }
.brand:hover .wm-en { background: linear-gradient(180deg, #fff 0%, #f6d3ae 60%, #cf8446 100%); -webkit-background-clip: text; background-clip: text; }
@media (max-width: 420px) { .wm-en { font-size: .82rem; letter-spacing: .1em; } .brand img { width: 46px; } }
.site-nav .menu { display: flex; gap: .1rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.mi { position: relative; display: flex; align-items: center; }
.site-nav a { color: var(--ash-2); text-decoration: none; padding: .5rem .7rem; border-radius: var(--radius-s); font-weight: 500; white-space: nowrap; }
.site-nav a:hover { color: var(--ash); background: var(--iron-2); }
.mi > a[aria-current="page"], .mi.has-sub:has(.sub a[aria-current]) > a { color: var(--copper-hi); box-shadow: inset 0 -2px 0 var(--copper); border-radius: 0; }
.has-sub > a { padding-right: .2rem; }
.sub-toggle { background: none; border: 0; color: var(--ash-dim); padding: .5rem .45rem .5rem .1rem; cursor: pointer; display: grid; place-items: center; }
.sub-toggle:hover { color: var(--ash); }
.mi.open .sub-toggle svg { transform: rotate(180deg); }
.sub { position: absolute; top: calc(100% + 4px); left: 0; min-width: 210px; list-style: none; margin: 0; padding: .4rem; background: var(--iron-2); border: 1px solid var(--iron-4); border-radius: 8px; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .7); display: none; z-index: 50; }
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.sub a { display: block; padding: .55rem .75rem; }
.sub a[aria-current="page"] { color: var(--copper-hi); }
.mi.open > .sub { display: block; }
@media (hover: hover) and (min-width: 1101px) { .mi.has-sub:hover > .sub, .mi.has-sub:focus-within > .sub { display: block; } }
.nav-toggle { display: none; background: none; border: 1px solid var(--iron-4); border-radius: var(--radius-s); width: 44px; height: 40px; color: var(--ash); cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 18px; height: 2px; background: currentColor; margin: 0 auto; position: relative; transition: transform .2s; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -6px; } .bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--iron); border-bottom: 1px solid var(--iron-3); padding: .5rem var(--gutter) 1rem; display: none; max-height: calc(100vh - 64px); overflow-y: auto; }
  .site-nav.open { display: block; }
  .site-nav .menu { flex-direction: column; align-items: stretch; }
  .mi { flex-wrap: wrap; border-bottom: 1px solid var(--iron-3); }
  .mi > a { flex: 1; padding: .8rem 0; }
  .mi > a[aria-current="page"], .mi.has-sub:has(.sub a[aria-current]) > a { box-shadow: none; }
  .sub-toggle { display: none; }
  .sub { position: static; display: block; background: none; border: 0; box-shadow: none; padding: 0 0 .5rem 1rem; width: 100%; min-width: 0; }
  .sub a { padding: .5rem 0; color: var(--ash-dim); }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .78rem 1.3rem; border-radius: var(--radius-s); font: 600 .98rem/1 var(--sans); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background-color .15s, color .15s, border-color .15s; }
.btn-copper { background: var(--forge); background-size: 200% 100%; background-position: 30% 0; color: #22150b; border-color: var(--copper-lo); box-shadow: inset 0 1px 0 rgba(255, 230, 200, .45), 0 6px 18px -8px rgba(207, 132, 70, .7); }
.btn-copper:hover { color: #1a0f06; background-position: 60% 0; }
.btn-ghost { color: var(--ash); border-color: var(--iron-4); background: rgba(40, 36, 33, .6); }
.btn-ghost:hover { border-color: var(--copper); color: var(--copper-hi); }
.text-link { font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* ---------- shared type ---------- */
.section-title { font: 700 semi-condensed var(--step-3)/1.05 var(--display); letter-spacing: -.01em; margin: 0 0 1.4rem; color: var(--ash); }
.section-title.small { font-size: var(--step-2); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.section-head .section-title { margin: 0; }
.page-head { padding: clamp(3rem, 7vw, 5.5rem) 0 2rem; }
.page-title { font: 700 semi-condensed var(--step-4)/1 var(--display); letter-spacing: -.015em; margin: 0 0 1rem; }
.page-lede { font: 400 var(--step-1)/1.5 var(--serif); color: var(--ash-2); max-width: 38rem; margin: 0; }
.post-meta { display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin: 0 0 .5rem; font-size: var(--step--1); color: var(--ash-dim); }
.post-meta a { color: var(--copper); text-decoration: none; font-weight: 600; }
.post-meta a:hover { color: var(--copper-hi); }
.empty { color: var(--ash-dim); font-style: italic; font-family: var(--serif); font-size: var(--step-1); }

/* ---------- prose (articles) ---------- */
.prose { font: 400 1.15rem/1.7 var(--serif); color: #e6ddd0; }
.prose > * { margin: 0 0 1.25em; }
.prose h2 { font: 600 semi-condensed var(--step-2)/1.2 var(--display); margin: 2em 0 .6em; color: var(--ash); letter-spacing: -.01em; }
.prose h3 { font: 600 semi-condensed var(--step-1)/1.3 var(--display); margin: 1.8em 0 .5em; color: var(--ash); }
.prose a { color: var(--copper-hi); }
.prose strong { color: #fff6ea; font-weight: 650; }
.prose blockquote { margin: 1.8em 0; padding: .2em 0 .2em 1.4em; border-left: 3px solid var(--copper); font-style: italic; color: var(--ash); font-size: 1.12em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--copper); }
.prose img { border-radius: var(--radius-s); margin: 2em auto; }
.prose figure { margin: 2em 0; }
.prose figcaption { font: 400 var(--step--1)/1.5 var(--sans); color: var(--ash-dim); margin-top: .5rem; }
.prose pre { background: var(--iron-2); border: 1px solid var(--iron-3); padding: 1rem 1.2rem; border-radius: var(--radius-s); overflow-x: auto; font-size: .88rem; line-height: 1.55; }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88em; background: var(--iron-2); padding: .1em .35em; border-radius: 3px; }
.prose pre code { background: none; padding: 0; }
.prose hr { border: 0; height: 1px; background: var(--iron-4); margin: 2.5em 0; }
.prose iframe { width: 100%; aspect-ratio: 16/9; height: auto; border: 0; border-radius: var(--radius-s); }
.prose .ql-align-center { text-align: center; }
.prose .ql-align-right { text-align: right; }
.prose .ql-video { width: 100%; aspect-ratio: 16/9; height: auto; }
.prose table { width: 100%; border-collapse: collapse; font: 400 .95rem/1.5 var(--sans); }
.prose th, .prose td { border-bottom: 1px solid var(--iron-3); padding: .55rem .6rem; text-align: left; }

/* ---------- HERO ---------- */
.hero { position: relative; overflow: hidden; padding-top: clamp(2rem, 5vw, 4rem); border-bottom: 1px solid var(--iron-3);
  background: radial-gradient(ellipse 55% 60% at 74% 48%, rgba(207, 132, 70, .20), transparent 70%), radial-gradient(ellipse 30% 30% at 74% 40%, rgba(217, 48, 28, .10), transparent 70%); }
.hero-emblem { position: absolute; right: -4%; top: 50%; transform: translateY(-52%); width: min(74vw, 980px); opacity: .22; pointer-events: none; filter: saturate(.9); mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 40%, transparent 78%); -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 40%, transparent 78%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: end; gap: 2rem; }
.hero-copy { padding-bottom: clamp(3rem, 8vw, 6.5rem); }
.hero-kicker { font: italic 500 var(--step-1)/1.2 var(--serif); color: var(--copper); margin: 0 0 .6rem; }
.hero-name { font: 800 condensed var(--step-5)/.86 var(--display); letter-spacing: .005em; text-transform: uppercase; margin: 0 0 1.4rem;
  background: linear-gradient(180deg, #fff4e6 0%, #ecd9c3 55%, #c99a72 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lede { font: 400 var(--step-1)/1.5 var(--serif); color: var(--ash-2); max-width: 31rem; margin: 0 0 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2rem; }
.hero-based { font-size: var(--step--1); color: var(--ash-dim); margin: 0; }
.hero-portrait { margin: 0; align-self: end; display: flex; justify-content: center; }
.hero-portrait img { width: 100%; max-width: 440px; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); }

/* the one orchestrated moment: emblem warms up on load */
@media (prefers-reduced-motion: no-preference) {
  .hero-emblem { animation: heat 2.4s ease-out both; }
  .hero-portrait img { animation: rise 1s .15s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes heat { from { opacity: 0; filter: brightness(2.2) saturate(0); } to { opacity: .22; filter: saturate(.9); } }
  @keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 0; }
  .hero-portrait img { max-width: 330px; }
  .hero-emblem { width: 140vw; right: -20vw; top: 70%; }
}

/* ---------- heritage + nameplate ---------- */
.heritage { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.heritage-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.heritage-text h2 { font: 600 semi-condensed var(--step-4)/1.02 var(--display); letter-spacing: -.015em; margin: 0 0 1.5rem; color: var(--ash); }
.heritage-text p:first-of-type::first-letter { float: left; font: 700 semi-condensed 4.1em/.8 var(--display); padding: .06em .1em 0 0; color: var(--copper); }

.nameplate { position: sticky; top: 96px; padding: 1.8rem 1.8rem 1.4rem; border-radius: 6px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 3px),
    linear-gradient(160deg, #3d3631, #2a2522 60%, #332c28);
  border: 1px solid #564b43;
  box-shadow: inset 0 1px 0 rgba(255, 235, 210, .12), inset 0 -2px 0 rgba(0, 0, 0, .35), 0 24px 40px -24px rgba(0, 0, 0, .8); }
.rivet { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f3c08d, #8f4f24 70%); box-shadow: 0 1px 1px rgba(0, 0, 0, .6); }
.rivet.tl { top: 10px; left: 10px; } .rivet.tr { top: 10px; right: 10px; } .rivet.bl { bottom: 10px; left: 10px; } .rivet.br { bottom: 10px; right: 10px; }
.plate-maker { margin: 0 0 1rem; text-align: center; font: 600 1.05rem/1 var(--sans); font-stretch: 78%; letter-spacing: .14em; color: var(--copper-hi); text-transform: uppercase; padding-bottom: .9rem; border-bottom: 1px solid #5a4f46; }
.nameplate dl { margin: 0; }
.nameplate dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .7rem 0; border-bottom: 1px dashed #5a4f46; }
.nameplate dt { color: var(--ash-2); font-size: .95rem; }
.nameplate dd { margin: 0; font: 700 semi-condensed 1.7rem/1 var(--display); color: var(--ash); font-variant-numeric: lining-nums; }
.plate-foot { margin: 1rem 0 0; font: italic 400 .98rem/1.45 var(--serif); color: var(--ash-dim); text-align: center; }

@media (max-width: 860px) {
  .heritage-grid { grid-template-columns: 1fr; }
  .nameplate { position: relative; top: 0; }
}

/* ---------- ventures timeline ---------- */
.ventures { padding: clamp(1rem, 3vw, 2.5rem) 0 clamp(3rem, 7vw, 5.5rem); background: linear-gradient(180deg, transparent, rgba(40, 36, 33, .65) 30%, rgba(40, 36, 33, .65) 70%, transparent); }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 10.5rem; top: .5rem; bottom: .5rem; width: 2px; background: linear-gradient(180deg, var(--copper), var(--copper-lo) 80%, transparent); }
.timeline li { display: grid; grid-template-columns: 10.5rem 1fr; gap: 0 2.2rem; padding: 0 0 2.4rem; position: relative; }
.timeline li::before { content: ""; position: absolute; left: calc(10.5rem - 6px); top: .55rem; width: 14px; height: 14px; border-radius: 50%; background: var(--iron); border: 2px solid var(--copper); }
.timeline li:first-child::before { background: var(--ember); border-color: #f08a6e; box-shadow: 0 0 0 5px rgba(217, 48, 28, .18); }
.tl-year { font: 600 .98rem/1.6 var(--sans); color: var(--ash-dim); text-align: right; padding-right: 1.4rem; font-variant-numeric: tabular-nums; }
.tl-body h3 { font: 600 semi-condensed var(--step-2)/1.15 var(--display); margin: 0 0 .2rem; letter-spacing: -.01em; }
.tl-body h3 a { color: var(--ash); text-decoration: none; }
.tl-body h3 a:hover { color: var(--copper-hi); }
.tl-role { color: var(--copper); font-weight: 600; margin: 0 0 .4rem; }
.tl-body p:last-child { margin: 0; color: var(--ash-2); max-width: 40rem; }
@media (max-width: 640px) {
  .timeline::before { left: 6px; }
  .timeline li { grid-template-columns: 1fr; padding-left: 2rem; }
  .timeline li::before { left: 0; }
  .tl-year { text-align: left; padding: 0; }
}

/* ---------- latest writing ---------- */
.latest { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.latest-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); }
.lead-post h3 { font: 600 semi-condensed var(--step-3)/1.1 var(--display); margin: .2rem 0 .8rem; letter-spacing: -.02em; }
.lead-post h3 a { color: var(--ash); text-decoration: none; }
.lead-post h3 a:hover { color: var(--copper-hi); }
.lead-post > p:last-child { color: var(--ash-2); font: 400 1.12rem/1.6 var(--serif); margin: 0; }
.lead-img img { aspect-ratio: 16/9; object-fit: cover; width: 100%; border-radius: var(--radius-s); margin-bottom: 1.1rem; }
.post-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--iron-3); }
.post-rows li { padding: 1rem 0; border-bottom: 1px solid var(--iron-3); }
.post-rows a { color: var(--ash); text-decoration: none; font: 600 semi-condensed 1.2rem/1.3 var(--display); }
.post-rows a:hover { color: var(--copper-hi); }
.post-rows .post-meta span { color: var(--copper); font-weight: 600; }
@media (max-width: 860px) { .latest-grid { grid-template-columns: 1fr; } }

/* ---------- travel teaser ---------- */
.travel-teaser { padding: clamp(3rem, 7vw, 5rem) 0; border-top: 1px solid var(--iron-3); }
.teaser-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.teaser-globe .globe { aspect-ratio: 1; max-width: 520px; margin: 0 auto; }
.teaser-copy > p { color: var(--ash-2); font: 400 1.15rem/1.6 var(--serif); max-width: 34rem; }
.flag-list { list-style: none; padding: 0; margin: 1.4rem 0 1.8rem; display: flex; flex-wrap: wrap; gap: .45rem; }
.flag-list a { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .7rem; border: 1px solid var(--iron-4); border-radius: 999px; color: var(--ash-2); text-decoration: none; font-size: .92rem; }
.flag-list a:hover { border-color: var(--copper); color: var(--ash); }
.flag { font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
@media (max-width: 860px) { .teaser-grid { grid-template-columns: 1fr; } }

/* ---------- connect ---------- */
.connect { padding: clamp(3rem, 7vw, 5rem) 0; background: radial-gradient(ellipse 60% 100% at 50% 100%, rgba(207, 132, 70, .16), transparent 70%); border-top: 1px solid var(--iron-3); }
.connect-inner { text-align: center; }
.connect-inner > p { color: var(--ash-2); font: 400 1.15rem/1.6 var(--serif); max-width: 36rem; margin: 0 auto 1.8rem; }
.connect-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--iron-3); padding: 3rem 0 1.5rem; background: #1a1816; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 2rem; align-items: start; }
.footer-mark img { width: 96px; margin-bottom: .8rem; }
.footer-mark p { color: var(--ash-dim); margin: 0; max-width: 24rem; font: italic 400 1rem/1.5 var(--serif); }
.footer-nav { display: grid; grid-template-columns: repeat(2, max-content); gap: .4rem 2rem; }
.footer-nav a, .footer-social a { color: var(--ash-2); text-decoration: none; }
.footer-nav a:hover, .footer-social a:hover { color: var(--copper-hi); }
.footer-social { display: flex; gap: .5rem; }
.footer-social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--iron-4); border-radius: 50%; }
.footer-base { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1.2rem; background: linear-gradient(var(--iron-3), var(--iron-3)) center top / calc(100% - 2 * var(--gutter)) 1px no-repeat; color: var(--ash-dim); font-size: var(--step--1); }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; } .footer-base { flex-direction: column; } }

/* ---------- blog index ---------- */
.blog-index { padding-bottom: 5rem; }
.blog-tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--iron-3); margin-bottom: .5rem; }
.cat-tabs { display: flex; flex-wrap: wrap; gap: .4rem; }
.cat-tabs a { color: var(--ash-2); text-decoration: none; padding: .45rem .85rem; border-radius: 999px; border: 1px solid var(--iron-4); font-size: .94rem; }
.cat-tabs a:hover { color: var(--ash); border-color: var(--copper-lo); }
.cat-tabs a[aria-current="page"] { background: var(--copper); border-color: var(--copper); color: #22150b; font-weight: 600; }
.cat-tabs .count { opacity: .65; font-variant-numeric: tabular-nums; margin-left: .15rem; }
.search { display: flex; border: 1px solid var(--iron-4); border-radius: var(--radius-s); overflow: hidden; background: var(--iron-2); }
.search input { background: transparent; border: 0; color: var(--ash); padding: .6rem .8rem; font: inherit; font-size: .95rem; width: 14rem; }
.search input:focus { outline: none; }
.search:focus-within { border-color: var(--copper); }
.search button { background: var(--iron-3); border: 0; color: var(--ash); padding: 0 1rem; font: 600 .9rem var(--sans); cursor: pointer; }
.search button:hover { background: var(--iron-4); }
.result-note { color: var(--ash-dim); margin: 1rem 0; }
.post-list { list-style: none; margin: 0; padding: 0; }
.post-item { display: grid; grid-template-columns: 1fr; gap: 2rem; padding: 2rem 0; border-bottom: 1px solid var(--iron-3); }
.post-item.has-img { grid-template-columns: minmax(0, 1fr) 240px; }
.post-item h2 { font: 600 semi-condensed var(--step-2)/1.15 var(--display); margin: .1rem 0 .55rem; letter-spacing: -.012em; }
.post-item h2 a { color: var(--ash); text-decoration: none; }
.post-item h2 a:hover { color: var(--copper-hi); }
.post-excerpt { color: var(--ash-2); margin: 0; max-width: 42rem; font: 400 1.08rem/1.6 var(--serif); }
.post-item-img img { aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-s); width: 100%; }
@media (max-width: 640px) { .post-item.has-img { grid-template-columns: 1fr; } .post-item-img { order: -1; } .search input { width: 100%; } .search { width: 100%; } }
.pager { display: flex; justify-content: space-between; align-items: center; padding: 2rem 0; color: var(--ash-dim); }
.pager a { font-weight: 600; text-decoration: none; }

/* ---------- article ---------- */
.article { padding: clamp(2.5rem, 6vw, 4.5rem) 0 3rem; }
.article-title { font: 700 semi-condensed var(--step-4)/1.04 var(--display); letter-spacing: -.012em; margin: .4rem 0 1rem; }
.article-dek { font: italic 400 var(--step-1)/1.45 var(--serif); color: var(--ash-2); margin: 0 0 2rem; }
.article-cover { margin: 1rem auto 2.8rem; }
.article-cover img { width: 100%; border-radius: var(--radius-s); }
.article-body { margin-top: 1.5rem; }
.draft-flag { display: inline-block; background: var(--ember); color: #fff; padding: .3rem .7rem; border-radius: var(--radius-s); font-size: .88rem; font-weight: 600; }
.article-foot { margin-top: 3rem; }
.tags { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.tags a { font-size: .88rem; color: var(--ash-2); text-decoration: none; border: 1px solid var(--iron-4); padding: .25rem .65rem; border-radius: 999px; }
.tags a:hover { border-color: var(--copper); color: var(--ash); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.1rem; padding: 1rem 0; border-top: 1px solid var(--iron-3); border-bottom: 1px solid var(--iron-3); font-size: .95rem; }
.share span { color: var(--ash-dim); }
.share a { text-decoration: none; font-weight: 600; }
.copy-link { background: none; border: 0; color: var(--copper-hi); font: 600 .95rem var(--sans); cursor: pointer; padding: 0; }
.byline { display: flex; gap: 1rem; align-items: center; margin-top: 2rem; }
.byline img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 8%; background: var(--iron-3); border: 2px solid var(--copper-lo); flex: none; }
.byline p { margin: 0; color: var(--ash-2); font-size: .98rem; }
.byline strong { color: var(--ash); }
.related { padding: 2rem 0 5rem; border-top: 1px solid var(--iron-3); }
.related-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem 2rem; }
.related-list a { color: var(--ash); text-decoration: none; font: 600 semi-condensed 1.18rem/1.3 var(--display); }
.related-list a:hover { color: var(--copper-hi); }
.related-list .post-meta span { color: var(--copper); font-weight: 600; }

/* ---------- about ---------- */
.about-head { padding-bottom: 0; border-bottom: 1px solid var(--iron-3); background: radial-gradient(ellipse 40% 70% at 82% 70%, rgba(207, 132, 70, .16), transparent 70%); }
.about-head-grid { display: grid; grid-template-columns: 1fr 280px; gap: 2rem; align-items: end; }
.about-head-grid > div { padding-bottom: 3rem; }
.about-portrait { width: 100%; max-height: 420px; object-fit: contain; object-position: bottom; }
.about-body { padding: clamp(3rem, 6vw, 5rem) 0; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); }
.about-side { display: flex; flex-direction: column; gap: 1.6rem; }
.side-block { padding: 1.3rem 1.4rem; border: 1px solid var(--iron-3); border-radius: var(--radius-s); background: rgba(40, 36, 33, .55); }
.side-block h2 { font: 600 semi-condensed 1.15rem/1.2 var(--display); margin: 0 0 .7rem; color: var(--copper-hi); }
.side-block ul { list-style: none; padding: 0; margin: 0; }
.side-block li { padding: .45rem 0; border-bottom: 1px solid var(--iron-3); color: var(--ash-2); font-size: .97rem; }
.side-block li:last-child { border-bottom: 0; }
.side-social a { display: inline-flex; gap: .5rem; align-items: center; text-decoration: none; }
.mark-story { padding: clamp(3rem, 6vw, 5rem) 0 6rem; border-top: 1px solid var(--iron-3); background: radial-gradient(ellipse 45% 70% at 25% 50%, rgba(207, 132, 70, .13), transparent 70%); }
.mark-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.mark-grid h2 { margin-top: 0; }
@media (max-width: 860px) {
  .about-head-grid, .about-grid, .mark-grid { grid-template-columns: 1fr; }
  .about-portrait { max-width: 240px; margin: 0 auto; }
  .about-head-grid > div { padding-bottom: 0; }
}

/* ---------- travel atlas ---------- */
.atlas { padding: clamp(1.5rem, 4vw, 3rem) 0 3rem; }
.atlas-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.atlas-stage { position: sticky; top: 80px; }
.atlas-stage .globe { aspect-ratio: 1; width: 100%; max-height: calc(100vh - 140px); margin: 0 auto; }
.globe { position: relative; touch-action: none; user-select: none; -webkit-user-select: none; }
.globe svg { width: 100%; height: 100%; display: block; clip-path: circle(49.6% at 50% 50%); }
.globe[data-mode="full"] svg { cursor: grab; }
.globe[data-mode="full"].dragging svg { cursor: grabbing; }
.globe .ocean { fill: url(#oceanGrad); }
.globe .graticule { fill: none; stroke: rgba(236, 228, 216, .06); stroke-width: .6; }
.globe .land { fill: #3b3430; stroke: #1f1c1a; stroke-width: .5; transition: fill .2s; }
.globe .land.visited { fill: var(--copper); cursor: pointer; }
.globe .land.visited:hover, .globe .land.visited.hover { fill: var(--copper-hi); }
.globe .land.visited.active { fill: #f6c896; }
.globe .rim { fill: none; stroke: rgba(239, 181, 127, .35); stroke-width: 1; }
.globe .pin { fill: var(--ember); stroke: #ffd9cc; stroke-width: 1; cursor: pointer; }
.globe .pin.active { stroke-width: 2; }
.globe .pin-halo { fill: none; stroke: var(--ember); opacity: .5; }
.globe[data-mode="full"]::after { content: ""; position: absolute; inset: .4%; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(239, 181, 127, .18); pointer-events: none; }
.globe-tip { position: absolute; pointer-events: none; background: var(--iron); border: 1px solid var(--copper-lo); color: var(--ash); padding: .3rem .6rem; border-radius: var(--radius-s); font-size: .88rem; white-space: nowrap; transform: translate(-50%, -130%); opacity: 0; transition: opacity .12s; z-index: 5; }
.globe-tip.show { opacity: 1; }
.globe-controls { display: flex; gap: .4rem; justify-content: center; margin-top: .8rem; }
.globe-controls button { min-width: 40px; height: 36px; background: var(--iron-2); border: 1px solid var(--iron-4); color: var(--ash); border-radius: var(--radius-s); cursor: pointer; font: 600 1rem var(--sans); padding: 0 .8rem; }
.globe-controls button:hover { border-color: var(--copper); }
.globe-hint { text-align: center; color: var(--ash-dim); font-size: var(--step--1); margin: .6rem 0 0; }
.atlas-panel .page-title { font-size: var(--step-4); }
.atlas-count { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; color: var(--ash-dim); margin: 1.4rem 0; }
.atlas-count strong { color: var(--copper-hi); font: 700 semi-condensed 1.5rem/1 var(--display); margin-right: .2rem; }

.panel-country { scroll-margin-top: 84px; }
.panel-country .back { background: none; border: 0; color: var(--copper-hi); font: 600 .95rem var(--sans); cursor: pointer; padding: .3rem 0; margin-bottom: 1rem; }
.pc-title { font: 650 semi-condensed var(--step-4)/1 var(--display); letter-spacing: -.025em; margin: 0 0 1.2rem; display: flex; align-items: center; gap: .8rem; }
.pc-title .flag { font-size: .8em; }
.pc-summary { color: var(--ash-2); font: 400 1.1rem/1.6 var(--serif); }
.pc-section { margin-top: 1.8rem; }
.pc-section h3 { font: 600 1.1rem/1.2 var(--sans); color: var(--ash-dim); margin: 0 0 .8rem; }
.pc-more { display: inline-block; margin-top: 1.4rem; }
@media (max-width: 900px) {
  .atlas-grid { grid-template-columns: 1fr; }
  .atlas-stage { position: static; }
  .atlas-stage .globe { max-width: 560px; }
}

/* passport stamps for years */
.stamps { list-style: none; padding: 0; margin: 0 0 1.4rem; display: flex; flex-wrap: wrap; gap: .9rem; }
.stamp { --r: -3deg; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-width: 76px; padding: .35rem .7rem .4rem; border: 2px solid var(--ember); outline: 1px solid var(--ember); outline-offset: 2px; border-radius: 8px; color: #f07a62; transform: rotate(var(--r)); background: rgba(217, 48, 28, .06); }
.stamp-code { font: 600 .7rem/1 var(--sans); font-stretch: 75%; letter-spacing: .2em; opacity: .85; }
.stamp-year { font: 700 1.35rem/1.1 var(--sans); font-stretch: 75%; letter-spacing: .04em; }
.stamp.muted { border-color: var(--iron-4); outline-color: var(--iron-4); color: var(--ash-dim); background: none; }
.stamp.muted .stamp-year { font-size: .95rem; font-weight: 500; }

/* galleries */
.gallery { list-style: none; padding: 0; margin: 0 0 2.5rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .6rem; }
.panel-country .gallery { grid-template-columns: repeat(3, 1fr); }
.gallery a { display: block; overflow: hidden; border-radius: var(--radius-s); background: var(--iron-2); aspect-ratio: 1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.04); }
.country-head .page-title { display: flex; align-items: center; gap: .9rem; }
.crumbs { margin: 0 0 1rem; } .crumbs a { text-decoration: none; font-weight: 600; }
.country-photos { padding-bottom: 4rem; }
.back-link { margin-top: 1rem; }
.diary-links { list-style: none; padding: 0; margin: 0; }
.diary-links li { border-bottom: 1px solid var(--iron-3); }
.diary-links a { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; color: var(--ash); text-decoration: none; font: 600 semi-condensed 1.05rem/1.3 var(--display); }
.diary-links a:hover { color: var(--copper-hi); }
.diary-links span { color: var(--ash-dim); font: 400 .9rem var(--sans); }

.recent-diaries, .country-diaries { padding: 2rem 0 3rem; border-top: 1px solid var(--iron-3); }
.diary-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.6rem; }
.diary-cards a { display: flex; flex-direction: column; gap: .35rem; text-decoration: none; color: var(--ash); }
.diary-cards img { aspect-ratio: 3/2; object-fit: cover; width: 100%; border-radius: var(--radius-s); margin-bottom: .5rem; }
.dc-meta { color: var(--copper); font-size: .9rem; font-weight: 600; }
.dc-title { font: 600 semi-condensed 1.25rem/1.25 var(--display); }
.dc-ex { color: var(--ash-2); font-size: .97rem; }
.diary-cards a:hover .dc-title { color: var(--copper-hi); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(14, 12, 11, .95); display: none; align-items: center; justify-content: center; flex-direction: column; padding: 3.5rem 1rem 1.2rem; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 8rem); object-fit: contain; border-radius: 3px; }
.lightbox p { color: var(--ash-2); margin: .9rem 0 0; text-align: center; max-width: 50rem; }
.lb-btn { position: absolute; background: rgba(40, 36, 33, .85); border: 1px solid var(--iron-4); color: var(--ash); width: 46px; height: 46px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { border-color: var(--copper); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; } .lb-next { right: 1rem; top: 50%; }

/* ---------- forms ---------- */
.contact { padding-bottom: 5rem; }
.form { display: grid; gap: 1.2rem; margin-top: 1rem; }
.field label { display: block; font-weight: 600; margin-bottom: .4rem; }
.field .opt { color: var(--ash-dim); font-weight: 400; }
.field input, .field textarea { width: 100%; background: var(--iron-2); border: 1px solid var(--iron-4); color: var(--ash); border-radius: var(--radius-s); padding: .75rem .9rem; font: inherit; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--copper); box-shadow: 0 0 0 3px rgba(207, 132, 70, .2); }
.field.has-error input, .field.has-error textarea { border-color: var(--ember); }
.error { color: #f3826b; margin: .35rem 0 0; font-size: .92rem; }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -5000px; }
.notice { padding: .9rem 1.1rem; border-radius: var(--radius-s); margin-bottom: 1rem; }
.notice.ok { background: rgba(207, 132, 70, .14); border: 1px solid var(--copper-lo); color: var(--ash); }
.contact-alt { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--iron-3); display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.4rem; }
.contact-alt p { margin: 0; color: var(--ash-dim); }
.contact-alt a { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; font-weight: 600; }

.error-page { padding-bottom: 6rem; }
.error-code { font: 700 semi-condensed 5rem/1 var(--display); margin: 0; background: var(--forge); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-page .btn { margin: 1.5rem .5rem 0 0; }


/* =========================================================
   Version 2
   ========================================================= */

.chip { display: inline-flex; align-items: center; gap: .3rem; padding: .42rem .8rem; border-radius: 999px; border: 1px solid var(--iron-4); background: transparent; color: var(--ash-2); font: 500 .92rem/1.2 var(--sans); cursor: pointer; white-space: nowrap; }
.chip:hover { border-color: var(--copper-lo); color: var(--ash); }
.chip.on { background: var(--copper); border-color: var(--copper); color: #22150b; font-weight: 600; }
.chip .count { opacity: .65; font-variant-numeric: tabular-nums; }
.field select { width: 100%; background: var(--iron-2); border: 1px solid var(--iron-4); color: var(--ash); border-radius: var(--radius-s); padding: .75rem .9rem; font: inherit; }

/* ---------- factory wall ---------- */
.wall-head { padding-bottom: 1.2rem; }
.wall-tools { display: flex; gap: 1rem; justify-content: space-between; align-items: center; flex-wrap: wrap; padding-bottom: 1rem; }
.ind-chips { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: thin; padding-bottom: .3rem; flex: 1 1 520px; mask-image: linear-gradient(90deg, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); padding-right: 2rem; }
.wall-search input { width: 15rem; }
.wall-status { color: var(--ash-dim); min-height: 1.5em; margin: 0 0 .6rem; font-size: .95rem; }
.wall-wrap { padding: 0 max(var(--gutter), calc((100vw - 1480px) / 2)); }
.wall { --u: 46px; display: grid; grid-template-columns: repeat(auto-fill, minmax(var(--u), 1fr)); grid-auto-rows: var(--u); grid-auto-flow: dense; gap: 4px; }
.wall .t { display: block; border-radius: 3px; min-width: 0; position: relative; }
.wall .f { background: #282321; box-shadow: inset 0 1px 0 rgba(255, 235, 210, .035), inset 0 -1px 0 rgba(0, 0, 0, .35); }
.wall .f2 { background: #2c2724; } .wall .f3 { background: #24201d; }
.wall .f4 { background: linear-gradient(135deg, #2e2622, #2a2420); box-shadow: inset 0 0 0 1px rgba(207, 132, 70, .08); }
.wall .f.t-w { grid-column: span 2; } .wall .f.t-t { grid-row: span 2; } .wall .f.t-b { grid-column: span 2; grid-row: span 2; }
.wall .c { grid-column: span 3; grid-row: span 2; border: 0; padding: 0; cursor: pointer; overflow: hidden; display: grid; place-items: center; text-decoration: none; font: inherit;
  background: linear-gradient(160deg, #3a332e, #2b2522); box-shadow: inset 0 0 0 1px rgba(207, 132, 70, .32), inset 0 1px 0 rgba(255, 230, 200, .08); transition: transform .15s, box-shadow .15s, opacity .2s; }
.wall .c.t-s { grid-column: span 2; grid-row: span 2; }
.wall .c.t-w { grid-column: span 4; grid-row: span 2; }
.wall .c.t-l { grid-column: span 4; grid-row: span 3; }
.wall .c.has-logo { background: linear-gradient(165deg, #f4efe7, #ddd5c9); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6), inset 0 -2px 0 rgba(0, 0, 0, .12); }
.wall .c img { width: 100%; height: 100%; object-fit: contain; padding: 12%; }
.t-name { padding: .3rem .45rem; font: 600 .78rem/1.15 var(--sans); font-stretch: 82%; color: var(--copper-hi); text-align: center; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; letter-spacing: .01em; }
.wall .c.t-l .t-name { font-size: 1rem; }
.wall .c:hover, .wall .c:focus-visible, .wall .c.picked { transform: scale(1.06); z-index: 3; box-shadow: 0 0 0 2px var(--copper), 0 10px 26px -6px rgba(207, 132, 70, .55); outline: none; }
.wall.filtering .c:not(.hit) { opacity: .12; }
.wall.filtering .f { opacity: .45; }
.wall.filtering .c.hit { box-shadow: 0 0 0 2px var(--copper-hi), 0 0 18px -2px rgba(239, 181, 127, .6); }
@media (prefers-reduced-motion: no-preference) {
  .wall.heat .t { animation: cool .9s var(--d, 0ms) both; }
  @keyframes cool { 0% { opacity: 0; filter: brightness(2.4) sepia(1) saturate(5) hue-rotate(-18deg); } 45% { opacity: 1; } 100% { filter: none; } }
}
.wall-tip { position: fixed; z-index: 60; transform: translate(-50%, -100%); background: var(--iron); border: 1px solid var(--copper-lo); color: var(--ash); padding: .35rem .65rem; border-radius: var(--radius-s); font-size: .88rem; pointer-events: none; max-width: 320px; }
.wall-index { padding: 2.5rem 0 1rem; }
.wall-index summary { cursor: pointer; font: 600 semi-condensed var(--step-1)/1.3 var(--display); color: var(--ash); padding: .8rem 0; border-top: 1px solid var(--iron-3); border-bottom: 1px solid var(--iron-3); }
.wall-index-cols { columns: 4 230px; column-gap: 2rem; padding-top: 1.4rem; }
.wi-group { break-inside: avoid; margin-bottom: 1.5rem; }
.wi-group h2 { font: 600 .95rem/1.3 var(--sans); color: var(--copper); margin: 0 0 .4rem; }
.wi-group ul { list-style: none; padding: 0; margin: 0; }
.wi-group li { padding: .15rem 0; font-size: .93rem; }
.wi-group a { color: var(--ash-2); text-decoration: none; }
.wi-group a:hover { color: var(--copper-hi); }
.wi-group span { color: var(--ash-dim); font-size: .85rem; }
.tile-dialog { background: var(--iron-2); color: var(--ash); border: 1px solid var(--iron-4); border-radius: 10px; padding: 1.8rem; width: min(460px, calc(100vw - 2rem)); box-shadow: 0 30px 60px -10px rgba(0, 0, 0, .8); }
.tile-dialog::backdrop { background: rgba(12, 10, 9, .7); }
.td-close { position: absolute; top: .6rem; right: .7rem; background: none; border: 0; color: var(--ash-dim); font-size: 1.6rem; cursor: pointer; line-height: 1; }
.td-logo { height: 110px; border-radius: 6px; display: grid; place-items: center; background: linear-gradient(165deg, #f4efe7, #ddd5c9); margin-bottom: 1.1rem; overflow: hidden; }
.td-logo img { max-height: 84px; max-width: 80%; object-fit: contain; }
.td-logo.text { background: linear-gradient(160deg, #3a332e, #2b2522); }
.td-logo span { font: 600 1.3rem/1.2 var(--sans); font-stretch: 82%; color: var(--copper-hi); padding: 0 1rem; text-align: center; }
.tile-dialog h2 { font: 600 semi-condensed var(--step-2)/1.15 var(--display); margin: 0 0 .8rem; }
.tile-dialog dl { margin: 0 0 1rem; }
.tile-dialog dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; border-bottom: 1px solid var(--iron-3); }
.tile-dialog dt { color: var(--ash-dim); } .tile-dialog dd { margin: 0; text-align: right; }
.tile-dialog #td-note { color: var(--ash-2); font: 400 1.02rem/1.55 var(--serif); }
@media (max-width: 640px) {
  .wall { --u: 30px; gap: 3px; }
  .wall i:nth-of-type(n+240) { display: none; }
  .t-name { font-size: .66rem; }
  .wall-search, .wall-search input { width: 100%; }
}

.wall-teaser { padding: clamp(3rem, 7vw, 5rem) 0 clamp(2rem, 5vw, 3.5rem); border-top: 1px solid var(--iron-3); }
.wall-teaser-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.wall-teaser-head p { color: var(--ash-2); font: 400 1.12rem/1.6 var(--serif); max-width: 40rem; margin: 0; }
.wall-teaser-head .section-title { margin-bottom: .6rem; }
.wall-wrap.teaser { max-height: 440px; overflow: hidden; mask-image: linear-gradient(180deg, #000 55%, transparent); -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); }

/* ---------- newsletter ---------- */
.newsletter { padding: 2.6rem 0; border-top: 1px solid var(--iron-3); background: linear-gradient(90deg, rgba(207, 132, 70, .1), transparent 60%); }
.newsletter-inner { display: grid; grid-template-columns: 1fr minmax(0, 460px); gap: 1.5rem 3rem; align-items: center; }
.newsletter h2 { font: 600 semi-condensed var(--step-2)/1.15 var(--display); margin: 0 0 .3rem; }
.newsletter p { color: var(--ash-2); margin: 0; }
.nl-form { display: flex; flex-wrap: wrap; gap: .6rem; }
.nl-form input[type=email] { flex: 1 1 220px; background: var(--iron-2); border: 1px solid var(--iron-4); color: var(--ash); border-radius: var(--radius-s); padding: .78rem .9rem; font: inherit; }
.nl-form input[type=email]:focus { outline: none; border-color: var(--copper); }
.nl-msg { width: 100%; font-size: .93rem; } .nl-msg.ok { color: var(--copper-hi); } .nl-msg.err { color: #f3826b; }
@media (max-width: 760px) { .newsletter-inner { grid-template-columns: 1fr; } }

/* ---------- travel: horizontal country list ---------- */
.countries-strip { padding: 1rem 0 3rem; border-top: 1px solid var(--iron-3); }
.countries-strip .section-head { flex-wrap: wrap; margin-top: 2rem; }
.cont-tabs { display: flex; gap: .4rem; flex-wrap: wrap; }
.country-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .5rem; border-top: 0; }
.country-list li[hidden] { display: none; }
.country-list a { display: flex; align-items: center; gap: .75rem; padding: .7rem .85rem; border: 1px solid var(--iron-3); border-bottom: 1px solid var(--iron-3); border-radius: 8px; color: var(--ash); text-decoration: none; background: rgba(40, 36, 33, .5); height: 100%; }
.country-list a:hover, .country-list a.hover { border-color: var(--copper); background: var(--iron-2); color: var(--copper-hi); }
.country-list .flag { font-size: 1.6rem; line-height: 1; }
.cl-text { display: flex; flex-direction: column; min-width: 0; }
.cl-name { font: 600 semi-condensed 1.05rem/1.2 var(--display); }
.cl-years { color: var(--ash-dim); font-size: .82rem; text-align: left; font-variant-numeric: tabular-nums; }

/* ---------- journey ---------- */
.journey { padding-bottom: 4rem; }
.journey-line .tl-body h2 { font: 600 semi-condensed var(--step-2)/1.15 var(--display); margin: 0 0 .4rem; letter-spacing: -.01em; }
.journey-line .tl-body p { color: var(--ash-2); max-width: 42rem; margin: 0; font: 400 1.08rem/1.6 var(--serif); }
.tl-img img { margin-top: 1rem; max-width: 360px; border-radius: var(--radius-s); }
.journey-more { margin-top: 1rem; }

/* ---------- ventures ---------- */
.ventures-list { padding-bottom: 4rem; }
.venture-row { display: grid; grid-template-columns: 260px 1fr; gap: 2.5rem; padding: 2.4rem 0; border-top: 1px solid var(--iron-3); align-items: start; }
.venture-plate { aspect-ratio: 16/10; border-radius: 6px; display: grid; place-items: center; background: linear-gradient(160deg, #3a332e, #2b2522); box-shadow: inset 0 0 0 1px rgba(207, 132, 70, .3); padding: 1.2rem; }
.venture-plate.has-logo { background: linear-gradient(165deg, #f4efe7, #ddd5c9); }
.venture-plate img { max-height: 100%; max-width: 100%; object-fit: contain; }
.venture-plate span { font: 600 semi-condensed 1.3rem/1.2 var(--display); color: var(--copper-hi); text-align: center; }
.venture-plate.small { width: 180px; margin-bottom: 1rem; }
.venture-text h2 { font: 600 semi-condensed var(--step-3)/1.1 var(--display); margin: 0 0 .3rem; letter-spacing: -.01em; }
.venture-sum { color: var(--ash-2); font: 400 1.1rem/1.6 var(--serif); max-width: 44rem; }
.venture-links { display: flex; gap: .6rem; flex-wrap: wrap; margin: 1rem 0 0; }
@media (max-width: 700px) { .venture-row { grid-template-columns: 1fr; gap: 1.2rem; } .venture-plate { max-width: 260px; } }

/* ---------- awards ---------- */
.awards { padding-bottom: 4rem; }
.award-list { list-style: none; padding: 0; margin: 0; }
.award { display: grid; grid-template-columns: 1fr; gap: 2rem; padding: 2rem 0; border-top: 1px solid var(--iron-3); }
.award.has-img { grid-template-columns: 220px 1fr; }
.award-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-s); }
.award-year { font: 700 semi-condensed var(--step-2)/1 var(--display); color: var(--copper); margin: 0 0 .5rem; font-variant-numeric: lining-nums; }
.award h2 { font: 600 semi-condensed var(--step-2)/1.2 var(--display); margin: 0 0 .3rem; }
.award h2 a { color: var(--ash); text-decoration: none; }
.award-issuer { color: var(--copper-hi); font-weight: 600; margin: 0 0 .6rem; }
.award-text > p:last-child { color: var(--ash-2); }
@media (max-width: 640px) { .award.has-img { grid-template-columns: 1fr; } }

/* ---------- media ---------- */
.media-page { padding-bottom: 4rem; }
.media-tabs { margin-bottom: 1rem; }
.media-list { list-style: none; padding: 0; margin: 0; }
.media-item { display: grid; grid-template-columns: 1fr; gap: 1.8rem; padding: 2rem 0; border-top: 1px solid var(--iron-3); }
.media-item:has(.media-img), .media-item.is-video { grid-template-columns: minmax(0, 380px) 1fr; }
.media-img img, .video-poster img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius-s); }
.video-poster { position: relative; padding: 0; border: 0; background: var(--iron-3); cursor: pointer; border-radius: var(--radius-s); aspect-ratio: 16/9; width: 100%; display: block; }
.video-poster .play { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; background: rgba(217, 48, 28, .92); box-shadow: 0 6px 20px rgba(0, 0, 0, .5); }
.video-poster .play::after { content: ""; position: absolute; left: 26px; top: 20px; border-left: 18px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.video-frame { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: var(--radius-s); }
.media-text h2 { font: 600 semi-condensed var(--step-2)/1.2 var(--display); margin: .2rem 0 .5rem; }
.media-text h2 a { color: var(--ash); text-decoration: none; }
.media-text h2 a:hover { color: var(--copper-hi); }
.media-text > p:last-child { color: var(--ash-2); }
.media-text .post-meta span:first-child { color: var(--copper); font-weight: 600; }
@media (max-width: 760px) { .media-item:has(.media-img), .media-item.is-video { grid-template-columns: 1fr; } }

/* ---------- gallery ---------- */
.gallery-page { padding-bottom: 4rem; }
.gallery-page .cat-tabs { margin-bottom: 1.4rem; }
.masonry { list-style: none; padding: 0; margin: 0; columns: 3 280px; column-gap: .8rem; }
.masonry li { break-inside: avoid; margin-bottom: .8rem; position: relative; }
.masonry img { width: 100%; border-radius: var(--radius-s); }
.m-cap { display: block; color: var(--ash-dim); font-size: .88rem; padding: .35rem .1rem 0; }

/* ---------- home additions ---------- */
.testimonials { padding: clamp(3rem, 7vw, 5rem) 0; border-top: 1px solid var(--iron-3); }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.5rem; }
.quote { margin: 0; }
.quote blockquote { margin: 0 0 1rem; padding-left: 1.2rem; border-left: 3px solid var(--copper); font: italic 400 1.2rem/1.55 var(--serif); color: var(--ash); }
.quote blockquote p { margin: 0; }
.quote figcaption { display: flex; gap: .8rem; align-items: center; color: var(--ash-dim); font-size: .95rem; padding-left: 1.2rem; }
.quote figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.quote strong { color: var(--ash); }
.home-gallery, .home-press { padding: clamp(3rem, 7vw, 4.5rem) 0; border-top: 1px solid var(--iron-3); }
.strip { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
.strip a { display: block; aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius-s); }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.strip a:hover img { transform: scale(1.04); }
@media (max-width: 700px) { .strip { grid-template-columns: repeat(2, 1fr); } }
.press-row { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem 2.5rem; }
.press-row a { color: var(--ash); text-decoration: none; font: 600 semi-condensed 1.2rem/1.3 var(--display); }
.press-row a:hover { color: var(--copper-hi); }
.press-row .post-meta span { color: var(--copper); font-weight: 600; }

/* ---------- flags & home country ---------- */
.flag-img { display: inline-block; width: 1.35em; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); vertical-align: -.16em; margin-right: .1em; }
.flag-img.big { width: .85em; vertical-align: -.02em; margin-right: .25em; }
.country-list .flag-img { width: 34px; flex: none; }
.flag-list .flag-img { width: 20px; }
.globe-tip .flag-img { width: 18px; margin-right: .35rem; }
.globe-tip em { font-style: normal; color: var(--ember); font-weight: 700; margin-left: .3rem; }
.globe-tip span { color: var(--ash-dim); margin-left: .4rem; }
.stamp-flag { width: 24px; height: auto; border-radius: 2px; margin-bottom: 3px; filter: saturate(.7) sepia(.25); }
.home-badge { display: inline-block; margin: 0 0 1rem; padding: .2rem .6rem; border-radius: 999px; background: rgba(217, 48, 28, .14); color: #f08a6e; border: 1px solid rgba(217, 48, 28, .45); font-weight: 600; font-size: .85rem; }
.country-list li.is-home a { border-color: rgba(217, 48, 28, .55); background: linear-gradient(120deg, rgba(217, 48, 28, .12), rgba(40, 36, 33, .5)); }
.cl-home { color: #f08a6e; font-size: .78rem; font-weight: 700; letter-spacing: .04em; }
.globe .land.home { fill: #b8472a; }
.globe .land.home.visited { fill: #d5603a; }
.globe .land.home.visited:hover, .globe .land.home.hover { fill: #ec8a5f; }


/* =========================================================
   Version 3
   ========================================================= */

/* ---------- about: vision, mission, values ---------- */
.vmv { padding: clamp(3rem, 6vw, 5rem) 0; border-top: 1px solid var(--iron-3); background: linear-gradient(180deg, rgba(40, 36, 33, .6), transparent); }
.vm-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.4rem; margin-bottom: 3rem; }
.vm-plate { position: relative; padding: 1.8rem 1.8rem 1.6rem; border-radius: 6px; border: 1px solid #564b43;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .02) 0 1px, transparent 1px 3px), linear-gradient(160deg, #3a332e, #2a2522); }
.vm-icon { width: 30px; height: 30px; color: var(--copper); margin-bottom: .8rem; }
.vm-plate h2 { font: 700 semi-condensed 1.05rem/1 var(--display); text-transform: uppercase; letter-spacing: .14em; color: var(--copper-hi); margin: 0 0 .6rem; }
.vm-plate p { font: 400 1.25rem/1.5 var(--serif); margin: 0; color: var(--ash); }
.values { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.6rem 2rem; }
.values li { padding-top: 1rem; border-top: 2px solid var(--copper-lo); }
.values h3 { font: 700 semi-condensed 1.35rem/1.15 var(--display); margin: 0 0 .4rem; }
.values p { margin: 0; color: var(--ash-2); font: 400 1.04rem/1.55 var(--serif); }
.keep-reading { padding: 2.5rem 0; border-top: 1px solid var(--iron-3); }
.more-links { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .8rem; }
.more-links a { display: flex; flex-direction: column; gap: .3rem; padding: 1.1rem 1.2rem; border: 1px solid var(--iron-4); border-radius: 8px; text-decoration: none; color: var(--ash); height: 100%; }
.more-links a:hover { border-color: var(--copper); background: var(--iron-2); }
.more-links strong { font: 700 semi-condensed 1.25rem/1.1 var(--display); color: var(--copper-hi); }
.more-links span { color: var(--ash-dim); font-size: .95rem; }

/* ---------- awards ---------- */
.award-feature { padding: 0 0 3rem; }
.award-feature-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; padding: 2rem; border-radius: 10px;
  background: radial-gradient(ellipse 70% 90% at 0% 50%, rgba(207, 132, 70, .16), transparent 70%), var(--iron-2); border: 1px solid var(--iron-4); }
.award-feature-grid.no-img { grid-template-columns: 1fr; }
.af-img img { width: 100%; border-radius: 6px; }
.af-text h2 { font: 700 semi-condensed var(--step-3)/1.05 var(--display); margin: 0 0 .5rem; }
.af-desc { color: var(--ash-2); font: 400 1.1rem/1.6 var(--serif); }
.award-list { counter-reset: none; }
.award { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) auto; gap: 1.5rem; padding: 1.6rem 0; border-top: 1px solid var(--iron-3); align-items: start; }
.award.has-img { grid-template-columns: 4.5rem minmax(0, 1fr) 160px; }
.award-no { font: 800 condensed 3rem/0.9 var(--display); color: transparent; -webkit-text-stroke: 1px var(--copper); }
.award h3 { font: 700 semi-condensed 1.55rem/1.15 var(--display); margin: 0 0 .35rem; }
.award h3 a { color: var(--ash); text-decoration: none; }
.award-meta { display: flex; gap: .4rem 1.2rem; flex-wrap: wrap; margin: 0 0 .5rem; }
.award-y { color: var(--ash-dim); font-variant-numeric: tabular-nums; }
.award-img img { width: 160px; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; }
@media (max-width: 640px) { .award, .award.has-img { grid-template-columns: 3rem 1fr; } .award-img { grid-column: 2; } .award-no { font-size: 2rem; } .award-feature-grid { grid-template-columns: 1fr; padding: 1.2rem; } }
.achievements { padding: clamp(3rem, 6vw, 4.5rem) 0; border-top: 1px solid var(--iron-3); }
.achievements-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.ach-list { list-style: none; padding: 0; margin: 0; }
.ach-list li { position: relative; padding: .9rem 0 .9rem 2rem; border-bottom: 1px dashed var(--iron-4); font: 400 1.15rem/1.45 var(--serif); }
.ach-list li::before { content: ""; position: absolute; left: 0; top: 1.25rem; width: 11px; height: 11px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f3c08d, #8f4f24 70%); }
.member-plate ul { list-style: none; padding: 0; margin: 0; }
.member-plate li { padding: .7rem 0; border-bottom: 1px dashed #5a4f46; text-align: center; font: 600 semi-condensed 1.05rem/1.3 var(--display); }
.member-plate li:last-child { border-bottom: 0; }
@media (max-width: 860px) { .achievements-grid { grid-template-columns: 1fr; } }

/* ---------- businesses ---------- */
.biz-jump { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.6rem; }
.biz-jump .chip { text-decoration: none; }
.biz { padding: clamp(2.5rem, 6vw, 4.5rem) 0; border-top: 1px solid var(--iron-3); scroll-margin-top: 70px; }
.biz:nth-child(even) { background: linear-gradient(180deg, rgba(40, 36, 33, .55), rgba(40, 36, 33, .2)); }
.biz-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.biz.flip .biz-photos { order: -1; }
.biz.no-photos .biz-grid { grid-template-columns: minmax(0, 46rem); }
.biz-top { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 1rem; }
.biz-top .venture-plate { width: 120px; margin: 0; padding: .7rem; }
.venture-plate.small span { font: 800 condensed 2.6rem/1 var(--display); }
.biz-years { margin: 0; color: var(--ash-dim); font-weight: 600; }
.biz-text h2 { font: 700 semi-condensed var(--step-4)/1 var(--display); margin: 0 0 .4rem; letter-spacing: -.01em; }
.biz-figures { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.2rem 0 0; }
.biz-figures div { padding: .6rem .9rem; border: 1px solid var(--iron-4); border-radius: 6px; background: rgba(31, 28, 26, .5); }
.biz-figures dt { font-size: .8rem; color: var(--ash-dim); }
.biz-figures dd { margin: 0; font: 700 semi-condensed 1.2rem/1.2 var(--display); color: var(--copper-hi); }
.biz-photos { display: grid; gap: .6rem; grid-template-columns: 1fr 1fr; }
.biz-photos a { display: block; overflow: hidden; border-radius: 6px; }
.biz-photos img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.biz-photos.n1 { grid-template-columns: 1fr; }
.biz-photos.n3 a:first-child { grid-column: span 2; }
.biz-photos.n3 a:first-child img { aspect-ratio: 16/9; }
.biz-gallery { margin-top: 2rem; }
@media (max-width: 860px) { .biz-grid { grid-template-columns: 1fr; } .biz.flip .biz-photos { order: 0; } }

/* ---------- media ---------- */
.media-subnav { display: flex; gap: .2rem; margin-bottom: 1.6rem; border-bottom: 1px solid var(--iron-3); flex-wrap: wrap; }
.media-subnav a { padding: .55rem .9rem; color: var(--ash-dim); text-decoration: none; font-weight: 600; }
.media-subnav a[aria-current="page"] { color: var(--copper-hi); box-shadow: inset 0 -2px 0 var(--copper); }
.media-subnav a:hover { color: var(--ash); }
.video-poster.tall { aspect-ratio: auto; }
.video-poster.tall img { aspect-ratio: auto; }

/* ---------- My strength ---------- */
.strength-hero { position: relative; padding: clamp(4rem, 9vw, 7rem) 0 clamp(2rem, 4vw, 3rem); text-align: center;
  background: radial-gradient(ellipse 50% 70% at 50% 100%, rgba(217, 48, 28, .2), transparent 70%), radial-gradient(ellipse 60% 60% at 50% 90%, rgba(207, 132, 70, .2), transparent 70%); }
.strength-hero.has-photo { padding: 0; text-align: left; min-height: min(78vh, 760px); display: flex; align-items: flex-end; overflow: hidden; }
.sh-photo { position: absolute; inset: 0; margin: 0; }
.sh-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92) sepia(.12); }
.sh-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(31, 28, 26, .1) 30%, rgba(31, 28, 26, .55) 65%, var(--iron) 100%), radial-gradient(ellipse 80% 60% at 50% 120%, rgba(217, 48, 28, .25), transparent); }
.sh-text { position: relative; padding-bottom: 2.4rem; }
.strength-hero .page-title { font-size: clamp(2.6rem, 1.6rem + 4.5vw, 5.6rem); max-width: 16ch; margin-left: auto; margin-right: auto; }
.strength-hero.has-photo .page-title { margin-left: 0; text-shadow: 0 2px 30px rgba(0, 0, 0, .55); }
.sh-caption { color: var(--ash-2); font: italic 400 1rem/1.4 var(--serif); margin: 0; }
.strength-intro { padding: 2rem 0 3rem; }
.strength-intro .prose { font-size: 1.32rem; line-height: 1.65; text-align: center; }
.signature { font: italic 500 1.3rem/1 var(--serif) !important; color: var(--copper-hi); text-align: right; }
.hearth-section { padding: 1rem 0 2rem; }
.hearth { position: relative; margin: 0 auto; }
.hearth-rings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hearth-rings .ring { fill: none; stroke: rgba(207, 132, 70, .28); stroke-width: 1; stroke-dasharray: 2 6; }
.hearth-rings .ring.fam { stroke: rgba(239, 140, 90, .45); stroke-dasharray: none; }
.hearth-rings .spoke { stroke: rgba(217, 48, 28, .22); stroke-width: 1; }
.hearth-core { position: absolute; transform: translate(-50%, -50%); width: var(--core); height: var(--core); border-radius: 50%; overflow: hidden; display: grid; place-items: end center;
  background: radial-gradient(circle at 50% 40%, #6b3420, #2b1a12); box-shadow: 0 0 0 3px #d9301c, 0 0 0 7px rgba(217, 48, 28, .25), 0 0 60px 10px rgba(217, 48, 28, .35); z-index: 2; }
.hearth-core img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 6%; transform: scale(1.35) translateY(14%); }
.hearth-core span { position: relative; z-index: 1; width: 100%; text-align: center; padding: .25rem 0 .35rem; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); font: 700 semi-condensed .9rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: #fff1df; }
.pnode { position: absolute; transform: translate(-50%, -50%); width: var(--node); background: none; border: 0; padding: 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: .35rem; color: var(--ash); z-index: 3; }
.pnode-face { width: var(--node); height: var(--node); border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: linear-gradient(160deg, #a85f2c, #5a2f15);
  box-shadow: 0 0 0 2px var(--copper), 0 8px 22px -6px rgba(0, 0, 0, .7); transition: transform .2s, box-shadow .2s; }
.pnode.friend .pnode-face { box-shadow: 0 0 0 2px #6e5a4c, 0 8px 22px -6px rgba(0, 0, 0, .7); background: linear-gradient(160deg, #4a423c, #2b2623); }
.pnode-face img { width: 100%; height: 100%; object-fit: cover; }
.pi { font: 700 semi-condensed calc(var(--node) * .32)/1 var(--display); color: #fff1df; letter-spacing: .02em; }
.pnode-rel { font: 600 semi-condensed .82rem/1.1 var(--display); color: var(--ash-2); text-align: center; white-space: nowrap; max-width: calc(var(--node) * 1.6); overflow: hidden; text-overflow: ellipsis; }
.pnode:hover .pnode-face, .pnode:focus-visible .pnode-face { transform: scale(1.08); box-shadow: 0 0 0 3px var(--copper-hi), 0 0 30px rgba(239, 181, 127, .5); }
.pnode:focus-visible { outline: none; }
@media (prefers-reduced-motion: no-preference) {
  .hearth.appear .pnode { animation: kindle .7s var(--delay, 0ms) both cubic-bezier(.2, .8, .2, 1); }
  .hearth.appear .hearth-core { animation: ember 1.4s both; }
  @keyframes kindle { from { opacity: 0; transform: translate(-50%, -50%) scale(.4); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
  @keyframes ember { from { box-shadow: 0 0 0 3px #d9301c, 0 0 0 7px rgba(217, 48, 28, .25), 0 0 0 0 rgba(217, 48, 28, 0); } }
}
.hearth-tip { position: absolute; z-index: 5; transform: translate(-50%, calc(-100% - 10px)); background: var(--iron); border: 1px solid var(--copper-lo); border-radius: 6px; padding: .55rem .8rem; max-width: 260px; text-align: center; pointer-events: none; }
.hearth-tip strong { display: block; font: 700 semi-condensed 1.05rem/1.2 var(--display); }
.hearth-tip span { display: block; color: var(--copper); font-size: .85rem; font-weight: 600; }
.hearth-tip em { display: block; margin-top: .3rem; font: italic 400 .98rem/1.35 var(--serif); color: var(--ash-2); }
.hearth-legend { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; color: var(--ash-dim); font-size: .92rem; }
.hearth-legend .lg { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: .45rem; vertical-align: -1px; }
.lg.fam { background: var(--copper); } .lg.friend { background: #6e5a4c; }
.circle-list { padding: 2.5rem 0; border-top: 1px solid var(--iron-3); }
.people { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.2rem; }
.person { display: flex; gap: 1.1rem; padding: 1.2rem; border-radius: 10px; border: 1px solid var(--iron-3); background: rgba(40, 36, 33, .55); scroll-margin-top: 90px; transition: box-shadow .3s; }
.person.glow { box-shadow: 0 0 0 2px var(--copper), 0 0 30px rgba(207, 132, 70, .35); }
.person-face { flex: none; width: 84px; height: 84px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: linear-gradient(160deg, #a85f2c, #5a2f15); box-shadow: 0 0 0 2px var(--copper-lo); --node: 84px; }
.person-face img { width: 100%; height: 100%; object-fit: cover; }
.person-rel { margin: 0; color: var(--copper); font-weight: 700; font-size: .88rem; }
.person-rel span { color: var(--ash-dim); font-weight: 400; }
.person h3 { font: 700 semi-condensed 1.4rem/1.15 var(--display); margin: .1rem 0 .35rem; }
.person-meaning { margin: 0 0 .5rem; font: italic 400 1.08rem/1.45 var(--serif); color: var(--ash); }
.person-sym { display: flex; align-items: center; gap: .4rem; margin: 0 0 .4rem; color: var(--ash-dim); font-size: .88rem; }
.sym { color: var(--copper); flex: none; }
.read-letter { background: none; border: 0; padding: 0; cursor: pointer; font: 600 .95rem var(--sans); color: var(--copper-hi); }
.read-letter:hover { text-decoration: underline; }
.forge-legend { padding: 2rem 0 3rem; border-top: 1px solid var(--iron-3); }
.forge-legend ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.forge-legend li { display: flex; gap: .8rem; align-items: center; color: var(--ash-2); }
.forge-legend strong { color: var(--ash); }
.strength-closing { padding: 4rem 0 5rem; text-align: center; background: radial-gradient(ellipse 40% 80% at 50% 100%, rgba(217, 48, 28, .18), transparent 70%); }
.strength-closing p { font: 800 condensed clamp(2rem, 1.2rem + 3.5vw, 4rem)/1 var(--display); text-transform: uppercase; margin: 0;
  background: linear-gradient(180deg, #fff1df, #e8a46c 70%, #b8672f); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* the letter */
.letter { width: min(620px, calc(100vw - 2rem)); max-height: calc(100vh - 3rem); overflow: auto; border: 0; border-radius: 4px; padding: 3rem 3rem 2.5rem; color: #3b2c20;
  background: radial-gradient(ellipse at 20% 10%, rgba(255, 255, 255, .55), transparent 60%), linear-gradient(170deg, #f6ecd9, #ead9bb); box-shadow: 0 30px 80px -10px rgba(0, 0, 0, .85), inset 0 0 60px rgba(150, 100, 50, .18); }
.letter::backdrop { background: rgba(12, 10, 9, .75); }
.letter-close { position: absolute; top: .6rem; right: .8rem; background: none; border: 0; font-size: 1.7rem; color: #8a6a4d; cursor: pointer; }
.letter-photo { float: right; width: 150px; margin: -1rem -1rem 1rem 1.2rem; padding: .5rem .5rem 1.6rem; background: #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, .25); transform: rotate(3deg); }
.letter-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.letter-to { font: italic 500 1.5rem/1.2 var(--serif); margin: 0 0 1.2rem; color: #6b3a1a; }
.letter-body { font: 400 1.18rem/1.75 var(--serif); }
.letter-body p { margin: 0 0 1em; }
.letter-sign { clear: both; text-align: right; font: italic 500 1.35rem/1 var(--serif); color: #6b3a1a; margin: 1.5rem 0 0; }
@media (max-width: 560px) { .letter { padding: 2.2rem 1.4rem 1.8rem; } .letter-photo { width: 110px; margin: -.5rem -.3rem .8rem .8rem; } }

/* ---------- factories: spectrum, tabs, views ---------- */
.factory-tools { padding-bottom: .5rem; }
.spectrum { display: flex; gap: 3px; height: 54px; margin-bottom: 1.2rem; border-radius: 6px; overflow: hidden; }
.seg { flex-basis: 0; min-width: 8px; border: 0; padding: 0 .6rem; cursor: pointer; text-align: left; overflow: hidden; color: #1f140c; font: 600 semi-condensed .85rem/1.15 var(--display); display: flex; align-items: center; transition: opacity .2s, filter .2s; }
.seg span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seg b { font-weight: 800; opacity: .7; }
.seg.s0 { background: #cf8446; } .seg.s1 { background: #a85f2c; color: #fff1df; } .seg.s2 { background: #e8ab73; } .seg.s3 { background: #7d4520; color: #fff1df; }
.seg.s4 { background: #d9301c; color: #fff1df; } .seg.s5 { background: #bd7a46; } .seg.s6 { background: #f0c497; } .seg.s7 { background: #5e3a22; color: #fff1df; }
.seg:hover { filter: brightness(1.12); }
.seg.off { opacity: .25; }
.seg.on { box-shadow: inset 0 0 0 2px #fff1df; }
.tools-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.view-tabs { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--iron-2); border: 1px solid var(--iron-4); }
.view-tabs button { border: 0; background: none; color: var(--ash-2); font: 600 .95rem var(--sans); padding: .5rem 1rem; border-radius: 999px; cursor: pointer; }
.view-tabs button[aria-selected="true"] { background: var(--copper); color: #22150b; }
.filter-state { display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; }
#active-filter { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .5rem .35rem .8rem; border-radius: 999px; background: rgba(207, 132, 70, .18); border: 1px solid var(--copper); color: var(--copper-hi); font-weight: 600; }
#active-filter[hidden] { display: none; }
#active-filter button { background: none; border: 0; color: inherit; font-size: 1.2rem; line-height: 1; cursor: pointer; }
.wall-status { margin-top: .8rem; }
.pane-note { color: var(--ash-dim); max-width: 46rem; }
.floor { position: relative; border-radius: 8px; margin-bottom: 3rem;
  background-color: #1b1917; background-image: linear-gradient(rgba(207, 132, 70, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(207, 132, 70, .06) 1px, transparent 1px); background-size: 24px 24px;
  box-shadow: inset 0 0 0 2px #3a332e; }
.bay { position: absolute; border: 0; padding: 0; margin: 0; cursor: pointer; text-align: left; color: var(--ash); overflow: hidden; font: inherit; border-radius: 3px;
  background: linear-gradient(160deg, rgba(58, 51, 46, .92), rgba(40, 35, 32, .92)); box-shadow: inset 0 0 0 1px rgba(207, 132, 70, .35), inset 0 0 0 4px #1b1917; transition: background .2s, opacity .2s; }
.bay:hover, .bay:focus-visible, .bay.on { background: linear-gradient(160deg, rgba(207, 132, 70, .38), rgba(90, 50, 25, .55)); outline: none; }
.bay.dim { opacity: .28; }
.bay > span { position: relative; display: block; }
.bay-no { position: absolute !important; top: .6rem; right: .7rem; font: 700 semi-condensed .72rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: rgba(239, 181, 127, .65);
  padding: .2rem .4rem; border: 1px dashed rgba(239, 181, 127, .4); }
.bay-name { padding: .9rem 1rem 0; font: 700 semi-condensed 1.15rem/1.1 var(--display); max-width: calc(100% - 4.5rem); }
.bay-count { padding: .2rem 1rem 0; font: 800 condensed 2.6rem/1 var(--display); color: var(--copper-hi); }
.bay-count small { font-size: 1rem; color: var(--ash-dim); font-weight: 600; }
.bay.l .bay-name { font-size: 1.5rem; } .bay.l .bay-count { font-size: 4rem; }
.bay.s .bay-name { font-size: .92rem; padding: .6rem .6rem 0; max-width: 100%; } .bay.s .bay-count { font-size: 1.5rem; padding: 0 .6rem; } .bay.s .bay-no { display: none !important; }
.bay-names { padding: .6rem 1rem 1rem; font: 400 .82rem/1.55 var(--sans); color: var(--ash-dim); -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); max-height: calc(100% - 7rem); }
.bay.l .bay-names { max-height: none; }
.bay-names i { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--copper-lo); margin: 0 .5rem; vertical-align: middle; }
.floor.stacked { display: flex; flex-direction: column; gap: 6px; padding: 6px; background-image: none; }
.floor.stacked .bay { position: relative; padding-bottom: .9rem; }
.floor.stacked .bay-names { max-height: 4.8em; }
.bay-bar { position: absolute !important; left: 0; bottom: 0; height: 3px; background: var(--copper); }
.map-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; padding-bottom: 3rem; }
.factory-map svg { display: block; }
.factory-map path.st { stroke: #1f1c1a; stroke-width: .7; transition: filter .15s; }
.factory-map path.st.has { cursor: pointer; }
.factory-map path.st:hover { filter: brightness(1.25); }
.st-labels text { font: 700 semi-condensed 11px var(--display); fill: #1f140c; text-anchor: middle; dominant-baseline: middle; pointer-events: none; }
.map-legend { display: flex; align-items: center; gap: .6rem; color: var(--ash-dim); font-size: .85rem; margin-top: .6rem; }
.map-legend i { width: 160px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, #4a3426, #f3ba80); }
.map-tip { position: fixed; z-index: 60; transform: translate(-50%, calc(-100% - 12px)); background: var(--iron); border: 1px solid var(--copper-lo); padding: .35rem .65rem; border-radius: 4px; pointer-events: none; font-size: .9rem; }
.state-rank { list-style: none; padding: 0; margin: 0 0 2rem; max-height: 560px; overflow-y: auto; }
.state-rank button { position: relative; display: flex; justify-content: space-between; width: 100%; padding: .5rem .2rem .7rem; background: none; border: 0; border-bottom: 1px solid var(--iron-3); color: var(--ash); font: inherit; cursor: pointer; text-align: left; }
.state-rank button:hover span { color: var(--copper-hi); }
.state-rank b { font: 700 semi-condensed 1.05rem var(--display); color: var(--copper-hi); }
.state-rank i { position: absolute; left: 0; bottom: 0; height: 2px; background: var(--copper); }
.abroad { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.abroad .flag-img { width: 18px; margin-right: .3rem; }
@media (max-width: 860px) { .map-grid { grid-template-columns: 1fr; } }
.az-letters { position: sticky; top: 64px; z-index: 5; display: flex; flex-wrap: wrap; gap: .2rem; padding: .6rem 0; background: rgba(31, 28, 26, .94); border-bottom: 1px solid var(--iron-3); margin-bottom: 1rem; }
.az-letters a, .az-letters span { width: 2rem; text-align: center; padding: .3rem 0; font: 700 semi-condensed 1rem var(--display); border-radius: 4px; text-decoration: none; }
.az-letters a { color: var(--copper-hi); } .az-letters a:hover { background: var(--iron-3); }
.az-letters span { color: var(--iron-4); }
.az-list { columns: 3 260px; column-gap: 2.5rem; padding-bottom: 3rem; }
.az-group { break-inside: avoid-column; margin-bottom: 1.4rem; scroll-margin-top: 130px; }
.az-group h2 { font: 800 condensed 2.4rem/1 var(--display); color: transparent; -webkit-text-stroke: 1px var(--copper); margin: 0 0 .3rem; }
.az-group ul { list-style: none; padding: 0; margin: 0; }
.az-group li { padding: .22rem 0; display: flex; gap: .5rem; align-items: baseline; justify-content: space-between; border-bottom: 1px dotted var(--iron-3); }
.az-group button { background: none; border: 0; padding: 0; color: var(--ash); font: 500 1rem/1.3 var(--sans); cursor: pointer; text-align: left; }
.az-group button:hover { color: var(--copper-hi); }
.az-group span { color: var(--ash-dim); font-size: .78rem; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 45%; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); z-index: 80; background: var(--iron-2); border-left: 1px solid var(--iron-4); box-shadow: -30px 0 60px -10px rgba(0, 0, 0, .7);
  padding: 2rem 1.6rem; overflow-y: auto; transform: translateX(100%); transition: transform .2s ease-out; }
.drawer.open { transform: none; }
.drawer-kicker { margin: 0; color: var(--copper); font-weight: 700; font-size: .9rem; }
.drawer h2 { font: 700 semi-condensed 1.8rem/1.1 var(--display); margin: .2rem 0 1.2rem; }
.drawer-list { list-style: none; padding: 0; margin: 0; }
.drawer-list button { display: block; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--iron-3); padding: .65rem 0; color: var(--ash); cursor: pointer; font: inherit; }
.drawer-list button:hover strong { color: var(--copper-hi); }
.drawer-list strong { display: block; font: 600 1.02rem/1.3 var(--sans); }
.drawer-list span { color: var(--ash-dim); font-size: .85rem; }
.tile-dialog dd .flag-img { width: 18px; margin-right: .3rem; }

.person.friends .person-face { background: linear-gradient(160deg, #4a423c, #2b2623); box-shadow: 0 0 0 2px #6e5a4c; }
@media (max-width: 700px) {
  .spectrum { height: auto; overflow-x: auto; border-radius: 0; padding-bottom: .3rem; scrollbar-width: thin; }
  .seg { flex: 0 0 auto !important; height: 42px; padding: 0 .8rem; border-radius: 4px; }
  .view-tabs { width: 100%; overflow-x: auto; }
  .view-tabs button { padding: .5rem .8rem; white-space: nowrap; }
  .filter-state, .filter-state .search { width: 100%; }
}

/* ---------- wall v4: one small initials tile per company, lens on hover ---------- */
.wall { --u: 30px; gap: 3px; }
.wall .c { grid-column: span 1; grid-row: span 1; padding: 0; border-radius: 3px; cursor: zoom-in; display: grid; place-items: center; overflow: hidden;
  background: #3a332e; color: var(--copper-hi); box-shadow: inset 0 1px 0 rgba(255, 240, 220, .18), inset 0 -1px 0 rgba(0, 0, 0, .25); transition: transform .12s, opacity .2s, box-shadow .12s; }
.wall .c .ini { font: 700 condensed 11px/1 var(--display); letter-spacing: .01em; pointer-events: none; }
.k0 { --k: #cf8446; --kt: #2a170a; } .k1 { --k: #a85f2c; --kt: #fff1df; } .k2 { --k: #e8ab73; --kt: #2a170a; } .k3 { --k: #7d4520; --kt: #fff1df; }
.k4 { --k: #d9301c; --kt: #fff1df; } .k5 { --k: #bd7a46; --kt: #2a170a; } .k6 { --k: #f0c497; --kt: #2a170a; } .k7 { --k: #5e3a22; --kt: #fff1df; }
.k9 { --k: #4a423c; --kt: #efb57f; }
.wall .c[class*=" k"] { background: var(--k); color: var(--kt); }
.wall .c.feat { box-shadow: inset 0 0 0 2px #fff1df, 0 0 10px rgba(239, 181, 127, .5); }
.wall .c:hover, .wall .c:focus-visible, .wall .c.lensed, .wall .c.picked { transform: none; z-index: 2; outline: 2px solid #fff1df; outline-offset: 1px; box-shadow: none; }
.wall.filtering .c.hit { box-shadow: 0 0 0 2px #fff1df; }
.wall .f { background: #282321; }
.wall .f2 { background: #2c2724; } .wall .f3 { background: #24201d; } .wall .f4 { background: #2e2622; }
.wall-lens { position: fixed; z-index: 70; width: 196px; padding: 1rem .9rem .9rem; border-radius: 10px; pointer-events: none; text-align: center;
  background: var(--k, #3a332e); color: var(--kt, #fff1df); box-shadow: 0 0 0 2px rgba(255, 241, 223, .85), 0 22px 50px -10px rgba(0, 0, 0, .85); display: flex; flex-direction: column; align-items: center; gap: .35rem; }
.wall-lens[hidden] { display: none; }
.wall-lens.in { animation: lens-in .16s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes lens-in { from { opacity: 0; transform: scale(.18); } to { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .wall-lens.in { animation: none; } }
.wl-ini { font: 800 condensed 3rem/1 var(--display); letter-spacing: .01em; }
.wl-logo { display: grid; place-items: center; width: 100%; height: 76px; border-radius: 6px; background: linear-gradient(165deg, #f7f2ea, #ddd5c9); padding: .5rem; margin-bottom: .2rem; }
.wl-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.wl-name { font: 700 semi-condensed 1.08rem/1.15 var(--display); }
.wl-meta { font-size: .8rem; line-height: 1.3; opacity: .82; }
@media (max-width: 640px) {
  .wall { --u: 26px; gap: 2px; }
  .wall .c .ini { font-size: 9.5px; }
  .wall i:nth-of-type(n+120) { display: none; }
}

/* ---------- shopfloor v2: plant layout ---------- */
.y0 { --k: #5c4a3e; --kt: #f3dcc4; } .y1 { --k: #8f5a35; --kt: #fff1df; } .y2 { --k: #c27a42; --kt: #24150b; }
.y3 { --k: #eaa970; --kt: #24150b; } .y4 { --k: #d9301c; --kt: #fff1df; } .yn { --k: #3b3430; --kt: #c9a27f; }
.plant { position: relative; margin: 0 0 3rem; padding: 1.6rem 0 0 0; }
.plant-cols { display: flex; justify-content: space-between; padding: 0 2.2rem; margin-bottom: .4rem; }
.plant-cols span { width: 22px; height: 22px; border: 1px solid rgba(207, 132, 70, .45); border-radius: 50%; display: grid; place-items: center;
  font: 700 semi-condensed .7rem/1 var(--display); color: rgba(239, 181, 127, .75); position: relative; }
.plant-cols span::after { content: ""; position: absolute; top: 100%; left: 50%; width: 1px; height: 14px; background: rgba(207, 132, 70, .35); }
.plant-shell { position: relative; padding: 18px; border: 6px solid #3d3530; border-radius: 4px; overflow: hidden;
  background-color: #1c1a18;
  background-image: linear-gradient(rgba(207, 132, 70, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(207, 132, 70, .05) 1px, transparent 1px), radial-gradient(ellipse 80% 60% at 50% 50%, rgba(255, 220, 180, .04), transparent);
  background-size: 32px 32px, 32px 32px, 100% 100%;
  box-shadow: inset 0 0 0 1px #5a4e45, 0 20px 50px -20px rgba(0, 0, 0, .8); }
/* columns of the building along both long walls */
.plant-shell::before, .plant-shell::after { content: ""; position: absolute; left: 10px; right: 10px; height: 10px; pointer-events: none;
  background: repeating-linear-gradient(90deg, #5a4e45 0 10px, transparent 10px calc((100% - 10px) / 12)); }
.plant-shell::before { top: 4px; } .plant-shell::after { bottom: 4px; }
.zone { display: flex; flex-wrap: wrap; gap: 14px; align-items: stretch; }
.pbay { position: relative; min-width: 0; border: 1px dashed rgba(240, 196, 120, .45); border-radius: 3px; padding: .7rem .8rem .9rem; background: rgba(40, 35, 32, .55); transition: opacity .2s, background .2s, border-color .2s; }
.pbay:hover, .pbay.on { background: rgba(207, 132, 70, .1); border-color: rgba(240, 196, 120, .85); }
.pbay.dim { opacity: .25; }
.pb-stencil { position: absolute; right: .4rem; bottom: -.4rem; font: 800 condensed clamp(3.5rem, 6vw, 6rem)/1 var(--display); color: rgba(240, 196, 120, .06); pointer-events: none; letter-spacing: -.02em; }
.pb-head { position: relative; display: flex; align-items: center; gap: .6rem; width: 100%; margin: 0 0 .7rem; padding: .55rem .6rem .45rem; border: 0; border-radius: 3px; cursor: pointer; text-align: left;
  color: var(--ash); background: linear-gradient(160deg, #3a332e, #2a2522); box-shadow: inset 0 4px 0 0 transparent; border-top: 4px solid; border-image: repeating-linear-gradient(-45deg, #e3b450 0 6px, #1c1a18 6px 12px) 4; }
.pb-head:hover, .pb-head:focus-visible { background: linear-gradient(160deg, #4a3f37, #352e29); outline: none; }
.pb-head:hover .pb-name, .pb-head:focus-visible .pb-name { color: var(--copper-hi); }
.pb-icon { width: 22px; height: 22px; flex: none; fill: none; stroke: #e3b450; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.pb-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.pb-no { font: 800 semi-condensed .66rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: #e3b450; }
.pb-name { font: 700 semi-condensed 1rem/1.15 var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pb-count { font: 800 condensed 1.6rem/1 var(--display); color: var(--copper-hi); }
.pb-count small { font-size: .8rem; opacity: .7; }
.pallets { position: relative; display: flex; flex-wrap: wrap; gap: 3px; }
.pal { width: 22px; height: 18px; border: 0; padding: 0; border-radius: 2px; cursor: zoom-in; display: grid; place-items: center;
  background: var(--k, #3b3430); color: var(--kt, #efb57f); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 240, 220, .18); }
.pal .ini { font: 700 condensed 8px/1 var(--display); pointer-events: none; opacity: .85; }
.pal.feat { box-shadow: inset 0 0 0 1.5px #fff1df; }
.pal:hover, .pal:focus-visible, .pal.lensed { outline: 2px solid #fff1df; outline-offset: 1px; z-index: 2; position: relative; }
.plant.filtering .pal:not(.hit) { opacity: .14; }
.plant.filtering .pal.hit { box-shadow: 0 0 0 1.5px #fff1df; }
.aisle { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 16px -18px; padding: 0 2rem; height: 56px;
  background: linear-gradient(#2a2622, #2a2622) padding-box; border-top: 4px solid transparent; border-bottom: 4px solid transparent;
  border-image: repeating-linear-gradient(-45deg, #f0c25a 0 10px, #1c1a18 10px 20px) 4; }
.aisle span { font: 700 semi-condensed .78rem/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: rgba(240, 196, 120, .7); white-space: nowrap; }
.aisle i { flex: 1; max-width: 70px; height: 4px; background: rgba(255, 255, 255, .55); position: relative; }
.aisle i::after { content: ""; position: absolute; right: -8px; top: -5px; border-left: 10px solid rgba(255, 255, 255, .55); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.gate { display: flex; justify-content: center; margin: 18px -18px -18px; }
.gate span { padding: .35rem 2.4rem; background: #3d3530; color: rgba(240, 196, 120, .8); font: 700 semi-condensed .72rem/1 var(--display); letter-spacing: .2em; text-transform: uppercase; border-radius: 4px 4px 0 0; }
/* overhead crane: the bridge rides along the building, the trolley along the bridge */
.crane { position: absolute; inset: 0; pointer-events: none; z-index: 4; --cy: 40px; --cx: 50%; }
.crane-bridge { position: absolute; left: 0; right: 0; top: var(--cy); height: 10px; margin-top: -5px; transition: top .9s cubic-bezier(.45, 0, .2, 1);
  background: repeating-linear-gradient(90deg, rgba(227, 180, 80, .7) 0 14px, rgba(30, 26, 23, .7) 14px 22px); box-shadow: 0 10px 18px rgba(0, 0, 0, .35); opacity: .75; }
.crane-bridge::before, .crane-bridge::after { content: ""; position: absolute; top: -5px; width: 14px; height: 24px; background: #3d3530; border-radius: 2px; }
.crane-bridge::before { left: 0; } .crane-bridge::after { right: 0; }
.crane-trolley { position: absolute; top: -11px; left: var(--cx); width: 46px; height: 32px; margin-left: -23px; border-radius: 4px; transition: left .9s .15s cubic-bezier(.45, 0, .2, 1);
  background: linear-gradient(160deg, #4d433c, #2c2622); border: 2px solid #e3b450; box-shadow: 0 8px 16px rgba(0, 0, 0, .5); }
.crane-hook { position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 3px rgba(217, 48, 28, .3), 0 0 14px rgba(217, 48, 28, .7); }
.crane.busy .crane-hook { animation: hook 1.6s 1s ease-in-out infinite; }
@keyframes hook { 50% { box-shadow: 0 0 0 7px rgba(217, 48, 28, .18), 0 0 20px rgba(217, 48, 28, .9); } }
@media (prefers-reduced-motion: reduce) { .crane-bridge, .crane-trolley { transition: none; } .crane.busy .crane-hook { animation: none; } }
.plant-legend { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-top: 1rem; color: var(--ash-dim); font-size: .88rem; }
.plant-legend .pal { width: 18px; height: 14px; cursor: default; }
.lg-yr { font-weight: 700; color: var(--ash-2); }
.lg-sep { width: 1.2rem; }
@media (max-width: 760px) {
  .plant-cols, .crane, .plant-shell::before, .plant-shell::after { display: none; }
  .plant-shell { padding: 10px; border-width: 4px; }
  .zone { gap: 10px; }
  .pbay { flex: 1 1 100% !important; }
  .aisle { margin: 12px -10px; height: 44px; padding: 0 1rem; }
  .aisle i { display: none; }
  .gate { margin: 12px -10px -10px; }
}

/* ---------- My strength v2: tabs, family tree, friends pegboard ---------- */
.kin-tabs { display: flex; justify-content: center; gap: .4rem; margin: 1rem auto 0; border-bottom: 1px solid var(--iron-3); }
.kin-tabs button { background: none; border: 0; padding: .8rem 1.6rem; cursor: pointer; color: var(--ash-dim); font: 700 semi-condensed 1.35rem/1 var(--display); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.kin-tabs button span { font: 600 .85rem var(--sans); color: var(--ash-dim); margin-left: .3rem; }
.kin-tabs button[aria-selected="true"] { color: var(--copper-hi); border-bottom-color: var(--copper); }
.kin-tabs button:hover { color: var(--ash); }
.kin-pane { padding-bottom: 3rem; }
.pane-intro { text-align: center; max-width: 40rem; margin: 2.6rem auto 1.4rem; }
.pane-intro .section-title { margin-bottom: .5rem; }
.pane-intro p { color: var(--ash-2); font: 400 1.12rem/1.55 var(--serif); margin: 0; }

.ftree { position: relative; padding: 2.4rem 0 1rem; margin-bottom: 2.5rem;
  background: radial-gradient(ellipse 45% 40% at 50% 52%, rgba(217, 48, 28, .12), transparent 70%); }
.ftree-lines { position: absolute; left: 0; top: 0; pointer-events: none; overflow: visible; }
.ftree-lines .tl { fill: none; stroke: rgba(207, 132, 70, .6); stroke-width: 1.6; stroke-linecap: round; }
.ftree-lines .bond { stroke: rgba(217, 48, 28, .75); stroke-width: 2; }
.ftree-lines .bond-dot { fill: var(--ember); filter: drop-shadow(0 0 4px rgba(217, 48, 28, .9)); }
.trow { position: relative; z-index: 1; display: flex; justify-content: center; gap: clamp(2rem, 8vw, 7rem); margin-bottom: 4.2rem; }
.trow.gen2, .trow.gen3 { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 1rem; }
.trow::before { content: attr(data-label); position: absolute; left: 0; top: 50%; transform: translateY(-50%) rotate(-90deg); transform-origin: left center; margin-left: .6rem;
  font: 700 semi-condensed .72rem/1 var(--display); letter-spacing: .18em; text-transform: uppercase; color: rgba(207, 132, 70, .55); white-space: nowrap; }
.trow.more { flex-direction: column; align-items: center; gap: 1rem; margin-top: -1rem; }
.trow-label { margin: 0; color: var(--ash-dim); font: 700 semi-condensed .8rem var(--display); letter-spacing: .14em; text-transform: uppercase; }
.tgroup { display: flex; justify-content: center; align-items: flex-start; gap: clamp(1rem, 3vw, 2.4rem); flex-wrap: wrap; }
.tnode { width: 118px; display: flex; flex-direction: column; align-items: center; gap: .15rem; background: none; border: 0; padding: 0; color: var(--ash); cursor: pointer; font: inherit; text-align: center; }
.tnode.me { cursor: default; }
.tface { position: relative; width: 92px; height: 92px; margin-bottom: .45rem; }
.tface img, .tface .pi { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: grid; place-items: center;
  background: linear-gradient(160deg, #a85f2c, #5a2f15); box-shadow: 0 0 0 2px var(--copper), 0 10px 24px -8px rgba(0, 0, 0, .8); transition: transform .2s, box-shadow .2s; }
.tface .pi { font: 700 semi-condensed 1.9rem/1 var(--display); color: #fff1df; }
.tnode:hover .tface img, .tnode:hover .tface .pi, .tnode:focus-visible .tface img, .tnode:focus-visible .tface .pi { transform: scale(1.07); box-shadow: 0 0 0 3px var(--copper-hi), 0 0 26px rgba(239, 181, 127, .5); }
.tnode:focus-visible { outline: none; }
.tsym { position: absolute; right: -2px; bottom: -2px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--iron); box-shadow: 0 0 0 2px var(--copper-lo); }
.tsym .sym { color: var(--copper-hi); }
.tnode.me .tface { width: 124px; height: 124px; }
.tnode.me .tface img { object-position: 50% 6%; box-shadow: 0 0 0 3px var(--ember), 0 0 0 8px rgba(217, 48, 28, .22), 0 0 50px 8px rgba(217, 48, 28, .35); background: radial-gradient(circle at 50% 40%, #6b3420, #2b1a12); }
.tname { font: 700 semi-condensed 1.12rem/1.1 var(--display); }
.trel { font-size: .8rem; font-weight: 600; color: var(--copper); }
@media (max-width: 760px) {
  .trow::before { display: none; }
  .tnode { width: 78px; }
  .tface { width: 60px; height: 60px; }
  .tface .pi { font-size: 1.3rem; }
  .tnode.me .tface { width: 78px; height: 78px; }
  .tsym { width: 22px; height: 22px; }
  .tname { font-size: .95rem; }
  .trel { font-size: .72rem; }
  .tgroup { gap: .6rem; }
  .trow { margin-bottom: 3.2rem; }
}

.pegboard { list-style: none; margin: 1rem 0 2rem; padding: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 4vw, 3rem); display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 3rem 2.4rem; border-radius: 8px;
  background-color: #2b2521; background-image: radial-gradient(circle, #13110f 2.3px, transparent 2.8px), linear-gradient(160deg, rgba(255, 255, 255, .03), transparent);
  background-size: 24px 24px, 100% 100%; box-shadow: inset 0 0 0 12px #3b322c, inset 0 0 0 13px #4d433b, inset 0 0 60px rgba(0, 0, 0, .55); }
.polaroid button { position: relative; display: flex; flex-direction: column; width: 220px; padding: 12px 12px 16px; border: 0; cursor: pointer; text-align: left; font: inherit;
  background: #f5eee2; color: #3b2c20; transform: rotate(var(--r, 0deg)); transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s;
  box-shadow: 0 16px 28px -10px rgba(0, 0, 0, .8), 0 2px 0 rgba(0, 0, 0, .15); }
.polaroid button:hover, .polaroid button:focus-visible { transform: rotate(0deg) translateY(-6px) scale(1.03); box-shadow: 0 26px 40px -12px rgba(0, 0, 0, .85); outline: none; }
.peg { position: absolute; top: -16px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #efe9df, #7a726a 70%); box-shadow: 0 3px 4px rgba(0, 0, 0, .6); }
.peg::after { content: ""; position: absolute; left: 7px; top: 12px; width: 2px; height: 12px; background: #8b8178; }
.pol-photo { display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; background: linear-gradient(160deg, #a85f2c, #5a2f15); }
.pol-photo img { width: 100%; height: 100%; object-fit: cover; }
.pol-photo .pi { font: 800 condensed 4rem/1 var(--display); color: #fff1df; }
.pol-cap { margin-top: .7rem; font: italic 600 1.4rem/1.1 var(--serif); color: #3b2c20; }
.pol-cap small { font: 400 .85rem var(--sans); color: #8a6a4d; }
.pol-line { margin-top: .3rem; font: italic 400 1rem/1.4 var(--serif); color: #5a4433; }
.pol-tag { align-self: flex-start; margin-top: .7rem; padding: .25rem .55rem; border-radius: 2px; background: linear-gradient(180deg, #ecc983, #b7882f); color: #2a1a08;
  font: 700 semi-condensed .72rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 1px 1px rgba(0, 0, 0, .3); }
.polaroid.best button { width: 280px; }
.polaroid.best .pol-tag { background: linear-gradient(180deg, #f08a6e, #b52a17); color: #fff1df; }
.polaroid.best .pol-photo .pi { font-size: 5rem; }
@media (max-width: 560px) { .polaroid button, .polaroid.best button { width: min(280px, 78vw); } }

/* ---------- wall v5: filtered tiles gather at the top, the rest switch off ---------- */
.wall.filtering .c.off { opacity: .1; cursor: default; filter: grayscale(1); }
.wall.filtering .f { opacity: .3; }
.wall.filtering .c.hit { box-shadow: 0 0 0 2px #fff1df; z-index: 1; }
.wall-break { grid-column: 1 / -1; align-self: end; display: flex; align-items: center; gap: .8rem; padding: 0 0 .25rem;
  font: 600 semi-condensed .85rem/1 var(--display); color: var(--ash-dim); letter-spacing: .02em; }
.wall-break::before, .wall-break::after { content: ""; height: 1px; flex: 1; background: linear-gradient(90deg, transparent, var(--iron-3) 20%, var(--iron-3) 80%, transparent); }
.wall-break::before { flex: 0 0 1.2rem; }
.wall:not(.filtering) .wall-break { display: none; }

/* ---------- friends v3: one column of polaroids hung down the pegboard, in the order set in the admin ---------- */
.pegcol { flex-direction: column; flex-wrap: nowrap; align-items: center; gap: 3.2rem; max-width: 860px; margin-inline: auto; padding-top: clamp(3rem, 6vw, 4.5rem); }
.pegcol .polaroid { width: min(640px, 100%); transform: translateX(var(--x, 0)); }
.pegcol .polaroid button, .pegcol .polaroid.best button { width: 100%; flex-direction: row; align-items: stretch; gap: 1.4rem; padding: 14px 22px 14px 14px; }
.pegcol .pol-photo { flex: 0 0 190px; width: 190px; align-self: flex-start; }
.pegcol .pol-photo .pi, .pegcol .polaroid.best .pol-photo .pi { font-size: 4.2rem; }
.pegcol .pol-text { display: flex; flex-direction: column; min-width: 0; padding: .4rem 0 .3rem; }
.pegcol .pol-cap { margin-top: 0; font-size: 1.7rem; }
.pegcol .pol-line { margin-top: .5rem; font-size: 1.1rem; line-height: 1.5; }
.pegcol .pol-tag { margin-top: auto; }
.pegcol .pol-line + .pol-tag { margin-top: 1rem; }
.pol-more { margin-top: .7rem; font: 600 semi-condensed .92rem/1 var(--display); color: #a2541f; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(162, 84, 31, .35); }
.pegcol .polaroid button:hover .pol-more { text-decoration-color: currentColor; }
@media (max-width: 640px) {
  .pegcol { gap: 2.4rem; }
  .pegcol .polaroid { transform: none; }
  .pegcol .polaroid button, .pegcol .polaroid.best button { gap: .9rem; padding: 10px 14px 10px 10px; }
  .pegcol .pol-photo { flex-basis: 104px; width: 104px; }
  .pegcol .pol-photo .pi, .pegcol .polaroid.best .pol-photo .pi { font-size: 2.6rem; }
  .pegcol .pol-cap { font-size: 1.35rem; }
  .pegcol .pol-line { font-size: 1rem; }
}

/* ---------- businesses v3: wordmark logos, offerings, entities by country ---------- */
.venture-plate.has-logo { aspect-ratio: auto; width: auto; max-width: 100%; height: 84px; padding: .8rem 1.3rem; display: inline-grid; justify-items: start;
  background: linear-gradient(165deg, #fbf8f3, #ece5da); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6), 0 10px 24px -14px rgba(0, 0, 0, .7); }
.venture-plate.has-logo img { height: 100%; width: auto; max-width: 280px; }
.biz-top .venture-plate.has-logo { width: auto; height: 76px; padding: .75rem 1.2rem; }
.biz-page .venture-plate.has-logo { height: 92px; margin-bottom: 1.4rem; }
.biz-tagline { font: italic 400 1.2rem/1.45 var(--serif); color: var(--ash); margin: .1rem 0 .7rem; max-width: 40ch; }
.biz-page .biz-tagline { font-size: 1.35rem; margin-bottom: 1rem; }
.biz-text .tl-role { font-size: .95rem; }

.biz-extra { margin-top: 1.8rem; display: grid; gap: 1.6rem; }
.biz-offer { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1.2rem 1.6rem; padding: 1.3rem 1.4rem; border: 1px solid var(--iron-4); border-radius: 8px; background: rgba(31, 28, 26, .45); }
.offer-group h3 { margin: 0 0 .55rem; font: 700 semi-condensed .95rem/1.2 var(--display); color: var(--copper-hi); letter-spacing: .01em; }
.offer-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.offer-group li { line-height: 1.35; }
.offer-group strong { font: 600 semi-condensed 1.02rem/1.3 var(--display); color: var(--ash); }
.biz-extra.full .offer-group li { display: grid; gap: .2rem; align-content: start; }
.biz-extra.full .offer-group li span { color: var(--ash-dim); font-size: .95rem; line-height: 1.5; }
.biz-extra.full .biz-offer { display: block; padding: 0; border: 0; background: none; }
.biz-extra.full .offer-group { padding: 1.5rem 0 1.6rem; border-top: 1px solid var(--iron-3); }
.biz-extra.full .offer-group:last-child { border-bottom: 1px solid var(--iron-3); }
.biz-extra.full .offer-group h3 { font-size: 1.15rem; margin-bottom: 1rem; }
.biz-extra.full .offer-group ul { grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 1.2rem 2.2rem; }
.biz-extra.full .offer-group strong { font-size: 1.08rem; }

.biz-where { display: flex; flex-wrap: wrap; gap: .8rem; }
.entity { display: flex; gap: .85rem; align-items: flex-start; flex: 1 1 16rem; max-width: 26rem; padding: .9rem 1.1rem; border-radius: 8px; border: 1px solid var(--iron-4);
  background: linear-gradient(160deg, rgba(58, 51, 46, .55), rgba(31, 28, 26, .4)); }
.entity-flag { width: 34px; height: auto; border-radius: 3px; margin-top: .2rem; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); flex: none; }
.entity p { margin: 0; }
.entity-name { font: 700 semi-condensed 1.05rem/1.25 var(--display); color: var(--ash); }
.entity-meta { color: var(--copper); font-size: .88rem; font-weight: 600; margin-top: .15rem !important; }
.entity-note { color: var(--ash-dim); font-size: .9rem; line-height: 1.45; margin-top: .3rem !important; }
.biz-extra-wrap { margin-top: 2.2rem; margin-bottom: 2.5rem; }
.biz-extra-wrap .biz-extra { margin-top: 0; }

.tl-logo { display: inline-flex; height: 46px; padding: .45rem .8rem; margin-bottom: .6rem; border-radius: 5px; background: linear-gradient(165deg, #fbf8f3, #ece5da); }
.tl-logo img { height: 100%; width: auto; max-width: 210px; }
@media (max-width: 700px) {
  .venture-plate.has-logo, .biz-top .venture-plate.has-logo { height: 64px; }
  .venture-plate.has-logo img { max-width: 220px; }
}

/* ---------- friends v4: on desktop the polaroids hang side by side, left to right in the admin order ---------- */
@media (min-width: 900px) {
  .pegcol { flex-direction: row; flex-wrap: wrap; align-items: flex-start; justify-content: center; max-width: none; gap: 3.6rem 2.2rem; padding: 3.8rem 2.4rem 3.4rem; }
  .pegcol .polaroid { flex: 0 0 224px; width: 224px; transform: translateY(calc(var(--x, 0px) * .6)); }
  .pegcol .polaroid button, .pegcol .polaroid.best button { width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 12px 18px; }
  .pegcol .pol-photo { flex: none; width: 100%; align-self: auto; }
  .pegcol .pol-photo .pi, .pegcol .polaroid.best .pol-photo .pi { font-size: 4.2rem; }
  .pegcol .pol-text { padding: 0; }
  .pegcol .pol-cap { margin-top: .75rem; font-size: 1.45rem; }
  .pegcol .pol-line { margin-top: .35rem; font-size: 1rem; line-height: 1.45; }
  .pegcol .pol-tag, .pegcol .pol-line + .pol-tag { margin-top: .8rem; }
}

/* ---------- memberships & credentials (About page) ---------- */
.creds { padding: clamp(3rem, 7vw, 5rem) 0; border-top: 1px solid var(--iron-3); scroll-margin-top: 70px; }
.cred-group { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: 1.2rem 2.5rem; padding: 1.8rem 0; border-top: 1px solid var(--iron-3); }
.cred-group:last-child { border-bottom: 1px solid var(--iron-3); }
.cred-group-title { margin: .2rem 0 0; font: 700 semi-condensed 1.25rem/1.2 var(--display); color: var(--copper-hi); }
.cred-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr)); gap: 1rem 1.4rem; }
.cred { display: flex; gap: 1rem; align-items: flex-start; height: 100%; padding: .95rem 1.05rem; border-radius: 8px; border: 1px solid var(--iron-4);
  background: linear-gradient(160deg, rgba(58, 51, 46, .5), rgba(31, 28, 26, .35)); color: inherit; text-decoration: none; transition: border-color .2s, transform .2s; }
a.cred:hover, a.cred:focus-visible { border-color: var(--copper); transform: translateY(-2px); outline: none; }
.cred-logo { flex: none; display: block; box-sizing: border-box; width: 64px; height: 64px; padding: 6px; border-radius: 6px; background: #fff; overflow: hidden;
  box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .8); }
.cred-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.cred-logo.none { display: grid; place-items: center; background: linear-gradient(160deg, #a85f2c, #5a2f15); color: #fff1df; font: 800 condensed 1.5rem/1 var(--display); }
.cred-text { display: grid; gap: .2rem; min-width: 0; }
.cred-role { font: 700 semi-condensed 1.1rem/1.25 var(--display); color: var(--ash); }
.cred-org { color: var(--ash-dim); font-size: .95rem; line-height: 1.35; }
.cred-when { color: var(--copper); font-size: .88rem; font-weight: 600; }
.cred-detail { color: var(--ash-dim); font-size: .9rem; line-height: 1.5; margin-top: .25rem; }
/* memberships lead with the logo, larger */
.cred-membership .cred-list { grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.cred-membership .cred { flex-direction: column; gap: .9rem; }
.cred-membership .cred-logo { width: 100%; height: 116px; padding: 12px 16px; }
.plate-more { margin: 1rem 0 0; text-align: center; font-size: .9rem; }
.plate-more a { color: inherit; }
@media (max-width: 760px) {
  .cred-group { grid-template-columns: 1fr; gap: 1rem; }
  .cred-list, .cred-membership .cred-list { grid-template-columns: 1fr; }
  .cred-membership .cred { flex-direction: row; }
  .cred-membership .cred-logo { width: 84px; height: 64px; padding: 6px; }
}
.member-plate li small { display: block; margin-top: .2rem; font: 400 .85rem/1.3 var(--sans); color: var(--ash-dim); }

/* =========================================================
   logo story (/logo)
   ========================================================= */
.logo-head { padding-bottom: 1rem; }
.anat-wrap { padding: 1rem 0 clamp(3rem, 7vw, 6rem); background: radial-gradient(ellipse 50% 55% at 50% 38%, rgba(207, 132, 70, .12), transparent 70%); }
.anat { position: relative; }
.anat-logo { margin: 0 auto; max-width: 760px; }
.anat-stage { position: relative; }
.anat-stage img { display: block; width: 100%; height: auto; }
.anat-base { transition: opacity .3s ease; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .45)); }
.anat-lit { position: absolute; inset: 0; opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.anat.is-focus .anat-base { opacity: .22; }
.anat.is-focus .anat-lit { opacity: 1; }

.anat-pin { position: absolute; transform: translate(-50%, -50%); width: 30px; height: 30px; padding: 0; border-radius: 50%;
  border: 2px solid var(--copper-hi); background: rgba(31, 28, 26, .88); color: var(--ash);
  font: 700 .85rem/1 var(--display); cursor: pointer; box-shadow: 0 0 0 4px rgba(31, 28, 26, .35); transition: background .2s, color .2s, transform .2s; z-index: 2; }
.anat-pin { transition: background .2s, color .2s, width .25s, height .25s, box-shadow .2s; }
.anat-pin:hover { background: var(--copper-hi); color: var(--iron); }
/* the active pin opens into a ring, so the part it explains stays visible */
.anat-pin.on { width: var(--ring, 64px); height: var(--ring, 64px); background: transparent; color: transparent; border-color: var(--copper-hi); box-shadow: 0 0 0 1px rgba(31, 28, 26, .6), 0 0 24px rgba(239, 181, 127, .35); }
.anat-pin:focus-visible { outline: 2px solid var(--ash); outline-offset: 3px; }

.anat-build { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.anat.is-build .anat-build { opacity: 1; }
.anat.is-build:not(.is-focus) .anat-base { opacity: .55; }
.anat-build line, .anat-build circle { fill: none; stroke: var(--copper-hi); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.anat-build .b-axis { stroke-dasharray: 6 5; }
.anat-build .b-guide { stroke-opacity: .5; }
.anat-build .b-faint { stroke-opacity: .45; stroke-dasharray: 3 4; }
.anat-build .b-diag { stroke-opacity: .7; }
.anat-build .b-label { fill: var(--copper-hi); font: 600 20px var(--display); }
.anat-tools { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: .4rem 1rem; margin-top: 1.4rem; text-align: center; }
.anat-toggle { background: none; border: 1px solid var(--iron-4); color: var(--ash-2); border-radius: 999px; padding: .45rem 1rem; font: 500 var(--step--1) var(--sans); cursor: pointer; }
.anat-toggle:hover, .anat-toggle[aria-pressed="true"] { border-color: var(--copper); color: var(--copper-hi); }
.anat-build-note { flex-basis: 100%; max-width: 34rem; margin: 0 auto; color: var(--ash-dim); font: italic 400 var(--step-0)/1.5 var(--serif); }

.anat-notes { list-style: none; margin: 2.5rem auto 0; padding: 0; max-width: 40rem; display: grid; gap: 1.6rem; }
.anat-note { position: relative; padding-left: 3rem; transition: opacity .25s ease; outline: none; }
.an-num { position: absolute; left: 0; top: .05rem; width: 2rem; height: 2rem; border-radius: 50%; border: 1.5px solid var(--copper); color: var(--copper-hi); display: grid; place-items: center; font: 700 .9rem/1 var(--display); }
.anat-note h3 { margin: 0 0 .3rem; font: 650 semi-condensed var(--step-1)/1.15 var(--display); color: var(--ash); transition: color .2s; }
.anat-note p { margin: 0; font: 400 var(--step-0)/1.55 var(--serif); color: var(--ash-2); }
.anat-note.on h3 { color: var(--copper-hi); }
.anat-note.on .an-num { background: var(--copper-hi); color: var(--iron); border-color: var(--copper-hi); }
.anat.is-focus .anat-note:not(.on) { opacity: .5; }

.anat-leaders { position: absolute; left: 0; top: 0; pointer-events: none; overflow: visible; display: none; }
.anat-leaders path { fill: none; stroke: var(--copper); stroke-width: 1; opacity: .5; transition: opacity .2s, stroke .2s; }
.anat-leaders circle { fill: var(--copper); opacity: .7; }
.anat-leaders g.on path { stroke: var(--copper-hi); opacity: 1; stroke-width: 1.5; }
.anat.is-focus .anat-leaders g:not(.on) path { opacity: .15; }

/* wide screens: labels beside the logo */
.anat.is-mapped { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.15fr) minmax(0, 1fr); column-gap: clamp(2.5rem, 4.5vw, 4.5rem); align-items: start; }
.anat.is-mapped .anat-logo { grid-column: 2; grid-row: 1; max-width: none; width: 100%; margin: 0; }
.anat.is-mapped .anat-notes { display: contents; }
.anat.is-mapped .anat-note { grid-row: 1; align-self: start; }
.anat.is-mapped .anat-note.left { grid-column: 1; text-align: right; padding: 0 3rem 0 0; }
.anat.is-mapped .anat-note.left .an-num { left: auto; right: 0; }
.anat.is-mapped .anat-note.right { grid-column: 3; }
.anat.is-mapped .anat-note p { font-size: .98rem; }
.anat.is-mapped .anat-leaders { display: block; }
@media (min-width: 1000px) { .anat-wrap .wrap { max-width: 1320px; } }

/* phones and tablets: the logo stays in view while the notes scroll */
@media (max-width: 999px) {
  .anat-stage { position: sticky; top: 64px; z-index: 3; padding: .6rem 0 .8rem; background: var(--iron); box-shadow: 0 0 0 100vmax var(--iron), 0 18px 18px -6px var(--iron); clip-path: inset(0 -100vmax -26px); }
  .anat-logo { display: contents; }   /* lets the logo stay pinned for the whole list */
  .anat-stage { width: min(100%, 34rem, 62vh); margin: 0 auto; }
  .anat-tools { margin-top: 1.8rem; }
  .anat-notes { margin-top: 1.2rem; padding-bottom: 30vh; }
}

.logo-palette { padding: clamp(3rem, 6vw, 5rem) 0; border-top: 1px solid var(--iron-3); }
.logo-palette h2 { font: 700 semi-condensed var(--step-3)/1.05 var(--display); margin: 0 0 1.6rem; }
.pal-bar { display: flex; height: 72px; border-radius: var(--radius-s); overflow: hidden; outline: 1px solid rgba(236, 228, 216, .22); outline-offset: 3px; margin-bottom: 2rem; }
.pal-bar span + span { box-shadow: inset 1px 0 0 rgba(236, 228, 216, .18); }
.pal-bar span { display: block; min-width: 10px; }
.pal-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 2rem clamp(1.5rem, 4vw, 3rem); }
.pal-list li { position: relative; padding-left: 3.2rem; }
.pal-chip { position: absolute; left: 0; top: .15rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; box-shadow: 0 0 0 1px rgba(236, 228, 216, .4); }
.pal-list h3 { margin: 0; font: 650 semi-condensed var(--step-1)/1.15 var(--display); }
.pal-meta { margin: .1rem 0 .5rem; font-size: var(--step--1); color: var(--ash-dim); font-variant-numeric: tabular-nums; }
.pal-list p:not(.pal-meta) { margin: 0; font: 400 var(--step-0)/1.55 var(--serif); color: var(--ash-2); }
.logo-closing { padding: 0 0 clamp(3rem, 6vw, 5rem); }
.mark-more { margin-top: 1.2rem; }
.footer-mark a { display: inline-block; }

/* =========================================================
   businesses v4: overview and company profile
   ========================================================= */
.bz-plate { display: grid; place-items: center; width: 100%; max-width: 240px; aspect-ratio: 12 / 5; padding: 8% 10%; border-radius: var(--radius-m); background: #f6f1ea; box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 12px 30px rgba(0, 0, 0, .28); }
.bz-plate img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.bz-plate.large { max-width: 300px; }
.bz-plate.empty { background: var(--iron-3); color: var(--copper-hi); font: 700 1.6rem var(--display); }

/* portfolio strip */
.bz-portfolio { border-block: 1px solid var(--iron-3); }
.bz-port-list { list-style: none; margin-block: 0; padding-block: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.bz-port-list li + li { border-left: 1px solid var(--iron-3); }
.bz-port-list a { display: grid; gap: .35rem; align-content: start; height: 100%; padding: 2rem clamp(1rem, 2.5vw, 2rem); text-decoration: none; color: inherit; transition: background .2s; }
.bz-port-list li:first-child a { padding-left: 0; }
.bz-port-list a:hover { background: linear-gradient(180deg, rgba(207, 132, 70, .06), transparent); }
.bz-port-list .bz-plate { max-width: 200px; margin-bottom: .9rem; }
.bz-port-name { font: 650 semi-condensed var(--step-1)/1.15 var(--display); color: var(--ash); }
.bz-port-list a:hover .bz-port-name { color: var(--copper-hi); }
.bz-port-line { font: italic 400 var(--step-0)/1.45 var(--serif); color: var(--ash-2); }
.bz-port-meta { font-size: var(--step--1); color: var(--ash-dim); }

/* one section per company */
.bz { padding: clamp(3.5rem, 7vw, 6rem) 0; scroll-margin-top: 64px; }
.bz + .bz { border-top: 1px solid var(--iron-3); }
.bz-grid { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.bz-aside { position: sticky; top: 96px; }
.bz-facts { margin: 1.8rem 0 0; display: grid; gap: 1rem; }
.bz-facts dt { font-size: var(--step--1); color: var(--ash-dim); margin-bottom: .1rem; }
.bz-facts dd { margin: 0; color: var(--ash); font-weight: 500; }
.bz-facts a { color: var(--copper-hi); }
.bz-flags { display: flex; flex-direction: column; gap: .35rem; }
.bz-flags span { display: inline-flex; align-items: center; gap: .5rem; }
.bz-flags .flag-img { width: 22px; height: auto; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .15); }
.bz-flags small { color: var(--ash-dim); font-size: var(--step--1); }
.bz-name { margin: 0; font: 700 semi-condensed var(--step-4)/1 var(--display); letter-spacing: -.01em; }
.bz-tagline { margin: .6rem 0 0; font: italic 400 var(--step-1)/1.4 var(--serif); color: var(--copper-hi); }
.bz-tagline.large { font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem); }
.bz-summary { margin: 1.4rem 0 0; max-width: 40rem; font: 400 var(--step-0)/1.7 var(--serif); color: var(--ash-2); }
.bz-figures { display: flex; flex-wrap: wrap; margin: 2.2rem 0 0; padding: 0; }
.bz-figures div { padding: .2rem clamp(1rem, 3vw, 2.2rem) .2rem 0; margin-right: clamp(1rem, 3vw, 2.2rem); border-right: 1px solid var(--iron-4); }
.bz-figures div:last-child { border-right: 0; margin-right: 0; }
.bz-figures dd { margin: 0; font: 700 clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem)/1 var(--display); color: var(--ash); font-variant-numeric: tabular-nums; }
.bz-figures dt { margin-top: .35rem; font-size: var(--step--1); color: var(--ash-dim); }
.bz-figures.wide { padding: 2rem 0; margin: 0; border-block: 1px solid var(--iron-3); justify-content: space-between; }
.bz-figures.wide div { flex: 1; }
.bz-offer { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1.6rem 2rem; margin: 2.4rem 0 0; padding-top: 2rem; border-top: 1px solid var(--iron-3); }
.bz-offer h3 { margin: 0 0 .55rem; font: 600 var(--step--1)/1.2 var(--sans); color: var(--copper-hi); }
.bz-offer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.bz-offer li { color: var(--ash); font-size: .98rem; }
.bz-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; margin: 2.4rem 0 0; }
.bz-link { color: var(--ash-2); text-decoration: underline; text-decoration-color: var(--iron-4); text-underline-offset: .25em; }
.bz-link:hover { color: var(--copper-hi); text-decoration-color: currentColor; }

/* company profile page */
.bzp-hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.bzp-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.bzp-hero .bz-aside { position: static; }
.bzp-title { margin: .4rem 0 0; font: 700 semi-condensed var(--step-5)/.95 var(--display); letter-spacing: -.015em; }
.bzp-summary { margin: 1.6rem 0 0; max-width: 42rem; font: 400 clamp(1.1rem, 1rem + .4vw, 1.3rem)/1.65 var(--serif); color: var(--ash-2); }
.bzp-sec { padding: clamp(3rem, 6vw, 5rem) 0 0; }
.bzp-h { margin: 0 0 2rem; font: 700 semi-condensed var(--step-3)/1.05 var(--display); }
.bzp-group { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 1rem 3rem; padding: 1.6rem 0; border-top: 1px solid var(--iron-3); }
.bzp-group h3 { margin: 0; font: 600 semi-condensed var(--step-1)/1.2 var(--display); color: var(--copper-hi); }
.bzp-items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.4rem 2.4rem; }
.bzp-items strong { display: block; font: 600 1.05rem/1.3 var(--sans); color: var(--ash); }
.bzp-items span { display: block; margin-top: .3rem; font: 400 .98rem/1.55 var(--serif); color: var(--ash-2); }
.bzp-where { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 0 2.4rem; }
.bzp-where li { display: grid; grid-template-columns: 36px 1fr; gap: 1rem; padding: 1.4rem 0; border-top: 1px solid var(--iron-3); }
.bzp-flag { width: 36px; height: auto; border-radius: 3px; margin-top: .2rem; box-shadow: 0 0 0 1px rgba(255, 255, 255, .15); }
.bzp-entity { margin: 0; font: 600 1.05rem/1.3 var(--sans); }
.bzp-entity-meta { margin: .2rem 0 0; font-size: var(--step--1); color: var(--copper-hi); }
.bzp-entity-note { margin: .45rem 0 0; font: 400 .98rem/1.55 var(--serif); color: var(--ash-2); }
.bzp-talk { margin-top: clamp(3.5rem, 7vw, 6rem); padding: clamp(2.2rem, 4vw, 3rem) 0; background: linear-gradient(100deg, rgba(143, 79, 36, .22), rgba(31, 28, 26, 0) 70%); border-block: 1px solid var(--iron-3); }
.bzp-talk-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; }
.bzp-talk h2 { margin: 0; font: 650 semi-condensed var(--step-2)/1.15 var(--display); }
.bzp-others { padding-bottom: clamp(3rem, 6vw, 5rem); }
.bzp-others .bz-port-list { border-block: 1px solid var(--iron-3); padding-inline: 0; }

@media (max-width: 860px) {
  .bz-grid, .bzp-hero-grid { grid-template-columns: 1fr; }
  .bz-aside { position: static; display: grid; grid-template-columns: minmax(0, 200px) 1fr; gap: 1.4rem; align-items: start; }
  .bz-facts { margin: 0; }
  .bzp-hero .bz-aside { order: -1; }
  .bzp-group { grid-template-columns: 1fr; }
  .bz-port-list li + li { border-left: 0; border-top: 1px solid var(--iron-3); }
  .bz-port-list li a { padding-left: 0; }
  .bz-port-list a { grid-template-columns: 120px 1fr; column-gap: 1.2rem; }
  .bz-port-list .bz-plate { grid-row: span 3; margin: 0; }
}
@media (max-width: 520px) {
  .bz-aside { grid-template-columns: 128px 1fr; gap: 1.1rem; }
  .bz-facts { gap: .6rem; font-size: .95rem; }
  .bz-figures div { padding-right: 1rem; margin-right: 1rem; margin-bottom: .8rem; }
}

/* =========================================================
   home: the logo, a guided tour
   ========================================================= */
@property --mx { syntax: "<percentage>"; inherits: true; initial-value: 50%; }
@property --my { syntax: "<percentage>"; inherits: true; initial-value: 50%; }
.mark-tour { padding: clamp(4rem, 8vw, 7rem) 0; border-top: 1px solid var(--iron-3); background: radial-gradient(ellipse 45% 60% at 30% 50%, rgba(207, 132, 70, .12), transparent 70%); overflow: hidden; }
.mt-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.mt-stage { position: relative; transition: --mx .9s cubic-bezier(.65, 0, .35, 1), --my .9s cubic-bezier(.65, 0, .35, 1); }
.mt-stage img { display: block; width: 100%; height: auto; }
.mt-base { opacity: .2; filter: saturate(.6); }
.mt-lit { position: absolute; inset: 0; -webkit-mask-image: radial-gradient(circle at var(--mx) var(--my), #000 calc(var(--ring, 80px) * .6), transparent calc(var(--ring, 80px) * .6 + 60px)); mask-image: radial-gradient(circle at var(--mx) var(--my), #000 calc(var(--ring, 80px) * .6), transparent calc(var(--ring, 80px) * .6 + 60px)); }
.mt-ring { position: absolute; left: var(--mx); top: var(--my); width: var(--ring, 80px); height: var(--ring, 80px); transform: translate(-50%, -50%); border-radius: 50%; border: 2px solid var(--copper-hi); box-shadow: 0 0 0 1px rgba(31, 28, 26, .6), 0 0 30px rgba(239, 181, 127, .4); pointer-events: none; }
.mt-title { margin: 0; font: 700 semi-condensed var(--step-4)/1 var(--display); letter-spacing: -.01em; }
.mt-intro { margin: 1rem 0 0; font: 400 var(--step-0)/1.6 var(--serif); color: var(--ash-dim); }
.mt-notes { margin-top: 2.2rem; min-height: 11.5rem; }
.mt-note.on { animation: mt-in .5s ease both; }
@keyframes mt-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.mt-count { margin: 0; font-size: var(--step--1); color: var(--copper-hi); font-variant-numeric: tabular-nums; }
.mt-note h3 { margin: .3rem 0 .6rem; font: 650 semi-condensed var(--step-2)/1.1 var(--display); }
.mt-note p:not(.mt-count) { margin: 0; font: 400 clamp(1.05rem, 1rem + .3vw, 1.2rem)/1.6 var(--serif); color: var(--ash-2); max-width: 32rem; }
.mt-steps { display: flex; gap: .5rem; margin-top: 1.8rem; }
.mt-step { flex: 1; display: grid; gap: .45rem; padding: .5rem 0; background: none; border: 0; cursor: pointer; color: var(--ash-dim); font: 600 .8rem var(--display); text-align: left; }
.mt-bar { display: block; height: 3px; border-radius: 2px; background: var(--iron-4); overflow: hidden; }
.mt-bar i { display: block; height: 100%; width: 0; background: var(--copper-hi); }
.mt-step.done .mt-bar i { width: 100%; background: var(--copper); }
.mt-step.on { color: var(--copper-hi); }
.mt-step.on .mt-bar i { width: 100%; }
.mark-tour.running .mt-step.on .mt-bar i { width: 0; animation: mt-fill 5.5s linear forwards; }
.mark-tour.running.paused .mt-step.on .mt-bar i { animation-play-state: paused; }
@keyframes mt-fill { to { width: 100%; } }
.mt-step:hover { color: var(--ash); }
.mt-step:focus-visible { outline: 2px solid var(--copper-hi); outline-offset: 3px; border-radius: 2px; }
.mt-more { margin: 2rem 0 0; }
@media (max-width: 860px) {
  .mt-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .mt-copy { display: contents; }
  .mt-title { order: 1; } .mt-intro { order: 2; margin-top: -1rem; } .mt-stage { order: 3; } .mt-notes { order: 4; margin-top: 0; } .mt-steps { order: 5; margin-top: 0; } .mt-more { order: 6; margin-top: 0; }
  .mt-notes { min-height: 13rem; }
}
@media (prefers-reduced-motion: reduce) { .mt-stage { transition: none; } .mt-note.on { animation: none; } }
.m-cap small { display: block; color: var(--ash-dim); opacity: .8; font-size: .8rem; }
.gal-filter { margin: 0 0 1.4rem; color: var(--ash-2); }
.gal-filter a { color: var(--copper-hi); }

/* invitations and contact */
.invite { padding: 0 0 clamp(3rem, 6vw, 5rem); }
.invite-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.invite-form fieldset { border: 0; padding: 0; margin: 0 0 2.2rem; }
.invite-form legend { padding: 0; margin-bottom: 1.2rem; font: 650 semi-condensed var(--step-2)/1.1 var(--display); color: var(--ash); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.2rem; }
.kind-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
.kind-chip { position: relative; cursor: pointer; }
.kind-chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.kind-chip span { display: inline-block; padding: .55rem 1rem; border: 1px solid var(--iron-4); border-radius: 999px; color: var(--ash-2); font-size: .95rem; transition: border-color .15s, background .15s, color .15s; }
.kind-chip:hover span { border-color: var(--copper); color: var(--ash); }
.kind-chip input:checked + span { background: var(--copper); border-color: var(--copper); color: var(--iron); font-weight: 600; }
.kind-chip input:focus-visible + span { outline: 2px solid var(--copper-hi); outline-offset: 2px; }
.invite-side { position: sticky; top: 96px; padding-left: clamp(1.5rem, 3vw, 2.5rem); border-left: 1px solid var(--iron-3); }
.invite-side h2 { margin: 0 0 1.2rem; font: 650 semi-condensed var(--step-2)/1.1 var(--display); }
.topic-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.topic-list strong { display: block; font: 600 1.02rem/1.3 var(--sans); color: var(--ash); }
.topic-list span { display: block; margin-top: .25rem; font: 400 .95rem/1.5 var(--serif); color: var(--ash-2); }
.invite-alt { margin: 2rem 0 0; color: var(--ash-dim); font-size: var(--step--1); }
.invite-alt a { color: var(--copper-hi); }
.invite-card { display: grid; gap: .5rem; justify-items: start; margin: 0 0 3rem; padding: 1.8rem 2rem; border-radius: var(--radius-m); text-decoration: none; color: inherit; background: linear-gradient(110deg, rgba(143, 79, 36, .32), rgba(40, 36, 33, .6) 65%); border: 1px solid rgba(207, 132, 70, .35); }
.ic-title { font: 700 semi-condensed var(--step-3)/1.05 var(--display); color: var(--ash); }
.ic-text { font: 400 var(--step-0)/1.55 var(--serif); color: var(--ash-2); margin-bottom: .6rem; }
.invite-card:hover .ic-title { color: var(--copper-hi); }
.contact-h { margin: 0 0 1.2rem; font: 650 semi-condensed var(--step-2)/1.1 var(--display); }
@media (max-width: 860px) {
  .invite-grid { grid-template-columns: 1fr; }
  .invite-side { position: static; padding: 2rem 0 0; border-left: 0; border-top: 1px solid var(--iron-3); }
}
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field .label { display: block; font-weight: 600; margin-bottom: .4rem; }

/* ---------- factories: the bench (companies lifted off the wall) ---------- */
.bench-wrap { margin: .4rem auto 2.2rem; }
.bench { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 12px; }
.bp { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: .85rem; align-items: center; width: 100%; height: 100%; min-height: 76px; padding: 12px 14px 12px 12px; text-align: left; cursor: pointer;
  border: 1px solid var(--iron-4); border-radius: 8px; background: linear-gradient(160deg, #2e2925, #24201d); color: var(--ash); font: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 240, 220, .06), 0 10px 22px -12px rgba(0, 0, 0, .8); transition: border-color .2s, transform .2s, box-shadow .2s; will-change: transform; }
.bp::before, .bp::after { content: ""; position: absolute; top: 7px; width: 5px; height: 5px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #8a7a6c, #3a322c); }
.bp::before { right: 7px; } .bp::after { right: 7px; top: auto; bottom: 7px; }
.bp:hover, .bp:focus-visible { border-color: var(--copper); transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 240, 220, .08), 0 16px 28px -14px rgba(207, 132, 70, .55); outline: none; }
.bp-mark { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 6px; background: var(--k, #4a423c); color: var(--kt, #fff1df); overflow: hidden; }
.bp.has-logo .bp-mark { background: linear-gradient(165deg, #f4efe7, #ddd5c9); }
.bp-mark img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.bp-ini { font: 700 condensed .95rem/1 var(--display); letter-spacing: .01em; }
.bp-text { display: grid; gap: .2rem; min-width: 0; }
.bp-name { font: 600 .98rem/1.2 var(--sans); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.bp-meta { font-size: .8rem; color: var(--ash-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bp-fade { animation: bp-in .5s ease both; }
@keyframes bp-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.bench-more { margin: 1rem 0 0; color: var(--ash-dim); font-size: var(--step--1); }
.wall.filtering .c.off { opacity: .12; }
.wall.filtering .c.hit { box-shadow: 0 0 0 2px #fff1df, 0 0 14px rgba(239, 181, 127, .6); z-index: 1; }
@media (max-width: 560px) { .bench { grid-template-columns: 1fr 1fr; gap: 8px; } .bp { grid-template-columns: 1fr; padding: 10px; } .bp-mark { width: 44px; height: 44px; } }

/* about: right now */
.now-roles { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.now-roles a { display: grid; grid-template-columns: 64px 1fr; gap: .8rem; align-items: center; text-decoration: none; color: inherit; }
.now-logo { display: grid; place-items: center; width: 64px; height: 36px; border-radius: 5px; background: #f6f1ea; color: var(--iron); font: 700 .8rem var(--display); overflow: hidden; }
.now-logo img { max-width: 88%; max-height: 80%; object-fit: contain; }
.now-roles strong { display: block; font-weight: 600; font-size: .95rem; color: var(--ash); }
.now-roles span span { display: block; font-size: .85rem; color: var(--ash-dim); }
.now-roles a:hover strong { color: var(--copper-hi); }
.side-more { margin: .9rem 0 0; font-size: .9rem; }
.side-more a { color: var(--copper-hi); }

/* professional journey */
.jr-glance { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.jr { list-style: none; margin: 0; padding: 0; position: relative; }
.jr::before { content: ""; position: absolute; left: 11rem; top: .9rem; bottom: 1rem; width: 2px; background: linear-gradient(180deg, var(--copper), var(--copper-lo) 85%, transparent); }
.jr li { position: relative; display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 0 2.6rem; padding: 0 0 3rem; }
.jr li::before { content: ""; position: absolute; left: calc(11rem - 6px); top: .75rem; width: 14px; height: 14px; border-radius: 50%; background: var(--iron); border: 2px solid var(--copper); }
.jr li:last-child::before { background: var(--ember); border-color: #f08a6e; box-shadow: 0 0 0 5px rgba(217, 48, 28, .18); }
.jr-year { margin: 0; padding-right: 1.6rem; text-align: right; font: 700 semi-condensed clamp(1.3rem, 1rem + .9vw, 1.8rem)/1.15 var(--display); color: var(--copper-hi); font-variant-numeric: tabular-nums; }
.jr-body { max-width: 40rem; }
.jr-body h2 { margin: .1rem 0 .45rem; font: 650 semi-condensed var(--step-2)/1.15 var(--display); }
.jr-body p { margin: 0; font: 400 var(--step-0)/1.65 var(--serif); color: var(--ash-2); }
.jr-biz { display: inline-flex; align-items: center; gap: .7rem; margin-top: .9rem; padding: .35rem .8rem .35rem .35rem; border: 1px solid var(--iron-4); border-radius: 999px; text-decoration: none; color: var(--ash-2); font-size: .88rem; }
.jr-biz:hover { border-color: var(--copper); color: var(--copper-hi); }
.jr-biz-logo { display: grid; place-items: center; width: 54px; height: 26px; border-radius: 999px; background: #f6f1ea; overflow: hidden; }
.jr-biz-logo img { max-width: 80%; max-height: 72%; object-fit: contain; }
.jr-next { margin-top: 1rem; }
@media (max-width: 700px) {
  .jr::before { left: 6px; }
  .jr li { grid-template-columns: 1fr; padding-left: 2rem; }
  .jr li::before { left: 0; }
  .jr-year { text-align: left; padding: 0 0 .2rem; }
}
