/* ---------- Dot360 — shared styles ---------- */

@import url('https://fonts.googleapis.com/css2?family=Doto:wght@400;700;900&family=Space+Mono:wght@400;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg: #ECECEC;
  --bg-elev: #F4F4F4;
  --panel: #FAFAFA;
  --panel-deep: #141414;
  --fg: #0E0E0E;
  --fg-soft: #2A2A2A;
  --muted: #6E6E6E;
  --muted-2: #9A9A9A;
  --accent: #FF6A1A;
  --accent-soft: #FFE3D2;
  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.16);
  --line-dark: rgba(255, 255, 255, 0.12);

  --grid: 64px;
  --grid-strength: 1px;
  --grid-color: rgba(0, 0, 0, 0.07);

  --display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, 'SF Mono', monospace;
  --sans: 'Space Grotesk', 'Inter', system-ui, sans-serif;

  --radius: 6px;
  --radius-lg: 14px;
  --header-h: 84px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  background-image:
    linear-gradient(to right, var(--grid-color) var(--grid-strength), transparent var(--grid-strength)),
    linear-gradient(to bottom, var(--grid-color) var(--grid-strength), transparent var(--grid-strength));
  background-size: var(--grid) var(--grid);
  background-position: 0 var(--header-h);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ---------- Header ---------- */

.site-header {
  height: var(--header-h);
  border-bottom: 1px solid var(--line-strong);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 260px 1fr auto auto auto;
  align-items: center;
  padding: 0 28px;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
  border-right: 1px solid var(--line);
  padding-right: 20px;
  margin-right: -20px;
  position: relative;
}



.brand__mark {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--accent);
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.5px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.06), inset 0 -2px 0 rgba(0,0,0,0.18);
}
.brand__mark span { line-height: 1; }
.brand__name {
  font-family: var(--display);
  font-weight: 900;
  font-size: 26px;
  letter-spacing: 0.5px;
  color: var(--fg);
}
.brand__name em {
  font-style: normal;
  color: var(--accent);
}

.site-nav {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
}
.site-nav a {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  padding: 10px 14px;
  border-radius: 6px;
  color: var(--fg-soft);
  position: relative;
  transition: color .15s ease, background .15s ease;
}
.site-nav a:hover { color: var(--fg); background: rgba(0,0,0,0.04); }
.site-nav a.is-active {
  color: var(--fg);
  background: rgba(0,0,0,0.05);
}
.site-nav a.is-active::before {
  content: "";
  position: absolute;
  inset: auto auto -2px 14px;
  width: 16px; height: 2px;
  background: var(--accent);
}

.eco {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 13px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--fg-soft);
}
.eco .dot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.eco .dot-grid i {
  width: 4px; height: 4px;
  background: var(--accent);
  display: block;
}

.btn-cta {
  background: var(--accent);
  color: #fff;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  padding: 14px 22px;
  border: none;
  border-radius: 10px;
  text-transform: uppercase;
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.04),
    inset 0 -3px 0 rgba(0,0,0,0.22),
    0 6px 16px -8px rgba(255,106,26,0.55);
  transition: transform .12s ease, box-shadow .12s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-cta:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.04),
    inset 0 -3px 0 rgba(0,0,0,0.22),
    0 12px 22px -10px rgba(255,106,26,0.65);
}
.btn-cta:active { transform: translateY(0); }
.btn-cta__arrow {
  width: 14px; height: 14px;
  display: inline-block;
}

.btn-ghost {
  background: transparent;
  color: var(--fg);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  padding: 13px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background .15s ease;
}
.btn-ghost:hover { background: rgba(0,0,0,0.04); }

/* ---------- Layout shell ---------- */

main { padding: 0; position: relative; }

.shell {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
}

.framed {
  position: relative;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.4);
}
.framed::before,
.framed::after,
.framed > .frame-tl,
.framed > .frame-tr,
.framed > .frame-bl,
.framed > .frame-br { display: none; }

/* corner ticks (small orange squares at extremes) */
.tick { position: absolute; width: 10px; height: 10px; background: var(--accent); }
.tick.tl { top: -5px; left: -5px; }
.tick.tr { top: -5px; right: -5px; }
.tick.bl { bottom: -5px; left: -5px; }
.tick.br { bottom: -5px; right: -5px; }

/* corner brackets */
.bracket { position: absolute; width: 14px; height: 14px; pointer-events: none; }
.bracket.tl { top: 6px; left: 6px; border-top: 1.5px solid var(--fg); border-left: 1.5px solid var(--fg); }
.bracket.tr { top: 6px; right: 6px; border-top: 1.5px solid var(--fg); border-right: 1.5px solid var(--fg); }
.bracket.bl { bottom: 6px; left: 6px; border-bottom: 1.5px solid var(--fg); border-left: 1.5px solid var(--fg); }
.bracket.br { bottom: 6px; right: 6px; border-bottom: 1.5px solid var(--fg); border-right: 1.5px solid var(--fg); }

/* ---------- Eyebrow labels ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--fg-soft);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 10px; height: 10px;
  background: var(--accent);
  display: inline-block;
}

/* ---------- Section headings ---------- */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding: 56px 0 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}
.section-head h2 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.9;
  letter-spacing: -0.01em;
  margin: 12px 0 0;
  text-transform: uppercase;
}
.section-head .num {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.1em;
}
.section-head .lede {
  max-width: 420px;
  font-size: 16px;
  color: var(--fg-soft);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 24px 28px 0;
  max-width: 1440px;
  margin: 0 auto;
}

.hero__frame {
  position: relative;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.35);
  padding: 36px 36px 0;
  min-height: 540px;
}

.hero__giant {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(120px, 22vw, 320px);
  line-height: 0.84;
  letter-spacing: -0.01em;
  margin: 24px 0 0;
  color: var(--fg);
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
}
.hero__giant em {
  font-style: normal;
  color: var(--accent);
}

.hero__caption {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 0 28px;
  border-bottom: 1px solid var(--line);
}

.hero__grid {
  display: grid;
  grid-template-columns: 360px 1fr 360px;
  gap: 28px;
  padding: 32px 0 28px;
}

.hero__col p {
  font-size: 17px;
  line-height: 1.45;
  color: var(--fg-soft);
  max-width: 320px;
  margin: 0 0 22px;
}

