/* ============================================================
   karbonat.com — Material Design 3 re-skin
   Built on Karbonat MD3 tokens (tokens.css).
   ============================================================ */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--md-sys-color-background);
  color: var(--md-sys-color-on-background);
  font: var(--md-sys-typescale-body-large-weight) var(--md-sys-typescale-body-large-size)/var(--md-sys-typescale-body-large-line-height) var(--md-sys-typescale-body-large-font);
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, iframe { display: block; max-width: 100%; }
iframe { border: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

::selection { background: var(--kb-canary); color: var(--kb-neutral-10); }

/* Material Symbols defaults */
.symbol {
  font-family: "Material Symbols Rounded";
  font-weight: 400;
  font-style: normal;
  line-height: 1;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  user-select: none;
  font-size: 24px;
  flex-shrink: 0;
}
.symbol.s20 { font-size: 20px; font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 20; }
.symbol.s40 { font-size: 40px; font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 40; }
.symbol.s48 { font-size: 48px; font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 48; }
.symbol.filled { font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 24; }

/* Container */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 768px) { .container { padding: 0 16px; } }

/* Overline label — MD3 label-small uppercase, used as a section meta */
.overline {
  font: 500 11px/16px var(--md-ref-typeface-plain);
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--md-sys-color-on-surface-variant);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.overline .dot {
  width: 8px; height: 8px;
  background: var(--md-sys-color-primary);
  border-radius: var(--md-sys-shape-corner-extra-small);
  display: inline-block;
}

/* Section spacing */
section { padding: 96px 0; }
@media (max-width: 768px) { section { padding: 64px 0; } }

.section-head {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--md-sys-color-outline-variant);
}
.section-head h2 {
  margin: 0;
  font: 400 56px/1.05 var(--md-ref-typeface-brand);
  letter-spacing: -1.5px;
  color: var(--md-sys-color-on-surface);
  text-wrap: balance;
}
.section-head .index {
  font-family: var(--md-ref-typeface-mono);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--md-sys-color-on-surface-variant);
}
@media (max-width: 768px) {
  .section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; }
  .section-head h2 { font-size: 36px; letter-spacing: -1px; }
}

/* ============== APP BAR ============== */
.appbar {
  position: sticky; top: 0;
  z-index: 100;
  height: 96px;
  background: color-mix(in srgb, var(--md-sys-color-surface) 80%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 -1px 0 var(--md-sys-color-outline-variant);
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 8px;
}
.appbar .brand {
  display: flex; align-items: center;
  padding: 8px 12px;
  border-radius: var(--md-sys-shape-corner-full);
  transition: background var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard);
}
.appbar .brand:hover { background: var(--md-sys-color-surface-container); }
.appbar .brand img { height: 52px; width: auto; display: block; }
.appbar nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 24px;
}
.appbar nav a {
  position: relative;
  display: inline-flex; align-items: center;
  padding: 10px 16px;
  border-radius: var(--md-sys-shape-corner-full);
  font: 500 14px/20px var(--md-ref-typeface-plain);
  letter-spacing: 0.1px;
  color: var(--md-sys-color-on-surface-variant);
  transition: background var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard),
              color var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard);
}
.appbar nav a:hover { background: var(--md-sys-color-surface-container); color: var(--md-sys-color-on-surface); }
.appbar nav a.active {
  background: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
}
.appbar .spacer { flex: 1; }
.appbar .lang {
  display: inline-flex; align-items: center; gap: 6px;
  height: 40px;
  padding: 0 16px;
  border-radius: var(--md-sys-shape-corner-full);
  box-shadow: inset 0 0 0 1px var(--md-sys-color-outline);
  font: 500 13px/1 var(--md-ref-typeface-plain);
  letter-spacing: 0.5px;
  color: var(--md-sys-color-on-surface);
  transition: background var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard);
}
.appbar button.lang { border: 0; background: transparent; font: 500 13px/1 var(--md-ref-typeface-plain); }
.appbar .lang:hover { background: var(--md-sys-color-surface-container); }
.appbar .theme-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  padding: 0;
  border: 0;
  border-radius: var(--md-sys-shape-corner-full);
  box-shadow: inset 0 0 0 1px var(--md-sys-color-outline);
  background: transparent;
  color: var(--md-sys-color-on-surface);
  transition: background var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard);
}
.appbar .theme-btn:hover { background: var(--md-sys-color-surface-container); }
[data-theme="dark"] .appbar .brand img,
[data-theme="dark"] .menu-sheet .brand img { content: url("assets/karbonat-logo-white.png"); }
[data-theme="dark"] .foot .brand-block .lockup img { filter: none; }
.appbar .menu-btn {
  display: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 0; background: transparent;
  align-items: center; justify-content: center;
  color: var(--md-sys-color-on-surface);
}
@media (max-width: 1100px) {
  .appbar nav { display: none; }
  .appbar .menu-btn { display: inline-flex; }
}
@media (max-width: 720px) {
  .appbar { padding: 0 12px; }
}

