/* LS1 website styles. Colours are tokens at the top; the dark scheme redefines them. */

:root {
  --bg: #f6f5f1;
  --bg-2: #efede7;
  --surface: #ffffff;
  --surface-2: #fbfaf8;
  --ink: #0d0e11;
  --ink-2: #464a53;
  --ink-3: #777b85;
  --line: rgba(13, 14, 17, 0.1);
  --line-2: rgba(13, 14, 17, 0.16);
  --accent: #e8500c;
  --accent-txt: #c2410c;
  --accent-2: #ff8f5a;
  --accent-2-ink: #160800;
  --accent-ink: #ffffff;
  --accent-soft: rgba(232, 80, 12, 0.09);
  --ok: #17a86b;
  --shadow: 0 1px 2px rgba(13, 14, 17, 0.04), 0 12px 40px -12px rgba(13, 14, 17, 0.12);
  --shadow-lg: 0 2px 4px rgba(13, 14, 17, 0.04), 0 30px 80px -20px rgba(13, 14, 17, 0.22);
  --grid: rgba(13, 14, 17, 0.055);
  --glow: rgba(255, 81, 0, 0.14);
  --sans: 'Inter Tight', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Instrument Serif', ui-serif, Georgia, serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --r: 22px;
  --r-sm: 14px;
  --wrap: 1240px;
  --gut: 24px;
  --hdr: 76px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #0a0b0d;
    --bg-2: #0f1114;
    --surface: #14161a;
    --surface-2: #181a1f;
    --ink: #f3f2ee;
    --ink-2: #b3b6bd;
    --ink-3: #80848d;
    --line: rgba(255, 255, 255, 0.085);
    --line-2: rgba(255, 255, 255, 0.14);
    --accent: #ff7a3d;
    --accent-txt: #ff925f;
    --accent-2: #e04a0a;
    --accent-2-ink: #ffffff;
    --accent-ink: #160800;
    --accent-soft: rgba(255, 122, 61, 0.12);
    --ok: #3fd394;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 40px -12px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.3), 0 30px 80px -20px rgba(0, 0, 0, 0.75);
    --grid: rgba(255, 255, 255, 0.045);
    --glow: rgba(255, 110, 50, 0.17);
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --bg: #0a0b0d;
  --bg-2: #0f1114;
  --surface: #14161a;
  --surface-2: #181a1f;
  --ink: #f3f2ee;
  --ink-2: #b3b6bd;
  --ink-3: #80848d;
  --line: rgba(255, 255, 255, 0.085);
  --line-2: rgba(255, 255, 255, 0.14);
  --accent: #ff7a3d;
  --accent-txt: #ff925f;
  --accent-2: #e04a0a;
  --accent-2-ink: #ffffff;
  --accent-ink: #160800;
  --accent-soft: rgba(255, 122, 61, 0.12);
  --ok: #3fd394;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 40px -12px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.3), 0 30px 80px -20px rgba(0, 0, 0, 0.75);
  --grid: rgba(255, 255, 255, 0.045);
  --glow: rgba(255, 110, 50, 0.17);
  color-scheme: dark;
}

/* ---------- base */
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  transition: background-color 0.3s ease, color 0.3s ease;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.035em; line-height: 1.04; }
em { font-style: normal; }
h1 em, h2 em, h3 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--accent);
}
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.mono { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.02em; text-transform: uppercase; }
.muted { color: var(--ink-3); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }

/* ---------- buttons */
.btn {
  --b: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
  font-weight: 600;
  font-size: 0.97rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 30px -10px var(--accent); }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); box-shadow: none; }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 0.9rem; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1.02rem; }
