/* ============================================================
   Merapu Developer — studio site
   Design language: editorial paper, ink, coral, chartreuse tape.
   ============================================================ */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("assets/fonts/bricolage-grotesque-var.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/instrument-serif-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "DM Mono";
  src: url("assets/fonts/dm-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Mono";
  src: url("assets/fonts/dm-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  color-scheme: light;
  --bone: #f1ebdf;
  --paper: #faf6ed;
  --paper-deep: #f4efe3;
  --ink: #14120e;
  --ink-2: #3d372d;
  --muted: #6c6457;
  --line: #d8cebc;
  --line-strong: #b9ad96;

  --coral: #ef5a32;
  --coral-deep: #c9411d;
  --coral-text: #b13a17;
  --acid: #d9f06a;
  --teal: #0e6b63;
  --teal-bright: #4ad4c8;
  --navy: #121a18;
  --emerald: #0f5b47;
  --saffron: #c98a2e;

  --sans: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --mono: "DM Mono", "SFMono-Regular", Consolas, monospace;

  --max: 1440px;
  --pad: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 78px;
}

/* ---------- base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}
body.lightbox-open {
  overflow: hidden;
}

h1, h2, h3, h4, p, ol, ul, dl, dd, figure {
  margin: 0;
}

ol, ul {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

img, svg {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--coral);
  color: var(--paper);
}

:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
  border-radius: 3px;
}

.contact :focus-visible {
  outline-color: var(--ink);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--bone);
  font-size: 13px;
  text-decoration: none;
  border-radius: 999px;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus {
  transform: none;
}

/* paper grain + optional layout grid */
.grain {
  position: fixed;
  inset: 0;
  z-index: 900;
  pointer-events: none;
  opacity: 0.3;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
}

.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: 880;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  background-image:
    linear-gradient(to right, rgba(239, 90, 50, 0.28) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 18, 14, 0.07) 1px, transparent 1px);
  background-size:
    calc(100% / 12) 100%,
    100% 24px;
}
body.show-grid .grid-overlay {
  opacity: 1;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 1100;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--coral);
  transform-origin: 0 50%;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  border-bottom: 1px solid rgba(20, 18, 14, 0.14);
  background: rgba(241, 235, 223, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  background: rgba(241, 235, 223, 0.94);
  box-shadow: 0 12px 30px rgba(20, 18, 14, 0.06);
}

.header-inner {
  max-width: var(--max);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  gap: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  margin-right: auto;
  line-height: 1;
}
.brand-mark {
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--coral);
  stroke-width: 2.4;
  stroke-linecap: round;
  transition: transform 0.5s var(--ease);
}
.brand:hover .brand-mark {
  transform: rotate(90deg);
}
.brand-stack {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.brand-name {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.9;
}
.brand-name sup {
  font-size: 8px;
  font-weight: 500;
  vertical-align: super;
  letter-spacing: 0;
  margin-left: 1px;
}
.brand-sub {
  font-family: var(--mono);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--muted);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.desktop-nav a {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 6px 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.desktop-nav a span {
  font-family: var(--mono);
  font-size: 8px;
  color: var(--muted);
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.desktop-nav a:hover span {
  color: var(--coral-text);
}
.desktop-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.desktop-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}
.desktop-nav a.is-active span {
  color: var(--coral-text);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 17px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--bone);
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease, opacity 0.2s ease, transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.header-cta svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s var(--ease);
}
.header-cta:hover {
  background: var(--coral);
  border-color: var(--coral);
  color: var(--ink);
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--ink);
}
.header-cta:hover svg {
  transform: translate(1px, -1px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 12px;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.menu-toggle span:first-child {
  top: 17px;
}
.menu-toggle span:last-child {
  top: 23px;
}
.menu-toggle[aria-expanded="true"] span:first-child {
  top: 20px;
  transform: rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:last-child {
  top: 20px;
  transform: rotate(-45deg);
}

/* mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 990;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 24px) var(--pad) 40px;
  background: var(--ink);
  color: var(--bone);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}
.mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
}
.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu-nav a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(241, 235, 223, 0.16);
  font-size: clamp(36px, 9vw, 58px);
  font-weight: 600;
  letter-spacing: -0.045em;
  text-decoration: none;
  line-height: 1;
}
.mobile-menu-nav a span {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--coral);
  letter-spacing: 0.1em;
}
.mobile-menu-foot {
  margin-top: auto;
  padding-top: 40px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #a79f90;
}
.mobile-menu-foot a {
  color: var(--bone);
  text-decoration: none;
  border-bottom: 1px solid var(--coral);
}

body.menu-open .site-header {
  background: var(--ink);
  border-bottom-color: rgba(241, 235, 223, 0.16);
  box-shadow: none;
}
body.menu-open .brand-name {
  color: var(--bone);
}
body.menu-open .brand-sub {
  color: #8f8779;
}
body.menu-open .menu-toggle {
  border-color: rgba(241, 235, 223, 0.38);
}
body.menu-open .menu-toggle span {
  background: var(--bone);
}
body.menu-open .header-cta {
  opacity: 0;
  pointer-events: none;
}

/* ---------- shared bits ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 21px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s var(--ease);
}
.btn:hover svg {
  transform: translate(1px, -1px);
}
.btn--solid {
  background: var(--ink);
  color: var(--bone);
}
.btn--solid:hover {
  background: var(--coral);
  border-color: var(--coral);
  color: var(--ink);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--ink);
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--bone);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--coral);
}
.btn--ink {
  background: var(--ink);
  color: var(--paper);
}
.btn--ink:hover {
  background: #2b1208;
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 rgba(20, 18, 14, 0.28);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  transition: color 0.2s ease, gap 0.25s var(--ease);
}
.text-link:hover {
  color: var(--coral-text);
  gap: 12px;
}
.text-link--light {
  color: #d6cdbc;
}
.text-link--light:hover {
  color: var(--coral);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.pill--beta {
  background: #f6e6c4;
  border-color: rgba(201, 138, 46, 0.65);
  color: #6b4611;
}
.pill--beta .pulse-dot {
  background: var(--saffron);
  color: var(--saffron);
}
.pill--live {
  background: #dcebe3;
  border-color: rgba(15, 91, 71, 0.55);
  color: var(--emerald);
}
.pill--live .pulse-dot {
  background: var(--emerald);
  color: var(--emerald);
}

.pulse-dot {
  position: relative;
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
  color: var(--coral);
}
.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border: 1px solid currentColor;
  border-radius: 50%;
  animation: pulse 2.6s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.5); opacity: 0.9; }
  70%, 100% { transform: scale(1.7); opacity: 0; }
}

.kicker {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.19em;
  color: var(--muted);
  margin-bottom: 16px;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(44px, 7vh, 84px) var(--pad) clamp(60px, 9vh, 104px);
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  gap: clamp(30px, 5vw, 72px);
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-2);
}

.hero-title {
  display: flex;
  flex-direction: column;
  margin: 22px 0 26px;
  font-size: clamp(3.6rem, 8.2vw, 8.2rem);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.058em;
}
.hero-title > span {
  display: block;
}
.hero-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.05em;
  letter-spacing: -0.02em;
  color: var(--coral-deep);
  line-height: 0.8;
}
.accent-line {
  padding-bottom: 0.06em;
}

.hero-lede {
  max-width: 47ch;
  font-size: clamp(16px, 1.35vw, 18.5px);
  line-height: 1.6;
  color: #554e42;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-note {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 38px;
  padding-top: 16px;
  max-width: 420px;
  border-top: 1px dashed var(--line-strong);
  font-family: var(--mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.hero-note span {
  color: var(--ink);
}
.hero-note i {
  color: var(--coral-text);
  font-style: normal;
  font-size: 11px;
}

/* ---------- hero board ---------- */
.hero-board-wrap {
  position: relative;
  perspective: 1200px;
}

.board {
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  max-width: 620px;
  height: clamp(460px, 46vw, 610px);
  margin-left: auto;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease);
}

.board-card {
  position: absolute;
  border-radius: 14px;
}

.board-card--back {
  top: 1%;
  right: 0;
  width: 70%;
  height: 72%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--navy);
  border: 1px solid rgba(20, 18, 14, 0.9);
  transform: rotate(6deg);
  box-shadow: 0 30px 60px rgba(20, 18, 14, 0.2);
  overflow: hidden;
}
.board-card--back::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(74, 212, 200, 0.22) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.55;
}
.board-orbit {
  position: relative;
  z-index: 1;
  width: 66%;
  margin: auto;
}
.board-back-label {
  position: absolute;
  right: 15px;
  bottom: 18px;
  z-index: 1;
  writing-mode: vertical-rl;
  font-family: var(--mono);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #8fa39d;
}

