/* Mock-up stylesheet — plain white/black wireframe STYLE, but real full-page LAYOUT.
   Designed for 1920x1080, 2560x1440 and mobile. Composition: full-bleed bands,
   asymmetric 12-col grids, staggered blocks, scale contrast, negative space.
   Balance pass: content settles in a 1680px canvas, type scale and vertical rhythm
   tightened, grid helpers compose (span sets only the end). Playful moves kept.
   UX pass: keyboard/touch nav, working hero actions, whole-card links,
   anchor offset, connected right tree stub. */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { font-family: Arial, Helvetica, sans-serif; color: #111; background: #fff; line-height: 1.55; }
a { color: #111; }

/* readable container for text-heavy subpages */
.wrap { max-width: 1360px; margin: 0 auto; padding: 0 3vw; }
/* content canvas inside full-bleed bands */
.bleed { width: 100%; max-width: 1680px; margin: 0 auto; padding: 0 clamp(20px, 3vw, 52px); }

/* 12-column grid — span sets only the END so start helpers compose cleanly */
.g12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 1.6vw, 28px); }
.span-4 { grid-column-end: span 4; }
.span-5 { grid-column-end: span 5; }
.span-6 { grid-column-end: span 6; }
.span-7 { grid-column-end: span 7; }
.span-8 { grid-column-end: span 8; }
.span-12 { grid-column-end: span 12; }
.start-2 { grid-column-start: 2; }
.start-7 { grid-column-start: 7; }
.start-8 { grid-column-start: 8; }
.down-1 { margin-top: clamp(16px, 2.4vw, 44px); }
.down-2 { margin-top: clamp(28px, 4vw, 72px); }

