/* =========================================================
   Looplabs — design system
   Clean / minimal, warm paper neutrals, muted indigo accent
   ========================================================= */

/* ---- Tokens ---- */
:root {
  /* Color — default theme (Nordic). Overridden by [data-theme] below. */
  --bg:          oklch(0.978 0.003 240);
  --surface:     oklch(0.995 0.002 240);
  --surface-2:   oklch(0.955 0.005 240);
  --ink:         oklch(0.255 0.020 250);
  --ink-soft:    oklch(0.40 0.020 250);
  --muted:       oklch(0.55 0.015 250);
  --line:        oklch(0.90 0.006 250);
  --line-strong: oklch(0.82 0.010 250);

  --accent:      oklch(0.55 0.13 250);
  --accent-ink:  oklch(0.46 0.14 252);
  --accent-soft: oklch(0.93 0.04 252);
  --accent-line: oklch(0.82 0.07 252);
  --accent-dim:  oklch(0.72 0.11 255);
  --on-accent:   oklch(0.99 0.01 252);

  --ink-bg:      oklch(0.24 0.020 255);
  --on-ink:      oklch(0.95 0.005 250);
  --on-ink-mut:  oklch(0.74 0.010 250);

  /* Type */
  --display: "Schibsted Grotesk", system-ui, sans-serif;
  --sans:    "Hanken Grotesk", system-ui, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, monospace;

  /* Radius / shadow */
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --shadow-sm: 0 1px 2px oklch(0.4 0.02 70 / 0.05), 0 2px 6px oklch(0.4 0.02 70 / 0.04);
  --shadow:    0 2px 4px oklch(0.4 0.02 70 / 0.05), 0 12px 30px oklch(0.4 0.02 70 / 0.07);
  --shadow-lg: 0 4px 8px oklch(0.4 0.02 70 / 0.06), 0 30px 60px oklch(0.4 0.02 70 / 0.10);

  /* Layout */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(72px, 11vw, 152px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- Color themes (swappable via Tweaks) ---- */
[data-theme="sage"] {
  --bg: oklch(0.975 0.006 140); --surface: oklch(0.994 0.004 140); --surface-2: oklch(0.95 0.012 140);
  --ink: oklch(0.26 0.020 160); --ink-soft: oklch(0.40 0.020 160); --muted: oklch(0.53 0.015 160);
  --line: oklch(0.89 0.012 145); --line-strong: oklch(0.81 0.016 145);
  --accent: oklch(0.55 0.085 155); --accent-ink: oklch(0.45 0.090 158); --accent-soft: oklch(0.93 0.035 150);
  --accent-line: oklch(0.82 0.050 150); --accent-dim: oklch(0.74 0.080 150); --on-accent: oklch(0.99 0.01 150);
  --ink-bg: oklch(0.25 0.022 165); --on-ink: oklch(0.95 0.008 140); --on-ink-mut: oklch(0.74 0.012 140);
}
[data-theme="clay"] {
  --bg: oklch(0.972 0.008 70); --surface: oklch(0.992 0.005 70); --surface-2: oklch(0.945 0.014 60);
  --ink: oklch(0.26 0.015 50); --ink-soft: oklch(0.40 0.020 45); --muted: oklch(0.53 0.020 50);
  --line: oklch(0.88 0.012 60); --line-strong: oklch(0.80 0.016 55);
  --accent: oklch(0.58 0.12 40); --accent-ink: oklch(0.49 0.13 38); --accent-soft: oklch(0.93 0.040 50);
  --accent-line: oklch(0.84 0.070 45); --accent-dim: oklch(0.75 0.100 45); --on-accent: oklch(0.99 0.01 60);
  --ink-bg: oklch(0.26 0.018 45); --on-ink: oklch(0.95 0.008 60); --on-ink-mut: oklch(0.75 0.012 55);
}
[data-theme="forest"] {
  --bg: oklch(0.968 0.012 95); --surface: oklch(0.990 0.008 95); --surface-2: oklch(0.94 0.016 100);
  --ink: oklch(0.27 0.040 150); --ink-soft: oklch(0.40 0.040 150); --muted: oklch(0.52 0.025 130);
  --line: oklch(0.88 0.014 110); --line-strong: oklch(0.80 0.020 120);
  --accent: oklch(0.48 0.10 150); --accent-ink: oklch(0.40 0.11 150); --accent-soft: oklch(0.92 0.040 140);
  --accent-line: oklch(0.80 0.060 140); --accent-dim: oklch(0.70 0.090 145); --on-accent: oklch(0.98 0.015 130);
  --ink-bg: oklch(0.27 0.040 155); --on-ink: oklch(0.94 0.020 120); --on-ink-mut: oklch(0.74 0.020 130);
}
[data-theme="midnight"] {
  --bg: oklch(0.205 0.015 260); --surface: oklch(0.25 0.016 260); --surface-2: oklch(0.29 0.018 260);
  --ink: oklch(0.96 0.006 250); --ink-soft: oklch(0.82 0.010 250); --muted: oklch(0.66 0.012 250);
  --line: oklch(0.34 0.016 260); --line-strong: oklch(0.44 0.020 260);
  --accent: oklch(0.72 0.13 230); --accent-ink: oklch(0.80 0.12 230); --accent-soft: oklch(0.30 0.05 240);
  --accent-line: oklch(0.42 0.080 235); --accent-dim: oklch(0.80 0.120 230); --on-accent: oklch(0.18 0.02 250);
  --ink-bg: oklch(0.155 0.015 260); --on-ink: oklch(0.96 0.006 250); --on-ink-mut: oklch(0.72 0.012 250);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: clamp(16px, 1.05vw, 18px);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }
:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---- Type scale ---- */
.eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ink);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1.5px;
  background: var(--accent-line);
}
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.022em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); letter-spacing: -0.015em; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.4rem); color: var(--ink-soft); line-height: 1.5; text-wrap: pretty; }