.board-card--main {
  top: 14%;
  left: 0;
  z-index: 2;
  width: 80%;
  height: 84%;
  padding: 28px;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--ink);
  transform: rotate(-4deg);
  box-shadow: 16px 20px 0 rgba(20, 18, 14, 0.08), 0 24px 50px rgba(20, 18, 14, 0.12);
  transition: transform 0.5s var(--ease);
}
.board:hover .board-card--main {
  transform: rotate(-2.6deg) translateY(-4px);
}
.board:hover .board-card--back {
  transform: rotate(7.2deg) translateY(3px);
}

.index-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--mono);
  font-size: 8.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.index-rule {
  height: 1px;
  background: var(--line);
  margin: 13px 0;
}
.index-row {
  display: grid;
  grid-template-columns: 30px 58px 1fr 24px;
  align-items: center;
  gap: 14px;
  padding: 16px 8px;
  margin: 0 -8px;
  border-radius: 9px;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.3s var(--ease);
}
.index-row:hover {
  background: var(--bone);
  transform: translateX(4px);
}
.index-no {
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--muted);
}
.swatch {
  width: 58px;
  height: 58px;
  border: 1px solid var(--ink);
  border-radius: 13px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.swatch svg {
  width: 78%;
  height: 78%;
}
.swatch--shiftlet {
  background: #f4f7f5;
}
.swatch--travel {
  background: #e7dcc6;
}
.index-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.index-copy strong {
  font-size: clamp(19px, 1.8vw, 25px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}
.index-copy small {
  font-family: var(--mono);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--muted);
}
.index-arrow {
  font-size: 20px;
  line-height: 1;
  color: var(--ink);
  transition: transform 0.3s var(--ease), color 0.2s ease;
}
.index-row:hover .index-arrow {
  transform: translate(3px, -3px);
  color: var(--coral-text);
}
.index-status {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  font-family: var(--mono);
  font-size: 8.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-2);
}
.index-status .pulse-dot {
  background: var(--teal);
  color: var(--teal);
}
.index-blurb {
  margin: 2px 0 5px;
  font-family: var(--serif);
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.index-blurb em {
  font-style: italic;
  color: var(--teal);
}

.roundel {
  position: absolute;
  left: -24px;
  bottom: 6%;
  z-index: 4;
  width: 138px;
  height: 138px;
  display: grid;
  place-items: center;
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 50%;
  box-shadow: 6px 8px 0 rgba(20, 18, 14, 0.08);
}
.roundel > svg {
  position: absolute;
  inset: 8px;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  animation: spin 34s linear infinite;
  overflow: visible;
}
.roundel text {
  fill: var(--ink);
  font-family: var(--mono);
  font-size: 8.7px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.roundel-core {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--ink);
  border-radius: 50%;
}
.roundel-core svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--bone);
  stroke-width: 2;
  stroke-linecap: round;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

.tape {
  position: absolute;
  z-index: 5;
  width: 94px;
  height: 26px;
  background: repeating-linear-gradient(
    90deg,
    rgba(217, 240, 106, 0.92) 0 7px,
    rgba(217, 240, 106, 0.68) 7px 14px
  );
  box-shadow: 0 2px 4px rgba(20, 18, 14, 0.12);
  opacity: 0.95;
}
.tape--one {
  top: 6%;
  left: 27%;
  transform: rotate(-7deg);
}
.tape--two {
  top: 4%;
  right: -2%;
  transform: rotate(68deg);
  background: repeating-linear-gradient(
    90deg,
    rgba(239, 90, 50, 0.82) 0 6px,
    rgba(239, 90, 50, 0.55) 6px 13px
  );
}

.board-note {
  position: absolute;
  right: -6px;
  bottom: 13%;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 13px;
  background: var(--acid);
  border: 1px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(5deg);
  font-family: var(--mono);
  font-size: 8.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink);
  line-height: 1.5;
}

/* ---------- ticker ---------- */
.ticker-wrap {
  position: relative;
  overflow: hidden;
  padding: 13px 0;
}
.ticker {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 12px 0;
  background: var(--ink);
  color: var(--bone);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  transform: rotate(-1deg) scale(1.012);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 38s linear infinite;
}
.ticker:hover .ticker-track {
  animation-play-state: paused;
}
.ticker-group {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
}
.ticker-group span {
  font-size: clamp(18px, 2.1vw, 28px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1;
}
.ticker-group i {
  font-style: normal;
  font-size: 13px;
  color: var(--coral);
}
@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* ---------- sections ---------- */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(76px, 9vw, 124px) var(--pad);
}

.section-head {
  display: grid;
  grid-template-columns: 82px minmax(0, 1.1fr) minmax(0, 0.82fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: end;
  padding-top: 22px;
  margin-bottom: clamp(44px, 6vw, 68px);
  border-top: 1px solid var(--line-strong);
}
.section-no {
  align-self: start;
  padding-top: 4px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--coral-text);
}
.section-title-wrap h2 {
  font-size: clamp(2.6rem, 5.5vw, 4.9rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.05em;
}
.section-title-wrap h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.04em;
  letter-spacing: -0.015em;
  color: var(--coral-deep);
}
.section-intro {
  max-width: 390px;
  padding-bottom: 5px;
  font-size: 15px;
  line-height: 1.62;
  color: #5f574a;
}