/* ============== HERO ============== */
.hero { padding: 80px 0 96px; background: var(--md-sys-color-surface); }
.hero .grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: end;
}
.hero .meta { display: flex; flex-direction: column; gap: 10px; padding-bottom: 28px; }
.hero .meta .ix {
  font-family: var(--md-ref-typeface-mono);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--md-sys-color-on-surface-variant);
}
.hero .meta .tagline {
  margin-top: 16px;
  font: 500 16px/24px var(--md-ref-typeface-plain);
  color: var(--md-sys-color-on-surface);
  max-width: 22ch;
  letter-spacing: 0.1px;
}
.hero h1 {
  margin: 0;
  font: 400 152px/0.92 var(--md-ref-typeface-brand);
  font-variation-settings: "opsz" 48;
  letter-spacing: -5.5px;
  color: var(--md-sys-color-on-surface);
  text-wrap: balance;
}
.hero h1 .hl {
  position: relative;
  display: inline-block;
  padding: 0 18px 4px;
  margin-left: -6px;
  background: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
  border-radius: var(--md-sys-shape-corner-large);
  font-style: italic;
  font-weight: 500;
}
.hero .ledebar {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 240px 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding-top: 40px;
  border-top: 1px solid var(--md-sys-color-on-surface);
}
.hero .ledebar .estab {
  font: 400 80px/1 var(--md-ref-typeface-brand);
  letter-spacing: -3px;
  color: var(--md-sys-color-on-surface);
}
.hero .ledebar .estab small {
  display: block;
  margin-top: 12px;
  font: 500 11px/1.4 var(--md-ref-typeface-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--md-sys-color-on-surface-variant);
}
.hero .ledebar p {
  margin: 0;
  font: 400 16px/1.55 var(--md-ref-typeface-plain);
  color: var(--md-sys-color-on-surface);
  letter-spacing: 0.15px;
  max-width: 36ch;
}
@media (max-width: 1000px) {
  .hero h1 { font-size: 96px; letter-spacing: -3.5px; }
}
@media (max-width: 900px) {
  .hero .grid { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .hero .meta { padding-bottom: 0; }
  .hero .ledebar { grid-template-columns: 1fr; gap: 24px; margin-top: 48px; padding-top: 32px; }
  .hero h1 { font-size: 72px; letter-spacing: -2.5px; }
  .hero .ledebar .estab { font-size: 64px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 56px; letter-spacing: -2px; }
}

/* ============== REEL ============== */
.reel {
  background: var(--md-sys-color-inverse-surface);
  color: var(--md-sys-color-inverse-on-surface);
  padding: 80px 0;
}
.reel .head {
  display: grid;
  grid-template-columns: 240px 1fr auto;
  gap: 48px;
  align-items: end;
  margin-bottom: 32px;
}
.reel .head .label {
  font-family: var(--md-ref-typeface-mono);
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--md-sys-color-primary);
  display: inline-flex; align-items: center; gap: 10px;
}
.reel .head .label .dot {
  width: 8px; height: 8px;
  background: var(--md-sys-color-primary);
  border-radius: var(--md-sys-shape-corner-extra-small);
  display: inline-block;
}
.reel .head h3 {
  margin: 0;
  font: 400 36px/1.1 var(--md-ref-typeface-brand);
  letter-spacing: -1px;
  color: var(--md-sys-color-inverse-on-surface);
}
.reel .head .runtime {
  font-family: var(--md-ref-typeface-mono);
  font-size: 12px; letter-spacing: 0.08em;
  color: var(--md-sys-color-outline);
  white-space: nowrap;
}
.reel .frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
  border-radius: var(--md-sys-shape-corner-large);
}
.reel .frame iframe { width: 100%; height: 100%; }
@media (max-width: 768px) {
  .reel .head { grid-template-columns: 1fr; gap: 12px; align-items: start; }
  .reel .head h3 { font-size: 28px; letter-spacing: -0.5px; }
}

