/* ============================================================
   AF Coding Studio — Home page
   Turning complexity into clarity.
   ============================================================ */

:root {
  --bg: #0a0a0b;
  --bg-soft: #101012;
  --bg-panel: #131316;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #ecece9;
  --muted: #94948e;
  --faint: #5d5d58;
  --accent: #c9f73a;
  --accent-soft: rgba(201, 247, 58, 0.1);
  --accent-glow: rgba(201, 247, 58, 0.35);

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --maxw: 1200px;
  --pad: clamp(20px, 4vw, 40px);
  --section-gap: clamp(90px, 12vh, 150px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Style 02 · Amber + Saira ---------- */
body[data-style="2"] {
  --accent: #ffa94d;
  --accent-soft: rgba(255, 169, 77, 0.1);
  --accent-glow: rgba(255, 169, 77, 0.35);
  --font-display: "Saira", "Space Grotesk", system-ui, sans-serif;
}

/* smooth accent cross-fade while switching */
body.style-anim * {
  transition: color 0.45s var(--ease), background-color 0.45s var(--ease),
              border-color 0.45s var(--ease), box-shadow 0.45s var(--ease) !important;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: #0a0a0b; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

a { color: inherit; text-decoration: none; }

.dot { color: var(--accent); }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}
.nav.scrolled {
  background: rgba(10, 10, 11, 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__mark {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 32px;
  padding: 0 9px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.09em;
  color: var(--accent);
  background: var(--accent-soft);
  white-space: nowrap;
}
.nav__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.02em;
}
.nav__links { display: flex; align-items: center; gap: clamp(18px, 3vw, 34px); }
.nav__links a {
  position: relative;
  font-size: 14px;
  color: var(--muted);
  transition: color 0.25s ease;
}
.nav__links a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav__links a:not(.nav__cta):hover { color: var(--text); }
.nav__links a:not(.nav__cta):hover::after { transform: scaleX(1); }
.nav__cta {
  padding: 9px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text) !important;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.nav__cta:hover { border-color: var(--accent); background: var(--accent-soft); }

/* active (scroll-spy) */
.nav__links a.is-active,
.nav__drop.is-active .nav__drop-toggle { color: var(--accent); }
.nav__links a.is-active::after { transform: scaleX(1); }

/* ---------- Dropdowns ---------- */
.nav__drop { position: relative; }
.nav__drop-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.25s ease;
}
.nav__drop-toggle:hover { color: var(--text); }
.nav__caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 0.25s var(--ease);
}
.nav__drop:hover .nav__caret,
.nav__drop.open .nav__caret,
.nav__drop.is-active .nav__caret { transform: rotate(180deg); }
.nav__drop-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 250px;
  padding: 10px;
  background: rgba(16, 16, 18, 0.97);
  border: 1px solid var(--line);
  border-radius: 14px;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s var(--ease), visibility 0.25s;
}
.nav__drop:hover .nav__drop-menu,
.nav__drop.open .nav__drop-menu,
.nav__drop:focus-within .nav__drop-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav__drop-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav__drop-menu a::after { display: none; }
.nav__drop-menu a:hover { color: var(--text); background: var(--accent-soft); }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  height: 1.5px;
  width: 22px;
  background: var(--text);
  transition: transform 0.3s var(--ease);
}
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  font-family: var(--font-body);
  letter-spacing: 0.01em;
  transition: transform 0.3s var(--ease), background 0.3s ease, color 0.3s ease,
              border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  background-color: transparent;
}
.btn--solid {
  background: var(--accent);
  color: #0a0a0b;
  box-shadow: 0 0 0 0 var(--accent-glow);
}
.btn--solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px -12px var(--accent-glow);
}
.btn--ghost {
  border: 1px solid var(--line-strong);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--accent); transform: translateY(-2px); }
.arrow { font-size: 16px; }

/* ============================================================
   SECTION LABELS / TITLES
   ============================================================ */
.section { padding: var(--section-gap) 0; position: relative; }

.section__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}
.section__label::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
  opacity: 0.7;
}

