/* =============================================================
   Vermaak Professional Services (VPS)
   Hand-built static design system. No framework.
   Dark, engineered identity: charcoal + teal accent.
   Page theme is locked dark throughout.
   ============================================================= */

/* ---------- Tokens ---------- */
:root {
  --ink:        #111417;   /* page background, off-black charcoal */
  --ink-2:      #15181c;
  --surface:    #1a1e22;   /* raised panels */
  --surface-2:  #21262b;   /* cards */
  --steel:      #2c3238;   /* hairline / border base */
  --line:       rgba(255, 255, 255, 0.09);
  --line-soft:  rgba(255, 255, 255, 0.055);

  --teal:        #6fb6b0;  /* single accent */
  --teal-bright: #88cfc8;
  --teal-deep:   #4d958f;
  --teal-tint:   rgba(111, 182, 176, 0.12);
  --teal-tint-2: rgba(111, 182, 176, 0.22);

  --text:       #e9ecea;   /* primary */
  --text-dim:   #aab3b4;   /* secondary body */
  --text-faint: #79817f;   /* tertiary / meta */
  --white:      #ffffff;

  --radius:    14px;
  --radius-sm: 9px;
  --radius-lg: 22px;

  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  --shadow:    0 18px 50px -20px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 40px 90px -30px rgba(0, 0, 0, 0.75);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --font-display: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --nav-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}