/* ============== SERVICES ============== */
.services { background: var(--md-sys-color-surface); }
.services .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.svc {
  position: relative;
  background: var(--md-sys-color-surface-container-low);
  padding: 28px;
  border-radius: var(--md-sys-shape-corner-large);
  display: flex;
  flex-direction: column;
  min-height: 320px;
  cursor: pointer;
  transition: background var(--md-sys-motion-duration-short4) var(--md-sys-motion-easing-standard),
              box-shadow var(--md-sys-motion-duration-short4) var(--md-sys-motion-easing-standard),
              transform var(--md-sys-motion-duration-short4) var(--md-sys-motion-easing-standard);
}
.svc:hover {
  background: var(--md-sys-color-surface-container-high);
  box-shadow: var(--md-sys-elevation-2);
}
.svc .num {
  font-family: var(--md-ref-typeface-mono);
  font-size: 11px; letter-spacing: 0.16em;
  color: var(--md-sys-color-on-surface-variant);
  margin-bottom: 32px;
}
.svc .icon-tile {
  width: 56px; height: 56px;
  border-radius: var(--md-sys-shape-corner-medium);
  background: var(--md-sys-color-surface-container-highest);
  display: grid; place-items: center;
  color: var(--md-sys-color-on-surface);
  margin-bottom: 24px;
  transition: background var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard),
              color var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard);
}
.svc:hover .icon-tile { background: var(--md-sys-color-primary); color: var(--md-sys-color-on-primary); }
.svc h5 {
  margin: 0 0 12px;
  font: 500 22px/1.25 var(--md-ref-typeface-brand);
  letter-spacing: -0.3px;
  color: var(--md-sys-color-on-surface);
  text-wrap: balance;
}
.svc p {
  margin: 0;
  font: 400 14px/1.55 var(--md-ref-typeface-plain);
  letter-spacing: 0.15px;
  color: var(--md-sys-color-on-surface-variant);
  flex: 1;
}
.svc .arrow {
  margin-top: 24px;
  display: inline-flex; align-items: center;
  color: var(--md-sys-color-on-surface);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity var(--md-sys-motion-duration-short4) var(--md-sys-motion-easing-standard),
              transform var(--md-sys-motion-duration-short4) var(--md-sys-motion-easing-standard);
}
.svc:hover .arrow { opacity: 1; transform: translateX(0); }
.svc.featured {
  background: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
}
.svc.featured:hover { background: var(--kb-canary-bright); box-shadow: var(--md-sys-elevation-3); }
.svc.featured .num { color: rgba(10,10,10,0.7); }
.svc.featured h5, .svc.featured p { color: var(--md-sys-color-on-primary); }
.svc.featured .icon-tile {
  background: var(--md-sys-color-on-primary);
  color: var(--md-sys-color-primary);
}
.svc.featured:hover .icon-tile { background: var(--kb-neutral-10); }
@media (max-width: 1000px) { .services .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services .grid { grid-template-columns: 1fr; } }