/* ---------- work / cases ---------- */
.case {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  border: 1px solid var(--ink);
  border-radius: 24px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 2px 0 rgba(20, 18, 14, 0.06);
}
.case + .case {
  margin-top: 36px;
}
.case-copy {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3.6vw, 50px);
}
.case-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: clamp(24px, 3vw, 36px);
}
.case-label {
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.case-title-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.case-title-row h3 {
  font-size: clamp(2.6rem, 4.2vw, 3.8rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.055em;
}
.app-icon {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 13px;
}
.app-icon svg {
  width: 100%;
  height: 100%;
}
.app-icon--shiftlet {
  background: #f4f7f5;
}
.app-icon--travel {
  background: #e7dcc6;
}
.case-tag {
  margin-bottom: 16px;
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.case-tag em {
  font-style: italic;
}
.case--shiftlet .case-tag em {
  color: var(--teal);
}
.case--travel .case-tag em {
  color: var(--emerald);
}
.case-body {
  max-width: 53ch;
  margin-bottom: 24px;
  font-size: 15px;
  line-height: 1.65;
  color: #5b5346;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 22px;
  margin-bottom: 24px;
  border-top: 1px solid var(--line);
}
.feature-list li {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.35;
}
.feature-list li span {
  color: var(--coral-text);
  font-size: 9px;
  transform: translateY(-1px);
}

.case-specs {
  margin-bottom: 28px;
}
.case-specs div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line-strong);
}
.case-specs dt {
  font-family: var(--mono);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.case-specs dd {
  font-size: 12.5px;
  color: var(--ink-2);
}

.case-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: auto;
}
.case-note {
  max-width: 170px;
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* ---------- case visuals ---------- */
.case-visual {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(34px, 4.2vw, 54px);
  border-left: 1px solid rgba(20, 18, 14, 0.55);
  isolation: isolate;
}
.case-visual--shiftlet {
  background-color: var(--navy);
  background-image: radial-gradient(circle, rgba(74, 212, 200, 0.17) 1px, transparent 1px);
  background-size: 22px 22px;
}
.case-visual--travel {
  background-color: #e7dcc6;
  background-image: radial-gradient(circle, rgba(15, 91, 71, 0.16) 1px, transparent 1px);
  background-size: 22px 22px;
}

.ghost-no {
  position: absolute;
  top: -6px;
  left: 16px;
  z-index: 0;
  font-size: clamp(150px, 17vw, 240px);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.08em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 247, 245, 0.14);
  pointer-events: none;
  user-select: none;
}
.case-visual--travel .ghost-no {
  left: auto;
  right: 18px;
  -webkit-text-stroke-color: rgba(15, 91, 71, 0.15);
}

.float-tag {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 999px;
  box-shadow: 2px 3px 0 rgba(20, 18, 14, 0.8);
  font-family: var(--mono);
  font-size: 8.5px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--ink);
  white-space: nowrap;
  animation: floaty 6s ease-in-out infinite alternate;
}
.float-tag--a { top: 11%; right: auto; left: 3%; transform: rotate(-3deg); }
.float-tag--b { top: 43%; left: 4%; transform: rotate(-4deg); animation-delay: -1.4s; }
.float-tag--c { bottom: 11%; right: 4%; transform: rotate(-2deg); animation-delay: -2.8s; }
.float-tag--d { top: 9%; right: 4%; left: auto; transform: rotate(3deg); background: var(--paper); }
.float-tag--e { bottom: 8%; right: 5%; transform: rotate(2deg); animation-delay: -2s; }
@keyframes floaty {
  from { translate: 0 0; }
  to { translate: 0 -7px; }
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex: 0 0 auto;
}
.dot--teal { background: var(--teal-bright); }
.dot--saffron { background: var(--saffron); }
.dot--green { background: var(--emerald); }

