/* Inter Tight (SIL OFL 1.1, see /assets/fonts/OFL.txt), self-hosted variable font */
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-tight-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-tight-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --orange: #ff4d00;
  --orange-deep: #e04300;
  --paper: #f3f1ec;
  --paper-2: #ebe8e1;
  --ink: #161616;
  --muted: #5d5b56;
  --line: #cfcbc2;
  --gutter: clamp(16px, 3.2vw, 48px);
  --max: 1520px;
  --rw: min(56vw, 940px); /* hero ribbon width */
  --hh: 128px; /* header height */
  --font: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  position: relative;
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
img, svg { display: block; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 16px; background: var(--ink); color: #fff; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- labels ---------- */
.kicker, .studio-index, .micro, .footer-note, .chip, .app-card-meta, .crumbs {
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .24em;
  line-height: 1.75;
  text-transform: uppercase;
}
.kicker { display: flex; align-items: center; gap: 14px; color: var(--muted); }
.kicker b { color: var(--ink); font-weight: 600; letter-spacing: .12em; }
.kicker .dash { width: 36px; height: 1px; background: currentColor; }
.num { color: var(--orange); font-weight: 700; letter-spacing: .04em; }

.chip { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border: 1px solid currentColor; letter-spacing: .18em; white-space: nowrap; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip-ok { color: #1f7a3a; }
.chip-beta { color: #b04a00; }
.chip-dev { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 28px;
  min-width: 220px; padding: 17px 28px;
  border: 1.5px solid var(--orange);
  background: var(--orange); color: #fff;
  font-size: 1.1rem; font-weight: 500; text-decoration: none;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { background: var(--orange-deep); border-color: var(--orange-deep); }
.btn-dark { background: var(--ink); border-color: var(--ink); }
.btn-dark:hover { background: #000; border-color: #000; }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); justify-content: center; min-width: 0; }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn svg, .text-link svg, .contact-mail svg, .go svg, .dropdown-all svg, .dl-list svg, .shop-rows svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .25s ease; }
.btn:hover svg, .text-link:hover svg, .contact-mail:hover svg, a:hover .go svg, .dropdown-all:hover svg, .dl-list a:hover svg, .shop-rows a:hover svg { transform: translateX(4px); }
.text-link { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; text-decoration: none; }
.rule { width: 84px; height: 1px; background: var(--ink); }

/* ---------- header ---------- */
.site-header {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: start;
  gap: clamp(24px, 4.5vw, 88px);
  height: var(--hh);
  padding-top: 26px;
}
.brand { display: inline-flex; align-items: center; gap: 20px; text-decoration: none; }
.brand-mark { width: auto; height: 38px; }
.brand-name { font-size: 2.05rem; font-weight: 500; letter-spacing: -.035em; line-height: 1; }
.studio-index { display: grid; gap: 2px; padding-top: 2px; }
.studio-index b { font-weight: 600; letter-spacing: .1em; }
.site-nav { justify-self: end; padding-top: 4px; }
.site-nav > ul { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 44px); }
.site-nav > ul > li { position: relative; display: flex; align-items: center; gap: 2px; }
.site-nav > ul > li > a { position: relative; font-size: 1.06rem; font-weight: 500; text-decoration: none; }
.site-nav > ul > li > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.site-nav > ul > li > a:hover::after, .site-nav > ul > li > a[aria-current]::after { transform: scaleX(1); }
.menu-toggle { display: grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.menu-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .2s ease; }
.has-menu.open .menu-toggle svg { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 18px); right: -24px;
  width: min(560px, 92vw); padding: 14px;
  background: var(--paper); border: 1px solid var(--ink);
  box-shadow: 0 30px 60px rgba(22, 22, 22, .16);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.has-menu:hover .dropdown, .has-menu:focus-within .dropdown, .has-menu.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown ul { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.dropdown li a { display: flex; align-items: center; gap: 12px; padding: 8px; text-decoration: none; transition: background .15s ease; }
.dropdown li a:hover { background: var(--paper-2); }
.dropdown img { width: 64px; height: 40px; object-fit: cover; object-position: top; border: 1px solid var(--line); }
.dropdown b { display: block; font-size: .98rem; font-weight: 600; letter-spacing: -.01em; }
.dropdown small { display: block; color: var(--muted); font-size: .76rem; }
.dropdown-all { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; padding: 12px 10px 4px; border-top: 1px solid var(--line); font-weight: 600; text-decoration: none; }
.nav-toggle { display: none; }

/* ---------- home hero ---------- */
.hero { position: relative; z-index: 2; overflow-x: clip; min-height: max(520px, calc(var(--rw) * .7494 - var(--hh))); padding-bottom: 20px; }
.hero-inner { position: relative; z-index: 2; }
/* ribbon sits inside .hero, bleeding up behind the header and cut by the dark band */
.hero-ribbon {
  position: absolute; z-index: 1;
  top: calc(-1 * var(--hh)); right: 0;
  width: var(--rw); height: calc(100% + var(--hh));
  object-fit: contain; object-position: right bottom;
  pointer-events: none; user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%);
}
.wordmark { margin: 10px 0 0; line-height: 0; }
.wordmark img { width: min(64vw, 1010px); height: auto; }
.wordmark-tag { margin-top: clamp(12px, 1.4vw, 20px); font-size: clamp(.78rem, 1.15vw, 1.1rem); font-weight: 500; letter-spacing: .42em; text-transform: uppercase; white-space: nowrap; }
.wordmark-tag i { margin-inline: .5em; color: var(--orange); font-style: normal; }
.hero-copy { max-width: 720px; margin-top: clamp(28px, 3vw, 48px); }
.hero-title { font-size: clamp(2.4rem, 4.6vw, 4.8rem); font-weight: 800; letter-spacing: -.045em; line-height: .92; }
.lead { max-width: 520px; margin-top: clamp(18px, 2vw, 28px); color: var(--muted); font-size: clamp(1rem, 1.25vw, 1.2rem); line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: clamp(22px, 2.4vw, 34px); }

/* ---------- section heads ---------- */
section[id], article[id] { scroll-margin-top: 24px; }
.section-head h2, .band-head h2 { margin-top: 26px; font-size: clamp(2.5rem, 5vw, 4.8rem); font-weight: 800; letter-spacing: -.05em; line-height: .94; }
.index { padding-block: clamp(80px, 9vw, 140px); }

/* ---------- portfolio band (home) ---------- */
.portfolio-band { position: relative; z-index: 3; background: var(--ink); color: #f5f3ee; padding-block: clamp(56px, 6vw, 96px); }
.portfolio-band .kicker { color: #9a978f; }
.portfolio-band .kicker b { color: #f5f3ee; }
.band-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); column-gap: 60px; align-items: end; }
.band-head .kicker { grid-column: 1 / -1; }
.band-head p:not(.kicker) { color: #c9c6be; font-size: 1.05rem; }
.band-head b { color: #fff; font-weight: 600; }
.app-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; margin-top: clamp(40px, 5vw, 64px); background: #2e2e2e; border: 2px solid #2e2e2e; }
.app-card a, .app-card > span { color: #f5f3ee; }
.app-card a { display: flex; flex-direction: column; height: 100%; background: var(--ink); text-decoration: none; transition: background .25s ease; }
.app-card a:hover { background: #1f1f1f; }
.app-card figure { overflow: hidden; aspect-ratio: 16 / 10; background: #222; }
.app-card img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s ease; }
.app-card a:hover img { transform: scale(1.035); }
.app-card-body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 22px; }
.app-card-meta { display: flex; gap: 12px; color: #9a978f; }
.app-card h3 { margin-top: 10px; font-size: clamp(1.7rem, 2.3vw, 2.2rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.app-card-body > p:not([class]) { margin-top: 12px; color: #c9c6be; }
.app-card-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 22px; }
.app-card .chip-ok { color: #6fd08e; }
.app-card .chip-beta { color: #ffa060; }
.app-card .chip-dev { color: #aaa69d; }
.go { display: inline-flex; align-items: center; gap: 8px; color: #f5f3ee; font-size: .85rem; font-weight: 500; }

/* ---------- area list ---------- */
.area-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; margin-top: clamp(40px, 5vw, 72px); border-top: 2px solid var(--ink); }
.area-list li { padding-top: 26px; }
.area-list h3 { margin-top: 14px; font-size: clamp(1.4rem, 2vw, 1.8rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; }
.area-list p { margin-top: 12px; color: var(--muted); }
.area-apps { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.area-apps a { color: var(--ink); font-weight: 600; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ---------- studio band ---------- */
.studio { background: var(--orange); color: var(--ink); padding-block: clamp(80px, 9vw, 140px); }
.studio .kicker, .studio .kicker b { color: var(--ink); }
.studio-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(40px, 6vw, 120px); }
.statement { font-size: clamp(1.35rem, 2.1vw, 1.95rem); font-weight: 500; letter-spacing: -.025em; line-height: 1.25; }
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 40px; margin-top: clamp(40px, 4.5vw, 64px); }
.principles div { padding-top: 16px; border-top: 1.5px solid var(--ink); }
.principles dt { font-size: 1.1rem; font-weight: 700; letter-spacing: -.02em; }
.principles dd { margin-top: 6px; }
.studio .text-link { margin-top: 40px; }
.studio .btn-dark { margin-top: 36px; }

/* ---------- shop teaser ---------- */
.shop-teaser { padding-block: clamp(80px, 9vw, 140px) 0; }
.shop-rows { margin: clamp(36px, 4vw, 56px) 0 36px; border-top: 2px solid var(--ink); }
.shop-rows li { display: grid; grid-template-columns: 80px 1fr auto auto; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.shop-rows b { font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 700; letter-spacing: -.04em; }
.shop-rows span:not(.num) { color: var(--muted); }
.shop-rows a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }

/* ---------- contact band ---------- */
.contact { padding-block: clamp(90px, 11vw, 170px); }
.contact h2 { margin-top: 26px; font-size: clamp(3rem, 8.4vw, 8.6rem); font-weight: 900; letter-spacing: -.06em; line-height: .86; }
.contact-mail {
  display: inline-flex; align-items: center; gap: 18px; max-width: 100%;
  margin-top: clamp(32px, 4vw, 56px); padding-bottom: 8px;
  border-bottom: 3px solid var(--orange);
  font-size: clamp(1.3rem, 2.6vw, 2.3rem); font-weight: 600; letter-spacing: -.03em; text-decoration: none; overflow-wrap: anywhere;
}
.contact-mail svg { width: 32px; height: 32px; }

/* ---------- sub pages ---------- */
.page-hero { padding-block: clamp(40px, 6vw, 96px) clamp(48px, 6vw, 88px); border-bottom: 2px solid var(--ink); }
.page-hero h1 { margin-top: 26px; font-size: clamp(3rem, 8vw, 8rem); font-weight: 900; letter-spacing: -.06em; line-height: .88; }
.page-hero .lead { max-width: 640px; }

.about-facts dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.about-facts div { padding: 36px 24px 36px 0; }
.about-facts div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.about-facts dt { color: var(--orange); font-size: clamp(3rem, 5.5vw, 5.4rem); font-weight: 900; letter-spacing: -.06em; line-height: 1; }
.about-facts dd { margin-top: 10px; color: var(--muted); }
.about-story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(40px, 6vw, 120px); padding-block: clamp(80px, 9vw, 140px); }
.prose p { font-size: clamp(1.08rem, 1.4vw, 1.3rem); line-height: 1.6; }
.prose p + p { margin-top: 1.1em; }
.steps { counter-reset: s; border-top: 1.5px solid var(--ink); }
.steps li { display: grid; grid-template-columns: 56px 160px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1.5px solid var(--ink); counter-increment: s; }
.steps li::before { content: counter(s, decimal-leading-zero); font-weight: 700; }
.steps b { font-size: 1.2rem; letter-spacing: -.02em; }

.pf-list { padding-block: clamp(56px, 6vw, 96px) 0; }
.pf-row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: center; padding-block: clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.pf-flip .pf-media { order: 2; }
.pf-media { display: block; overflow: hidden; border: 1px solid var(--ink); box-shadow: 14px 14px 0 var(--ink); }
.pf-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform .5s ease; }
.pf-media:hover img { transform: scale(1.03); }
.pf-body .app-card-meta { color: var(--muted); }
.pf-body h2 { margin-top: 14px; font-size: clamp(2.6rem, 4.6vw, 4.4rem); font-weight: 800; letter-spacing: -.05em; line-height: .95; }
.pf-tagline { margin-top: 14px; font-size: clamp(1.25rem, 1.8vw, 1.6rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.pf-body > p:not([class]) { margin-top: 14px; color: var(--muted); font-size: 1.05rem; }
.pf-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 22px 0 28px; color: var(--muted); font-size: .92rem; }

.shop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding-block: clamp(56px, 6vw, 96px); }
.shop-tile { display: flex; flex-direction: column; border: 1.5px solid var(--ink); background: #fbfaf7; }
.shop-tile > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-bottom: 1.5px solid var(--ink); }
.shop-body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.shop-body .app-card-meta { color: var(--muted); }
.shop-body h2 { margin-top: 10px; font-size: 2rem; font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.price { margin-top: 12px; font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; }
.shop-note { margin-top: 4px; color: var(--muted); }
.dl-list { margin-top: 18px; border-top: 1px solid var(--line); }
.dl-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.dl-list a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.dl-list span { color: var(--muted); white-space: nowrap; }
.shop-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: auto; padding-top: 24px; }
.shop-actions .btn { min-width: 0; flex: 1 1 auto; }

.contact-main { padding-block: clamp(48px, 6vw, 96px) clamp(80px, 9vw, 140px); }
.contact-main .contact-mail { margin-top: 0; }
.contact-mail.big { font-size: clamp(1.6rem, 4.4vw, 3.8rem); }
.topic-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; margin-top: clamp(56px, 6vw, 96px); border-top: 2px solid var(--ink); }
.topic-grid li { display: flex; flex-direction: column; padding-top: 24px; }
.topic-grid h2 { font-size: 1.6rem; font-weight: 700; letter-spacing: -.035em; }
.topic-grid p { margin: 10px 0 20px; color: var(--muted); }
.topic-grid .text-link { margin-top: auto; }
.nf-actions { display: flex; flex-wrap: wrap; gap: 16px; padding-block: 48px 120px; }

/* ---------- app pages (subdomains) ---------- */
.app-hero { padding-block: clamp(32px, 5vw, 72px) clamp(40px, 5vw, 72px); }
.crumbs { color: var(--muted); }
.crumbs a { color: var(--ink); text-decoration: none; }
.crumbs span { margin-inline: 8px; }
.app-cat { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 26px; font-size: .9rem; font-weight: 600; }
.app-hero h1 { margin-top: 14px; font-size: clamp(3.4rem, 11vw, 11.5rem); font-weight: 900; letter-spacing: -.065em; line-height: .84; overflow-wrap: anywhere; }
.app-tagline { max-width: 900px; margin-top: 22px; font-size: clamp(1.5rem, 3vw, 2.6rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; }
.app-tagline::before { content: ""; display: inline-block; width: .5em; height: .5em; margin-right: .35em; background: var(--app, var(--orange)); vertical-align: .08em; }
.app-hero .lead { max-width: 700px; }
.app-shot { position: relative; padding-bottom: clamp(56px, 6vw, 96px); }
.app-shot::before { content: ""; position: absolute; inset: 22% 0 0; background: var(--ink); }
.app-shot figure { position: relative; overflow: hidden; border: 1.5px solid var(--ink); box-shadow: 0 40px 90px rgba(0, 0, 0, .35); }
.app-shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; margin-top: clamp(40px, 5vw, 72px); border-top: 2px solid var(--ink); }
.feat-grid li { padding: 26px 0 34px; border-bottom: 1px solid var(--line); }
.feat-grid h3 { margin-top: 12px; font-size: 1.45rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.feat-grid p { margin-top: 10px; color: var(--muted); }
.specs { border-top: 1.5px solid var(--ink); }
.specs div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1.5px solid var(--ink); }
.specs dt { font-weight: 700; }
.specs dd { font-size: 1.1rem; }
.get { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(40px, 6vw, 120px); padding-block: clamp(80px, 9vw, 140px) 0; }
.dl-list.big { margin-top: 0; border-top: 2px solid var(--ink); }
.dl-list.big li { padding: 20px 0; font-size: 1.1rem; }
.get .text-link { margin-top: 22px; }
.more { padding-block: clamp(80px, 9vw, 140px); }
.more h2 { margin-top: 22px; font-size: clamp(2.2rem, 4vw, 3.6rem); font-weight: 800; letter-spacing: -.05em; }
.more-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.more-grid a { display: block; text-decoration: none; }
.more-grid img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border: 1px solid var(--ink); transition: transform .3s ease; }
.more-grid a:hover img { transform: translateY(-4px); }
.more-grid b { display: block; margin-top: 12px; font-size: 1.15rem; letter-spacing: -.02em; }
.more-grid small { color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #c9c6be; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) 1fr 1fr; gap: 40px; padding-block: 72px 56px; }
.site-footer .brand-mark { width: auto; height: 30px; }
.site-footer .brand-name { color: #f5f3ee; font-size: 1.6rem; }
.footer-brand p { margin-top: 18px; max-width: 320px; }
.footer-mail { display: inline-block; margin-top: 18px; color: #f5f3ee; font-weight: 600; text-decoration-color: var(--orange); text-underline-offset: 5px; }
.site-footer .kicker { color: #8d8a83; }
.site-footer ul { margin-top: 16px; }
.site-footer li + li { margin-top: 6px; }
.site-footer ul a { color: #f5f3ee; text-decoration: none; }
.site-footer ul a:hover { color: var(--orange); }
.footer-row { display: flex; justify-content: space-between; gap: 24px; padding-block: 24px 30px; border-top: 1px solid #2e2e2e; font-size: .85rem; }
.footer-note { color: #f5f3ee; }
.footer-legal { margin-left: 14px; color: #f5f3ee; }
.footer-legal:hover { color: var(--orange); }

/* ---------- privacy ---------- */
.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); padding-block: clamp(48px, 5vw, 80px) clamp(80px, 9vw, 140px); }
.legal-body { max-width: 820px; }
.legal-sec { padding-block: 32px; border-top: 2px solid var(--ink); }
.legal-sec:first-child { padding-top: 0; border-top: 0; }
.legal-sec h2 { margin-bottom: 18px; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.legal-sec p, .legal-sec li { font-size: 1.05rem; line-height: 1.65; }
.legal-sec p + p { margin-top: .9em; }
.legal-sec ul { padding-left: 1.2em; list-style: disc; }
.legal-sec li + li { margin-top: 6px; }
.legal-sec a { text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.legal-sec code { padding: 1px 6px; background: var(--paper-2); font-size: .92em; }
.legal-app { padding-block: 20px; border-top: 1px solid var(--line); }
.legal-app:first-child { border-top: 0; padding-top: 0; }
.legal-app h3 { margin-bottom: 10px; font-size: 1.35rem; font-weight: 700; letter-spacing: -.03em; }
@media (max-width: 960px) {
  .legal { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- responsive ---------- */
@media (max-width: 1280px) {
  .studio-index { display: none; }
  .site-header { grid-template-columns: auto 1fr; }
  .more-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
  .app-grid, .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .area-list, .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .area-list li:nth-child(n + 3), .topic-grid li:nth-child(n + 3) { margin-top: 32px; }
  .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  :root { --hh: 84px; --rw: 100vw; }
  .site-header { display: flex; align-items: center; justify-content: space-between; padding-top: 0; }
  .brand { gap: 14px; }
  .brand-mark { width: auto; height: 30px; }
  .brand-name { font-size: 1.6rem; }
  .nav-toggle { position: relative; z-index: 31; display: grid; place-items: center; width: 48px; height: 48px; margin-right: -10px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; }
  .nav-toggle > span:first-child, .nav-toggle > span:first-child::before, .nav-toggle > span:first-child::after { content: ""; display: block; width: 26px; height: 2px; background: currentColor; transition: transform .25s ease, background .2s ease; }
  .nav-toggle > span:first-child { position: relative; }
  .nav-toggle > span:first-child::before { position: absolute; top: -8px; }
  .nav-toggle > span:first-child::after { position: absolute; top: 8px; }
  .nav-open .nav-toggle { color: #f5f3ee; }
  .nav-open .nav-toggle > span:first-child { background: transparent; }
  .nav-open .nav-toggle > span:first-child::before { transform: translateY(8px) rotate(45deg); }
  .nav-open .nav-toggle > span:first-child::after { transform: translateY(-8px) rotate(-45deg); }
  .site-nav {
    position: fixed; inset: 0; z-index: 30; overflow-y: auto;
    padding: 96px var(--gutter) 40px;
    background: var(--ink); color: #f5f3ee;
    opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s;
  }
  .nav-open .site-nav { opacity: 1; visibility: visible; }
  .nav-open { overflow: hidden; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav > ul > li { flex-wrap: wrap; justify-content: space-between; border-bottom: 1px solid #333; }
  .site-nav > ul > li > a { padding: 16px 0; font-size: 2rem; font-weight: 700; letter-spacing: -.04em; }
  .site-nav > ul > li > a::after { display: none; }
  .site-nav > ul > li > a[aria-current] { color: var(--orange); }
  .menu-toggle { width: 48px; height: 48px; }
  .menu-toggle svg { width: 22px; height: 22px; }
  .dropdown { position: static; display: none; width: 100%; padding: 0 0 14px; background: none; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .dropdown::before { display: none; }
  .has-menu.open .dropdown { display: block; transform: none; }
  .has-menu:hover .dropdown, .has-menu:focus-within .dropdown { transform: none; }
  .dropdown ul { grid-template-columns: minmax(0, 1fr); }
  .dropdown li a:hover { background: #222; }
  .dropdown img { border-color: #333; }
  .dropdown small { color: #9a978f; }
  .dropdown-all { border-color: #333; }

  .hero-ribbon { top: -24px; right: -12vw; width: 104vw; height: auto; }
  .hero { min-height: 0; padding-top: calc(104vw * .7494 - 24px - 9vw); }
  .wordmark img { width: 100%; }
  .wordmark-tag { letter-spacing: .28em; font-size: .72rem; }
  .hero-copy { margin-top: 22px; }
  .hero-title { font-size: clamp(2.2rem, 10vw, 3.4rem); }
  .band-head, .studio-grid, .about-story, .get { grid-template-columns: minmax(0, 1fr); }
  .band-head p:not(.kicker) { margin-top: 18px; }
  .pf-row { grid-template-columns: minmax(0, 1fr); }
  .pf-flip .pf-media { order: 0; }
  .pf-media { box-shadow: 8px 8px 0 var(--ink); }
  .about-facts dl { grid-template-columns: 1fr 1fr; }
  .about-facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .about-facts div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .shop-rows li { grid-template-columns: 48px 1fr auto; }
  .shop-rows li > span:nth-child(3) { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .brand-name { font-size: 1.35rem; }
  .brand-mark { width: auto; height: 26px; }
  .app-grid, .shop-grid, .feat-grid, .area-list, .topic-grid, .principles { grid-template-columns: minmax(0, 1fr); }
  .area-list li:nth-child(n + 2), .topic-grid li:nth-child(n + 2) { margin-top: 28px; }
  .more-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { width: 100%; }
  .rule { width: 48px; }
  .steps li { grid-template-columns: 40px 1fr; }
  .steps li span { grid-column: 2; }
  .specs div { grid-template-columns: 1fr; gap: 4px; }
  .footer-row { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- disabled apps (listed, not open yet) ---------- */
.is-disabled > span[aria-disabled], .is-disabled .pf-media { cursor: not-allowed; }
.is-disabled img { filter: grayscale(1); opacity: .45; }
.is-disabled h2, .is-disabled h3, .is-disabled b { opacity: .55; }
.app-card.is-disabled > span { display: flex; flex-direction: column; height: 100%; background: var(--ink); }
.app-card.is-disabled .go { color: #8d8a83; }
.dropdown li.is-disabled > span { display: flex; align-items: center; gap: 12px; padding: 8px; }
.more-grid .is-disabled > span { display: block; }
.site-footer li.is-disabled span { color: #6f6c66; }
.area-apps span { color: var(--muted); font-weight: 600; }
.btn-disabled, .btn-disabled:hover { background: transparent; border-color: var(--line); color: var(--muted); justify-content: center; cursor: not-allowed; }
.pf-row.is-disabled .pf-media { border-color: var(--line); box-shadow: 14px 14px 0 var(--line); }

/* ---------- shop: under construction ---------- */
.uc { overflow-x: clip; padding-block: clamp(40px, 6vw, 96px) clamp(90px, 10vw, 160px); }
.uc-tape {
  display: flex; gap: 0; width: calc(100% + 2 * var(--gutter)); margin: clamp(28px, 4vw, 48px) calc(-1 * var(--gutter)) 0;
  overflow: hidden; transform: rotate(-1.5deg);
  background: repeating-linear-gradient(-45deg, var(--ink) 0 18px, var(--orange) 18px 36px);
  padding-block: 10px;
}
.uc-tape span {
  flex: none; margin-right: 10px; padding: 6px 22px;
  background: var(--ink); color: #f5f3ee;
  font-size: .8rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; white-space: nowrap;
}
.uc h1 { margin-top: clamp(36px, 5vw, 64px); font-size: clamp(3rem, 8vw, 8rem); font-weight: 900; letter-spacing: -.06em; line-height: .88; }
.uc .lead { max-width: 620px; }

/* ---------- personal site sections ---------- */
.hero-pillars { margin-top: 26px; }
.hero-actions .btn-ghost { min-width: 0; }
.lead b { color: var(--ink); font-weight: 600; }
.note { margin-top: 22px; color: var(--muted); max-width: 640px; }
.pillars { margin-top: 36px; color: var(--muted); font-size: .72rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tags li { padding: 6px 12px; border: 1px solid var(--line); background: #fbfaf7; font-size: .92rem; line-height: 1.3; }
.tags.dark li { border-color: var(--ink); background: transparent; }
.tags.big li { padding: 10px 16px; border-color: var(--ink); font-size: 1.05rem; font-weight: 500; }

.areas-band { position: relative; z-index: 3; background: var(--ink); color: #f5f3ee; padding-block: clamp(56px, 6vw, 96px); }
.areas-band .kicker { color: #9a978f; }
.areas-band .kicker b { color: #f5f3ee; }
.areas-band .band-head p:not(.kicker) { color: #c9c6be; font-size: 1.05rem; }
.areas-band .band-head b { color: #fff; }
.area-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; margin-top: clamp(40px, 5vw, 64px); background: #2e2e2e; border: 2px solid #2e2e2e; }
.area-grid a { display: flex; flex-direction: column; height: 100%; padding: 26px 24px 22px; background: var(--ink); text-decoration: none; transition: background .25s ease; }
.area-grid a:hover { background: #222; }
.area-grid h3 { margin-top: 18px; font-size: clamp(1.35rem, 1.8vw, 1.7rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; }
.area-grid p { margin: 10px 0 22px; color: #c9c6be; }
.area-grid .go { margin-top: auto; }

.work { padding-block: clamp(80px, 9vw, 140px); }
.split-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); column-gap: 60px; align-items: end; }
.split-head .kicker { grid-column: 1 / -1; }
.work .app-grid { background: var(--ink); border-color: var(--ink); }

.steps li { grid-template-columns: 56px 140px 1fr; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 110px); padding-block: clamp(80px, 9vw, 140px); }
.duo h2 { margin-top: 26px; font-size: clamp(2.2rem, 3.8vw, 3.8rem); font-weight: 800; letter-spacing: -.05em; line-height: .95; }

.tech-band { background: var(--ink); color: #f5f3ee; padding-block: clamp(64px, 7vw, 110px); }
.tech-band .kicker { color: #9a978f; }
.tech-band .kicker b { color: #f5f3ee; }
.tech-line { margin-top: 30px; font-size: clamp(1.5rem, 3.2vw, 3rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.2; }
.tech-line i { color: var(--orange); font-style: normal; }
.tech-band .note { color: #c9c6be; }

.statement-band { padding-block: clamp(80px, 9vw, 140px) 0; }
.big-statement { max-width: 1100px; margin-top: 26px; font-size: clamp(2.2rem, 4.6vw, 4.6rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 1100px; margin-top: 36px; }
.two-col p + p { margin-top: 0; }

.contact h2 { font-size: clamp(2.8rem, 6.6vw, 6.8rem); }
.contact .lead { max-width: 640px; }
.contact .hero-actions { gap: 22px 40px; margin-top: 40px; }
.contact .hero-actions .contact-mail { margin-top: 0; font-size: clamp(1.2rem, 2vw, 1.8rem); }

.area-list.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.prose a { text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.prose .tags { margin-block: 18px 24px; }

.svc-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); padding-block: clamp(48px, 5vw, 80px) 0; }
.svc-index { position: sticky; top: 24px; align-self: start; }
.svc-index ol { margin-top: 16px; border-top: 2px solid var(--ink); }
.svc-index a { display: flex; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); font-weight: 600; text-decoration: none; }
.svc-index a:hover { color: var(--orange); }
.svc-index .num { font-size: .8rem; line-height: 1.9; }
.svc-group { padding-bottom: clamp(56px, 6vw, 96px); }
.svc-group > header { display: flex; align-items: baseline; gap: 18px; padding-bottom: 18px; border-bottom: 2px solid var(--ink); }
.svc-group h2 { font-size: clamp(2.2rem, 4vw, 3.8rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.svc { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 8px 40px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.svc h3 { grid-row: span 3; font-size: 1.5rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.svc > p:not(.note) { color: var(--ink); font-size: 1.05rem; }
.svc .tags { margin-top: 14px; }
.svc .note { margin-top: 14px; }

.contact-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 110px); margin-top: clamp(56px, 6vw, 96px); padding-top: 32px; border-top: 2px solid var(--ink); }
.contact-cols .tags { margin-top: 18px; }

.footer-grid { grid-template-columns: minmax(0, 1.6fr) 1fr 1fr 1fr; }

@media (max-width: 1100px) {
  .area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .area-list.five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .area-list.five li:nth-child(n + 3) { margin-top: 32px; }
  .svc { grid-template-columns: minmax(0, 1fr); }
  .svc h3 { grid-row: auto; }
}
@media (max-width: 960px) {
  .split-head, .duo, .two-col, .contact-cols, .svc-layout { grid-template-columns: minmax(0, 1fr); }
  .split-head .lead { margin-top: 18px; }
  .svc-index { position: static; }
  .svc-index ol { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .area-grid, .area-list.five { grid-template-columns: minmax(0, 1fr); }
  .area-list.five li:nth-child(n + 2) { margin-top: 28px; }
  .svc-index ol { grid-template-columns: minmax(0, 1fr); }
  .steps li { grid-template-columns: 40px 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