/* ============== CAMPAIGNS INTRO ============== */
.campaigns-intro { background: var(--md-sys-color-surface-container); padding: 112px 0; }
.campaigns-intro > .container > .overline { margin-bottom: 40px; }
.arch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.arch-card {
  display: flex; flex-direction: column;
  padding: 40px;
  border-radius: var(--md-sys-shape-corner-large);
  background: var(--md-sys-color-surface);
  box-shadow: var(--md-sys-elevation-1);
  color: var(--md-sys-color-on-surface);
  transition: box-shadow var(--md-sys-motion-duration-short4) var(--md-sys-motion-easing-standard),
              transform var(--md-sys-motion-duration-short4) var(--md-sys-motion-easing-standard);
}
.arch-card:hover { box-shadow: var(--md-sys-elevation-3); transform: translateY(-4px); }
.arch-card .ac-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.arch-card .hm-index {
  display: flex; align-items: center; gap: 12px;
  font: 500 11px/1 var(--md-ref-typeface-mono);
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--md-sys-color-on-surface-variant);
}
.arch-card .hm-index::before { content: ""; width: 8px; height: 8px; background: var(--md-sys-color-primary); border-radius: var(--md-sys-shape-corner-extra-small); }
.arch-card .hm-glyph {
  width: 56px; height: 56px; flex-shrink: 0;
  border-radius: var(--md-sys-shape-corner-medium);
  background: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
  display: grid; place-items: center;
  transition: background var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard);
}
.arch-card .hm-glyph .symbol { font-size: 32px; font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 40; }
.arch-card:hover .hm-glyph { background: var(--kb-neutral-10); color: var(--md-sys-color-primary); }
.arch-card h2 {
  margin: 28px 0 0;
  font: 400 40px/1.08 var(--md-ref-typeface-brand);
  letter-spacing: -1.2px;
  color: var(--md-sys-color-on-surface);
  text-wrap: balance;
}
.arch-card p {
  margin: 14px 0 0;
  max-width: 46ch;
  font: 400 16px/1.55 var(--md-ref-typeface-plain);
  letter-spacing: 0.15px;
  color: var(--md-sys-color-on-surface-variant);
}
.arch-card .ac-action {
  margin-top: auto;
  padding-top: 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.arch-card .ac-link {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 8px 8px 8px 24px;
  border-radius: var(--md-sys-shape-corner-full);
  background: var(--md-sys-color-surface-container-high);
  font: 500 15px/1 var(--md-ref-typeface-plain);
  letter-spacing: 0.1px;
  color: var(--md-sys-color-on-surface);
  transition: background var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard),
              color var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard);
}
.arch-card:hover .ac-link { background: var(--md-sys-color-primary); color: var(--md-sys-color-on-primary); }
.arch-card .arrow-circle {
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--md-sys-color-surface);
  color: var(--md-sys-color-on-surface);
  transition: background var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard),
              color var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard);
}
.arch-card .arrow-circle .symbol { font-size: 20px; }
.arch-card:hover .arrow-circle { background: var(--kb-neutral-10); color: var(--md-sys-color-primary); }
.arch-card .ac-meta {
  font: 500 11px/1 var(--md-ref-typeface-mono);
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--md-sys-color-outline);
}
@media (max-width: 1000px) {
  .arch-grid { grid-template-columns: 1fr; }
  .arch-card { padding: 32px; }
  .arch-card h2 { font-size: 32px; letter-spacing: -0.8px; }
  .arch-card .ac-action { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ============== WORK GRID ============== */
.work { background: var(--md-sys-color-surface); }
.work .grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.work-item {
  background: var(--md-sys-color-surface-container-lowest);
  border-radius: var(--md-sys-shape-corner-large);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--md-sys-elevation-1);
  transition: box-shadow var(--md-sys-motion-duration-short4) var(--md-sys-motion-easing-standard),
              transform var(--md-sys-motion-duration-short4) var(--md-sys-motion-easing-standard);
}
.work-item:hover {
  box-shadow: var(--md-sys-elevation-3);
  transform: translateY(-2px);
}
.work-item .frame {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--kb-neutral-10);
  overflow: hidden;
}
.work-item .frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.work-item .body { padding: 24px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.work-item .ix {
  display: flex; justify-content: space-between; gap: 16px;
  font: 500 11px/1.4 var(--md-ref-typeface-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--md-sys-color-on-surface-variant);
  margin-bottom: 14px;
}
.work-item .ix .brand-name {
  color: var(--md-sys-color-on-surface);
  font-weight: 500;
  text-align: right;
}
.work-item h4 {
  margin: 0 0 14px;
  font: 500 26px/1.15 var(--md-ref-typeface-brand);
  letter-spacing: -0.5px;
  color: var(--md-sys-color-on-surface);
  text-wrap: balance;
}
.work-item p {
  margin: 0;
  font: 400 15px/1.6 var(--md-ref-typeface-plain);
  letter-spacing: 0.1px;
  color: var(--md-sys-color-on-surface-variant);
}
.work-item p strong { color: var(--md-sys-color-on-surface); font-weight: 500; }
.work-item .more {
  margin-top: 20px;
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px;
  padding: 0 20px 0 24px;
  border-radius: var(--md-sys-shape-corner-full);
  box-shadow: inset 0 0 0 1px var(--md-sys-color-outline);
  font: 500 14px/1 var(--md-ref-typeface-plain);
  letter-spacing: 0.1px;
  color: var(--md-sys-color-on-surface);
  transition: background var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard),
              color var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard);
}
.work-item .more:hover {
  background: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
  box-shadow: inset 0 0 0 1px var(--md-sys-color-primary);
}
.work-item .more .symbol { font-size: 18px; }
@media (max-width: 900px) {
  .work .grid { grid-template-columns: 1fr; gap: 20px; }
  .work-item h4 { font-size: 22px; }
}