/* Real app screenshots, framed as devices */
.device {
  position: relative;
  z-index: 2;
  width: min(310px, 84%);
  padding: 8px;
  background: #080d0b;
  border-radius: 46px;
  box-shadow: 0 42px 80px rgba(0, 0, 0, 0.45), inset 0 0 0 1.5px rgba(255, 255, 255, 0.15);
  transform: rotate(-2.5deg);
  transition: transform 0.6s var(--ease);
}
.device::before {
  content: "";
  position: absolute;
  top: 108px;
  left: -2px;
  width: 2px;
  height: 48px;
  border-radius: 2px;
  background: #1c2a26;
}
.device::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: inherit;
  pointer-events: none;
}
.device img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 38px;
  background: #0b1411;
}
.device--travel {
  width: min(322px, 86%);
  transform: rotate(1.6deg);
}
.device-stack {
  position: relative;
  z-index: 2;
  width: min(600px, calc(100% + 60px));
  display: flex;
  align-items: center;
  justify-content: center;
}
.device--front {
  position: relative;
  z-index: 2;
}
.device--back {
  position: absolute;
  top: -26px;
  right: -4px;
  z-index: 1;
  width: 246px;
  padding: 7px;
  border-radius: 38px;
  transform: rotate(6deg);
}
.device--back .shot-link,
.device--back .shot-link img {
  border-radius: 31px;
}
.device--back::before {
  display: none;
}
.device--back::after {
  border-radius: 38px;
}
.case--travel .device--back {
  right: auto;
  left: -4px;
  top: -20px;
  transform: rotate(-6deg);
}
.case:hover .device--front {
  transform: rotate(0deg) translateY(-5px);
}
.case:hover .device--back {
  transform: rotate(4.5deg) translateY(-3px);
}
.case--travel:hover .device--back {
  transform: rotate(-4.5deg) translateY(-3px);
}
.shot-link {
  display: block;
  overflow: hidden;
  border-radius: 38px;
  cursor: zoom-in;
}
.shot-link img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 38px;
  background: #0b1411;
}
.shot-link:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
}
.lightbox {
  max-width: 92vw;
  max-height: 90vh;
  padding: 0;
  border: 0;
  background: transparent;
}
.lightbox::backdrop {
  background: rgba(8, 10, 9, 0.9);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.lightbox img {
  display: block;
  max-width: 90vw;
  max-height: 86vh;
  border: 1px solid rgba(241, 235, 223, 0.22);
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.lightbox-close {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(241, 235, 223, 0.4);
  border-radius: 50%;
  background: var(--ink);
  color: var(--bone);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.lightbox-close:hover {
  border-color: var(--coral);
  background: var(--coral);
  color: var(--ink);
}

.app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.app-icon--travel img {
  width: 88%;
  height: 88%;
  object-fit: contain;
}
.swatch img {
  width: 78%;
  height: 78%;
  object-fit: contain;
}
.swatch--shiftlet img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 11px;
}
.swatch--travel img {
  width: 84%;
  height: 84%;
}

/* ---------- Shiftlet phone mockup ---------- */
.phone {
  position: relative;
  z-index: 2;
  width: min(306px, 84%);
  aspect-ratio: 306 / 638;
  padding: 9px;
  background: #070d0b;
  border-radius: 47px;
  box-shadow: 0 42px 80px rgba(0, 0, 0, 0.48), inset 0 0 0 1.5px rgba(255, 255, 255, 0.15);
  transform: rotate(-3deg);
  transition: transform 0.6s var(--ease);
}
.phone::before {
  content: "";
  position: absolute;
  top: 120px;
  left: -2px;
  width: 2px;
  height: 52px;
  border-radius: 2px;
  background: #1c2a26;
}
.phone::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 7;
  width: 76px;
  height: 21px;
  border-radius: 12px;
  background: #070d0b;
  transform: translateX(-50%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.case:hover .phone {
  transform: rotate(-1.2deg) translateY(-5px);
}
.phone-screen {
  height: 100%;
  padding: 10px 13px 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 39px;
  background: #f4f7f5;
  color: var(--navy);
}

.p-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 16px;
  padding: 0 3px;
  font-size: 8px;
  font-weight: 700;
}
.p-status-icons {
  display: flex;
  align-items: center;
  gap: 3px;
}
.p-status-icons i {
  display: block;
  background: var(--navy);
}
.p-status-icons .sig {
  width: 10px;
  height: 7px;
  clip-path: polygon(0 100%, 22% 100%, 22% 65%, 45% 65%, 45% 42%, 68% 42%, 68% 20%, 100% 20%, 100% 100%);
}
.p-status-icons .wifi {
  width: 8px;
  height: 6px;
  background: none;
  border-top: 1.5px solid var(--navy);
  border-radius: 50%;
}
.p-status-icons .batt {
  width: 12px;
  height: 6px;
  border: 1px solid var(--navy);
  border-radius: 2px;
  background: linear-gradient(to right, var(--navy) 72%, transparent 72%);
}

.p-appbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 7px;
}
.p-logo {
  display: flex;
  align-items: center;
  gap: 5px;
}
.p-logo svg {
  width: 21px;
  height: 21px;
}
.p-logo b {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.p-avatar {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #dcebe3;
  color: var(--emerald);
  font-size: 8px;
  font-weight: 600;
}

.p-monthrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 13px;
}
.p-month b {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.045em;
}
.p-month span {
  margin-left: 5px;
  font-family: var(--mono);
  font-size: 7.5px;
  color: #7a8781;
}
.p-seg {
  display: flex;
  gap: 1px;
  padding: 2px;
  border-radius: 7px;
  background: #e6eee9;
  font-size: 6.5px;
}
.p-seg span {
  padding: 3px 7px;
  border-radius: 5px;
  color: #72807a;
}
.p-seg .on {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 1px 3px rgba(18, 26, 24, 0.14);
}

.p-dow {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-top: 11px;
  font-family: var(--mono);
  font-size: 6.5px;
  color: #8d9994;
  text-align: center;
}
.p-dates {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-auto-rows: 35px;
  margin-top: 4px;
}
.p-dates .d {
  position: relative;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 500;
}
.p-dates .d::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 50%;
  width: 3.5px;
  height: 3.5px;
  border-radius: 50%;
  transform: translateX(-50%);
}
.p-dates .is-dim {
  color: #bcc6c1;
}
.p-dates .d-teal::after { background: var(--teal); }
.p-dates .d-amber::after { background: var(--saffron); }
.p-dates .d-navy::after { background: #384c47; }
.p-dates .d-clay::after { background: #a84e34; }
.p-dates .is-today {
  width: 24px;
  height: 24px;
  margin: auto;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 8px rgba(14, 107, 99, 0.28);
}
.p-dates .is-today::after {
  display: none;
}

.p-today {
  margin-top: 6px;
  padding: 10px;
  border: 1px solid #dfe8e2;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(18, 26, 24, 0.05);
}
.p-today-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 7px;
}
.p-today-head b {
  font-size: 9px;
  font-weight: 600;
}
.p-today-head span {
  font-family: var(--mono);
  font-size: 6.5px;
  color: #84908a;
}
.p-shift {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-top: 7px;
}
.p-shift + .p-shift {
  border-top: 1px solid #eff3f0;
}
.p-bar {
  width: 3px;
  height: 24px;
  border-radius: 3px;
  flex: 0 0 auto;
}
.p-bar--teal { background: var(--teal); }
.p-bar--amber { background: var(--saffron); }
.p-shift div {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.p-shift b {
  font-size: 8.5px;
  font-weight: 600;
  line-height: 1.1;
}
.p-shift div span {
  font-family: var(--mono);
  font-size: 6.2px;
  color: #7d8a84;
}
.p-shift em {
  margin-left: auto;
  padding: 2px 5px;
  border-radius: 4px;
  background: #f1f5f2;
  font-family: var(--mono);
  font-style: normal;
  font-size: 5.8px;
  text-transform: uppercase;
  color: #6d7a74;
}

.p-next {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  padding: 8px 9px;
  border-radius: 10px;
  background: #e7efea;
}
.p-next .p-next-dot {
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--teal);
  font-size: 8px;
}
.p-next div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.p-next b {
  font-size: 7.5px;
  font-weight: 600;
}
.p-next div span {
  font-family: var(--mono);
  font-size: 6px;
  color: #6d7a74;
}
.p-next em {
  margin-left: auto;
  font-family: var(--mono);
  font-style: normal;
  font-size: 5.8px;
  color: var(--teal);
  text-align: right;
}

.p-week {
  margin-top: 8px;
  padding: 9px 10px;
  border: 1px solid #dfe8e2;
  border-radius: 11px;
  background: #fff;
}
.p-week-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 7px;
}
.p-week-head b {
  font-size: 8px;
  font-weight: 600;
}
.p-week-head span {
  font-family: var(--mono);
  font-size: 5.7px;
  color: #7d8a84;
}
.p-week-bars {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.pw {
  height: 15px;
  border-radius: 3px;
  background: #e6eee9;
}
.pw--teal { background: var(--teal); }
.pw--amber { background: var(--saffron); }
.pw--rest { background: #e6eee9; }
.p-week-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 5.4px;
  color: #97a29d;
  text-align: center;
}
.p-week-days .on {
  color: var(--teal);
  font-weight: 500;
}

.p-holiday {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 7px;
  padding: 7px 9px;
  border-radius: 9px;
  background: #f6e6c4;
}
.p-holiday-icon {
  width: 15px;
  height: 15px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #8a5a16;
  font-size: 7px;
}
.p-holiday div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.p-holiday b {
  font-size: 7.5px;
  font-weight: 600;
  color: #6b4611;
}
.p-holiday div span {
  font-family: var(--mono);
  font-size: 5.6px;
  color: #6b4a12;
}
.p-holiday em {
  margin-left: auto;
  font-family: var(--mono);
  font-style: normal;
  font-size: 5.2px;
  letter-spacing: 0.06em;
  color: #6b4a12;
}

.p-tabbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: auto;
  padding: 7px 0 5px;
  border-top: 1px solid #e2eae5;
}
.p-tabbar span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #97a29d;
}
.p-tabbar svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.p-tabbar small {
  font-size: 5.6px;
  letter-spacing: 0.01em;
}
.p-tabbar .on {
  color: var(--teal);
}
.p-tabbar .on svg {
  stroke: var(--teal);
}

