/* Kiln · full palette · Designed using Design Lounge (https://designlounge.vercel.app)
   Primary / secondary / tertiary + feedback + surfaces. Match the numbers.
   Free to use. */
:root {
  /* Brand */
  --primary: #c9693b;
  --primary-ink: #141210;
  --primary-soft: #ecd3bc;
  --secondary: #4f6b3a;
  --secondary-ink: #fffdf8;
  --secondary-soft: #dcd5be;
  --tertiary: #3a4558;
  --tertiary-ink: #fffdf8;
  --tertiary-soft: #d9cfc3;

  /* Surface */
  --bg: #f3e6d4;
  --surface: #faefe0;
  --surface-2: #e6d2b8;
  --surface-3: #dbc7ae;
  --ink: #2a1b14;
  --ink-2: #6a4e3e;
  --ink-3: #7b6250;
  --line: #d8c0a4;
  --line-strong: #96816d;

  /* Feedback: reserved for live state, never decoration */
  --success: #3d7a32;
  --success-ink: #fffdf8;
  --success-soft: #dad7bd;
  --success-on-soft: #305e27;
  --warning: #d4a02a;
  --warning-ink: #141210;
  --warning-soft: #efdcbc;
  --warning-on-soft: #715417;
  --danger: #9b2c2c;
  --danger-ink: #fffdf8;
  --danger-soft: #e7ccbc;
  --danger-on-soft: #9b2c2c;
  --info: #3a5a78;
  --info-ink: #fffdf8;
  --info-soft: #d9d2c7;
  --info-on-soft: #3a5a78;

  /* Chrome */
  --focus: #c9693b;
  --link: #934d2b;
  --overlay: #141210;
  --inverse: #2a1b14;
  --inverse-ink: #f3e6d4;

  /* Aliases */
  --accent: var(--primary);
  --accent-ink: var(--primary-ink);
  --positive: var(--success);
}

/* Indie Maker · type pairing · Designed using Design Lounge (https://designlounge.vercel.app) */
:root {
  --font-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --font-text: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* Motion tokens · Designed using Design Lounge (https://designlounge.vercel.app) */
:root {
  --ease-standard: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-expo-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-exit: cubic-bezier(0.4, 0, 1, 1);
  --ease-spring: cubic-bezier(0.34, 1.32, 0.5, 1);
  --t-micro: 120ms;
  --t-fast: 160ms;
  --t-ui: 200ms;
  --t-layout: 320ms;
  --t-sheet: 400ms;
  --t-hero: 640ms;
  --t-cinematic: 900ms;
}

/* Soft family · air density */
:root {
  --r-card: 14px;
  --r-inner: 10px;
  --r-pill: 999px;
  --shadow: 0 12px 28px -16px rgba(0, 0, 0, .16);
  --control: 44px;
  --pad: 40px;
  --gap: 24px;
  --frame: 1120px;
  --col: 720px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0;
}
p { margin: 0; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
code, kbd, samp, .mono { font-family: var(--font-mono); }
.num { font-family: var(--font-text); font-variant-numeric: tabular-nums; }
.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.page { overflow-x: clip; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 40; background: var(--inverse); color: var(--inverse-ink); padding: 10px 16px; border-radius: var(--r-pill); text-decoration: none; }
.skip:focus { top: 16px; }

/* Buttons: one height, pill shape */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: var(--control); padding: 0 20px;
  border-radius: var(--r-pill);
  font-size: 16px; font-weight: 600; letter-spacing: -0.01em;
  text-decoration: none; white-space: nowrap;
  transition: background-color var(--t-fast) var(--ease-standard), border-color var(--t-fast) var(--ease-standard), transform var(--t-ui) var(--ease-standard);
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--primary); color: var(--primary-ink); padding-right: 6px; }
.btn-ic {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--primary-ink); color: var(--primary);
  transition: transform var(--t-ui) var(--ease-expo-out);
}
.btn-ic .ic { width: 16px; height: 16px; }
.btn-primary:hover .btn-ic { transform: translate(2px, -2px) scale(1.06); }
.btn-outline { border: 1px solid var(--line-strong); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--surface-2); }

/* Entry fade */
.js .reveal { opacity: 0; translate: 0 20px; transition: opacity 700ms var(--ease-expo-out), translate 700ms var(--ease-expo-out); }
.js .reveal.in { opacity: 1; translate: 0 0; }

