/* =========================================================
   Rinks Software — Apple-inspired design system
   ========================================================= */

:root {
  --bg: #000;
  --bg-elev: #0a0a0d;
  --bg-alt: #0f1013;
  --surface: #16171b;
  --surface-2: #1c1e24;
  --border: #23252d;
  --border-strong: #3a3d47;
  --text: #f5f5f7;
  --text-dim: #a1a1a6;
  --text-mute: #6e6e73;
  --accent: #2997ff;      /* Apple blue */
  --accent-2: #78b8ff;
  --accent-soft: rgba(41, 151, 255, 0.14);
  --ok: #30d158;
  --warn: #ff9f0a;
  --danger: #ff453a;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 44px;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 44px);

  /* Apple's actual system stack — SF Pro renders on Apple devices,
     Inter is the closest fallback for everyone else. */
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; background: var(--bg); }

body {
  font-family: var(--font-text);
  color: var(--text);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern", "liga", "calt", "ss01";
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--accent); color: #fff; }

.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--accent); color: #fff;
  padding: 8px 14px; border-radius: 8px;
  font-weight: 600;
}
.skip-link:focus { left: 8px; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}

.mono { font-family: var(--font-mono); font-size: 0.92em; letter-spacing: -0.005em; }
.dim  { color: var(--text-dim); }

.grad {
  background: linear-gradient(180deg, #78b8ff 0%, #a891ff 60%, #ff88c8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* =========================================================
   Typography — Apple-scale
   ========================================================= */

.hero__title,
.section-lg-title,
.storytelling__title,
.contact__title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.03;
  margin: 0;
}

.eyebrow-lg {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--accent);
  letter-spacing: -0.005em;
  margin: 0 0 18px;
}

/* =========================================================
   Header
   ========================================================= */

.site-header {
  position: sticky; top: 0; z-index: 50;
  height: 48px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.site-header__inner {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 22px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  letter-spacing: -0.005em;
}
.brand__mark { display: inline-flex; }
.site-nav {
  display: flex; gap: 26px;
  margin-left: 8px;
}
.site-nav a {
  color: var(--text);
  font-size: 12.5px;
  font-weight: 400;
  opacity: 0.85;
  transition: opacity 0.15s;
}
.site-nav a:hover { opacity: 1; }
.site-header__cta { margin-left: auto; }

.nav-toggle {
  display: none;
  width: 36px; height: 36px;
  background: transparent; border: 0; padding: 0;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; margin-left: auto;
}
.nav-toggle span { display: block; width: 18px; height: 1px; background: var(--text); transition: transform 0.2s, opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

/* =========================================================
   Buttons — Apple pill style
   ========================================================= */

.pill-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: -0.005em;
  transition: background 0.15s, color 0.15s, transform 0.1s, box-shadow 0.15s;
  border: none;
  white-space: nowrap;
}
.pill-btn__arrow { display: inline-block; transition: transform 0.2s ease; }
.pill-btn:hover .pill-btn__arrow { transform: translateX(3px); }

.pill-btn--primary {
  background: var(--accent);
  color: #fff;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 500;
}
.pill-btn--primary:hover { background: #147ce5; }

.pill-btn--ghost {
  background: transparent;
  color: var(--accent);
  padding: 12px 22px;
  font-size: 15px;
  border: 1px solid var(--accent);
}
.pill-btn--ghost:hover { background: var(--accent); color: #fff; }

.pill-btn--block { width: 100%; justify-content: center; padding: 14px 22px; }

/* Header CTA — smaller pill */
.site-header__cta .pill-btn {
  background: var(--accent);
  color: #fff;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  padding: clamp(60px, 8vw, 120px) 0 clamp(40px, 6vw, 80px);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 60% 40% at 60% 20%, rgba(41,151,255,0.12), transparent 65%),
    #000;
}
.hero__glow {
  position: absolute;
  inset: -20% 40% auto -10%;
  height: 60vh;
  background: radial-gradient(closest-side, rgba(78,120,255,0.35), transparent 70%);
  filter: blur(60px);
  z-index: -1;
  animation: heroDrift 20s ease-in-out infinite;
}
@keyframes heroDrift {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(30px, -20px); }
}
.hero__wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(30px, 6vw, 80px);
}
.hero__eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  color: var(--accent);
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}
.hero__title {
  font-size: clamp(48px, 8vw, 108px);
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin: 0 0 28px;
  font-weight: 700;
}
.hero__lede {
  font-family: var(--font-text);
  font-size: clamp(17px, 1.6vw, 21px);
  color: var(--text-dim);
  max-width: 520px;
  margin: 0 0 36px;
  line-height: 1.45;
  font-weight: 400;
}
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero visual slots — phone and workflow alternate on a loop */
.hero__device {
  position: relative;
  width: min(340px, 100%);
  aspect-ratio: 340 / 690;
  margin: 0 auto;
}
.hero-slot {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: opacity, transform;
}
.hero-slot--phone {
  animation: heroSwapPhone 14s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
.hero-slot--workflow {
  animation: heroSwapWorkflow 14s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
@keyframes heroSwapPhone {
  0%, 42%   { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); }
  50%       { opacity: 0; transform: scale(0.94) translateY(10px); filter: blur(6px); }
  92%       { opacity: 0; transform: scale(0.94) translateY(10px); filter: blur(6px); }
  100%      { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); }
}
@keyframes heroSwapWorkflow {
  0%, 42%   { opacity: 0; transform: scale(0.94) translateY(10px); filter: blur(6px); }
  50%       { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); }
  92%       { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); }
  100%      { opacity: 0; transform: scale(0.94) translateY(10px); filter: blur(6px); }
}
.workflow-frame {
  width: 100%;
  height: 100%;
  border-radius: 40px;
  overflow: hidden;
  background: #0a0b0f;
  border: 1px solid #22252d;
  box-shadow:
    0 40px 80px -30px rgba(0,0,0,0.9),
    0 20px 40px -20px rgba(41,151,255,0.2),
    inset 0 1px 0 rgba(255,255,255,0.03);
  position: relative;
  animation: workflowFloat 7s ease-in-out infinite;
}
@keyframes workflowFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.workflow { width: 100%; height: 100%; display: block; }