/* ---- Layout helpers ---- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section-head { max-width: 60ch; }
.section-head h2 { margin-top: 0.7rem; }
.section-head .lede { margin-top: 1.2rem; }

/* skip link */
.skip {
  position: absolute; left: 16px; top: -60px;
  background: var(--ink); color: var(--on-ink);
  padding: 10px 18px; border-radius: var(--r-sm);
  z-index: 200; transition: top 0.2s var(--ease);
}
.skip:focus { top: 16px; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in oklch, var(--bg) 72%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header[data-scrolled="true"] {
  border-bottom-color: var(--line);
  background: color-mix(in oklch, var(--bg) 90%, transparent);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand { display: inline-flex; align-items: center; font-family: var(--display); font-weight: 600; font-size: 1.36rem; letter-spacing: -0.022em; color: var(--ink); }
.brand .logo { display: inline-block; white-space: nowrap; }
.brand .oo { display: inline-block; height: 0.6em; width: auto; color: var(--accent); margin: 0 0.04em; vertical-align: -0.04em; }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); }
.nav-links a { font-size: 0.96rem; color: var(--ink-soft); transition: color 0.2s var(--ease); position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -5px; height: 1.5px; width: 0;
  background: var(--accent); transition: width 0.25s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }

.btn {
  display: inline-flex; align-items: center; gap: 0.55em;
  padding: 0.74em 1.3em; border-radius: 999px;
  font-weight: 500; font-size: 0.96rem; letter-spacing: -0.01em;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 4px 14px color-mix(in oklch, var(--accent) 30%, transparent); }
.btn-primary:hover { background: var(--accent-ink); transform: translateY(-2px); box-shadow: 0 8px 22px color-mix(in oklch, var(--accent) 38%, transparent); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translate(3px, -3px); }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.menu-toggle { display: none; }

/* =========================================================
   Hero
   ========================================================= */
