/* ==========================================================================
   Creatività Co. — design system
   Palette + type taken from the existing brand (Montserrat / Inconsolata,
   electric blue, teal, charcoal).
   ========================================================================== */

:root {
  /* Ink & paper */
  --ink:        #101112;
  --ink-2:      #3A3D3F;
  --ink-3:      #6B6F72;
  --paper:      #FFFFFF;
  --paper-2:    #F6F6F4;
  --paper-3:    #EFEFEC;
  --line:       #E3E3DF;

  /* Brand accents (sampled from the Creatività services framework) */
  --blue:       #194AFF;
  --teal:       #008080;
  --char:       #303030;

  /* Type */
  --sans: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "Inconsolata", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Rhythm */
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section: clamp(4.5rem, 11vw, 9rem);
  --maxw: 1240px;
  --maxw-text: 68ch;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --------------------------------------------------------------- reset -- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

p { margin: 0 0 1.15em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

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

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

/* --------------------------------------------------------- type scale -- */

.h-display { font-size: clamp(2.75rem, 1.4rem + 6.2vw, 6.25rem); }
.h1        { font-size: clamp(2.25rem, 1.35rem + 4.2vw, 4.75rem); }
.h2        { font-size: clamp(1.875rem, 1.3rem + 2.6vw, 3.25rem); }
.h3        { font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.75rem); letter-spacing: -0.025em; }

.lede {
  font-size: clamp(1.0625rem, 0.98rem + 0.5vw, 1.375rem);
  line-height: 1.55;
  font-weight: 300;
  color: var(--ink-2);
  letter-spacing: -0.012em;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: var(--blue);
  flex: none;
}

.eyebrow--plain::before { display: none; }

.muted { color: var(--ink-3); }
.accent { color: var(--blue); }

/* ---------------------------------------------------------- structure -- */

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

.wrap--narrow { max-width: 920px; }

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section--flush-b { padding-bottom: 0; }
.section--tinted { background: var(--paper-2); }
.section--ink { background: var(--ink); color: #fff; }
.section--ink .muted,
.section--ink .eyebrow { color: rgba(255, 255, 255, 0.6); }
.section--ink .lede { color: rgba(255, 255, 255, 0.78); }

.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head .lede { margin-top: 1.5rem; }

/* ------------------------------------------------------------ buttons -- */

.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bg);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.25s, border-color 0.25s, color 0.25s;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--accent { --btn-bg: var(--blue); --btn-fg: #fff; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--ink); }

.section--ink .btn--ghost { --btn-fg: #fff; border-color: rgba(255,255,255,0.25); }
.section--ink .btn--ghost:hover { border-color: #fff; }

.btn .arw { transition: transform 0.35s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* Text link with animated underline */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  padding-bottom: 2px;
  background-image: linear-gradient(var(--blue), var(--blue));
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.4s var(--ease), color 0.25s;
}
.tlink:hover { color: var(--blue); background-size: 100% 1px; }
.tlink .arw { transition: transform 0.35s var(--ease); }
.tlink:hover .arw { transform: translateX(4px); }

/* --------------------------------------------------------------- nav -- */

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 200;
  border-radius: 0 0 6px 0;
}
.skip:focus { left: 0; }

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}

.nav.is-stuck { border-bottom-color: var(--line); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.75rem;
}

.nav__logo { display: inline-flex; align-items: center; flex: none; }
.nav__logo img { height: 26px; width: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  position: relative;
  font-size: 0.9375rem;
  font-weight: 450;
  text-decoration: none;
  color: var(--ink-2);
  transition: color 0.25s;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}

.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__links a[aria-current="page"] { color: var(--ink); font-weight: 550; }
.nav__links a[aria-current="page"]::after { transform: scaleX(1); background: var(--blue); }

.nav__cta { flex: none; }

/* The CTA lives twice in the markup: once in the list (mobile drawer) and
   once beside it (desktop). Only ever show one of them. */
.nav__links .btn { display: none; }

.nav__toggle {
  display: none;
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  background: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav__toggle span {
  display: block;
  position: relative;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  transition: background 0.2s;
}

.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease);
}
.nav__toggle span::before { top: -5px; }
.nav__toggle span::after  { top: 5px; }

.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after  { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav__toggle { display: inline-flex; }
  .nav__cta { display: none; }

  .nav__links {
    position: fixed;
    inset: 4.75rem 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--gutter) 2rem;
    transform: translateY(-120%);
    transition: transform 0.45s var(--ease);
    max-height: calc(100dvh - 4.75rem);
    overflow-y: auto;
  }

  .nav__links.is-open { transform: translateY(0); }

  .nav__links li { border-bottom: 1px solid var(--line); }
  .nav__links li:last-child { border-bottom: 0; padding-top: 1.25rem; }
  .nav__links a { display: block; padding: 1rem 0; font-size: 1.25rem; font-weight: 300; letter-spacing: -0.02em; }
  .nav__links a::after { display: none; }
  .nav__links .btn {
    display: flex;
    width: 100%;
    padding: 1rem 1.6rem;
    font-size: 0.9375rem;
    font-weight: 500;
    justify-content: center;
  }
}