.section__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 4.6vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.section__title em {
  font-style: normal;
  color: var(--accent);
}
.section__lead {
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 19px);
  max-width: 56ch;
}

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: clamp(40px, 6vh, 70px);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}
.hero__glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 90vw;
  height: 60vh;
  background: radial-gradient(closest-side, var(--accent-glow), transparent 70%);
  opacity: 0.16;
  filter: blur(40px);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 2;
  padding-top: 120px;
  padding-bottom: 80px;
}
.hero__eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: clamp(24px, 4vh, 40px);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(46px, 10.5vw, 132px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}
.hero__title span { display: block; }
.hero__sub {
  margin-top: clamp(22px, 3.5vh, 34px);
  font-size: clamp(17px, 2vw, 22px);
  color: var(--muted);
}
.hero__cta {
  margin-top: clamp(30px, 5vh, 46px);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
  color: var(--faint);
}
.hero__scroll-label { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; }
.hero__scroll-line {
  width: 1px;
  height: 46px;
  background: var(--line-strong);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  animation: scrollDrop 2.2s var(--ease) infinite;
}
@keyframes scrollDrop {
  0% { top: -100%; }
  55% { top: 0; }
  100% { top: 100%; }
}

/* ============================================================
   INTRO
   ============================================================ */
.intro { border-top: 1px solid var(--line); }
.intro .section__title { max-width: 20ch; margin-bottom: 26px; }
.grid { margin-top: clamp(40px, 7vh, 70px); }
.areas {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.area {
  background: var(--bg-soft);
  padding: clamp(26px, 3vw, 40px);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  transition: background 0.35s ease;
}
.area:hover { background: #16161a; }
.area__index {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--faint);
  margin-bottom: auto;
  letter-spacing: 0.1em;
}
.area__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(18px, 1.7vw, 22px);
  margin: 22px 0 10px;
  letter-spacing: -0.01em;
}
.area__text { color: var(--muted); font-size: 14.5px; }

/* ============================================================
   WORK
   ============================================================ */
.work { border-top: 1px solid var(--line); }
.work__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.work__item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: start;
  gap: clamp(18px, 3vw, 44px);
  padding: clamp(28px, 4vw, 46px) 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease, padding-left 0.35s var(--ease);
  cursor: default;
}
.work__item:hover { background: rgba(255, 255, 255, 0.02); padding-left: 10px; }
.work__num {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--faint);
  padding-top: 6px;
}
.work__cat {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.work__badge {
  display: inline-block;
  margin-left: 10px;
  padding: 2px 9px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  vertical-align: 2px;
}
.work__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 3.4vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
}
.work__item:hover .work__name { color: var(--accent); }
.work__desc { color: var(--muted); font-size: 15.5px; margin: 10px 0 18px; }
.work__facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.work__facts li {
  font-size: 12.5px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
}
.work__arrow {
  color: var(--accent);
  font-size: 22px;
  padding-top: 8px;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.3s ease, transform 0.35s var(--ease);
}
.work__item:hover .work__arrow { opacity: 1; transform: none; }
.work__more {
  margin-top: clamp(34px, 5vh, 50px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  padding: clamp(22px, 3vw, 32px) clamp(24px, 3vw, 36px);
  transition: border-color 0.3s ease, background 0.3s ease;
}
.work__more:hover { border-color: var(--accent); background: var(--accent-soft); }
.work__more span { font-family: var(--font-display); font-size: 17px; }
.work__more-arrow { color: var(--accent) !important; font-family: var(--font-body) !important; font-size: 14px !important; }

/* ============================================================
   COMPLEX
   ============================================================ */
.complex { border-top: 1px solid var(--line); background: var(--bg-soft); }
.complex__title { margin-bottom: clamp(40px, 7vh, 70px); }
.complex__list {
  list-style: none;
  border-top: 1px solid var(--line);
}
.complex__list li {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: clamp(20px, 3vh, 30px) 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 4.4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--muted);
  transition: color 0.35s ease, padding-left 0.35s var(--ease);
  cursor: default;
}
.complex__list li:hover { color: var(--text); padding-left: 14px; }
.complex__glyph {
  color: var(--accent);
  font-size: 0.7em;
  opacity: 0.9;
}
.complex__foot {
  margin-top: clamp(30px, 5vh, 50px);
  color: var(--muted);
  font-size: clamp(16px, 1.8vw, 20px);
  max-width: 46ch;
}