.hero { position: relative; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(56px, 8vw, 110px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.hero h1 { margin-top: 1.4rem; }
.hero h1 .loop-word { color: var(--accent); position: relative; white-space: nowrap; }
.hero .lede { margin-top: 1.6rem; max-width: 46ch; }
.hero-actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-meta { margin-top: 2.6rem; display: flex; gap: clamp(22px, 4vw, 48px); flex-wrap: wrap; }
.hero-meta .stat { }
.hero-meta .num { font-family: var(--display); font-size: 1.9rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.hero-meta .lbl { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 0.5rem; }

/* hero loop visual */
.hero-visual { position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; }
.hero-loop { width: 100%; height: auto; color: var(--accent); overflow: visible; }
.hero-loop .track { stroke: var(--accent-line); opacity: 0.5; }
.hero-loop .trace { stroke: var(--accent); }
.hero-visual .ring { position: absolute; inset: 6% ; border: 1px solid var(--line); border-radius: 50%; }
.hero-visual .ring.r2 { inset: 18%; border-style: dashed; opacity: 0.6; }
.hero-badge {
  position: absolute; background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: 10px 14px; box-shadow: var(--shadow); font-size: 0.82rem;
  display: flex; align-items: center; gap: 9px; font-weight: 500;
}
.hero-badge .pip { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.hero-badge.b1 { top: 8%; right: -2%; }
.hero-badge.b2 { bottom: 12%; left: -6%; }
.hero-badge .mono { font-family: var(--mono); font-size: 0.74rem; color: var(--muted); }

/* marquee */
.marquee { border-block: 1px solid var(--line); padding-block: 20px; overflow: hidden; }
.marquee-track { display: flex; gap: clamp(36px, 6vw, 80px); width: max-content; animation: marquee 36s linear infinite; will-change: transform; }
.marquee-track span { font-family: var(--mono); font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: clamp(36px, 6vw, 80px); }
.marquee-track span::after { content: "◆"; color: var(--accent-line); font-size: 0.6rem; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* =========================================================
   Services
   ========================================================= */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: clamp(40px, 5vw, 64px); }
.service-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(26px, 3vw, 36px); display: flex; flex-direction: column; gap: 18px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  position: relative; overflow: hidden;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--accent-line); }
.service-card .ico {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-ink); border: 1px solid var(--accent-line);
}
.service-card .ico svg { width: 26px; height: 26px; }
.service-card h3 { margin-top: 4px; }
.service-card p { color: var(--muted); font-size: 0.98rem; }
.service-card .tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 6px; }
.service-card .tag { font-family: var(--mono); font-size: 0.72rem; padding: 4px 9px; border-radius: 999px; background: var(--surface-2); color: var(--ink-soft); border: 1px solid var(--line); }
.service-card .idx { position: absolute; top: 22px; right: 26px; font-family: var(--mono); font-size: 0.78rem; color: var(--line-strong); }

/* =========================================================
   Work
   ========================================================= */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 2.5vw, 30px); margin-top: clamp(40px, 5vw, 64px); }