.work .see-more {
  margin-top: 80px;
  display: grid;
  grid-template-columns: 240px 1fr auto;
  align-items: center;
  gap: 48px;
  padding: 40px 32px;
  background: var(--md-sys-color-surface-container);
  border-radius: var(--md-sys-shape-corner-large);
}
.work .see-more h3 {
  margin: 0;
  font: 400 32px/1.15 var(--md-ref-typeface-brand);
  letter-spacing: -0.8px;
  color: var(--md-sys-color-on-surface);
}
.work .see-more .cta {
  display: inline-flex; align-items: center; gap: 10px;
  height: 56px;
  padding: 0 28px;
  border-radius: var(--md-sys-shape-corner-full);
  background: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
  font: 500 16px/1 var(--md-ref-typeface-plain);
  letter-spacing: 0.15px;
  box-shadow: var(--md-sys-elevation-1);
  transition: box-shadow var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard),
              transform var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard);
}
.work .see-more .cta:hover { box-shadow: var(--md-sys-elevation-3); }
.work .see-more .cta .symbol { font-size: 20px; }
@media (max-width: 768px) {
  .work .see-more { grid-template-columns: 1fr; gap: 24px; padding: 28px 24px; }
}

/* ============== WHY ============== */
.why {
  background: var(--md-sys-color-inverse-surface);
  color: var(--md-sys-color-inverse-on-surface);
  padding: 128px 0;
  position: relative;
  overflow: hidden;
}
.why::before {
  content: "";
  position: absolute;
  top: -200px; left: -120px;
  width: 600px; height: 600px;
  background: var(--md-sys-color-primary);
  opacity: 0.06;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.why .grid {
  position: relative;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
}
.why .overline { color: var(--md-sys-color-primary); }
.why .overline .dot { background: var(--md-sys-color-primary); }
.why h2 {
  margin: 0 0 48px;
  font: 400 72px/1.02 var(--md-ref-typeface-brand);
  letter-spacing: -2.5px;
  color: var(--md-sys-color-inverse-on-surface);
  text-wrap: balance;
  max-width: 18ch;
}
.why .lede {
  font: 400 28px/1.35 var(--md-ref-typeface-brand);
  letter-spacing: -0.6px;
  color: var(--md-sys-color-inverse-on-surface);
  margin: 0 0 56px;
  max-width: 30ch;
  padding-left: 24px;
  border-left: 3px solid var(--md-sys-color-primary);
}
.why .body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.why .body p {
  margin: 0;
  font: 400 15px/1.7 var(--md-ref-typeface-plain);
  letter-spacing: 0.2px;
  color: var(--md-sys-color-outline-variant);
}
.why .stats {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.why .stat {
  background: rgba(255,255,255,0.04);
  padding: 28px 24px;
  border-radius: var(--md-sys-shape-corner-medium);
}
a.stat {
  display: block;
  color: inherit;
  transition: background var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard);
}
a.stat:hover { background: rgba(255,255,255,0.10); }
a.stat .k { display: inline-flex; align-items: center; gap: 6px; }
a.stat .k .symbol { font-size: 14px; }
.why .stat .v {
  font: 400 56px/1 var(--md-ref-typeface-brand);
  letter-spacing: -2px;
  color: var(--md-sys-color-primary);
}
.why .stat .k {
  margin-top: 14px;
  font: 500 11px/1.4 var(--md-ref-typeface-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--md-sys-color-outline-variant);
}
@media (max-width: 900px) {
  .why { padding: 80px 0; }
  .why .grid { grid-template-columns: 1fr; gap: 24px; }
  .why h2 { font-size: 44px; letter-spacing: -1.5px; }
  .why .lede { font-size: 22px; }
  .why .body { grid-template-columns: 1fr; gap: 20px; }
  .why .stats { grid-template-columns: 1fr 1fr; }
  .why .stat .v { font-size: 44px; }
}
@media (max-width: 1100px) and (min-width: 901px) {
  .why .stats { grid-template-columns: repeat(3, 1fr); }
}

/* ============== INSTAGRAM STRIP ============== */
.ig-strip { background: var(--md-sys-color-surface); padding: 0 0 8px; }
.ig-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 40px 40px 40px 44px;
  border-radius: var(--md-sys-shape-corner-large);
  background: var(--md-sys-color-surface-container);
  color: var(--md-sys-color-on-surface);
  transition: background var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard),
              box-shadow var(--md-sys-motion-duration-short4) var(--md-sys-motion-easing-standard);
}
.ig-card:hover { background: var(--md-sys-color-surface-container-high); box-shadow: var(--md-sys-elevation-2); }
.ig-card .ig-ix {
  grid-column: 1;
  font: 500 11px/1 var(--md-ref-typeface-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--md-sys-color-outline);
}
.ig-card p {
  grid-column: 1;
  margin: 16px 0 0;
  max-width: 46ch;
  font: 400 26px/1.28 var(--md-ref-typeface-brand);
  letter-spacing: -0.4px;
  text-wrap: pretty;
}
.ig-card .ig-cta {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: inline-flex; align-items: center; gap: 12px;
  height: 48px;
  padding: 0 8px 0 24px;
  border-radius: var(--md-sys-shape-corner-full);
  background: var(--md-sys-color-surface);
  font: 500 15px/1 var(--md-ref-typeface-plain);
  letter-spacing: 0.1px;
  white-space: nowrap;
  transition: background var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard),
              color var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard);
}
.ig-card .ig-cta .symbol {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--md-sys-color-surface-container-high);
  font-size: 20px;
}
.ig-card:hover .ig-cta { background: var(--md-sys-color-primary); color: var(--md-sys-color-on-primary); }
.ig-card:hover .ig-cta .symbol { background: var(--kb-neutral-10); color: var(--md-sys-color-primary); }
@media (max-width: 900px) {
  .ig-card { grid-template-columns: 1fr; gap: 0; padding: 32px 28px; }
  .ig-card p { font-size: 22px; }
  .ig-card .ig-cta { grid-column: 1; grid-row: auto; margin-top: 26px; justify-self: start; }
}

