/* ============================================================
   Drift Studio — driftstudio.org.uk
   Dark, premium identity. Static site, no build step. Mobile-first.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --base: #0A1216;
  --surface: #0F1B20;
  --card: #15232A;
  --ink-light: #E9EFED;
  --dim: #8FA4A1;
  --gold: #E0AC5B;
  --gold-soft: #C9913F;
  --line: rgba(233, 239, 237, 0.12);

  /* Derived */
  --card-hi: #1A2C34;
  --dim-strong: #AFC0BD;
  --gold-grad: linear-gradient(120deg, #E8C07E, var(--gold) 45%, var(--gold-soft));

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-logo: "Bricolage Grotesque", "Space Grotesk", system-ui, sans-serif;

  --container: 1180px;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4), 0 6px 18px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 14px 34px rgba(0, 0, 0, 0.42);
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.55);
  --glow-gold: 0 0 0 1px rgba(224, 172, 91, 0.35), 0 20px 60px rgba(224, 172, 91, 0.18);

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

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  font-family: var(--font-body);
  color: var(--ink-light);
  background: var(--base);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.svg-defs { position: absolute; width: 0; height: 0; pointer-events: none; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.75rem);
}
.section { padding-block: clamp(4.5rem, 9vw, 7.5rem); }

/* Section themes — background only (never padding) */
.sec--base { background: var(--base); }
.sec--surface { background: var(--surface); }

[id] { scroll-margin-top: 5.5rem; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  background: var(--gold);
  color: var(--base);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  background: var(--gold-grad);
  margin-right: 0.65rem;
  border-radius: 2px;
}

.section-head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-title { font-size: clamp(2rem, 4.5vw, 3rem); color: var(--ink-light); }
.section-sub { margin-top: 1rem; font-size: 1.125rem; color: var(--dim); max-width: 52ch; }

.accent {
  color: var(--gold);
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease),
    border-color 0.18s var(--ease), color 0.18s var(--ease), box-shadow 0.18s var(--ease);
  white-space: nowrap;
}
.btn--lg { padding: 1.05rem 1.85rem; font-size: 1.0625rem; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--gold-grad);
  color: #14110A;
  box-shadow: 0 10px 26px rgba(224, 172, 91, 0.26);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(224, 172, 91, 0.4); }

.btn--ghost { background: transparent; color: var(--ink-light); border-color: var(--line); }
.btn--ghost:hover { border-color: rgba(233, 239, 237, 0.4); background: rgba(233, 239, 237, 0.05); transform: translateY(-2px); }

.btn--outline { background: transparent; color: var(--gold); border-color: rgba(224, 172, 91, 0.45); }
.btn--outline:hover { background: var(--gold); color: #14110A; border-color: var(--gold); transform: translateY(-2px); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 18, 22, 0.72);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(10, 18, 22, 0.9);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.75rem; }

.brand { display: inline-flex; align-items: center; gap: 0.65rem; }
.brand__mark { border-radius: 11px; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4); flex-shrink: 0; }
.brand__name {
  font-family: var(--font-logo);
  font-weight: 800;
  font-size: 1.36rem;
  letter-spacing: -0.035em;
  color: var(--ink-light);
  white-space: nowrap;
}
.brand__dim { font-weight: 500; color: var(--dim); letter-spacing: -0.02em; }