/* ---------- Musafir-Go browser mockup ---------- */
.arch {
  position: absolute;
  z-index: 0;
  border: 1px solid rgba(15, 91, 71, 0.26);
  border-bottom: 0;
  border-radius: 50% 50% 0 0 / 52% 52% 0 0;
  pointer-events: none;
}
.arch--outer {
  width: 430px;
  height: 560px;
  right: -80px;
  bottom: -170px;
}
.arch--inner {
  width: 300px;
  height: 410px;
  right: -12px;
  bottom: -115px;
  border-color: rgba(201, 138, 46, 0.3);
}

.browser {
  position: relative;
  z-index: 2;
  width: min(620px, 100%);
  overflow: hidden;
  border: 1px solid rgba(20, 18, 14, 0.6);
  border-radius: 12px;
  background: #f7f1e6;
  box-shadow: 0 38px 70px rgba(64, 48, 20, 0.3), 0 1px 0 rgba(255, 255, 255, 0.5) inset;
  transform: rotate(1.6deg);
  transition: transform 0.6s var(--ease);
}
.case:hover .browser {
  transform: rotate(0.5deg) translateY(-5px);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 11px;
  background: #e9dfcc;
  border-bottom: 1px solid #d8cbb2;
}
.traffic {
  display: flex;
  gap: 4px;
}
.traffic i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c9664a;
}
.traffic i:nth-child(2) { background: #c99a2e; }
.traffic i:nth-child(3) { background: #6f8e6a; }
.browser-url {
  flex: 1;
  height: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 5px;
  background: #f7f1e6;
  font-family: var(--mono);
  font-size: 7px;
  color: #6b6353;
}
.browser-url svg {
  width: 8px;
  height: 8px;
  fill: none;
  stroke: #6b6353;
  stroke-width: 1.4;
}
.browser-plus {
  color: #7d7462;
  font-size: 11px;
  line-height: 1;
}

.app {
  background: #f7f1e6;
}
.app-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  padding: 0 14px;
  border-bottom: 1px solid #e3d8c2;
}
.app-logo {
  display: flex;
  align-items: center;
  gap: 5px;
}
.app-logo svg {
  width: 17px;
  height: 17px;
}
.app-logo b {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #17241f;
}
.app-links {
  font-family: var(--mono);
  font-size: 6.5px;
  color: #6c6457;
}
.app-avatar {
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #dcebe3;
  color: var(--emerald);
  font-size: 7px;
  font-weight: 600;
}

.app-body {
  display: grid;
  grid-template-columns: 1.36fr 0.9fr;
  gap: 10px;
  padding: 12px;
}
.plan {
  min-width: 0;
}
.plan-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.plan-head small {
  display: block;
  margin-bottom: 2px;
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.14em;
  color: #6b6152;
}
.plan-head b {
  display: block;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
  color: #17241f;
}
.app-pill {
  padding: 3px 6px;
  border-radius: 999px;
  background: #dcebe3;
  font-family: var(--mono);
  font-size: 5.6px;
  color: var(--emerald);
  white-space: nowrap;
}
.day-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 9px;
}
.day-tabs span {
  padding: 3px 6px;
  border: 1px solid #e0d5bf;
  border-radius: 5px;
  font-family: var(--mono);
  font-size: 6px;
  color: #6c6457;
}
.day-tabs .on {
  background: var(--emerald);
  border-color: var(--emerald);
  color: #f7f1e6;
}

.timeline {
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 37px;
  width: 1px;
  background: #d8cdb7;
}
.tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 28px 10px minmax(0, 1fr) auto;
  align-items: start;
  gap: 6px;
  padding: 5px 0;
}
.tl-item time {
  padding-top: 2px;
  font-family: var(--mono);
  font-size: 6px;
  color: #6b6152;
}
.tl-dot {
  position: relative;
  z-index: 1;
  width: 6px;
  height: 6px;
  margin-top: 3px;
  border: 1.5px solid #f7f1e6;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 1px var(--emerald);
}
.tl-item div {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.tl-item b {
  font-size: 8px;
  font-weight: 600;
  line-height: 1.2;
  color: #17241f;
}
.tl-item small {
  overflow: hidden;
  font-size: 6.2px;
  color: #6b6152;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tl-chip {
  align-self: center;
  padding: 2px 4px;
  border-radius: 3px;
  background: #e9e0cc;
  font-family: var(--mono);
  font-size: 5.2px;
  color: #6f6656;
}
.tl-chip--gold {
  background: #f6e6c4;
  color: #7a5212;
}
.tl-prayer {
  margin: 0 -6px 2px;
  padding: 5px 6px;
  border-radius: 6px;
  background: #f6e6c4;
}
.tl-prayer .tl-dot {
  background: var(--saffron);
  box-shadow: 0 0 0 1px var(--saffron);
}
.tl-prayer b {
  color: #7a5212;
}
.tl-prayer small {
  color: #6b4a12;
}
.tl-badge {
  align-self: center;
  font-size: 8px;
  color: #8a5a16;
}
.tl-halal .tl-dot {
  background: var(--saffron);
  box-shadow: 0 0 0 1px var(--saffron);
}

.side {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.map {
  position: relative;
  height: 137px;
  overflow: hidden;
  border: 1px solid rgba(15, 91, 71, 0.22);
  border-radius: 9px;
}
.map svg {
  width: 100%;
  height: 100%;
}
.pin {
  position: absolute;
  width: 7px;
  height: 7px;
  border: 1.5px solid #f7f1e6;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 1px 4px rgba(20, 18, 14, 0.35);
}
.pin--one { top: 40%; left: 28%; }
.pin--two { top: 56%; left: 66%; background: var(--saffron); }
.pin--three { top: 25%; left: 52%; }
.map-label {
  position: absolute;
  top: 6px;
  left: 6px;
  padding: 2px 4px;
  border-radius: 3px;
  background: rgba(247, 241, 230, 0.86);
  font-family: var(--mono);
  font-size: 5.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #4f5f57;
}
.map-chip {
  position: absolute;
  right: 6px;
  bottom: 6px;
  left: 6px;
  padding: 4px 5px;
  border-radius: 5px;
  background: rgba(247, 241, 230, 0.95);
  font-family: var(--mono);
  font-size: 5.6px;
  color: #4d3a18;
  text-align: center;
}
.budget {
  padding: 8px;
  border: 1px solid #e3d8c2;
  border-radius: 9px;
  background: #fffdf8;
}
.budget-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
}
.budget-head small {
  font-family: var(--mono);
  font-size: 5.6px;
  letter-spacing: 0.12em;
  color: #6b6152;
}
.budget-head b {
  font-size: 10px;
  font-weight: 600;
  color: #17241f;
}
.budget-head b span {
  font-size: 6.5px;
  font-weight: 400;
  color: #6b6152;
}
.budget-bar {
  height: 4px;
  margin: 6px 0 4px;
  overflow: hidden;
  border-radius: 3px;
  background: #e8dfcc;
}
.budget-bar i {
  display: block;
  width: 71%;
  height: 100%;
  border-radius: inherit;
  background: var(--saffron);
}
.split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  font-family: var(--mono);
  font-size: 5.4px;
  color: #6b6152;
}
.split em {
  font-style: normal;
  color: #7a5212;
}
.offline {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 7px;
  border: 1px solid #b9d6c9;
  border-radius: 6px;
  background: #dcebe3;
  font-family: var(--mono);
  font-size: 5.8px;
  color: #0a3d30;
}
.offline .dot {
  width: 4px;
  height: 4px;
}

