:root {
  --ink:   #ffffff;
  --panel: rgba(255, 255, 255, 0.96);
  --line:  rgba(18, 18, 18, 0.10);
  --hover: rgba(18, 18, 18, 0.045);
  --text:  #151515;
  --soft:  #454545;
  --muted: #666666;
  --brand: #5B2EFF; /* Official logo purple, sampled from the vector logo file */
  --ease:  cubic-bezier(0.22, 1, 0.36, 1);
  --morph: 0.5s;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--ink);
  color: var(--text);
  font-family: "Geist", "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
img, video { display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  animation: heroIn 1.6s var(--ease) backwards;
}
/* Studio white matched to the photograph's cyclorama (#f2f2f2) so the shot sits seamlessly */
.hero { background: #f2f2f2; }
/* Full-screen, never stretched: object-fit: cover scales proportionally and trims the edges.
   The photographs are composed for this crop: group in the centre, headroom for the nav,
   empty floor at the bottom for the text and reels. */
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 85%; /* keeps heads below the nav and feet on screen from 16:10 to 16:9 */
}

/* Desktop: reels stack in the empty column right of the group */
.reels {
  position: absolute;
  right: clamp(20px, 3.4vw, 52px);
  bottom: clamp(24px, 6vh, 56px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: fadeUp 1s var(--ease) 1s backwards;
}
.reel {
  position: relative;
  width: clamp(80px, 7vw, 108px);
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  overflow: hidden;
  background: #e9e9e9;
  box-shadow: 0 14px 34px -16px rgba(24,20,48,0.35);
  transition: transform 0.4s var(--ease);
}
.reel:hover { transform: translateY(-3px); }
.reel video { width: 100%; height: 100%; object-fit: cover; }
@keyframes heroIn {
  from { opacity: 0; transform: scale(1.02); }
  to   { opacity: 1; transform: scale(1); }
}

/* Headline hook: top-left, in the clear studio wall above the seated model.
   Size follows both width and height so it never reaches the group. */
.hero-hook {
  position: absolute;
  left: clamp(20px, 3.4vw, 52px);
  top: calc(76px + 2.5vh);
  max-width: min(34vw, 540px);
  animation: fadeUp 1s var(--ease) 0.6s backwards;
}
.hero-hook h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, min(4.2vw, 7vh), 76px);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -0.035em;
  color: var(--text);
  text-wrap: balance;
}
.hero-hook .accent { color: var(--brand); }
.hero-hook p {
  margin: 0;
  font-size: clamp(15px, 1.25vw, 19px);
  line-height: 1.4;
  color: var(--soft);
}

/* Kept narrow so it stays on the clear studio floor, left of the seated model */
.hero-foot {
  position: absolute;
  left: clamp(20px, 3.4vw, 52px);
  bottom: clamp(24px, 6vh, 56px);
  max-width: 180px;
  animation: fadeUp 1s var(--ease) 0.8s backwards;
}
.hero-foot p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--text);
}
.explore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  font-size: 14px;
  font-weight: 500;
  color: var(--soft);
  border-bottom: 1px solid rgba(18,18,18,0.18);
  transition: color 0.25s ease, border-color 0.25s ease;
}
.explore:hover { color: var(--text); border-color: var(--text); }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Header ---------- */
.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
}
/* Subtle white surface so the nav separates from the photograph */
.header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 96px;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255,255,255,0.82) 0%, rgba(255,255,255,0.5) 55%, rgba(255,255,255,0) 100%);
}
.bar {
  height: 76px;
  padding: 0 clamp(20px, 3.4vw, 52px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { from { opacity: 0; } }

.logo {
  display: inline-flex;
  justify-self: start;
  animation: fadeDown 0.9s var(--ease) 0.35s backwards;
}
/* Official logo file, margins trimmed only; native aspect ratio 480:148 */
.logo img { height: 38px; width: auto; }

/* No transform on the nav — the header must stay the dropdown's containing block */
.desktop-nav { animation: fadeIn 0.9s ease 0.45s backwards; }
.links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.trigger,
.plain-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  font-size: 14.5px;
  color: var(--soft);
  transition: color 0.25s ease;
}
.trigger:hover,
.plain-link:hover,
.trigger[aria-expanded="true"] { color: var(--text); }
.trigger svg {
  width: 8px;
  height: 5px;
  transition: transform 0.35s var(--ease);
}
.trigger[aria-expanded="true"] svg { transform: rotate(180deg); }

.actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: fadeDown 0.9s var(--ease) 0.55s backwards;
}
.cta {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: filter 0.25s, transform 0.25s, box-shadow 0.25s;
}
.cta:hover {
  filter: brightness(0.92);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -6px rgba(91,46,255,0.55);
}