/* ============== TEAM ============== */
.team { background: var(--md-sys-color-surface); padding: 96px 0 112px; }
.team .section-head { margin-bottom: 0; }
.team-copy { display: flex; flex-direction: column; gap: 24px; }
.team h2 .hl { background: var(--md-sys-color-primary); color: var(--md-sys-color-on-primary); border-radius: var(--md-sys-shape-corner-small); padding: 0 0.12em; }
.team-intro {
  display: grid;
  grid-template-columns: 1fr;
  margin: 0 0 56px;
}
.team-photo { margin: 56px auto 0; max-width: 520px; }
.team-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--md-sys-shape-corner-large);
  box-shadow: var(--md-sys-elevation-2);
}
.team-photo figcaption {
  margin-top: 14px;
  font: 500 11px/1.5 var(--md-ref-typeface-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--md-sys-color-outline);
}
.team-lede {
  margin: 0;
  max-width: 52ch;
  font: 400 20px/1.5 var(--md-ref-typeface-plain);
  letter-spacing: 0.15px;
  color: var(--md-sys-color-on-surface-variant);
  text-wrap: pretty;
}
.person-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.person-grid.pair { grid-template-columns: 1fr 1fr; margin-top: 16px; }
.person {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 32px 32px 32px 28px;
  border-radius: var(--md-sys-shape-corner-large);
  background: var(--md-sys-color-surface-container);
  color: var(--md-sys-color-on-surface);
  transition: background var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard),
              box-shadow var(--md-sys-motion-duration-short4) var(--md-sys-motion-easing-standard),
              transform var(--md-sys-motion-duration-short4) var(--md-sys-motion-easing-standard);
}
.person:hover { background: var(--md-sys-color-surface-container-high); box-shadow: var(--md-sys-elevation-2); transform: translateY(-3px); }
.person .p-ix {
  font: 500 11px/1 var(--md-ref-typeface-mono);
  letter-spacing: 0.16em;
  color: var(--md-sys-color-outline);
}
.person .p-name {
  font: 400 34px/1.1 var(--md-ref-typeface-brand);
  letter-spacing: -0.6px;
}
.person .p-role {
  grid-column: 2;
  margin-top: 6px;
  font: 500 11px/1.4 var(--md-ref-typeface-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--md-sys-color-on-surface-variant);
}
.person .p-cta {
  grid-row: 1 / span 2;
  grid-column: 3;
  display: inline-flex; align-items: center; gap: 12px;
  height: 44px;
  padding: 0 8px 0 20px;
  border-radius: var(--md-sys-shape-corner-full);
  background: var(--md-sys-color-surface);
  font: 500 14px/1 var(--md-ref-typeface-plain);
  letter-spacing: 0.1px;
  white-space: nowrap;
  transition: background var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard),
              color var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard);
}
.person .p-cta .symbol {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--md-sys-color-surface-container-high);
  font-size: 18px;
}
.person:hover .p-cta { background: var(--md-sys-color-primary); color: var(--md-sys-color-on-primary); }
.person:hover .p-cta .symbol { background: var(--kb-neutral-10); color: var(--md-sys-color-primary); }
.person.lead .p-name { font-size: 44px; letter-spacing: -1.2px; }
.person.has-photo { grid-template-columns: 88px 1fr auto auto; }
.person.has-photo .p-cta { grid-column: 4; }
.person .p-photo {
  grid-row: 1 / span 2;
  grid-column: 3;
  align-self: end;
  width: auto;
  height: 210px;
  margin: -70px 24px -32px 0;
  filter: grayscale(1);
  pointer-events: none;
}
@media (max-width: 1000px) {
  .team { padding: 72px 0 88px; }
  .team-intro { grid-template-columns: 1fr; gap: 32px; margin-bottom: 40px; }
  .team-photo { max-width: 420px; }
  .team-lede { font-size: 18px; }
  .person-grid.pair { grid-template-columns: 1fr; }
  .person { grid-template-columns: 1fr; gap: 0; padding: 28px 24px; }
  .person .p-ix { margin-bottom: 14px; }
  .person .p-name, .person.lead .p-name { font-size: 30px; letter-spacing: -0.5px; }
  .person .p-role { grid-column: 1; }
  .person .p-cta { grid-row: auto; grid-column: 1; margin-top: 22px; justify-self: start; }
  .person.has-photo { grid-template-columns: 1fr; }
  .person.has-photo .p-cta { grid-column: 1; }
  .person .p-photo { grid-row: auto; grid-column: 1; justify-self: start; height: 150px; margin: 18px 0 0; }
  .team-photo { margin: 40px auto 0; }
}

