/* ==========================================================================
   Ziidoo — professional services design system
   --------------------------------------------------------------------------
   Principles
   1. White page, near-black type, hairline rules. Structure comes from space
      and rules, not from boxes and shadows.
   2. Brand green (#83BD32, sampled from the logo) is an accent, never a
      surface. It appears on the wordmark dot, link arrows, and index numerals.
   3. Display type is large and light. Weight is earned by size, not by 800.
   4. One accent, one neutral ramp, one type family. No gradients, no glows.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
  /* Brand */
  --brand: #83bd32;
  --brand-ink: #4f7a17; /* accessible green for text/links on light surfaces */

  /* Neutral ramp — light theme */
  --ink: #0f1211;
  --ink-2: #3b4240;
  --ink-3: #636b67;
  --surface: #ffffff;
  --surface-2: #f5f6f2;
  --surface-3: #ebeee6;
  --inverse: #0f1211;
  --inverse-ink: #f7f8f5;
  --inverse-ink-2: #a8afaa;
  --line: rgba(15, 18, 17, 0.14);
  --line-strong: rgba(15, 18, 17, 0.28);
  --focus: #1c6fd0;

  /* Type */
  --sans: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system,
    "Helvetica Neue", Arial, sans-serif;

  /* Rhythm */
  --container: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(64px, 9vw, 120px);
  --radius: 2px;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
  --fast: 160ms;
  --slow: 420ms;

  color-scheme: light;
}

body[data-theme="dark"] {
  --brand-ink: #a6da5c;
  --ink: #f2f4f0;
  --ink-2: #c3c9c2;
  --ink-3: #949c95;
  --surface: #0d100f;
  --surface-2: #141816;
  --surface-3: #1c211e;
  --inverse: #f5f6f2;
  --inverse-ink: #0f1211;
  --inverse-ink-2: #4a524d;
  --line: rgba(242, 244, 240, 0.16);
  --line-strong: rgba(242, 244, 240, 0.32);
  --focus: #6fb0ff;

  color-scheme: dark;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "kern" 1, "liga" 1, "cv11" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background var(--fast) linear, color var(--fast) linear;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
dl {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

::selection {
  background: var(--brand);
  color: #0f1211;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--surface);
  font-size: 14px;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
}

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

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */

.display,
h1,
h2 {
  font-weight: 450;
  letter-spacing: -0.028em;
  line-height: 1.04;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.6rem, 6.2vw, 5rem);
}

h2 {
  font-size: clamp(2rem, 3.9vw, 3.15rem);
}

h3 {
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.014em;
  line-height: 1.25;
}

h4 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow {
  display: block;
  margin-bottom: 22px;
  color: var(--ink-3);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1px;
  margin-right: 12px;
  vertical-align: 0.32em;
  background: var(--brand);
}

.lede {
  max-width: 40ch;
  color: var(--ink-2);
  font-size: clamp(1.075rem, 1.5vw, 1.3rem);
  line-height: 1.55;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

.prose p {
  max-width: 62ch;
  color: var(--ink-2);
  text-wrap: pretty;
}

.prose p + p {
  margin-top: 1.1em;
}

/* --------------------------------------------------------------------------
   4. Layout primitives
   -------------------------------------------------------------------------- */

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

.section {
  padding-block: var(--section);
}

.section--tight {
  padding-block: clamp(48px, 6vw, 80px);
}

.section--ruled {
  border-top: 1px solid var(--line);
}

.band {
  background: var(--surface-2);
}

.band--ink {
  background: var(--inverse);
  color: var(--inverse-ink);
}

.band--ink .eyebrow {
  color: var(--inverse-ink-2);
}

.band--ink .lede,
.band--ink .prose p {
  color: var(--inverse-ink-2);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: start;
}

.split--even {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Leading column carries the display type, so it takes the larger share. */
.split--lead {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: start;
}

/* Width is set in px, not ch: `ch` on a container resolves against the
   container's own font-size (17px), not the display font-size of the
   heading inside it, which produces a far narrower column than intended. */
.section-head {
  max-width: 660px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-head--wide {
  max-width: 820px;
}

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

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--fast) linear, background var(--fast) linear;
}

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

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  margin-right: auto;
  font-size: 1.55rem;
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1;
}

.brand span {
  color: var(--brand);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav > a,
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border: 0;
  border-radius: var(--radius);
  background: none;
  color: var(--ink-2);
  font: inherit;
  font-size: 0.925rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: color var(--fast) linear;
}

.nav > a:hover,
.nav-trigger:hover {
  color: var(--ink);
}

.nav > a.is-current,
.nav-trigger.is-current {
  color: var(--ink);
  font-weight: 600;
}

.nav-trigger::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--fast) var(--ease);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown.is-open .nav-trigger::after {
  transform: rotate(-135deg);
  margin-top: 2px;
}