.btn__arrow { transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* ---------- kicker and section heads */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.kicker__num { color: var(--accent-txt); }
.kicker__num::after { content: '/'; margin-left: 10px; color: var(--line-2); }
.shead { max-width: 760px; }
.shead__title { margin-top: 18px; font-size: clamp(2.1rem, 4.6vw, 3.9rem); }
.shead__text { margin-top: 20px; color: var(--ink-2); font-size: 1.12rem; max-width: 600px; }
.shead-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

/* ---------- header */
.hdr {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.hdr.is-stuck, .hdr.is-open {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
  border-color: var(--line);
}
.hdr__in { display: flex; align-items: center; gap: 24px; height: var(--hdr); max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.hdr__logo { flex: none; }
.hdr__nav { display: flex; gap: 4px; margin: 0 auto; }
.hdr__nav a { padding: 8px 14px; border-radius: 999px; color: var(--ink-2); font-size: 0.95rem; font-weight: 500; transition: color 0.2s, background-color 0.2s; }
.hdr__nav a:hover { color: var(--ink); background: var(--accent-soft); }
.hdr__nav a[aria-current] { color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.hdr__tools { display: flex; align-items: center; gap: 10px; }

.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__mark {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.04em;
}
.logo__mark b { color: var(--accent-2); font-weight: 800; }
.logo__name { font-size: 0.78rem; line-height: 1.15; font-weight: 500; color: var(--ink-2); letter-spacing: -0.005em; }
.logo--img img { height: 44px; width: auto; }
.logo__dark { display: none; }
:root[data-theme='dark'] .logo__dark { display: block; }
:root[data-theme='dark'] .logo--img:has(.logo__dark) .logo__light { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .logo__dark { display: block; }
  :root:not([data-theme='light']) .logo--img:has(.logo__dark) .logo__light { display: none; }
}

.lang { display: flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line); }
.lang a { padding: 4px 9px; border-radius: 999px; font-family: var(--mono); font-size: 0.74rem; color: var(--ink-3); transition: color 0.2s, background-color 0.2s; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current] { background: var(--ink); color: var(--bg); }

.theme {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}
.theme:hover { border-color: var(--line-2); background: var(--accent-soft); }
.theme svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; grid-area: 1 / 1; transition: opacity 0.3s, transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
.theme__moon { opacity: 0; transform: rotate(-40deg) scale(0.6); }
:root[data-theme='dark'] .theme__sun { opacity: 0; transform: rotate(40deg) scale(0.6); }
:root[data-theme='dark'] .theme__moon { opacity: 1; transform: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .theme__sun { opacity: 0; transform: rotate(40deg) scale(0.6); }
  :root:not([data-theme='light']) .theme__moon { opacity: 1; transform: none; }
}

.burger { display: none; width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line); background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform 0.3s, top 0.3s; }
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 24px; }
.hdr.is-open .burger span:first-child { top: 20px; transform: rotate(45deg); }
.hdr.is-open .burger span:last-child { top: 20px; transform: rotate(-45deg); }

/* explicit height: the header's backdrop-filter makes it the containing block, so bottom: 0 would collapse the menu */
.mnav { position: fixed; inset: var(--hdr) 0 auto; height: calc(100vh - var(--hdr)); height: calc(100dvh - var(--hdr)); background: var(--bg); padding: 24px var(--gut) 32px; display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; }
.mnav[hidden] { display: none; }
.mnav nav { display: flex; flex-direction: column; }
.mnav nav a { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; font-size: 2rem; font-weight: 600; letter-spacing: -0.035em; border-bottom: 1px solid var(--line); }
.mnav nav a .mono { color: var(--accent-txt); }
.mnav nav a[aria-current] { color: var(--accent-txt); }
.mnav__foot { display: grid; gap: 14px; margin-top: 32px; }
.mnav__foot .btn { min-height: 56px; }
.mnav__lang { text-align: center; color: var(--ink-2); padding: 8px; }
body.menu-open { overflow: hidden; }

/* ---------- hero */
.hero { position: relative; padding: calc(var(--hdr) + 56px) 0 88px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 20%, transparent 75%);
}
.hero__glow {
  position: absolute;
  width: 900px;
  height: 900px;
  right: -260px;
  top: -320px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow), transparent 62%);
  filter: blur(10px);
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate(-80px, 60px) scale(1.08); } }
.hero__in { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 56px; align-items: center; }
.hero__eyebrow { padding: 6px 14px 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: color-mix(in srgb, var(--surface) 60%, transparent); color: var(--ink-2); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 var(--ok); animation: ping 2.4s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 60%, transparent); } 80%, 100% { box-shadow: 0 0 0 9px transparent; } }
.hero__title { margin-top: 26px; font-size: clamp(2.9rem, 6.6vw, 5.7rem); line-height: 0.98; letter-spacing: -0.045em; }
.hero__title em { display: block; margin-top: 14px; font-size: 0.48em; line-height: 1.1; text-wrap: balance; }
.hero__text { margin-top: 28px; max-width: 560px; color: var(--ink-2); font-size: 1.15rem; line-height: 1.6; }
.hero__note { margin-top: 18px; font-size: 0.74rem; letter-spacing: 0.02em; color: var(--ink-3); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }


/* hero illustration */
.hv { position: relative; aspect-ratio: 1 / 0.92; max-width: 600px; justify-self: end; width: 100%; }
.hv__browser {
  position: absolute;
  inset: 4% 6% 10% 0;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-7deg) rotateX(3deg);
  transform-origin: left center;
}
.hv__bar, .proj__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.hv__bar i, .proj__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.hv__url, .proj__bar span { margin-left: 10px; padding: 3px 12px; border-radius: 999px; background: var(--bg-2); font-family: var(--mono); font-size: 0.66rem; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hv__page { position: relative; padding: 16px 18px; height: calc(100% - 34px); }
.hv__nav { display: flex; justify-content: space-between; align-items: center; font-size: 0.72rem; }
.hv__nav b { font-weight: 700; letter-spacing: -0.02em; }
.hv__nav span { display: flex; gap: 12px; color: var(--ink-3); }
.hv__hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 14px; margin-top: 20px; }
.hv__h { font-weight: 700; font-size: clamp(1rem, 1.9vw, 1.45rem); line-height: 1.05; letter-spacing: -0.035em; }
.hv__sub { margin-top: 8px; font-size: 0.7rem; color: var(--ink-3); }
.hv__btn { display: inline-block; margin-top: 12px; padding: 6px 12px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 0.68rem; font-weight: 600; }
.hv__img { position: relative; border-radius: 12px; min-height: 110px; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 70%, #ffd29a), color-mix(in srgb, var(--accent) 30%, #ffe7d1)); overflow: hidden; }
.hv__img::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.45), transparent 50%); }
.hv__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.hv__cards span { display: grid; align-content: center; gap: 3px; min-height: 54px; padding: 8px 10px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line); }
.hv__cards b { font-size: 0.72rem; font-weight: 700; letter-spacing: -0.02em; color: var(--accent-txt); white-space: nowrap; }
.hv__cards small { font-size: 0.58rem; color: var(--ink-3); line-height: 1.2; }
.hv__rows { display: grid; gap: 8px; margin-top: 16px; }
.hv__rows span { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line); font-size: 0.64rem; color: var(--ink-2); }
.hv__rows b { padding: 2px 8px; border-radius: 6px; background: var(--accent-soft); color: var(--accent-txt); font-weight: 600; }
.hv__wire { position: absolute; inset: 50px 18px 16px; display: grid; grid-template-rows: 1.2fr 0.5fr; gap: 12px; pointer-events: none; }
.hv__wire i { border: 1.5px dashed var(--line-2); border-radius: 10px; }
.hv__wire i:nth-child(n + 3) { display: none; }
.hv__phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 34%;
  aspect-ratio: 9 / 18.5;
  padding: 22px 10px 10px;
  border-radius: 26px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-lg), 0 0 0 6px #16171b, 0 0 0 7px var(--line-2);
  overflow: hidden;
}
.hv__notch { position: absolute; top: 8px; left: 50%; width: 34%; height: 7px; border-radius: 9px; background: var(--ink); transform: translateX(-50%); opacity: 0.9; }
.hv__pnav { display: flex; justify-content: space-between; font-size: 0.58rem; }
.hv__pimg { position: relative; margin-top: 10px; height: 34%; border-radius: 10px; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 70%, #ffd29a), color-mix(in srgb, var(--accent) 30%, #ffe7d1)); }
.hv__ph { margin-top: 10px; font-size: 0.72rem; font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; }
.hv__pbtn { display: block; margin-top: 10px; padding: 6px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 0.6rem; font-weight: 600; text-align: center; }
.hv__plines { display: grid; gap: 6px; margin-top: 12px; }
.hv__plines i { height: 6px; border-radius: 4px; background: var(--bg-2); }
.hv__plines i:last-child { width: 70%; }
/* website components appearing inside the orange picture boxes (desktop and phone) */
.hv__anim { position: absolute; inset: 0; z-index: 1; }
.hv__anim i { position: absolute; display: block; opacity: 1; }
.hv__anim .a1 { left: 5%; right: 5%; top: 8%; height: 15%; border-radius: 7px; background: rgba(255, 255, 255, 0.92); }
.hv__anim .a1::before { content: ''; position: absolute; left: 7%; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--accent); }
.hv__anim .a1::after { content: ''; position: absolute; right: 7%; top: 50%; width: 38%; height: 4px; margin-top: -2px; border-radius: 3px; background: linear-gradient(90deg, #c9ccd2 0 28%, transparent 28% 36%, #c9ccd2 36% 64%, transparent 64% 72%, #c9ccd2 72%); }
.hv__anim .a2 { left: 5%; top: 33%; width: 58%; height: 9%; border-radius: 4px; background: #fff; }
.hv__anim .a2::after { content: ''; position: absolute; left: 0; top: 190%; width: 66%; height: 100%; border-radius: 4px; background: rgba(255, 255, 255, 0.7); }
.hv__anim .a3 { left: 5%; top: 64%; width: 28%; height: 17%; border-radius: 999px; background: #1a0a02; }
.hv__anim .a3::after { content: ''; position: absolute; left: 22%; right: 22%; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 2px; background: #fff; }
.hv__anim .a4 { right: 5%; top: 31%; width: 30%; height: 30%; border-radius: 8px; background: rgba(255, 255, 255, 0.88); }
.hv__anim .a4::before { content: ''; position: absolute; left: 14%; top: 16%; width: 22%; aspect-ratio: 1; border-radius: 50%; background: var(--accent); opacity: 0.85; }
.hv__anim .a4::after { content: ''; position: absolute; left: 14%; right: 14%; bottom: 18%; height: 4px; border-radius: 3px; background: #c9ccd2; box-shadow: 0 -8px 0 #c9ccd2; }
.hv__pimg .hv__anim .a4 { display: none; }
.hv__pimg .hv__anim .a2 { width: 70%; }
@keyframes hva1 { 0%, 24% { opacity: 0; transform: translateY(-8px) scale(0.92); } 28% { opacity: 1; transform: translateY(0) scale(1.03); } 30%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateY(-8px); } }
@keyframes hva2 { 0%, 30% { opacity: 0; transform: translateY(8px) scale(0.92); } 34% { opacity: 1; transform: translateY(0) scale(1.03); } 36%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateY(8px); } }
@keyframes hva3 { 0%, 36% { opacity: 0; transform: translateY(8px) scale(0.92); } 40% { opacity: 1; transform: translateY(0) scale(1.03); } 42%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateY(8px); } }
@keyframes hva4 { 0%, 42% { opacity: 0; transform: translateY(8px) scale(0.92); } 46% { opacity: 1; transform: translateY(0) scale(1.03); } 48%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateY(8px); } }
@keyframes hva5 { 0%, 48% { opacity: 0; transform: translateY(8px) scale(0.92); } 52% { opacity: 1; transform: translateY(0) scale(1.03); } 54%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateY(8px); } }
.js .hv__anim .a1 { animation: hva1 9s infinite; }
.js .hv__anim .a2 { animation: hva2 9s infinite; }
.js .hv__anim .a3 { animation: hva3 9s infinite; }
.js .hv__anim .a4 { animation: hva4 9s infinite; }
.js .hv__anim i { animation-fill-mode: backwards; }
@media (min-width: 641px) { .hv__phone { width: 28%; } }
.hv__toast {
  position: absolute;
  left: -4%;
  bottom: 4%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  font-size: 0.82rem;
}
.hv__toast b { display: block; font-weight: 600; }
.hv__toast small { display: block; color: var(--ink-3); font-size: 0.72rem; }
.hv__tick { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); font-weight: 700; }
.hv__badge { position: absolute; top: 0; right: 4%; padding: 10px 14px; border-radius: 14px; background: var(--ink); color: var(--bg); box-shadow: var(--shadow-lg); }
.hv__badge small { display: block; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.7; }
.hv__badge b { font-size: 1.25rem; letter-spacing: -0.03em; }