/* ============== FAQ ============== */
.faq { background: var(--md-sys-color-surface); }
.faq .list {
  display: flex; flex-direction: column;
  gap: 12px;
}
.qa {
  background: var(--md-sys-color-surface-container-low);
  border-radius: var(--md-sys-shape-corner-large);
  overflow: hidden;
  transition: background var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard);
}
.qa[open] { background: var(--md-sys-color-surface-container); }
.qa summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 80px 1fr 40px;
  gap: 24px;
  align-items: center;
  padding: 24px 28px;
  transition: background var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { background: var(--md-sys-color-surface-container-high); }
.qa[open] summary:hover { background: var(--md-sys-color-surface-container); }
.qa .ix {
  font: 500 11px/1.4 var(--md-ref-typeface-mono);
  letter-spacing: 0.16em;
  color: var(--md-sys-color-on-surface-variant);
}
.qa .q {
  font: 500 22px/1.3 var(--md-ref-typeface-brand);
  letter-spacing: -0.4px;
  color: var(--md-sys-color-on-surface);
}
.qa .chev {
  justify-self: end;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--md-sys-color-surface-container-highest);
  display: grid; place-items: center;
  color: var(--md-sys-color-on-surface);
  transition: transform var(--md-sys-motion-duration-short4) var(--md-sys-motion-easing-emphasized),
              background var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard);
}
.qa[open] .chev {
  transform: rotate(180deg);
  background: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
}
.qa .body {
  padding: 0 28px 28px 132px;
  max-width: 80ch;
}
.qa .body p {
  margin: 0;
  font: 400 16px/1.6 var(--md-ref-typeface-plain);
  letter-spacing: 0.2px;
  color: var(--md-sys-color-on-surface-variant);
}
.qa .body p a {
  color: var(--md-sys-color-on-surface);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--md-sys-color-primary);
  text-decoration-thickness: 2px;
}
.qa .body p a:hover { background: var(--md-sys-color-primary-container); }
@media (max-width: 720px) {
  .qa summary { grid-template-columns: 1fr 40px; gap: 16px; padding: 20px; }
  .qa .ix { display: none; }
  .qa .q { font-size: 18px; }
  .qa .body { padding: 0 20px 20px; }
}

/* ============== FOOTER ============== */
.foot {
  background: var(--md-sys-color-inverse-surface);
  color: var(--md-sys-color-inverse-on-surface);
  padding: 96px 0 32px;
}
.foot .grid {
  display: grid;
  grid-template-columns: 320px repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.foot h6 {
  margin: 0 0 20px;
  font: 500 11px/1.4 var(--md-ref-typeface-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--md-sys-color-primary);
}
.foot p, .foot a {
  font: 400 15px/1.55 var(--md-ref-typeface-plain);
  letter-spacing: 0.15px;
  color: var(--md-sys-color-outline-variant);
  margin: 0;
}
.foot a {
  color: var(--md-sys-color-inverse-on-surface);
  transition: color var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard);
}
.foot a:hover { color: var(--md-sys-color-primary); }
.foot p + p { margin-top: 6px; }
.foot .brand-block .lockup {
  margin-bottom: 24px;
  display: inline-flex;
}
.foot .brand-block .lockup img {
  height: 40px; width: auto;
  filter: invert(1);
}
.foot .brand-block p { max-width: 32ch; color: var(--md-sys-color-outline-variant); }

.foot .social-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.foot .social-list a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  margin: 0 -16px;
  border-radius: var(--md-sys-shape-corner-medium);
  transition: background var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard);
}
.foot .social-list a:hover { background: rgba(255,255,255,0.06); }
.foot .social-list a .symbol { font-size: 18px; color: var(--md-sys-color-outline); }
.foot .social-list a:hover .symbol { color: var(--md-sys-color-primary); }