.work-card { display: block; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.work-shot { aspect-ratio: 16 / 11; position: relative; overflow: hidden; background: var(--surface-2); }
.work-shot .ph { position: absolute; inset: 0; }
.work-shot .ph-label {
  position: absolute; left: 14px; bottom: 14px; font-family: var(--mono); font-size: 0.7rem;
  letter-spacing: 0.06em; color: var(--muted); background: oklch(0.99 0.005 85 / 0.8);
  padding: 4px 9px; border-radius: 6px; backdrop-filter: blur(4px);
}
.work-card:hover .work-shot .ph { transform: scale(1.04); }
.work-shot .ph { transition: transform 0.5s var(--ease); }
.work-body { padding: 20px clamp(20px, 2.4vw, 28px) 24px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.work-body h3 { font-size: 1.22rem; }
.work-body .cat { font-family: var(--mono); font-size: 0.74rem; color: var(--muted); margin-top: 6px; }
.work-body .go { color: var(--accent); flex: none; margin-top: 4px; transition: transform 0.25s var(--ease); }
.work-card:hover .work-body .go { transform: translate(3px, -3px); }

/* =========================================================
   Process
   ========================================================= */
.process { background: var(--ink-bg); color: var(--on-ink); }
.process h2 { color: var(--on-ink); }
.process .eyebrow { color: var(--accent-dim); }
.process .eyebrow::before { background: var(--accent-dim); }
.process .lede { color: var(--on-ink-mut); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: clamp(40px, 5vw, 64px); background: color-mix(in oklch, var(--on-ink) 16%, transparent); border: 1px solid color-mix(in oklch, var(--on-ink) 16%, transparent); border-radius: var(--r-lg); overflow: hidden; }
.step { background: var(--ink-bg); padding: clamp(24px, 2.6vw, 34px); display: flex; flex-direction: column; gap: 12px; transition: background 0.3s var(--ease); }
.step:hover { background: color-mix(in oklch, var(--ink-bg), var(--on-ink) 7%); }
.step .n { font-family: var(--mono); font-size: 0.8rem; color: var(--accent-dim); }
.step h3 { color: var(--on-ink); font-size: 1.18rem; }
.step p { color: var(--on-ink-mut); font-size: 0.94rem; }

/* =========================================================
   About
   ========================================================= */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about-figure { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--accent); }
.about-figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(0.4) contrast(1.04) brightness(1.02); }
.about-figure::after { content: ""; position: absolute; inset: 0; background: var(--accent); mix-blend-mode: color; opacity: 0.7; pointer-events: none; }
.about-figure::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(165deg, transparent 45%, color-mix(in oklch, var(--ink-bg) 28%, transparent)); pointer-events: none; }
.about-figure .ph { position: absolute; inset: 0; }
.about-figure .ph-label { position: absolute; left: 14px; bottom: 14px; font-family: var(--mono); font-size: 0.7rem; color: var(--muted); background: color-mix(in srgb, var(--surface) 82%, transparent); padding: 4px 9px; border-radius: 6px; }
.about-body h2 { margin-top: 0.7rem; }
.about-body p { color: var(--ink-soft); margin-top: 1.2rem; max-width: 54ch; }
.about-values { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.8rem; }
.about-values li { font-family: var(--mono); font-size: 0.78rem; padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }

/* =========================================================
   Testimonials
   ========================================================= */
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(40px, 5vw, 64px); }
.t-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(26px, 3vw, 34px); display: flex; flex-direction: column; gap: 18px; }
.t-card .quote { font-size: 1.08rem; line-height: 1.55; color: var(--ink); letter-spacing: -0.01em; }
.t-card .quote::before { content: "“"; font-family: var(--display); color: var(--accent-line); font-size: 2.4rem; line-height: 0; display: block; height: 0.5em; }
.t-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.t-author .av { width: 42px; height: 42px; border-radius: 50%; background: var(--accent-soft); border: 1px solid var(--accent-line); display: grid; place-items: center; font-family: var(--display); font-weight: 600; color: var(--accent-ink); flex: none; }
.t-author .who { display: flex; flex-direction: column; gap: 3px; line-height: 1.25; }
.t-author .who .name { font-weight: 600; font-size: 0.96rem; }
.t-author .who .role { font-size: 0.84rem; color: var(--muted); }

/* =========================================================
   FAQ
   ========================================================= */
.faq-grid { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; text-align: left; padding: 24px 4px; font-family: var(--display); font-size: clamp(1.05rem, 1.5vw, 1.25rem); font-weight: 500; letter-spacing: -0.015em; }
.faq-q .pm { flex: none; width: 22px; height: 22px; position: relative; }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; background: var(--accent); border-radius: 2px; transition: transform 0.3s var(--ease); }
.faq-q .pm::before { left: 0; top: 50%; width: 100%; height: 2px; transform: translateY(-50%); }
.faq-q .pm::after { top: 0; left: 50%; height: 100%; width: 2px; transform: translateX(-50%); }
.faq-item[data-open="true"] .pm::after { transform: translateX(-50%) scaleY(0); }
.faq-a { overflow: hidden; height: 0; transition: height 0.35s var(--ease); }
.faq-a-inner { padding: 0 4px 24px; color: var(--muted); max-width: 64ch; }
.faq-item[data-open="true"] .faq-q { color: var(--accent-ink); }

