/* ============================================================
   Code Gradients Apps — stylesheet
   Aesthetic: exaggerated minimalism on warm paper.

   Colour discipline: ink on warm paper plus ONE flat blue.
   No gradients anywhere — every accent is a solid colour.
   ============================================================ */

/* ---------------------------------------------- tokens */
:root {
  /* brand blue — the only colour in the system */
  --accent: #1F6FEB;              /* fills; white text on it = 4.6:1 */
  --accent-ink: #1558C4;          /* text on cream = 6.1:1 */
  --accent-soft: rgba(31,111,235,.10);

  /* surfaces */
  --paper: #F9F7F3;
  --paper-2: #F3F0EA;
  --card: #FFFFFF;
  --ink: #14141A;
  --ink-2: #45454F;
  --ink-3: #6E6E7A;
  --line: #E5E1D8;
  --line-strong: #D6D1C6;

  /* type */
  --font-display: "Outfit", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Work Sans", ui-sans-serif, system-ui, sans-serif;

  /* rhythm */
  --shell: 1280px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --sect-y: clamp(4.5rem, 10vw, 8.5rem);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  /* elevation */
  --sh-1: 0 1px 2px rgba(20,20,26,.05), 0 4px 14px rgba(20,20,26,.05);
  --sh-2: 0 2px 6px rgba(20,20,26,.06), 0 18px 44px rgba(20,20,26,.09);

  /* z-scale */
  --z-scrim: 40;
  --z-header: 50;
  --z-sheet: 60;

  --ease: cubic-bezier(.22,.61,.36,1);
  --header-h: 76px;
}

/* ---------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html:focus-within { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
/* must beat the component `display` rules below, or [hidden] does nothing */
[hidden] { display: none !important; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.035em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

/* consistent, always-visible focus */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--accent); color: #fff; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  translate: -50% -120%;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: .75rem 1.25rem;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-weight: 600;
  transition: translate .2s var(--ease);
}
.skip-link:focus { translate: -50% 0; }

/* ---------------------------------------------- gradient helpers */
.grad-text { color: var(--accent); }
.grad-dot  { color: var(--accent); }

/* ---------------------------------------------- buttons */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  padding: .8rem 1.55rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn-sm { min-height: 42px; padding: .5rem 1.15rem; font-size: .95rem; }
.btn-dark:hover { background: #2C2C36; box-shadow: var(--sh-2); }
.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); background: rgba(20,20,26,.04); }
.btn-grad {
  --btn-bg: var(--accent);
  --btn-fg: #fff;
}
.btn-grad:hover { background: var(--accent-ink); box-shadow: 0 8px 24px rgba(31,111,235,.26); }

/* ---------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
}
@supports not (backdrop-filter: blur(4px)) { .site-header { background: var(--paper); } }

.scroll-progress {
  position: absolute;
  inset: auto 0 -1px 0;
  height: 2px;
  background: var(--accent);
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
  will-change: transform;
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo { display: inline-flex; align-items: center; gap: .6rem; flex: 0 0 auto; min-height: 44px; }
.logo-mark { flex: 0 0 auto; transition: rotate .5s var(--ease); }
.logo:hover .logo-mark { rotate: -8deg; }
.logo-text { display: flex; align-items: baseline; gap: .38rem; }
.logo-text strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.06rem;
  letter-spacing: -.02em;
}
.logo-sub {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .6rem;
  letter-spacing: .18em;
  color: var(--ink-3);
  padding: .12rem .34rem;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
}

.nav-desktop { margin-inline: auto; }
.nav-desktop ul { display: flex; gap: .35rem; }
.nav-desktop a {
  position: relative;
  display: block;
  padding: .55rem .85rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .98rem;
  color: var(--ink-2);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: .28rem;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  translate: -50% 0;
  transition: width .25s var(--ease);
}
.nav-desktop a:hover { color: var(--ink); }
.nav-desktop a:hover::after,
.nav-desktop a[aria-current="true"]::after { width: 18px; }
.nav-desktop a[aria-current="true"] { color: var(--ink); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: .6rem; margin-left: auto; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle-bars { display: grid; gap: 4px; width: 18px; }
.nav-toggle-bars i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .28s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------------------------------------------- mobile sheet */
.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: var(--z-scrim);
  background: rgba(20,20,26,.4);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.nav-scrim.is-open { opacity: 1; }

