/* =========================================================
   khanhtrang.info — Marketing Portfolio
   Palette: 70% blue / butter · 30% brown
   Type scale: 1.25 (below 25px) · 1.333 (25px and up)
   ========================================================= */
:root {
  --blue: #4B5B9B;
  --blue-deep: #3A4780;
  --butter: #F3E3A6;
  --butter-soft: #F8EDC6;
  --mocha: #3B2A20;
  --walnut: #7B5E4A;
  --caramel: #8C6744;
  --beige: #D1B89A;
  --vanilla: #F2E7D5;
  --ivory: #FAF7F0;
  --bar: #8E9AC8;
  --line: #E6DCCB;

  --fs-micro: 10.24px;
  --fs-cap: 12.8px;
  --fs-body: 16px;
  --fs-lead: 20px;
  --fs-h4: 25px;
  --fs-h3: 33px;
  --fs-num: 44px;
  --fs-display: clamp(44px, 5vw, 59px);
  --fs-h2: clamp(44px, 6vw, 78.6px);
  --fs-h1: clamp(59px, 9vw, 104.8px);

  --font-head: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --header-h: 72px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.6; color: var(--blue-deep); background: var(--butter); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:hover { color: inherit; opacity: .92; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
svg.icon { width: 1em; height: 1em; flex: none; }
:focus-visible { outline: 3px solid var(--caramel); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--mocha); color: var(--vanilla); padding: 10px 16px; border-radius: 10px; font-weight: 800; }
.skip-link:focus { top: 12px; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.bg-blue { background: var(--blue); color: var(--butter); }
.bg-butter { background: var(--butter); color: var(--blue-deep); }
.bg-mocha { background: var(--mocha); color: var(--vanilla); }
.bg-vanilla { background: var(--vanilla); color: var(--mocha); }
.bg-ivory { background: var(--ivory); color: var(--mocha); }

.head { font-family: var(--font-head); font-weight: 400; letter-spacing: .01em; line-height: 1.1; text-wrap: balance; }
.h2 { font-family: var(--font-head); font-weight: 400; font-size: var(--fs-h2); line-height: 1.1; letter-spacing: .01em; text-wrap: balance; }
.eyebrow { font-size: var(--fs-cap); font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.lead { font-size: var(--fs-body); font-weight: 600; line-height: 1.6; max-width: 560px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; margin-bottom: clamp(24px, 4vw, 40px); }
.section-head.center { flex-direction: column; align-items: center; text-align: center; gap: 14px; }

/* ---------- buttons & chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 2px solid transparent; font-size: var(--fs-body); font-weight: 800; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(58, 71, 128, .22); opacity: 1; }
.btn-primary { background: var(--blue); color: var(--butter); }
.btn-outline { border-color: currentColor; background: transparent; }
.btn-caramel { background: var(--caramel); color: #fff; }
.btn-butter { background: var(--butter); color: var(--blue-deep); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: var(--fs-cap); }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; font-size: var(--fs-cap); font-weight: 800; line-height: 1.2; }
.chip.solid { background: var(--blue); color: var(--butter); }
.chip.line { border: 1.5px solid currentColor; }
.chip.brown { background: var(--mocha); color: var(--vanilla); }
.icon-circle { width: 46px; height: 46px; border-radius: 50%; border: 2px solid currentColor; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.icon-circle svg { width: 20px; height: 20px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(243, 227, 166, .92); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); transition: box-shadow .2s ease; }
.site-header.scrolled { box-shadow: 0 6px 20px rgba(58, 71, 128, .12); }
.nav { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { width: 46px; height: 46px; border-radius: 50%; background: var(--blue); color: var(--butter); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 18px; letter-spacing: .04em; text-decoration: none; flex: none; }
.nav-links { display: flex; align-items: center; gap: 4px 26px; font-size: var(--fs-cap); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.nav-links a { text-decoration: none; padding: 12px 0; position: relative; }
.nav-links a.active:not(.nav-cv)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--caramel); border-radius: 2px; }
.nav-cv { display: inline-flex !important; align-items: center; gap: 8px; min-height: 46px; padding: 0 22px !important; border-radius: 999px; background: var(--mocha); color: var(--vanilla); font-family: var(--font-head); font-size: var(--fs-lead); font-weight: 400; letter-spacing: .08em; box-shadow: 0 6px 16px rgba(59, 42, 32, .25); }
.nav-cv svg { width: 18px; height: 18px; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--blue-deep); background: transparent; color: var(--blue-deep); align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav-download { display: none !important; }
  .nav-links { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 24px; background: var(--butter); box-shadow: 0 16px 30px rgba(58, 71, 128, .18); transform: translateY(-120%); visibility: hidden; transition: transform .25s ease, visibility .25s; }
  .nav-links.open { transform: none; visibility: visible; }
  .nav-links a { padding: 14px 4px; border-bottom: 1px solid rgba(58, 71, 128, .15); font-size: var(--fs-body); }
  .nav-links .nav-cv { justify-content: center; margin-bottom: 8px; border-bottom: 0; }
  .nav-links .nav-mobile-dl { display: flex !important; }
}
.nav-mobile-dl { display: none !important; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(32px, 5vw, 64px) clamp(48px, 6vw, 80px); }
.hero-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 48px; }
.hero-text { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.hero-meta .tag { font-size: var(--fs-cap); font-weight: 800; letter-spacing: .16em; padding: 8px 16px; border: 1.5px solid var(--blue); border-radius: 999px; }
.hero-meta .place { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-cap); font-weight: 700; }
.hero-name { font-family: var(--font-head); font-weight: 400; font-size: var(--fs-h1); line-height: 1.12; letter-spacing: .01em; }
.hero-name .first { color: var(--blue); display: block; }
.hero-name .last { color: var(--mocha); display: block; }
.hero-statement { font-size: var(--fs-lead); font-weight: 800; line-height: 1.5; }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.hero-actions .row { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-photo { flex: 1 1 340px; min-width: 0; display: flex; justify-content: center; }
.arch { position: relative; width: 100%; max-width: 420px; }
.arch img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 28px 28px; background: var(--blue); }
.badge-round { position: absolute; left: -8px; bottom: 34px; width: 124px; height: 124px; border-radius: 50%; background: var(--caramel); color: #fff; transform: rotate(-10deg); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; outline: 2px dashed #fff; outline-offset: -8px; box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
.badge-round b { font-family: var(--font-head); font-weight: 400; font-size: var(--fs-h3); line-height: 1; }
.badge-round span { font-size: var(--fs-cap); font-weight: 800; letter-spacing: .04em; line-height: 1.25; margin-top: 4px; }

/* ---------- about ---------- */
.about-grid { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.about-text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.about-text h2 { font-family: var(--font-head); font-weight: 400; font-size: var(--fs-display); line-height: 1.18; letter-spacing: .01em; }
.about-text p { max-width: 600px; line-height: 1.75; }
.belief { font-size: var(--fs-lead); font-weight: 800; line-height: 1.5; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 20px 16px; padding-top: 8px; }
.stat b { display: block; font-family: var(--font-head); font-weight: 400; font-size: var(--fs-num); line-height: 1.1; letter-spacing: .02em; }
.stat span { font-size: var(--fs-cap); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.partners { background: var(--butter); color: var(--blue-deep); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.partners .title { display: flex; align-items: center; gap: 12px; font-size: var(--fs-cap); font-weight: 800; letter-spacing: .18em; }
.partners .title::before, .partners .title::after { content: ""; width: 32px; height: 1.5px; background: currentColor; }
.partners ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.partners li { display: inline-flex; align-items: baseline; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--blue-deep); font-family: var(--font-head); font-size: 15px; line-height: 1.2; letter-spacing: .04em; }
.partners li small { font-family: var(--font-body); font-size: var(--fs-micro); font-weight: 800; letter-spacing: .08em; }
.partners .more { font-size: var(--fs-cap); font-weight: 600; }
.about-photo { flex: 1 1 340px; min-width: 0; position: relative; display: flex; justify-content: center; }
.about-photo img { width: 100%; max-width: 420px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; border: 6px solid var(--butter); }
.sticker { position: absolute; right: 4px; bottom: -14px; padding: 10px 16px; border-radius: 12px; background: var(--caramel); color: #fff; font-family: var(--font-head); font-size: var(--fs-h4); letter-spacing: .02em; transform: rotate(-5deg); box-shadow: 0 8px 20px rgba(0, 0, 0, .2); }

/* ---------- strengths ---------- */
.strengths { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.pill-list { flex: 1 1 280px; display: flex; flex-direction: column; gap: 10px; }
.pill-list li { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 18px; border-radius: 12px; background: var(--blue); color: var(--butter); font-family: var(--font-head); font-size: var(--fs-lead); line-height: 1.25; letter-spacing: .04em; }
.pill-list li.brown { background: var(--mocha); color: var(--vanilla); }
.pill-list svg { width: 22px; height: 22px; }
.full-photo { flex: 1 1 240px; display: flex; justify-content: center; }
.full-photo img { width: 100%; max-width: 280px; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 160px 160px 20px 20px; }
.strength-text { flex: 1 1 300px; display: flex; flex-direction: column; gap: 16px; text-align: right; }
.strength-text h3 { font-size: var(--fs-h4); font-weight: 800; line-height: 1.3; }
.industry { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; text-align: left; }
.industry li { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; background: var(--butter-soft); font-size: var(--fs-cap); font-weight: 800; }
.industry svg { width: 18px; height: 18px; }
.figure-bar { margin-top: 30px; background: var(--blue); color: var(--butter); border-radius: 16px; padding: 18px 22px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.figure-bar li { display: flex; align-items: center; gap: 12px; }
.figure-bar svg { width: 26px; height: 26px; }
.figure-bar b { font-family: var(--font-head); font-weight: 400; font-size: var(--fs-h4); letter-spacing: .03em; margin-right: 6px; }
.figure-bar span { font-size: var(--fs-cap); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- experience ---------- */
.exp-main { display: flex; flex-wrap: wrap; gap: 16px; }
.exp-card { flex: 1 1 480px; min-width: 0; background: var(--vanilla); color: var(--mocha); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.exp-card .top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.period { padding: 6px 12px; border-radius: 999px; background: var(--walnut); color: var(--ivory); font-size: var(--fs-cap); font-weight: 800; letter-spacing: .06em; }
.sector { font-size: var(--fs-cap); font-weight: 800; letter-spacing: .08em; color: var(--walnut); text-transform: uppercase; }
.exp-card h3 { font-family: var(--font-head); font-weight: 400; font-size: var(--fs-h3); line-height: 1.2; letter-spacing: .02em; }
.role { font-size: var(--fs-body); font-weight: 800; color: var(--walnut); }
.check-list { display: flex; flex-direction: column; gap: 10px; font-size: var(--fs-body); line-height: 1.55; }
.check-list li { display: flex; gap: 12px; }
.check-list .ico { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--walnut); color: var(--ivory); display: flex; align-items: center; justify-content: center; }
.check-list .ico svg { width: 16px; height: 16px; }
.exp-more { margin-top: 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.exp-mini { border: 1.5px solid var(--walnut); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.exp-mini .meta { font-size: var(--fs-cap); font-weight: 800; letter-spacing: .08em; color: var(--beige); }
.exp-mini h3 { font-family: var(--font-head); font-weight: 400; font-size: var(--fs-h4); line-height: 1.2; letter-spacing: .02em; }
.exp-mini .role { color: var(--beige); }
.exp-mini li { display: flex; gap: 10px; font-size: var(--fs-body); line-height: 1.5; }
.exp-mini li svg { width: 18px; height: 18px; margin-top: 3px; color: var(--beige); }

/* ---------- skills (gears) ---------- */
.skills-layout { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px; }
.step-col { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.step { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-radius: 24px; }
.step.left { flex-direction: row-reverse; text-align: right; }
.step .num { flex: none; width: 58px; height: 58px; border-radius: 50%; border: 2px solid currentColor; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: var(--fs-h4); }
.step .body { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.step.left .body { align-items: flex-end; }
.step h3 { font-family: var(--font-head); font-weight: 400; font-size: clamp(20px, 1.8vw, 25px); line-height: 1.2; letter-spacing: .03em; }
.step .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.step.left .tags { justify-content: flex-end; }
.step .tags span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; border: 1.5px solid currentColor; font-size: var(--fs-cap); font-weight: 800; }
.step .tags svg { width: 14px; height: 14px; }
.s1 { background: var(--blue); color: var(--butter); }
.s2 { background: var(--blue-deep); color: var(--butter); }
.s3 { background: var(--walnut); color: var(--ivory); }
.s4 { background: var(--mocha); color: var(--vanilla); }

.gear-ring { position: relative; flex: 0 1 480px; width: 100%; max-width: 480px; aspect-ratio: 1; }
.gear, .gear-hub { position: absolute; transform: translate(-50%, -50%); aspect-ratio: 1; }
.gear { width: 25%; }
.gear-hub { left: 50%; top: 50%; width: 34%; }
.gear-shape { position: absolute; inset: 0; width: 100%; height: 100%; animation: gspin 40s linear infinite; }
.gear.rev .gear-shape, .gear-hub .gear-shape { animation-direction: reverse; }
.gear .in { position: absolute; inset: 14%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; }
.gear .in svg { width: 22px; height: 22px; }
.gear .in span { font-size: var(--fs-cap); font-weight: 800; line-height: 1.2; }
.gear-hub .in { position: absolute; inset: 16%; border-radius: 50%; background: var(--blue); color: var(--butter); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.gear-hub b { font-family: var(--font-head); font-weight: 400; font-size: var(--fs-num); line-height: 1; }
.gear-hub span { font-size: var(--fs-cap); font-weight: 800; letter-spacing: .08em; }
.g1 { color: var(--blue); } .g1 .in { color: var(--butter); }
.g2 { color: var(--blue-deep); } .g2 .in { color: var(--butter); }
.g3 { color: var(--walnut); } .g3 .in { color: var(--ivory); }
.g4 { color: var(--mocha); } .g4 .in { color: var(--vanilla); }
@keyframes gspin { to { transform: rotate(360deg); } }
@media (max-width: 640px) {
  .gear-ring { aspect-ratio: auto; max-width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .gear { position: relative; left: auto !important; top: auto !important; transform: none; width: auto; }
  .gear-hub { display: none; }
  .gear .in span { font-size: var(--fs-micro); }
}

/* ---------- case studies ---------- */
.cases { display: flex; flex-wrap: wrap; gap: 18px; }
.case { flex: 1 1 500px; min-width: 0; background: var(--butter); color: var(--blue-deep); border-radius: 20px; padding: 14px; display: flex; flex-direction: column; gap: 14px; }
.case > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; }
.case .info { display: flex; flex-wrap: wrap; gap: 14px; padding: 0 6px; }
.case .info > div { flex: 1 1 200px; }
.case h3 { font-family: var(--font-head); font-weight: 400; font-size: var(--fs-h3); line-height: 1.15; letter-spacing: .02em; margin-bottom: 6px; }
.case .info small { font-size: var(--fs-cap); font-weight: 800; letter-spacing: .06em; }
.case .info p { font-size: var(--fs-cap); line-height: 1.6; }
.case .info p strong { display: block; margin-bottom: 4px; letter-spacing: .08em; }
.result { border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.result.blue { background: var(--blue); color: var(--butter); }
.result.brown { background: var(--mocha); color: var(--vanilla); }
.result .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)); gap: 18px 14px; }
.result b { display: block; font-family: var(--font-head); font-weight: 400; font-size: clamp(25px, 2.4vw, 33px); line-height: 1.1; letter-spacing: .02em; }
.result .grid span { display: block; margin-top: 6px; font-size: var(--fs-cap); font-weight: 600; line-height: 1.35; }
.plain { display: flex; gap: 12px; align-items: flex-start; background: var(--butter-soft); border-radius: 12px; padding: 12px 14px; font-size: var(--fs-cap); line-height: 1.55; }
.plain svg { width: 22px; height: 22px; }
.thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.thumbs button { padding: 0; border: 0; background: none; border-radius: 8px; overflow: hidden; }
.thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .3s ease; }
.thumbs button:hover img { transform: scale(1.06); }
.deliver { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 2px 4px; }
.deliver span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 8px; border: 1.5px solid var(--blue-deep); font-size: var(--fs-cap); font-weight: 800; }
.deliver svg { width: 16px; height: 16px; }

.perf { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 18px; }
.chart-card { flex: 2 1 560px; min-width: 0; background: var(--blue-deep); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.chart-card .top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; }
.chart-card h3 { font-family: var(--font-head); font-weight: 400; font-size: var(--fs-h3); letter-spacing: .02em; }
.chart-card .top span, .chart-note { font-size: var(--fs-cap); font-weight: 600; line-height: 1.55; }
.chart-scroll { overflow-x: auto; }
.chart { min-width: 520px; display: flex; flex-direction: column; gap: 6px; }
.bars { height: 220px; display: flex; align-items: flex-end; gap: 7px; border-bottom: 2px solid var(--butter); }
.bars li { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; height: 100%; }
.bars i { display: block; width: 100%; min-height: 2px; background: var(--bar); border-radius: 6px 6px 0 0; }
.bars li.peak i { background: var(--butter); }
.bars li.top i { background: var(--caramel); }
.bars em { font-style: normal; font-size: var(--fs-micro); font-weight: 800; }
.bars li.top em { padding: 2px 5px; border-radius: 5px; background: var(--caramel); color: #fff; }
.months { display: flex; gap: 7px; font-size: var(--fs-micro); font-weight: 600; text-align: center; }
.months span { flex: 1; }
.kpis { flex: 1 1 300px; display: flex; flex-direction: column; gap: 12px; }
.kpi { display: flex; align-items: center; gap: 14px; border: 2px solid var(--butter); border-radius: 14px; padding: 14px 16px; }
.kpi svg { width: 26px; height: 26px; }
.kpi b { display: block; margin-bottom: 4px; font-family: var(--font-head); font-weight: 400; font-size: var(--fs-h4); line-height: 1.15; letter-spacing: .02em; }
.kpi span { font-size: var(--fs-cap); }
.kpi.caramel { background: var(--caramel); border-color: var(--caramel); color: #fff; }
.cta-strip { margin-top: 18px; background: var(--butter); color: var(--blue-deep); border-radius: 16px; padding: 18px 22px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; }
.cta-strip p { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-size: var(--fs-lead); letter-spacing: .02em; }
.cta-strip svg { width: 26px; height: 26px; }

/* ---------- reels ---------- */
.reels { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.reel { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; text-decoration: none; color: var(--ivory); background: var(--mocha); border: 0; padding: 0; text-align: left; transition: transform .2s ease, box-shadow .2s ease; }
.reel:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(59, 42, 32, .3); opacity: 1; }
.reel .poster { position: relative; display: block; aspect-ratio: 9 / 16; }
.reel .poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel .play { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: var(--ivory); color: var(--mocha); display: flex; align-items: center; justify-content: center; transition: transform .2s ease; }
.reel:hover .play { transform: scale(1.1); }
.reel .play svg { width: 24px; height: 24px; }
.reel .cap { padding: 12px 12px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.reel .brand { font-size: var(--fs-micro); font-weight: 800; letter-spacing: .12em; color: var(--beige); }
.reel .title { font-size: var(--fs-cap); font-weight: 800; line-height: 1.4; }
.reel .views { display: flex; align-items: center; gap: 5px; margin-top: 2px; font-size: var(--fs-micro); font-weight: 600; color: var(--beige); }
.reel .views svg { width: 13px; height: 13px; }

/* ---------- gallery ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.filters button { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--butter); background: transparent; color: var(--butter); font-size: var(--fs-cap); font-weight: 800; letter-spacing: .08em; }
.filters button[aria-pressed="true"] { background: var(--butter); color: var(--blue-deep); }
.masonry { columns: 4 200px; column-gap: 14px; }
.masonry figure { break-inside: avoid; margin: 0 0 14px; position: relative; }
.masonry button { display: block; width: 100%; padding: 0; border: 0; background: none; border-radius: 14px; overflow: hidden; }
.masonry img { width: 100%; transition: transform .35s ease; }
.masonry button:hover img { transform: scale(1.04); }
.masonry figcaption { position: absolute; left: 8px; bottom: 8px; right: 8px; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; pointer-events: none; }
.masonry figcaption .cat { padding: 4px 8px; border-radius: 6px; font-size: var(--fs-micro); font-weight: 800; letter-spacing: .1em; }
.masonry figcaption .name { padding: 4px 8px; border-radius: 6px; background: var(--blue-deep); color: var(--butter); font-size: var(--fs-cap); font-weight: 600; }
.cat.design { background: var(--butter); color: var(--blue-deep); }
.cat.posm { background: var(--caramel); color: #fff; }
.cat.shoot { background: var(--mocha); color: var(--vanilla); }
.masonry figure.hidden { display: none; }

/* ---------- events ---------- */
.events { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.event { background: var(--butter-soft); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.event button { padding: 0; border: 0; background: none; display: block; overflow: hidden; }
.event img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s ease; }
.event button:hover img { transform: scale(1.04); }
.event .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.event .no { font-family: var(--font-head); font-size: var(--fs-h3); line-height: 1; color: var(--caramel); }
.event h3 { font-family: var(--font-head); font-weight: 400; font-size: var(--fs-h4); line-height: 1.25; letter-spacing: .02em; }
.event .who { display: flex; align-items: center; gap: 6px; font-size: var(--fs-cap); font-weight: 800; }
.event .who svg { width: 15px; height: 15px; }
.process { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 14px; }
.process > div { flex: 1 1 420px; border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.process h3 { font-family: var(--font-head); font-weight: 400; font-size: var(--fs-h4); letter-spacing: .03em; }
.process ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; font-size: var(--fs-body); font-weight: 600; }
.process li { display: flex; align-items: center; gap: 10px; }
.process svg { width: 20px; height: 20px; }

/* ---------- tools ---------- */
.tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 16px; }
.tool-group { background: var(--vanilla); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.tool-group .ttl { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-size: var(--fs-h4); letter-spacing: .02em; }
.tool-group .ttl span { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.tool-group .ttl svg { width: 20px; height: 20px; }
.tool-group ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tool-group li { display: flex; align-items: center; gap: 10px; background: var(--ivory); border-radius: 12px; padding: 10px; font-size: var(--fs-body); font-weight: 800; line-height: 1.2; }
.logo-tile { flex: none; width: 38px; height: 38px; border-radius: 10px; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.logo-tile svg { width: 22px; height: 22px; }
.logo-tile svg.lg { width: 28px; height: 28px; }
.logo-tile img { width: 30px; height: 30px; }

/* ---------- education ---------- */
.certs { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 14px; }
.cert { border: 2px solid var(--butter); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.cert.edu { background: var(--butter); color: var(--blue-deep); border-color: var(--butter); }
.cert svg { width: 26px; height: 26px; }
.cert b { font-family: var(--font-head); font-weight: 400; font-size: var(--fs-lead); line-height: 1.25; letter-spacing: .02em; }
.cert span { font-size: var(--fs-cap); line-height: 1.5; }

/* ---------- contact ---------- */
.contact-top { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; margin-bottom: 30px; }
.contact-top img { flex: none; width: 220px; height: 220px; border-radius: 50%; object-fit: cover; border: 3px solid var(--caramel); }
.contact-top .txt { flex: 1 1 420px; display: flex; flex-direction: column; gap: 12px; }
.contact-top h2 { font-family: var(--font-head); font-weight: 400; font-size: var(--fs-h2); line-height: 1.1; letter-spacing: .01em; }
.contact-top h2 em { font-style: normal; color: var(--butter); }
.contact-top p { color: var(--beige); max-width: 560px; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.c-item { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 0 16px; border-radius: 14px; text-decoration: none; border: 1.5px solid var(--caramel); color: var(--vanilla); }
.c-item.fill { background: var(--walnut); border-color: var(--walnut); color: var(--ivory); }
.c-item.main { background: var(--butter); border-color: var(--butter); color: var(--blue-deep); }
.c-item svg { width: 22px; height: 22px; flex: none; }
.c-item small { display: block; font-size: var(--fs-micro); font-weight: 800; letter-spacing: .12em; }
.c-item span { font-size: var(--fs-body); font-weight: 800; overflow-wrap: anywhere; }
.c-item.cv { justify-content: center; background: var(--caramel); color: #fff; font-family: var(--font-head); font-size: var(--fs-lead); letter-spacing: .04em; }
.copy-btn { margin-left: auto; border: 0; background: rgba(58, 71, 128, .12); color: inherit; border-radius: 999px; padding: 6px 12px; font-size: var(--fs-cap); font-weight: 800; }

.form { margin-top: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; background: rgba(250, 247, 240, .06); border: 1.5px solid var(--walnut); border-radius: 18px; padding: 22px; }
.form h3 { grid-column: 1 / -1; font-family: var(--font-head); font-weight: 400; font-size: var(--fs-h4); letter-spacing: .03em; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: var(--fs-cap); font-weight: 800; letter-spacing: .08em; }
.field input, .field textarea { font: inherit; color: var(--mocha); background: var(--ivory); border: 2px solid transparent; border-radius: 12px; padding: 12px 14px; min-height: 48px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--butter); }
.form .actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.form .note { font-size: var(--fs-cap); color: var(--beige); }

.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 30px; padding-top: 20px; border-top: 1px solid #5A4434; font-size: var(--fs-cap); color: var(--beige); }

/* ---------- dialogs (lightbox + video) ---------- */
dialog.modal { border: 0; padding: 0; background: transparent; max-width: min(92vw, 1100px); max-height: 92vh; overflow: visible; }
dialog.modal::backdrop { background: rgba(30, 22, 16, .86); }
.modal-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.modal-inner img { max-width: min(92vw, 1100px); max-height: 80vh; width: auto; border-radius: 12px; }
.modal-cap { color: var(--vanilla); font-weight: 700; text-align: center; }
.modal-close, .modal-nav { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--butter); color: var(--blue-deep); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(0, 0, 0, .3); }
.modal-close { top: -18px; right: -18px; }
.modal-nav.prev { left: -24px; top: 45%; } .modal-nav.next { right: -24px; top: 45%; }
.modal-close svg, .modal-nav svg { width: 22px; height: 22px; }
.video-frame { width: min(92vw, 400px); aspect-ratio: 9 / 16; max-height: 82vh; background: #000; border-radius: 14px; overflow: hidden; }
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.video-frame.wide { width: min(92vw, 900px); aspect-ratio: 16 / 9; }
.modal-inner .btn { margin-top: 4px; }
@media (max-width: 640px) { .modal-close { top: -56px; right: 0; } .modal-nav.prev { left: 0; top: auto; bottom: -60px; } .modal-nav.next { right: 0; top: auto; bottom: -60px; } }

.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--blue); color: var(--butter); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(58, 71, 128, .3); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s ease; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 22px; height: 22px; transform: rotate(-90deg); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gear-shape { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .reel, .masonry img, .thumbs img, .event img { transition: none; }
}

@media (max-width: 640px) {
  .strength-text { text-align: left; }
  .step.left { flex-direction: row; text-align: left; }
  .step.left .body { align-items: flex-start; }
  .step.left .tags { justify-content: flex-start; }
  .badge-round { left: 0; }
  .contact-top img { width: 160px; height: 160px; }
}
