/* MiTechShots site styles (generated by build_site.py) */
:root {
  --cream: #f6ede1; --paper: #fcf8f2; --sand: #efe3d2; --line: #e3d3bd;
  --ink: #2f2619; --muted: #66594a; --rust: #a9471f; --rust-dark: #8a3716;
  --clay: #e07b5a; --lav: #dccfe8; --lav-soft: #ece4f3; --plum: #5e4580;
  --mustard: #f2c14e; --olive: #59632c; --coffee: #2b2117;
  --radius: 22px; --shadow: 0 1px 2px rgba(47,38,25,.06), 0 10px 30px rgba(47,38,25,.07);
  --serif: 'Fraunces', Georgia, serif; --sans: 'DM Sans', system-ui, sans-serif;
  --tile: #c25b2f; --accent: #9a3f1a; --tint: #f6e1d5;
}
[data-track="de"] { --tile: #c25b2f; --accent: #9a3f1a; --tint: #f6e1d5; }
[data-track="cloud"] { --tile: #6b7a3a; --accent: #4e5a22; --tint: #e7ebd5; }
[data-track="ds"] { --tile: #e2b547; --accent: #7a5a0c; --tint: #f7ebc8; }
[data-track="genai"] { --tile: #a68bc9; --accent: #5e4580; --tint: #ece3f4; }
[data-track="devops"] { --tile: #d9774f; --accent: #9a4424; --tint: #f7e2d8; }
[data-track="interview"] { --tile: #8e5a3c; --accent: #7a4127; --tint: #f1e2d8; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 17px; color: var(--ink); background: var(--cream); line-height: 1.6; }
a { color: var(--rust); }
img, svg { flex-shrink: 0; }
.container { width: min(1360px, 100% - 48px); margin-inline: auto; }
.display { font-family: var(--serif); font-weight: 800; letter-spacing: -.015em; font-variation-settings: "SOFT" 100, "opsz" 96; }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rust); }
.wave { display: block; width: 120px; height: 14px; color: var(--lav); margin: 14px 0 0; }
.wave.rust { color: var(--clay); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246,237,225,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1; text-decoration: none; color: var(--ink); }
.brand-name { font-family: var(--serif); font-weight: 800; font-size: 28px; letter-spacing: -.02em; font-variation-settings: "SOFT" 100; }
.brand-name b { color: var(--rust); font-weight: 800; }
.brand-sub { font-size: 10.5px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.nav { margin-left: auto; display: flex; gap: 2px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 700; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; padding: 10px 14px; border-radius: 999px; }
.nav a:hover { background: var(--sand); }
.nav a[aria-current="page"] { color: #fff; background: var(--rust); }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 12px; padding: 8px; color: var(--ink); cursor: pointer; }
@media (max-width: 1020px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: var(--paper); padding: 12px 16px 18px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 13px 14px; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; border-radius: 999px; font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-rust { background: var(--rust); color: #fff; }
.btn-rust:hover { background: var(--rust-dark); }
.btn-line { border: 2px solid currentColor; color: var(--ink); }
.btn-cream { background: var(--cream); color: var(--rust-dark); }
.circle-btn { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--lav); color: var(--plum); }

/* hero */
.hero { padding: 28px 0 0; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; }
.hero-copy { padding: 20px 0 36px; display: flex; flex-direction: column; justify-content: center; }
.hero h1 { font-size: clamp(40px, 4.6vw, 66px); line-height: 1; margin: 12px 0 0; text-wrap: balance; }
.hero .lead { font-size: 18px; max-width: 560px; margin: 16px 0 22px; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 18px; }
.stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--serif); font-size: 30px; line-height: 1; font-weight: 800; }
.stat span { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hero-art { position: relative; min-height: 430px; border-radius: 200px 32px 32px 32px; background: var(--rust); overflow: hidden; }
.hero-art::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255,255,255,.07) 0 2px, transparent 2px 64px), repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 2px, transparent 2px 64px); }
.hero-art .plinth { display: none; position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); width: 300px; height: 56px; border-radius: 50%; background: #a597b8; box-shadow: inset 0 -12px 0 rgba(0,0,0,.12); }
.code-card { position: absolute; left: 50%; top: 58px; transform: translateX(-50%) rotate(-3deg); width: min(430px, 80%); background: var(--paper); border-radius: 22px; box-shadow: 0 24px 50px rgba(43,33,23,.35); overflow: hidden; }
.code-card .bar { display: flex; gap: 7px; padding: 14px 18px; background: var(--sand); }
.code-card .bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--clay); }
.code-card .bar i:nth-child(2) { background: var(--mustard); } .code-card .bar i:nth-child(3) { background: var(--olive); }
.code-card pre { margin: 0; padding: 16px 20px 18px; font: 500 13.5px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--ink); white-space: pre; overflow: hidden; }
.code-card .k { color: var(--rust); font-weight: 700; } .code-card .s { color: var(--olive); } .code-card .c { color: #9a8a74; }
.note-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; background: var(--paper); color: var(--ink); border-radius: 999px; padding: 10px 16px; font-weight: 700; font-size: 14px; box-shadow: 0 10px 24px rgba(43,33,23,.25); }
.note-chip svg { color: var(--olive); }
.badge { position: absolute; width: 124px; height: 124px; border-radius: 50%; background: var(--mustard); color: var(--ink); display: grid; place-items: center; box-shadow: 0 10px 24px rgba(43,33,23,.22); }
.badge svg.ring { position: absolute; inset: 0; animation: spin 26s linear infinite; }
.badge .mid { color: var(--plum); }
@keyframes spin { to { transform: rotate(360deg); } }