/* ---------- Island nav (desktop) ---------- */
.island-wrap { position: fixed; top: 18px; left: 50%; transform: translateX(-50%); z-index: 30; }
.island {
  display: flex; align-items: center;
  height: 52px; padding: 0 6px 0 22px;
  background: var(--inverse); color: var(--inverse-ink);
  border-radius: var(--r-pill);
  box-shadow: 0 16px 36px -18px rgba(42, 27, 20, .55);
  overflow: hidden;
  transition: width 520ms var(--ease-spring);
}
.wordmark {
  font-family: var(--font-display); font-weight: 800; font-size: 21px; letter-spacing: -0.05em;
  text-decoration: none; white-space: nowrap; line-height: 1;
}
.wordmark span:first-of-type { color: var(--primary); }
.i-layers { display: grid; margin-left: 16px; }
.i-layer {
  grid-area: 1 / 1; width: max-content; display: flex; align-items: center; gap: 4px;
  transition: opacity 220ms var(--ease-standard) 110ms, filter 520ms var(--ease-spring) 110ms, scale 520ms var(--ease-spring) 110ms;
}
.island[data-s="full"] .i-compact,
.island[data-s="compact"] .i-full {
  opacity: 0; filter: blur(6px); scale: .94; pointer-events: none;
  transition: opacity 220ms var(--ease-standard), filter 220ms var(--ease-standard), scale 220ms var(--ease-standard);
}
.i-full ul { display: flex; gap: 2px; }
.i-full a[data-nav] {
  display: inline-flex; align-items: center; height: 40px; padding: 0 16px;
  border-radius: var(--r-pill); font-size: 15px; font-weight: 500; text-decoration: none;
  color: color-mix(in srgb, var(--inverse-ink) 72%, var(--inverse));
  transition: color var(--t-fast) var(--ease-standard), background-color var(--t-fast) var(--ease-standard);
}
.i-full a[data-nav]:hover { color: var(--inverse-ink); }
.i-full a[aria-current] { background: var(--primary-soft); color: var(--ink); }
.i-cv {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; margin-left: 6px;
  border-radius: var(--r-pill); font-size: 15px; font-weight: 600; text-decoration: none;
  border: 1px solid color-mix(in srgb, var(--inverse-ink) 30%, var(--inverse));
  transition: border-color var(--t-fast) var(--ease-standard);
}
.i-cv:hover { border-color: var(--inverse-ink); }
.i-cv .ic { width: 15px; height: 15px; }
.i-compact { gap: 10px; padding-right: 18px; font-size: 15px; font-weight: 600; }
.i-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }

/* ---------- Phone bar + circle menu ---------- */
.bar, .menu { display: none; }
@media (max-width: 767px) {
  .island-wrap { display: none; }
  .bar {
    display: flex; align-items: center; justify-content: space-between;
    position: fixed; inset: 0 0 auto 0; z-index: 30;
    height: calc(64px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 20px 0;
    background: var(--bg);
    transition: background-color 240ms var(--ease-standard);
  }
  .bar .wordmark { transition: color 240ms var(--ease-standard) 380ms; }
  .menu-open .bar { background: transparent; }
  .menu-open .bar .wordmark { color: var(--inverse-ink); transition-delay: 0ms; }
  .burger {
    position: relative; width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer;
    background: var(--inverse); transition: background-color 300ms var(--ease-standard);
  }
  .burger span {
    position: absolute; left: 12px; width: 20px; height: 2px; border-radius: 2px; background: var(--inverse-ink);
    transition: transform 300ms var(--ease-expo-out), opacity 160ms var(--ease-standard), background-color 300ms var(--ease-standard);
  }
  .burger span:nth-child(1) { top: 15px; }
  .burger span:nth-child(2) { top: 21px; }
  .burger span:nth-child(3) { top: 27px; }
  .menu-open .burger { background: var(--primary); }
  .menu-open .burger span { background: var(--primary-ink); }
  .menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-open .burger span:nth-child(2) { opacity: 0; }
  .menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .menu-open .burger:focus-visible { outline-color: var(--inverse-ink); }

  .menu {
    display: flex; flex-direction: column;
    position: fixed; inset: 0; z-index: 20; overflow-y: auto;
    padding: calc(64px + env(safe-area-inset-top) + 24px) 20px calc(max(20px, env(safe-area-inset-bottom)) + 20px);
    background: var(--inverse); color: var(--inverse-ink);
    clip-path: circle(0px at var(--cx, 90%) var(--cy, 32px));
    visibility: hidden;
    transition: clip-path 500ms var(--ease-exit) 160ms, visibility 0s linear 660ms;
  }
  .menu-open .menu {
    visibility: visible;
    clip-path: circle(var(--r, 150vmax) at var(--cx, 90%) var(--cy, 32px));
    transition: clip-path 500ms var(--ease-expo-out), visibility 0s;
  }
  .links li { overflow: hidden; border-bottom: 1px solid color-mix(in srgb, var(--inverse-ink) 16%, transparent); }
  .links a {
    display: grid; grid-template-columns: minmax(0, 1fr) 24px; align-items: center;
    height: 72px; text-decoration: none;
    font-family: var(--font-display); font-weight: 800; font-size: 40px; letter-spacing: -0.04em; text-transform: uppercase;
    transform: translateY(105%);
    transition: transform 240ms var(--ease-exit) calc((3 - var(--i)) * 30ms), color var(--t-ui) var(--ease-standard);
  }
  .links a .ic { width: 24px; height: 24px; opacity: 0; transform: translateX(-8px); transition: opacity 200ms var(--ease-expo-out), transform 200ms var(--ease-expo-out); }
  .links a:hover, .links a:focus-visible { color: var(--primary); }
  .links a:hover .ic, .links a:focus-visible .ic { opacity: 1; transform: none; }
  .links a:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; }
  .menu-open .links a { transform: none; transition: transform 520ms var(--ease-expo-out) calc(180ms + var(--i) * 50ms), color var(--t-ui) var(--ease-standard); }
  .m-foot { margin-top: auto; padding-top: 40px; opacity: 0; transform: translateY(12px); transition: opacity 160ms var(--ease-standard); }
  .menu-open .m-foot { opacity: 1; transform: none; transition: opacity 420ms var(--ease-standard) 460ms, transform 520ms var(--ease-expo-out) 460ms; }
  .m-label { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: color-mix(in srgb, var(--inverse-ink) 70%, var(--inverse)); }
  .m-mail { display: inline-flex; align-items: center; min-height: 44px; font-size: 22px; font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--primary); }
  .m-social { display: flex; gap: 24px; margin-top: 8px; }
  .m-social a { display: inline-flex; align-items: center; height: 44px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: color-mix(in srgb, var(--inverse-ink) 70%, var(--inverse)); }
  .m-social a:hover { color: var(--inverse-ink); }
  .menu-open body, html.menu-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  max-width: 1680px; margin: 0 auto; padding: 96px var(--pad) 44px;
}
.h-strip {
  display: flex; justify-content: space-between; gap: 24px;
  padding-bottom: 16px; border-bottom: 1px solid var(--line);
  font-size: 14px; font-weight: 600; color: var(--ink-2);
}
.h-strip span { display: inline-flex; align-items: center; gap: 10px; }
.h-strip span:last-child { white-space: nowrap; }
.h-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); animation: pulse 2400ms var(--ease-standard) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 40%, transparent); } 100% { box-shadow: 0 0 0 8px transparent; } }