/* ---------- Morphing dropdown ---------- */
.dd {
  --x: 0px;
  --w: 400px;
  --h: 300px;
  --s: 0.97;
  position: absolute;
  top: 64px;
  left: 0;
  width: var(--w);
  height: var(--h);
  transform: translateX(var(--x)) scale(var(--s));
  transform-origin: 50% 0;
  opacity: 0;
  pointer-events: none;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px -24px rgba(24,20,48,0.22), 0 2px 8px rgba(24,20,48,0.06);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
  overflow: hidden;
  transition:
    transform var(--morph) var(--ease),
    width var(--morph) var(--ease),
    height var(--morph) var(--ease),
    opacity 0.3s ease;
}
.dd.open { --s: 1; opacity: 1; pointer-events: auto; }
.dd.instant { transition: opacity 0.3s ease, transform var(--morph) var(--ease); }
.dd.instant.snap { transition: none; }

/* visibility:hidden keeps inactive panels out of the tab order */
.panel {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  filter: blur(8px);
  transform: translateX(0);
  transition:
    opacity 0.26s ease,
    transform var(--morph) var(--ease),
    filter 0.4s ease,
    visibility 0s linear var(--morph);
}
.panel[data-state="exit-left"]  { transform: translateX(-56px); }
.panel[data-state="exit-right"] { transform: translateX(56px); }
.panel[data-state="active"] {
  opacity: 1;
  visibility: visible;
  filter: blur(0);
  transform: translateX(0);
  transition:
    opacity 0.36s ease 0.06s,
    transform var(--morph) var(--ease),
    filter 0.45s ease 0.04s,
    visibility 0s;
}
.panel.snap { transition: none !important; }

/* Panel A — Services */
#p-services {
  width: 664px;
  height: 358px;
  display: grid;
  grid-template-columns: 256px 1fr;
}
.d-list {
  display: flex;
  flex-direction: column;
  padding: 8px;
  gap: 2px;
}
.d-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 12px;
  border-radius: 10px;
  transition: background 0.3s;
}
.d-item.is-active { background: var(--hover); }
.d-item strong { font-size: 15px; font-weight: 500; margin-bottom: 4px; color: var(--text); }
.d-item span { font-size: 13px; line-height: 1.42; color: var(--muted); }

.d-media {
  position: relative;
  overflow: hidden;
  border-radius: 0 15px 15px 0;
  background: #f3f2f0;
}
.d-media::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 48px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to right, rgba(255,255,255,0.4), rgba(255,255,255,0));
}
.d-media > * {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  filter: blur(10px);
  transition: opacity 0.6s ease, transform 0.9s var(--ease), filter 0.6s ease;
}
.d-media > .is-active {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
  z-index: 1;
}
.d-media .pending {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f2f0;
  font-size: 13px;
  color: var(--muted);
}

