/* 1189 DESIGN — site styles. One grey family (cool), one ink colour, no accent. */
:root {
  --bg: #f2f3f5;
  --bg-2: #e9eaee;
  --surface: #ffffff;
  --ink: #0b0b0c;
  --ink-2: #1a1b1e;
  --muted: #62656d;
  --faint: #9a9da5;
  --line: rgba(11, 11, 12, 0.08);
  --line-strong: rgba(11, 11, 12, 0.14);
  --shadow: 0 1px 1px rgba(20, 24, 36, 0.03), 0 12px 32px -12px rgba(20, 24, 36, 0.12), 0 40px 80px -40px rgba(20, 24, 36, 0.18);
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  --r-xl: 2rem;
  --r-lg: 1.5rem;
  --bezel: 0.375rem;
  --max: 1320px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --font: 'Outfit', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', monospace;
  /* z-index scale */
  --z-nav: 20;
  --z-menu: 30;
  --z-grain: 40;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--ink); color: #fff; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

/* grain: fixed, non-interactive */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: var(--z-grain);
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: var(--z-menu);
  background: var(--ink); color: #fff; padding: 0.75rem 1.25rem; border-radius: 999px;
  transition: top 0.3s var(--ease);
}
.skip:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
section { padding-block: clamp(5rem, 11vw, 9.5rem) clamp(5.5rem, 12vw, 10.5rem); }