/* =========================================================
   Device (iPhone) — realistic frame
   ========================================================= */

.device-shell {
  position: relative;
  width: min(340px, 100%);
  aspect-ratio: 340 / 690;
  margin: 0 auto;
}
.device-shell--float {
  animation: floatY 6s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
.iphone {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
}
.dynamic-island {
  position: absolute;
  top: 2.9%;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 4.2%;
  background: #000;
  border-radius: 999px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 12%;
}
.dynamic-island__cam {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #2a3040, #000);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04);
}
.device-screen {
  position: absolute;
  top: 2.1%; left: 4.4%; right: 4.4%; bottom: 2.1%;
  border-radius: 44px;
  overflow: hidden;
  background: #000;
  z-index: 2;
  isolation: isolate;
}
.device-screen--stack .device-screen__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.storytelling__phone[data-active-story="0"] .device-screen__slide[data-story-index="0"],
.storytelling__phone[data-active-story="1"] .device-screen__slide[data-story-index="1"],
.storytelling__phone[data-active-story="2"] .device-screen__slide[data-story-index="2"],
.storytelling__phone[data-active-story="3"] .device-screen__slide[data-story-index="3"],
.storytelling__phone[data-active-story="4"] .device-screen__slide[data-story-index="4"] {
  opacity: 1; transform: scale(1); pointer-events: auto;
}

/* =========================================================
   Screen — shared base + status bar + tabbar
   ========================================================= */

.screen {
  position: absolute; inset: 0;
  color: #111;
  display: flex; flex-direction: column;
  font-family: var(--font-text);
  font-size: 12px;
  line-height: 1.35;
}
.statusbar {
  height: 42px;
  padding: 0 22px 0 22px;
  display: flex; align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 6px;
  color: inherit;
  z-index: 4;
}
.statusbar__time { font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: -0.005em; }
.statusbar__icons { display: flex; gap: 5px; align-items: center; }

.tabbar {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-around;
  padding: 8px 0 22px;
  border-top: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(20px);
  color: #8e8e93;
  font-size: 10px;
  font-family: var(--font-display);
  font-weight: 500;
}
.tab { display: flex; flex-direction: column; align-items: center; gap: 3px; position: relative; }
.tab--on { color: #000; }
.tab--cart .tab__badge {
  position: absolute; top: -4px; right: -8px;
  background: #ff3b30; color: #fff;
  font-size: 9px; font-weight: 700;
  padding: 1px 5px;
  border-radius: 999px;
  min-width: 15px;
  text-align: center;
  line-height: 1.2;
}

.app { flex: 1; overflow: hidden; display: flex; flex-direction: column; }
.app__topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 18px 12px;
}
.app__topbar--brand { padding: 6px 18px 14px; }
.app__topbar--dark  { background: #0f1116; }
.app__loc { display: flex; flex-direction: column; }
.app__loc-label { font-size: 10px; color: #8e8e93; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 500; }
.app__loc-place { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: #111; letter-spacing: -0.01em; }
.app__title-lg  { font-family: var(--font-display); font-weight: 700; font-size: 21px; color: #111; letter-spacing: -0.02em; margin-top: 2px; }
.app__topbar--dark .app__title-lg,
.app__topbar--dark .app__loc-place { color: #fff; }
.app__topbar--dark .app__loc-label { color: #98989d; }
.app__avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, #ff8a4c, #c8386a);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 12px;
  font-family: var(--font-display);
}
.app__pill {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,0.06);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  color: #111;
}
.app__pill--dark { background: rgba(255,255,255,0.1); color: #fff; }
.app__section { padding: 4px 18px 10px; }
.app__section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: #111;
  letter-spacing: -0.01em;
}
.app__more { color: #007aff; font-size: 12px; font-weight: 500; }

/* =========================================================
   Screen — RinksEats (Uber Eats clone)
   ========================================================= */

.screen--rinkseats { background: #f7f7f9; }
.app--rinkseats .app__topbar { padding-top: 6px; }
.app--rinkseats .app__search {
  margin: 4px 18px 12px;
  padding: 11px 14px;
  background: #ececef;
  border-radius: 14px;
  display: flex; align-items: center; gap: 8px;
  color: #6e6e73; font-size: 13px;
}
.app--rinkseats .app__chips {
  display: flex; gap: 6px; padding: 0 18px 12px;
  overflow-x: hidden;
  flex-wrap: nowrap;
}
.app--rinkseats .chip {
  padding: 6px 12px;
  border-radius: 999px;
  background: #ececef;
  color: #333;
  font-size: 12px;
  font-weight: 500;
  font-family: var(--font-display);
  white-space: nowrap;
}
.app--rinkseats .chip--on { background: #111; color: #fff; }
.app--rinkseats .app__hero { padding: 0 18px 14px; }
.hero-card {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  height: 96px;
}
.hero-card__bg { position: absolute; inset: 0; }
.hero-card__body {
  position: absolute; inset: auto 0 0 0;
  padding: 12px 14px;
  color: #fff;
  display: flex; flex-direction: column;
}
.hero-card__eyebrow { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.9; font-weight: 600; }
.hero-card__title { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -0.015em; margin-top: 2px; }

.restaurants { display: flex; flex-direction: column; gap: 10px; }
.rest {
  display: flex; gap: 10px;
  padding: 8px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.rest__img { width: 60px; height: 60px; border-radius: 10px; flex-shrink: 0; }
.rest__img--a { background: linear-gradient(135deg, #ffbe6a, #ff5a5f); }
.rest__img--b { background: linear-gradient(135deg, #ff8a4c, #c8386a); }
.rest__img--c { background: linear-gradient(135deg, #4ec3ff, #2977ff); }
.rest__body { display: flex; flex-direction: column; justify-content: center; gap: 3px; }
.rest__name { font-family: var(--font-display); font-weight: 600; font-size: 13px; color: #111; letter-spacing: -0.005em; }
.rest__meta { font-size: 11px; color: #6e6e73; }

/* =========================================================
   Screen — LawnPlan
   ========================================================= */

.screen--lawnplan { background: #eef7ee; }
.screen--lawnplan .app__title-lg { color: #1c3628; }
.screen--lawnplan .app__pill { background: rgba(28, 54, 40, 0.08); color: #1c3628; }
.lp-hero {
  margin: 0 18px 14px;
  padding: 16px;
  background: linear-gradient(135deg, #2d5f3f 0%, #1c3628 100%);
  color: #fff;
  border-radius: 16px;
}
.lp-hero__eyebrow { font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; opacity: 0.7; font-weight: 600; }
.lp-hero__title { display: block; font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.015em; margin: 6px 0 10px; line-height: 1.15; }
.lp-hero__meta { display: flex; align-items: center; gap: 8px; font-size: 11px; opacity: 0.85; }
.lp-hero__dot { width: 3px; height: 3px; background: #fff; border-radius: 50%; opacity: 0.6; }
.lp-chart {
  display: flex; align-items: flex-end; justify-content: space-between;
  height: 76px;
  gap: 4px;
  padding: 0 4px;
}
.lp-chart__bar {
  flex: 1;
  background: linear-gradient(180deg, #4c9d68, #2d5f3f);
  border-radius: 5px 5px 2px 2px;
  min-height: 6px;
}
.lp-tasks { display: flex; flex-direction: column; gap: 8px; }
.lp-task {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  background: #fff;
  border-radius: 12px;
}
.lp-task__ring {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid;
  flex-shrink: 0;
}
.lp-task__ring--a { border-color: #4c9d68; background: rgba(76,157,104,0.15); }
.lp-task__ring--b { border-color: #f0a545; background: rgba(240,165,69,0.15); }
.lp-task__ring--c { border-color: #6a8fd6; background: rgba(106,143,214,0.15); }
.lp-task__body { display: flex; flex-direction: column; gap: 2px; }
.lp-task__title { font-family: var(--font-display); font-weight: 600; font-size: 13px; color: #1c3628; letter-spacing: -0.005em; }
.lp-task__meta  { font-size: 10.5px; color: #6e7d70; }

/* =========================================================
   Screen — ValetShield
   ========================================================= */

.screen--valetshield { background: #0f1116; color: #f5f5f7; }
.screen--valetshield .app__section-head { color: #f5f5f7; }
.vs-ticket {
  margin: 0 18px 14px;
  padding: 16px;
  background: linear-gradient(160deg, #1c1e26 0%, #101116 100%);
  border-radius: 16px;
  border: 1px solid #22252d;
}
.vs-ticket__head {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #8e8e93;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.vs-ticket__status { color: #30d158; }
.vs-ticket__car {
  margin: 8px 0 12px;
  display: flex; flex-direction: column; gap: 2px;
}
.vs-ticket__make { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: #f5f5f7; letter-spacing: -0.015em; }
.vs-ticket__color { font-size: 11px; color: #98989d; }
.vs-photos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  margin-bottom: 12px;
}
.vs-photo {
  aspect-ratio: 1;
  border-radius: 6px;
  background: linear-gradient(135deg, #2a3040, #191c26);
  position: relative;
  overflow: hidden;
}
.vs-photo span {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(120,184,255,0.35), transparent 70%);
}
.vs-ticket__qr {
  display: flex; align-items: center; gap: 12px;
  padding: 10px;
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
}
.vs-ticket__qr-body { display: flex; flex-direction: column; gap: 2px; }
.vs-ticket__qr-body > span:first-child { font-family: var(--font-display); font-weight: 600; font-size: 12px; color: #f5f5f7; }
.vs-ticket__qr-time { font-size: 10.5px; color: #98989d; }
.vs-queue { display: flex; flex-direction: column; gap: 6px; }
.vs-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #16181f;
  border-radius: 10px;
  border: 1px solid #22252d;
  font-size: 11.5px;
}
.vs-row__num { font-family: var(--font-mono); color: #98989d; }
.vs-row__meta { color: #f5f5f7; }
.vs-row__cta { color: #2997ff; font-weight: 600; font-family: var(--font-display); font-size: 11px; }

/* =========================================================
   Screen — ScanMenu
   ========================================================= */

.screen--scanmenu { background: #fff8f0; }
.sm-header {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 18px 12px;
}
.sm-header__logo {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, #d97748, #a5451f);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  letter-spacing: -0.02em;
}
.sm-header__eyebrow { font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: #a5451f; font-weight: 600; display: block; }
.sm-header__title { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: #3a1e10; letter-spacing: -0.02em; }
.sm-tabs {
  display: flex; gap: 8px;
  padding: 0 18px 10px;
  border-bottom: 1px solid rgba(165,69,31,0.15);
}
.sm-tab {
  padding: 6px 4px;
  font-family: var(--font-display); font-weight: 500;
  font-size: 12px; color: #8a6b58;
}
.sm-tab--on { color: #3a1e10; border-bottom: 2px solid #d97748; padding-bottom: 8px; margin-bottom: -1px; }
.sm-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(165,69,31,0.08);
}
.sm-item__img { width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0; }
.sm-item__img--a { background: linear-gradient(135deg, #ffbe6a, #d97748); }
.sm-item__img--b { background: linear-gradient(135deg, #d97748, #7a2d12); }
.sm-item__img--c { background: linear-gradient(135deg, #ffdb6a, #d97748); }
.sm-item__img--d { background: linear-gradient(135deg, #ff7a5c, #a5451f); }
.sm-item__body { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.sm-item__name { font-family: var(--font-display); font-weight: 600; font-size: 13px; color: #3a1e10; letter-spacing: -0.005em; }
.sm-item__desc { font-size: 11px; color: #8a6b58; }
.sm-item__price { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: #3a1e10; }

/* =========================================================
   Screen — MarbleOpen
   ========================================================= */

.screen--marbleopen { background: #f5f2ea; }
.screen--marbleopen .app__title-lg { color: #2a2419; }
.mo-pill { background: #30d158 !important; color: #fff !important; }
.mo-pill::before {
  content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: #fff; margin-right: 6px; vertical-align: middle;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{ opacity: 1; } 50%{ opacity: 0.4; } }
.mo-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0 18px 16px;
}
.mo-stat {
  background: #fff;
  border-radius: 14px;
  padding: 12px;
  text-align: center;
  border: 1px solid rgba(42,36,25,0.06);
}
.mo-stat__num { display: block; font-family: var(--font-display); font-weight: 700; font-size: 22px; color: #2a2419; letter-spacing: -0.02em; }
.mo-stat__label { display: block; font-size: 10px; color: #7a6f5c; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; margin-top: 2px; }
.mo-leads { display: flex; flex-direction: column; gap: 8px; }
.mo-lead {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(42,36,25,0.05);
}
.mo-lead__avatar {
  width: 32px; height: 32px; border-radius: 50%;
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 12px;
  flex-shrink: 0;
}
.mo-lead__avatar--a { background: linear-gradient(135deg, #5cb85c, #2a7a3f); }
.mo-lead__avatar--b { background: linear-gradient(135deg, #d97748, #7a2d12); }
.mo-lead__avatar--c { background: linear-gradient(135deg, #d17fff, #6b3fbf); }
.mo-lead__avatar--d { background: linear-gradient(135deg, #4ec3ff, #2977ff); }
.mo-lead__body { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.mo-lead__name { font-family: var(--font-display); font-weight: 600; font-size: 13px; color: #2a2419; letter-spacing: -0.005em; }
.mo-lead__note { font-size: 10.5px; color: #7a6f5c; }
.mo-lead__cta { color: #2977ff; font-weight: 600; font-size: 11px; font-family: var(--font-display); }

/* =========================================================
   Screen — SEA Pro
   ========================================================= */

.screen--seapro { background: #101334; color: #f5f5f7; }
.screen--seapro .app__title-lg { color: #fff; }
.screen--seapro .app__loc-label { color: #a891ff; }
.screen--seapro .app__section-head { color: #f5f5f7; }
.sp-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, #ff88c8, #a891ff);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 12px;
  font-family: var(--font-display);
}
.sp-hero {
  margin: 0 18px 14px;
  padding: 16px;
  background: linear-gradient(135deg, #6b3fbf 0%, #a891ff 100%);
  border-radius: 16px;
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  color: #fff;
}
.sp-hero__eyebrow { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; opacity: 0.8; font-weight: 600; }
.sp-hero__title { display: block; font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.015em; margin-top: 4px; }
.sp-ring { position: relative; display: flex; align-items: center; justify-content: center; }
.sp-ring__num { position: absolute; font-family: var(--font-display); font-weight: 700; font-size: 14px; color: #fff; }
.sp-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.sp-tile {
  padding: 14px 12px;
  border-radius: 14px;
  display: flex; flex-direction: column; gap: 6px;
  color: #fff;
}
.sp-tile--a { background: linear-gradient(135deg, #2977ff, #1a4fb0); }
.sp-tile--b { background: linear-gradient(135deg, #d17fff, #6b3fbf); }
.sp-tile--c { background: linear-gradient(135deg, #ff88c8, #c8386a); }
.sp-tile--d { background: linear-gradient(135deg, #4ec3ff, #2977ff); }
.sp-tile__name { font-family: var(--font-display); font-weight: 600; font-size: 12.5px; letter-spacing: -0.005em; }
.sp-tile__meta { font-family: var(--font-mono); font-size: 11px; opacity: 0.9; }
.sp-cta {
  margin: 12px 18px 16px;
  padding: 12px 16px;
  background: #fff;
  color: #101334;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  letter-spacing: -0.005em;
}

/* =========================================================
   Marquee strip
   ========================================================= */

.strip {
  padding: 22px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-elev);
}
.strip__row {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 12px 22px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--text-mute);
}
.strip .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); opacity: 0.7; }

/* =========================================================
   Storytelling — pinned scroll section
   ========================================================= */

.storytelling {
  background: var(--bg);
  padding-top: clamp(60px, 8vw, 120px);
  position: relative;
}
.storytelling__intro {
  text-align: center;
  padding-bottom: clamp(40px, 5vw, 80px);
}
.section-lg-title {
  font-size: clamp(40px, 6vw, 88px);
  letter-spacing: -0.04em;
  line-height: 1;
  font-weight: 700;
  margin: 0;
}
.storytelling__scroll { position: relative; }
.storytelling__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.storytelling__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 5vw, 80px);
  align-items: center;
  width: 100%;
}
.storytelling__copies {
  position: relative;
  min-height: 340px;
}
.storytelling__copy {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.storytelling[data-active-story="0"] .storytelling__copy[data-story-index="0"],
.storytelling[data-active-story="1"] .storytelling__copy[data-story-index="1"],
.storytelling[data-active-story="2"] .storytelling__copy[data-story-index="2"],
.storytelling[data-active-story="3"] .storytelling__copy[data-story-index="3"],
.storytelling[data-active-story="4"] .storytelling__copy[data-story-index="4"] {
  opacity: 1; transform: translateY(0); pointer-events: auto;
}
.storytelling__title {
  font-size: clamp(32px, 4.4vw, 56px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 18px;
  font-weight: 700;
}
.storytelling__body {
  font-size: clamp(15px, 1.4vw, 19px);
  color: var(--text-dim);
  max-width: 500px;
  line-height: 1.5;
  margin: 0 0 24px;
}
.storytelling__link {
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  display: inline-flex; align-items: center; gap: 5px;
}
.storytelling__link span { transition: transform 0.2s; }
.storytelling__link:hover span { transform: translateX(4px); }

.storytelling__phone {
  display: flex; flex-direction: column; align-items: center; gap: 24px;
}
.storytelling__dots {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; gap: 8px;
}
.storytelling__dots li {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--border-strong);
  transition: background 0.3s, transform 0.3s;
}
.storytelling[data-active-story="0"] .storytelling__dots li[data-story-index="0"],
.storytelling[data-active-story="1"] .storytelling__dots li[data-story-index="1"],
.storytelling[data-active-story="2"] .storytelling__dots li[data-story-index="2"],
.storytelling[data-active-story="3"] .storytelling__dots li[data-story-index="3"],
.storytelling[data-active-story="4"] .storytelling__dots li[data-story-index="4"] {
  background: var(--accent);
  transform: scale(1.4);
}

/* =========================================================
   Enterprise — BusinessObjects Mac window
   ========================================================= */

.enterprise {
  padding: clamp(80px, 10vw, 160px) 0;
  background: linear-gradient(180deg, #000 0%, #06080f 40%, #000 100%);
  position: relative;
  overflow: hidden;
}
.enterprise::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(41,151,255,0.08), transparent 70%);
  pointer-events: none;
}
.enterprise__head {
  text-align: center;
  margin: 0 auto clamp(40px, 5vw, 80px);
  max-width: 900px;
  position: relative;
}
.enterprise__lede {
  font-size: 19px;
  color: var(--text-dim);
  max-width: 640px;
  margin: 20px auto 0;
  line-height: 1.5;
}

.mac-window {
  max-width: 1140px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  background: #0d0f14;
  border: 1px solid #22252d;
  box-shadow:
    0 60px 120px -40px rgba(0,0,0,0.9),
    0 30px 60px -20px rgba(41,151,255,0.15),
    0 0 0 1px rgba(255,255,255,0.02) inset;
  position: relative;
}
.mac-window__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: linear-gradient(180deg, #1c1e24, #131519);
  border-bottom: 1px solid #22252d;
}
.mac-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.mac-dot--red    { background: #ff5f57; }
.mac-dot--yellow { background: #febc2e; }
.mac-dot--green  { background: #28c840; }
.mac-window__title {
  flex: 1;
  text-align: center;
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--text-mute);
  letter-spacing: -0.005em;
}

.mac-window__body {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 500px;
}
.mac-window__side {
  padding: 18px 12px;
  background: #0a0b0f;
  border-right: 1px solid #1a1c22;
  display: flex; flex-direction: column; gap: 3px;
}
.mac-nav {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--text-dim);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  cursor: default;
  display: flex; align-items: center; justify-content: space-between;
}
.mac-nav:hover { background: rgba(255,255,255,0.03); }
.mac-nav--on { background: rgba(41,151,255,0.14); color: var(--accent); }
.mac-tag { font-family: var(--font-mono); font-size: 11px; opacity: 0.7; }

.mac-window__main {
  padding: 24px;
  display: flex; flex-direction: column;
  gap: 20px;
}
.mw-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mw-stat {
  background: #14161c;
  border: 1px solid #22252d;
  border-radius: 12px;
  padding: 16px;
  display: flex; flex-direction: column; gap: 8px;
}
.mw-stat__label { font-size: 11px; color: var(--text-mute); text-transform: uppercase; letter-spacing: 0.1em; font-family: var(--font-display); font-weight: 500; }
.mw-stat__num {
  font-family: var(--font-display); font-weight: 700;
  font-size: 26px; color: var(--text); letter-spacing: -0.02em;
}
.mw-stat__unit { font-weight: 400; color: var(--text-mute); font-size: 15px; }
.mw-bar {
  height: 5px; background: rgba(255,255,255,0.05);
  border-radius: 999px; overflow: hidden;
}
.mw-bar__fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: 999px; }
.mw-bar__fill--b { background: linear-gradient(90deg, #a891ff, #d17fff); }
.mw-bar__fill--c { background: linear-gradient(90deg, #30d158, #4cd97a); }

.mw-chart {
  background: #14161c;
  border: 1px solid #22252d;
  border-radius: 12px;
  padding: 16px;
}
.mw-chart__head {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-display); font-weight: 500;
  font-size: 13px; color: var(--text-dim);
  margin-bottom: 12px;
}
.mw-legend { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--text-mute); }
.mw-legend__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); }
.mw-svg { width: 100%; height: 200px; }

.mw-table {
  background: #14161c;
  border: 1px solid #22252d;
  border-radius: 12px;
  overflow: hidden;
}
.mw-table__head, .mw-table__row {
  display: grid;
  grid-template-columns: 2fr 1.4fr 1fr 1fr;
  gap: 16px;
  padding: 12px 18px;
  font-size: 13px;
  align-items: center;
}
.mw-table__head {
  background: #101216;
  border-bottom: 1px solid #22252d;
  color: var(--text-mute);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.mw-table__row { border-bottom: 1px solid rgba(255,255,255,0.03); color: var(--text); }
.mw-table__row:last-child { border-bottom: 0; }
.mw-status {
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  justify-self: start;
}
.mw-status--ok  { color: #30d158; background: rgba(48,209,88,0.14); }
.mw-status--wip { color: #ff9f0a; background: rgba(255,159,10,0.14); }
.mw-status--go  { color: var(--accent); background: rgba(41,151,255,0.14); }

/* =========================================================
   Services
   ========================================================= */

.section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.section--alt { background: #060709; }
.section-head { max-width: 900px; margin: 0 auto clamp(50px, 6vw, 80px); text-align: center; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service {
  padding: 32px;
  background: linear-gradient(180deg, #17181d, #0f1013);
  border: 1px solid #22252d;
  border-radius: 22px;
  display: flex; flex-direction: column;
  gap: 20px;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s;
}
.service:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.service__head { display: flex; flex-direction: column; gap: 10px; }
.service__num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.service__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
  margin: 0;
}
.service__body { color: var(--text-dim); font-size: 15px; margin: 0; line-height: 1.5; }
.service__bullets { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-direction: column; gap: 8px; }
.service__bullets li {
  padding-left: 20px;
  position: relative;
  font-size: 14px;
  color: var(--text);
}
.service__bullets li::before {
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 12px; height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 2px;
}

/* =========================================================
   Process
   ========================================================= */

.process {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.process__step {
  background: linear-gradient(180deg, #17181d, #0f1013);
  border: 1px solid #22252d;
  border-radius: 22px;
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 12px;
  min-height: 220px;
}
.process__num {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.process__title { font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: -0.015em; margin: 0; }
.process__body { color: var(--text-dim); font-size: 14.5px; margin: 0; line-height: 1.5; }

/* =========================================================
   Industries
   ========================================================= */

.industries {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.industry {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  font-size: 15px;
  transition: border-color 0.2s, background 0.2s;
}
.industry:hover { border-color: var(--border-strong); background: var(--surface-2); }
.industry__bar {
  width: 3px; height: 22px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  border-radius: 2px;
  flex-shrink: 0;
}

/* =========================================================
   Capabilities
   ========================================================= */

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cap {
  padding: 32px;
  background: linear-gradient(180deg, #17181d, #0f1013);
  border: 1px solid #22252d;
  border-radius: 22px;
  display: flex; flex-direction: column;
  gap: 14px;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s;
}
.cap:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.cap__eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.cap__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
  margin: 0;
}
.cap__body {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}

/* =========================================================
   Contact
   ========================================================= */

.contact-section {
  padding: clamp(80px, 10vw, 140px) 0;
  background:
    radial-gradient(ellipse 60% 40% at 80% 30%, rgba(41,151,255,0.14), transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 70%, rgba(168,145,255,0.10), transparent 60%),
    #06080f;
  border-top: 1px solid var(--border);
}
.contact {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.contact__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 42px);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 20px;
}
.contact__lede { font-size: 18px; color: var(--text-dim); margin: 0 0 32px; line-height: 1.45; }
.contact__list {
  list-style: none; padding: 0; margin: 0;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex; flex-direction: column;
  gap: 14px;
}
.contact__list li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  font-size: 15px;
  color: var(--text-dim);
}
.contact__list strong {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  font-weight: 600;
  align-self: center;
}
.contact__form {
  background: linear-gradient(180deg, #14161c, #0d0f14);
  border: 1px solid #22252d;
  border-radius: 22px;
  padding: 36px;
  display: flex; flex-direction: column; gap: 16px;
}
.form-row { display: flex; gap: 16px; }
.form-row > * { flex: 1; }
.field { display: flex; flex-direction: column; gap: 8px; font-family: var(--font-display); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-dim); font-weight: 500; }
.field input, .field select, .field textarea {
  background: rgba(0,0,0,0.4);
  border: 1px solid #2a2d35;
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--text);
  font-family: var(--font-text);
  font-size: 15px;
  letter-spacing: -0.005em;
  text-transform: none;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23a1a1a6' d='M5 6 0 0h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 40px;
}
.form-note { color: var(--text-mute); font-size: 12.5px; margin: 0; text-align: center; }
.form-errors {
  background: rgba(255,69,58,0.08);
  border: 1px solid rgba(255,69,58,0.3);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--danger);
  font-size: 14px;
}
.form-errors p { margin: 0; }
.hp { position: absolute; left: -9999px; top: -9999px; height: 0; width: 0; overflow: hidden; }

.flash-stack { padding-top: 24px; display: flex; flex-direction: column; gap: 8px; }
.flash { padding: 12px 16px; border-radius: 10px; font-size: 14px; border: 1px solid var(--border); }
.flash--error { color: var(--danger); border-color: rgba(255,69,58,0.4); background: rgba(255,69,58,0.06); }

/* =========================================================
   Page hero (interior pages)
   ========================================================= */

.page-hero {
  padding: clamp(80px, 10vw, 140px) 0 clamp(40px, 5vw, 70px);
  position: relative;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(41,151,255,0.12), transparent 65%),
    #000;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.page-hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 5.4vw, 68px);
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 12px auto 16px;
  max-width: 900px;
}
.page-hero__lede {
  font-size: clamp(17px, 1.5vw, 21px);
  color: var(--text-dim);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.5;
}
.page-hero--detail { text-align: left; }
.page-hero--detail .page-hero__title,
.page-hero--detail .page-hero__lede { margin-left: 0; margin-right: 0; }

/* Detail page */
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: start;
}
.detail-visual {
  border-radius: 22px; overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 36px; background: var(--surface);
}
.detail-visual svg { width: 100%; height: auto; display: block; }
.prose { font-size: 17px; line-height: 1.65; }
.prose p { margin: 0 0 18px; color: var(--text-dim); }
.detail-meta, .detail-cta {
  background: linear-gradient(180deg, #17181d, #0f1013);
  border: 1px solid #22252d;
  border-radius: 20px; padding: 24px;
}
.detail-meta dl { display: grid; grid-template-columns: 100px 1fr; gap: 12px 18px; margin: 0; font-size: 14px; }
.detail-meta dt { font-family: var(--font-display); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-mute); font-weight: 600; }
.detail-meta dd { margin: 0; color: var(--text); }
.detail-meta h3, .detail-cta h3 { font-family: var(--font-display); font-size: 17px; margin: 0 0 14px; letter-spacing: -0.01em; }
.detail-cta { margin-top: 16px; }
.detail-cta p { font-size: 14px; margin: 0 0 18px; color: var(--text-dim); }

.link-back { display: inline-flex; align-items: center; gap: 6px; color: var(--text-dim); font-size: 14px; margin-bottom: 20px; }
.link-back:hover { color: var(--text); }

.meta-row { display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.meta-row--lg { margin-bottom: 16px; }
.tag {
  font-family: var(--font-display); font-weight: 600;
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft);
  padding: 4px 10px; border-radius: 999px;
}
.status {
  font-family: var(--font-display); font-weight: 500;
  font-size: 12px; color: var(--text-dim);
}
.status::before {
  content: ""; display: inline-block; width: 6px; height: 6px;
  border-radius: 50%; background: var(--ok);
  margin-right: 8px; vertical-align: middle;
  box-shadow: 0 0 0 3px rgba(48,209,88,0.15);
}

/* Showcase list page (reuses grid) */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.showcase-card {
  background: linear-gradient(180deg, #17181d, #0f1013);
  border: 1px solid #22252d;
  border-radius: 22px;
  overflow: hidden;
  color: var(--text);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s;
}
.showcase-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.showcase-card__visual {
  aspect-ratio: 5 / 3;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.showcase-card__visual svg { width: 100%; height: 100%; }
.showcase-card__body { padding: 22px 26px 26px; display: flex; flex-direction: column; gap: 10px; }
.showcase-card__title { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.015em; margin: 4px 0 0; }
.showcase-card__desc { color: var(--text-dim); font-size: 14.5px; margin: 0; line-height: 1.5; }
.link-arrow { color: var(--accent); font-family: var(--font-display); font-weight: 500; font-size: 14px; display: inline-flex; gap: 5px; align-items: center; }
.link-arrow span { transition: transform 0.2s; }
.link-arrow:hover span { transform: translateX(3px); }

.section--cta { padding: clamp(60px, 7vw, 100px) 0; background: var(--bg-elev); border-top: 1px solid var(--border); }
.cta-band {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; padding: 40px;
  background: linear-gradient(135deg, #17181d, #0f1013);
  border: 1px solid #22252d;
  border-radius: 22px;
}
.cta-band h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -0.02em;
  margin: 0 0 6px;
}
.cta-band p { margin: 0; color: var(--text-dim); }

/* Success */
.success { text-align: center; max-width: 620px; margin: 0 auto; }
.success__mark {
  margin: 0 auto 28px; width: 80px; height: 80px; border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid rgba(41,151,255,0.3);
  display: flex; align-items: center; justify-content: center;
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 28px; }

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  background: var(--bg-elev);
  border-top: 1px solid var(--border);
  padding: 64px 0 28px;
  color: var(--text-dim);
  font-size: 14px;
}
.site-footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 48px;
  margin-bottom: 48px;
}
.site-footer__brand .brand__text { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--text); }
.site-footer__brand p { margin: 10px 0 0; max-width: 320px; font-size: 14px; }
.site-footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.site-footer__cols h4 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text); margin: 0 0 12px;
}
.site-footer__cols a { display: block; color: var(--text-dim); padding: 4px 0; font-size: 13.5px; }
.site-footer__cols a:hover { color: var(--accent); }
.site-footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--text-mute);
}

/* =========================================================
   Reveal + reduced motion
   ========================================================= */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .device-shell--float { animation: none; }
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1000px) {
  .hero__wrap { grid-template-columns: 1fr; text-align: center; }
  .hero__lede { margin-left: auto; margin-right: auto; }
  .hero__ctas { justify-content: center; }
  .hero__eyebrow { margin-left: auto; margin-right: auto; }
  .hero__device { width: 280px; justify-self: center; margin: 24px auto 0; }
  .storytelling__phone { justify-self: center; }
  .device-shell { width: 280px; }
  .storytelling__grid { grid-template-columns: 1fr; text-align: center; }
  .storytelling__copies { min-height: 220px; order: 2; }
  .storytelling__body { margin-left: auto; margin-right: auto; }
  .storytelling__pin { height: auto; min-height: 100vh; padding: 60px 0; }
  .service-grid, .cap-grid, .showcase-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .industries { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; }
  .mac-window__body { grid-template-columns: 1fr; min-height: auto; }
  .mac-window__side { display: none; }
  .mw-row { grid-template-columns: 1fr; }
  .mw-table__head, .mw-table__row { grid-template-columns: 2fr 1fr; }
  .mw-table__head span:nth-child(3), .mw-table__head span:nth-child(4),
  .mw-table__row span:nth-child(3), .mw-table__row span:nth-child(4) { display: none; }
  .site-footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .site-nav { display: none; }
  .site-header__cta { display: none; }
  .nav-toggle { display: flex; }
  .site-nav.is-open {
    display: flex; flex-direction: column;
    position: fixed; inset: 48px 0 0 0;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(20px);
    padding: 32px 22px;
    z-index: 40;
    gap: 8px;
  }
  .site-nav.is-open a {
    font-size: 22px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .service-grid, .cap-grid, .showcase-grid, .process, .industries { grid-template-columns: 1fr; }
  .form-row { flex-direction: column; }
  .contact__form { padding: 24px; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 28px; }
  .site-footer__cols { grid-template-columns: repeat(2, 1fr); }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
  .mw-table__head, .mw-table__row { padding: 10px 14px; font-size: 12px; }
}