/* ============================================================
   CAPABILITIES
   ============================================================ */
.capabilities { border-top: 1px solid var(--line); }
.caps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.cap {
  background: var(--bg-soft);
  padding: clamp(26px, 3vw, 38px);
  min-height: 230px;
  display: flex;
  flex-direction: column;
  transition: background 0.35s ease;
}
.cap:hover { background: #16161a; }
.cap__num {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--faint);
  margin-bottom: auto;
}
.cap__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(17px, 1.6vw, 21px);
  margin: 20px 0 10px;
}
.cap__text { color: var(--muted); font-size: 14.5px; }

/* ============================================================
   QUOTES (product)
   ============================================================ */
.quotes { border-top: 1px solid var(--line); }
.quotes__panel {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background:
    radial-gradient(circle at 85% 10%, rgba(201,247,58,0.10), transparent 45%),
    linear-gradient(160deg, #131317, #0b0c0e);
  padding: clamp(34px, 6vw, 80px);
  overflow: hidden;
}
.quotes__panel::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 340px;
  height: 340px;
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow:
    0 0 0 60px rgba(255,255,255,0.015),
    0 0 0 120px rgba(255,255,255,0.012);
  pointer-events: none;
}
.quotes__panel .section__lead { margin-top: 22px; }
.quotes__panel .section__lead strong { color: var(--accent); font-weight: 500; }
.quotes__flow {
  margin: clamp(30px, 5vh, 44px) 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-display);
}
.quotes__flow span {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 15px;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.quotes__flow span:hover { border-color: var(--accent); color: var(--accent); }
.quotes__flow i {
  font-style: normal;
  color: var(--accent);
  font-size: 18px;
}
.quotes__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.quotes__note { color: var(--faint); font-size: 13.5px; }
.quotes__claim {
  margin-top: 26px;
  padding: 18px 22px;
  border-left: 2px solid var(--accent);
  border-radius: 0 14px 14px 0;
  background: var(--accent-soft);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 16.5px;
  line-height: 1.55;
  max-width: 720px;
}
.quotes__claim strong { color: var(--accent); font-weight: 500; }

/* ============================================================
   ENGINEERING
   ============================================================ */
.engineering { border-top: 1px solid var(--line); background: var(--bg-soft); }
.tech {
  list-style: none;
  margin-top: clamp(34px, 5vh, 50px);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tech li {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.02em;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 10px 20px;
  color: var(--muted);
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.tech li:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-soft);
}

/* ============================================================
   STUDIO
   ============================================================ */
.studio { border-top: 1px solid var(--line); }
.studio__quote {
  margin: clamp(30px, 5vh, 48px) 0;
  padding: clamp(26px, 4vw, 44px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 3.4vw, 38px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--text);
  max-width: 26ch;
}
.studio__line { color: var(--muted); font-size: 18px; max-width: 52ch; }
.studio__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 60px);
  margin-top: clamp(44px, 7vh, 70px);
}
.studio__sub {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  margin-bottom: 12px;
}
.studio__text { color: var(--muted); }
.studio__clients {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.studio__clients span {
  font-family: var(--font-display);
  color: var(--text);
  border: 1px solid var(--line-strong);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
}
.studio__base {
  margin-top: clamp(30px, 5vh, 46px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  border-top: 1px solid var(--line);
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(201,247,58,0.07), transparent 55%);
}
.contact .section__label { justify-content: center; }
.contact .section__label::before { display: none; }
.contact__title { font-size: clamp(38px, 7vw, 76px); }
.contact__sub { color: var(--muted); font-size: clamp(16px, 2vw, 20px); margin-top: 16px; }
.contact__actions {
  margin-top: clamp(32px, 5vh, 48px);
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.contact__loc {
  margin-top: 36px;
  color: var(--faint);
  font-size: 13.5px;
  letter-spacing: 0.02em;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--line);
  padding: clamp(34px, 5vh, 50px) 0;
  background: var(--bg-soft);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__brandcol { display: flex; flex-direction: column; gap: 10px; }
.footer__entity { margin: 0; color: var(--faint); font-size: 12.5px; line-height: 1.55; }
.footer__name { font-family: var(--font-display); font-weight: 500; }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__links a { color: var(--muted); font-size: 13.5px; transition: color 0.25s ease; }
.footer__links a:hover { color: var(--accent); }
.footer__legal { color: var(--faint); font-size: 13px; }
.footer__legal--base { margin-top: 6px; }

/* ============================================================
   STYLE SWITCHER
   ============================================================ */
.switcher {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 95;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.switcher__toggle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(19, 19, 22, 0.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s var(--ease);
}
.switcher__toggle:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.switcher__panel {
  display: none;
  flex-direction: column;
  gap: 6px;
  min-width: 216px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(16, 16, 18, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
}
.switcher.open .switcher__panel { display: flex; }
.switcher__title {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 4px 8px;
}
.switcher__opt {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: none;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.switcher__opt:hover { background: var(--accent-soft); }
.switcher__opt.is-active { border-color: var(--line-strong); }
.switcher__chip {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--c, var(--accent));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
  flex: none;
}
.chip--volt { --c: #c9f73a; }
.chip--amber { --c: #ffa94d; }
.switcher__label {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.switcher__label small {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
}
.switcher__check {
  margin-left: auto;
  color: var(--accent);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.switcher__opt.is-active .switcher__check { opacity: 1; }

/* ============================================================
   SUBPAGES — shared
   ============================================================ */
.page-hero {
  padding-top: clamp(140px, 18vh, 200px);
  padding-bottom: clamp(50px, 7vh, 80px);
  border-bottom: 1px solid var(--line);
}
.page-hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 7vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  max-width: 20ch;
}
.page-hero__lead {
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(16px, 1.8vw, 20px);
  max-width: 60ch;
}
.page-section { padding: var(--section-gap) 0; border-top: 1px solid var(--line); }

/* ============================================================
   STUDIO — owner
   ============================================================ */
.owner {
  display: grid;
  grid-template-columns: clamp(240px, 30vw, 340px) 1fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: start;
}
.owner__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 30% 20%, var(--accent-soft), transparent 55%),
    linear-gradient(150deg, #17191d, #0c0d10);
  display: grid;
  place-items: center;
}
.owner__photo img { width: 100%; height: 100%; object-fit: cover; }
.owner__initials {
  display: none;
  place-items: center;
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 84px);
  color: var(--accent);
  opacity: 0.9;
  letter-spacing: -0.02em;
}
.owner__photo.is-placeholder .owner__initials { display: grid; }
.owner__bio .section__title { margin-bottom: 22px; }
.owner__bio .section__lead + .section__lead { margin-top: 16px; }

/* ============================================================
   QUOTES — client access
   ============================================================ */
.access {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 420px);
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}
.access__link { color: var(--accent); border-bottom: 1px solid var(--accent); }
.access__form {
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--bg-soft);
  padding: clamp(26px, 3vw, 38px);
}
.access__form-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  margin-bottom: 22px;
}
.access__form-note { margin-top: 16px; color: var(--faint); font-size: 13.5px; }
.access__form-note a { color: var(--accent); }

/* ============================================================
   CONTACT — wizard
   ============================================================ */
.contact-page__grid {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: clamp(34px, 6vw, 80px);
  align-items: start;
}
.contact-info { list-style: none; margin-top: 10px; }
.contact-info li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-info__k {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
}
.contact-info a { color: var(--text); transition: color 0.2s ease; }
.contact-info a:hover { color: var(--accent); }
.contact-page__aside-note { margin-top: 28px; color: var(--muted); font-size: 14.5px; }
.contact-page__aside-note em { color: var(--accent); font-style: normal; }

/* --- steps --- */
.form-steps {
  list-style: none;
  display: flex;
  gap: 8px;
  margin-bottom: clamp(28px, 4vh, 40px);
}
.form-steps__item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted);
  font-size: 12.5px;
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}
.form-steps__item span { font-family: var(--font-display); color: var(--faint); }
.form-steps__item.is-active {
  border-color: var(--accent);
  color: var(--text);
  background: var(--accent-soft);
}
.form-steps__item.is-active span { color: var(--accent); }
.form-steps__item.is-done { border-color: var(--line-strong); }
.form-steps__item.is-done span { color: var(--accent); }