/* Panel B — Work */
#p-work {
  width: 446px;
  height: 308px;
  padding: 7px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
  isolation: isolate;
  color: #fff; /* only on photographs, over the dark overlay below */
}
.card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.9s var(--ease), filter 0.5s;
}
.card:hover img,
.card:focus-visible img { transform: scale(1.05); filter: brightness(1.08); }
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(8,11,13,0.9) 0%, rgba(8,11,13,0.45) 40%, rgba(8,11,13,0) 64%);
}
.card strong { font-size: 15.5px; font-weight: 500; margin-bottom: 5px; }
.card span { font-size: 13px; line-height: 1.42; color: rgba(255,255,255,0.82); }

/* ---------- Mobile ---------- */
.menu-btn { display: none; }
.sheet {
  position: absolute;
  top: 68px;
  left: 12px;
  right: 12px;
  padding: 10px;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px -24px rgba(24,20,48,0.22), 0 2px 8px rgba(24,20,48,0.06);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
  max-height: calc(100vh - 90px);
  max-height: calc(100svh - 90px);
  overflow: auto;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.98);
  transform-origin: 50% 0;
  transition: opacity 0.3s ease, transform 0.45s var(--ease), visibility 0s linear 0.45s;
}
.sheet.open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.3s ease, transform 0.45s var(--ease), visibility 0s;
}
.sheet h3 {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 12px 12px 6px;
}
.sheet a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 15px;
  color: var(--text);
}
.sheet a:hover { background: var(--hover); }

@media (max-width: 860px) {
  .bar { grid-template-columns: 1fr auto; height: 68px; }
  .desktop-nav { display: none; }
  .logo img { height: 32px; }
  .cta { height: 40px; padding: 0 16px; }
  .menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 40px;
    border-radius: 999px;
    background: rgba(18,18,18,0.06);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: background 0.25s;
  }
  .menu-btn:hover { background: rgba(18,18,18,0.1); }
  .menu-btn svg { width: 16px; height: 16px; }
  /* Portrait framing: full figure visible, white space kept below for the text and reels */
  /* Portrait shot: full group visible, white space kept below for the text and reels */
  .hero-foot { bottom: 24px; max-width: calc(100% - 200px); }
  .hero-foot p { font-size: 14px; }
  .reels { right: 16px; bottom: 24px; gap: 8px; flex-direction: row; }
  .reel { width: 58px; border-radius: 9px; }
}
@media (max-height: 560px) and (min-width: 861px) {
  .reels { display: none; }
}
@media (max-width: 860px) {
  .hero-media img { object-position: 50% 30%; }
  /* Phones: the hook moves to the empty floor; a soft studio-white fade keeps it readable on any height */
  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(242,242,242,0) 62%, rgba(242,242,242,0.9) 80%);
  }
  .hero-hook { top: auto; bottom: 66px; max-width: calc(100% - 172px); }
  .hero-hook h1 { font-size: 28px; margin-bottom: 6px; }
  .hero-hook p { font-size: 14px; }
  .hero-foot p { display: none; }
}
/* Short phones: less floor space, so the reels step aside */
@media (max-width: 860px) and (max-height: 700px) {
  .reels { display: none; }
  .hero-hook { max-width: calc(100% - 40px); }
}
@media (max-width: 380px) {
  .logo img { height: 28px; }
  .cta { padding: 0 13px; font-size: 13.5px; }
}
@media (min-width: 861px) {
  .sheet { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  :root { --morph: 0.01s; }
  *, *::before, *::after {
    animation-duration: 0.01s !important;
    animation-delay: 0s !important;
  }
  .panel, .d-media > * { filter: none !important; }
}

/* ---------- Inner pages (Services, Work, Studio) ---------- */
.page .header { position: absolute; }
.page main {
  padding: 132px clamp(20px, 3.4vw, 52px) 0;
  max-width: 1240px;
  margin: 0 auto;
}
.page-head { max-width: 720px; margin-bottom: clamp(48px, 7vw, 88px); }
.eyebrow {
  margin: 0 0 14px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}
.page h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.lede { margin: 0; font-size: clamp(16px, 1.6vw, 18px); line-height: 1.6; color: var(--soft); }

.block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(40px, 6vw, 72px) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 24px;
}
.block:nth-of-type(even) .block-media { order: -1; }
.block h2 {
  margin: 0 0 14px;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.block p { margin: 0 0 18px; font-size: 16px; line-height: 1.65; color: var(--soft); }
.ticks { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.5; color: var(--text); }
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}
.block-media { position: relative; border-radius: 16px; overflow: hidden; background: #f2f2f2; }
.block-media img, .block-media video { width: 100%; height: 100%; object-fit: cover; }
.block-media.tall { aspect-ratio: 4 / 5; }
.block-media.wide { aspect-ratio: 16 / 10; }
.block-media .pending {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
  font-size: 14px;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  font-size: 15px;
  font-weight: 500;
  color: var(--brand);
  border-bottom: 1px solid rgba(91,46,255,0.3);
  transition: border-color 0.25s;
}
.text-link:hover { border-color: var(--brand); }

/* Work gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  margin-top: 8px;
}
.tile { position: relative; margin: 0; border-radius: 14px; overflow: hidden; background: #f2f2f2; }
.tile img, .tile video { width: 100%; height: 100%; object-fit: cover; }
.span-12 { grid-column: span 12; }
.span-8 { grid-column: span 8; }
.span-6 { grid-column: span 6; }
.span-4 { grid-column: span 4; }
.span-3 { grid-column: span 3; }
.ar-wide { aspect-ratio: 16 / 9; }
.ar-sheet { aspect-ratio: 3 / 2; }
.ar-portrait { aspect-ratio: 3 / 4; }
.ar-reel { aspect-ratio: 9 / 16; }
.gallery-more { margin-top: 14px; }
.section-title { margin: clamp(48px, 7vw, 80px) 0 6px; padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.section-title h2 { margin: 0 0 10px; font-size: clamp(24px, 2.6vw, 32px); font-weight: 500; letter-spacing: -0.01em; }
.section-title p { margin: 0 0 20px; max-width: 640px; font-size: 16px; line-height: 1.6; color: var(--soft); }

/* Studio */
.values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.values li {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--soft);
}
.values strong { display: block; margin-bottom: 6px; font-size: 16px; font-weight: 500; color: var(--text); }