/* The nameplate: a Figma layer underneath, the built type on top, split by the seam */
.plate {
  --sx: 0px;
  position: relative; isolation: isolate;
  width: max-content; max-width: 100%; margin-top: 44px;
  font-size: var(--pfs, 200px);
  cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.layer {
  display: flex; flex-direction: column;
  font-family: var(--font-display); font-weight: 800; font-variation-settings: "opsz" 96;
  letter-spacing: -0.045em; line-height: .9;
}
.layer .ln { position: relative; display: block; width: max-content; white-space: nowrap; }
.layer .l2 { margin-left: auto; }
.l-built {
  position: absolute; inset: -60px -24px -48px; padding: 60px 24px 48px;
  background: var(--bg); color: var(--ink);
  clip-path: inset(0 0 0 calc(var(--sx) + 24px));
}
.l-built h1 { display: flex; flex-direction: column; font: inherit; letter-spacing: inherit; line-height: inherit; }
.l-built .dot { color: var(--primary); }

.l-wire { color: transparent; -webkit-text-stroke: 1.5px var(--primary); }
.l-wire::before {
  content: ""; position: absolute; inset: -60px -24px -48px; z-index: -1;
  background-image: radial-gradient(circle, color-mix(in srgb, var(--line-strong) 60%, transparent) 1px, transparent 1.5px);
  background-size: 16px 16px;
}
.l-wire .ln { outline: 1.5px solid var(--primary); }
.l-wire .l2 { outline-style: dashed; }
.l-wire :is(.hd, .sz, .lbl, .spec, .slot) {
  -webkit-text-stroke: 0; letter-spacing: 0; font-variation-settings: normal; font-style: normal;
}
.hd { position: absolute; width: 10px; height: 10px; background: var(--surface); border: 1.5px solid var(--primary); }
.hd.tl { left: -5px; top: -5px; } .hd.tr { right: -5px; top: -5px; }
.hd.bl { left: -5px; bottom: -5px; } .hd.br { right: -5px; bottom: -5px; }
.sz {
  position: absolute; left: 50%; translate: -50% 0; padding: 0 7px; border-radius: 4px;
  background: var(--primary); color: var(--primary-ink);
  font: 700 11px/18px var(--font-text); white-space: nowrap;
}
.l1 .sz { top: -26px; }
.l2 .sz { bottom: -26px; }
.spec { display: block; }
.lbl, .spec {
  position: absolute; top: -40px; align-items: center; gap: 7px;
  font: 600 13px/1 var(--font-text); color: var(--primary); white-space: nowrap;
}
.lbl { left: 0; display: flex; }
.lbl svg { width: 12px; height: 12px; fill: var(--primary); }
.spec { right: 0; }
.slot {
  position: absolute; left: 0; bottom: calc(var(--pfs, 200px) * .11);
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  font: 600 14px/1 var(--font-text); letter-spacing: 0;
}
.slot li { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: var(--r-pill); }
.l-wire .slot li { color: var(--primary); outline: 1.5px dashed var(--primary); outline-offset: -1.5px; }
.l-built .slot { left: 24px; bottom: calc(var(--pfs, 200px) * .11 + 48px); }
.l-built .slot li { background: var(--inverse); color: var(--inverse-ink); }
.h-main { display: grid; grid-template-columns: max-content minmax(0, 1fr); align-items: end; gap: 56px; }
.h-foot { justify-self: end; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; max-width: 440px; padding-bottom: 4px; }
.h-intro { font-size: 19px; color: var(--ink-2); }
.h-intro::first-line { color: var(--ink); font-weight: 600; }
.ctas { display: flex; gap: 12px; }

.js .hero :is(.h-strip, .plate, .h-foot) { opacity: 0; translate: 0 24px; }
.js .hero.in :is(.h-strip, .plate, .h-foot) { opacity: 1; translate: 0 0; transition: opacity 900ms var(--ease-expo-out), translate 900ms var(--ease-expo-out); }
.js .hero.in .plate { transition-delay: 120ms; }
.js .hero.in .h-foot { transition-delay: 260ms; }

/* The handoff seam */
.seam {
  position: absolute; top: -60px; bottom: -48px; left: 0; z-index: 2; width: 2px; margin-left: -1px;
  background: var(--primary); transform: translateX(var(--sx));
  pointer-events: none;
}
.js .seam { opacity: 0; transition: opacity 300ms var(--ease-standard); }
.js .hero.in .seam { opacity: 1; }
.seam-tag {
  position: absolute; top: -14px; left: 50%; display: flex; transform: translateX(calc(-50% + var(--tag, 0px)));
  height: 28px; border-radius: var(--r-pill); background: var(--primary); color: var(--primary-ink);
  font-size: 12px; white-space: nowrap; box-shadow: 0 8px 16px -8px rgba(42, 27, 20, .5);
}
.seam-tag b { padding: 0 12px; line-height: 28px; font-weight: 700; }
.seam-tag b:first-child { border-right: 2px solid var(--primary-ink); }

/* ---------- Work ---------- */
.work { padding: 120px var(--pad) 60px; }
.work-head { max-width: var(--frame); margin: 0 auto 8px; display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: end; }
.big { font-size: clamp(48px, 7.4vw, 100px); line-height: .94; letter-spacing: -0.05em; }
.acc { color: var(--primary); }
.work-head p { font-size: 18px; color: var(--ink-2); padding-bottom: 10px; }

.stack {
  --top: 92px; --step: 16px;
  max-width: var(--frame); margin: 0 auto;
  view-timeline: --stack block;
}
.stack > li { position: sticky; top: 0; padding-top: calc(var(--top) + var(--i) * var(--step)); }
@property --dim { syntax: "<number>"; inherits: true; initial-value: 0; }
.card {
  position: relative; height: 580px;
  display: grid; grid-template-columns: 500px minmax(0, 1fr); gap: 16px; padding: 16px;
  border-radius: var(--r-card); background: var(--c-bg); color: var(--c-ink);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .22) inset, 0 30px 60px -36px rgba(42, 27, 20, .55);
  transform-origin: 50% 0;
  animation: recede linear both;
  animation-timeline: --stack;
  animation-range: exit-crossing calc(var(--i) / var(--n) * 100%) exit-crossing calc((var(--i) + 1) / var(--n) * 100%);
}
.stack > li:last-child .card { animation: none; }
@keyframes recede { to { transform: scale(calc(1 - (var(--n) - 1 - var(--i)) * .035)); --dim: .16; } }
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--overlay); opacity: var(--dim); pointer-events: none; }
.c-tertiary { --c-bg: var(--tertiary); --c-ink: var(--tertiary-ink); --c-ink-2: color-mix(in srgb, var(--tertiary-ink) 76%, var(--tertiary)); --c-line: color-mix(in srgb, var(--tertiary-ink) 22%, var(--tertiary)); --c-art: var(--tertiary-soft); }
.c-secondary { --c-bg: var(--secondary); --c-ink: var(--secondary-ink); --c-ink-2: color-mix(in srgb, var(--secondary-ink) 78%, var(--secondary)); --c-line: color-mix(in srgb, var(--secondary-ink) 24%, var(--secondary)); --c-art: var(--secondary-soft); }
.c-primary { --c-bg: var(--primary); --c-ink: var(--primary-ink); --c-ink-2: color-mix(in srgb, var(--primary-ink) 82%, var(--primary)); --c-line: color-mix(in srgb, var(--primary-ink) 26%, var(--primary)); --c-art: var(--primary-soft); }