.app-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 14px 7px;
  border-top: 1px solid #e3d8c2;
  font-family: var(--mono);
  font-size: 5.2px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b6152;
}
.app-foot span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.status-led {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--emerald);
}

/* ---------- studio ---------- */
.studio {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--bone);
  padding: clamp(72px, 9vw, 122px) 0;
}
.studio-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.section-head--dark {
  border-top-color: rgba(241, 235, 223, 0.26);
}
.section-head--dark .section-no {
  color: var(--coral);
}
.section-head--dark .kicker {
  color: #a79f90;
}
.section-head--dark .section-intro {
  color: #b3aa9a;
}
.section-head--dark .section-title-wrap h2 em {
  color: var(--coral);
}

.studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(36px, 6vw, 92px);
  align-items: start;
}
.studio-big {
  max-width: 18ch;
  font-size: clamp(28px, 3.3vw, 46px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.04em;
}
.studio-big em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.06em;
  color: var(--coral);
}
.studio-body {
  max-width: 45ch;
  margin: 24px 0 28px;
  font-size: 14.5px;
  line-height: 1.68;
  color: #aaa192;
}

.principles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(241, 235, 223, 0.19);
}
.principles li {
  padding: 24px 0;
  border-bottom: 1px solid rgba(241, 235, 223, 0.19);
}
.principles li:nth-child(odd) {
  padding-right: 26px;
  border-right: 1px solid rgba(241, 235, 223, 0.19);
}
.principles li:nth-child(even) {
  padding-left: 26px;
}
.principle-no {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--coral);
}
.principles h3 {
  margin: 12px 0 7px;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 600;
  letter-spacing: -0.03em;
}
.principles p {
  max-width: 34ch;
  font-size: 12.5px;
  line-height: 1.6;
  color: #a49b8c;
}