/* =========================================================
   CTA / Contact
   ========================================================= */
.cta { }
.cta-box {
  background: var(--ink-bg); color: var(--on-ink); border-radius: var(--r-lg);
  padding: clamp(40px, 7vw, 92px); text-align: center; position: relative; overflow: hidden;
}
.cta-box h2 { color: var(--on-ink); max-width: 18ch; margin-inline: auto; }
.cta-box .lede { color: var(--on-ink-mut); margin: 1.4rem auto 0; max-width: 50ch; }
.cta-actions { margin-top: 2.4rem; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-box .btn-ghost { color: var(--on-ink); border-color: color-mix(in oklch, var(--on-ink) 40%, transparent); }
.cta-box .btn-ghost:hover { border-color: var(--on-ink); }
.cta-loop { position: absolute; color: color-mix(in oklch, var(--on-ink) 18%, transparent); opacity: 0.6; pointer-events: none; }
.cta-loop.l1 { width: 260px; top: -60px; left: -50px; transform: rotate(-12deg); }
.cta-loop.l2 { width: 220px; bottom: -70px; right: -40px; transform: rotate(8deg); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { padding-block: clamp(48px, 6vw, 80px) 40px; border-top: 1px solid var(--line); }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand { max-width: 32ch; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { color: var(--muted); font-size: 0.94rem; }
.footer-cols { display: flex; gap: clamp(40px, 7vw, 96px); flex-wrap: wrap; }
.footer-col h4 { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { color: var(--ink-soft); font-size: 0.96rem; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--accent-ink); }
.footer-bottom { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: clamp(40px, 6vw, 72px); padding-top: 28px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.footer-bottom p { font-family: var(--mono); font-size: 0.78rem; color: var(--muted); }
.footer-bottom .socials { display: flex; gap: 10px; }
.footer-bottom .socials a { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 10px; display: grid; place-items: center; color: var(--ink-soft); transition: all 0.2s var(--ease); }
.footer-bottom .socials a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* =========================================================
   Image placeholders (striped — swap for real shots)
   ========================================================= */
.ph {
  background-color: var(--surface-2);
  background-image: repeating-linear-gradient(
    -45deg,
    color-mix(in oklch, var(--surface-2), var(--ink) 7%) 0 11px,
    var(--surface-2) 11px 22px
  );
}
.ph[data-ph="team"] { background-image: repeating-linear-gradient(-45deg, color-mix(in oklch, var(--accent-soft), var(--ink) 5%) 0 13px, var(--accent-soft) 13px 26px); }

/* =========================================================
   Reveal animations
   ========================================================= */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-stagger] > * { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
[data-reveal-stagger].in > * { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal-stagger] > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-loop .trace { stroke-dashoffset: 0 !important; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 440px; margin-inline: auto; order: -1; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .t-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-figure { max-width: 380px; }
  .faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: 76px; left: 0; right: 0; background: var(--surface);
    border-bottom: 1px solid var(--line); padding: 14px var(--gutter) 22px; box-shadow: var(--shadow);
  }
  .nav-links.open a { padding: 12px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav-links.open a::after { display: none; }
  .menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; }
  .menu-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); position: relative; transition: 0.25s var(--ease); }
  .menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--ink); transition: 0.25s var(--ease); }
  .menu-toggle span::before { top: -7px; } .menu-toggle span::after { top: 7px; }
  .menu-toggle[aria-expanded="true"] span { background: transparent; }
  .menu-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
  .nav-cta .btn-text { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero-meta { gap: 28px; }
  .footer-top { flex-direction: column; }
}