.nav__links { display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 2.25rem); }
.nav__list { display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 2.25rem); }
.nav__list a {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--dim-strong);
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.18s var(--ease);
}
.nav__list a:hover { color: var(--ink-light); }
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--gold-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s var(--ease);
}
.nav__list a:hover::after { transform: scaleX(1); }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav__toggle-bar { display: block; height: 2px; width: 100%; background: var(--ink-light); border-radius: 2px; transition: transform 0.25s var(--ease), opacity 0.2s var(--ease); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO (split)
   ============================================================ */
.hero { position: relative; overflow: hidden; padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.hero__glow {
  position: absolute;
  top: -10%; right: -5%;
  width: 60vw; height: 60vw;
  max-width: 720px; max-height: 720px;
  background: radial-gradient(circle, rgba(224, 172, 91, 0.20), rgba(224, 172, 91, 0.06) 40%, transparent 70%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}
.hero__currents { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}
.hero__copy { max-width: 36rem; }
.hero__title {
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  font-weight: 700;
  color: var(--ink-light);
  letter-spacing: -0.03em;
  margin-bottom: 1.4rem;
}
.hero__lead { font-size: clamp(1.125rem, 2vw, 1.3rem); color: var(--dim-strong); max-width: 46ch; margin-bottom: 2.25rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 1.75rem; }
.hero__note { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.95rem; color: var(--dim); }
.hero__note .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold-grad); box-shadow: 0 0 10px rgba(224, 172, 91, 0.7); flex-shrink: 0; }

/* Hero currents gentle drift */
@media (prefers-reduced-motion: no-preference) {
  .cur { animation: drift 24s ease-in-out infinite alternate; will-change: transform; }
  .cur--1 { animation-duration: 20s; }
  .cur--2 { animation-duration: 27s; animation-direction: alternate-reverse; }
  .cur--3 { animation-duration: 31s; }
  @keyframes drift {
    from { transform: translate3d(-16px, 5px, 0); }
    to   { transform: translate3d(16px, -5px, 0); }
  }
}

/* Hero visual: Drift-branded preview window */
.hero__visual { position: relative; justify-self: center; width: 100%; max-width: 460px; }
.preview {
  position: relative;
  background: linear-gradient(180deg, var(--card-hi), var(--card));
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(224, 172, 91, 0.10), 0 24px 60px rgba(224, 172, 91, 0.12);
}
.preview__bar { display: flex; align-items: center; gap: 0.75rem; padding: 0.7rem 0.9rem; background: rgba(0, 0, 0, 0.25); border-bottom: 1px solid var(--line); }
.preview__dots { display: inline-flex; gap: 6px; }
.preview__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(233, 239, 237, 0.22); }
.preview__url { flex: 1; font-size: 0.72rem; color: var(--dim); background: rgba(0, 0, 0, 0.3); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 0.28rem 0.85rem; }
.preview__body { position: relative; padding: 1.6rem 1.5rem 2rem; min-height: 230px; }
.preview__currents { position: absolute; inset: 1rem 0 auto 0; width: 100%; height: 150px; z-index: 0; opacity: 0.8; }
.preview__body > span { position: relative; z-index: 1; display: block; border-radius: 5px; }
.pv-eyebrow { width: 4.5rem; height: 0.6rem; background: rgba(224, 172, 91, 0.5); margin-bottom: 1rem; }
.pv-head { height: 1.5rem; width: 90%; background: var(--gold-grad); margin-bottom: 0.55rem; border-radius: 6px; }
.pv-head--2 { width: 62%; margin-bottom: 1.1rem; }
.pv-line { height: 0.65rem; width: 100%; background: rgba(233, 239, 237, 0.16); margin-bottom: 0.5rem; }
.pv-line--short { width: 70%; margin-bottom: 1.5rem; }
.pv-btn { width: 7rem; height: 2.1rem; border-radius: var(--radius-pill); background: var(--gold-grad); box-shadow: 0 8px 18px rgba(224, 172, 91, 0.3); }

.hero__chip {
  position: absolute;
  left: -0.75rem; bottom: -1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink-light);
  background: rgba(15, 27, 32, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 0.6rem 1rem;
  box-shadow: var(--shadow-md);
}
.hero__chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-grad); box-shadow: 0 0 10px rgba(224, 172, 91, 0.8); }
@media (prefers-reduced-motion: no-preference) {
  .hero__chip { animation: float 6s ease-in-out infinite; }
  @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
}

/* ============================================================
   POSITIONING STRIP
   ============================================================ */
.strip { padding-block: clamp(3.25rem, 6vw, 5rem); }
.strip__inner { text-align: center; }
.current-divider { display: inline-block; margin-bottom: 1.5rem; opacity: 0.95; }
.strip__text {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.4rem, 3.2vw, 2.3rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  max-width: 24ch;
  margin-inline: auto;
  color: var(--ink-light);
}

/* ============================================================
   WORK — browser-framed CSS samples (light client mockups on dark)
   ============================================================ */
.work-grid { display: grid; grid-template-columns: 1fr; gap: clamp(1.5rem, 3vw, 2rem); }
.work-item { margin: 0; }
.work-item__cap { margin-top: 1rem; font-size: 0.95rem; color: var(--dim); }
.work-item__cap strong { color: var(--ink-light); font-weight: 600; }