/* ---------- type ---------- */
.display {
  font-weight: 700;
  font-size: clamp(3rem, 8.6vw, 7.75rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.h2 {
  font-weight: 700;
  font-size: clamp(2.25rem, 5.4vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.038em;
  text-wrap: balance;
}
.h3 { font-weight: 600; font-size: clamp(1.4rem, 2.2vw, 1.85rem); line-height: 1.1; letter-spacing: -0.02em; }
.lede { font-size: clamp(1.125rem, 1.6vw, 1.35rem); line-height: 1.5; color: var(--muted); max-width: 34ch; text-wrap: pretty; }
.body { color: var(--muted); max-width: 62ch; text-wrap: pretty; }
.muted { color: var(--muted); }
.soft { color: var(--faint); }
.mono { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  border-radius: 999px; padding: 0.4rem 0.85rem 0.4rem 0.7rem;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 1.75rem;
}
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.eyebrow.live::before { background: #2f9e5b; box-shadow: 0 0 0 4px rgba(47, 158, 91, 0.15); }

.section-head { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
@media (min-width: 900px) {
  .section-head { grid-template-columns: 1.35fr 1fr; align-items: end; }
  .section-head .body { justify-self: end; }
}

/* ---------- buttons ---------- */
.btn {
  --h: 3.5rem;
  display: inline-flex; align-items: center; gap: 0.9rem;
  height: var(--h); padding-inline: 1.6rem 0.4rem;
  border-radius: 999px; border: 0; cursor: pointer;
  background: var(--ink); color: #fff;
  font-weight: 500; font-size: 1rem; letter-spacing: -0.005em;
  transition: transform 0.5s var(--ease), background-color 0.4s var(--ease), box-shadow 0.5s var(--ease);
  box-shadow: 0 10px 30px -12px rgba(11, 11, 12, 0.45);
  white-space: nowrap;
}
.btn .ico {
  width: calc(var(--h) - 0.8rem); height: calc(var(--h) - 0.8rem);
  border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.12);
  transition: transform 0.55s var(--spring), background-color 0.4s var(--ease);
}
.btn:hover { background: var(--ink-2); box-shadow: 0 16px 40px -14px rgba(11, 11, 12, 0.55); }
.btn:hover .ico { transform: translate(3px, -2px) scale(1.06); background: rgba(255, 255, 255, 0.2); }
.btn:active { transform: scale(0.98); }
.btn.light { background: #fff; color: var(--ink); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.5); }
.btn.light .ico { background: rgba(11, 11, 12, 0.07); }
.btn.light:hover { background: #f4f4f6; }
.btn.small { --h: 2.75rem; padding-left: 1.15rem; font-size: 0.92rem; gap: 0.6rem; }

.link {
  display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 500;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.5s var(--ease);
  padding-bottom: 2px;
}
.link:hover { background-size: 100% 1px; }
.arrow { width: 14px; height: 14px; }

/* ---------- double bezel ---------- */
.shell {
  border-radius: var(--r-xl);
  padding: var(--bezel);
  background: rgba(11, 11, 12, 0.035);
  box-shadow: inset 0 0 0 1px var(--line);
}
.core {
  border-radius: calc(var(--r-xl) - var(--bezel));
  background: var(--surface);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.9), var(--shadow);
  height: 100%;
  overflow: hidden;
  position: relative;
}
.shell.dark { background: rgba(11, 11, 12, 0.9); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.shell.dark > .core { background: var(--ink); color: #fff; box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 40px 80px -40px rgba(11, 11, 12, 0.6); }
.shell.dark .muted, .shell.dark .body, .shell.dark .lede { color: #a3a6ad; }

/* ---------- nav island ---------- */
.nav {
  position: fixed; top: 1rem; left: 50%; transform: translateX(-50%);
  z-index: var(--z-nav);
  width: min(calc(100% - 1.5rem), 1000px);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.45rem 0.45rem 0.45rem 1.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7), 0 0 0 1px var(--line), 0 12px 40px -18px rgba(20, 24, 36, 0.25);
  transition: transform 0.6s var(--ease);
}
.nav.hide { transform: translate(-50%, -140%); }
.nav .brand img { height: 18px; width: auto; }
.nav ul { display: none; list-style: none; gap: 0.25rem; }
.nav ul a {
  display: block; padding: 0.55rem 0.95rem; border-radius: 999px; font-size: 0.95rem; color: var(--muted);
  transition: color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.nav ul a:hover, .nav ul a[aria-current='page'] { color: var(--ink); background: rgba(11, 11, 12, 0.05); }
.nav .cta { display: none; }
@media (min-width: 900px) {
  .nav ul { display: flex; }
  .nav .cta { display: inline-flex; }
  .burger { display: none; }
}

.burger {
  width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--ink); position: relative;
}
.burger span {
  position: absolute; left: 50%; top: 50%; width: 16px; height: 1.5px; background: #fff; border-radius: 2px;
  transition: transform 0.55s var(--ease);
}
.burger span:nth-child(1) { transform: translate(-50%, -4px); }
.burger span:nth-child(2) { transform: translate(-50%, 4px); }
.menu-open .burger span:nth-child(1) { transform: translate(-50%, 0) rotate(45deg); }
.menu-open .burger span:nth-child(2) { transform: translate(-50%, 0) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  background: rgba(242, 243, 245, 0.86);
  backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 6rem var(--gutter) 3rem;
  opacity: 0; visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0s linear 0.5s;
}
.menu-open .menu { opacity: 1; visibility: visible; transition: opacity 0.5s var(--ease); }
.menu-open .nav { z-index: calc(var(--z-menu) + 1); }
.menu a.big {
  display: block; font-size: clamp(2.5rem, 11vw, 4rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.12;
  opacity: 0; transform: translateY(3rem);
  transition: opacity 0.6s var(--ease), transform 0.8s var(--ease);
}
.menu-open .menu a.big { opacity: 1; transform: none; }
.menu-open .menu a.big:nth-child(2) { transition-delay: 0.05s; }
.menu-open .menu a.big:nth-child(3) { transition-delay: 0.1s; }
.menu-open .menu a.big:nth-child(4) { transition-delay: 0.15s; }
.menu-open .menu a.big:nth-child(5) { transition-delay: 0.2s; }
.menu-open .menu a.big:nth-child(6) { transition-delay: 0.25s; }
.menu .meta { margin-top: 2.5rem; display: flex; gap: 1.5rem; color: var(--muted); }
body.menu-open { overflow: hidden; }

/* ---------- hero ---------- */
.hero { padding-top: clamp(8rem, 16vw, 11.5rem); padding-bottom: clamp(4rem, 8vw, 6rem); position: relative; }
.hero::before {
  content: ''; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
  pointer-events: none; z-index: -1;
}
.hero-grid { display: grid; gap: 3.5rem; }
.hero .lede { margin-top: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 1.75rem; margin-top: 2.5rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; margin-top: 3rem; color: var(--muted); font-size: 0.95rem; }
.hero-facts li { list-style: none; display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-facts svg { width: 16px; height: 16px; }

.stack { position: relative; min-height: 420px; }
.stack .card { position: absolute; width: 78%; transition: transform 0.9s var(--ease); }
.stack .card .core { aspect-ratio: 4 / 3; display: grid; place-items: center; }
.stack .card img { width: 100%; height: 100%; object-fit: contain; padding: 8%; background: #fff; }
.stack .card figcaption {
  position: absolute; left: 0.9rem; bottom: 0.9rem;
  background: rgba(255, 255, 255, 0.9); border-radius: 999px; padding: 0.35rem 0.8rem;
  font-size: 0.78rem; font-weight: 500; box-shadow: 0 0 0 1px var(--line);
}
.stack .c1 { top: 0; right: 0; transform: rotate(3deg); z-index: 1; }
.stack .c2 { top: 22%; left: 0; transform: rotate(-2.5deg); z-index: 2; }
.stack .c3 { top: 46%; right: 6%; transform: rotate(1.5deg); z-index: 3; }
.stack:hover .c1 { transform: rotate(5deg) translate(12px, -10px); }
.stack:hover .c2 { transform: rotate(-4deg) translate(-12px, 0); }
.stack:hover .c3 { transform: rotate(0deg) translate(0, 12px); }
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: 1.2fr 1fr; align-items: center; }
  .stack { min-height: 560px; }
}
@media (max-width: 767px) {
  .stack { min-height: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 0.9rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.5rem; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .stack::-webkit-scrollbar { display: none; }
  .stack .card { position: static; width: auto; transform: none !important; scroll-snap-align: start; }
}

/* ---------- marquee ---------- */
.clients { padding-block: 2.5rem; border-block: 1px solid var(--line); overflow: hidden; }
.clients .label { text-align: center; margin-bottom: 1.25rem; }
.marquee { display: flex; width: max-content; animation: slide 40s linear infinite; }
.marquee span { font-size: clamp(1.4rem, 2.6vw, 2.1rem); font-weight: 600; letter-spacing: -0.03em; padding-inline: 1.75rem; white-space: nowrap; color: var(--ink); opacity: 0.85; }
.marquee span::after { content: '✳'; font-weight: 300; margin-left: 3.5rem; color: var(--faint); }
@keyframes slide { to { transform: translateX(-50%); } }
.clients:hover .marquee { animation-play-state: paused; }

/* ---------- services bento ---------- */
.bento { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.bento .core { padding: clamp(1.75rem, 3vw, 2.5rem); display: flex; flex-direction: column; }
.bento .tag { margin-bottom: auto; padding-bottom: 2.5rem; display: flex; justify-content: space-between; align-items: center; }
.bento .h3 { margin-bottom: 0.75rem; }
.bento ul { list-style: none; margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.bento ul li { font-size: 0.85rem; padding: 0.35rem 0.75rem; border-radius: 0.6rem; background: var(--bg); color: var(--ink-2); }
.bento .shell.dark ul li { background: rgba(255, 255, 255, 0.07); color: #e7e8ea; }
.bento a.more { margin-top: 1.75rem; align-self: flex-start; }
.svc-icon { width: 2.75rem; height: 2.75rem; border-radius: 0.85rem; display: grid; place-items: center; background: var(--bg); }
.shell.dark .svc-icon { background: rgba(255, 255, 255, 0.08); }
.svc-icon svg { width: 22px; height: 22px; }

/* mini browser illustration inside the web design tile */
.mini {
  margin-top: 2rem; border-radius: 1rem; background: var(--bg); padding: 0.6rem; box-shadow: inset 0 0 0 1px var(--line);
}
.mini .bar { display: flex; gap: 5px; padding: 0.25rem 0.35rem 0.6rem; }
.mini .bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.mini .page { background: #fff; border-radius: 0.6rem; padding: 1.1rem; display: grid; gap: 0.55rem; }
.mini .page b { display: block; height: 10px; border-radius: 4px; background: var(--ink); width: 58%; }
.mini .page s { display: block; height: 6px; border-radius: 3px; background: var(--bg-2); }
.mini .page s:nth-of-type(2) { width: 80%; }
.mini .page em { display: inline-block; width: 92px; height: 22px; border-radius: 999px; background: var(--ink); margin-top: 0.35rem; }

.score { display: flex; align-items: baseline; gap: 0.5rem; margin-top: 1.75rem; }
.score strong { font-size: clamp(3rem, 5vw, 4rem); font-weight: 700; letter-spacing: -0.05em; line-height: 1; }

@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(250px, auto); }
  .b-web { grid-column: span 7; grid-row: span 2; }
  .b-dev { grid-column: span 5; }
  .b-ai { grid-column: span 5; }
  .b-seo { grid-column: span 5; }
  .b-care { grid-column: span 7; }
}

/* ---------- work ---------- */
.work-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.work .core { display: flex; flex-direction: column; }
.work .thumb { aspect-ratio: 16 / 10; background: #fff; display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.work .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.work .thumb.contain img { object-fit: contain; padding: 12%; }
.work .tile:hover .thumb img { transform: scale(1.04); }
.work .meta { padding: 1.25rem 1.4rem 1.4rem; display: flex; justify-content: space-between; gap: 1rem; align-items: flex-end; }
.work .meta h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.015em; }
.work .meta p { color: var(--muted); font-size: 0.92rem; margin-top: 0.2rem; }
.work .idx { flex: none; font-family: var(--mono); font-size: 0.75rem; color: var(--faint); }
.work .thumb.type { background: var(--ink); color: #fff; padding: 2rem; text-align: left; place-items: end start; }
.work .thumb.type strong { font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1; max-width: 12ch; }
.work .thumb.type .mono { color: #8f929a; display: block; margin-bottom: 0.75rem; }
@media (min-width: 760px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
  .work-grid { grid-template-columns: repeat(12, 1fr); }
  .work-grid > :nth-child(1) { grid-column: span 7; }
  .work-grid > :nth-child(2) { grid-column: span 5; margin-top: 5rem; }
  .work-grid > :nth-child(3) { grid-column: span 4; }
  .work-grid > :nth-child(4) { grid-column: span 4; margin-top: -3rem; }
  .work-grid > :nth-child(5) { grid-column: span 4; }
  .work-grid > :nth-child(6) { grid-column: span 5; }
  .work-grid > :nth-child(7) { grid-column: span 7; margin-top: -2rem; }
  .work-grid > :nth-child(8) { grid-column: span 6; }
  .work-grid > :nth-child(9) { grid-column: span 6; }
}

/* ---------- process ---------- */
.steps { display: grid; gap: 1rem; counter-reset: s; list-style: none; }
.steps li { counter-increment: s; }
.steps .core { padding: 2rem; }
.steps .core::before {
  content: '0' counter(s); font-family: var(--mono); font-size: 0.8rem; color: var(--faint);
  display: block; margin-bottom: 3.5rem;
}
.steps h3 { font-size: 1.35rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.steps p { color: var(--muted); font-size: 0.98rem; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps li:nth-child(2) { margin-top: 2.5rem; }
  .steps li:nth-child(3) { margin-top: 5rem; }
  .steps li:nth-child(4) { margin-top: 7.5rem; }
}

/* ---------- pricing ---------- */
.plans { display: grid; gap: 1rem; }
.plans .core { padding: clamp(1.75rem, 3vw, 2.5rem); display: flex; flex-direction: column; }
.plans .name { display: flex; justify-content: space-between; align-items: center; min-height: 2rem; }
.plans .flag { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; padding: 0.3rem 0.6rem; border-radius: 0.4rem; background: #fff; color: var(--ink); }
.plans .price { margin-top: 2.25rem; display: flex; align-items: baseline; gap: 0.4rem; min-height: 4.5rem; }
.plans .price small { font-size: 0.95rem; color: var(--muted); }
.plans .price strong { font-size: clamp(2.75rem, 4.5vw, 3.75rem); font-weight: 700; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.plans .for { color: var(--muted); margin-top: 0.75rem; min-height: 3.2em; }
.plans ul { list-style: none; margin: 2rem 0 2.5rem; display: grid; gap: 0.8rem; border-top: 1px solid var(--line); padding-top: 1.75rem; }
.shell.dark .plans ul, .plans .shell.dark ul { border-color: rgba(255, 255, 255, 0.1); }
.plans li { display: flex; gap: 0.7rem; font-size: 0.98rem; }
.plans li svg { flex: none; width: 18px; height: 18px; margin-top: 0.2rem; }
.plans .btn { margin-top: auto; align-self: flex-start; }
@media (min-width: 960px) { .plans { grid-template-columns: repeat(3, 1fr); } }

/* ---------- faq (open list, no accordion) ---------- */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
/* FAQ: answers open on click (native <details>, keyboard accessible) */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: 44px; padding-block: 1.6rem; font-weight: 600; font-size: 1.15rem; letter-spacing: -0.015em;
  transition: color 0.25s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 8px; }
.faq-icon { position: relative; flex: none; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong); transition: background-color 0.3s var(--ease), transform 0.4s var(--ease); }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform 0.4s var(--ease), opacity 0.3s var(--ease); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--ink); color: #fff; box-shadow: none; }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); opacity: 0; }
@media (hover: hover) { .faq-item summary:hover .faq-icon { box-shadow: inset 0 0 0 1px var(--ink); } }
.faq-a { padding: 0 3.5rem 1.75rem 0; color: var(--muted); max-width: 70ch; }
.faq-item[open] .faq-a { animation: faq-in 0.35s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (min-width: 900px) { .faq > div { grid-template-columns: 1fr 1.3fr; gap: 3rem; } }

/* ---------- contact ---------- */
.contact .core { padding: clamp(2rem, 5vw, 4.5rem); }
.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 5rem; } }
.contact .h2 { color: #fff; }
.direct { margin-top: 2.5rem; display: grid; gap: 0.9rem; }
.direct a { display: inline-flex; align-items: center; gap: 0.8rem; color: #fff; font-weight: 500; }
.direct a span.ico { width: 2.5rem; height: 2.5rem; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.08); transition: background-color 0.3s var(--ease); }
.direct a:hover span.ico { background: rgba(255, 255, 255, 0.16); }

form { display: grid; gap: 1rem; }
.row2 { display: grid; gap: 1rem; }
@media (min-width: 640px) { .row2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.45rem; }
.field label { font-size: 0.85rem; color: #b5b8be; }
.field input, .field select, .field textarea {
  width: 100%; border: 0; border-radius: 1rem; padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.06); color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23fff' stroke-width='1.5'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1.1rem center; }
.field select option { color: var(--ink); }
.field textarea { min-height: 8.5rem; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6f7279; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: rgba(255, 255, 255, 0.09); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45); }
.field.err input, .field.err textarea, .field.err select { box-shadow: inset 0 0 0 1px #ff8a7a; }
.field .msg { font-size: 0.8rem; color: #ff9d90; min-height: 0; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 0.5rem; }
.form-status { font-size: 0.92rem; color: #b5b8be; }
.form-status.ok { color: #8ee0ad; }
.form-status.bad { color: #ff9d90; }
.btn[disabled] { opacity: 0.6; pointer-events: none; }

/* ---------- footer ---------- */
footer { padding-block: 4rem 2.5rem; }
.foot { display: grid; gap: 2.5rem; }
.foot .brand img { height: 22px; width: auto; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; }
.foot nav a { color: var(--muted); transition: color 0.3s var(--ease); }
.foot nav a:hover { color: var(--ink); }
.foot .base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 2rem; border-top: 1px solid var(--line); color: var(--faint); font-size: 0.9rem; }
.giant { font-weight: 700; letter-spacing: -0.06em; line-height: 0.8; font-size: clamp(3rem, 16vw, 15rem); color: var(--ink); opacity: 0.06; user-select: none; margin-top: 3rem; white-space: nowrap; overflow: hidden; }
@media (min-width: 900px) { .foot { grid-template-columns: 1fr auto; align-items: center; } .foot .base { grid-column: 1 / -1; } }

/* ---------- service page ---------- */
.crumbs { display: flex; gap: 0.5rem; color: var(--muted); font-size: 0.9rem; margin-bottom: 2rem; }
.crumbs a:hover { color: var(--ink); }
.split { display: grid; gap: 1rem; }
.split .core { padding: clamp(1.75rem, 3vw, 2.5rem); }
.split h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.015em; margin: 1.5rem 0 0.5rem; }
.split p { color: var(--muted); }
@media (min-width: 760px) { .split { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .split { grid-template-columns: repeat(3, 1fr); } }
.prose { display: grid; gap: 1.25rem; }
.prose p { color: var(--muted); max-width: 64ch; font-size: 1.1rem; }
.two-col { display: grid; gap: 3rem; }
@media (min-width: 960px) { .two-col { grid-template-columns: 1fr 1.2fr; gap: 6rem; } }
.ticks { list-style: none; display: grid; gap: 1rem; }
.ticks li { display: flex; gap: 0.8rem; align-items: flex-start; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.ticks svg { flex: none; width: 20px; height: 20px; margin-top: 0.15rem; }

.notfound { min-height: 100dvh; display: grid; place-items: center; text-align: center; }
.notfound .display { font-size: clamp(6rem, 24vw, 16rem); }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(2.5rem); filter: blur(8px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }
.js .reveal[data-d='1'] { transition-delay: 0.08s; }
.js .reveal[data-d='2'] { transition-delay: 0.16s; }
.js .reveal[data-d='3'] { transition-delay: 0.24s; }
.js .reveal[data-d='4'] { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; filter: none; }
}

/* web design tile: illustration fills the top of the tall card */
.b-web .tag { margin-bottom: 0; padding-bottom: 1.5rem; }
.b-web .mini { margin: 0 0 2.25rem; flex: 1; display: flex; flex-direction: column; }
.b-web .mini .page { flex: 1; align-content: start; gap: 0.75rem; padding: 1.5rem; }
.b-web .mini .page b { height: 22px; width: 64%; margin-top: 1.5rem; }
.b-web .mini .page s { height: 9px; }
.mini .tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin-top: 1.5rem; }
.mini .tiles u { display: block; aspect-ratio: 4 / 3; border-radius: 0.6rem; background: var(--bg); }

/* keep decorative glow from widening the page on phones */
.hero { overflow-x: clip; }
html, body { overflow-x: clip; }
@media (max-width: 767px) { .stack .card { position: relative; } }
@media (max-width: 767px) { .stack { padding-block: 0.5rem 2.5rem; } }
.prose .eyebrow { justify-self: start; margin-bottom: 0.5rem; }

/* =====================================================================
   v2: hero "journey", services index, work gallery
   ===================================================================== */

/* ---------- hero ---------- */
.hero2 { min-height: 100dvh; display: flex; align-items: center; padding-block: clamp(8rem, 14vw, 10rem) clamp(4rem, 8vw, 6rem); position: relative; overflow-x: clip; }
.hero2::before {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  width: 900px; height: 900px; right: -260px; top: -200px;
  background: radial-gradient(closest-side, #fff, rgba(255, 255, 255, 0));
}
.hero2-grid { display: grid; gap: 4rem; align-items: center; }
.slogan {
  font-weight: 700; font-size: clamp(2.7rem, 6.1vw, 5.9rem); line-height: 0.96; letter-spacing: -0.045em;
}
.slogan span { display: block; }
.slogan .tone { color: #8b8e96; }
.hero2 .lede { margin-top: 1.75rem; max-width: 40ch; }
@media (min-width: 1040px) { .hero2-grid { grid-template-columns: 1.08fr 1fr; gap: 3rem; } }

/* journey: found -> designed -> chosen */
.journey { position: relative; height: 560px; }
.journey-path { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.journey-path path {
  fill: none; stroke: var(--line-strong); stroke-width: 1.5; stroke-dasharray: 4 7;
  animation: dash 30s linear infinite;
}
@keyframes dash { to { stroke-dashoffset: -440; } }

.j-card {
  position: absolute; border-radius: 1.6rem; padding: 0.375rem;
  background: rgba(255, 255, 255, 0.55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9), 0 0 0 1px var(--line), var(--shadow);
  animation: float 7s var(--ease) infinite alternate;
}
.j-card > :not(.j-step) { background: #fff; border-radius: calc(1.6rem - 0.375rem); }
.j-step {
  position: absolute; top: -0.85rem; left: 1.1rem; z-index: 1;
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.04em;
  background: var(--ink); color: #fff; padding: 0.3rem 0.65rem; border-radius: 999px;
}
@keyframes float { from { transform: translateY(-6px); } to { transform: translateY(6px); } }

.j-search { top: 2%; left: 0; width: 72%; animation-delay: -1s; }
.j-bar { display: flex; align-items: center; gap: 0.6rem; padding: 0.95rem 1.1rem; border-bottom: 1px solid var(--line); border-radius: calc(1.6rem - 0.375rem) calc(1.6rem - 0.375rem) 0 0 !important; font-size: 0.95rem; }
.j-bar svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.caret { width: 1.5px; height: 1.1em; background: var(--ink); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.j-result { padding: 1rem 1.1rem 1.2rem; display: grid; gap: 0.4rem; border-radius: 0 0 calc(1.6rem - 0.375rem) calc(1.6rem - 0.375rem) !important; margin-top: -1px; }
.j-search > div + div { border-top-left-radius: 0; border-top-right-radius: 0; }
.j-url { display: flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; color: var(--muted); }
.j-url b { width: 18px; height: 18px; border-radius: 50%; background: var(--ink); }
.j-result strong { font-size: 1.05rem; font-weight: 600; color: #1a3fb0; letter-spacing: -0.01em; }
.j-result s, .j-hero s { display: block; height: 7px; border-radius: 4px; background: var(--bg-2); }
.j-result s.short { width: 62%; }

.j-site { top: 30%; right: 0; width: 70%; animation-delay: -3s; }
.j-browser { overflow: hidden; }
.j-top { display: flex; align-items: center; gap: 5px; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line); }
.j-top i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.j-top span { margin-left: 0.6rem; height: 14px; flex: 1; max-width: 60%; border-radius: 999px; background: var(--bg); }
.j-page { padding: 1rem 1.1rem 1.25rem; }
.j-nav { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1.25rem; }
.j-nav b { width: 46px; height: 10px; border-radius: 3px; background: var(--ink); margin-right: auto; }
.j-nav span { width: 26px; height: 6px; border-radius: 3px; background: var(--bg-2); }
.j-nav em { width: 46px; height: 18px; border-radius: 999px; background: var(--ink); }
.j-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; align-items: center; }
.j-hero > div:first-child { display: grid; gap: 0.5rem; }
.j-hero b { display: block; height: 13px; border-radius: 4px; background: var(--ink); }
.j-hero b.short { width: 70%; }
.j-hero em { width: 68px; height: 20px; border-radius: 999px; background: var(--ink); margin-top: 0.4rem; }
.j-img {
  aspect-ratio: 1; border-radius: 0.8rem; background: linear-gradient(110deg, var(--bg) 30%, #fbfbfc 50%, var(--bg) 70%) 0 0 / 250% 100%;
  animation: shimmer 2.8s var(--ease) infinite;
}
@keyframes shimmer { to { background-position: -150% 0; } }

.j-note { bottom: 3%; left: 8%; width: 62%; animation-delay: -5s; background: rgba(11, 11, 12, 0.85); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 30px 60px -30px rgba(11, 11, 12, 0.6); }
.j-note .j-step { background: #fff; color: var(--ink); }
.j-note .j-pop { background: var(--ink); color: #fff; display: flex; gap: 0.85rem; align-items: center; padding: 1.1rem 1.15rem; animation: pop 6s var(--spring) infinite; transform-origin: left center; }
.j-pop strong { display: block; font-weight: 600; font-size: 1rem; }
.j-meta { font-size: 0.82rem; color: #9fa2a9; }
.j-dot { width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; background: #2f9e5b; flex: none; }
.j-dot svg { width: 18px; height: 18px; color: #fff; }
@keyframes pop {
  0%, 8% { opacity: 0; transform: scale(0.85) translateY(10px); }
  16%, 82% { opacity: 1; transform: none; }
  92%, 100% { opacity: 0; transform: scale(0.95) translateY(-6px); }
}

@media (max-width: 1039px) {
  .journey { height: auto; display: grid; gap: 2rem; max-width: 520px; padding-top: 1rem; }
  .journey-path { display: none; }
  .j-card { position: relative; inset: auto; width: 100%; animation: none; }
  .j-site { width: 92%; justify-self: end; }
  .j-note { width: 86%; }
}

/* ---------- services index ---------- */
.svc-list { list-style: none; border-top: 1px solid var(--line-strong); }
.svc-list li { border-bottom: 1px solid var(--line-strong); }
.svc-row {
  position: relative; isolation: isolate; display: grid; gap: 0.75rem 1.25rem; align-items: center;
  grid-template-columns: 2.5rem 1fr; padding: 1.75rem 0.25rem;
  transition: color 0.5s var(--ease), padding 0.6s var(--ease);
}
.svc-row::before {
  content: ''; position: absolute; inset: 0 calc(var(--gutter) * -0.5); z-index: -1; border-radius: 1.5rem;
  background: var(--ink); transform: scaleY(0); transform-origin: 50% 100%; opacity: 0;
  transition: transform 0.6s var(--ease), opacity 0.4s var(--ease);
}
.svc-n { color: var(--faint); align-self: start; padding-top: 0.6rem; }
.svc-t { font-weight: 700; font-size: clamp(1.9rem, 4.4vw, 3.6rem); letter-spacing: -0.04em; line-height: 1; }
.svc-d { grid-column: 2; display: grid; gap: 0.9rem; color: var(--muted); max-width: 46ch; transition: color 0.5s var(--ease); }
.svc-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.svc-chips em { font-style: normal; font-size: 0.8rem; padding: 0.3rem 0.7rem; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-strong); transition: box-shadow 0.5s var(--ease), color 0.5s var(--ease); }
.svc-go {
  display: none; width: 3.5rem; height: 3.5rem; border-radius: 50%; place-items: center; justify-self: end;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: transform 0.6s var(--spring), background-color 0.4s var(--ease), color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.svc-go svg { width: 20px; height: 20px; }
@media (min-width: 900px) {
  .svc-row { grid-template-columns: 4rem minmax(0, 1.05fr) minmax(0, 1fr) 3.5rem; padding: 2.4rem 0.25rem; }
  .svc-d { grid-column: auto; }
  .svc-go { display: grid; }
  .svc-row:hover { color: #fff; padding-inline: 1.5rem; }
  .svc-row:hover::before { transform: scaleY(1); opacity: 1; }
  .svc-row:hover .svc-d { color: #b7bac0; }
  .svc-row:hover .svc-n { color: #8f929a; }
  .svc-row:hover .svc-chips em { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); color: #e6e7ea; }
  .svc-row:hover .svc-go { background: #fff; color: var(--ink); transform: rotate(45deg); box-shadow: none; }
}

/* ---------- work gallery ---------- */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; justify-self: end; }
.filters button {
  border: 0; cursor: pointer; padding: 0.6rem 1.1rem; border-radius: 999px; font-size: 0.92rem;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), transform 0.3s var(--ease);
}
.filters button:hover { box-shadow: inset 0 0 0 1px var(--line-strong); }
.filters button:active { transform: scale(0.97); }
.filters button[aria-pressed='true'] { background: var(--ink); color: #fff; box-shadow: none; }
.filters .count { margin-left: 0.75rem; }

.gallery { display: grid; gap: 3rem 1.25rem; grid-template-columns: 1fr; grid-auto-flow: dense; }
.g-item { transition: opacity 0.45s var(--ease), transform 0.6s var(--ease); }
.js .g-item.reveal.out { opacity: 0; transform: scale(0.97); }
.g-item[hidden] { display: none; }
.g-media {
  position: relative; overflow: hidden; border-radius: 1.75rem; aspect-ratio: 4 / 3;
  background: var(--tint, var(--surface));
  box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -40px rgba(20, 24, 36, 0.35);
}
.g-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: transform 1.2s var(--ease); }
.g-item:hover .g-media img { transform: scale(1.045); }
.g-cap { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: 1.1rem 0.35rem 0; }
.g-cap h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.015em; }
.g-cap p { color: var(--muted); font-size: 0.93rem; margin-top: 0.15rem; }

.g-type { background: var(--ink); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.75rem; gap: 0.6rem; box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08), 0 30px 60px -40px rgba(11, 11, 12, 0.6); }
.g-type .mono { color: #8f929a; }
.g-type strong { font-size: clamp(1.4rem, 2vw, 1.8rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.02; max-width: 13ch; }
.viz { position: absolute; top: 1.75rem; left: 1.75rem; right: 1.75rem; height: 42%; }
.viz-pos { display: flex; align-items: flex-end; gap: 7%; }
.viz-pos i { flex: 1; height: 100%; border-radius: 6px 6px 2px 2px; background: rgba(255, 255, 255, 0.14); transform-origin: bottom; animation: bars 3.2s var(--ease) infinite alternate; }
.viz-pos i:nth-child(1) { animation-delay: -0.2s; } .viz-pos i:nth-child(2) { animation-delay: -1.1s; }
.viz-pos i:nth-child(3) { animation-delay: -2.3s; } .viz-pos i:nth-child(4) { animation-delay: -0.7s; background: rgba(255, 255, 255, 0.85); }
.viz-pos i:nth-child(5) { animation-delay: -1.8s; } .viz-pos i:nth-child(6) { animation-delay: -2.9s; } .viz-pos i:nth-child(7) { animation-delay: -1.4s; }
@keyframes bars { from { transform: scaleY(0.25); } to { transform: scaleY(1); } }
.viz-print { display: flex; justify-content: center; overflow: hidden; border-bottom: 2px solid rgba(255, 255, 255, 0.25); }
.ticket { width: 46%; background: #f4f4f2; border-radius: 4px 4px 0 0; padding: 0.9rem 0.8rem; display: grid; gap: 0.45rem; align-content: start; height: 160%; animation: feed 4s var(--ease) infinite; }
.ticket b { height: 9px; width: 50%; background: var(--ink); border-radius: 2px; }
.ticket s { height: 5px; background: #cfd1d6; border-radius: 2px; }
.ticket s.short { width: 60%; }
@keyframes feed { 0% { transform: translateY(100%); } 55%, 100% { transform: translateY(8%); } }
.viz-flame { display: grid; place-items: center; }
.flame { width: 5.5rem; height: 5.5rem; border-radius: 0 50% 50% 50%; transform: rotate(45deg); background: radial-gradient(circle at 58% 58%, #fff 0 16%, rgba(255, 255, 255, 0.35) 17% 46%, rgba(255, 255, 255, 0.1) 47%); animation: flicker 2.4s var(--ease) infinite alternate; }
@keyframes flicker { from { transform: rotate(45deg) scale(0.94); } to { transform: rotate(45deg) scale(1.04); } }

@media (min-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
  .gallery { grid-template-columns: repeat(12, 1fr); gap: 3.5rem 1.5rem; }
  .g-item.w7 { grid-column: span 7; }
  .g-item.w5 { grid-column: span 5; }
  .g-item.w5 .g-media { aspect-ratio: auto; height: calc(100% - 4.6rem); min-height: 22rem; }
  .g-item.w6 { grid-column: span 6; }
  .g-item.w4 { grid-column: span 4; }
  .g-item.drop { margin-top: 6rem; }
  .gallery.filtered .g-item.drop { margin-top: 0; }
  .gallery.filtered .g-item { grid-column: span 6; }
  .gallery.filtered .g-item .g-media { aspect-ratio: 4 / 3; height: auto; min-height: 0; }
}
/* slogan: each line stays on one line on desktop */
.slogan { font-size: clamp(2.6rem, 9vw, 4.6rem); }
@media (min-width: 1040px) {
  .hero2-grid { grid-template-columns: 1.25fr 1fr; }
  .slogan { font-size: min(4.9vw, 4.3rem); white-space: nowrap; }
}

/* =====================================================================
   v4: service checkboxes, testimonials, small refinements
   ===================================================================== */
.checks-field { border: 0; min-width: 0; }
.checks-field legend { font-size: 0.85rem; color: #b5b8be; margin-bottom: 0.6rem; }
.field .opt { color: #8f929a; font-weight: 400; }
.checks { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.check { position: relative; display: inline-flex; }
.check input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; width: 100%; height: 100%; }
.check span {
  display: inline-flex; align-items: center; gap: 0.55rem; min-height: 44px; padding: 0 1rem; border-radius: 999px;
  background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); color: #e7e8ea; font-size: 0.92rem;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.check span::before { content: ''; width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.45); transition: box-shadow 0.25s var(--ease), background-color 0.25s var(--ease); flex: none; }
.check input:checked + span { background: #fff; color: var(--ink); box-shadow: none; }
.check input:checked + span::before { background: var(--ink); box-shadow: inset 0 0 0 4px #fff, 0 0 0 1.5px var(--ink); }
.check input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
@media (hover: hover) { .check:hover span { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); } }
.field input, .field select, .field textarea { font-size: 1rem; }
@media (max-width: 640px) { .field input, .field select, .field textarea { font-size: 16px; } }

.quotes { display: grid; gap: 1rem; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); } }
.quotes .core { padding: clamp(1.75rem, 3vw, 2.5rem); display: flex; flex-direction: column; gap: 1.75rem; }
.quotes blockquote { font-size: clamp(1.15rem, 1.5vw, 1.35rem); line-height: 1.45; letter-spacing: -0.01em; }
.quotes figcaption strong { display: block; font-weight: 600; }
.quotes figcaption span { color: var(--muted); font-size: 0.92rem; }

/* touch targets on phones */
@media (max-width: 899px) {
  .filters button { min-height: 44px; }
  .burger { width: 3rem; height: 3rem; }
}
.nw { white-space: nowrap; }
.plans .shell.dark .for { color: #a3a6ad; }
/* keep price, description and list aligned across the three cards */
@media (min-width: 960px) { .plans .for { min-height: 3.2em; } .plans .name { min-height: 2.4rem; } }
.plans .for { text-wrap: balance; }
.plans .shell.dark .price small { color: #a3a6ad; }

/* =====================================================================
   Selected work carousel: native horizontal scroll with snap points.
   The track bleeds to the right edge of the screen so the next card peeks in.
   ===================================================================== */
.carousel { --edge: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
.car-track {
  display: flex !important; gap: clamp(0.9rem, 1.6vw, 1.5rem);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge);
  margin-inline: calc(50% - 50vw); padding: 0.75rem var(--edge) 1.75rem;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  cursor: grab; outline: none;
}
.car-track::-webkit-scrollbar { display: none; }
.car-track:focus-visible { box-shadow: inset 0 0 0 2px var(--ink); border-radius: 1rem; }
.car-track.dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.car-track.dragging .g-item { pointer-events: none; }
.car-track > .g-item {
  flex: 0 0 min(84vw, 26rem); scroll-snap-align: start; margin-top: 0 !important;
}
@media (min-width: 760px) { .car-track > .g-item { flex-basis: min(46vw, 30rem); } }
@media (min-width: 1100px) { .car-track > .g-item { flex-basis: 32rem; } }
.car-track .g-media { aspect-ratio: 4 / 3 !important; height: auto !important; min-height: 0 !important; }
.car-track img { -webkit-user-drag: none; user-select: none; }

.car-bar { display: flex; align-items: center; gap: 1.25rem; margin-top: 0.75rem; }
.car-count { font-size: 0.85rem; min-width: 4.5rem; }
.car-progress { flex: 1; height: 2px; border-radius: 2px; background: var(--line-strong); overflow: hidden; }
.car-progress i { display: block; height: 100%; background: var(--ink); transform-origin: left; transform: scaleX(max(0.08, var(--p, 0))); transition: transform 0.3s var(--ease); }
.car-btns { display: flex; gap: 0.6rem; }
.car-btn {
  width: 3.25rem; height: 3.25rem; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong), 0 10px 24px -14px rgba(20, 24, 36, 0.35);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.car-btn svg { width: 20px; height: 20px; }
.car-btn:not(:disabled):hover { background: var(--ink); color: #fff; }
.car-btn:active { transform: scale(0.95); }
.car-btn:disabled { opacity: 0.35; cursor: default; }
@media (max-width: 759px) { .car-btn { width: 2.9rem; height: 2.9rem; } }

/* project cards that link to the live site */
.g-link { display: block; color: inherit; border-radius: 1.75rem; }
.g-link:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.g-media.shot img, .thumb.shot img { object-fit: cover; object-position: top center; }
.g-media.shot img { inset: 0; }
.visit {
  position: absolute; left: 0.9rem; bottom: 0.9rem; z-index: 1;
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: 36px; padding: 0 0.9rem;
  border-radius: 999px; background: rgba(255, 255, 255, 0.92); color: var(--ink); font-size: 0.85rem; font-weight: 500;
  box-shadow: 0 0 0 1px var(--line), 0 8px 20px -10px rgba(20, 24, 36, 0.4);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.visit .arrow { width: 13px; height: 13px; transition: transform 0.4s var(--spring); }
.g-link:hover .visit, .g-link:focus-visible .visit { background: var(--ink); color: #fff; }
.g-link:hover .visit .arrow { transform: translate(2px, -2px); }
.thumb.shot { position: relative; }
.meta h3 a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* =====================================================================
   Hero showcase: real client websites in a browser frame (replaces the
   abstract search/booking mock-up). Rotates every few seconds, pauses on
   hover/focus, and each slide links to the live site.
   ===================================================================== */
.showcase { position: relative; display: grid; gap: 1rem; }
.sc-frame {
  border-radius: 1.6rem; padding: 0.4rem; background: rgba(11, 11, 12, 0.035);
  box-shadow: inset 0 0 0 1px var(--line), 0 50px 90px -50px rgba(20, 24, 36, 0.45);
}
.sc-bar {
  display: flex; align-items: center; gap: 6px; padding: 0.7rem 0.9rem 0.75rem;
  background: #fff; border-radius: calc(1.6rem - 0.4rem) calc(1.6rem - 0.4rem) 0 0; border-bottom: 1px solid var(--line);
}
.sc-bar > i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.sc-url {
  margin: 0 auto; display: inline-flex; align-items: center; gap: 0.4rem; max-width: 70%;
  padding: 0.3rem 0.9rem; border-radius: 999px; background: var(--bg); color: var(--muted); font-size: 0.8rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sc-url svg { width: 12px; height: 12px; flex: none; }
.sc-screen { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: #fff; border-radius: 0 0 calc(1.6rem - 0.4rem) calc(1.6rem - 0.4rem); }
.sc-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.7s var(--ease), visibility 0s linear 0.7s; }
.sc-slide.is-active { opacity: 1; visibility: visible; transition: opacity 0.7s var(--ease); }
.sc-slide img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transform: scale(1.04); transition: transform 6s linear; }
.sc-slide.is-active img { transform: scale(1); }
.sc-live {
  position: absolute; right: 0.9rem; bottom: 0.9rem; pointer-events: none;
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: 34px; padding: 0 0.85rem; border-radius: 999px;
  background: rgba(255, 255, 255, 0.94); color: var(--ink); font-size: 0.82rem; font-weight: 500;
  box-shadow: 0 0 0 1px var(--line), 0 8px 20px -10px rgba(20, 24, 36, 0.4);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.sc-live .arrow { width: 12px; height: 12px; }
.sc-screen:hover .sc-live { background: var(--ink); color: #fff; }
.sc-slide:focus-visible { outline: 3px solid var(--ink); outline-offset: -3px; }

.sc-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.sc-tab {
  position: relative; overflow: hidden; text-align: left; cursor: pointer; border: 0;
  min-height: 56px; padding: 0.7rem 0.85rem 0.8rem; border-radius: 1rem;
  background: rgba(255, 255, 255, 0.6); box-shadow: inset 0 0 0 1px var(--line);
  display: grid; gap: 0.1rem; align-content: start;
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.sc-tab span { font-weight: 600; font-size: 0.88rem; line-height: 1.2; letter-spacing: -0.01em; }
.sc-tab em { font-style: normal; font-size: 0.76rem; color: var(--muted); line-height: 1.3; }
.sc-tab[aria-selected='true'] { background: #fff; box-shadow: inset 0 0 0 1px var(--line-strong), 0 10px 24px -16px rgba(20, 24, 36, 0.4); }
.sc-tab:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.sc-timer { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.showcase.playing .sc-tab[aria-selected='true'] .sc-timer { animation: sc-timer var(--sc-ms, 5000ms) linear forwards; }
.showcase.paused .sc-timer { animation-play-state: paused !important; }
@keyframes sc-timer { to { transform: scaleX(1); } }

/* optional testimonial card (appears once TESTIMONIALS has a quote) */
.sc-quote {
  position: absolute; left: -2rem; bottom: 5.5rem; max-width: 18rem; z-index: 2;
  padding: 1.1rem 1.2rem; border-radius: 1.25rem; background: var(--ink); color: #fff;
  box-shadow: 0 30px 60px -30px rgba(11, 11, 12, 0.6);
}
.sc-quote blockquote { font-size: 0.95rem; line-height: 1.45; }
.sc-quote figcaption { margin-top: 0.75rem; font-size: 0.8rem; color: #a3a6ad; }
.sc-quote figcaption strong { display: block; color: #fff; font-weight: 600; }

@media (max-width: 1039px) {
  .showcase { max-width: 640px; }
  .sc-quote { position: static; max-width: none; }
}
@media (max-width: 520px) {
  .sc-tabs { grid-template-columns: 1fr 1fr 1fr; gap: 0.4rem; }
  .sc-tab { padding: 0.6rem 0.65rem 0.7rem; }
  .sc-tab em { display: none; }
  .sc-tab span { font-size: 0.78rem; }
  .sc-url { max-width: 78%; font-size: 0.72rem; }
}
.sc-tab .short { display: none; }
@media (max-width: 520px) { .sc-tab .full { display: none; } .sc-tab .short { display: block; } }

/* =====================================================================
   Hero: the 1189 DESIGN logo as a 3D extruded object.
   22 stacked copies of the real logo file, each pushed back in Z and
   shaded lighter, form the extrusion; the front copy is the true logo.
   ===================================================================== */
.logo3d { --rx: 0deg; --ry: 0deg; display: grid; place-items: center; }
.l3-stage {
  position: relative; width: 100%; max-width: 620px; aspect-ratio: 1 / 0.8;
  display: grid; place-items: center; perspective: 1100px;
}
.l3-stage::before {
  content: ''; position: absolute; inset: 6% 4%; border-radius: 50%; z-index: -1;
  background: radial-gradient(closest-side, #fff 0%, rgba(255, 255, 255, 0.6) 45%, rgba(255, 255, 255, 0) 100%);
}
.l3-tilt {
  width: 92%; aspect-ratio: 1085 / 175; transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.6s var(--ease);
}
.l3-obj {
  position: relative; width: 100%; height: 100%; transform-style: preserve-3d;
  animation: l3-idle 9s ease-in-out infinite;
}
.l3-obj img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  transform: translateZ(calc(var(--z) * -1.6px));
  filter: invert(calc(0.46 + var(--z) * 0.014)); /* extrusion: mid grey getting lighter towards the back */
  backface-visibility: hidden; user-select: none; -webkit-user-drag: none;
}
.l3-obj img.face { filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.35)); }
.l3-floor {
  position: absolute; left: 14%; right: 14%; bottom: 14%; height: 12%; border-radius: 50%; z-index: -1;
  background: radial-gradient(closest-side, rgba(20, 24, 36, 0.22), rgba(20, 24, 36, 0));
  filter: blur(6px); animation: l3-floor 9s ease-in-out infinite;
}
@keyframes l3-idle {
  0%, 100% { transform: rotateX(14deg) rotateY(-24deg) translateY(-2%); }
  50% { transform: rotateX(8deg) rotateY(18deg) translateY(2%); }
}
@keyframes l3-floor {
  0%, 100% { transform: scaleX(0.92); opacity: 0.8; }
  50% { transform: scaleX(1.04); opacity: 1; }
}
.logo3d.tracking .l3-obj { animation-play-state: paused; }
@media (max-width: 1039px) { .l3-stage { max-width: 520px; margin-inline: auto; aspect-ratio: 1 / 0.6; } }
@media (prefers-reduced-motion: reduce) {
  .l3-obj { animation: none; transform: rotateX(12deg) rotateY(-20deg); }
  .l3-floor { animation: none; }
}
/* a crisp dark rim right behind the face sells the edge of the extrusion */
.l3-obj img[style="--z:1"] { filter: invert(0.22); }
.l3-obj img.face { filter: none; }

/* services on phones/tablets: no hover, so rows alternate black and white cards */
@media (max-width: 899px) {
  .svc-list { border-top: 0; display: grid; gap: 0.75rem; }
  .svc-list li { border-bottom: 0; }
  .svc-row {
    grid-template-columns: 2rem 1fr auto; align-items: start; gap: 0.9rem 0.75rem;
    padding: 1.5rem 1.25rem 1.6rem; border-radius: 1.5rem;
    background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), 0 18px 40px -28px rgba(20, 24, 36, 0.35);
  }
  .svc-n { padding-top: 0.45rem; }
  .svc-t { font-size: clamp(1.6rem, 7vw, 2.1rem); }
  .svc-d { grid-column: 2 / -1; font-size: 0.98rem; }
  .svc-go { display: grid; width: 2.6rem; height: 2.6rem; grid-column: 3; grid-row: 1; background: var(--ink); color: #fff; box-shadow: none; }
  .svc-go svg { width: 16px; height: 16px; }
  .svc-row:active { transform: scale(0.99); }

  .svc-list li:nth-child(odd) .svc-row { background: var(--ink); color: #fff; box-shadow: 0 24px 48px -30px rgba(11, 11, 12, 0.6); }
  .svc-list li:nth-child(odd) .svc-d { color: #b7bac0; }
  .svc-list li:nth-child(odd) .svc-n { color: #8f929a; }
  .svc-list li:nth-child(odd) .svc-chips em { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); color: #e6e7ea; }
  .svc-list li:nth-child(odd) .svc-go { background: #fff; color: var(--ink); }
}

/* phones/tablets: 3D logo first, compact so the headline still sits on the first screen */
@media (max-width: 1039px) {
  .hero2 { min-height: 0; padding-top: 6.25rem; }
  .hero2-grid { gap: 1.25rem; }
  .logo3d { order: -1; }
  .l3-stage { aspect-ratio: 1 / 0.42; max-width: 560px; }
  .l3-tilt { width: 96%; }
  .l3-floor { bottom: 4%; }
}

/* =====================================================================
   Black "built with" strip: large tool names sliding past.
   ===================================================================== */
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.stack-strip {
  background: var(--ink); color: #fff; overflow: hidden;
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 7vw, 5rem);
  border-block: 1px solid rgba(255, 255, 255, 0.06);
}
.stack-label { text-align: center; color: #8f929a; margin-bottom: clamp(1rem, 2.5vw, 1.75rem); letter-spacing: 0.04em; }
.stack-track { display: flex; align-items: center; width: max-content; animation: slide 46s linear infinite; }
.stack-strip:hover .stack-track { animation-play-state: paused; }
.stack-word {
  font-weight: 700; font-size: clamp(2.6rem, 7.2vw, 6.25rem); line-height: 1.05; letter-spacing: -0.04em;
  color: #4a4d53; white-space: nowrap; padding-inline: clamp(1.25rem, 2.6vw, 2.5rem);
  transition: color 0.35s var(--ease);
}
.stack-word:hover { color: #fff; }
.stack-star { color: #fff; font-size: clamp(0.9rem, 1.6vw, 1.35rem); opacity: 0.9; }
@media (prefers-reduced-motion: reduce) { .stack-track { animation: none; } }

/* hero without the logo: one strong text column */
.hero2-grid.solo { grid-template-columns: 1fr; }
.hero2-grid.solo .hero2-copy { max-width: 1120px; }
@media (min-width: 1040px) {
  .hero2-grid.solo .slogan { font-size: clamp(4rem, 7.4vw, 7.25rem); white-space: normal; }
  .hero2-grid.solo .lede { max-width: 52ch; }
  .hero2:has(.solo) { min-height: 0; padding-bottom: clamp(4rem, 8vw, 7rem); }
}

/* 3D logo as the footer sign-off (replaces the faded wordmark) */
.foot-logo { margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.foot-logo .l3-stage { max-width: 980px; aspect-ratio: 1 / 0.32; margin-inline: auto; }
.foot-logo .l3-tilt { width: 94%; }
.foot-logo .l3-floor { bottom: 2%; }
.foot-logo .l3-stage::before { inset: -10% 10%; }
@media (max-width: 1039px) {
  .foot-logo { order: 0; }
  .foot-logo .l3-stage { aspect-ratio: 1 / 0.42; }
}

/* =====================================================================
   Reviews
   ===================================================================== */
.reviews { padding-top: clamp(1rem, 4vw, 3rem); }
.reviews-grid { display: grid; gap: 1rem; }
@media (min-width: 960px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } .review.dark { transform: translateY(-1.5rem); } }
.review {
  position: relative; display: flex; flex-direction: column; gap: 1.5rem;
  padding: clamp(1.75rem, 3vw, 2.25rem); border-radius: 1.75rem;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), 0 24px 50px -34px rgba(20, 24, 36, 0.35);
}
.review.dark { background: var(--ink); color: #fff; box-shadow: 0 34px 60px -36px rgba(11, 11, 12, 0.7); }
.review-mark { font-size: 4.5rem; line-height: 0.6; font-weight: 700; height: 1.6rem; color: var(--ink); }
.review.dark .review-mark { color: #fff; }
.review blockquote { flex: 1; font-size: clamp(1.05rem, 1.25vw, 1.2rem); line-height: 1.55; letter-spacing: -0.005em; text-wrap: pretty; }
.review figcaption { display: flex; align-items: center; gap: 0.85rem; }
.review-avatar {
  width: 2.75rem; height: 2.75rem; border-radius: 0.9rem; flex: none; display: grid; place-items: center;
  font-weight: 700; font-size: 0.9rem; background: var(--ink); color: #fff;
}
.review.dark .review-avatar { background: #fff; color: var(--ink); }
.review-who { display: grid; }
.review-who strong { font-weight: 600; font-size: 1rem; }
.review-who span { color: var(--muted); font-size: 0.88rem; }
.review.dark .review-who span { color: #a3a6ad; }
.review-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.review.dark .review-foot { border-color: rgba(255, 255, 255, 0.12); }
.review-did { font-size: 0.8rem; padding: 0.35rem 0.75rem; border-radius: 999px; background: var(--bg); }
.review.dark .review-did { background: rgba(255, 255, 255, 0.1); color: #e6e7ea; }
.review-link { display: inline-flex; align-items: center; gap: 0.3rem; min-height: 44px; font-weight: 500; font-size: 0.92rem; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* reviews as a carousel (shares the work carousel behaviour) */
.reviews-track > .review { flex: 0 0 min(86vw, 25rem); scroll-snap-align: start; transform: none !important; }
@media (min-width: 760px) { .reviews-track > .review { flex-basis: min(48vw, 28rem); } }
@media (min-width: 1100px) { .reviews-track > .review { flex-basis: 30rem; } }
.reviews-track { padding-bottom: 2.25rem; }
/* hide the controls when every card already fits on screen */
.carousel.fits .car-btns, .carousel.fits .car-progress, .carousel.fits .car-count { visibility: hidden; }

/* "How it works": a swipeable carousel on phones, the normal staggered grid from 760px up */
@media (max-width: 759px) {
  .steps-track > li { flex: 0 0 min(80vw, 20rem); scroll-snap-align: start; margin-top: 0 !important; }
  .steps-track > li .core { height: 100%; min-height: 15rem; }
  .steps-track { padding-bottom: 1.5rem; cursor: auto; }
}
@media (min-width: 760px) {
  .steps.steps-track { display: grid !important; overflow: visible; margin-inline: 0; padding: 0; scroll-snap-type: none; cursor: auto; }
  .steps-bar { display: none; }
}

/* brand wordmark between the eyebrow and the slogan */
.hero-logo { --lh: clamp(1.9rem, 3.4vw, 2.75rem); display: block; width: auto; height: var(--lh); margin: 0.25rem 0 clamp(1rem, 2vw, 1.5rem) calc(var(--lh) * -0.42); }

/* slimmer "Built with" strip */
.stack-strip { padding-block: clamp(1.25rem, 3vw, 2.25rem) clamp(1.5rem, 3.5vw, 2.5rem); }
.stack-label { margin-bottom: clamp(0.5rem, 1.2vw, 0.9rem); font-size: 0.72rem; }
.stack-word { font-size: clamp(1.5rem, 4vw, 3.25rem); padding-inline: clamp(0.9rem, 1.8vw, 1.6rem); }
.stack-star { font-size: clamp(0.7rem, 1.1vw, 1rem); }

/* hero breathing room: header -> eyebrow, and CTA -> black strip */
.hero2 { padding-top: clamp(8rem, 13vw, 11rem); padding-bottom: clamp(4.5rem, 9vw, 7.5rem); }
@media (max-width: 1039px) { .hero2 { padding-top: 8.5rem; padding-bottom: 5rem; } }

/* footer: the 3D logo replaces the small wordmark above the description */
.foot-brand { display: block; width: min(100%, 420px); }
.foot-logo { margin-top: 0; }
.foot-logo .l3-stage { max-width: 420px; aspect-ratio: 1 / 0.36; margin-inline: 0; }
.foot-logo .l3-tilt { width: 100%; }
.foot-logo .l3-stage::before { inset: -20% -6%; }
.foot-logo .l3-floor { left: 8%; right: 8%; bottom: 0; }
@media (max-width: 1039px) { .foot-logo .l3-stage { aspect-ratio: 1 / 0.36; } }
@media (min-width: 900px) {
  .foot { grid-template-columns: minmax(300px, 420px) 1fr; column-gap: 4rem; }
  .foot nav { justify-content: flex-end; align-self: center; }
}