/* build sequence: wireframe, then content, then phone and enquiry */
.js .hv__nav, .js .hv__hero, .js .hv__cards, .js .hv__rows { animation: hv-in 9s infinite; }
.js .hv__rows { animation-delay: 0.45s; }
.js .hv__wire { animation: hv-wire 9s infinite; }
.js .hv__phone { animation: hv-phone 9s infinite; }
.js .hv__toast { animation: hv-toast 9s infinite; }
.js .hv__badge { animation: hv-float 6s ease-in-out infinite; }
.js .hv__hero { animation-delay: 0.15s; }
.js .hv__cards { animation-delay: 0.3s; }
@keyframes hv-wire { 0%, 12% { opacity: 1; } 26%, 90% { opacity: 0; } 100% { opacity: 1; } }
@keyframes hv-in { 0%, 14% { opacity: 0; transform: translateY(8px); } 28%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes hv-phone { 0%, 30% { opacity: 0; transform: translateY(24px) rotate(3deg); } 42%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(12px); } }
@keyframes hv-toast { 0%, 52% { opacity: 0; transform: translateY(14px) scale(0.96); } 60%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes hv-float { 50% { transform: translateY(-8px); } }

/* ---------- marquee */
.marquee { padding: 36px 0 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.marquee__label { text-align: center; color: var(--ink-3); margin-bottom: 18px; }
.marquee__track { display: flex; width: max-content; animation: marquee 50s linear infinite; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__row { display: flex; flex: none; }
.marquee__row span { display: inline-flex; align-items: center; gap: 36px; padding-right: 36px; font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 600; letter-spacing: -0.035em; color: var(--ink-2); white-space: nowrap; }
.marquee__row span::after { content: '✦'; font-size: 0.6em; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections */
.sec { padding: 120px 0; position: relative; }
.sec--tight { padding: 56px 0 120px; }
.sec--alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }

/* services */
.svc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.svc__card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 28px 26px 24px;
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s, border-color 0.4s;
  overflow: hidden;
}
.svc__card::before { content: ''; position: absolute; inset: auto -40% -60% auto; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, var(--glow), transparent 65%); opacity: 0; transition: opacity 0.4s; }
a.svc__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
a.svc__card:hover::before { opacity: 1; }
.svc__num { color: var(--accent-txt); }
.svc__card h3 { margin-top: 44px; font-size: 1.5rem; }
.svc__card p { margin-top: 14px; color: var(--ink-2); font-size: 0.98rem; line-height: 1.55; }
.svc__points { position: relative; display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 24px; }
.svc__points li { padding: 6px 11px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); font-size: 0.82rem; font-weight: 500; color: var(--ink-2); }