.studio-foot {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  margin-top: clamp(48px, 6vw, 78px);
  padding-top: 34px;
  border-top: 1px solid rgba(241, 235, 223, 0.19);
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.stats strong {
  display: block;
  font-size: clamp(38px, 4.4vw, 58px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.05em;
}
.stats span {
  display: block;
  max-width: 120px;
  margin-top: 9px;
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8f8779;
}
.capabilities {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}
.capabilities span {
  padding: 7px 11px;
  border: 1px solid rgba(241, 235, 223, 0.28);
  border-radius: 999px;
  font-size: 11px;
  color: #cfc6b6;
}
.studio-asterisk {
  position: absolute;
  top: -120px;
  right: -90px;
  z-index: 1;
  width: 440px;
  height: 440px;
  fill: none;
  stroke: var(--coral);
  stroke-width: 0.55;
  opacity: 0.15;
  transform: rotate(12deg);
  pointer-events: none;
}

/* ---------- process ---------- */
.process-list {
  border-top: 1px solid var(--ink);
}
.process-row {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) auto 34px;
  gap: 28px;
  align-items: center;
  padding: 29px 10px;
  border-bottom: 1px solid var(--line-strong);
  transition: background 0.3s ease, padding 0.35s var(--ease);
}
.process-row:hover {
  background: var(--paper);
  padding-left: 20px;
}
.process-no {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--coral-text);
}
.process-main h3 {
  font-size: clamp(24px, 2.5vw, 33px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}
.process-main p {
  max-width: 62ch;
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}
.process-time {
  padding: 7px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 8.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  white-space: nowrap;
}
.process-arrow {
  font-size: 20px;
  color: var(--coral-text);
  transition: transform 0.35s var(--ease);
}
.process-row:hover .process-arrow {
  transform: translate(4px, 4px);
}
.process-foot {
  margin-top: 30px;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.process-foot a {
  color: var(--ink);
  text-underline-offset: 3px;
}

/* ---------- contact ---------- */
.contact {
  position: relative;
  overflow: hidden;
  background: var(--coral);
  color: var(--ink);
  padding: clamp(70px, 9vw, 116px) 0 clamp(76px, 9vw, 124px);
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(20, 18, 14, 0.18) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.28;
  pointer-events: none;
}
.contact::after {
  content: "";
  position: absolute;
  top: -180px;
  right: -160px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(20, 18, 14, 0.18);
  border-radius: 50%;
  pointer-events: none;
}
.contact-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.contact-head .kicker {
  color: #451a0c;
}
.contact-head h2 {
  font-size: clamp(3.2rem, 7.8vw, 7.3rem);
  font-weight: 700;
  line-height: 0.87;
  letter-spacing: -0.055em;
}
.contact-head h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.05em;
  letter-spacing: -0.015em;
  color: var(--paper);
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
  margin-top: clamp(36px, 5vw, 54px);
}
.contact-copy p {
  max-width: 47ch;
  font-size: 16.5px;
  line-height: 1.6;
  color: #37160b;
}
.availability {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 24px 0 30px !important;
  font-family: var(--mono);
  font-size: 9.5px !important;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.availability .pulse-dot {
  background: var(--ink);
  color: var(--ink);
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
}
.copy-btn {
  padding: 14px 18px;
  border: 1px solid rgba(20, 18, 14, 0.45);
  border-radius: 999px;
  background: transparent;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.copy-btn:hover {
  background: rgba(20, 18, 14, 0.09);
}
.copy-btn.is-copied {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.brief-card {
  max-width: 470px;
  margin-left: auto;
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 18px;
  box-shadow: 12px 14px 0 rgba(20, 18, 14, 0.18);
  transform: rotate(1.4deg);
}
.brief-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 8.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.brief-card h3 {
  margin: 20px 0 14px;
  font-family: var(--serif);
  font-size: 37px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
}
.brief-card ol {
  border-top: 1px dashed var(--line-strong);
}
.brief-card li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line-strong);
  font-size: 14px;
}
.brief-card li span {
  font-family: var(--mono);
  font-size: 8px;
  color: var(--coral-text);
}
.brief-card > p {
  margin: 16px 0;
  font-size: 12px;
  color: var(--muted);
}
.brief-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.brief-foot span:last-child {
  font-size: 16px;
  line-height: 1;
  color: var(--coral-text);
}

/* ---------- footer ---------- */
.footer {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 7vw, 80px) 0 22px;
  background: var(--ink);
  color: var(--bone);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 60px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(241, 235, 223, 0.18);
}
.brand--footer {
  margin: 0;
}
.brand--footer .brand-name {
  color: var(--bone);
}
.brand--footer .brand-sub {
  color: #8f8779;
}
.footer-brand p {
  margin-top: 20px;
  font-size: 13px;
  line-height: 1.7;
  color: #a79f90;
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.footer-nav h3 {
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #8f8779;
}
.footer-nav a {
  display: block;
  width: fit-content;
  margin-bottom: 8px;
  font-size: 13px;
  color: #d6cdbc;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s var(--ease);
}
.footer-nav a:hover {
  color: var(--coral);
  transform: translateX(2px);
}

.footer-word {
  margin: 36px 0 24px;
  font-size: clamp(88px, 19vw, 286px);
  font-weight: 800;
  line-height: 0.7;
  letter-spacing: -0.07em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(241, 235, 223, 0.22);
  user-select: none;
  pointer-events: none;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(241, 235, 223, 0.18);
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #8f8779;
}
.footer-def i {
  font-family: var(--serif);
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
  color: #bfb6a6;
}
.footer-tools {
  display: flex;
  align-items: center;
  gap: 18px;
}
.footer-tools a {
  color: var(--bone);
  text-decoration: none;
}
.footer-tools a:hover {
  color: var(--coral);
}
.grid-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 9px;
  border: 1px solid rgba(241, 235, 223, 0.25);
  border-radius: 999px;
  background: transparent;
  font-family: var(--mono);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bone);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.grid-toggle:hover,
.grid-toggle[aria-pressed="true"] {
  border-color: var(--coral);
  background: rgba(239, 90, 50, 0.16);
}
.grid-toggle kbd {
  padding: 0 3px;
  border: 1px solid rgba(241, 235, 223, 0.3);
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 7px;
}

/* ---------- motion ---------- */
.js .hero-copy > * {
  opacity: 0;
  animation: rise 0.9s var(--ease) forwards;
}
.js .hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
.js .hero-copy > *:nth-child(2) { animation-delay: 0.12s; }
.js .hero-copy > *:nth-child(3) { animation-delay: 0.2s; }
.js .hero-copy > *:nth-child(4) { animation-delay: 0.28s; }
.js .hero-copy > *:nth-child(5) { animation-delay: 0.36s; }
.js .board {
  opacity: 0;
  animation: boardIn 1.05s 0.3s var(--ease) forwards;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes boardIn {
  from { opacity: 0; translate: 0 26px; }
  to { opacity: 1; translate: 0 0; }
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1279px) {
  .device--back {
    display: none;
  }
  .device-stack {
    width: 100%;
  }
  .float-tag {
    display: none;
  }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .section-head {
    grid-template-columns: 60px minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 28px;
  }
  .case-copy {
    padding: 36px;
  }
  .case-title-row h3 {
    font-size: clamp(2.3rem, 4vw, 3.2rem);
  }
  .float-tag--b {
    display: none;
  }
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 28px;
  }
  .hero-title {
    font-size: clamp(3.5rem, 8.4vw, 6.5rem);
  }
  .board {
    height: clamp(430px, 48vw, 540px);
  }
  .board-card--main {
    padding: 23px;
  }
  .index-row {
    grid-template-columns: 26px 50px 1fr 20px;
    gap: 11px;
    padding: 14px 6px;
  }
  .swatch {
    width: 50px;
    height: 50px;
  }
  .roundel {
    width: 120px;
    height: 120px;
    left: -18px;
  }
  .roundel-core {
    width: 40px;
    height: 40px;
  }
  .case {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .case-specs div {
    grid-template-columns: 82px 1fr;
  }
  .feature-list {
    column-gap: 16px;
  }
  .studio-grid {
    gap: 40px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 70px;
  }
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .header-cta {
    margin-left: auto;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 52px;
  }
  .hero-copy {
    max-width: 760px;
  }
  .hero-title {
    font-size: clamp(3.6rem, 12vw, 6.8rem);
  }
  .hero-board-wrap {
    margin-top: 12px;
  }
  .board {
    max-width: 600px;
    height: clamp(430px, 64vw, 560px);
    margin: 0 auto;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .section-no {
    display: none;
  }
  .section-intro {
    max-width: 560px;
  }

  .case {
    grid-template-columns: 1fr;
  }
  .case-copy {
    padding: 36px;
  }
  .case-visual {
    border-left: 0;
    border-top: 1px solid rgba(20, 18, 14, 0.55);
    padding: 54px 24px;
  }
  .phone {
    width: min(300px, 76%);
  }
  .device {
    width: min(300px, 78%);
  }
  .device--travel {
    width: min(310px, 80%);
  }

  .studio-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .studio-big {
    max-width: 24ch;
  }
  .studio-foot {
    grid-template-columns: 1fr;
  }
  .capabilities {
    justify-content: flex-start;
  }
  .studio-asterisk {
    width: 320px;
    height: 320px;
    top: -80px;
    right: -110px;
  }

  .process-row {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 18px;
  }
  .process-arrow {
    display: none;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
  .brief-card {
    margin: 0;
    max-width: 520px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 720px) {
  .header-cta {
    display: none;
  }
  .menu-toggle {
    margin-left: auto;
  }

  .hero {
    padding-top: 38px;
    padding-bottom: 56px;
  }
  .hero-title {
    font-size: clamp(3.1rem, 13.2vw, 5rem);
    margin-top: 18px;
  }
  .hero-lede {
    font-size: 16px;
  }
  .hero-note {
    margin-top: 30px;
  }

  .board {
    height: 430px;
  }
  .board-card--main {
    width: 86%;
    padding: 20px;
  }
  .board-card--back {
    width: 64%;
    padding: 18px;
  }
  .index-copy strong {
    font-size: 19px;
  }
  .index-row {
    grid-template-columns: 22px 46px 1fr 18px;
    gap: 9px;
    padding: 13px 5px;
  }
  .swatch {
    width: 46px;
    height: 46px;
  }
  .roundel {
    width: 104px;
    height: 104px;
    bottom: 2%;
    left: -8px;
  }
  .roundel-core {
    width: 34px;
    height: 34px;
  }
  .roundel-core svg {
    width: 16px;
    height: 16px;
  }
  .board-note {
    right: -2px;
    bottom: 9%;
    font-size: 7.5px;
  }
  .tape--one {
    left: 34%;
  }

  .ticker {
    padding: 10px 0;
  }

  .section {
    padding-top: 68px;
    padding-bottom: 68px;
  }
  .section-title-wrap h2 {
    font-size: clamp(2.3rem, 10vw, 3.4rem);
  }
  .section-head {
    padding-top: 18px;
    margin-bottom: 36px;
  }
  .section-intro {
    font-size: 14.5px;
  }

  .case-copy {
    padding: 28px 22px;
  }
  .case-top {
    margin-bottom: 22px;
  }
  .case-title-row {
    gap: 12px;
  }
  .case-title-row h3 {
    font-size: clamp(2.2rem, 9vw, 2.9rem);
  }
  .app-icon {
    width: 46px;
    height: 46px;
    border-radius: 11px;
  }
  .case-tag {
    font-size: 20px;
  }
  .case-body {
    font-size: 14.5px;
  }
  .feature-list {
    grid-template-columns: 1fr;
  }
  .case-specs div {
    grid-template-columns: 84px 1fr;
    gap: 12px;
  }
  .case-actions {
    gap: 12px;
  }
  .case-note {
    max-width: 100%;
  }
  .case-visual {
    padding: 44px 16px;
  }
  .float-tag {
    display: none;
  }
  .ghost-no {
    font-size: 150px;
  }
  .phone {
    width: min(288px, 84%);
  }
  .device {
    width: min(288px, 84%);
  }
  .device--travel {
    width: min(300px, 86%);
  }
  .browser {
    transform: rotate(1deg);
  }
  .app-links {
    display: none;
  }

  .studio {
    padding-top: 68px;
    padding-bottom: 68px;
  }
  .studio-big {
    font-size: clamp(27px, 7vw, 36px);
  }
  .principles {
    grid-template-columns: 1fr;
  }
  .principles li:nth-child(odd) {
    padding-right: 0;
    border-right: 0;
  }
  .principles li:nth-child(even) {
    padding-left: 0;
  }
  .principles p {
    max-width: 48ch;
  }
  .stats {
    gap: 14px;
  }
  .stats strong {
    font-size: 38px;
  }
  .stats span {
    font-size: 7.5px;
  }
  .capabilities {
    gap: 6px;
  }
  .capabilities span {
    font-size: 10px;
    padding: 6px 9px;
  }

  .process-row {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 14px;
    padding: 24px 4px;
  }
  .process-row:hover {
    padding-left: 10px;
  }
  .process-time {
    grid-column: 2;
    justify-self: start;
    margin-top: 10px;
  }
  .process-main h3 {
    font-size: 25px;
  }
  .process-main p {
    font-size: 13px;
  }

  .contact {
    padding-top: 64px;
    padding-bottom: 72px;
  }
  .contact-head h2 {
    font-size: clamp(2.9rem, 12vw, 4.4rem);
  }
  .contact-copy p {
    font-size: 15.5px;
  }
  .brief-card {
    padding: 24px;
  }
  .brief-card h3 {
    font-size: 32px;
  }

  .footer-top {
    gap: 34px;
    padding-bottom: 38px;
  }
  .footer-nav {
    gap: 18px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .footer-def {
    order: 3;
  }
}

@media (max-width: 520px) {
  .hero-title {
    font-size: clamp(2.9rem, 14.5vw, 4.1rem);
  }
  .hero-actions {
    gap: 9px;
  }
  .hero-actions .btn {
    padding: 12px 17px;
    font-size: 12.5px;
  }
  .hero-note {
    font-size: 8.5px;
  }

  .board {
    height: 390px;
  }
  .board-card--main {
    top: 11%;
    height: 84%;
    width: 89%;
    padding: 17px;
  }
  .board-card--back {
    height: 70%;
    width: 62%;
    padding: 14px;
  }
  .index-top {
    font-size: 7px;
    letter-spacing: 0.12em;
  }
  .index-rule {
    margin: 10px 0;
  }
  .index-row {
    grid-template-columns: 18px 40px 1fr 14px;
    gap: 8px;
    padding: 11px 4px;
  }
  .swatch {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }
  .index-copy strong {
    font-size: 17px;
  }
  .index-copy small {
    font-size: 6.8px;
    letter-spacing: 0.08em;
  }
  .index-arrow {
    font-size: 16px;
  }
  .roundel {
    width: 90px;
    height: 90px;
    left: -4px;
    bottom: 1%;
  }
  .roundel-core {
    width: 30px;
    height: 30px;
  }
  .roundel text {
    font-size: 9.6px;
  }
  .board-note {
    display: none;
  }
  .tape {
    width: 70px;
    height: 21px;
  }

  .case-copy {
    padding: 24px 18px;
  }
  .case-tag {
    font-size: 19px;
  }
  .case-specs dt {
    font-size: 7.5px;
  }
  .case-specs dd {
    font-size: 11.5px;
  }
  .case-actions .btn {
    padding: 12px 16px;
    font-size: 12.5px;
  }
  .case-visual {
    padding: 36px 10px;
  }
  .phone {
    width: min(270px, 88%);
  }
  .device {
    width: min(272px, 88%);
  }
  .device--travel {
    width: min(286px, 90%);
  }
  .app-body {
    gap: 7px;
    padding: 9px;
  }
  .plan-head b {
    font-size: 16px;
  }
  .map {
    height: 122px;
  }
  .stats {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .stats div {
    display: flex;
    align-items: baseline;
    gap: 12px;
  }
  .stats span {
    margin-top: 0;
    max-width: none;
  }
  .contact-actions {
    align-items: stretch;
  }
  .contact-actions .btn {
    width: 100%;
  }
  .copy-btn {
    width: 100%;
  }
  .brief-card {
    transform: none;
    box-shadow: 8px 9px 0 rgba(20, 18, 14, 0.18);
  }
  .footer-nav {
    grid-template-columns: 1fr 1fr;
    row-gap: 28px;
  }
}

/* ---------- static preview mode (?static) ---------- */
.static-page .hero-copy > *,
.static-page .board,
.static-page [data-reveal] {
  opacity: 1 !important;
  transform: none !important;
  translate: none !important;
  animation: none !important;
}
.static-page .ticker-track,
.static-page .roundel > svg,
.static-page .float-tag {
  animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js [data-reveal],
  .js .hero-copy > *,
  .js .board {
    opacity: 1;
    transform: none;
  }
}