/* --- steps panels --- */
.form-step { display: none; }
.form-step.is-active { display: block; animation: fadeUp 0.45s var(--ease); }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.form-step__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 28px);
  margin-bottom: 24px;
}
.form-field { margin-bottom: 20px; }
.form-field label,
.form-label {
  display: block;
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 8px;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.form-field select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394948e' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-field input.is-invalid,
.form-field textarea.is-invalid {
  border-color: #ff6b5e;
}
.form-field .chip-grid.is-invalid { border-color: #ff6b5e; }

/* --- chips --- */
.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 2px;
}
.chip {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: none;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 13.5px;
  padding: 9px 16px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.chip:hover { color: var(--text); border-color: var(--line-strong); }
.chip.is-active {
  color: #0a0a0b;
  background: var(--accent);
  border-color: var(--accent);
  font-weight: 500;
}

/* --- nav buttons --- */
.form-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}
.form-nav--center { justify-content: center; }

/* --- review --- */
.form-review {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.form-review dt {
  padding: 13px 0;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}
.form-review dd {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--text);
  white-space: pre-line;
}
.form-review__hint { margin-top: 18px; color: var(--faint); font-size: 13px; }

/* --- success --- */
.form-success { text-align: center; padding: 40px 10px 20px; animation: fadeUp 0.5s var(--ease); }
.form-success__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #0a0a0b;
  font-size: 30px;
}
.form-success p { color: var(--muted); margin-top: 10px; }