/* Closing call to action + footer */
.closing {
  margin: clamp(56px, 8vw, 104px) 0 0;
  padding: clamp(36px, 5vw, 56px);
  border-radius: 20px;
  background: #f4f1ff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.closing h2 { margin: 0; font-size: clamp(22px, 2.4vw, 30px); font-weight: 500; letter-spacing: -0.01em; max-width: 560px; }
.closing .cta { height: 44px; padding: 0 22px; font-size: 15px; }
.site-foot {
  max-width: 1240px;
  margin: 0 auto;
  padding: 36px clamp(20px, 3.4vw, 52px) 44px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  color: var(--muted);
}
.site-foot nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-foot a { color: var(--soft); }
.site-foot a:hover { color: var(--text); }
.site-foot a[aria-current="page"] { color: var(--text); font-weight: 500; }

@media (max-width: 860px) {
  .page main { padding-top: 104px; }
  .block { grid-template-columns: 1fr; }
  .block:nth-of-type(even) .block-media { order: 0; }
  .span-8, .span-6 { grid-column: span 12; }
  .span-4, .span-3 { grid-column: span 6; }
  .values { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .values { grid-template-columns: 1fr; }
  .span-4 { grid-column: span 12; }
}

/* ---------- Start a project ---------- */
.page main.start {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
  padding-bottom: clamp(48px, 7vw, 88px);
}
.start-intro { position: sticky; top: 32px; }
.steps { list-style: none; margin: 32px 0 28px; padding: 0; display: grid; gap: 14px; counter-reset: step; }
.steps li {
  position: relative;
  padding: 0 0 0 44px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--soft);
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f4f1ff;
  color: var(--brand);
  font-size: 13px;
  font-weight: 500;
}
.steps strong { display: block; color: var(--text); font-weight: 500; }
.direct { margin: 0; font-size: 15px; color: var(--soft); }
.direct a { color: var(--brand); border-bottom: 1px solid rgba(91,46,255,0.3); }

.start-form-wrap {
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 60px -36px rgba(24,20,48,0.25);
}
.enquiry { display: grid; gap: 22px; }
.field { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 6px; }
.field > label, .field legend { font-size: 14.5px; font-weight: 500; color: var(--text); padding: 0; }
.req, .opt { margin-left: 6px; font-size: 12px; font-weight: 400; color: var(--muted); }
.hint { margin: 0 0 4px; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid rgba(18,18,18,0.18);
  border-radius: 10px;
  background: #fff;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 5'%3E%3Cpath d='M1 1l3 3 3-3' fill='none' stroke='%23454545' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 10px 6px; padding-right: 38px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(18,18,18,0.32); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(91,46,255,0.18);
  border-radius: 10px;
}
.field [aria-invalid="true"] { border-color: #c62828; }
.error { margin: 0; min-height: 0; font-size: 13.5px; color: #c62828; }
.error:empty { display: none; }

.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: grid;
  gap: 3px;
  height: 100%;
  padding: 13px 14px 13px 44px;
  border: 1px solid rgba(18,18,18,0.16);
  border-radius: 12px;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
}
.choice span::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 15px;
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(18,18,18,0.35);
  border-radius: 5px;
  background: #fff;
  transition: background 0.2s, border-color 0.2s;
}
.choice strong { font-size: 14.5px; font-weight: 500; color: var(--text); }
.choice small { font-size: 13px; line-height: 1.35; color: var(--muted); }
.choice:hover span { border-color: rgba(18,18,18,0.32); }
.choice input:checked + span { border-color: var(--brand); background: #f7f5ff; }
.choice input:checked + span::before {
  border-color: var(--brand);
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.choice input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.has-error .choice span { border-color: rgba(198,40,40,0.55); }
.choice:last-child:nth-child(odd) { grid-column: 1 / -1; }

.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.cta.submit { height: 48px; padding: 0 26px; font-size: 15px; border: 0; cursor: pointer; }
.cta.submit:disabled { opacity: 0.7; cursor: progress; transform: none; }
.form-status { margin: 0; font-size: 14px; color: var(--soft); }
.form-status a { color: var(--brand); border-bottom: 1px solid rgba(91,46,255,0.3); }
.sent { padding: 12px 4px; }
.sent:focus { outline: none; }
.sent h2 { margin: 0 0 12px; font-size: clamp(24px, 2.6vw, 32px); font-weight: 500; letter-spacing: -0.01em; }
.sent p { margin: 0 0 18px; font-size: 16px; line-height: 1.6; color: var(--soft); }

@media (max-width: 860px) {
  .page main.start { grid-template-columns: 1fr; }
  .start-intro { position: static; }
  .steps { margin: 24px 0 20px; }
}
@media (max-width: 560px) {
  .choices, .row { grid-template-columns: 1fr; }
}

/* ---------- Homepage: below the hero ---------- */
main.home {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(64px, 9vw, 120px) clamp(20px, 3.4vw, 52px) 0;
}
.home-intro { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.home-intro h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.home-services {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.home-services a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.home-services a:hover { border-color: rgba(91,46,255,0.4); transform: translateY(-2px); box-shadow: 0 18px 40px -28px rgba(24,20,48,0.35); }
.home-services strong { font-size: 17px; font-weight: 500; color: var(--text); }
.home-services span { font-size: 15px; line-height: 1.5; color: var(--soft); }
.home-services em { margin-top: auto; padding-top: 10px; font-style: normal; font-size: 14px; font-weight: 500; color: var(--brand); }
main.home + .site-foot { margin-top: 0; }
@media (max-width: 960px) { .home-services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .home-services { grid-template-columns: 1fr; } }
.home-services em span { color: inherit; font-size: inherit; }

.tile img.pos-top { object-position: 50% 30%; }