/* top bar */
.topbar { position: sticky; top: 0; background: #fff; border-bottom: 1px solid #999; z-index: 20; }
.topbar-in { display: flex; justify-content: space-between; align-items: center;
             padding: 14px clamp(20px, 3vw, 52px); }
.topbar .brand { font-size: 15px; font-weight: bold; text-decoration: none; }
.topbar nav { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-item > a, .nav-item > span { display: inline-block; margin-left: 16px; font-size: 12px;
  text-transform: uppercase; letter-spacing: 1px; text-decoration: none; padding: 6px 2px; cursor: pointer; }
.nav-item:hover > a, .nav-item:focus-within > a, .nav-item:hover > span { border-bottom: 2px solid #111; }
.drop { display: none; position: absolute; top: 100%; right: 0; background: #fff;
        border: 1px solid #999; min-width: 230px; padding: 6px 0; z-index: 30; }
.nav-item:hover .drop, .nav-item:focus-within .drop { display: block; }
.drop a { display: block; padding: 8px 14px; font-size: 12px; text-decoration: none; }
.drop a:hover, .drop a:focus { background: #eee; }
.drop a .feat-mark { font-size: 9px; border: 1px solid #111; padding: 0 5px; margin-left: 6px; }
.lang { margin-left: 18px; font-size: 11px; border: 1px solid #999; padding: 3px 8px; cursor: pointer; }
.cv-top { margin-left: 14px; font-size: 11px; border: 1px solid #111; padding: 4px 10px; text-decoration: none; }
.cv-top:hover { background: #111; color: #fff; }

/* generic type — calmer scale */
h1 { font-size: clamp(28px, 2.8vw, 48px); line-height: 1.08; margin-bottom: 10px; }
h2 { font-size: clamp(21px, 2vw, 34px); line-height: 1.15; margin-bottom: 14px; }
h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 2px; color: #444; margin: 0 0 12px; }
p { margin-bottom: 10px; max-width: 62ch; }
.muted { color: #666; font-size: 13px; }
.lead { font-size: clamp(16px, 1.2vw, 19px); max-width: 48ch; }
.eyebrow { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: #444; }

/* placeholders */
.img { background: #ddd; border: 1px solid #bbb; color: #555; font-size: 12px; text-align: center;
       display: flex; align-items: center; justify-content: center; padding: 12px; }
.img.sm { min-height: 110px; }
.img.md { min-height: 200px; }
.img.lg { min-height: 320px; }
.img.xl { min-height: 420px; }
.strip { display: flex; gap: clamp(12px, 1.5vw, 24px); flex-wrap: wrap; }
.strip > .img { flex: 1 1 220px; }

/* hero band — full-bleed visual, type inside the canvas */
.hero-band { position: relative; background: #ddd; border-bottom: 1px solid #999;
             min-height: min(78vh, 900px); display: flex; align-items: flex-end; overflow: visible; }
.hero-band .shader-note { position: absolute; top: 22px; right: clamp(20px, 3vw, 52px);
                          font-size: 11px; color: #555; text-align: right; }
.hero-grid { width: 100%; max-width: 1680px; margin: 0 auto;
             padding: 0 clamp(20px, 3vw, 52px) 6vh; align-items: end; }
.hero-title { grid-column: 1 / span 7; }
.hero-title h1 { font-size: clamp(34px, 3.8vw, 64px); line-height: 1.04; }
.hero-claim { grid-column: 10 / span 3; border-left: 2px solid #111; padding-left: 18px; margin-bottom: 12px; }
.scroll-hint { position: absolute; right: clamp(16px, 2.4vw, 40px); bottom: 6vh; writing-mode: vertical-rl;
               font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: #333;
               text-decoration: none; display: block; }
.hero-overlap { position: relative; z-index: 5; margin-top: -34px; display: inline-block;
                background: #fff; border: 2px solid #111; padding: 12px 22px; font-size: 14px;
                text-decoration: none; color: #111; }
.hero-overlap:hover { background: #f2f2f2; }

/* section band */
.band { padding: clamp(40px, 5vw, 88px) 0; border-bottom: 1px solid #ccc; }
.band-tint { background: #f4f4f4; }
.band-head { align-items: end; margin-bottom: clamp(20px, 2.4vw, 44px); }

/* big display numbers strip */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 40px);
           margin-top: clamp(24px, 3vw, 48px); }
.numbers .n { border-top: 2px solid #111; padding-top: 12px; }
.numbers .n b { font-size: clamp(26px, 2.4vw, 42px); display: block; line-height: 1.05; }
.numbers .n span { font-size: 12px; color: #444; }

/* film wide strip — the one loud full-bleed moment */
.film { background: #ccc; border-top: 1px solid #999; border-bottom: 1px solid #999; position: relative;
        min-height: clamp(200px, 28vw, 420px); margin-top: clamp(24px, 3vw, 52px); }
.film .play { position: absolute; left: clamp(20px, 3vw, 52px); bottom: 18px; font-size: 13px;
              background: rgba(255,255,255,0.8); padding: 8px 16px; border: 1px solid #111; }

/* tags / chips */
.tag { font-size: 10px; border: 1px solid #999; padding: 2px 8px; color: #555;
       text-transform: uppercase; letter-spacing: 1px; }

/* the skill-transfer tree */
.tree { margin-top: clamp(24px, 3vw, 56px); }
.trunk { border: 2px solid #111; background: #f2f2f2; padding: clamp(16px, 1.8vw, 26px);
         text-align: center; width: min(560px, 46%); margin: 0 auto; }
.trunk b { display: block; font-size: clamp(15px, 1.3vw, 20px); }
.connector { position: relative; height: clamp(44px, 5vw, 76px); }
.connector .line-v { position: absolute; left: 50%; top: 0; width: 1px; height: 50%; background: #666; }
.connector .line-h { position: absolute; left: 25%; right: 25%; top: 50%; height: 1px; background: #666; }
.connector .stub-l { position: absolute; left: 25%; top: 50%; width: 1px; height: 50%; background: #666; }
/* right stub reaches the offset arch branch head: 50% + the branch offset */
.connector .stub-r { position: absolute; right: 25%; top: 50%; width: 1px;
                     height: calc(50% + clamp(20px, 2.6vw, 48px)); background: #666; }
.branches { display: flex; gap: clamp(24px, 4vw, 72px); align-items: flex-start; }
.branch { flex: 1 1 0; min-width: 0; }
.branch.offset { margin-top: clamp(20px, 2.6vw, 48px); }
.branch-head { border: 2px solid #111; padding: 12px 14px; text-align: center; background: #fff; }
.branch-head b { display: block; font-size: clamp(13px, 1vw, 17px); }
.node { position: relative; border: 1px solid #999; padding: 13px 15px; margin-top: 14px;
        background: #fff; max-width: 560px; }
.node.indent-1 { margin-left: 8%; }
.node.indent-2 { margin-left: 16%; }
.node b { display: block; font-size: clamp(13px, 1vw, 16px); }
.node span { font-size: 12px; color: #555; }
/* whole card is a tap target, not just the title text */
.node b a::after { content: ""; position: absolute; inset: 0; }
.node.feat { border: 2px solid #111; background: #f2f2f2; box-shadow: 5px 5px 0 #111; max-width: 620px; }
.node .feat-mark { font-size: 9px; border: 1px solid #111; padding: 0 5px; margin-left: 6px; letter-spacing: 1px; }
.node:hover { background: #eee; }
.tree-note { text-align: center; max-width: none; margin-top: clamp(24px, 2.6vw, 48px); }

/* spotlight */
.spotlight { border: 2px solid #111; background: #f7f7f7; padding: clamp(22px, 3vw, 44px); }

/* tools shelf */
.shelf { border: 1px solid #999; background: #fafafa; padding: 18px 20px; min-height: 130px; }
.shelf h3 { margin: 0 0 8px; color: #111; }

/* about */
.edu-item { display: flex; gap: 18px; border-top: 1px solid #ccc; padding: 12px 0; }
.edu-item .date { flex: 0 0 110px; font-size: 12px; color: #555; }
.method-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 28px);
                margin-top: clamp(24px, 3vw, 48px); }
.method-strip .m { border-top: 3px solid #111; padding-top: 12px; }
.method-strip .m b { display: block; font-size: 15px; margin-bottom: 4px; }

/* tables */
table { border-collapse: collapse; width: 100%; max-width: 620px; margin: 12px 0; font-size: 13px; }
th, td { border: 1px solid #999; padding: 8px 10px; text-align: left; vertical-align: top; }
th { background: #eee; }

/* buttons */
.btn { display: inline-block; border: 1px solid #111; padding: 10px 20px; text-decoration: none;
       margin: 0 8px 8px 0; font-size: 13px; }
.btn:hover { background: #111; color: #fff; }

/* bottom bar — links spread across the content canvas */
.bottombar { border-top: 3px solid #111; padding: 26px 0; }
.bottombar .links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.bottombar .links a { font-size: clamp(12px, 0.9vw, 15px); text-decoration: none;
                      border-bottom: 1px solid #999; padding-bottom: 2px; }
.bottombar .links a:hover { border-bottom: 2px solid #111; }

footer { padding: 18px 0 46px; font-size: 12px; color: #444; }
footer .credits b { color: #111; }

/* subpage helpers (case studies keep a readable measure) */
.section-block { padding: clamp(28px, 3.5vw, 52px) 0; border-bottom: 1px solid #ccc; }
.entry { display: flex; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.entry .date { flex: 0 0 110px; font-weight: bold; font-size: 14px; }
.entry .body { flex: 1 1 300px; }
.entry .img { flex: 0 0 240px; min-height: 130px; }
.quote { border-left: 3px solid #666; padding-left: 14px; font-style: italic; margin: 16px 0; }
.stats { display: flex; gap: 20px; flex-wrap: wrap; }
.stat { flex: 1 1 150px; border-left: 3px solid #111; padding-left: 12px; }
.stat b { font-size: 26px; display: block; }
.stat span { font-size: 12px; color: #444; }
.xref { border: 1px dashed #666; background: #f2f2f2; padding: 16px 18px; margin: 20px 0; }
.grid { display: flex; gap: 16px; flex-wrap: wrap; }
.card { border: 1px solid #ccc; padding: 14px; flex: 1 1 270px; }

@media (max-width: 900px) {
  .topbar-in { flex-wrap: wrap; row-gap: 2px; padding-top: 10px; padding-bottom: 10px; }
  .topbar nav { flex-wrap: wrap; justify-content: flex-end; }
  .hero-band { min-height: 70vh; }
  .hero-title, .hero-claim { grid-column: 1 / span 12; }
  .hero-claim { margin-top: 18px; }
  .scroll-hint { display: none; }
  .numbers { grid-template-columns: repeat(2, 1fr); }
  .branches { flex-direction: column; }
  .branch.offset { margin-top: 0; }
  .connector { display: none; }
  .trunk { width: 100%; margin-bottom: 14px; }
  .node, .node.feat { max-width: none; }
  .node.indent-1, .node.indent-2 { margin-left: 0; }
  .method-strip { grid-template-columns: repeat(2, 1fr); }
  .span-4, .span-5, .span-6, .span-7, .span-8 { grid-column-end: span 12; }
  .start-2, .start-7, .start-8 { grid-column-start: 1; }
}