/* --------------------------------------------------------------- hero -- */

.hero { padding-block: clamp(3.5rem, 9vw, 7rem) 0; }

.hero__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
}

@media (min-width: 940px) {
  .hero__grid { grid-template-columns: 1.35fr 1fr; }
}

.hero h1 { margin-bottom: 1.75rem; }

.hero__aside { padding-bottom: 0.5rem; }

.hero__media {
  margin-top: clamp(3rem, 7vw, 5.5rem);
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.hero__media img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

/* Page header (interior pages) */
.pagehead { padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(2.5rem, 5vw, 4rem); }
.pagehead h1 { margin-bottom: 1.5rem; }
.pagehead .lede { max-width: var(--maxw-text); }

/* ------------------------------------------------------------- stats -- */

/* Four items, so only 1 / 2 / 4 columns are used — a 3-column layout would
   leave a fourth cell dangling on its own row with a visible gap. The
   breakpoints are set where the longest label ("Organizations") still fits on
   one line at the font size the clamp produces there. */
.stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

@media (min-width: 30em) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 70em) { .stats { grid-template-columns: repeat(4, 1fr); } }

.stats > div { background: var(--paper); padding: 1.75rem clamp(1rem, 2vw, 1.75rem); }

.stats dt {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 0.6rem;
}

.stats dd {
  margin: 0;
  /* Capped at 2rem so "Organizations" fits its track without forcing that
     column wider than the other three. */
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.05;
  overflow-wrap: break-word;
}

/* --------------------------------------------------------- card grid -- */

.grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }

/* Pillar card (approach) */
.pillar {
  display: flex;
  flex-direction: column;
  padding-top: 2rem;
  border-top: 1px solid var(--ink);
}

.pillar__icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 1.75rem;
}

.pillar h3 { margin-bottom: 0.35rem; }

.pillar__pos {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.15rem;
}

.pillar p { font-size: 0.9375rem; line-height: 1.7; color: var(--ink-2); }

.pillar__def {
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--ink-3);
  margin-bottom: 0.9rem;
}

/* Service card */
.service {
  display: grid;
  gap: clamp(1.25rem, 4vw, 3.5rem);
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
  align-items: start;
}

@media (min-width: 800px) {
  .service { grid-template-columns: 4.5rem 1fr minmax(0, 1.15fr); }
}

.service__no {
  font-family: var(--mono);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  color: var(--blue);
  padding-top: 0.5rem;
}

.service h3 { max-width: 18ch; }
.service__body { color: var(--ink-2); }

.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; list-style: none; padding: 0; }

.tags li {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 0.3rem 0.8rem;
}

/* --------------------------------------------------- portfolio posters -- */

.posters {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

/* Narrower tracks so the four board designs sit on one row rather than 3 + 1. */
.posters--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); }

.poster { display: flex; flex-direction: column; }

/* Matches the source posters (1801×1984) so the designed footer bar isn't
   sliced off by the crop. */
.poster img {
  width: 100%;
  aspect-ratio: 9 / 10;
  object-fit: cover;
  object-position: top center;
  background: var(--paper-3);
  border: 1px solid var(--line);
  border-radius: 3px;
  transition: transform 0.5s var(--ease);
}

.poster:hover img { transform: translateY(-4px); }

.poster__body { padding-top: 1.15rem; }