body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.97rem + 0.2vw, 1.075rem);
  line-height: 1.7;
  color: var(--text-dim);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--teal-bright); outline-offset: 3px; border-radius: 3px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
}
.h1, h1 { font-size: clamp(2.4rem, 1.7rem + 3vw, 4.1rem); font-weight: 500; }
.h2, h2 { font-size: clamp(1.95rem, 1.4rem + 2.2vw, 3.05rem); }
.h3, h3 { font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.7rem); }
h4 { font-size: 1.12rem; letter-spacing: -0.01em; }
p { max-width: 65ch; }
strong { color: var(--text); font-weight: 700; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--teal);
  opacity: 0.85;
}
.lead {
  font-size: clamp(1.1rem, 1.02rem + 0.5vw, 1.3rem);
  line-height: 1.6;
  color: var(--text-dim);
}
.accent { color: var(--teal); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(4.5rem, 3rem + 7vw, 8.5rem); }
.section--tight { padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem); }
.section-head { max-width: 60ch; margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.section-head .h2 { margin-top: 1rem; }
.section-head p { margin-top: 1.25rem; }
.center { text-align: center; }
.center .section-head,
.center p { margin-inline: auto; }
.bg-surface { background: var(--ink-2); }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.97rem;
  letter-spacing: 0.01em;
  padding: 0.92rem 1.6rem;
  border-radius: var(--radius-sm);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
              border-color 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn-primary {
  background: var(--teal);
  color: #07100e;
  font-weight: 700;
}
.btn-primary:hover { background: var(--teal-bright); transform: translateY(-2px); }
.btn-primary:active { transform: translateY(0); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.btn:disabled:hover { transform: none; background: var(--teal); }
.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-bright); transform: translateY(-2px); }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.text-link {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: var(--font-display); font-weight: 500; color: var(--teal-bright);
}
.text-link svg { width: 1.05em; height: 1.05em; flex: none; transition: transform 0.25s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background 0.3s var(--ease), backdrop-filter 0.3s var(--ease),
              border-color 0.3s var(--ease), height 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  height: 64px;
  background: rgba(15, 18, 21, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
}
.nav__inner {
  width: 100%; max-width: var(--container); margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.nav__brand img { width: 184px; transition: width 0.3s var(--ease); }
.nav.is-stuck .nav__brand img { width: 158px; }
.nav__links { display: flex; align-items: center; gap: 0.35rem; }
.nav__links a {
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 500;
  color: var(--text-dim);
  padding: 0.5rem 0.85rem; border-radius: 7px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a.is-active { color: var(--teal-bright); }
.nav__links a.btn-primary { color: #07100e; font-weight: 700; }  /* keep button text dark + bold; beat .nav__links a */
.nav__links .btn { display: none; }
.nav__cta { margin-left: 0.5rem; }
.nav__toggle { display: none; }

@media (max-width: 920px) {
  .nav__cta { display: none; }
  .nav__toggle {
    display: inline-flex; flex-direction: column; gap: 5px;
    padding: 10px; margin-right: -10px; z-index: 110;
  }
  .nav__toggle span {
    width: 26px; height: 2px; background: var(--text); border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
  }
  body.menu-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.menu-open .nav__toggle span:nth-child(2) { opacity: 0; }
  body.menu-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav__links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center;
    gap: 0.5rem;
    background: rgba(13, 16, 19, 0.97);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    transform: translateX(100%); transition: transform 0.4s var(--ease);
  }
  body.menu-open .nav__links { transform: translateX(0); }
  .nav__links a { font-size: 1.5rem; padding: 0.6rem 1rem; }
  .nav__links .btn { margin-top: 1rem; display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex; align-items: center;
  padding-top: calc(var(--nav-h) + 2rem);
  padding-bottom: 4rem;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  /* Mobile / base: overall darkening so text is readable wherever it sits. */
  background:
    linear-gradient(rgba(11,14,16,0.62), rgba(11,14,16,0.58)),
    linear-gradient(to top, var(--ink) 2%, rgba(17,20,23,0) 42%);
}
.hero__inner { max-width: 760px; }
.hero h1 { margin: 1.4rem 0 0; }
.hero h1 .line { display: block; }
.hero h1 em {
  font-style: normal; color: var(--teal-bright);
}
.hero__sub { margin-top: 1.6rem; max-width: 46ch; font-size: clamp(1.05rem, 1rem + 0.4vw, 1.28rem); color: var(--text-dim); }
.hero__actions { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero__meta {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 1.8rem;
  display: flex; flex-wrap: wrap; gap: 1.4rem 2.6rem; align-items: center;
  max-width: var(--container); margin-inline: auto;
  font-family: var(--font-display); font-size: 0.85rem; letter-spacing: 0.04em;
  color: var(--text-faint); border-top: 1px solid var(--line-soft); padding-top: 1.3rem;
}
.hero__meta b { color: var(--text); font-weight: 600; }
@media (max-width: 700px) { .hero__meta { display: none; } }

/* Desktop: push hero copy off the people (left of frame) toward the right,
   and darken the right side of the image where the text now sits. */
@media (min-width: 992px) {
  /* Shift the copy right of the people, but keep it near the image (not pinned to the far edge). */
  .hero__inner { margin-left: 22%; margin-right: auto; max-width: 760px; }
  .hero__sub { max-width: 52ch; }
  .hero__bg::after {
    background:
      linear-gradient(90deg, rgba(11,14,16,0.1) 0%, rgba(11,14,16,0.5) 25%, rgba(11,14,16,0.86) 46%, rgba(11,14,16,0.93) 100%),
      linear-gradient(to top, var(--ink) 1%, rgba(17,20,23,0) 46%);
  }
}
@media (min-width: 1280px) {
  /* Aligned with the "Industries" nav item, then nudged 100px further right. */
  .hero__inner { margin-left: calc(38.5% + 100px); max-width: 820px; }
  /* Slightly smaller display size so the headline stays on 2 lines in the narrower right-hand column. */
  .hero h1 { font-size: 3.6rem; }
}

/* ---------- Stat band ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line-soft);
  border-block: 1px solid var(--line-soft);
}
.stats__item { background: var(--ink); padding: clamp(1.8rem, 3vw, 2.8rem) clamp(1.2rem, 2vw, 2rem); }
.stats__num {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.4rem); color: var(--text);
  letter-spacing: -0.02em; line-height: 1;
}
.stats__num span { color: var(--teal); }
.stats__label { margin-top: 0.7rem; font-size: 0.92rem; color: var(--text-faint); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Split (text + media) ---------- */
.split {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.split--reverse .split__media { order: -1; }
.split__media { position: relative; }
.split__media img {
  width: 100%; border-radius: var(--radius); border: 1px solid var(--line);
  aspect-ratio: 4 / 3; object-fit: cover;
}
.split__media .tag {
  position: absolute; left: 1rem; bottom: 1rem;
  background: rgba(13,16,19,0.78); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 0.45rem 1rem; font-family: var(--font-display); font-size: 0.82rem;
  color: var(--text); letter-spacing: 0.02em;
}
.split ul.checklist { margin-top: 1.6rem; display: grid; gap: 0.85rem; }
.checklist li { position: relative; padding-left: 2rem; color: var(--text-dim); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 13px; height: 13px; border-radius: 3px;
  background: var(--teal-tint-2); border: 1.5px solid var(--teal);
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}

/* ---------- Bento (services overview) ---------- */
.bento {
  display: grid; grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: minmax(220px, auto); gap: 1.1rem;
}
.bento__cell {
  position: relative; overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(1.5rem, 2.5vw, 2.2rem); min-height: 240px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.bento__cell:hover { transform: translateY(-4px); border-color: var(--teal-deep); }
.bento__cell--feature { grid-row: span 2; min-height: 360px; }
.bento__cell .media { position: absolute; inset: 0; z-index: 0; }
.bento__cell .media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.42; transition: opacity 0.4s var(--ease), transform 0.6s var(--ease); }
.bento__cell:hover .media img { opacity: 0.55; transform: scale(1.04); }
.bento__cell .media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12,15,17,0.95) 8%, rgba(12,15,17,0.45) 55%, rgba(12,15,17,0.25) 100%);
}
.bento__cell .body { position: relative; z-index: 1; }
.bento__cell .num {
  font-family: var(--font-display); color: var(--teal); font-size: 0.85rem;
  letter-spacing: 0.18em; margin-bottom: 0.7rem; display: block;
}
.bento__cell h3 { margin-bottom: 0.6rem; }
.bento__cell p { font-size: 0.96rem; color: var(--text-dim); max-width: 42ch; }
.bento__cell .text-link { margin-top: 1.1rem; }
@media (max-width: 760px) {
  .bento { grid-template-columns: 1fr; }
  .bento__cell--feature { grid-row: auto; }
}

/* ---------- Gallery cards (industries) ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.gcard {
  display: flex; flex-direction: column;
  border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.gcard:hover { transform: translateY(-5px); border-color: var(--teal-deep); }
.gcard__img { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.gcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gcard:hover .gcard__img img { transform: scale(1.05); }
.gcard__body { padding: 1.5rem 1.5rem 1.75rem; }
.gcard__body h3 { font-size: 1.32rem; margin-bottom: 0.6rem; }
.gcard__body p { font-size: 0.95rem; color: var(--text-dim); }
@media (max-width: 860px) { .gallery { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* ---------- Project cards / carousel ---------- */
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(330px, 1fr);
  gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 1.4rem; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
  scrollbar-width: thin; scrollbar-color: var(--steel) transparent;
}
.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-thumb { background: var(--steel); border-radius: 99px; }
.grid-projects {
  display: grid; gap: 1.2rem;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}
.pcard {
  scroll-snap-align: start;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.7rem 1.6rem 1.8rem;
  display: flex; flex-direction: column;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.pcard:hover { border-color: var(--teal-deep); transform: translateY(-4px); }
.pcard__top { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.pcard__client { font-family: var(--font-display); font-size: 1.28rem; color: var(--text); font-weight: 600; }
.pcard__value {
  font-family: var(--font-display); font-size: 0.82rem; color: var(--teal);
  border: 1px solid var(--teal-deep); border-radius: 999px; padding: 0.25rem 0.7rem;
  white-space: nowrap;
}
.pcard__site { color: var(--text-faint); font-size: 0.92rem; margin-top: 0.25rem; }
.pcard__desc { margin-top: 1rem; font-size: 0.95rem; color: var(--text-dim); }
.pcard__list { margin-top: 1.1rem; display: grid; gap: 0.6rem; border-top: 1px solid var(--line-soft); padding-top: 1.1rem; }
.pcard__list li { position: relative; padding-left: 1.3rem; font-size: 0.9rem; color: var(--text-dim); }
.pcard__list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }

/* ---------- Service detail block ---------- */
.svc { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem,5vw,5rem); align-items: center; }
.svc--reverse .svc__media { order: -1; }
.svc__media img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); aspect-ratio: 5/4; object-fit: cover; }
.svc__num { font-family: var(--font-display); font-size: 0.85rem; letter-spacing: 0.2em; color: var(--teal); }
.svc h2 { margin: 0.8rem 0 1.1rem; }
@media (max-width: 860px) { .svc { grid-template-columns: 1fr; } .svc--reverse .svc__media { order: 0; } }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.member {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.6rem; transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.member:hover { border-color: var(--teal-deep); transform: translateY(-4px); }
.member__avatar {
  width: 64px; height: 64px; border-radius: 13px;
  display: grid; place-items: center; margin-bottom: 1.3rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; color: var(--ink);
  background: linear-gradient(135deg, var(--teal-bright), var(--teal-deep));
}
.member h3 { font-size: 1.25rem; }
.member__role { color: var(--teal); font-family: var(--font-display); font-size: 0.9rem; margin-top: 0.2rem; }
.member__creds { margin-top: 1.1rem; border-top: 1px solid var(--line-soft); padding-top: 1.1rem; display: grid; gap: 0.35rem; }
.member__creds li { font-size: 0.88rem; color: var(--text-faint); }
.member__creds b { color: var(--text-dim); font-weight: 600; }
@media (max-width: 860px) { .team-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }

/* ---------- CTA banner ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  border: 1px solid var(--line); text-align: center;
  padding: clamp(3rem, 4vw, 5.5rem) clamp(1.5rem, 4vw, 4rem);
}
.cta__bg { position: absolute; inset: 0; z-index: 0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.32; }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(12,15,17,0.92), rgba(12,15,17,0.7)); }
.cta__inner { position: relative; z-index: 1; max-width: 56ch; margin-inline: auto; }
.cta h2 { margin-bottom: 1rem; }
.cta p { margin: 0 auto 2rem; }
.cta__actions { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Page hero (interior pages) ---------- */
.phead {
  position: relative; padding-top: calc(var(--nav-h) + clamp(3rem, 6vw, 5.5rem));
  padding-bottom: clamp(2.5rem, 4vw, 4rem);
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(80% 120% at 85% -10%, var(--teal-tint) 0%, transparent 55%),
    var(--ink-2);
}
.phead__inner { max-width: 880px; }
.phead h1 { margin: 1.2rem 0 0; }
.phead p { margin-top: 1.3rem; max-width: 64ch; }
.crumbs { font-family: var(--font-display); font-size: 0.85rem; color: var(--text-faint); display: flex; gap: 0.5rem; flex-wrap: wrap; }
.crumbs a:hover { color: var(--teal-bright); }
.crumbs span[aria-current] { color: var(--text-dim); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-cards { display: grid; gap: 1rem; margin-top: 2rem; }
.ccard {
  display: flex; gap: 1.1rem; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.3rem 1.4rem;
}
.ccard .ic {
  flex: none; width: 44px; height: 44px; border-radius: 11px;
  display: grid; place-items: center; background: var(--teal-tint); color: var(--teal-bright);
}
.ccard .ic svg { width: 21px; height: 21px; }
.ccard h3 { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint); font-weight: 600; }
.ccard a, .ccard p { color: var(--text); font-size: 1.05rem; margin-top: 0.25rem; }
.ccard a:hover { color: var(--teal-bright); }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.6rem); }
.field { display: grid; gap: 0.5rem; margin-bottom: 1.2rem; }
.field label { font-family: var(--font-display); font-size: 0.9rem; color: var(--text); font-weight: 500; }
.field label .req { color: var(--teal); }
.field input, .field textarea, .field select {
  width: 100%; background: var(--ink); border: 1px solid var(--steel);
  color: var(--text); border-radius: var(--radius-sm); padding: 0.85rem 1rem;
  font: inherit; font-size: 0.98rem; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-tint);
}
.field textarea { resize: vertical; min-height: 130px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field-hint { font-size: 0.85rem; color: var(--text-faint); }
.form .btn { width: 100%; justify-content: center; margin-top: 0.4rem; }
.form__note { margin-top: 1rem; font-size: 0.86rem; color: var(--text-faint); text-align: center; }

/* Honeypot — keep in the layout for bots, hidden from people and AT users */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* reCAPTCHA + phone reveal */
.g-recaptcha { margin: 0.25rem 0 1.2rem; min-height: 78px; }
.captcha-hint { font-size: 0.85rem; color: var(--text-faint); margin-bottom: 0.6rem; }
#phone-target a { color: var(--text); font-size: 1.05rem; font-weight: 600; }
#phone-target a:hover { color: var(--teal-bright); }
.reveal-btn {
  display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 0.3rem;
  font-family: var(--font-display); font-weight: 600; color: var(--teal-bright);
}
.reveal-btn svg { width: 1.05em; height: 1.05em; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .field--row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--ink-2); border-top: 1px solid var(--line); padding-block: clamp(3rem, 5vw, 4.5rem) 2rem; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer__brand img { width: 150px; margin-bottom: 1.3rem; }
.footer__brand p { font-size: 0.95rem; color: var(--text-faint); max-width: 32ch; }
.footer h4 { font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 1.1rem; font-weight: 600; }
.footer ul { display: grid; gap: 0.7rem; }
.footer ul a, .footer ul li { font-size: 0.95rem; color: var(--text-dim); }
.footer ul a:hover { color: var(--teal-bright); }
.footer__bottom {
  margin-top: clamp(2.5rem, 4vw, 4rem); padding-top: 1.6rem; border-top: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: 0.85rem; color: var(--text-faint);
}
.footer__bottom a:hover { color: var(--teal-bright); }
@media (max-width: 860px) { .footer__top { grid-template-columns: 1fr 1fr; gap: 2rem; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__top { grid-template-columns: 1fr; } }

/* ---------- Scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .bento__cell:hover, .gcard:hover, .pcard:hover, .member:hover, .btn:hover { transform: none; }
}