.nav-mobile {
  position: fixed;
  z-index: var(--z-sheet);
  top: 0;
  right: 0;
  width: min(360px, 88vw);
  height: 100dvh;
  padding: calc(var(--header-h) + 1.5rem) var(--pad) 2rem;
  background: var(--paper);
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  overflow-y: auto;
  translate: 100% 0;
  transition: translate .34s var(--ease);
}
.nav-mobile.is-open { translate: 0 0; }
.nav-mobile ul { display: grid; gap: .2rem; }
/* scoped to the link list — must not leak onto the CTA or the email below */
.nav-mobile nav ul a {
  display: flex;
  align-items: baseline;
  gap: .8rem;
  padding: .85rem .25rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: -.03em;
  border-bottom: 1px solid var(--line);
}
.nav-idx {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--accent-ink);
}
.nav-mobile-cta { margin-top: auto; width: 100%; }
.nav-mobile-mail { text-align: center; font-size: .92rem; color: var(--ink-3); }
.nav-mobile-mail a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------- hero */
.hero { position: relative; padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem); overflow: hidden; }
/* no atmospheric colour washes — the palette is flat by design */
.hero-aura, .aura { display: none; }

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 4.9rem);
  font-weight: 900;
  letter-spacing: -.045em;
}
.hero-sub {
  margin-top: 1.35rem;
  max-width: 46ch;
  font-size: clamp(1.02rem, 1.35vw, 1.15rem);
  color: var(--ink-2);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.hero-stats li { display: grid; gap: .1rem; }
.hero-stats strong {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
}
.hero-stats em { font-style: normal; color: var(--accent); }
.hero-stats span { font-size: .88rem; color: var(--ink-3); }

.hero-visual img { width: 100%; }
.hero-fan { animation: fanPulse 6s ease-in-out infinite; transform-origin: 392px 296px; }
@keyframes fanPulse { 0%,100% { opacity: .88; } 50% { opacity: 1; } }
.hero-beam { animation: beamSlide 3.2s linear infinite; }
@keyframes beamSlide { from { opacity: .5; } 50% { opacity: 1; } to { opacity: .5; } }

/* ---------------------------------------------- tech marquee */
.tech { padding: clamp(2rem, 4vw, 3rem) 0; border-block: 1px solid var(--line); background: var(--paper-2); }
.tech-label {
  text-align: center;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 1.4rem;
  padding-inline: var(--pad);
}
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: scrollX 42s linear infinite; }
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 2.6rem; padding-right: 2.6rem; }
.marquee-group li {
  display: flex;
  align-items: center;
  gap: 2.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  letter-spacing: -.02em;
  color: var(--ink-2);
  white-space: nowrap;
}
.marquee-group li::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .55;
  flex: 0 0 auto;
}
@keyframes scrollX { to { transform: translateX(-50%); } }

/* ---------------------------------------------- sections */
.section { padding-block: var(--sect-y); }
.section-head { max-width: 62ch; margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.section-head-center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.section-sub { margin-top: 1rem; color: var(--ink-2); font-size: 1.05rem; max-width: 58ch; }
.section-head-center .section-sub { margin-inline: auto; }

/* ---------------------------------------------- work */
.section-work { background: var(--paper); }
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(1.1rem, 2.2vw, 1.6rem);
}
.work-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .78fr);
  gap: 1.1rem;
  align-items: center;
  overflow: hidden;
  padding: clamp(1.4rem, 2.2vw, 1.75rem);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-1);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--accent);
  scale: 0 1;
  transform-origin: 0 50%;
  transition: scale .4s var(--ease);
}
.work-card:hover { transform: translateY(-5px); box-shadow: var(--sh-2); border-color: var(--line-strong); }
.work-card:hover::after { scale: 1 1; }

.work-body { position: relative; z-index: 1; min-width: 0; }
.work-name {
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  font-weight: 800;
  margin-bottom: .7rem;
}
.work-logo { height: 34px; width: auto; }
.work-desc { color: var(--ink-2); font-size: .95rem; max-width: 42ch; }

.tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.1rem; }
.tag {
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 600;
  padding: .34rem .7rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--ink-2);
}
.tag-solid { background: var(--accent); border-color: transparent; color: #fff; }

.stores { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.3rem; }
.store {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  min-height: 44px;
  padding: .36rem .6rem;
  border-radius: 11px;
  background: var(--ink);
  color: #fff;
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.store:hover { background: #2C2C36; transform: translateY(-2px); }
.store svg { width: 17px; height: 17px; flex: 0 0 auto; }
.store span { display: grid; line-height: 1.12; }
.store small { font-size: .5rem; letter-spacing: .03em; text-transform: uppercase; opacity: .75; }
.store strong { font-family: var(--font-display); font-size: .76rem; font-weight: 600; white-space: nowrap; }

.work-shot { position: relative; z-index: 1; }
.work-shot img { width: 100%; transition: transform .45s var(--ease); }
.work-card:hover .work-shot img { transform: translateY(-6px) scale(1.02); }

/* ---------------------------------------------- services */
.section-services { background: var(--card); border-block: 1px solid var(--line); }
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(1rem, 2vw, 1.35rem);
}
.svc-card {
  padding: clamp(1.4rem, 2.4vw, 1.9rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--line-strong); }
.svc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  margin-bottom: 1.1rem;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.svc-card:hover .svc-icon { background: var(--accent); color: #fff; }
.svc-card h3 { font-size: 1.22rem; font-weight: 700; margin-bottom: .5rem; }
.svc-card p { color: var(--ink-2); font-size: .96rem; }

.svc-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.svc-pills li {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .9rem;
  padding: .5rem 1rem;
  border: 1px dashed var(--line-strong);
  border-radius: 999px;
  color: var(--ink-2);
}

/* ---------------------------------------------- process */
.process-inner {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.process-aside { position: sticky; top: calc(var(--header-h) + 2rem); }
.no-list { display: grid; gap: .7rem; margin: 1.75rem 0 2rem; }
.no-list li {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
}
.no-list svg { color: var(--g3); flex: 0 0 auto; }

.steps { display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.15rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
}
.step:first-child { padding-top: 0; }
.step:last-child { border-bottom: 0; }
.step-num {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent-soft);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--accent-ink);
  transition: background .3s var(--ease), color .3s var(--ease);
}
.step:hover .step-num { background: var(--accent); color: #fff; }
.step h3 { font-size: 1.28rem; font-weight: 700; margin-bottom: .35rem; }
.step p { color: var(--ink-2); font-size: .98rem; max-width: 58ch; }

/* ---------------------------------------------- testimonials */
.section-quotes { background: var(--card); border-block: 1px solid var(--line); }
.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: clamp(1rem, 2vw, 1.35rem);
}
.quote {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  padding: clamp(1.5rem, 2.6vw, 2rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
}
.quote::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--accent);
}
.quote p {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -.015em;
}
.quote footer { display: flex; align-items: center; gap: .75rem; margin-top: auto; }
.avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .85rem;
}
.quote footer span span, .quote footer > span:last-child { display: grid; }
.quote footer strong { font-family: var(--font-display); font-size: .96rem; font-weight: 600; }
.quote footer small { font-size: .84rem; color: var(--ink-3); }