.poster__code {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.poster__code span { color: var(--ink-3); font-weight: 400; margin-left: 0.35rem; }

.poster h3 {
  font-size: 1.0625rem;
  font-weight: 450;
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin-bottom: 0.85rem;
}

.poster .tags { margin-top: 0; }
.poster .tags li { font-size: 0.6875rem; padding: 0.25rem 0.65rem; }

/* --------------------------------------------------- portfolio methods -- */

/* Separators are drawn as outlines on the cards rather than by showing a
   line-coloured container through 1px gaps. Outlines sit outside the border
   box, so neighbours meet cleanly in the gap — and any leftover cell on the
   final row stays the section colour instead of becoming a grey block. That
   keeps the grid correct for any number of methods. */
.methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: 1px;
}

.method {
  background: var(--paper-2);
  outline: 1px solid var(--line);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  transition: background 0.3s;
}

.method:hover { background: var(--paper); }

.method__icon {
  width: 34px;
  height: 34px;
  color: var(--ink);
  margin-bottom: 1.5rem;
  flex: none;
}

/* The Nexus mark is a real logo — nested rings plus hastes — so it carries more
   detail than the drawn method icons and needs a little more room to stay
   readable. Its artwork also sits nearer the viewBox edge, so the optical size
   difference is smaller than the numbers suggest. */
.method__icon--nexus { width: 40px; height: 40px; margin-bottom: 1.35rem; }

.method h3 { margin-bottom: 0.9rem; }
.method p { font-size: 0.9375rem; line-height: 1.7; color: var(--ink-2); }

/* ------------------------------------------------------------ people -- */

.person figure { margin: 0; }

.person__photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--paper-3);
  filter: grayscale(1);
  transition: filter 0.5s var(--ease), transform 0.6s var(--ease);
}

.person:hover .person__photo { filter: grayscale(0); }

.person figcaption { padding-top: 1.5rem; }
.person h3 { font-size: 1.25rem; letter-spacing: -0.02em; margin-bottom: 0.3rem; }

.person__role {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}

.person p { font-size: 0.9375rem; line-height: 1.7; color: var(--ink-2); }

/* ------------------------------------------------------- testimonials -- */

.quotes { position: relative; }

.quotes__track { position: relative; min-height: 1px; }

.quote {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), visibility 0.5s;
}

.quote.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: none;
}

.quote blockquote {
  margin: 0 0 2.25rem;
  font-size: clamp(1.0625rem, 0.98rem + 0.55vw, 1.5rem);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.quote__mark {
  font-size: 3rem;
  line-height: 0.6;
  color: var(--blue);
  display: block;
  margin-bottom: 1rem;
}

.quote__by { display: flex; align-items: center; gap: 1rem; }

.quote__by img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  background: var(--paper-3);
}

.quote__name { font-weight: 550; font-size: 0.9375rem; line-height: 1.35; }
.quote__title { font-size: 0.8125rem; color: var(--ink-3); line-height: 1.35; }

.section--ink .quote__title { color: rgba(255,255,255,0.6); }

.quotes__nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.section--ink .quotes__nav { border-top-color: rgba(255,255,255,0.15); }

.qbtn {
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: none;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}

.qbtn:hover { border-color: currentColor; }
.section--ink .qbtn { border-color: rgba(255,255,255,0.25); }

.qdots { display: flex; gap: 0.5rem; margin-left: auto; }

.qdot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.qdot.is-active { background: var(--blue); transform: scale(1.35); }
.section--ink .qdot { background: rgba(255,255,255,0.25); }
.section--ink .qdot.is-active { background: #fff; }

/* ----------------------------------------------------------- clients -- */

.logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.logos figure {
  margin: 0;
  background: var(--paper);
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 3vw, 2.5rem) 1.25rem;
  min-height: 7.5rem;
}

/* Logos vary from square (Itaú) to very wide (Santander), so cap both axes —
   capping height alone would leave the square marks looking tiny. */
.logos img {
  max-height: 44px;
  max-width: 132px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.62;
  transition: opacity 0.35s, filter 0.35s;
}

.logos figure:hover img { opacity: 1; filter: grayscale(0); }

/* ----------------------------------------------------------- pricing -- */

.plans { display: grid; gap: 1.5rem; align-items: start; }