/* projects */
.projs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.proj { display: flex; flex-direction: column; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.45s, border-color 0.45s; }
.proj[hidden] { display: none; }
a.proj:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.proj--wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
.proj__shot { position: relative; margin: 10px 10px 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); }
.proj__shot img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.proj--mock .proj__bar { display: none; }
.proj--mock .proj__shot { background: #fff; }
.proj--mock .proj__shot img { aspect-ratio: 16 / 9; object-position: center; }
a.proj:hover .proj__shot img { transform: scale(1.03); }
.proj__cover {
  position: relative;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 22px;
  background:
    radial-gradient(circle at 85% 15%, color-mix(in srgb, var(--pc) 55%, transparent), transparent 55%),
    linear-gradient(150deg, color-mix(in srgb, var(--pc) 22%, var(--surface)), color-mix(in srgb, var(--pc) 6%, var(--surface)));
  overflow: hidden;
}
.proj__cover::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 28px 28px; }
.proj__ini { position: relative; font-size: clamp(3rem, 6vw, 5rem); font-weight: 700; letter-spacing: -0.06em; line-height: 0.8; color: color-mix(in srgb, var(--pc) 75%, var(--ink)); transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
a.proj:hover .proj__ini { transform: translateY(-6px); }
.proj__lines { position: relative; display: grid; gap: 7px; width: 34%; }
.proj__lines i { height: 7px; border-radius: 6px; background: color-mix(in srgb, var(--pc) 30%, transparent); }
.proj__lines i:first-child { width: 70%; background: color-mix(in srgb, var(--pc) 60%, transparent); }
.proj__lines i:last-child { width: 50%; }
.proj--wide .proj__ini { font-size: clamp(4rem, 10vw, 8.5rem); }
.proj--wide .proj__shot { margin: 10px 0 10px 10px; }
.proj--wide .proj__shot img, .proj--wide .proj__cover { height: 280px; min-height: 0; max-height: none; aspect-ratio: auto; }
.proj--wide .proj__meta { justify-content: flex-end; padding: 36px 36px 34px; }
.proj--wide .proj__text { font-size: 1.05rem; max-width: 420px; }
.proj__meta { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; flex: 1; padding: 20px 22px 22px; }
.proj__type { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); }
.proj__name { margin-top: 8px; font-size: 1.3rem; letter-spacing: -0.03em; }
.proj--wide .proj__name { margin-top: 12px; font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.proj__text { margin-top: 8px; color: var(--ink-2); font-size: 0.95rem; }
.proj__go { display: inline-flex; gap: 6px; font-size: 0.9rem; font-weight: 600; color: var(--accent-txt); }
.proj__go .muted { font-weight: 400; font-size: 0.85rem; }


/* reviews */
.revs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 56px; }
.rev { position: relative; display: flex; flex-direction: column; gap: 22px; margin: 0; padding: 34px 34px 30px; border-radius: calc(var(--r) + 4px); background: var(--surface); border: 1px solid var(--line); }
.rev__mark { font-family: var(--serif); font-style: italic; font-size: 4.2rem; line-height: 0.6; height: 28px; color: var(--accent); }
.rev blockquote { margin: 0; color: var(--ink); font-size: 1.08rem; line-height: 1.6; letter-spacing: -0.01em; }
.rev figcaption { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-weight: 600; }
.revs__note { margin-top: 18px; color: var(--ink-3); font-size: 0.88rem; }

/* blog */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.sec--tight .posts { margin-top: 0; }
.post { display: flex; flex-direction: column; gap: 14px; padding: 28px 28px 26px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s, border-color 0.4s; }
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.post__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--ink-3); font-size: 0.74rem; }
.post__meta span { color: var(--accent-txt); }
.post__title { font-size: 1.3rem; line-height: 1.2; letter-spacing: -0.025em; }
.post__text { color: var(--ink-2); font-size: 0.96rem; line-height: 1.55; }
.post__go { display: inline-flex; gap: 6px; margin-top: auto; padding-top: 8px; font-size: 0.9rem; font-weight: 600; color: var(--accent-txt); }
.phero__title--post { max-width: 900px; font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.06; }
.phero .kicker a:hover { color: var(--accent-txt); }
.prose--post { margin: 0 auto; font-size: 1.08rem; line-height: 1.7; }
.prose--post h3 { font-size: 1.25rem; }
.prose--post ol { margin: 0 0 18px; padding-left: 22px; list-style: decimal; display: grid; gap: 8px; }
.postcta { max-width: 760px; margin: 64px auto 0; grid-template-columns: 1fr; gap: 14px; }
.postcta .btn { justify-self: start; }