.txt { display: flex; flex-direction: column; padding: 20px 18px 16px; min-width: 0; }
.kick { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-ink-2); }
.txt h3 { margin: 18px 0 18px; font-size: 58px; line-height: .94; letter-spacing: -0.05em; }
.desc { font-size: 17px; line-height: 1.5; color: var(--c-ink-2); max-width: 40ch; }
.meta { margin: auto 0 0; padding-top: 16px; border-top: 1px solid var(--c-line); display: grid; gap: 8px; }
.meta div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: baseline; }
.meta dt { font-size: 14px; color: var(--c-ink-2); }
.meta dd { margin: 0; font-size: 15px; font-weight: 600; }
.visit {
  align-self: flex-start; margin-top: 18px;
  display: inline-flex; align-items: center; gap: 8px; height: var(--control); padding: 0 18px;
  border: 1px solid currentColor; border-radius: var(--r-pill);
  font-size: 15px; font-weight: 600; text-decoration: none; color: var(--c-ink);
  transition: background-color var(--t-fast) var(--ease-standard), color var(--t-fast) var(--ease-standard);
}
.visit .ic { width: 16px; height: 16px; }
.visit:hover { background: var(--c-ink); color: var(--c-bg); }
.card :focus-visible { outline-color: var(--c-ink); }