.browser {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.work-item:hover .browser { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.browser__bar { display: flex; align-items: center; gap: 0.75rem; padding: 0.6rem 0.85rem; background: #e9eeec; border-bottom: 1px solid #d8e0dd; }
.browser__dots { display: inline-flex; gap: 6px; }
.browser__dots i { width: 9px; height: 9px; border-radius: 50%; background: #c9d4d0; display: block; }
.browser__dots i:nth-child(1) { background: #e6a18c; }
.browser__dots i:nth-child(2) { background: #e6cf8c; }
.browser__dots i:nth-child(3) { background: #9bc6a6; }
.browser__address { flex: 1; font-size: 0.72rem; color: #6b7a75; background: #fff; border-radius: var(--radius-pill); padding: 0.28rem 0.8rem; border: 1px solid #dbe3e0; font-family: var(--font-body); }

.browser__screen { aspect-ratio: 4 / 3; overflow: hidden; }

.mini { --accent: #123A44; display: flex; flex-direction: column; height: 100%; font-size: 10px; }
.mini__nav { display: flex; align-items: center; gap: 0.5em; padding: 1.1em 1.3em; }
.mini__logo { width: 2.6em; height: 0.9em; border-radius: 3px; background: var(--accent); }
.mini__links { display: inline-flex; gap: 0.55em; margin-left: 0.6em; }
.mini__links i { width: 1.6em; height: 0.55em; border-radius: 3px; background: #c6d2ce; display: block; }
.mini__pill { width: 3.2em; height: 1.4em; border-radius: 999px; background: var(--accent); margin-left: auto; }

.mini__hero { flex: 1; display: flex; gap: 1.2em; padding: 0.4em 1.3em 1.1em; align-items: center; }
.mini__hero--center { flex-direction: column; justify-content: center; text-align: center; }
.mini__copy { flex: 1; display: flex; flex-direction: column; gap: 0.55em; }
.mini__bar { height: 0.95em; border-radius: 3px; background: #d4ddd9; width: 100%; }
.mini__bar--xl { height: 1.5em; background: #243b40; width: 92%; }
.mini__bar--lg { height: 1.25em; background: #2c3a40; width: 88%; }
.mini__bar--sub { height: 0.7em; background: #cfd9d5; width: 95%; }
.mini__bar--w80 { width: 80%; }
.mini__bar--w70 { width: 70%; }
.mini__bar--w60 { width: 60%; }
.mini__bar--center { margin-inline: auto; }
.mini__cta { margin-top: 0.5em; width: 6em; height: 1.9em; border-radius: 999px; background: var(--accent); }
.mini__cta--center { margin-inline: auto; }

.mini__art { width: 38%; align-self: stretch; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.mini__row { display: flex; gap: 0.8em; padding: 0 1.3em 1.3em; }
.mini__tile, .mini__soft, .mini__col { flex: 1; border-radius: 6px; }
.mini__tile { height: 3em; background: #e3eae7; border-top: 3px solid var(--accent); }
.mini__soft { height: 3em; background: #eef4f1; }
.mini__col { height: 2.4em; background: #e3eae7; }

/* Trades — bold, industrial, amber */
.mini--trades { --accent: #C9762B; background: #fbfaf8; }
.mini--trades .mini__bar--xl { background: #1d2b30; }
.mini--trades .mini__art--trades { background: linear-gradient(150deg, #1d2b30, #34474d); position: relative; }
.mini--trades .mini__tool { width: 46%; height: 46%; border-radius: 6px; background: linear-gradient(45deg, transparent 45%, #C9762B 45%, #C9762B 55%, transparent 55%), linear-gradient(-45deg, transparent 45%, #E8B86A 45%, #E8B86A 55%, transparent 55%); }
.mini--trades .mini__tile { border-top-color: #C9762B; }

/* Clinic — calm, soft, teal */
.mini--clinic { --accent: #2E8C82; background: #f4faf8; }
.mini--clinic .mini__hero--center { padding-top: 1em; gap: 0.7em; }
.mini--clinic .mini__bar--lg { background: #2b4a48; height: 1.15em; }
.mini--clinic .mini__art--clinic { width: 100%; height: 3.4em; align-self: center; background: transparent; margin-bottom: 0.3em; }
.mini--clinic .mini__orb { width: 3.4em; height: 3.4em; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #6fc3b6, #2E8C82); box-shadow: 0 0 0 0.5em rgba(46, 140, 130, 0.12); }
.mini--clinic .mini__soft { background: #e3f1ed; }

/* Professional services — refined, navy */
.mini--pro { --accent: #1F3A5F; background: #f7f9fb; }
.mini--pro .mini__nav--pro { border-bottom: 1px solid #e4e9ef; }
.mini--pro .mini__bar--lg { background: #1b2a44; }
.mini--pro .mini__cta--pro { background: var(--accent); width: 5.4em; }
.mini--pro .mini__art--pro { flex-direction: column; gap: 0.6em; background: #eef2f7; padding: 0.7em; }
.mini--pro .mini__stat { height: 1.4em; border-radius: 5px; background: #fff; border-left: 4px solid var(--accent); }
.mini--pro .mini__col { background: #e9eef4; height: 2.6em; }

.work-note { margin-top: 2rem; font-size: 0.95rem; color: var(--dim); text-align: center; font-style: italic; }

/* ============================================================
   PROCESS
   ============================================================ */
.process { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.75rem; }
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; border-radius: 50%;
  background: rgba(224, 172, 91, 0.12);
  border: 1px solid rgba(224, 172, 91, 0.4);
  color: var(--gold);
  font-family: var(--font-display); font-weight: 700; font-size: 1.3rem;
  margin-bottom: 1.25rem;
}
.step__title { font-size: 1.25rem; color: var(--ink-light); margin-bottom: 0.6rem; }
.step__text { color: var(--dim); }

/* ============================================================
   PRICING
   ============================================================ */
.pricing { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: stretch; }
.card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.75rem; box-shadow: var(--shadow-sm); }
.card__head { padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); margin-bottom: 1.5rem; }
.card__name { font-family: var(--font-display); font-size: 1.4rem; color: var(--ink-light); margin-bottom: 0.5rem; }
.card__price { display: flex; align-items: baseline; gap: 0.35rem; }
.card__amount { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4vw, 2.6rem); letter-spacing: -0.03em; color: #fff; }
.card__best { margin-top: 0.75rem; font-size: 0.92rem; line-height: 1.45; color: var(--dim); }
.card__best span { color: var(--gold); font-weight: 600; }
.card__desc { margin-bottom: 1.5rem; color: var(--dim-strong); font-size: 1rem; line-height: 1.5; }

.card__features { display: grid; gap: 0.85rem; margin-bottom: 1.75rem; flex: 1; }
.card__features li { position: relative; padding-left: 1.85rem; font-size: 0.975rem; color: var(--dim-strong); }
.card__features li::before {
  content: "";
  position: absolute; left: 0; top: 2px;
  width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: rgba(224, 172, 91, 0.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M20 7L9.5 17.5 4 12' stroke='%23E0AC5B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.card__cta { margin-top: auto; }

/* Featured */
.card--featured {
  position: relative;
  background: linear-gradient(180deg, var(--card-hi), var(--card));
  border-color: rgba(224, 172, 91, 0.55);
  box-shadow: var(--glow-gold), var(--shadow-lg);
}
.card__badge {
  position: absolute; top: -0.85rem; left: 50%; transform: translateX(-50%);
  background: var(--gold-grad); color: #14110A;
  font-family: var(--font-display); font-weight: 700; font-size: 0.75rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.4rem 0.95rem; border-radius: var(--radius-pill); white-space: nowrap;
  box-shadow: 0 8px 18px rgba(224, 172, 91, 0.45);
}

.pricing__note { margin-top: 2.25rem; text-align: center; color: var(--dim); max-width: 60ch; margin-inline: auto; }

/* ============================================================
   WHY DRIFT — value grid
   ============================================================ */
.value-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.value { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; transition: border-color 0.2s var(--ease), transform 0.2s var(--ease); }
.value:hover { border-color: rgba(224, 172, 91, 0.35); transform: translateY(-3px); }
.value__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; border-radius: 12px;
  background: rgba(224, 172, 91, 0.12); color: var(--gold); margin-bottom: 1.1rem;
}
.value__title { font-size: 1.2rem; color: var(--ink-light); margin-bottom: 0.5rem; }
.value__text { color: var(--dim); font-size: 0.975rem; }

/* ============================================================
   CTA PANEL
   ============================================================ */
.cta__panel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--surface), var(--card));
  border: 1px solid rgba(224, 172, 91, 0.25);
  border-radius: clamp(20px, 3vw, 28px);
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta__glow {
  position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
  width: 80%; height: 120%;
  background: radial-gradient(circle, rgba(224, 172, 91, 0.22), transparent 60%);
  pointer-events: none;
}
.cta__content { position: relative; z-index: 1; }
.cta__title { font-size: clamp(1.9rem, 4.5vw, 3rem); color: var(--ink-light); }
.cta__text { color: var(--dim-strong); font-size: 1.0625rem; margin-top: 0.6rem; }
.cta__actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 1.25rem; margin-top: 2rem; }
.cta__email { font-family: var(--font-display); font-weight: 600; color: var(--gold); border-bottom: 1px solid rgba(224, 172, 91, 0.4); padding-bottom: 2px; transition: border-color 0.2s var(--ease); }
.cta__email:hover { border-color: var(--gold); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.contact__points { display: grid; gap: 0.85rem; margin-top: 1.75rem; }
.contact__points li { display: flex; align-items: center; gap: 0.7rem; font-weight: 500; color: var(--ink-light); }
.tick {
  width: 1.4rem; height: 1.4rem; border-radius: 50%; flex-shrink: 0;
  background: rgba(224, 172, 91, 0.14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M20 7L9.5 17.5 4 12' stroke='%23E0AC5B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}

.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.25rem); box-shadow: var(--shadow-md); }
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; color: var(--ink-light); margin-bottom: 0.45rem; }
.field input, .field textarea {
  width: 100%;
  font-family: var(--font-body); font-size: 1rem; color: var(--ink-light);
  background: rgba(0, 0, 0, 0.25);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.95rem;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease), background-color 0.18s var(--ease);
}
.field textarea { resize: vertical; min-height: 6.5rem; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(0, 0, 0, 0.35); box-shadow: 0 0 0 3px rgba(224, 172, 91, 0.2); }

.form__status { margin-top: 1rem; font-weight: 500; font-size: 0.95rem; display: none; }
.form__status.is-visible { display: block; }
.form__status.is-success { color: #6fc79a; }
.form__status.is-error { color: #e88a72; }
.form__small { margin-top: 0.9rem; font-size: 0.85rem; color: var(--dim); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { padding-block: clamp(2.75rem, 5vw, 3.75rem); border-top: 1px solid var(--line); }
.footer__inner { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.footer__tag { margin-top: 0.85rem; color: var(--dim); max-width: 28ch; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 1.25rem 1.75rem; align-items: center; }
.footer__nav a { font-family: var(--font-display); color: var(--dim); font-weight: 500; transition: color 0.18s var(--ease); }
.footer__nav a:hover { color: var(--ink-light); }
.footer__contact { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__email { font-family: var(--font-display); font-weight: 600; color: var(--gold); border-bottom: 1px solid transparent; align-self: start; transition: border-color 0.2s var(--ease); }
.footer__email:hover { border-bottom-color: var(--gold); }
.footer__copy { color: var(--dim); font-size: 0.9rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed;
    inset: 4.75rem 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(10, 18, 22, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 0.75rem clamp(1.25rem, 5vw, 2.75rem) 1.5rem;
    transform: translateY(-130%);
    transition: transform 0.3s var(--ease);
    visibility: hidden;
  }
  .nav__links.is-open { transform: translateY(0); visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list li { border-bottom: 1px solid var(--line); }
  .nav__list a { display: block; padding: 0.95rem 0.25rem; font-size: 1.05rem; }
  .nav__list a::after { display: none; }
  .nav__cta { margin-top: 1.1rem; width: 100%; }
}

@media (min-width: 620px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1.5fr 1fr; }
  .footer__contact { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 1.5rem; }
}

@media (min-width: 880px) {
  .hero__inner { grid-template-columns: 1.05fr 0.95fr; }
  .pricing { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .card--featured { transform: scale(1.04); z-index: 1; }
  .card--featured:hover { transform: scale(1.04); }
  .process { grid-template-columns: repeat(3, 1fr); position: relative; }
  .work-grid { grid-template-columns: repeat(3, 1fr); }
  .value-grid { grid-template-columns: repeat(3, 1fr); }
  .contact { grid-template-columns: 1fr 1.1fr; gap: 4rem; }
  .footer__inner { grid-template-columns: 1.5fr 1fr 1.2fr; }
  .footer__contact { grid-column: auto; flex-direction: column; align-items: flex-end; border-top: 0; padding-top: 0; }

  .step::after {
    content: "";
    position: absolute;
    top: 3.5rem; right: -1.5rem;
    width: 1.5rem; height: 2px;
    background: repeating-linear-gradient(90deg, var(--gold) 0 6px, transparent 6px 11px);
  }
  .step:last-child::after { display: none; }
}

@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;
  }
  .btn:hover, .work-item:hover .browser, .value:hover { transform: none; }
}