/* process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; counter-reset: s; }
.steps__item { position: relative; padding: 28px 24px 26px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.steps__item::after { content: ''; position: absolute; top: 46px; right: -17px; width: 18px; height: 1px; background: var(--line-2); }
.steps__item:last-child::after { display: none; }
.steps__num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-txt); font-family: var(--mono); font-size: 0.85rem; font-weight: 600; }
.steps__item h3 { margin-top: 26px; font-size: 1.3rem; }
.steps__item p { margin-top: 10px; color: var(--ink-2); font-size: 0.96rem; }


/* about */
.about { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: center; }
.about__photo { position: relative; aspect-ratio: 4 / 5; border-radius: calc(var(--r) + 6px); overflow: hidden; background: radial-gradient(circle at 70% 20%, var(--glow), transparent 60%), linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 32px 32px, linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 32px 32px, var(--surface); border: 1px solid var(--line); display: grid; place-items: center; box-shadow: var(--shadow-lg); }
.about__photo .about__logo { width: 62%; height: auto; object-fit: contain; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.about__body { margin-top: 28px; }
.about__body p { margin: 0 0 18px; color: var(--ink-2); font-size: 1.08rem; line-height: 1.65; }
.about__body p:first-child { color: var(--ink); font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.55; letter-spacing: -0.015em; }
.princ__title { margin-top: 96px; font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -0.035em; }
.princ { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.princ__item { padding: 26px 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.princ__item .mono { color: var(--accent-txt); }
.princ__item h3 { margin-top: 30px; font-size: 1.25rem; }
.princ__item p { margin-top: 10px; color: var(--ink-2); font-size: 0.96rem; }

/* ---------- page hero */
.phero { position: relative; padding: calc(var(--hdr) + 80px) 0 64px; overflow: hidden; }
.phero__bg { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 60% 80% at 85% 0%, var(--glow), transparent 60%); }
.phero__bg::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 70% 90% at 80% 0%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 70% 90% at 80% 0%, #000 10%, transparent 70%); }
.phero .wrap { position: relative; }
.phero__title { margin-top: 22px; max-width: 1000px; font-size: clamp(2.8rem, 7vw, 6rem); line-height: 0.98; letter-spacing: -0.045em; }
.phero__text { margin-top: 26px; max-width: 640px; color: var(--ink-2); font-size: 1.18rem; }
.phero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.phero--center { min-height: 78vh; display: grid; align-items: center; text-align: center; }
.phero--center .phero__title, .phero--center .phero__text { margin-left: auto; margin-right: auto; }
.phero--center .phero__actions { justify-content: center; }
.phero--legal { padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.phero--legal .phero__title { font-size: clamp(2.4rem, 5vw, 4.2rem); }
.okmark { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 8px; border-radius: 24px; background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); font-size: 2rem; font-weight: 700; }
.nf { font-size: clamp(5rem, 16vw, 12rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: var(--accent); }
.nf__en { margin-top: 36px; color: var(--ink-3); font-size: 0.95rem; }
.nf__en a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* packages */
.pkgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.pkg { display: flex; flex-direction: column; padding: 32px 30px 30px; border-radius: calc(var(--r) + 4px); background: var(--surface); border: 1px solid var(--line); transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s; }
.pkg:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pkg--accent { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pkg--accent .pkg__text, .pkg--accent .pkg__list li, .pkg--accent .pkg__time { color: color-mix(in srgb, var(--bg) 72%, transparent); }
.pkg--accent .pkg__num { color: var(--accent-2); }
.pkg--accent .pkg__list li::before { background: var(--accent-2); }
.pkg--accent .pkg__list { border-color: color-mix(in srgb, var(--bg) 16%, transparent); }
.pkg--accent .btn { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.pkg--accent .btn:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.pkg__num { color: var(--accent-txt); }
.pkg__title { margin-top: 30px; font-size: 1.55rem; }
.pkg__price { margin-top: 18px; font-size: clamp(2.4rem, 4vw, 3.2rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.pkg__time { margin-top: 12px; color: var(--ink-3); font-size: 0.95rem; }
.pkg__time .mono { margin-right: 6px; }
.pkg__text { margin-top: 20px; color: var(--ink-2); font-size: 0.98rem; }
.pkg__list { display: grid; gap: 10px; margin: 24px 0 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.pkg__list li { position: relative; padding-left: 22px; font-size: 0.96rem; color: var(--ink-2); }
.pkg__list li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; border-radius: 3px; background: var(--accent); }
.pkg .btn { margin-top: auto; }

.redo { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 48px; align-items: end; margin-top: 18px; padding: 34px 36px; border-radius: calc(var(--r) + 4px); background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); }
.redo__title { margin-top: 14px; font-size: clamp(1.6rem, 2.8vw, 2.2rem); letter-spacing: -0.035em; }
.redo__text { margin-top: 12px; max-width: 720px; color: var(--ink-2); }
.redo__side { display: grid; justify-items: end; gap: 16px; }
.redo__price { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; white-space: nowrap; }


/* faq */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-size: 1.16rem; font-weight: 600; letter-spacing: -0.02em; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); transition: transform 0.35s, background-color 0.25s, border-color 0.25s; }
.faq__icon::before, .faq__icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; background: currentColor; transform: translate(-50%, -50%); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.35s; }
.faq__item[open] .faq__icon { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__item summary:hover .faq__icon { border-color: var(--ink); }
.faq__item p { padding: 0 60px 26px 0; color: var(--ink-2); }

/* advertising */
.note { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr) auto; gap: 32px; align-items: center; margin-top: 18px; padding: 36px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.note__title { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.note p { color: var(--ink-2); }

/* contact */
.sec--contact { overflow: hidden; border-top: 1px solid var(--line); }
.contact__bg { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 50% 60% at 15% 10%, var(--glow), transparent 65%); }
.contact { position: relative; display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: 48px; align-items: start; }
.contact__direct { padding-top: 8px; }
.contact__lines { display: grid; gap: 12px; margin-top: 36px; }
.contact__form > .kicker { margin-bottom: 20px; }
.contact__line { display: grid; gap: 4px; padding: 22px 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: border-color 0.25s, transform 0.3s; }
.contact__line .mono { color: var(--ink-3); }
.contact__line b { font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 600; letter-spacing: -0.03em; word-break: break-word; }
.contact__line:hover { border-color: var(--accent); transform: translateY(-2px); }
.contact__form { padding: 32px; border-radius: calc(var(--r) + 4px); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }

.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field > span, .field legend { font-size: 0.9rem; font-weight: 500; color: var(--ink-2); padding: 0; }
.field em { font-weight: 400; color: var(--ink-3); font-size: 0.85em; }
.field input, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-2);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); background: var(--surface); }
.field input[aria-invalid='true'] { border-color: #e5484d; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 0.92rem; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip input[type='checkbox']:checked + span::before { content: '✓'; margin-right: 6px; font-weight: 600; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__more { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.form__more summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 2px; font-size: 0.95rem; font-weight: 500; color: var(--ink-2); cursor: pointer; list-style: none; }
.form__more summary::-webkit-details-marker { display: none; }
.form__more summary::after { content: '+'; font-size: 1.3rem; line-height: 1; color: var(--accent-txt); transition: transform 0.25s; }
.form__more[open] summary::after { transform: rotate(45deg); }
.form__more summary:hover { color: var(--ink); }
.form__more[open] { display: grid; gap: 18px; padding-bottom: 18px; }
.form__more[open] summary { padding-bottom: 0; }
.form__err { padding: 12px 16px; border-radius: 12px; background: rgba(229, 72, 77, 0.1); color: #d13438; font-size: 0.95rem; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 6px; }
.form__note { flex: 1 1 240px; color: var(--ink-3); font-size: 0.85rem; line-height: 1.5; }
.form__note a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }

/* legal */
.legal { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 64px; align-items: start; }
.legal__side { position: sticky; top: calc(var(--hdr) + 24px); display: grid; gap: 28px; }
.legal__toc .mono { color: var(--ink-3); margin-bottom: 12px; }
.legal__toc ol { display: grid; gap: 2px; counter-reset: t; }
.legal__toc a { display: block; padding: 6px 0; color: var(--ink-2); font-size: 0.92rem; line-height: 1.35; transition: color 0.2s; }
.legal__toc a:hover { color: var(--accent-txt); }
.legal__other { display: grid; gap: 4px; padding-top: 20px; border-top: 1px solid var(--line); }
.legal__other a { padding: 6px 0; color: var(--ink-3); font-size: 0.92rem; }
.legal__other a[aria-current='page'] { color: var(--ink); font-weight: 600; }
.legal__date { margin-top: 20px; color: var(--ink-3); }
.prose { max-width: 760px; color: var(--ink-2); }
.prose h2 { margin: 56px 0 16px; font-size: clamp(1.5rem, 2.4vw, 1.9rem); color: var(--ink); letter-spacing: -0.03em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 28px 0 10px; font-size: 1.2rem; color: var(--ink); }
.prose p { margin: 0 0 16px; }
.prose ul { margin: 0 0 18px; display: grid; gap: 8px; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before { content: ''; position: absolute; left: 4px; top: 0.7em; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; transition: text-decoration-color 0.2s; }
.prose a:hover { text-decoration-color: var(--accent); }
.prose b { color: var(--ink); font-weight: 600; }
.prose code { font-family: var(--mono); font-size: 0.88em; padding: 2px 6px; border-radius: 6px; background: var(--bg-2); }
.prose .box { margin: 20px 0 24px; padding: 22px 24px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line); }
.prose .box p:last-child { margin-bottom: 0; }
.prose .box p + p { margin-top: 14px; }
.prose--lead p { font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.55; color: var(--ink); margin-bottom: 24px; letter-spacing: -0.015em; }
.prose--lead p + p { color: var(--ink-2); }
.tbl-wrap { margin: 18px 0 24px; overflow-x: auto; border-radius: var(--r-sm); border: 1px solid var(--line); }
.tbl { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 0.92rem; background: var(--surface); }
.tbl th, .tbl td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.tbl th { font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-3); font-weight: 500; background: var(--surface-2); }
.tbl tr:last-child td { border-bottom: 0; }
.ph { padding: 1px 6px; border-radius: 6px; background: rgba(245, 166, 35, 0.18); color: #b26a00; font-family: var(--mono); font-size: 0.85em; }


/* ---------- footer */
.ftr { padding: 80px 0 32px; border-top: 1px solid var(--line); background: var(--bg); }
.ftr__grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; padding: 0 0 56px; }
.ftr__brand p { margin-top: 18px; max-width: 280px; color: var(--ink-3); font-size: 0.95rem; }
.ftr__h { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.ftr__grid ul { display: grid; gap: 8px; }
.ftr__grid li a { color: var(--ink-2); font-size: 0.95rem; transition: color 0.2s; word-break: break-word; }
.ftr__grid li a:hover { color: var(--accent-txt); }
.ftr__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 0.86rem; }
.ftr__base a:hover { color: var(--ink); }

/* ---------- reveal on scroll */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- responsive */
@media (max-width: 1100px) {
  .hdr__nav { display: none; }
  .hdr__tools { margin-left: auto; }
  .burger { display: block; }
  .svc { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps__item::after { display: none; }
  .princ { grid-template-columns: repeat(2, 1fr); }
  .ftr__grid { grid-template-columns: repeat(3, 1fr); }
  .ftr__brand { grid-column: 1 / -1; }
  .note { grid-template-columns: 1fr; gap: 16px; }
  .note .btn { justify-self: start; }
}
@media (max-width: 960px) {
  .hero__in, .about, .split, .contact, .legal { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hv { justify-self: center; max-width: 560px; margin-top: 8px; }
  .projs { grid-template-columns: repeat(2, 1fr); }
  .proj--wide { grid-template-columns: minmax(0, 1fr); }
  .proj--wide .proj__shot { margin: 10px 10px 0; }
  .proj--wide .proj__shot img, .proj--wide .proj__cover { min-height: 0; max-height: none; aspect-ratio: 16 / 10; }
  .proj--wide .proj__meta { padding: 22px 24px 24px; }
  .redo { grid-template-columns: minmax(0, 1fr); }
  .redo__side { justify-items: start; }
  .pkgs { grid-template-columns: 1fr; max-width: 560px; }
  .posts { grid-template-columns: 1fr 1fr; }
  .about__photo { max-width: 420px; }
  .legal__side { position: static; }
  .legal__toc { display: none; }
  .legal__other { border-top: 0; padding-top: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
}
/* Phone-only bar with call and enquiry buttons; site.js shows it after the hero and hides it at the contact form. */
.callbar { display: none; }
@media (max-width: 640px) {
  .callbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px;
    padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .callbar.is-on { transform: none; }
  .menu-open .callbar { transform: translateY(110%); }
  .callbar .btn { min-height: 50px; padding: 0 14px; }
  .callbar__call { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
  .callbar__call svg { width: 18px; height: 18px; fill: currentColor; }
  .callbar__form { background: var(--surface); }
  body:has(.callbar) .ftr { padding-bottom: 84px; }
}
@media (max-width: 640px) and (prefers-reduced-motion: reduce) { .callbar { transition: none; } }

@media (max-width: 640px) {
  :root { --gut: 16px; --hdr: 66px; }
  body { font-size: 16px; }
  .hdr__cta, .lang { display: none; }
  .logo__name { display: none; }
  .logo--img img { height: 40px; }
  .hero { padding: calc(var(--hdr) + 36px) 0 64px; }
  .hero__text { font-size: 1.05rem; }
  .hero__actions .btn, .phero__actions .btn { flex: 1 1 100%; }
  .sec { padding: 80px 0; }
  .sec--tight { padding: 32px 0 80px; }
  .svc, .steps, .princ, .projs, .revs, .posts { grid-template-columns: 1fr; }
  .rev { padding: 26px 22px 22px; }
  .proj--wide { grid-column: auto; }
  .redo { padding: 26px 22px; }
  .svc__card { min-height: 0; }
  .svc__card h3 { margin-top: 28px; }
  .shead__title { font-size: clamp(2rem, 9vw, 2.6rem); }
  .phero { padding: calc(var(--hdr) + 48px) 0 40px; }
  .phero__title { font-size: clamp(2.5rem, 12vw, 3.6rem); }
  .phero__text { font-size: 1.05rem; }
  .note { padding: 26px 22px; }
  .contact__form { padding: 22px 18px; }
  .form__row { grid-template-columns: 1fr; }
  .form__foot .btn { width: 100%; }
  .faq__item summary { font-size: 1.05rem; padding: 20px 0; }
  .faq__item p { padding-right: 0; }
  .ftr { padding-top: 56px; }
  .ftr__grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .hv__toast { left: 0; font-size: 0.74rem; }
  .about__photo { aspect-ratio: 1 / 1; max-width: 300px; }
  .hv__browser { inset: 6% 8% 12% 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .hv__nav, .js .hv__hero, .js .hv__cards, .js .hv__rows, .js .hv__phone, .js .hv__toast, .js .hv__anim i { animation: none; opacity: 1; transform: none; }
  .js .hv__wire { animation: none; opacity: 0; }
  .marquee__track { animation: none; }
}
