/* The Influence Avenue */

:root {
  --paper: #f8f8f6;
  --paper-2: #efefec;
  --ink: #111111;
  --charcoal: #2b2b2b;
  --grey: #606060;
  --line: #d6d6d2;
  --line-dark: #464646;
  --accent: #ebff6c;        /* highlighter */
  --accent-ink: #111111;

  --font: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 11vw, 150px);
  --header-h: 68px;
  --radius: 999px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--charcoal);
  font-family: var(--font);
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 600; }

.container {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--ink);
  padding: 10px 16px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.hero :focus-visible,
.approach :focus-visible,
.site-footer :focus-visible { outline-color: var(--accent); }

/* ---------- Type ---------- */

.eyebrow {
  margin: 0 0 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
}
.eyebrow-light { color: #cfcfcf; }

.display {
  font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}
.display .light,
.hero-title .light { font-weight: 300; }
.display-light { color: #f2f2f2; font-weight: 300; }
.display-light strong { font-weight: 700; }

.sub {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 1.75rem;
}

/* marker-pen highlight, from the original brand */
mark {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 100' preserveAspectRatio='none'%3E%3Cpath d='M6 20C70 13 150 17 230 12S360 11 396 9L391 52 398 88C320 91 240 86 160 90S48 88 3 92L9 55Z' fill='%23ebff6c'/%3E%3C/svg%3E") center 62% / 100% 68% no-repeat;
  color: inherit;
  padding: 0 0.2em;
  margin: 0 -0.2em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 52px;
  padding: 0.85rem 1.6rem;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  font: 600 1rem/1 var(--font);
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn span { transition: transform .2s; }
.btn:hover span { transform: translateX(3px); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: #f3ff9e; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--charcoal); }
.btn-light { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-light:hover { background: var(--ink); color: #fff; }
.btn-sm { min-height: 40px; padding: 0.55rem 1.1rem; font-size: 0.9375rem; }
.btn-block { width: 100%; }

.btn-link {
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}
.btn-link-light { color: #f2f2f2; }
.btn-link:hover { text-decoration-color: var(--accent); text-decoration-thickness: 2px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(248, 248, 246, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.logo { display: inline-block; line-height: 0; }
.logo img { height: 44px; width: auto; }
.logo-light img { height: 56px; filter: invert(1); }
@media (max-width: 560px) { .logo img { height: 38px; } }

.nav-menu {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: clamp(16px, 2.2vw, 30px);
}
.nav-menu a:not(.btn) {
  font-size: 0.9375rem; font-weight: 500;
  text-decoration: none; color: var(--grey);
  padding: 6px 0;
  background: linear-gradient(var(--accent), var(--accent)) 0 85% / 0 40% no-repeat;
  transition: color .2s, background-size .25s;
}
.nav-menu a:not(.btn):hover,
.nav-menu a[aria-current="true"] { color: var(--ink); background-size: 100% 40%; }

.nav-toggle { display: none; }

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-grid; place-items: center;
    width: 44px; height: 44px; margin-right: -10px;
    background: none; border: 0; cursor: pointer; color: var(--ink);
  }
  .nav-toggle-bars,
  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    display: block; width: 22px; height: 1.5px; background: currentColor;
    transition: transform .25s, opacity .2s;
  }
  .nav-toggle-bars { position: relative; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -7px; }
  .nav-toggle-bars::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

  .nav-menu {
    position: fixed; inset: var(--header-h) 0 auto 0;
    height: calc(100dvh - var(--header-h));
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 24px var(--gutter) 40px;
    background: var(--paper);
    overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility 0s .25s;
  }
  .nav-menu.is-open {
    visibility: visible; opacity: 1; transform: none;
    transition: opacity .25s, transform .25s;
  }
  .nav-menu li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav-menu a:not(.btn) {
    display: block; padding: 18px 0;
    font-size: 1.75rem; font-weight: 600; letter-spacing: -0.03em; color: var(--ink);
    background-size: 0 0;
  }
  .nav-cta-item { border-bottom: 0 !important; padding-top: 28px; }
  .nav-cta-item .btn { width: 100%; min-height: 52px; font-size: 1rem; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100svh - var(--header-h));
  background: var(--ink);
  color: #f2f2f2;
}
.hero-media { position: relative; overflow: hidden; background: #d9d9d6; }
.hero-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%;
}
.hero-content {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(48px, 7vw, 110px) clamp(24px, 6vw, 96px);
}
.hero-title {
  color: #f2f2f2;
  font-size: clamp(3.25rem, 1.5rem + 5.6vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
  margin-bottom: 2rem;
}
.hero-title span, .hero-title strong { display: block; }
.hero-title strong { font-weight: 700; }
.hero-tagline {
  font-size: clamp(1.25rem, 1rem + 0.9vw, 1.75rem);
  line-height: 1.2; letter-spacing: -0.03em;
  font-weight: 300;
  margin-bottom: 2.5rem;
}
.hero-tagline strong { font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.hero-location {
  margin-top: 3rem;
  font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; color: #9a9a9a;
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-media { aspect-ratio: 4 / 3.4; }
  .hero-media img { object-position: center 30%; }
  .hero-content { padding: 44px var(--gutter) 56px; }
  .hero-location { margin-top: 2rem; }
}

/* ---------- Sections ---------- */

.section { padding: var(--section) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }

/* About */
.about-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 7vw, 110px); align-items: center;
}
.about-copy { max-width: 560px; }
.about-copy > p:not(.eyebrow):not(.sub) { color: #3a3a3a; }
.about-media img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.contact-media { margin-top: 3rem; max-width: 380px; }
@media (min-width: 901px) { .contact-form { position: sticky; top: calc(var(--header-h) + 32px); } }
.contact-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* Services */
.services { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.services-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 7vw, 110px); align-items: start;
}
.services-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.services-media { margin-top: 1rem; }
.services-media img { aspect-ratio: 4 / 4.4; object-fit: cover; width: 100%; object-position: center 70%; }

.service-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.service {
  display: grid; grid-template-columns: 56px 1fr; gap: 12px;
  padding: clamp(28px, 3.5vw, 44px) 0;
  border-bottom: 1px solid var(--line);
}
.service-num {
  font-size: 0.875rem; font-weight: 600; color: var(--grey);
  padding-top: 0.55em; font-variant-numeric: tabular-nums;
}
.service h3 {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem);
  line-height: 1.1; letter-spacing: -0.035em;
  margin-bottom: 0.6rem;
  background: linear-gradient(var(--accent), var(--accent)) 0 88% / 0 38% no-repeat;
  display: inline;
  transition: background-size .35s ease;
}
.service:hover h3 { background-size: 100% 38%; }
.service p { color: var(--grey); max-width: 46ch; margin-top: 0.6rem; }
.service-cta { padding-top: clamp(32px, 4vw, 48px); }
.service-cta p { font-size: 1.125rem; color: var(--ink); max-width: 40ch; margin-bottom: 1.25rem; }

/* Platforms */
.platforms { margin-top: clamp(64px, 8vw, 104px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); }
.platforms .eyebrow { text-align: center; margin-bottom: clamp(24px, 3vw, 36px); }
.platform-list {
  list-style: none; margin: 0 auto; padding: 0; max-width: 960px;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(24px, 3vw, 40px) 16px;
}
.platform-list li { display: flex; flex-direction: column; align-items: center; gap: 10px; color: #a3a3a0; transition: color .2s; }
.platform-list li:hover { color: var(--ink); }
.platform-list svg { width: 30px; height: 30px; }
.platform-list span { font-size: 0.8125rem; font-weight: 500; color: var(--grey); white-space: nowrap; }
@media (max-width: 760px) { .platform-list { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 480px) { .platform-list { grid-template-columns: repeat(3, 1fr); gap: 28px 12px; } }

/* Approach */
.approach { background: var(--charcoal); color: #dcdcdc; }
.approach-grid {
  display: grid; grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(40px, 7vw, 110px); align-items: center;
}
.approach-media { position: relative; }
.approach-media img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.approach-copy { max-width: 620px; }
.approach-copy p { font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.25rem); line-height: 1.55; font-weight: 300; }
.approach-copy strong { color: #fff; font-weight: 600; }

/* Work */
.work-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px);
}
.work-grid:empty { display: none; }
.work-card img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; margin-bottom: 1rem; }
.work-meta { font-size: 0.8125rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); margin-bottom: 0.4rem; }
.work-card h3 { font-size: 1.375rem; letter-spacing: -0.03em; margin-bottom: 0.4rem; }

.testimonials { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-top: 64px; }
.testimonial blockquote { margin: 0 0 1rem; font-size: 1.375rem; line-height: 1.35; letter-spacing: -0.02em; color: var(--ink); }
.testimonial figcaption { color: var(--grey); }

/* Client feedback */
.feedback { border-bottom: 1px solid var(--line); }
.feedback-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.feedback-head { position: sticky; top: calc(var(--header-h) + 32px); }
.feedback-media { margin-top: clamp(8px, 1.5vw, 16px); }
.feedback-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 62%; max-height: calc(100vh - var(--header-h) - 220px); }
.quote-list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(28px, 4vw, 48px); }
.quote { margin: 0; }
.quote p {
  font-size: clamp(1.375rem, 1.1rem + 1.1vw, 2rem); font-weight: 300;
  letter-spacing: -0.03em; line-height: 1.25; color: var(--ink); max-width: 30ch;
}
.quote-list li:nth-child(even) { padding-left: clamp(0px, 8vw, 120px); }
.quote-list li { padding-top: clamp(28px, 4vw, 48px); border-top: 1px solid var(--line); }
.quote-list li:first-child { padding-top: 0; border-top: 0; }
@media (max-width: 900px) {
  .feedback-grid { grid-template-columns: 1fr; }
  .feedback-head { position: static; }
  .feedback-media img { max-height: none; aspect-ratio: 4 / 4.4; object-position: center 55%; }
  .quote-list li:nth-child(even) { padding-left: 0; }
}

/* Resources */
.section-intro { color: var(--grey); max-width: 46ch; margin-top: -0.25rem; }
.resource-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(16px, 2vw, 24px);
}
.resource {
  position: relative;
  display: flex; flex-direction: column;
  padding: clamp(24px, 3vw, 36px);
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color .2s, transform .2s;
}
.resource:hover { border-color: var(--ink); transform: translateY(-2px); }
.resource:focus-within { border-color: var(--ink); }
.resource-type {
  margin-bottom: 1.5rem;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey);
}
.resource h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -0.035em; line-height: 1.1; margin-bottom: 0.75rem; }
.resource h3 a { text-decoration: none; }
.resource h3 a::after { content: ""; position: absolute; inset: 0; } /* whole card is clickable */
.resource h3 a:focus-visible { outline: none; }
.resource > p:not(.resource-type) { color: var(--grey); margin-bottom: 2rem; }
.resource-cta {
  margin-top: auto; align-self: flex-start;
  font-weight: 600; color: var(--ink);
  background: linear-gradient(var(--accent), var(--accent)) 0 90% / 100% 35% no-repeat;
  transition: background-size .25s;
}
.resource:hover .resource-cta { background-size: 100% 90%; }