/* --- buttons --- */
.btn--block { width: 100%; justify-content: center; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .areas { grid-template-columns: repeat(2, 1fr); }
  .caps { grid-template-columns: repeat(2, 1fr); }
  .access { grid-template-columns: 1fr; }
  .contact-page__grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav__links {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 20px var(--pad) 30px;
    background: rgba(10, 10, 11, 0.97);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-110%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.4s var(--ease), visibility 0.4s;
  }
  .nav__links.open {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }
  .nav__links a { padding: 12px 0; font-size: 18px; width: 100%; }
  .nav__cta { width: auto; }
  .nav__toggle { display: flex; }

  /* dropdowns inside mobile menu */
  .nav__drop { width: 100%; }
  .nav__drop-toggle {
    width: 100%;
    justify-content: space-between;
    font-size: 18px;
    padding: 12px 0;
  }
  .nav__drop-menu {
    position: static;
    transform: none;
    min-width: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    padding: 0 0 0 14px;
    border: none;
    background: none;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    opacity: 1;
    visibility: hidden;
    pointer-events: none;
    transition: max-height 0.35s var(--ease), visibility 0.35s, padding 0.35s var(--ease);
  }
  .nav__drop.open .nav__drop-menu {
    max-height: 420px;
    visibility: visible;
    pointer-events: auto;
    padding: 4px 0 12px 14px;
  }
  .nav__drop-menu a {
    white-space: normal;
    font-size: 15px;
    padding: 9px 0;
    border-radius: 0;
  }
  .nav__drop-menu a:hover { background: none; color: var(--accent); }
}

@media (max-width: 768px) {
  .work__item { grid-template-columns: 40px 1fr auto; }
  .work__num { font-size: 12px; }
  .studio__split { grid-template-columns: 1fr; }
  .owner { grid-template-columns: 1fr; }
  .owner__photo { max-width: 340px; }
  .form-steps__item { padding: 10px; font-size: 11.5px; }
}

@media (max-width: 560px) {
  .areas { grid-template-columns: 1fr; }
  .caps { grid-template-columns: 1fr; }
  .work__item { grid-template-columns: 1fr auto; gap: 14px; }
  .work__num { display: none; }
  .form-steps { flex-direction: column; }
  .form-review { grid-template-columns: 1fr; }
  .form-review dd { padding-top: 0; }
  .form-nav { flex-wrap: wrap; }
}