/* search */
.search { position: relative; max-width: 600px; }
.search label { position: absolute; left: -9999px; }
.search-box { display: flex; align-items: center; gap: 12px; background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 8px 6px 20px; color: var(--muted); box-shadow: var(--shadow); }
.search-box input { flex: 1; border: 0; outline: none; font: inherit; font-size: 17px; color: var(--ink); padding: 12px 0; min-width: 0; background: transparent; }
.search-box kbd { font: 700 12px var(--sans); color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px; margin-right: 8px; }
@media (max-width: 700px) { .search-box kbd { display: none; } }
.results { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 18px 40px rgba(47,38,25,.18); padding: 8px; list-style: none; margin: 0; max-height: 420px; overflow: auto; z-index: 20; }
.results[hidden] { display: none; }
.results a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 14px; text-decoration: none; color: var(--ink); }
.results a:hover, .results a.active { background: var(--sand); }
.results .dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 8px; background: var(--tile); }
.results strong { display: block; }
.results small { color: var(--muted); }
.results .empty { padding: 12px; color: var(--muted); }

/* lavender feature band */
.band { background: var(--lav); margin-top: 0; }
.band .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.band-item { display: flex; align-items: center; gap: 14px; padding: 16px 20px; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); line-height: 1.45; }
.band-item + .band-item { border-left: 1.5px solid rgba(94,69,128,.25); }
.band-item .ic { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--plum); display: grid; place-items: center; color: var(--plum); }
@media (max-width: 900px) { .band .container { grid-template-columns: 1fr 1fr; } .band-item:nth-child(3) { border-left: 0; } }
@media (max-width: 520px) { .band .container { grid-template-columns: 1fr; } .band-item + .band-item { border-left: 0; border-top: 1.5px solid rgba(94,69,128,.25); } }

/* sections */
.section { padding: 52px 0; }
.section-split { display: grid; grid-template-columns: minmax(230px, 270px) 1fr; gap: 36px; align-items: start; }
.section-intro h2 { font-size: clamp(30px, 2.8vw, 42px); line-height: 1.04; margin: 10px 0 0; }
.section-intro p { color: var(--muted); margin: 22px 0 22px; }
.text-link { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); text-underline-offset: 6px; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-head h2 { font-size: clamp(30px, 2.8vw, 42px); line-height: 1.04; margin: 8px 0 0; }
.section-head p { margin: 10px 0 0; color: var(--muted); max-width: 620px; }