.nav-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: -8px;
  min-width: 340px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 20px 48px -16px rgba(15, 18, 17, 0.22);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity var(--fast) linear, transform var(--fast) var(--ease);
}

.nav-dropdown.is-open .nav-panel {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.nav-panel a {
  display: block;
  padding: 11px 14px;
  border-radius: var(--radius);
  color: var(--ink-2);
  font-size: 0.925rem;
  font-weight: 500;
  transition: background var(--fast) linear, color var(--fast) linear;
}

.nav-panel a:hover {
  background: var(--surface-2);
  color: var(--ink);
}

.nav-panel a.is-current {
  color: var(--ink);
  font-weight: 600;
}

.nav-panel .nav-panel-lead {
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  margin-bottom: 6px;
  padding-bottom: 14px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: none;
  color: var(--ink-2);
  cursor: pointer;
  transition: border-color var(--fast) linear, color var(--fast) linear;
}

.icon-button:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.theme-icon {
  position: relative;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  transition: box-shadow var(--fast) linear, border-color var(--fast) linear;
}

.theme-icon::after {
  content: "";
  position: absolute;
  inset: -1.5px -1.5px -1.5px 50%;
  border-radius: 0 99px 99px 0;
  background: currentColor;
}

body[data-theme="dark"] .theme-icon::after {
  inset: -1.5px 50% -1.5px -1.5px;
  border-radius: 99px 0 0 99px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
}

.menu-toggle span {
  width: 15px;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--fast) var(--ease), opacity var(--fast) linear;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   6. Buttons & links
   -------------------------------------------------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: background var(--fast) linear, color var(--fast) linear,
    border-color var(--fast) linear;
}

.button--primary {
  background: var(--ink);
  color: var(--surface);
}

.button--primary:hover {
  background: var(--brand);
  color: #0f1211;
}

.button--ghost {
  border-color: var(--line-strong);
  color: var(--ink);
}

.button--ghost:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--surface);
}

.band--ink .button--primary {
  background: var(--brand);
  color: #0f1211;
}

.band--ink .button--primary:hover {
  background: var(--inverse-ink);
  color: var(--inverse);
}

.band--ink .button--ghost {
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--inverse-ink);
}

.band--ink .button--ghost:hover {
  border-color: var(--inverse-ink);
  background: var(--inverse-ink);
  color: var(--inverse);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.header-cta {
  min-height: 42px;
  padding: 0 20px;
  font-size: 0.9rem;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-ink);
  font-size: 0.925rem;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.arrow-link::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--fast) var(--ease);
}

.arrow-link:hover::after {
  transform: rotate(45deg) translate(3px, -3px);
}