.art { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 14px; border-radius: var(--r-inner); background: var(--c-art); color: var(--ink); min-width: 0; }
.art :focus-visible { outline-color: var(--primary); }
.art-cap { font-size: 13px; color: var(--ink-2); text-align: center; }
.browser {
  flex: 1; min-height: 0; display: grid; grid-template-rows: 30px 1fr;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-inner);
  overflow: hidden; box-shadow: var(--shadow);
}
.b-bar { display: flex; align-items: center; gap: 10px; padding: 0 12px; border-bottom: 1px solid var(--line); background: var(--bg); }
.b-bar .dots i { width: 8px; height: 8px; }
.b-url { margin: 0 auto; font-size: 11px; color: var(--ink-2); padding: 2px 12px; background: var(--surface); border-radius: var(--r-pill); }
.b-view { min-height: 0; overflow: hidden; }

/* Himalaya drawn site */
.hm { display: flex; flex-direction: column; }
.hm-nav { display: flex; align-items: center; gap: 14px; height: 40px; padding: 0 14px; font-size: 11.5px; color: var(--ink-2); }
.hm-nav b { margin-right: auto; font-size: 13px; color: var(--ink); letter-spacing: -0.02em; }
.hm-cta { padding: 4px 12px; border-radius: var(--r-pill); background: var(--tertiary); color: var(--tertiary-ink); font-weight: 600; }
.hm-hero { position: relative; height: 172px; flex: none; }
.hm-hero svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hm-hero .sky { fill: var(--tertiary); }
.hm-hero .sun { fill: var(--primary); }
.hm-hero .far { fill: color-mix(in srgb, var(--tertiary-soft) 55%, var(--tertiary)); }
.hm-hero .snow { fill: var(--surface); }
.hm-hero .mid { fill: var(--secondary); }
.hm-hero .near { fill: var(--ink); }
.hm-copy { position: absolute; left: 16px; top: 16px; max-width: 250px; }
.hm-k { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--primary-soft); }
.hm-h { margin-top: 4px; font-family: var(--font-display); font-size: 21px; font-weight: 800; line-height: 1.02; letter-spacing: -0.03em; color: var(--tertiary-ink); }
.hm-tabs { display: flex; gap: 6px; padding: 12px 14px 0; }
.hm-tabs button {
  height: 32px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line-strong);
  background: transparent; font-size: 12px; font-weight: 600; cursor: pointer; color: var(--ink-2);
  transition: background-color var(--t-ui) var(--ease-standard), color var(--t-ui) var(--ease-standard);
}
.hm-tabs button:hover { background: var(--surface-2); }
.hm-tabs button[aria-selected="true"] { background: var(--tertiary); border-color: var(--tertiary); color: var(--tertiary-ink); }
.hm-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 12px 14px 14px; }
.trip { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--surface); animation: rise 420ms var(--ease-expo-out) both; animation-delay: calc(var(--k) * 60ms); }
.trip svg { display: block; width: 100%; height: 66px; }
.trip div { padding: 7px 9px 9px; }
.trip b { display: block; font-size: 12px; letter-spacing: -0.01em; line-height: 1.2; }
.trip span { font-size: 11px; color: var(--ink-2); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* CRM drawn board */
.crm { display: grid; grid-template-rows: 42px 1fr; }
.crm-top { display: flex; align-items: center; justify-content: space-between; padding: 0 14px; border-bottom: 1px solid var(--line); font-size: 13px; }
.crm-top span { font-size: 12px; color: var(--ink-2); }
.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 10px; min-height: 0; }
.col { display: flex; flex-direction: column; gap: 6px; padding: 8px; border-radius: 8px; background: var(--bg); min-width: 0; }
.col-h { display: flex; justify-content: space-between; align-items: center; padding: 2px 2px 4px; font-size: 11.5px; font-weight: 700; }
.col-h span { padding: 0 7px; border-radius: var(--r-pill); background: var(--surface-2); font-size: 10.5px; color: var(--ink-2); }
.lead {
  display: block; width: 100%; text-align: left; cursor: pointer;
  padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface);
  transition: background-color var(--t-fast) var(--ease-standard), border-color var(--t-fast) var(--ease-standard);
  animation: rise 360ms var(--ease-expo-out) both;
}
.lead:hover { background: var(--surface-2); border-color: var(--line-strong); }
.lead b { display: block; font-size: 12px; }
.lead span { display: block; font-size: 11px; color: var(--ink-2); line-height: 1.35; }
.lead .lead-f { display: flex; justify-content: space-between; margin-top: 6px; font-size: 11px; color: var(--ink); font-weight: 600; }
.col.booked .lead { border-color: color-mix(in srgb, var(--secondary) 45%, var(--line)); }
.col.booked .col-h span { background: var(--success-soft); color: var(--success-on-soft); }