/* ---------------------------------------------- contact */
.section-contact { background: var(--paper); }
.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
  max-width: 780px;
  margin-inline: auto;
}
.field { display: grid; gap: .45rem; }
.field-full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .92rem;
}
.field .opt { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: .85rem 1rem;
  background: var(--card);
  border: 1.5px solid var(--line-strong);
  border-radius: 14px;
  font-size: 1rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E6E7A' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 18px;
  padding-right: 2.75rem;
}
.field input::placeholder, .field textarea::placeholder { color: #A3A3AE; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--g1);
  box-shadow: 0 0 0 4px rgba(31,111,235,.16);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: #D92D20;
  box-shadow: 0 0 0 4px rgba(217,45,32,.1);
}
.field-error {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .87rem;
  font-weight: 500;
  color: #B42318;
}
.field-error::before { content: "!"; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #B42318; color: #fff; font-size: .68rem; font-weight: 700; }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: .35rem; }
.form-note { font-size: .93rem; color: var(--ink-3); }
.form-note a { text-decoration: underline; text-underline-offset: 3px; }
.btn-submit { position: relative; min-width: 180px; }
.spinner {
  width: 17px; height: 17px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  display: none;
  animation: spin .7s linear infinite;
}
.btn-submit.is-loading .spinner { display: block; }
.btn-submit[disabled] { opacity: .75; cursor: not-allowed; }
@keyframes spin { to { rotate: 360deg; } }

.form-status {
  grid-column: 1 / -1;
  font-weight: 500;
  font-size: .97rem;
  padding: 0;
}
.form-status:not(:empty) {
  padding: .9rem 1.1rem;
  border-radius: 14px;
  border: 1px solid;
}
.form-status.ok { background: #ECFDF3; border-color: #A6F4C5; color: #05603A; }
.form-status.bad { background: #FEF3F2; border-color: #FDA29B; color: #B42318; }

/* ---------------------------------------------- footer */
.site-footer { background: var(--ink); color: #EDEDF2; padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr);
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.logo-inverse .logo-text strong { color: #fff; }
.logo-inverse .logo-sub { color: rgba(255,255,255,.62); border-color: rgba(255,255,255,.24); }
.footer-tag { margin-top: 1rem; color: rgba(237,237,242,.66); max-width: 34ch; font-size: .97rem; }
.footer-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); gap: 1.75rem; }
.footer-nav h2 {
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(237,237,242,.5);
  margin-bottom: .9rem;
}
.footer-nav ul { display: grid; gap: .1rem; }
.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: rgba(237,237,242,.82);
  font-size: .9rem;
  transition: color .2s var(--ease);
  overflow-wrap: anywhere; /* long email must never widen the column */
}
.footer-nav a:hover { color: #fff; }

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .9rem;
  color: rgba(237,237,242,.6);
}
.footer-base a { display: inline-flex; align-items: center; min-height: 44px; transition: color .2s var(--ease); }
.footer-base a:hover { color: #fff; }
.to-top {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 44px;
  padding: .4rem .9rem;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.to-top:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.4); color: #fff; }

/* ---------------------------------------------- scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease) var(--d, 0ms), transform .6s var(--ease) var(--d, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }
/* if JS never runs, content must still be visible */
.no-js .reveal { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  /* copy first — the value proposition should never sit below the fold */
  .hero-visual { max-width: 520px; margin-inline: auto; }
  .hero-copy { text-align: left; }
  .process-inner { grid-template-columns: 1fr; }
  .process-aside { position: static; }
  .work-card { grid-template-columns: 1fr; }
  .work-shot { max-width: 420px; }
}

@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .nav-desktop { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .footer-inner { grid-template-columns: 1fr; }
  /* comfortable thumb targets once the footer is the only nav */
  .footer-nav a { min-height: 44px; }
  .footer-base { gap: .5rem 1.25rem; }
}

@media (max-width: 620px) {
  body { font-size: 1rem; }
  .hero h1 { font-size: clamp(2.15rem, 9.5vw, 3rem); }
  .contact-form { grid-template-columns: 1fr; }
  .form-foot { flex-direction: column; align-items: stretch; }
  .btn-submit { width: 100%; }
  .form-note { text-align: center; }
  .hero-stats { gap: 1.25rem 2rem; }
  .work-card { padding: 1.25rem; }
  .stores .store { flex: 1 1 auto; }
  .logo-sub { display: none; }
  .footer-base { justify-content: center; text-align: center; }
}

@media (max-width: 380px) {
  .logo-text strong { font-size: .95rem; }
}

/* ---------------------------------------------- motion & print */
@media (prefers-reduced-motion: reduce) {
  html:focus-within { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  .aura { animation: none; }
}

@media print {
  .site-header, .nav-mobile, .nav-scrim, .hero-aura, .marquee, .to-top { display: none !important; }
  body { background: #fff; }
  .reveal { opacity: 1; transform: none; }
}