/* terminal mock */
.terminal {
  background: var(--panel-deep);
  color: #E6E6E6;
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.55;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.04);
  box-shadow: 0 22px 48px -28px rgba(0,0,0,0.4), inset 0 0 0 1px rgba(255,255,255,0.02);
  height: 340px;
  display: flex;
  flex-direction: column;
}
.terminal__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  background: #1B1B1B;
}
.terminal__bar .dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: #3A3A3A;
}
.terminal__bar .dot.r { background: #FF5F57; }
.terminal__bar .dot.y { background: #FEBC2E; }
.terminal__bar .dot.g { background: #28C840; }
.terminal__bar .name {
  margin-left: auto;
  font-size: 11px;
  color: #777;
  letter-spacing: 0.08em;
}
.terminal__body {
  padding: 16px 18px;
  flex: 1;
  overflow: hidden;
  position: relative;
}
.terminal__body .line { white-space: pre; }
.terminal .tok-com { color: #6D6D6D; }
.terminal .tok-kw { color: #FF8A45; }
.terminal .tok-fn { color: #E6E6E6; }
.terminal .tok-str { color: #B7D29A; }
.terminal .tok-num { color: #FFC287; }
.terminal .tok-prop { color: #9BB7FF; }
.terminal .tok-acc { color: var(--accent); }
.terminal .prompt::before { content: "› "; color: var(--accent); }
.terminal .caret {
  display: inline-block;
  width: 7px; height: 14px;
  background: var(--accent);
  vertical-align: -2px;
  animation: blink 1s steps(2) infinite;
  margin-left: 2px;
}
@keyframes blink { 50% { opacity: 0; } }

.hero__sidecard {
  background: var(--panel-deep);
  color: #fff;
  border-radius: 8px;
  padding: 16px;
  min-height: 340px;
  max-width: 340px;
  margin-left: auto;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero__sidecard::before,
.hero__sidecard::after,
.hero__sidecard .bk { position: absolute; width: 16px; height: 16px; pointer-events:none; }
.hero__sidecard .bk.tl { top: 10px; left: 10px; border-top: 1.5px solid #fff; border-left: 1.5px solid #fff; }
.hero__sidecard .bk.tr { top: 10px; right: 10px; border-top: 1.5px solid #fff; border-right: 1.5px solid #fff; }
.hero__sidecard .bk.bl { bottom: 10px; left: 10px; border-bottom: 1.5px solid #fff; border-left: 1.5px solid #fff; }
.hero__sidecard .bk.br { bottom: 10px; right: 10px; border-bottom: 1.5px solid #fff; border-right: 1.5px solid #fff; }
.hero__sidecard__viz {
  flex: 1;
  display: grid;
  place-items: center;
  position: relative;
}
.hero__sidecard__viz svg { width: 60%; height: auto; }
.hero__sidecard__meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
}

.hero__cta-row {
  display: flex;
  gap: 12px;
}

.hero__bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.hero__bottom .meta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
  display: flex;
  gap: 24px;
}
.hero__bottom .arrows {
  display: flex;
  gap: 6px;
}
.hero__bottom .arrows button {
  width: 40px; height: 40px;
  border: 1px solid var(--line-strong);
  background: transparent;
  border-radius: 4px;
  display: grid; place-items: center;
  color: var(--fg);
}
.hero__bottom .arrows button:hover { background: rgba(0,0,0,0.05); }

/* ---------- Partners strip ---------- */
.partners {
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  margin: 0;
  background: var(--bg-elev);
}
.partners__inner {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.partners__cell {
  height: 110px;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--fg);
  position: relative;
}
.partners__cell:last-child { border-right: none; }
.partners__cell .logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700;
  font-size: 18px;
}

/* ---------- Generic page hero ---------- */
.page-hero {
  padding: 64px 28px 24px;
  max-width: 1440px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.page-hero h1 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(72px, 14vw, 110px);
  line-height: 0.86;
  letter-spacing: -0.01em;
  margin: 18px 0 24px;
  text-transform: uppercase;
}
.page-hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.page-hero .lede {
  max-width: 560px;
  font-size: 18px;
  color: var(--fg-soft);
  margin: 0 0 32px;
}
.page-hero .meta-row {
  display: flex;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ---------- Services grid ---------- */
.services {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 28px 64px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line-strong);
  background: var(--bg-elev);
}
.service-card {
  padding: 32px;
  background: var(--bg-elev);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  transition: background .2s ease;
}
.service-card:hover { background: #fff; }
.service-card:nth-child(3n) { border-right: none; }
.service-card:nth-last-child(-n+2):nth-child(3n+1),
.service-card:nth-last-child(-n+1):nth-child(3n+2),
.service-card:last-child { /* bottom row safety */ }
.service-card .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.service-card h3 {
  font-family: var(--display);
  font-weight: 900;
  font-size: 32px;
  line-height: 1;
  text-transform: uppercase;
  margin: 16px 0 12px;
}
.service-card p {
  color: var(--fg-soft);
  font-size: 14.5px;
  line-height: 1.5;
  margin: 0 0 20px;
}
.service-card .arrow {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
}
.service-card .icon {
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.7);
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 700;
}

/* ---------- Horizontal works scroll (code + projects) ---------- */
.works-scroll {
  position: relative;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: var(--panel-deep);
  color: #EAEAEA;
  overflow: hidden;
  height: 520px;
  display: grid;
  grid-template-columns: 20% 1px 1fr;
}

.works-scroll__head {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  background: linear-gradient(to bottom, rgba(20,20,20,1), rgba(20,20,20,0));
  pointer-events: none;
}
.works-scroll__head .live {
  display: inline-flex; align-items: center; gap: 8px;
}
.works-scroll__head .live i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.works-scroll__code {
  overflow: hidden;
  position: relative;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.works-scroll__code::before,
.works-scroll__code::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 80px;
  z-index: 2;
  pointer-events: none;
}
.works-scroll__code::before {
  top: 0;
  background: linear-gradient(to bottom, var(--panel-deep), transparent);
}
.works-scroll__code::after {
  bottom: 0;
  background: linear-gradient(to top, var(--panel-deep), transparent);
}

.code-stream {
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.85;
  color: #B4B4B4;
  padding: 24px 18px;
  margin: 0;
  animation: scroll-up 60s linear infinite;
  white-space: pre;
}
.code-stream .ln { display: block; }
.code-stream .kw { color: #FF8A45; }
.code-stream .str { color: #B7D29A; }
.code-stream .com { color: #5E5E5E; }
.code-stream .fn { color: #E6E6E6; }
.code-stream .prop { color: #9BB7FF; }
.code-stream .num { color: #FFC287; }
@keyframes scroll-up {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

.works-scroll__divider {
  background: rgba(255,255,255,0.1);
}

.works-scroll__projects {
  overflow: hidden;
  position: relative;
}
.works-scroll__projects::before,
.works-scroll__projects::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.works-scroll__projects::before {
  left: 0;
  background: linear-gradient(to right, var(--panel-deep), transparent);
}
.works-scroll__projects::after {
  right: 0;
  background: linear-gradient(to left, var(--panel-deep), transparent);
}

.projects-track {
  display: flex;
  gap: 24px;
  padding: 56px 0;
  width: max-content;
  animation: scroll-left 50s linear infinite;
}
@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.works-scroll:hover .code-stream,
.works-scroll:hover .projects-track {
  animation-play-state: paused;
}

.project-tile {
  flex: 0 0 auto;
  width: 360px;
  height: 380px;
  background: #1F1F1F;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform .25s ease, border-color .25s ease;
}
.project-tile:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.project-tile__media {
  flex: 1;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0 12px, transparent 12px 24px),
    radial-gradient(circle at 30% 30%, rgba(255,106,26,0.18), transparent 60%),
    #2A2A2A;
  position: relative;
}
.project-tile__media.acc-2 {
  background:
    repeating-linear-gradient(-45deg, rgba(255,255,255,0.03) 0 14px, transparent 14px 28px),
    radial-gradient(circle at 70% 60%, rgba(155,183,255,0.12), transparent 60%),
    #1B2230;
}
.project-tile__media.acc-3 {
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 16px),
    #232323;
}
.project-tile__media.acc-4 {
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 16px),
    radial-gradient(circle at 50% 50%, rgba(183,210,154,0.14), transparent 70%),
    #1F2620;
}
.project-tile__media .bracket {
  width: 18px; height: 18px;
}
.project-tile__media .bracket.tl { border-color: rgba(255,255,255,0.5); }
.project-tile__media .bracket.tr { border-color: rgba(255,255,255,0.5); }
.project-tile__media .bracket.bl { border-color: rgba(255,255,255,0.5); }
.project-tile__media .bracket.br { border-color: rgba(255,255,255,0.5); }
.project-tile__media__label {
  position: absolute;
  inset: auto auto 14px 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
}
.project-tile__info {
  padding: 18px 20px 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.project-tile__info .meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}
.project-tile__info h4 {
  font-family: var(--display);
  font-weight: 900;
  font-size: 22px;
  margin: 4px 0 0;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #fff;
}
.project-tile__info .tags {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
}

/* ---------- Products section ---------- */
.products {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 28px 80px;
}
.product-row {
  display: grid;
  grid-template-columns: 200px 1fr 1fr;
  gap: 32px;
  align-items: stretch;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.product-row:first-of-type { border-top: 1px solid var(--line); }
.product-row .num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.1em;
}
.product-row h3 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 0.95;
  margin: 8px 0 16px;
  text-transform: uppercase;
}
.product-row h3 em {
  font-style: normal;
  color: var(--accent);
}
.product-row .desc {
  color: var(--fg-soft);
  font-size: 15px;
  line-height: 1.5;
  max-width: 420px;
  margin: 0 0 16px;
}
.product-row .feats {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.product-row .feats li {
  padding: 5px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.product-row__viz {
  background: var(--panel-deep);
  border-radius: 10px;
  min-height: 220px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #fff;
}
.product-row__viz__inner {
  width: 90%;
  height: 80%;
  border: 1px dashed rgba(255,255,255,0.18);
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  position: relative;
}

/* ---------- Big CTA strip ---------- */
.big-cta {
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: var(--bg-elev);
}
.big-cta__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
}
.big-cta h2 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.9;
  margin: 0;
  text-transform: uppercase;
}
.big-cta h2 em { color: var(--accent); font-style: normal; }
.big-cta p { color: var(--fg-soft); font-size: 16px; max-width: 420px; margin: 18px 0 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--panel-deep);
  color: #C8C8C8;
  padding: 64px 28px 32px;
  font-family: var(--sans);
}
.site-footer .inner {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.site-footer h5 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin: 0 0 16px;
}
.site-footer a { display: block; padding: 5px 0; color: #DDD; font-size: 14px; }
.site-footer a:hover { color: var(--accent); }
.site-footer .brand-block .name {
  font-family: var(--display);
  font-weight: 900;
  font-size: 48px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: #fff;
  line-height: 1;
}
.site-footer .brand-block .name em { color: var(--accent); font-style: normal; }
.site-footer .brand-block p { color: rgba(255,255,255,0.6); font-size: 14px; max-width: 320px; margin: 20px 0 0; line-height: 1.55; }
.site-footer .socials {
  display: flex;
  gap: 8px;
  margin-top: 24px;
}
.site-footer .socials a {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  display: grid; place-items: center;
  padding: 0;
  color: rgba(255,255,255,0.7);
  transition: all .15s ease;
}
.site-footer .socials a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.site-footer .bot {
  max-width: 1440px;
  margin: 56px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

/* ---------- Works page grid ---------- */
.works-grid {
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px 28px 80px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0;
  border: 1px solid var(--line-strong);
  border-radius: 0;
}
.work-item {
  grid-column: span 4;
  background: var(--bg-elev);
  padding: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
  transition: background .2s ease;
}
.work-item.wide { grid-column: span 8; }
.work-item.tall { grid-row: span 2; }
.work-item:hover { background: #fff; }
.work-item__media {
  background: var(--panel-deep);
  height: 240px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #fff;
}
.work-item__media .corners { position: absolute; inset: 12px; pointer-events: none; }
.work-item__media .frame-x {
  position: absolute;
  font-family: var(--mono);
  color: rgba(255,255,255,0.4);
  font-size: 12px;
}
.work-item__info {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.work-item__info .meta {
  display: flex; justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}
.work-item__info h3 {
  font-family: var(--display);
  font-weight: 900;
  font-size: 28px;
  margin: 4px 0 0;
  text-transform: uppercase;
}
.work-item__info .tags {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
}

/* ---------- About ---------- */
.about-grid {
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px 28px 80px;
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line-strong);
  background: var(--bg-elev);
  margin-bottom: 48px;
}
.stat {
  padding: 32px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
.stat .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}
.stat .val {
  font-family: var(--display);
  font-weight: 900;
  font-size: 56px;
  line-height: 1;
  margin-top: 10px;
}
.stat .val em { color: var(--accent); font-style: normal; }
.stat .note {
  font-size: 13px;
  color: var(--fg-soft);
  margin-top: 8px;
}

.about-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin: 48px 0;
}
.about-cols h3 {
  font-family: var(--display);
  font-weight: 900;
  font-size: 40px;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.about-cols p {
  font-size: 16px;
  color: var(--fg-soft);
  line-height: 1.6;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.team-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  padding: 0;
  position: relative;
}
.team-card .ph {
  aspect-ratio: 4 / 5;
  background:
    repeating-linear-gradient(45deg, rgba(0,0,0,0.04) 0 8px, transparent 8px 16px),
    #DCDCDC;
  position: relative;
  display: grid; place-items: center;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
}
.team-card .info {
  padding: 14px 16px 16px;
  border-top: 1px solid var(--line);
}
.team-card .info h4 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 4px;
  text-transform: uppercase;
}
.team-card .info .role {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- Services detail page ---------- */
.svc-detail {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 28px 80px;
}
.svc-row {
  display: grid;
  grid-template-columns: 72px 320px 1fr 300px;
  gap: 28px;
  align-items: start;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.svc-row:first-of-type { border-top: 1px solid var(--line); }
.svc-row .idx {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.1em;
  padding-top: 8px;
}
.svc-row h3 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.02;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
  hyphens: auto;
}
.svc-row .desc {
  color: var(--fg-soft);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}
.svc-row .tools {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.svc-row .tools .h {
  color: var(--fg);
  font-size: 10px;
  letter-spacing: 0.16em;
}
.svc-row .tools .row {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.svc-row .tools .chip {
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}

/* ---------- Contact ---------- */
.contact-wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px 28px 80px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
}
.contact-form {
  background: var(--bg-elev);
  border: 1px solid var(--line-strong);
  padding: 36px;
  position: relative;
}
.contact-form h3 {
  font-family: var(--display);
  font-weight: 900;
  font-size: 36px;
  margin: 0 0 8px;
  text-transform: uppercase;
}
.contact-form .sub {
  color: var(--fg-soft);
  margin: 0 0 24px;
}
.field {
  margin-bottom: 20px;
}
.field label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.field input, .field textarea, .field select {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: #fff;
  padding: 14px 14px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--fg);
  border-radius: 6px;
  outline: none;
  transition: border-color .15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--accent);
}
.field textarea { resize: vertical; min-height: 130px; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.chip-group {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.chip-btn {
  border: 1px solid var(--line-strong);
  background: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--fg);
  transition: all .15s ease;
}
.chip-btn.is-active {
  background: var(--fg);
  color: #fff;
  border-color: var(--fg);
}
.chip-btn:hover { background: rgba(0,0,0,0.04); }
.chip-btn.is-active:hover { background: var(--fg); }

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-card {
  background: var(--bg-elev);
  border: 1px solid var(--line-strong);
  padding: 24px;
  position: relative;
}
.contact-card h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}
.contact-card .val {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.contact-card .sm {
  font-size: 14px;
  color: var(--fg-soft);
  margin-top: 6px;
}

.contact-form__success {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 0;
}
.contact-form.is-sent .contact-form__success { display: flex; }
.contact-form.is-sent .form-body { display: none; }

/* ---------- Right side rail (social) ---------- */
.side-rail {
  position: fixed;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 40;
}
.side-rail a {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: var(--fg-soft);
  transition: all .15s ease;
}
.side-rail a:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* status indicator top-right */
.status-pill {
  position: fixed;
  top: calc(var(--header-h) + 16px);
  right: 60px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  padding: 7px 12px;
  border-radius: 999px;
}
.status-pill i {
  width: 8px; height: 8px; border-radius: 50%;
  background: #28C840;
  box-shadow: 0 0 0 4px rgba(40,200,64,0.15);
}

/* ---------- Language switcher ---------- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--bg);
  padding: 3px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
}
.lang-switch button {
  background: transparent;
  border: 0;
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .15s ease;
}
.lang-switch button.is-active {
  background: var(--fg);
  color: #fff;
}
.lang-switch button:not(.is-active):hover { color: var(--fg); }

/* ---------- Products showcase (interactive) ---------- */
.products-showcase {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 28px 80px;
}
.ps-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 24px;
  border: 1px solid var(--line-strong);
  background: var(--bg-elev);
}
.ps-tabs {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
}
.ps-tab {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  padding: 22px 24px;
  cursor: pointer;
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: center;
  transition: background .15s ease;
}
.ps-tab:last-child { border-bottom: 0; }
.ps-tab:hover { background: rgba(0,0,0,0.03); }
.ps-tab.is-active { background: #fff; }
.ps-tab.is-active::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
}
.ps-tab__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.ps-tab.is-active .ps-tab__num { color: var(--accent); }
.ps-tab__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.ps-tab__name em { font-style: normal; color: var(--accent); }
.ps-tab__cat {
  grid-column: 2;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 2px;
}

.ps-stage {
  display: grid;
  grid-template-rows: 1fr auto;
}
.ps-stage__chrome {
  background: var(--panel-deep);
  color: #EAEAEA;
  margin: 18px 18px 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  min-height: 440px;
  position: relative;
}
.ps-stage__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  background: #1B1B1B;
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.08em;
}
.ps-stage__bar .dots { display: flex; gap: 6px; }
.ps-stage__bar .dots i {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #3A3A3A;
  display: block;
}
.ps-stage__bar .dots i:nth-child(1) { background: #FF5F57; }
.ps-stage__bar .dots i:nth-child(2) { background: #FEBC2E; }
.ps-stage__bar .dots i:nth-child(3) { background: #28C840; }
.ps-stage__bar .url {
  margin-left: 14px;
  padding: 4px 12px;
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
  color: rgba(255,255,255,0.7);
}
.ps-stage__bar .right {
  margin-left: auto;
  display: inline-flex; gap: 12px;
  color: rgba(255,255,255,0.4);
}

.ps-panes {
  flex: 1;
  position: relative;
  overflow: hidden;
}
.ps-pane {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}
.ps-pane.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.ps-details {
  padding: 22px 26px 26px;
  border-top: 1px solid var(--line);
  background: var(--bg-elev);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
}
.ps-details__copy { max-width: 560px; position: relative; }
.ps-details__block { display: none; }
.ps-details__block.is-active { display: block; }
.ps-details__copy .eyebrow { margin-bottom: 8px; }
.ps-details__copy h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.1;
  margin: 8px 0 8px;
  letter-spacing: -0.01em;
}
.ps-details__copy h3 em { font-style: normal; color: var(--accent); }
.ps-details__copy p {
  color: var(--fg-soft);
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 4px;
}
.ps-details__feats {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 10px;
}
.ps-details__feats span:not(:last-child)::after {
  content: " · ";
  color: var(--accent);
}

/* === pane: Transfer.360 (dispatch map) === */
.mock-dispatch {
  display: grid;
  grid-template-columns: 230px 1fr;
  height: 100%;
}
.mock-dispatch__list {
  background: #161616;
  border-right: 1px solid rgba(255,255,255,0.06);
  padding: 14px 14px;
  font-family: var(--mono);
  font-size: 11px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}
.mock-dispatch__head {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.mock-dispatch__trip {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  background: rgba(255,255,255,0.03);
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.04);
}
.mock-dispatch__trip.is-active {
  background: rgba(255,106,26,0.08);
  border-color: rgba(255,106,26,0.4);
}
.mock-dispatch__trip .id {
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
}
.mock-dispatch__trip .route {
  display: flex; flex-direction: column; gap: 2px;
  color: #DDD;
  font-family: var(--sans);
  font-size: 12px;
}
.mock-dispatch__trip .route .a { display: flex; align-items: center; gap: 6px; }
.mock-dispatch__trip .route .a::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}
.mock-dispatch__trip .route .b::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.5);
  display: inline-block;
  margin-right: 6px;
  vertical-align: middle;
}
.mock-dispatch__trip .eta {
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.08em;
}
.mock-dispatch__trip.is-active .eta { color: var(--accent); }

.mock-dispatch__map {
  position: relative;
  background:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px) 0 0 / 40px 40px,
    radial-gradient(circle at 30% 40%, rgba(255,106,26,0.08), transparent 50%),
    #1A1A1A;
  overflow: hidden;
}
.mock-dispatch__map__overlay {
  position: absolute;
  inset: 14px;
  pointer-events: none;
}
.mock-dispatch__map svg { width: 100%; height: 100%; display: block; }
.mock-dispatch__driver {
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255,106,26,0.25), 0 0 0 10px rgba(255,106,26,0.1);
  animation: drive-along 9s cubic-bezier(.42,0,.58,1) infinite;
}
@keyframes drive-along {
  0%   { top: 22%; left: 12%; }
  30%  { top: 36%; left: 38%; }
  55%  { top: 28%; left: 52%; }
  80%  { top: 56%; left: 72%; }
  100% { top: 70%; left: 86%; }
}
.mock-dispatch__pill {
  position: absolute;
  bottom: 14px; right: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(6px);
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  color: #FFF;
  letter-spacing: 0.06em;
  display: inline-flex; align-items: center; gap: 8px;
}
.mock-dispatch__pill i {
  width: 7px; height: 7px; border-radius: 50%;
  background: #28C840;
  animation: pulse 1.4s ease-in-out infinite;
}

/* === pane: Field.360 (work orders) === */
.mock-field {
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
}
.mock-field__top {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.08em;
}
.mock-field__top .stat {
  background: rgba(255,255,255,0.04);
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: baseline; gap: 8px;
  text-transform: uppercase;
}
.mock-field__top .stat b {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  letter-spacing: -0.01em;
}
.mock-field__top .stat.acc b { color: var(--accent); }
.mock-field__cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}
.mock-field__col {
  background: #161616;
  padding: 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}
.mock-field__col__h {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
}
.mock-field__col__h .count {
  background: rgba(255,255,255,0.06);
  padding: 2px 8px;
  border-radius: 999px;
}
.mock-field__col.acc .mock-field__col__h .count {
  background: rgba(255,106,26,0.2);
  color: var(--accent);
}
.mock-field__card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 10px 12px;
  font-family: var(--sans);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mock-field__card .id {
  font-family: var(--mono);
  font-size: 9.5px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
}
.mock-field__card .title {
  font-size: 12px;
  color: #EEE;
  line-height: 1.3;
}
.mock-field__card .row {
  display: flex; justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
}
.mock-field__card .badge {
  padding: 2px 7px;
  border-radius: 999px;
  text-transform: uppercase;
}
.mock-field__card .badge.todo { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.6); }
.mock-field__card .badge.wip  { background: rgba(255,106,26,0.18); color: var(--accent); }
.mock-field__card .badge.done { background: rgba(40,200,64,0.14); color: #28C840; }
.mock-field__card.is-wip {
  border-color: rgba(255,106,26,0.3);
  background: rgba(255,106,26,0.05);
}

/* === pane: Concierge.360 (VIP & timeline) === */
.mock-concierge {
  height: 100%;
  display: grid;
  grid-template-columns: 280px 1fr;
}
.mock-concierge__guest {
  background: #161616;
  border-right: 1px solid rgba(255,255,255,0.06);
  padding: 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mock-concierge__avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 8px, transparent 8px 16px),
    radial-gradient(circle at 50% 40%, rgba(255,106,26,0.2), transparent 60%),
    #222;
  border-radius: 8px;
  position: relative;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.14em;
}
.mock-concierge__avatar .vip {
  position: absolute;
  top: 10px; right: 10px;
  background: var(--accent);
  color: #fff;
  font-family: var(--mono);
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.1em;
  font-weight: 700;
}
.mock-concierge__guest h4 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  margin: 0;
  letter-spacing: -0.01em;
}
.mock-concierge__guest .meta {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.08em;
  display: flex; flex-direction: column; gap: 4px;
}
.mock-concierge__guest .meta span::before {
  content: "→ ";
  color: var(--accent);
}

.mock-concierge__main {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}
.mock-concierge__head {
  display: flex; justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}
.mock-concierge__timeline {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 6px;
  position: relative;
}
.mock-concierge__timeline__slot {
  height: 38px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 9px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.1em;
  display: grid;
  place-items: end center;
  padding: 4px;
}
.mock-concierge__booking {
  position: absolute;
  top: 4px;
  height: 30px;
  background: var(--accent);
  border-radius: 4px;
  display: flex; align-items: center;
  padding: 0 10px;
  font-family: var(--mono);
  font-size: 10px;
  color: #fff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.mock-concierge__booking.b1 { left: 12.5%; width: 22%; background: var(--accent); }
.mock-concierge__booking.b2 { left: 50%;   width: 25%; background: #2A2A2A; color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.1); }
.mock-concierge__booking.b3 { left: 80%;   width: 16%; background: rgba(255,106,26,0.2); color: var(--accent); border: 1px solid rgba(255,106,26,0.3); }

.mock-concierge__reqs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}
.mock-concierge__req {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 6px;
  font-size: 12px;
  color: #DDD;
}
.mock-concierge__req .ico {
  width: 22px; height: 22px;
  border-radius: 5px;
  background: rgba(255,255,255,0.06);
  display: grid; place-items: center;
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255,255,255,0.55);
}
.mock-concierge__req .status {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.mock-concierge__req.is-new .status { color: var(--accent); }
.mock-concierge__req.is-new {
  border-color: rgba(255,106,26,0.3);
  background: rgba(255,106,26,0.05);
}

/* ---------- Concierge mock v2 (info-dense, no photo) ---------- */
.mock-concierge-v2 {
  height: 100%;
  display: grid;
  grid-template-columns: 280px 1fr;
}
.mcv2-profile {
  background: #161616;
  border-right: 1px solid rgba(255,255,255,0.06);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
}
.mcv2-id {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.mcv2-id .vip {
  background: var(--accent);
  color: #fff;
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 9px;
}
.mcv2-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0;
}
.mcv2-sub {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.06em;
}
.mcv2-section {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 12px;
}
.mcv2-section h6 {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  margin: 0 0 8px;
  display: flex;
  justify-content: space-between;
}
.mcv2-tags {
  display: flex; flex-wrap: wrap; gap: 4px;
}
.mcv2-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
  color: #DDD;
  padding: 3px 7px;
  border-radius: 999px;
}
.mcv2-tag.warn {
  background: rgba(255,106,26,0.12);
  border-color: rgba(255,106,26,0.3);
  color: var(--accent);
}
.mcv2-main {
  padding: 18px 20px;
  display: flex; flex-direction: column;
  gap: 16px;
  overflow: hidden;
}
.mcv2-itin {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mcv2-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  background: rgba(255,255,255,0.03);
  border-left: 2px solid rgba(255,255,255,0.1);
  border-radius: 0 6px 6px 0;
}
.mcv2-item.is-now {
  background: rgba(255,106,26,0.08);
  border-left-color: var(--accent);
}
.mcv2-item .time {
  font-family: var(--mono);
  font-size: 13px;
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.mcv2-item.is-now .time { color: var(--accent); }
.mcv2-item .what {
  display: flex; flex-direction: column; gap: 2px;
}
.mcv2-item .what .title {
  font-size: 13px;
  color: #EEE;
  line-height: 1.2;
}
.mcv2-item .what .where {
  font-family: var(--mono);
  font-size: 10.5px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
}
.mcv2-item .badge {
  font-family: var(--mono);
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mcv2-item .badge.live { background: var(--accent); color: #fff; }
.mcv2-item .badge.next { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.1); }
.mcv2-item .badge.done { background: rgba(40,200,64,0.14); color: #28C840; }

/* ---------- Drive.360 mock (driving school dashboard) ---------- */
.mock-drive {
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
}
.mock-drive__top {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex; gap: 16px; align-items: center;
  font-family: var(--mono); font-size: 11px;
  color: rgba(255,255,255,0.6); letter-spacing: 0.08em;
}
.mock-drive__top .stat {
  background: rgba(255,255,255,0.04);
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: baseline; gap: 8px;
  text-transform: uppercase;
}
.mock-drive__top .stat b {
  font-family: var(--display); font-weight: 700; font-size: 18px;
  color: #fff; letter-spacing: -0.01em;
}
.mock-drive__top .stat.acc b { color: var(--accent); }
.mock-drive__sched {
  position: relative;
  overflow: hidden;
  padding: 14px 18px 16px;
  display: grid;
  grid-template-rows: auto repeat(4, 1fr);
  row-gap: 4px;
}
.mock-drive__ruler {
  display: grid;
  grid-template-columns: 100px repeat(8, 1fr);
  align-items: center;
  font-family: var(--mono); font-size: 9.5px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.14em;
}
.mock-drive__ruler span { padding-left: 4px; }
.mock-drive__lane {
  display: grid;
  grid-template-columns: 100px 1fr;
  align-items: center;
  gap: 8px;
  min-height: 38px;
}
.mock-drive__lane__name {
  font-family: var(--mono); font-size: 10.5px;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.06em;
  display: flex; flex-direction: column;
}
.mock-drive__lane__name .veh {
  font-size: 9px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.08em;
  margin-top: 1px;
}
.mock-drive__lane__track {
  position: relative;
  height: 32px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px) 0 0 / 12.5% 100%;
  border-radius: 4px;
  background-color: rgba(255,255,255,0.02);
}
.mock-drive__slot {
  position: absolute;
  top: 3px; height: 26px;
  border-radius: 4px;
  padding: 0 8px;
  display: flex; align-items: center;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.04em;
  overflow: hidden; white-space: nowrap;
}
.mock-drive__slot.theory { background: rgba(255,255,255,0.08); color: #DDD; border: 1px solid rgba(255,255,255,0.1); }
.mock-drive__slot.practical { background: var(--accent); color: #fff; box-shadow: 0 0 0 1px rgba(255,106,26,0.6); }
.mock-drive__slot.exam { background: rgba(255,106,26,0.2); color: var(--accent); border: 1px solid rgba(255,106,26,0.4); }
.mock-drive__slot.done { background: rgba(40,200,64,0.14); color: #28C840; border: 1px solid rgba(40,200,64,0.3); }
.mock-drive__now {
  position: absolute;
  top: 22px; bottom: 0;
  width: 1.5px;
  background: var(--accent);
  z-index: 2;
  pointer-events: none;
}
.mock-drive__now::before {
  content: "NOW";
  position: absolute;
  top: -16px; left: -14px;
  background: var(--accent);
  color: #fff;
  font-family: var(--mono); font-size: 9px;
  letter-spacing: 0.1em;
  padding: 2px 6px;
  border-radius: 3px;
}

/* ---------- Team monogram cards (no photos) ---------- */
.team-mono-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line-strong);
  background: var(--bg-elev);
}
.team-mono {
  padding: 24px 22px 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-elev);
  display: flex;
  flex-direction: column;
  min-height: 280px;
  position: relative;
  transition: background .2s ease;
}
.team-mono:hover { background: #fff; }
.team-mono:nth-child(3n) { border-right: none; }
.team-mono__id {
  display: flex; justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.team-mono__monogram {
  flex: 1;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 92px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--fg);
  position: relative;
  padding: 20px 0;
}
.team-mono__monogram .dot-acc {
  color: var(--accent);
}
.team-mono__emoji {
  flex: 1;
  display: grid;
  place-items: center;
  font-size: 80px;
  line-height: 1;
  padding: 20px 0;
  position: relative;
  filter: saturate(0.95);
}
.team-mono__emoji::before {
  content: "";
  position: absolute;
  top: 8px; left: 8px;
  width: 14px; height: 14px;
  border-top: 1.5px solid var(--fg);
  border-left: 1.5px solid var(--fg);
}
.team-mono__emoji::after {
  content: "";
  position: absolute;
  bottom: 8px; right: 8px;
  width: 14px; height: 14px;
  border-bottom: 1.5px solid var(--fg);
  border-right: 1.5px solid var(--fg);
}
.team-mono__emoji.duo {
  font-size: 56px;
  letter-spacing: -4px;
}
.team-mono__monogram::before,
.team-mono__monogram::after {
  content: "";
  position: absolute;
  width: 8px; height: 8px;
}
.team-mono__monogram::before {
  top: 8px; left: 8px;
  border-top: 1.5px solid var(--fg);
  border-left: 1.5px solid var(--fg);
  width: 14px; height: 14px;
}
.team-mono__monogram::after {
  bottom: 8px; right: 8px;
  border-bottom: 1.5px solid var(--fg);
  border-right: 1.5px solid var(--fg);
  width: 14px; height: 14px;
}
.team-mono__info { border-top: 1px solid var(--line); padding-top: 12px; }
.team-mono__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
}
.team-mono__role {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}
.team-mono__meta {
  margin-top: 8px;
  font-size: 13px;
  color: var(--fg-soft);
  line-height: 1.4;
}
.team-mono.is-cta {
  background: var(--panel-deep);
  color: #fff;
}
.team-mono.is-cta .team-mono__id { color: rgba(255,255,255,0.5); }
.team-mono.is-cta .team-mono__monogram { color: var(--accent); }
.team-mono.is-cta .team-mono__monogram::before,
.team-mono.is-cta .team-mono__monogram::after { border-color: rgba(255,255,255,0.5); }
.team-mono.is-cta .team-mono__info { border-top-color: rgba(255,255,255,0.08); }
.team-mono.is-cta .team-mono__role { color: var(--accent); }
.team-mono.is-cta .team-mono__meta { color: rgba(255,255,255,0.7); }

/* ---------- Works v2: drawer interaction ---------- */
.works-page {
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px 28px 64px;
}
.works-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0 24px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.works-toolbar .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.works-toolbar .right {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.works-list {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0;
  border: 1px solid var(--line-strong);
  margin-top: 32px;
}
.works-list .work-item { cursor: pointer; }

/* drawer (slide-in) */
.work-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  pointer-events: none;
}
.work-drawer.is-open {
  display: block;
  pointer-events: auto;
}
.work-drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  transition: opacity .25s ease;
}
.work-drawer.is-open .work-drawer__scrim { opacity: 1; }
.work-drawer__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(780px, 92vw);
  background: var(--bg);
  box-shadow: -24px 0 60px -20px rgba(0,0,0,0.4);
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.22,.61,.36,1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.work-drawer.is-open .work-drawer__panel { transform: translateX(0); }
.work-drawer__head {
  position: sticky;
  top: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line-strong);
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 2;
}
.work-drawer__head .meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}
.work-drawer__close {
  width: 36px; height: 36px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  display: grid; place-items: center;
  cursor: pointer;
  color: var(--fg);
  transition: all .15s ease;
}
.work-drawer__close:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.work-drawer__body { padding: 28px 28px 64px; }
.work-drawer__hero {
  aspect-ratio: 16 / 9;
  background: var(--panel-deep);
  border-radius: 10px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.work-drawer__hero .bracket { width: 18px; height: 18px; border-color: rgba(255,255,255,0.5); }
.work-drawer h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 56px;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.work-drawer h2 em { font-style: normal; color: var(--accent); }
.work-drawer .lede {
  font-size: 17px;
  color: var(--fg-soft);
  line-height: 1.5;
  margin: 0 0 28px;
}
.work-drawer__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: var(--bg-elev);
  margin-bottom: 28px;
}
.work-drawer__stats .s {
  padding: 16px 18px;
  border-right: 1px solid var(--line);
}
.work-drawer__stats .s:last-child { border-right: none; }
.work-drawer__stats .s .l {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}
.work-drawer__stats .s .v {
  font-family: var(--display);
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
  margin-top: 6px;
  letter-spacing: -0.02em;
}
.work-drawer__stats .s .v em { font-style: normal; color: var(--accent); }
.work-drawer__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}
.work-drawer__cols h4 {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  margin: 0 0 10px;
}
.work-drawer__cols p {
  font-size: 14.5px;
  color: var(--fg-soft);
  line-height: 1.55;
  margin: 0 0 12px;
}
.work-drawer__chips {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 28px;
}
.work-drawer__chips .chip {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 5px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--fg);
}
.work-drawer__pager {
  display: flex; justify-content: space-between;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.work-drawer__pager button {
  background: transparent;
  border: 0;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg);
  cursor: pointer;
  letter-spacing: 0.08em;
  display: inline-flex; align-items: center; gap: 8px;
}
.work-drawer__pager button:hover { color: var(--accent); }
.work-drawer__pager button:disabled { color: var(--muted-2); cursor: default; }

/* ---------- Dual CTA header ---------- */
.btn-book {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  padding: 13px 18px;
  border-radius: 10px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all .15s ease;
}
.btn-book:hover {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.btn-book__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #28C840;
  box-shadow: 0 0 0 3px rgba(40,200,64,0.18);
}

/* ---------- NDA checkbox (contact form) ---------- */
.nda-check {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  cursor: pointer;
  transition: border-color .15s ease;
  user-select: none;
}
.nda-check:hover { border-color: var(--fg-soft); }
.nda-check input { display: none; }
.nda-check .box {
  width: 22px; height: 22px;
  border: 1.5px solid var(--line-strong);
  border-radius: 4px;
  display: grid;
  place-items: center;
  background: #fff;
  margin-top: 2px;
  transition: all .12s ease;
}
.nda-check input:checked + .box {
  background: var(--accent);
  border-color: var(--accent);
}
.nda-check .box svg {
  width: 14px; height: 14px;
  color: #fff;
  opacity: 0;
  transition: opacity .12s ease;
}
.nda-check input:checked + .box svg { opacity: 1; }
.nda-check .body { display: flex; flex-direction: column; gap: 2px; }
.nda-check .body .ttl {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.nda-check .body .sub {
  font-size: 13px;
  color: var(--fg-soft);
}

/* ---------- Careers page ---------- */
.careers-list {
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px 28px 0;
}
.career-row {
  display: grid;
  grid-template-columns: 100px 1.2fr 1fr 160px;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  position: relative;
  transition: padding-left .15s ease;
}
.career-row:first-of-type { border-top: 1px solid var(--line); }
.career-row:hover { padding-left: 16px; }
.career-row:hover::before {
  content: "";
  position: absolute;
  left: 0; top: 28px; bottom: 28px;
  width: 3px;
  background: var(--accent);
}
.career-row .idx {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.12em;
}
.career-row h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}
.career-row .tagline {
  font-size: 14.5px;
  color: var(--fg-soft);
  line-height: 1.45;
  margin: 6px 0 12px;
}
.career-row .chips {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.career-row .chips .chip {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--muted);
}
.career-row .info {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-soft);
  letter-spacing: 0.04em;
  display: flex; flex-direction: column; gap: 4px;
  padding-top: 6px;
}
.career-row .info span::before {
  color: var(--accent);
  margin-right: 6px;
}
.career-row .info .loc::before { content: "◉"; }
.career-row .info .type::before { content: "▸"; }
.career-row .info .seniority::before { content: "↑"; }
.career-row .apply { display: flex; justify-content: flex-end; padding-top: 4px; }

@media (max-width: 1100px) {
  .team-mono-grid { grid-template-columns: 1fr 1fr; }
  .team-mono:nth-child(3n) { border-right: 1px solid var(--line); }
  .team-mono:nth-child(2n) { border-right: none; }
  .career-row { grid-template-columns: 80px 1fr; }
  .career-row .info, .career-row .apply { grid-column: 2; }
  .work-drawer__cols { grid-template-columns: 1fr; }
  .work-drawer__stats { grid-template-columns: 1fr 1fr; }
}

/* ---------- Responsive small touches ---------- */
@media (max-width: 1180px) {
  .site-header { grid-template-columns: auto 1fr auto; gap: 12px; padding: 0 20px; }
  .brand { padding-right: 14px; }
  .brand__name { font-size: 22px; }
  .brand__mark { width: 32px; height: 32px; }
  .brand::after { display: none; }
  .site-nav { gap: 0; }
  .site-nav a { padding: 8px 10px; font-size: 12px; }
  .lang-switch, .btn-book { display: none; }
  .btn-cta { padding: 11px 14px; font-size: 12px; }
  .btn-cta__arrow { width: 12px; height: 12px; }
}
@media (max-width: 1100px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__sidecard { margin-left: 0; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .product-row { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .site-footer .inner { grid-template-columns: 1fr 1fr; }
  .works-grid { grid-template-columns: 1fr; }
  .work-item, .work-item.wide { grid-column: span 1; }
  .ps-grid { grid-template-columns: 1fr; }
  .ps-tabs { flex-direction: row; overflow-x: auto; border-right: none; border-bottom: 1px solid var(--line); }
  .ps-tab { border-bottom: 0; border-right: 1px solid var(--line); min-width: 240px; }
  .ps-tab.is-active::before { left: 0; top: auto; bottom: 0; width: 100%; height: 3px; }
}
@media (max-width: 720px) {
  .site-header { grid-template-columns: auto 1fr auto; gap: 12px; padding: 0 16px; }
  .site-nav, .eco { display: none; }
  .brand { border-right: none; }
  .services-grid { grid-template-columns: 1fr; }
  .partners__inner { grid-template-columns: 1fr 1fr; }
  .partners__cell { border-bottom: 1px solid var(--line); }
  .big-cta__inner { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 1fr; }
  .side-rail, .status-pill { display: none; }
}

/* ---------- dot360 — site additions ---------- */

.flash {
  position: fixed;
  top: calc(var(--header-h) + 12px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--panel-deep);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 12px 28px -12px rgba(0,0,0,0.4);
  animation: flash-in .3s ease-out;
}
.flash-success { border-color: var(--accent); }
.flash-success::before { content: "[ ✓ ] "; color: var(--accent); }
.flash-error { border-color: #C0413B; }
.flash-error::before { content: "[ ! ] "; color: #ff7d7d; }

@keyframes flash-in {
  from { opacity: 0; transform: translate(-50%, -8px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

/* ---------- hero tagline (replaces giant DOT·360°) ---------- */
.hero__tagline {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(48px, 8vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 28px 0 32px;
  color: var(--fg);
}
.hero__tagline em {
  font-style: italic;
  color: var(--accent);
  font-weight: 700;
}

/* ---------- brand logo (img replaces .brand__mark + .brand__name) ---------- */
.brand__logo {
  height: 36px;
  width: auto;
  display: block;
}
.site-footer .brand-block .brand__logo {
  height: 38px;
  margin-bottom: 14px;
}

/* ---------- live deploys feed (hero sidecard) ---------- */
.hero__sidecard__head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 16px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hero__sidecard__head__label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.hero__sidecard__head__live {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.hero__sidecard__head__live i {
  width: 6px; height: 6px;
  background: #5BE49B;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(91,228,155,0.55);
  animation: deploy-pulse 1.8s ease-out infinite;
}
@keyframes deploy-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(91,228,155,0.55); }
  70%  { box-shadow: 0 0 0 6px rgba(91,228,155,0); }
  100% { box-shadow: 0 0 0 0 rgba(91,228,155,0); }
}

.deploy-feed {
  list-style: none;
  margin: 0;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1 1 auto;
  min-height: 0;
}
.deploy-feed li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 9px 6px;
  border-bottom: 1px dashed rgba(255,255,255,0.06);
  font-family: var(--mono);
  font-size: 11.5px;
}
.deploy-feed li:last-child { border-bottom: 0; }
.deploy-feed__ver {
  color: var(--accent);
  letter-spacing: 0.04em;
}
.deploy-feed__proj {
  font-family: var(--display);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: -0.005em;
  color: #fff;
  text-transform: lowercase;
}
.deploy-feed__proj em {
  font-style: normal;
  color: var(--accent);
}
.deploy-feed__ago {
  color: rgba(255,255,255,0.45);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- partner logos (img) ---------- */
.partner-logo {
  max-height: 36px;
  max-width: 140px;
  width: auto;
  height: auto;
  display: block;
  opacity: 0.55;
  filter: grayscale(100%) contrast(0.9);
  transition: opacity .2s ease, filter .2s ease;
}
.partner-logo:hover {
  opacity: 1;
  filter: grayscale(0%) contrast(1);
}

/* ---------- logo dark/light swap ---------- */
.brand__logo--light { display: none; }
body.menu-open .brand__logo--dark { display: none; }
body.menu-open .brand__logo--light { display: block; }

/* ---------- burger button ---------- */
.site-burger {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
  position: relative;
  z-index: 51;
}
.site-burger:hover { border-color: var(--fg); }
.site-burger span {
  width: 18px; height: 1.6px;
  background: var(--fg);
  transition: transform .25s ease, opacity .15s ease, background .15s ease;
  transform-origin: center;
  display: block;
}
body.menu-open .site-burger { border-color: rgba(255,255,255,0.22); }
body.menu-open .site-burger span { background: #fff; }
body.menu-open .site-burger span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
body.menu-open .site-burger span:nth-child(2) { opacity: 0; }
body.menu-open .site-burger span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* ---------- mobile menu overlay ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 48;
  background: var(--panel-deep);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity .28s ease, transform .35s cubic-bezier(.2,.6,.2,1), visibility 0s linear .35s;
  overflow-y: auto;
}
.mobile-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: var(--grid) var(--grid);
  background-position: 0 var(--header-h);
  pointer-events: none;
  opacity: 0.6;
}
body.menu-open .mobile-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity .28s ease, transform .4s cubic-bezier(.2,.6,.2,1), visibility 0s linear 0s;
}
body.menu-open { overflow: hidden; }
body.menu-open .site-header { background: transparent; border-bottom-color: rgba(255,255,255,0.1); }

.mobile-menu__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: calc(var(--header-h) + 32px) 24px 32px;
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}
.mobile-menu__nav {
  display: flex;
  flex-direction: column;
}
.mobile-menu__link {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 8vw, 44px);
  line-height: 1;
  letter-spacing: -0.01em;
  color: #fff;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .35s ease, transform .35s ease, color .15s ease;
}
body.menu-open .mobile-menu__link {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu__nav .mobile-menu__link:nth-child(1) { transition-delay: 0.10s; }
.mobile-menu__nav .mobile-menu__link:nth-child(2) { transition-delay: 0.16s; }
.mobile-menu__nav .mobile-menu__link:nth-child(3) { transition-delay: 0.22s; }
.mobile-menu__nav .mobile-menu__link:nth-child(4) { transition-delay: 0.28s; }
.mobile-menu__nav .mobile-menu__link:nth-child(5) { transition-delay: 0.34s; }
.mobile-menu__nav .mobile-menu__link:nth-child(6) { transition-delay: 0.40s; }
.mobile-menu__link:hover { color: var(--accent); }
.mobile-menu__link.is-active { color: var(--accent); }
.mobile-menu__link.is-active .mobile-menu__num { color: var(--accent); }
.mobile-menu__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.4);
  flex-shrink: 0;
  width: 56px;
  text-transform: uppercase;
}

.mobile-menu__cta {
  margin-top: 36px;
  align-self: flex-start;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .35s ease, transform .35s ease;
  transition-delay: 0.48s;
}
body.menu-open .mobile-menu__cta { opacity: 1; transform: translateY(0); }

.mobile-menu__foot {
  margin-top: auto;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--mono);
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .35s ease, transform .35s ease;
  transition-delay: 0.56s;
}
.mobile-menu__foot a { color: rgba(255,255,255,0.7); }
.mobile-menu__foot a:hover { color: var(--accent); }
body.menu-open .mobile-menu__foot { opacity: 1; transform: translateY(0); }

/* ---------- mobile breakpoint: show burger, hide desktop nav + cta ---------- */
@media (max-width: 900px) {
  .site-header { grid-template-columns: auto 1fr auto; gap: 12px; padding: 0 16px; display: flex; justify-content: space-between;}
  .site-nav,
  .site-header__cta { display: none; }
  .site-burger { display: flex; }
  .brand { border-right: none; padding-right: 0; margin-right: 0; }
  .brand::after { display: none; }
}

/* ---------- team-mono sigil tweaks (monochrome geometric marks) ---------- */
.team-mono__sigil {
  font-family: var(--display), 'Apple Symbols', 'Segoe UI Symbol', sans-serif;
  font-weight: 400;
  color: var(--fg);
  filter: none;
  letter-spacing: 0;
}
.team-mono__sigil.duo { letter-spacing: 4px; font-size: 56px; }
.team-mono:hover .team-mono__sigil { color: var(--accent); transition: color .2s ease; }
.team-mono.is-cta .team-mono__sigil { color: var(--accent); }

/* ---------- team-mono cards (v2): compact, sigil inline-left of name ---------- */
.team-mono { min-height: 168px; }
.team-mono__info {
  border-top: 0;
  padding-top: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.team-mono__name {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0 6px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.team-mono__name a { color: var(--accent); }
.team-mono__sigil {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px; height: 28px;
  font-family: var(--display), 'Apple Symbols', 'Segoe UI Symbol', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--accent);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  line-height: 1;
  letter-spacing: 0;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.team-mono:hover .team-mono__sigil {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: rotate(-6deg);
}
.team-mono.is-cta .team-mono__sigil {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.2);
  color: var(--accent);
}
.team-mono.is-cta:hover .team-mono__sigil {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.team-mono__role { margin-top: 2px; }
.team-mono__meta { margin-top: 12px; flex: 1; }

/* ---------- process card (hero sidecard) ---------- */
.process-feed {
  list-style: none;
  margin: 0;
  padding: 14px 16px 12px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.process-feed li {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.06);
  opacity: 0;
  transform: translateY(12px);
  animation: process-step-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.process-feed li:last-child { border-bottom: 0; }
.process-feed li:nth-child(1) { animation-delay: 0.35s; }
.process-feed li:nth-child(2) { animation-delay: 0.50s; }
.process-feed li:nth-child(3) { animation-delay: 0.65s; }
.process-feed li:nth-child(4) { animation-delay: 0.80s; }

.process-feed__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
  padding-top: 3px;
  text-align: left;
}
.process-feed__num::before { content: "["; margin-right: 4px; opacity: 0.6; }
.process-feed__num::after  { content: "]"; margin-left: 4px;  opacity: 0.6; }

.process-feed__body h5 {
  margin: 0 0 3px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  letter-spacing: -0.005em;
  line-height: 1.1;
}
.process-feed__body p {
  margin: 0;
  font-size: 11.5px;
  color: rgba(255,255,255,0.55);
  line-height: 1.45;
}

@keyframes process-step-in {
  0%   { opacity: 0; transform: translateY(12px); }
  60%  { opacity: 1; transform: translateY(-1px); }
  100% { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .process-feed li {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---------- project-tile image (homepage works strip) ---------- */
.project-tile__media { position: relative; overflow: hidden; }
.project-tile__img {
  position: absolute;
  inset: 14px 14px 36px 14px;
  width: calc(100% - 28px);
  height: calc(100% - 50px);
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.2);
  z-index: 0;
}
.project-tile__media .bracket,
.project-tile__media__label {
  z-index: 1;
}

/* ============================================ */
/* ============ MOBILE FIXES (PASS) =========== */
/* ============================================ */

/* Stack .section-head at <=900px so the lede isn't crushed into a vertical word column.
   Affects home services preview, products showcase, services process, careers expect/hire,
   contact FAQ. */
@media (max-width: 900px) {
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .section-head .lede {
    max-width: none;
    margin: 0;
  }
}

@media (max-width: 720px) {
  /* Inline 4-col card grids (services process, careers expect/hire) → single column.
     Selecting by [style*=...] reaches the hardcoded inline templates without touching every file. */
  [style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns: repeat(4, 1fr)"] > div {
    border-right: none !important;
    border-bottom: 1px solid var(--line) !important;
  }
  [style*="grid-template-columns: repeat(4, 1fr)"] > div:last-child {
    border-bottom: none !important;
  }

  /* Inline 2-col panel grid (contact FAQ — identified by bg-elev background) → single column. */
  [style*="grid-template-columns: 1fr 1fr"][style*="var(--bg-elev)"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns: 1fr 1fr"][style*="var(--bg-elev)"] > div {
    border-right: none !important;
    border-bottom: 1px solid var(--line) !important;
  }
  [style*="grid-template-columns: 1fr 1fr"][style*="var(--bg-elev)"] > div:last-child {
    border-bottom: none !important;
  }

  /* Products page — stack columns and hide the complex desktop-only mock stages. */
  .pd-grid { grid-template-columns: 1fr !important; gap: 24px; }
  .pd-stage { display: none; }

  /* Products page stat-row: keep as 2x2 with sensible internal borders. */
  .pd-stat-row { grid-template-columns: 1fr 1fr !important; }
  .pd-stat { border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line) !important; }
  .pd-stat:nth-child(2n) { border-right: none !important; }
  .pd-stat:nth-last-child(-n+2) { border-bottom: none !important; }

  /* Careers list rows stack vertically (idx → title → meta → apply) instead of 4-col side-by-side. */
  .career-row { grid-template-columns: 1fr !important; gap: 12px; padding: 24px 0; }
  .career-row .info { flex-direction: row; flex-wrap: wrap; gap: 12px; }
  .career-row .apply { justify-self: flex-start; }

  /* Services svc-row also flattens (idx → heading → desc → tools). */
  .svc-row { grid-template-columns: 1fr !important; gap: 16px; }
  .svc-row h3 { font-size: clamp(28px, 8vw, 40px); }
  .svc-row .tools { margin-top: 8px; }

  /* Hero bottom meta on home — let it wrap and shrink. */
  .hero__bottom .meta { font-size: 10px; gap: 8px; flex-wrap: wrap; }

  /* Page-hero meta-row — wrap on small screens. */
  .meta-row { font-size: 11px; gap: 8px; flex-wrap: wrap; row-gap: 6px; }

  /* Page-hero h1 — slightly smaller cap so it doesn't dominate the viewport. */
  .page-hero h1 { font-size: clamp(40px, 11vw, 64px); line-height: 0.98; }

  /* Tighten the section-head h2 on mobile so it doesn't take the whole viewport height. */
  .section-head h2 { font-size: clamp(36px, 10vw, 56px); }

  /* Contact form layout: stack the form + side cards instead of side-by-side. */
  .contact-wrap { grid-template-columns: 1fr !important; gap: 24px; }
  .field-row { grid-template-columns: 1fr !important; gap: 12px; }
}

/* ============================================ */
/* ====== MOBILE COMPACTION (home + about) ==== */
/* ============================================ */

@media (max-width: 720px) {
  /* --- HERO -------------------------------- */

  /* Tagline cap so it doesn't dominate */
  .hero__tagline {
    font-size: clamp(40px, 13vw, 72px);
    margin: 16px 0 20px;
  }

  /* Hero bottom meta on one line, tiny mono */
  .hero__bottom { flex-wrap: wrap; gap: 10px; padding: 14px 0; }
  .hero__bottom .meta {
    font-size: 9.5px;
    gap: 6px;
    flex-wrap: nowrap;
    letter-spacing: 0.06em;
  }
  .hero__bottom .arrows button { width: 28px; height: 28px; }

  /* --- PROCESS CARD (sidecard variant) ----- */

  /* The 1:1 aspect-ratio clips the 4 steps on mobile — drop it for the process variant */
  .hero__sidecard.process-card {
    aspect-ratio: auto;
    max-width: 100%;
    min-height: 360px;
  }
  /* Slightly tighter steps so they fit and feel dense */
  .process-feed { padding: 10px 14px 8px; }
  .process-feed li { padding: 9px 0; }
  .process-feed__body h5 { font-size: 15px; }
  .process-feed__body p { font-size: 11px; line-height: 1.4; }

  /* --- BIG CTA --------------------------- */
  .big-cta__inner { padding: 32px 20px; }
  .big-cta__inner h2 { font-size: clamp(36px, 11vw, 56px); }

  /* --- ABOUT PAGE ------------------------ */

  /* Meta-row: shrink + tighten so it stays on 1–2 lines instead of 4 */
  .meta-row {
    font-size: 10px;
    gap: 6px;
    row-gap: 4px;
    letter-spacing: 0.06em;
  }

  /* About columns ([01] How we think + [02] How we work) — stack instead of cramming 2 cols */
  .about-cols {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-cols h3 { font-size: clamp(32px, 9vw, 48px); }

  /* About stat-row: keep 2x2 but tighter padding */
  .stat-row .stat { padding: 16px 14px; }
  .stat-row .val { font-size: clamp(36px, 11vw, 56px); }

  /* Team mono-grid: 2 cols (default mobile) but tighter card padding */
  .team-mono { padding: 16px 14px 14px; min-height: 0; }
  .team-mono__name { font-size: 18px; gap: 10px; }
  .team-mono__sigil { width: 24px; height: 24px; font-size: 14px; }
  .team-mono__meta { font-size: 12px; line-height: 1.4; }
  .team-mono__id { font-size: 9.5px; margin-bottom: 6px; gap: 4px; }
  .team-mono__role { font-size: 10px; }

  /* Section [03] · The Team big heading — smaller cap */
  .about-grid h2 { font-size: clamp(40px, 11vw, 64px) !important; }

  /* Page-hero (about, services, etc.) h1 cap */
  .page-hero h1 { font-size: clamp(40px, 11vw, 64px); line-height: 0.98; }
  .page-hero { padding: 28px 16px 32px; }
}

/* ============================================ */
/* ====== MOBILE — section by section ========= */
/* ============================================ */

@media (max-width: 720px) {

  /* ---------- HERO ----------
     Terminal + process card stay inside the frame, filling 100% of the column.
     We just tighten the frame's side padding so cards have room. */
  .hero { padding: 16px 12px 0; }
  .hero__frame { padding: 24px 16px 0; }
  .hero__col .terminal,
  .hero__col .hero__sidecard {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  /* ---------- PARTNERS ----------
     Hide the 5th partner on mobile so the 2-col grid completes cleanly (2+2). */
  .partners__cell:nth-child(5) { display: none; }

  /* ---------- SERVICES PREVIEW (home) ----------
     One per row, icon inline next to title; description and arrow below. */
  .services-grid { grid-template-columns: 1fr; }
  .service-card {
    padding: 20px 18px;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 14px;
    row-gap: 6px;
    border-right: none !important;
    border-bottom: 1px solid var(--line) !important;
    min-height: 0;
  }
  .service-card:last-child { border-bottom: none !important; }
  .service-card .num   { grid-column: 1 / -1; font-size: 10.5px; }
  .service-card .icon  { grid-row: 2; grid-column: 1; align-self: center; }
  .service-card h3     { grid-row: 2; grid-column: 2; margin: 0; align-self: center; font-size: 22px; line-height: 1.05; }
  .service-card p      { grid-column: 1 / -1; margin: 6px 0 0; font-size: 13px; line-height: 1.45; }
  .service-card .arrow { grid-column: 1 / -1; margin: 8px 0 0; font-size: 11px; }

  /* ---------- WORKS STRIP ----------
     Stack vertically: code on top, scrolling tiles below.
     Kill the auto-scroll on tiles and let users swipe via touch instead. */
  .works-scroll {
    display: block;
    height: auto;
  }
  .works-scroll__head { position: relative; }
  .works-scroll__code {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    height: 220px;
  }
  .works-scroll__divider { display: none; }
  .works-scroll__projects {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .works-scroll__projects::before,
  .works-scroll__projects::after { display: none; } /* drop edge gradients on mobile */
  .projects-track {
    animation: none;
    padding: 24px 16px;
    gap: 14px;
    width: auto;
  }
  .works-scroll:hover .code-stream,
  .works-scroll:hover .projects-track {
    animation-play-state: running; /* code keeps scrolling; tiles are touch-only now */
  }
  .project-tile {
    width: 280px;
    height: 340px;
    scroll-snap-align: start;
  }
  /* Tighten the image inset so it fits well in the smaller tile */
  .project-tile__img {
    inset: 12px 12px 30px 12px;
    width: calc(100% - 24px);
    height: calc(100% - 42px);
  }

  /* ---------- PRODUCTS SHOWCASE (home) ----------
     No tabs, no mock stage on mobile. Show all 4 product blocks stacked.
     The reference inline style="display:none;" gets overridden with !important. */
  .products-showcase .ps-grid { display: block; gap: 0; }
  .ps-tabs { display: none; }
  .ps-stage__chrome { display: none; }
  .ps-stage { display: block; background: transparent; border: none; }
  .ps-details { padding: 0; display: block; }
  .ps-details__copy { display: block; }
  .ps-details__block,
  .ps-details__block[style*="display:none"],
  .ps-details__block[style*="display: none"] {
    display: block !important;
    padding: 24px 20px;
    border-top: 1px solid var(--line);
    background: var(--bg-elev);
  }
  .ps-details__block:first-child { border-top: 1px solid var(--line); }
  .ps-details > .btn-cta { margin: 20px; }
}

/* ---------- products showcase preview image (homepage) ---------- */
.ps-details__img {
  display: block;
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 16px;
    border: 0px solid var(--line);
    background: transparent;
}
@media (min-width: 1101px) {
  /* On desktop, the mock stage already provides visuals; tuck the preview img small. */
  .ps-details__img {
    max-height: 0;
    margin: 0;
    border: none;
    overflow: hidden;
    border: 0px solid var(--line);
  border: 1px solid var(--line);
  background: var(--bg);
  }
}

/* ---------- team-mono sigil img (cats SVG, etc.) ---------- */
/* When the sigil holds an <img> instead of a glyph, fit it to the 28×28 tile. */
.team-mono__sigil img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* "You?" card spans both columns on mobile so it doesn't sit half-width with empty space beside it. */
@media (max-width: 1100px) {
  .team-mono.is-cta {
    grid-column: 1 / -1;
  }
}

/* ---------- footer "Book a call" link below socials ---------- */
.footer__book {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  cursor: pointer;
  transition: color .15s ease, transform .15s ease;
}
.footer__book:hover {
  color: #ff8a45;
  transform: translateX(2px);
}

/* ---------- contact form: native <select> styled like the inputs ---------- */
.contact-form select.select {
  appearance: none;
  -webkit-appearance: none;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  color: var(--fg);
  padding: 12px 36px 12px 14px;
  border-radius: 6px;
  font: inherit;
  font-family: var(--sans);
  width: 100%;
  background-image: linear-gradient(45deg, transparent 50%, var(--fg) 50%),
                    linear-gradient(135deg, var(--fg) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
}
.contact-form select.select:focus { outline: 2px solid var(--accent); }

/* ---------- smooth anchor scrolling (e.g. contact header CTA → #form) ---------- */
html { scroll-behavior: smooth; }
/* Header is sticky and ~84px tall — offset anchored sections so they don't hide under it */
[id="form"], [id="meet"] { scroll-margin-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---------- work detail · hero with cover image right of title ---------- */
.work-hero__grid {
  display: grid;
  grid-template-columns: 1.7fr minmax(240px, 0.9fr);
  gap: 56px;
  align-items: center;
  padding-top: 28px;
}
.work-hero__cover {
  aspect-ratio: 4 / 3;
  max-width: 380px;
  justify-self: end;
  width: 100%;
  /* Transparent PNGs are uploaded — no background, no border, no chrome around the image. */
  background: transparent;
  border: none;
  border-radius: 0;
}
.work-hero__cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
/* High-specificity override of .page-hero h1 (clamp(72-200px, uppercase)) */
.page-hero.work-hero h1.work-hero__title {
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.04;
  margin: 14px 0 16px;
  letter-spacing: -0.01em;
  text-transform: none;
  font-weight: 800;
}
.work-hero__body .eyebrow { display: inline-block; }
@media (max-width: 900px) {
  .work-hero__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  /* Text first, then image on mobile so the title reads first */
  .work-hero__body { order: 1; }
  .work-hero__cover {
    order: 2;
    justify-self: start;
    max-width: 320px;
  }
  .page-hero.work-hero h1.work-hero__title {
    font-size: clamp(28px, 7vw, 42px);
  }
}

/* ---------- work drawer · per-entry display + image area + nav buttons ---------- */
.work-drawer__entry { display: none; }
.work-drawer__entry.is-default { display: block; }

.work-drawer__img {
  margin: 0 0 24px;
  display: grid;
  place-items: center;
}
.work-drawer__img img {
  max-width: 100%;
  max-height: 320px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.work-drawer__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0 0;
}
.work-drawer__chips .chip {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}

.work-drawer__desc {
  margin-top: 28px;
  color: var(--fg-soft);
  font-size: 15.5px;
  line-height: 1.6;
}
.work-drawer__desc p { margin: 0 0 1em; }

.work-drawer__gallery {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.work-drawer__gallery figure { margin: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.work-drawer__gallery img { width: 100%; display: block; }

.work-drawer__cta { margin-top: 32px; }

.work-drawer__nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.work-drawer__navbtn {
  width: 36px; height: 36px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  display: grid; place-items: center;
  cursor: pointer;
  color: var(--fg);
  transition: all .15s ease;
}
.work-drawer__navbtn:hover:not(:disabled) {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.work-drawer__navbtn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

@media (max-width: 600px) {
  .work-drawer__gallery { grid-template-columns: 1fr; }
}

/* ---------- works list · proper mobile grid (fixes 12-col template at small widths) ---------- */
@media (max-width: 1100px) {
  .works-list {
    grid-template-columns: 1fr 1fr;
  }
  .work-item,
  .work-item.wide {
    grid-column: span 1;
  }
}
@media (max-width: 720px) {
  .works-list {
    grid-template-columns: 1fr;
  }
  .work-item,
  .work-item.wide {
    grid-column: span 1;
  }
  .work-item__media {
    height: 220px;
  }
  .work-item__info h3 { font-size: 22px; }

  /* Drawer panel: full width on phones, tighter inner padding */
  .work-drawer__panel { width: 100%; }
  .work-drawer__head { padding: 14px 18px; }
  .work-drawer__body { padding: 20px 18px 64px; }
  .work-drawer h2 { font-size: clamp(28px, 8vw, 40px); line-height: 1.04; }
  .work-drawer__img img { max-height: 220px; }
  .work-drawer__gallery { grid-template-columns: 1fr; }
}