/* Cake shop drawn screen */
.shop { display: grid; grid-template-rows: 42px 1fr auto; }
.shop-nav { display: flex; align-items: center; gap: 14px; padding: 0 14px; font-size: 11.5px; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.shop-nav b { margin-right: auto; font-size: 13px; color: var(--ink); letter-spacing: -0.02em; }
.bag { position: relative; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--bg); color: var(--ink); }
.bag .ic { width: 16px; height: 16px; }
.bag i { position: absolute; top: -4px; right: -5px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: var(--r-pill); background: var(--primary); color: var(--primary-ink); font-size: 10px; font-style: normal; font-weight: 700; line-height: 17px; text-align: center; }
.bag.bump i { animation: bump 320ms var(--ease-spring); }
@keyframes bump { 50% { transform: scale(1.35); } }
.shop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px 14px; min-height: 0; }
.cake-card { display: grid; grid-template-columns: 76px 1fr; gap: 10px; align-items: center; padding: 8px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); }
.cake-art { position: relative; height: 72px; border-radius: 6px; background: var(--bg); }
.cake-card b { display: block; font-size: 12px; line-height: 1.2; }
.cake-card .price { display: block; margin-top: 2px; font-size: 11.5px; color: var(--ink-2); }
.add {
  display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; height: 28px; padding: 0 10px;
  border-radius: var(--r-pill); border: 1px solid var(--ink); background: transparent; color: var(--ink);
  font-size: 11px; font-weight: 600; cursor: pointer;
  transition: background-color var(--t-ui) var(--ease-standard), color var(--t-ui) var(--ease-standard);
}
.add .ic { width: 13px; height: 13px; }
.add:hover, .add[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.shop-foot { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 600; }
.checkout { padding: 6px 14px; border-radius: var(--r-pill); background: var(--primary); color: var(--primary-ink); font-weight: 700; }
.cake { position: absolute; left: 50%; bottom: 6px; width: 60px; height: 56px; margin-left: -30px; }
.cake i { position: absolute; display: block; }
.cake .plate { left: -4px; right: -4px; bottom: 0; height: 5px; border-radius: var(--r-pill); background: var(--line-strong); }
.cake .t1 { left: 2px; right: 2px; bottom: 5px; height: 24px; border-radius: 5px 5px 3px 3px; background: var(--sponge); box-shadow: inset 0 7px 0 var(--frost); }
.cake .t2 { left: 13px; right: 13px; bottom: 29px; height: 17px; border-radius: 5px 5px 3px 3px; background: var(--sponge); box-shadow: inset 0 6px 0 var(--frost); }
.cake .cherry { left: 25px; bottom: 45px; width: 9px; height: 9px; border-radius: 50%; background: var(--top); }

.work-more { max-width: var(--frame); margin: 56px auto 0; text-align: center; font-size: 20px; color: var(--ink-2); }
.work-more a { color: var(--link); font-weight: 600; text-underline-offset: 4px; }

/* ---------- About ---------- */
.about { max-width: calc(var(--frame) + 2 * var(--pad)); margin: 0 auto; padding: 120px var(--pad) 140px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.about-l { position: sticky; top: 110px; align-self: start; }
.about h2 { font-size: clamp(40px, 4.8vw, 62px); line-height: .98; letter-spacing: -0.045em; max-width: 13ch; }
.lede { margin-top: 28px; font-size: 21px; line-height: 1.45; color: var(--ink); }
.about-l > p:not(.lede) { margin-top: 16px; font-size: 18px; color: var(--ink-2); }
.facts { margin: 32px 0 0; display: grid; }
.facts div { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.facts dt { font-size: 15px; font-weight: 700; }
.facts dd { margin: 0; font-size: 16px; color: var(--ink-2); }
.jobs { display: flex; flex-direction: column; gap: var(--gap); }
.job { padding: 28px; border-radius: var(--r-card); border: 1px solid var(--line); }
.job.now { background: var(--surface); border-color: var(--line-strong); box-shadow: var(--shadow); }
.when { font-size: 15px; font-weight: 600; color: var(--ink-2); }
.job h3 { margin-top: 10px; font-size: 30px; line-height: 1.05; letter-spacing: -0.035em; }
.org { margin-top: 6px; font-size: 18px; font-weight: 600; color: var(--link); }
.job p:last-child { margin-top: 14px; font-size: 17px; color: var(--ink-2); }

/* ---------- Contact ---------- */
.contact {
  --rule: var(--primary-ink);
  position: relative; min-height: 100dvh;
  display: grid; grid-template-rows: auto 1fr auto auto;
  background: var(--primary); color: var(--primary-ink);
  transition: background-color 140ms var(--ease-standard), color 140ms var(--ease-standard);
}
.contact.flash { --rule: var(--inverse-ink); background: var(--inverse); color: var(--inverse-ink); }
.c-top { display: grid; grid-template-columns: repeat(4, 1fr); padding: 92px var(--pad) 0; border-bottom: 2px solid var(--rule); transition: border-color 140ms var(--ease-standard); }
.c-top p, .c-grid > div { padding: 18px 14px 18px 0; font-size: 15px; line-height: 1.4; }
.c-top b, .c-grid b { display: block; font-weight: 800; font-size: 16px; }
.c-stage { display: flex; flex-direction: column; justify-content: center; padding: 40px var(--pad); min-width: 0; position: relative; }
.c-kick { display: flex; justify-content: space-between; gap: 24px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.mail {
  all: unset; position: relative; display: block; cursor: none; white-space: nowrap;
  padding: 14px 0 26px; margin-top: 8px;
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.045em; line-height: .9;
  font-size: var(--fs, 72px); text-transform: uppercase;
  font-variation-settings: "opsz" 96;
}
.mail .t { position: relative; display: inline-block; }
.mail .t::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -14px; height: 14px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform 420ms var(--ease-expo-out);
}
.mail:hover .t::after, .mail:focus-visible .t::after { transform: scaleX(1); }
.mail:focus-visible { outline: 3px solid var(--rule); outline-offset: 6px; border-radius: 4px; }
.probe { font-variation-settings: "opsz" 96; position: absolute; visibility: hidden; white-space: nowrap; pointer-events: none; left: 0; top: 0; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.045em; font-size: 100px; text-transform: uppercase; }
.c-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 0 var(--pad); border-top: 2px solid var(--rule); transition: border-color 140ms var(--ease-standard); }
.c-grid a { display: inline-block; margin-top: 2px; text-decoration: none; border-bottom: 2px solid currentColor; padding: 2px 0; word-break: break-all; }
.c-grid a:hover { background: var(--primary-ink); color: var(--primary); }
.contact.flash .c-grid a:hover { background: var(--inverse-ink); color: var(--inverse); }
.contact :focus-visible { outline-color: var(--rule); }
.tick { height: 52px; display: flex; align-items: center; overflow: hidden; background: var(--primary-ink); color: var(--primary); transition: background-color 140ms var(--ease-standard), color 140ms var(--ease-standard); }
.contact.flash .tick { background: var(--primary); color: var(--primary-ink); }
.tick-in { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.tick-in span { display: inline-flex; align-items: center; font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; text-transform: uppercase; white-space: nowrap; }
.tick-in span::after { content: ""; width: 12px; height: 12px; margin: 0 28px; background: currentColor; transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }
.chip-c {
  position: fixed; left: 0; top: 0; z-index: 35; pointer-events: none;
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px;
  border-radius: var(--r-pill); background: var(--primary-ink); color: var(--primary);
  font-size: 14px; font-weight: 700;
  opacity: 0; transform: translate(14px, 14px) scale(.6); transform-origin: 0 0;
  transition: opacity 140ms var(--ease-standard), transform 200ms var(--ease-expo-out);
}
.chip-c .ic { width: 15px; height: 15px; }
.chip-c.on { opacity: 1; transform: translate(14px, 14px) scale(1); }
.chip-c.flash { background: var(--inverse-ink); color: var(--inverse); }
@media (hover: none) { .mail { cursor: pointer; } .chip-c { display: none; } }

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; padding: 72px var(--pad) 0; }
.f-top { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: end; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.f-kick { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.f-now { margin-top: 10px; font-family: var(--font-display); font-size: clamp(26px, 3vw, 36px); font-weight: 700; line-height: 1.1; letter-spacing: -0.035em; max-width: 22ch; }
.f-up { justify-self: end; }
.cols { display: grid; grid-template-columns: repeat(3, 1fr) 1.3fr; gap: 32px; padding: 32px 0; }
.cols h3 { font-size: 16px; letter-spacing: -0.01em; margin-bottom: 10px; }
.cols li a { display: inline-flex; align-items: center; min-height: 32px; font-size: 16px; color: var(--ink-2); text-decoration: none; transition: color var(--t-fast) var(--ease-standard); }
.cols li a::before { content: ""; width: 0; height: 2px; margin-right: 0; background: var(--primary); transition: width 240ms var(--ease-expo-out), margin-right 240ms var(--ease-expo-out); }
.cols li a:hover { color: var(--ink); }
.cols li a:hover::before { width: 14px; margin-right: 8px; }
.note { font-size: 16px; color: var(--ink-2); }
.legal { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 24px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.legal a { color: var(--link); }
.spacer { flex: 1; }
.replay { height: 36px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: transparent; cursor: pointer; font-size: 14px; transition: border-color var(--t-fast) var(--ease-standard); }
.replay:hover { border-color: var(--primary); }
.word {
  display: flex; height: .96em; margin-top: 8px;
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; line-height: 1;
  font-size: var(--wfs, 300px); user-select: none; -webkit-user-select: none;
  font-variation-settings: "opsz" 96;
}
.word span { display: inline-block; transform: translateY(calc((1 - var(--lp, 1)) * 100%)); transition: transform 520ms var(--ease-expo-out), color var(--t-fast) var(--ease-standard); }
.word span:hover { color: var(--primary); }
.word .end { color: var(--primary); }
.footer .probe { font-size: 100px; letter-spacing: -0.03em; text-transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1279px) {
  .card { grid-template-columns: 440px minmax(0, 1fr); }
  .txt h3 { font-size: 50px; }
}
@media (max-width: 1023px) {
  :root { --pad: 28px; }
  .work-head { grid-template-columns: 1fr; gap: 20px; }
  .card { height: 680px; grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); }
  .card .art { order: -1; height: 300px; }
  .card .meta { display: none; }
  .txt { padding: 8px 10px 10px; }
  .txt h3 { font-size: 44px; margin: 10px 0 12px; }
  .about { grid-template-columns: 1fr; gap: 48px; }
  .about-l { position: static; }
  .c-top, .c-grid { grid-template-columns: 1fr 1fr; }
  .cols { grid-template-columns: 1fr 1fr; }
  .note { grid-column: 1 / -1; }
  .f-top { grid-template-columns: 1fr; gap: 20px; }
  .f-up { justify-self: start; }
}
@media (max-width: 1099px) {
  .h-main { gap: 40px; }
  .h-foot { max-width: 300px; gap: 22px; }
  .h-intro { font-size: 17px; }
  .ctas { flex-wrap: wrap; }
}
@media (max-width: 899px) {
  .h-main { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .h-foot { justify-self: start; max-width: 600px; }
}
@media (max-width: 1023px) {
  .h-strip .h-now { display: none; }
}
@media (max-width: 767px) {
  .hero { padding-top: 88px; min-height: 0; gap: 32px; }
}
@media (max-width: 639px) {
  :root { --pad: 20px; }
  body { font-size: 17px; }
  .h-strip { font-size: 13px; align-items: flex-start; }
  .h-strip span:first-child { max-width: 190px; align-items: flex-start; }
  .h-dot { margin-top: 6px; flex: none; }
  .plate { margin-top: 36px; }
  .spec, .slot { display: none; }
  .lbl { font-size: 11px; top: -30px; }
  .l1 .sz { display: none; }
  .h-intro { font-size: 17px; }
  .ctas { flex-direction: column; align-items: stretch; }
  .ctas .btn { justify-content: space-between; }
  .btn-outline { justify-content: center; }
  .stack { --top: 76px; --step: 10px; }
  .card { height: 680px; padding: 10px; }
  .card .art { height: 330px; padding: 12px 12px 8px; }
  .txt h3 { font-size: 36px; }
  .desc { font-size: 16px; }
  .hm-nav span:not(.hm-cta), .shop-nav span { display: none; }
  .hm-hero { height: 110px; }
  .hm-h { font-size: 16px; }
  .hm-cards { grid-template-columns: 1fr 1fr; }
  .hm-cards .trip:nth-child(3) { display: none; }
  .shop-grid { grid-template-columns: 1fr; }
  .cake-card:nth-child(n+3) { display: none; }
  .board { grid-template-columns: 1fr 1fr 1fr; gap: 6px; padding: 8px; }
  .col { padding: 6px; }
  .lead span:not(.lead-f) { display: none; }
  .about { padding: 80px var(--pad) 100px; }
  .job { padding: 22px; }
  .job h3 { font-size: 25px; }
  .c-top { grid-template-columns: 1fr 1fr; padding-top: 84px; }
  .c-grid { grid-template-columns: 1fr 1fr; }
  .c-kick { flex-direction: column; gap: 4px; }
  .c-kick span:last-child { display: none; }
  .cols { grid-template-columns: 1fr 1fr; }
  .legal .spacer { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 1ms !important; transition-delay: 0ms !important; animation-duration: 1ms !important; animation-iteration-count: 1 !important; }
  .js .hero :is(.h-strip, .plate, .h-foot, .seam) { translate: 0 0; opacity: 1; }
  .card { animation: none !important; }
  .h-dot { animation: none !important; }
  .tick-in { animation: none !important; }
  .word span { transform: none !important; }
  .js .reveal { opacity: 1; translate: 0 0; }
  .menu { clip-path: none !important; opacity: 0; transition: opacity 150ms linear, visibility 0s linear 150ms !important; }
  .menu-open .menu { opacity: 1; transition: opacity 150ms linear !important; }
  .links a { transform: none !important; }
  .m-foot { opacity: 1 !important; transform: none !important; }
}