/* track cards */
.tracks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.track-card { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease; }
.track-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(47,38,25,.14); }
.track-card .art { position: relative; height: 120px; background: var(--tile); display: grid; place-items: center; color: rgba(255,255,255,.95); overflow: hidden; }
.track-card .art::before { content: ""; position: absolute; width: 230px; height: 230px; border-radius: 50%; background: rgba(255,255,255,.12); right: -60px; top: -80px; }
.track-card .art::after { content: ""; position: absolute; width: 120px; height: 120px; border-radius: 50%; background: rgba(255,255,255,.1); left: -30px; bottom: -40px; }
.track-card .art svg { width: 54px; height: 54px; position: relative; }
.track-card .body { padding: 16px 20px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.track-card h3 { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.track-card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.track-card .foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 14px; font-weight: 700; }
.count { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }

/* guide cards */
.guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.guide-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 0 0 22px; background: var(--paper); border-radius: var(--radius); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); overflow: hidden; transition: transform .16s ease, box-shadow .16s ease; }
.guide-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(47,38,25,.14); }
.guide-card .strip { height: 10px; background: var(--tile); }
.guide-card .inner { padding: 14px 22px 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.guide-card .tag { align-self: flex-start; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.guide-card h3 { font-size: 23px; line-height: 1.12; margin: 0; }
.guide-card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.chip { font-size: 12.5px; font-weight: 700; color: var(--accent); background: var(--tint); border-radius: 999px; padding: 4px 11px; }
.guide-card .foot { display: flex; align-items: center; justify-content: space-between; padding: 14px 22px 0; }
.read { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.group-title { font-size: 30px; margin: 46px 0 18px; }
.group-title:first-child { margin-top: 0; }

/* story band */
.story { display: grid; grid-template-columns: 1.1fr 1fr 0.8fr; gap: 0; border-radius: 26px; overflow: hidden; }
.story-copy { background: var(--rust); color: #fff; padding: 36px 36px; display: flex; flex-direction: column; justify-content: center; }
.story-copy .kicker { color: #ffe8c9; }
.story-copy h2 { font-size: clamp(28px, 2.6vw, 40px); line-height: 1.04; margin: 10px 0 12px; }
.story-copy p { margin: 0 0 28px; opacity: .95; }
.story-stats { background: var(--sand); padding: 30px 32px; display: grid; gap: 14px; align-content: center; }
.story-stats div { border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.story-stats div:last-child { border-bottom: 0; }
.story-stats strong { display: block; font-family: var(--serif); font-size: 34px; line-height: 1; }
.story-stats span { color: var(--muted); font-size: 15px; }
.story-badge { position: relative; background: var(--lav); display: grid; place-items: center; padding: 40px; }
.story-badge .badge { position: relative; width: 170px; height: 170px; background: transparent; box-shadow: none; color: var(--plum); }
.story-badge small { position: absolute; bottom: 28px; left: 0; right: 0; text-align: center; font-weight: 700; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--plum); }

/* track page */
.track-hero { padding: 24px 0 0; }
.crumbs { display: flex; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; color: var(--muted); }
.crumbs a { color: var(--ink); }
.track-hero h1 { font-size: clamp(40px, 4.6vw, 66px); line-height: 1; margin: 10px 0 0; }
.track-hero p.lead { max-width: 620px; font-size: 18px; margin: 14px 0 0; color: var(--muted); }
.track-hero .hero-art { min-height: 260px; background: var(--tile); border-radius: 130px 28px 28px 28px; }
.track-hero .big-icon { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.95); }
.track-hero .big-icon svg { width: 110px; height: 110px; }
.other-tracks { display: flex; flex-wrap: wrap; gap: 12px; }
.other-tracks a { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; background: var(--paper); box-shadow: var(--shadow); }
.other-tracks a span { width: 12px; height: 12px; border-radius: 50%; background: var(--tile); }

/* footer */
.site-footer { background: var(--sand); color: var(--ink); padding: 44px 0 24px; margin-top: 20px; border-top: 1px solid var(--line); }
.site-footer .grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px; }
.site-footer p { color: var(--muted); max-width: 360px; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--rust); text-decoration: underline; }
.site-footer h4 { margin: 0 0 14px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rust); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer small { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; letter-spacing: .06em; }

/* responsive */
@media (max-width: 1100px) {
  .tracks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-split { grid-template-columns: 1fr; }
  .story { grid-template-columns: 1fr 1fr; } .story-badge { grid-column: 1 / -1; min-height: 280px; }
  .site-footer .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 24px 0 8px; }
  .hero-art { min-height: 440px; border-radius: 160px 28px 28px 28px; }
  .track-hero .hero-art { min-height: 260px; }
  .story { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .container { width: min(1360px, 100% - 32px); }
  .tracks { grid-template-columns: 1fr; }
  .site-footer .grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 380px; }
  .code-card { top: 60px; } .code-card pre { font-size: 12.5px; padding: 16px; }
  .hero-art .plinth { width: 240px; }
  .section { padding: 60px 0; }
  .story-copy, .story-stats { padding: 36px 26px; }
}