@media (min-width: 800px) { .plans { grid-template-columns: repeat(2, 1fr); } }

.plan {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.plan--feature { background: var(--ink); border-color: var(--ink); color: #fff; }
.plan--feature .plan__note,
.plan--feature .plan__desc { color: rgba(255, 255, 255, 0.7); }
.plan--feature .plan__list li { border-top-color: rgba(255,255,255,0.15); }
.plan--feature .plan__list svg { color: #fff; }

.plan__badge {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--blue);
  color: #fff;
  border-radius: 100px;
  padding: 0.3rem 0.75rem;
  margin-bottom: 1.5rem;
}

.plan h3 { font-size: 1.375rem; letter-spacing: -0.02em; margin-bottom: 0.6rem; }
.plan__desc { color: var(--ink-2); font-size: 0.9375rem; margin-bottom: 2rem; }

.plan__price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  font-size: clamp(2.25rem, 1.8rem + 1.8vw, 3.25rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.6rem;
}

.plan__price small { font-family: var(--mono); font-size: 0.8125rem; font-weight: 400; letter-spacing: 0.04em; }
.plan__note { font-size: 0.8125rem; color: var(--ink-3); margin-bottom: 2rem; }

.plan__list { list-style: none; margin: 0 0 2rem; padding: 0; }

.plan__list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
}

.plan__list svg { flex: none; margin-top: 0.3rem; color: var(--blue); }

.plan .btn { margin-top: auto; justify-content: center; }
.plan--feature .btn { --btn-bg: #fff; --btn-fg: var(--ink); }

/* -------------------------------------------------------------- form -- */

.form { display: grid; gap: 1.25rem; }

@media (min-width: 700px) {
  .form { grid-template-columns: 1fr 1fr; }
  .form .field--full, .form .form__actions { grid-column: 1 / -1; }
}

.field { display: flex; flex-direction: column; gap: 0.5rem; }

.field label {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.field input,
.field textarea,
.field select {
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 0.75rem 0;
  transition: border-color 0.25s;
  width: 100%;
}

.field textarea { resize: vertical; min-height: 8rem; }

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 1.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%236B6F72' stroke-width='1.5'%3E%3Cpath d='M1 1.5L6 6.5l5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.25rem center;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-bottom-color: var(--blue);
}

.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; }
.form__note { font-size: 0.8125rem; color: var(--ink-3); }

.form__status {
  grid-column: 1 / -1;
  font-size: 0.9375rem;
  padding: 1rem 1.25rem;
  border-radius: 4px;
  background: var(--paper-2);
  border-left: 2px solid var(--blue);
}

.form__status[hidden] { display: none; }

/* ------------------------------------------------------------- misc -- */

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }

.framework-img {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: clamp(1rem, 3vw, 2rem);
}

.steps { list-style: none; margin: 0; padding: 0; }

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.steps b {
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--blue);
  padding-top: 0.2rem;
}

.steps strong { display: block; font-weight: 550; margin-bottom: 0.2rem; }
.steps span { color: var(--ink-2); font-size: 0.9375rem; }

.callout {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-left: 2px solid var(--blue);
  background: var(--paper-2);
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: -0.015em;
}

/* CTA band */
.cta { text-align: center; }
.cta h2 { margin-bottom: 1.5rem; }
.cta .lede { margin-inline: auto; max-width: 44rem; }
.cta .btn-row { justify-content: center; margin-top: 2.5rem; }

/* ------------------------------------------------------------ footer -- */

.footer { background: var(--ink); color: rgba(255, 255, 255, 0.68); padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem; }

.footer__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

@media (min-width: 800px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr; } }

.footer__logo { height: 24px; width: auto; filter: invert(1); margin-bottom: 1.5rem; }
.footer__blurb { max-width: 34rem; font-size: 0.9375rem; line-height: 1.7; }

.footer h4 {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1.25rem;
}

.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.8rem; }

.footer a {
  font-size: 0.9375rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.68);
  transition: color 0.25s;
}
.footer a:hover { color: #fff; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
}

.social { display: flex; gap: 0.75rem; }

.social a {
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}

.social a:hover { border-color: #fff; background: #fff; color: var(--ink); }

/* --------------------------------------------------------- reveal fx -- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in { opacity: 1; transform: none; }

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