/* Toolkit */
.toolkit {
  margin-top: clamp(56px, 7vw, 88px); padding-top: clamp(40px, 5vw, 56px);
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: start;
}
.toolkit-title { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.25rem); font-weight: 300; letter-spacing: -0.045em; line-height: 1; margin-bottom: 1.25rem; }
.toolkit-title strong { font-weight: 700; }
.toolkit-head p { color: var(--grey); max-width: 44ch; }
.tool-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.tool { background: #fff; border: 1px solid var(--line); padding: 24px; display: flex; flex-direction: column; align-items: flex-start; }
.tool-use { font-size: 0.8125rem; color: var(--grey); margin-bottom: 0.35rem; }
.tool-name { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.035em; color: var(--ink); margin-bottom: 1.25rem; }
.toolkit-disclaimer { grid-column: 1 / -1; font-size: 0.8125rem; color: var(--grey); margin: 0; }
@media (max-width: 900px) { .toolkit { grid-template-columns: 1fr; } }

/* Instagram */
.insta { background: #fff; border-top: 1px solid var(--line); text-align: center; }
.insta-head .eyebrow { color: var(--ink); }
.insta-handle {
  font-size: clamp(2rem, 1.3rem + 2.8vw, 3.5rem);
  font-weight: 300; letter-spacing: -0.045em; line-height: 1.05;
  margin-bottom: clamp(32px, 4vw, 48px);
}
.insta-handle a { text-decoration: none; background: linear-gradient(var(--accent), var(--accent)) 0 88% / 0 35% no-repeat; transition: background-size .3s; }
.insta-handle a:hover { background-size: 100% 35%; }
.insta-grid {
  list-style: none; margin: 0 auto; padding: 0 clamp(8px, 1.5vw, 20px);
  max-width: 1600px;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px;
}
.insta-grid a { display: block; position: relative; overflow: hidden; aspect-ratio: 1; background: var(--paper-2); }
.insta-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .3s; }
.insta-grid a:hover img { transform: scale(1.04); }
.insta-grid a:focus-visible { outline-offset: -3px; }
.insta-play {
  position: absolute; top: 10px; right: 10px; width: 22px; height: 22px;
  color: #fff; filter: drop-shadow(0 1px 2px rgba(0,0,0,.5));
}
.insta-grid .is-loading { aspect-ratio: 1; background: linear-gradient(90deg, var(--paper-2), #f6f6f3, var(--paper-2)) 0 0 / 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.insta-cta { margin-top: clamp(32px, 4vw, 48px); }
@media (max-width: 900px) {
  .insta-grid {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none;
    padding: 0 var(--gutter);
  }
  .insta-grid::-webkit-scrollbar { display: none; }
  .insta-grid li { scroll-snap-align: start; }
}

/* Contact */
.contact { background: var(--paper-2); }
.contact-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 7vw, 110px); align-items: start;
}
.contact-copy > p:not(.eyebrow) { color: #3a3a3a; max-width: 42ch; }
.contact-note {
  margin-top: 1.5rem; padding-left: 16px;
  border-left: 3px solid var(--accent);
  font-size: 0.9375rem;
}
.contact-details { margin: 2.5rem 0 0; display: grid; gap: 1.25rem; }
.contact-details dt {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey);
}
.contact-details dd { margin: 0.2rem 0 0; font-size: 1.125rem; color: var(--ink); }
.contact-details a { text-decoration: none; background: linear-gradient(var(--accent), var(--accent)) 0 90% / 100% 35% no-repeat; }
.contact-details a:hover { background-size: 100% 90%; }

.contact-form {
  background: #fff;
  padding: clamp(24px, 4vw, 48px);
  display: grid; gap: 22px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; min-width: 0; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.field label, .field legend {
  font-size: 0.875rem; font-weight: 600; color: var(--ink); padding: 0;
}
fieldset.field legend { margin-bottom: 10px; }
.optional { font-weight: 400; color: var(--grey); }

.field input, .field textarea {
  width: 100%;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 14px 16px;
  transition: border-color .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--ink); background: #fff;
  box-shadow: 0 0 0 3px rgba(235, 255, 108, 0.8);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b3261e; }
.field-error { font-size: 0.8125rem; color: #b3261e; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 0.9375rem; font-weight: 500; color: var(--charcoal);
  background: var(--paper);
  transition: background-color .15s, border-color .15s, color .15s;
}
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--accent); border-color: var(--ink); color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }

.hp { position: absolute; left: -9999px; }

.form-status { margin: 0; font-size: 0.9375rem; min-height: 1.4em; }
.form-status.is-success { color: var(--ink); background: var(--accent); padding: 14px 16px; font-weight: 500; }
.form-status.is-error { color: #b3261e; }
.contact-form button[disabled] { opacity: 0.75; cursor: progress; }
.contact-form [hidden] { display: none !important; }
.spinner {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.form-status a { color: inherit; font-weight: 600; }
.form-success {
  padding: clamp(8px, 2vw, 16px) 0;
  outline: none;
}
.form-success-title {
  display: inline;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.15;
  color: var(--ink);
  background: linear-gradient(var(--accent), var(--accent)) 0 88% / 100% 40% no-repeat;
}
.form-success p:not(.form-success-title) { margin-top: 1.25rem; color: #3a3a3a; }

/* ---------- Legal page ---------- */

.legal-inner { max-width: 760px; }
.legal h1 { margin-bottom: 0.75rem; }
.legal-updated { color: var(--grey); font-size: 0.9375rem; margin-bottom: 2.5rem; }
.legal h2 {
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  letter-spacing: -0.025em; line-height: 1.2;
  margin: 2.75rem 0 0.9rem;
}
.legal p, .legal li { color: #3a3a3a; }
.legal ul { margin: 0 0 1.1em; padding-left: 1.2em; }
.legal li { margin-bottom: 0.4em; }
.legal li::marker { color: var(--grey); }
.legal a:not(.btn) { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal a:not(.btn):hover { text-decoration-color: var(--accent); text-decoration-thickness: 3px; }
.legal-back { margin-top: 3.5rem; }
.footer-base-solo { padding-top: 0; }

.form-privacy { margin: -6px 0 0; font-size: 0.8125rem; color: var(--grey); text-align: center; }
.form-privacy a { color: var(--ink); }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: #bdbdbd; padding: clamp(56px, 7vw, 88px) 0 28px; }
.footer-inner {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
  padding-bottom: 48px; border-bottom: 1px solid var(--line-dark);
}
.footer-brand p { margin-top: 1rem; font-size: 0.9375rem; }
.footer-nav { display: grid; gap: 10px; align-content: start; }
.footer-nav a, .footer-contact > a, .footer-base a { text-decoration: none; color: #e9e9e9; }
.footer-nav a:hover, .footer-contact > a:hover, .footer-base a:hover { color: var(--accent); }
.footer-contact { display: grid; gap: 18px; align-content: start; }
.socials { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.socials a {
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid var(--line-dark); border-radius: 50%; color: #e9e9e9;
  transition: background-color .2s, color .2s, border-color .2s;
}
.socials a:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.footer-base {
  display: flex; justify-content: space-between; gap: 16px;
  padding-top: 24px; font-size: 0.875rem;
}
.footer-base p { margin: 0; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .about-grid, .services-grid, .approach-grid, .contact-grid { grid-template-columns: 1fr; }
  .services-intro { position: static; }
  .services-media img { aspect-ratio: 4 / 3; }
  .approach-media { max-width: 480px; }
  .contact-media { display: none; }
  .work-grid, .testimonials { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .service { grid-template-columns: 1fr; gap: 6px; }
  .service-num { padding-top: 0; }
  .hero-actions .btn { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; }
}

/* ---------- Motion ---------- */

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