.band--ink .arrow-link {
  color: var(--brand);
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */

.hero {
  padding-top: clamp(56px, 8vw, 108px);
  padding-bottom: clamp(48px, 6vw, 76px);
}

.hero h1 {
  max-width: 15ch;
  margin-bottom: 30px;
}

.hero .lede {
  max-width: 52ch;
}

.hero .actions {
  margin-top: 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
}

.hero-aside {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.hero-aside dt {
  padding-top: 18px;
  color: var(--ink-3);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-aside dd {
  margin: 6px 0 18px;
  max-width: 34ch;
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.5;
}

.hero-aside dd:last-of-type {
  margin-bottom: 0;
}

.hero-figure {
  margin-top: clamp(48px, 6vw, 76px);
  overflow: hidden;
  background: var(--surface-2);
}

.hero-figure img {
  width: 100%;
  aspect-ratio: 21 / 8;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.02);
}

/* --------------------------------------------------------------------------
   8. Capability rows (services)
   -------------------------------------------------------------------------- */

.capability {
  display: grid;
  grid-template-columns: 72px minmax(0, 4fr) minmax(0, 5fr);
  gap: clamp(20px, 4vw, 56px);
  align-items: start;
  padding-block: clamp(34px, 4vw, 52px);
  border-top: 1px solid var(--line);
  transition: background var(--fast) linear;
}

.capability:last-child {
  border-bottom: 1px solid var(--line);
}

.capability-index {
  color: var(--brand-ink);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  padding-top: 6px;
}

.capability h3 {
  max-width: 18ch;
}

.capability-body p {
  max-width: 58ch;
  color: var(--ink-2);
  text-wrap: pretty;
}

.capability-body .arrow-link {
  margin-top: 20px;
}

.capability-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 18px;
}

.capability-tags li {
  color: var(--ink-3);
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   9. Approach steps
   -------------------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.steps li {
  padding: clamp(28px, 3vw, 40px) clamp(20px, 2.4vw, 32px);
  background: var(--surface);
}

.band .steps li {
  background: var(--surface-2);
}

.band--ink .steps {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.16);
}

.band--ink .steps li {
  background: var(--inverse);
}

.steps h3 {
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.steps span {
  display: block;
  margin-bottom: 22px;
  color: var(--brand-ink);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
}

.band--ink .steps span {
  color: var(--brand);
}

.steps p {
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.55;
}

.band--ink .steps p {
  color: var(--inverse-ink-2);
}

/* --------------------------------------------------------------------------
   10. Sector list
   -------------------------------------------------------------------------- */

.sector-list {
  border-top: 1px solid var(--line);
}

.sector-list li {
  display: grid;
  grid-template-columns: 56px minmax(0, 3fr) minmax(0, 5fr);
  gap: clamp(20px, 4vw, 56px);
  align-items: baseline;
  padding-block: clamp(26px, 3vw, 38px);
  border-bottom: 1px solid var(--line);
}

.sector-list span {
  color: var(--brand-ink);
  font-size: 0.78rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.sector-list h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.022em;
}

.sector-list p {
  max-width: 56ch;
  color: var(--ink-2);
  font-size: 0.975rem;
  text-wrap: pretty;
}

/* --------------------------------------------------------------------------
   11. Statement / proof
   -------------------------------------------------------------------------- */

.statement {
  max-width: 22ch;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 450;
  letter-spacing: -0.028em;
  line-height: 1.1;
  text-wrap: balance;
}

.proof-list {
  display: grid;
  gap: 0;
}

.proof-list li {
  padding-block: 26px;
  border-bottom: 1px solid var(--line);
}

.proof-list li:first-child {
  border-top: 1px solid var(--line);
}

.band--ink .proof-list li {
  border-color: rgba(255, 255, 255, 0.16);
}

.proof-list h3 {
  margin-bottom: 8px;
}

.proof-list p {
  max-width: 54ch;
  color: var(--ink-2);
  font-size: 0.975rem;
}

.band--ink .proof-list p {
  color: var(--inverse-ink-2);
}

/* --------------------------------------------------------------------------
   12. Page header (inner pages)
   -------------------------------------------------------------------------- */

.page-header {
  padding-top: clamp(44px, 6vw, 84px);
  padding-bottom: clamp(44px, 5vw, 72px);
}

.page-header h1 {
  max-width: 18ch;
  margin-bottom: 26px;
  font-size: clamp(2.3rem, 5vw, 4rem);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 34px;
  color: var(--ink-3);
  font-size: 0.82rem;
}

.breadcrumbs a:hover {
  color: var(--ink);
}

.breadcrumbs span[aria-hidden] {
  opacity: 0.5;
}

.page-figure {
  overflow: hidden;
  background: var(--surface-2);
}

.page-figure img {
  width: 100%;
  aspect-ratio: 21 / 7;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.02);
}

/* --------------------------------------------------------------------------
   13. Service detail
   -------------------------------------------------------------------------- */

.summary-card {
  padding: clamp(26px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
}

.summary-card h2 {
  margin-bottom: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.summary-card li {
  padding-block: 13px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.4;
}

.summary-card li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.summary-card li:first-child {
  padding-top: 0;
}

.offerings {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.offerings article {
  padding: clamp(26px, 3vw, 38px) clamp(20px, 2.4vw, 30px);
  background: var(--surface);
}

.offerings h3 {
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.offerings p {
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.55;
}

.related {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.related a {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(24px, 2.6vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color var(--fast) linear, background var(--fast) linear;
}

.related a:hover {
  border-color: var(--line-strong);
  background: var(--surface-2);
}

.related span {
  color: var(--ink-3);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.related strong {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.014em;
  line-height: 1.3;
}

.related em {
  margin-top: auto;
  padding-top: 14px;
  color: var(--brand-ink);
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   14. Values / about
   -------------------------------------------------------------------------- */

.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.values article {
  padding: clamp(28px, 3vw, 40px) clamp(20px, 2.4vw, 32px);
  background: var(--surface);
}

.values h3 {
  margin-bottom: 12px;
}

.values p {
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.55;
}

.principal {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.principal-mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 56px;
  height: 56px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.principal strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.014em;
}

.principal span {
  color: var(--ink-3);
  font-size: 0.925rem;
}

/* --------------------------------------------------------------------------
   15. Contact
   -------------------------------------------------------------------------- */

.contact-methods {
  border-top: 1px solid var(--line);
  margin-top: 34px;
}

.contact-methods > * {
  display: block;
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
}

.contact-methods span {
  display: block;
  margin-bottom: 5px;
  color: var(--ink-3);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-methods strong {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.018em;
}

.contact-methods a:hover strong {
  color: var(--brand-ink);
}

.form {
  display: grid;
  gap: 22px;
  padding: clamp(28px, 3.4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
}

.form label {
  display: grid;
  gap: 9px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 0.975rem;
  transition: border-color var(--fast) linear;
}

.form textarea {
  resize: vertical;
  min-height: 130px;
}

.form input:hover,
.form select:hover,
.form textarea:hover {
  border-color: var(--ink-3);
}

.form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 21px) calc(50% + 1px),
    calc(100% - 15px) calc(50% + 1px);
  background-size: 6px 6px;
  background-repeat: no-repeat;
}

.form .button {
  justify-self: start;
}

.form-status {
  min-height: 22px;
  color: var(--brand-ink);
  font-size: 0.9rem;
  font-weight: 600;
}

.form-note {
  color: var(--ink-3);
  font-size: 0.82rem;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   16. Closing CTA
   -------------------------------------------------------------------------- */

.cta {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
}

.cta h2 {
  max-width: 18ch;
}

.cta .actions {
  justify-content: flex-end;
}

/* --------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding-top: clamp(52px, 6vw, 76px);
  padding-bottom: 34px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 56px);
  padding-bottom: clamp(44px, 5vw, 64px);
}

.footer-brand .brand {
  margin: 0 0 18px;
}

.footer-brand p {
  max-width: 34ch;
  color: var(--ink-3);
  font-size: 0.925rem;
  line-height: 1.6;
}

.footer-col h4 {
  margin-bottom: 20px;
  color: var(--ink-3);
}

.footer-col li + li {
  margin-top: 12px;
}

.footer-col a,
.footer-col span {
  color: var(--ink-2);
  font-size: 0.925rem;
  transition: color var(--fast) linear;
}

.footer-col a:hover {
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   18. Scroll reveal
   -------------------------------------------------------------------------- */

/* Gated on `html.js` so that content is never hidden when scripting is
   unavailable or the reveal observer never runs. */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--slow) linear, transform var(--slow) var(--ease);
}

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

/* --------------------------------------------------------------------------
   19. Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1000px) {
  .offerings,
  .values,
  .related {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: block;
    padding: 8px var(--gutter) 24px;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
    box-shadow: 0 24px 40px -24px rgba(15, 18, 17, 0.28);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity var(--fast) linear, transform var(--fast) var(--ease);
  }

  .nav.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .nav > a,
  .nav-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 1.05rem;
  }

  .nav-dropdown {
    display: block;
  }

  .nav-panel {
    position: static;
    min-width: 0;
    max-height: 0;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    overflow: hidden;
    transition: max-height var(--fast) var(--ease);
  }

  .nav-dropdown.is-open .nav-panel {
    max-height: 400px;
    padding-block: 6px;
  }

  .nav-panel a {
    padding: 11px 0 11px 16px;
    border-left: 1px solid var(--line);
    border-radius: 0;
  }

  .nav-panel .nav-panel-lead {
    padding-bottom: 11px;
    border-bottom: 0;
    margin-bottom: 0;
  }

  .header-cta {
    display: none;
  }

  .hero-grid,
  .split,
  .split--even,
  .cta {
    grid-template-columns: 1fr;
  }

  .hero-aside {
    margin-top: 8px;
  }

  .cta .actions {
    justify-content: flex-start;
  }

  .capability {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .capability-body {
    grid-column: 2;
  }

  .capability h3 {
    max-width: none;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .offerings,
  .values,
  .related,
  .steps {
    grid-template-columns: 1fr;
  }

  .sector-list li {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .actions .button {
    flex: 1 1 100%;
  }

  .principal {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .cta,
  .form {
    display: none;
  }
}