.foot .colofon {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
  padding-top: 32px;
  font: 500 11px/1.4 var(--md-ref-typeface-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--md-sys-color-outline);
}
@media (max-width: 900px) {
  .foot .grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .foot .grid { grid-template-columns: 1fr; }
}

/* ============== TWEAKS PANEL ============== */
.tweaks-panel {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 9999;
  width: 320px;
  background: var(--md-sys-color-surface-container-high);
  color: var(--md-sys-color-on-surface);
  border-radius: var(--md-sys-shape-corner-large);
  box-shadow: var(--md-sys-elevation-5);
  font-family: var(--md-ref-typeface-plain);
  display: none;
  overflow: hidden;
}
.tweaks-panel.is-open { display: block; }
.tp-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--md-sys-color-outline-variant);
}
.tp-title {
  font: 500 14px/20px var(--md-ref-typeface-plain);
  letter-spacing: 0.1px;
  color: var(--md-sys-color-on-surface);
}
.tp-close {
  width: 32px; height: 32px;
  border: 0; border-radius: 50%; background: transparent;
  display: grid; place-items: center;
  color: var(--md-sys-color-on-surface-variant);
  cursor: pointer;
}
.tp-close:hover { background: var(--md-sys-color-surface-container-highest); color: var(--md-sys-color-on-surface); }
.tp-body { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 18px; }
.tp-group { display: flex; flex-direction: column; gap: 8px; }
.tp-label {
  font: 500 11px/1 var(--md-ref-typeface-plain);
  letter-spacing: 0.5px; text-transform: uppercase;
  color: var(--md-sys-color-on-surface-variant);
}
.tp-segments {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  border-radius: var(--md-sys-shape-corner-full);
  box-shadow: inset 0 0 0 1px var(--md-sys-color-outline);
  overflow: hidden;
}
.tp-segments button {
  background: transparent;
  border: 0;
  border-right: 1px solid var(--md-sys-color-outline);
  padding: 10px 6px;
  font: 500 12px/1 var(--md-ref-typeface-plain);
  color: var(--md-sys-color-on-surface-variant);
  cursor: pointer;
  transition: background var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard),
              color var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard);
}
.tp-segments button:last-child { border-right: 0; }
.tp-segments button:hover { background: var(--md-sys-color-surface-container-highest); color: var(--md-sys-color-on-surface); }
.tp-segments button.is-active {
  background: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
}
.tp-toggle {
  display: flex; align-items: center; justify-content: space-between;
  font: 400 14px/20px var(--md-ref-typeface-plain);
  color: var(--md-sys-color-on-surface);
}
.kb-switch {
  width: 52px; height: 32px; border-radius: var(--md-sys-shape-corner-full);
  background: var(--md-sys-color-surface-container-highest);
  box-shadow: inset 0 0 0 2px var(--md-sys-color-outline);
  position: relative; cursor: pointer;
  transition: background var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard);
}
.kb-switch .thumb {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--md-sys-color-outline);
  position: absolute; top: 8px; left: 8px;
  transition: all var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-emphasized);
}
.kb-switch.on { background: var(--md-sys-color-primary); box-shadow: none; }
.kb-switch.on .thumb { background: var(--md-sys-color-on-primary); width: 24px; height: 24px; top: 4px; left: 24px; }

/* Mobile sheet for mobile menu */
.menu-sheet {
  position: fixed; inset: 0;
  background: var(--md-sys-color-scrim);
  background: rgba(0,0,0,0.32);
  z-index: 200;
  display: none;
  align-items: flex-start;
  justify-content: stretch;
}
.menu-sheet.open { display: flex; }
.menu-sheet .panel {
  background: var(--md-sys-color-surface);
  width: 100%;
  padding: 16px 16px 32px;
  border-radius: 0 0 var(--md-sys-shape-corner-extra-large) var(--md-sys-shape-corner-extra-large);
}
.menu-sheet .panel .top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 4px 16px;
}
.menu-sheet .panel a {
  display: block;
  padding: 16px;
  font: 400 22px/1.2 var(--md-ref-typeface-brand);
  letter-spacing: -0.3px;
  color: var(--md-sys-color-on-surface);
  border-radius: var(--md-sys-shape-corner-medium);
}
.menu-sheet .panel a:hover { background: var(--md-sys-color-surface-container); }
.menu-sheet .panel a.active { color: var(--md-sys-color-primary); }
