/* ============================================================
   Perennial I.T. — Webfonts
   Hanken Grotesk (display + UI) and IBM Plex Mono (technical labels).
   NOTE: served from Google Fonts CDN. Swap to self-hosted .woff2 for
   production / offline use if required.
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@400;500;600&display=swap');


/* ===== tokens/colors.css ===== */
/* ============================================================
   Perennial I.T. — Color tokens
   Professional blue + cool neutrals. Calm, dependable, corporate.
   ============================================================ */
:root {
  /* --- Brand blue scale (Perennial Blue) --- */
  --blue-50:  #EEF5FB;
  --blue-100: #D6E6F4;
  --blue-200: #AECFE9;
  --blue-300: #7FB1D9;
  --blue-400: #4E8FC6;
  --blue-500: #2A6FB0; /* bright / interactive */
  --blue-600: #1E5A95; /* PRIMARY brand */
  --blue-700: #184B7D;
  --blue-800: #143C63;
  --blue-900: #0F2C49; /* deep navy — dark sections, headings */

  /* --- Cool neutral (slate) scale --- */
  --slate-50:  #F8FAFC;
  --slate-100: #F1F5F8;
  --slate-200: #E4EAF0;
  --slate-300: #CDD7E0;
  --slate-400: #9DAAB8;
  --slate-500: #6B7886;
  --slate-600: #4D5965;
  --slate-700: #374049;
  --slate-800: #232A31;
  --slate-900: #141A1F;
  --white: #FFFFFF;

  /* --- Semantic status --- */
  --green-600:  #1F8A5B;
  --green-50:   #E7F4EE;
  --amber-600:  #B9791A;
  --amber-50:   #FaF1E1;
  --red-600:    #C5453B;
  --red-50:     #FaE9E7;

  /* ============================================================
     Semantic aliases — reference these in product code
     ============================================================ */
  /* Text */
  --text-strong:   var(--slate-900);
  --text-body:     var(--slate-700);
  --text-muted:    var(--slate-500);
  --text-faint:    var(--slate-400);
  --text-inverse:  var(--white);
  --text-brand:    var(--blue-600);
  --text-on-brand: var(--white);

  /* Surfaces */
  --surface-page:       var(--white);
  --surface-sunken:     var(--slate-50);
  --surface-card:       var(--white);
  --surface-muted:      var(--slate-100);
  --surface-brand:      var(--blue-600);
  --surface-brand-deep: var(--blue-900);
  --surface-brand-tint: var(--blue-50);

  /* Borders */
  --border-subtle:  var(--slate-200);
  --border-default: var(--slate-300);
  --border-strong:  var(--slate-400);
  --border-brand:   var(--blue-600);

  /* Interactive */
  --link:            var(--blue-600);
  --link-hover:      var(--blue-700);
  --focus-ring:      var(--blue-500);
  --focus-ring-soft: rgba(42, 111, 176, 0.28);

  /* Status semantic */
  --success:     var(--green-600);
  --success-bg:  var(--green-50);
  --warning:     var(--amber-600);
  --warning-bg:  var(--amber-50);
  --danger:      var(--red-600);
  --danger-bg:   var(--red-50);
}


/* ===== tokens/typography.css ===== */
/* ============================================================
   Perennial I.T. — Typography tokens
   Hanken Grotesk for everything UI/display; IBM Plex Mono for
   eyebrows, technical labels, and code.
   ============================================================ */
:root {
  /* Families */
  --font-sans: 'Hanken Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --font-display: var(--font-sans);
  --font-body: var(--font-sans);

  /* Weights */
  --fw-regular: 400;   /* @kind font */
  --fw-medium: 500;    /* @kind font */
  --fw-semibold: 600;  /* @kind font */
  --fw-bold: 700;      /* @kind font */
  --fw-extrabold: 800; /* @kind font */

  /* Type scale — fluid-friendly base, 1.250 major-third-ish */
  --text-xs:   0.75rem;   /* 12px */
  --text-sm:   0.875rem;  /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-md:   1.125rem;  /* 18px */
  --text-lg:   1.375rem;  /* 22px */
  --text-xl:   1.75rem;   /* 28px */
  --text-2xl:  2.25rem;   /* 36px */
  --text-3xl:  3rem;      /* 48px */
  --text-4xl:  3.75rem;   /* 60px */
  --text-5xl:  4.5rem;    /* 72px */

  /* Line heights */
  --leading-tight: 1.08;
  --leading-snug: 1.2;
  --leading-normal: 1.5;
  --leading-relaxed: 1.65;

  /* Letter spacing */
  --tracking-tight: -0.02em;
  --tracking-snug: -0.01em;
  --tracking-normal: 0;
  --tracking-wide: 0.04em;
  --tracking-eyebrow: 0.14em; /* uppercase mono eyebrows */
}


/* ===== tokens/spacing.css ===== */
/* ============================================================
   Perennial I.T. — Spacing & layout tokens
   4px base grid.
   ============================================================ */
:root {
  --space-0: 0;
  --space-1: 0.25rem;  /* 4 */
  --space-2: 0.5rem;   /* 8 */
  --space-3: 0.75rem;  /* 12 */
  --space-4: 1rem;     /* 16 */
  --space-5: 1.5rem;   /* 24 */
  --space-6: 2rem;     /* 32 */
  --space-7: 3rem;     /* 48 */
  --space-8: 4rem;     /* 64 */
  --space-9: 6rem;     /* 96 */
  --space-10: 8rem;    /* 128 */

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 760px;
  --gutter: clamp(1.25rem, 4vw, 3rem);   /* @kind spacing */
  --section-y: clamp(4rem, 8vw, 7rem);   /* @kind spacing */
}


/* ===== tokens/effects.css ===== */
/* ============================================================
   Perennial I.T. — Effects: radii, shadows, borders, motion
   Subtle, cool-tinted shadows. Restrained, corporate feel.
   ============================================================ */
:root {
  /* Corner radii */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  /* Border widths */
  --border-width: 1px;
  --border-width-thick: 2px;

  /* Shadows — cool slate tint, layered, gentle */
  --shadow-xs: 0 1px 2px rgba(15, 44, 73, 0.06);
  --shadow-sm: 0 1px 3px rgba(15, 44, 73, 0.08), 0 1px 2px rgba(15, 44, 73, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 44, 73, 0.08), 0 2px 4px rgba(15, 44, 73, 0.05);
  --shadow-lg: 0 12px 28px rgba(15, 44, 73, 0.12), 0 4px 10px rgba(15, 44, 73, 0.06);
  --shadow-xl: 0 24px 56px rgba(15, 44, 73, 0.16), 0 8px 18px rgba(15, 44, 73, 0.08);
  --shadow-brand: 0 10px 26px rgba(30, 90, 149, 0.28);

  /* Focus ring */
  --ring: 0 0 0 3px var(--focus-ring-soft);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);   /* @kind other */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1); /* @kind other */
  --dur-fast: 130ms;  /* @kind other */
  --dur-base: 220ms;  /* @kind other */
  --dur-slow: 360ms;  /* @kind other */
}


/* ===== tokens/base.css ===== */
/* ============================================================
   Perennial I.T. — Base element defaults
   Sensible resets + brand typography applied to bare HTML.
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--text-body);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--text-strong);
  font-weight: var(--fw-bold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

p { margin: 0; text-wrap: pretty; }

a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); }

img, svg, video { display: block; max-width: 100%; }

button { font-family: inherit; }

/* Mono eyebrow utility used across brand surfaces */
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--text-brand);
}

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


/* ===== components/components.css ===== */
/* ============================================================
   Perennial I.T. — Component styles
   Class-based so components get real :hover / :focus / :active.
   All values reference design tokens.
   ============================================================ */

/* ---------- Button ---------- */
.pit-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font-family: var(--font-sans); font-weight: var(--fw-semibold); line-height: 1;
  border-radius: var(--radius-md); border: 1px solid transparent; cursor: pointer;
  text-decoration: none; white-space: nowrap; transition: background var(--dur-fast) var(--ease-standard),
    color var(--dur-fast) var(--ease-standard), border-color var(--dur-fast) var(--ease-standard),
    box-shadow var(--dur-fast) var(--ease-standard), transform var(--dur-fast) var(--ease-standard);
}
.pit-btn:focus-visible { outline: none; box-shadow: var(--ring); }
.pit-btn:active { transform: translateY(1px); }
.pit-btn[disabled], .pit-btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.pit-btn--sm { font-size: var(--text-sm); padding: 8px 14px; }
.pit-btn--md { font-size: var(--text-base); padding: 11px 20px; }
.pit-btn--lg { font-size: var(--text-md); padding: 15px 28px; }
.pit-btn--full { width: 100%; }
.pit-btn svg, .pit-btn [data-lucide] { width: 1.15em; height: 1.15em; }

.pit-btn--primary { background: var(--blue-600); color: #fff; box-shadow: var(--shadow-sm); }
.pit-btn--primary:hover { background: var(--blue-700); }
.pit-btn--secondary { background: #fff; color: var(--blue-700); border-color: var(--border-default); }
.pit-btn--secondary:hover { background: var(--surface-sunken); border-color: var(--border-strong); }
.pit-btn--ghost { background: transparent; color: var(--blue-700); }
.pit-btn--ghost:hover { background: var(--blue-50); }
.pit-btn--link { background: transparent; color: var(--link); padding-left: 0; padding-right: 0; border-radius: 0; }
.pit-btn--link:hover { color: var(--link-hover); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- IconButton ---------- */
.pit-iconbtn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md); border: 1px solid transparent; cursor: pointer;
  color: var(--slate-600); background: transparent;
  transition: background var(--dur-fast) var(--ease-standard), color var(--dur-fast) var(--ease-standard);
}
.pit-iconbtn:hover { background: var(--surface-sunken); color: var(--blue-700); }
.pit-iconbtn:focus-visible { outline: none; box-shadow: var(--ring); }
.pit-iconbtn--sm { width: 32px; height: 32px; }
.pit-iconbtn--md { width: 40px; height: 40px; }
.pit-iconbtn--lg { width: 48px; height: 48px; }
.pit-iconbtn svg, .pit-iconbtn [data-lucide] { width: 50%; height: 50%; }

/* ---------- Field (Input / Textarea / Select) ---------- */
.pit-field { display: flex; flex-direction: column; gap: 6px; }
.pit-field__label { font-size: var(--text-sm); font-weight: var(--fw-semibold); color: var(--text-strong); }
.pit-field__hint { font-size: var(--text-xs); color: var(--text-muted); }
.pit-field__error { font-size: var(--text-xs); color: var(--danger); }
.pit-input, .pit-textarea, .pit-select {
  font-family: var(--font-sans); font-size: var(--text-base); color: var(--text-strong);
  background: #fff; border: 1px solid var(--border-default); border-radius: var(--radius-md);
  padding: 11px 14px; width: 100%; transition: border-color var(--dur-fast) var(--ease-standard),
    box-shadow var(--dur-fast) var(--ease-standard);
}
.pit-input::placeholder, .pit-textarea::placeholder { color: var(--text-faint); }
.pit-input:focus, .pit-textarea:focus, .pit-select:focus { outline: none; border-color: var(--blue-500); box-shadow: var(--ring); }
.pit-input[disabled], .pit-textarea[disabled], .pit-select[disabled] { background: var(--surface-sunken); color: var(--text-muted); cursor: not-allowed; }
.pit-input[aria-invalid="true"], .pit-textarea[aria-invalid="true"] { border-color: var(--danger); }
.pit-textarea { resize: vertical; min-height: 96px; line-height: var(--leading-normal); }
.pit-select {
  appearance: none; -webkit-appearance: none; padding-right: 38px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7886' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}

/* ---------- Checkbox ---------- */
.pit-check { display: inline-flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: var(--text-base); color: var(--text-body); }
.pit-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.pit-check__box {
  width: 20px; height: 20px; flex: none; margin-top: 1px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-strong); background: #fff; display: inline-flex;
  align-items: center; justify-content: center; transition: all var(--dur-fast) var(--ease-standard);
}
.pit-check__box svg { width: 13px; height: 13px; color: #fff; opacity: 0; }
.pit-check input:checked + .pit-check__box { background: var(--blue-600); border-color: var(--blue-600); }
.pit-check input:checked + .pit-check__box svg { opacity: 1; }
.pit-check input:focus-visible + .pit-check__box { box-shadow: var(--ring); }

/* ---------- Badge & Tag ---------- */
.pit-badge {
  display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-sans);
  font-size: var(--text-xs); font-weight: var(--fw-semibold); line-height: 1; padding: 5px 10px;
  border-radius: var(--radius-pill);
}
.pit-badge--brand { background: var(--blue-50); color: var(--blue-700); }
.pit-badge--neutral { background: var(--slate-100); color: var(--slate-700); }
.pit-badge--success { background: var(--success-bg); color: var(--success); }
.pit-badge--warning { background: var(--warning-bg); color: var(--warning); }
.pit-badge--danger { background: var(--danger-bg); color: var(--danger); }
.pit-badge--outline { background: transparent; color: var(--blue-700); box-shadow: inset 0 0 0 1px var(--border-default); }
.pit-badge__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------- Alert ---------- */
.pit-alert {
  display: flex; gap: var(--space-3); padding: var(--space-4); border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle); background: var(--surface-card);
}
.pit-alert__icon { flex: none; width: 20px; height: 20px; margin-top: 1px; }
.pit-alert__icon svg { width: 20px; height: 20px; }
.pit-alert__title { font-weight: var(--fw-semibold); color: var(--text-strong); font-size: var(--text-base); }
.pit-alert__body { font-size: var(--text-sm); color: var(--text-body); margin-top: 2px; }
.pit-alert--info { border-color: var(--blue-200); background: var(--blue-50); }
.pit-alert--info .pit-alert__icon { color: var(--blue-600); }
.pit-alert--success { border-color: #BfE3D2; background: var(--success-bg); }
.pit-alert--success .pit-alert__icon { color: var(--success); }
.pit-alert--warning { border-color: #E8D6AE; background: var(--warning-bg); }
.pit-alert--warning .pit-alert__icon { color: var(--warning); }
.pit-alert--danger { border-color: #EFC4Bf; background: var(--danger-bg); }
.pit-alert--danger .pit-alert__icon { color: var(--danger); }

/* ---------- Card ---------- */
.pit-card {
  background: var(--surface-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.pit-card--pad { padding: var(--space-5); }
.pit-card--hover { transition: box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out); }
.pit-card--hover:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--border-default); }

/* ---------- ServiceCard ---------- */
.pit-service { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-5); }
.pit-service__icon {
  width: 48px; height: 48px; border-radius: var(--radius-md); flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue-50); color: var(--blue-600);
}
.pit-service__icon svg, .pit-service__icon [data-lucide] { width: 24px; height: 24px; }
.pit-service__title { font-size: var(--text-md); font-weight: var(--fw-bold); color: var(--text-strong); }
.pit-service__desc { font-size: var(--text-sm); color: var(--text-body); line-height: var(--leading-normal); }
.pit-service__link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: var(--text-sm); font-weight: var(--fw-semibold); color: var(--link); }
.pit-service__link svg { width: 15px; height: 15px; transition: transform var(--dur-fast) var(--ease-standard); }
.pit-card--hover:hover .pit-service__link svg { transform: translateX(3px); }

/* ---------- Stat ---------- */
.pit-stat { display: flex; flex-direction: column; gap: 4px; }
.pit-stat__value { font-size: var(--text-2xl); font-weight: var(--fw-extrabold); color: var(--text-strong); letter-spacing: var(--tracking-tight); line-height: 1; }
.pit-stat__label { font-size: var(--text-sm); color: var(--text-muted); }


/* ===== ui_kits/website/site.css ===== */
/* Website UI kit — layout styles (composes the DS component classes) */
.site { font-family: var(--font-sans); color: var(--text-body); }
.container { max-width: var(--container-max); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-subtle); }
.site-header__bar { display: flex; align-items: center; gap: var(--space-6); height: 72px; }
.site-nav { display: flex; align-items: center; gap: var(--space-5); margin-left: auto; }
.site-nav a { font-size: var(--text-sm); font-weight: var(--fw-medium); color: var(--text-body); cursor: pointer; }
.site-nav a:hover, .site-nav a.is-active { color: var(--text-brand); }
.site-header__cta { display: flex; align-items: center; gap: var(--space-3); }

/* Mobile nav (hidden on desktop) */
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--border-default); background: #fff; border-radius: var(--radius-md); color: var(--slate-700); cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; }
.mobile-nav { display: none; }
.mobile-nav__links { display: flex; flex-direction: column; }
.mobile-nav a { padding: 14px 4px; font-size: var(--text-md); font-weight: var(--fw-medium); color: var(--text-strong); border-bottom: 1px solid var(--surface-sunken); cursor: pointer; }
.mobile-nav a.is-active { color: var(--text-brand); }
.mobile-nav__actions { display: flex; flex-direction: column; gap: var(--space-3); margin-top: var(--space-5); }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero--light { background: var(--surface-page); }
.hero--dark { background: var(--surface-brand-deep); color: #fff; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--space-8); align-items: center; }
.hero__title { font-size: var(--text-4xl); font-weight: var(--fw-extrabold); letter-spacing: var(--tracking-tight); line-height: 1.02; color: var(--text-strong); }
.hero--dark .hero__title { color: #fff; }
.hero__title .dot { color: var(--blue-500); }
.hero--dark .hero__title .dot { color: var(--blue-300); }
.hero__lead { font-size: var(--text-md); line-height: var(--leading-relaxed); color: var(--text-body); margin-top: var(--space-4); max-width: 32ch; }
.hero--dark .hero__lead { color: rgba(255,255,255,.82); }
.hero__actions { display: flex; gap: var(--space-3); margin-top: var(--space-6); flex-wrap: wrap; }
.hero__media { aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-xl); border: 1px solid var(--border-subtle); }
.hero__chips { display: flex; gap: var(--space-2); margin-top: var(--space-5); flex-wrap: wrap; }

/* Eyebrow */
.eyebrow-line { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 500; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--text-brand); }
.eyebrow-line::before { content: ""; width: 22px; height: 2px; background: var(--blue-500); border-radius: 2px; }
.hero--dark .eyebrow-line { color: var(--blue-200); }
.hero--dark .eyebrow-line::before { background: var(--blue-300); }

/* Section heading */
.section-head { max-width: 56ch; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head__title { font-size: var(--text-2xl); font-weight: var(--fw-bold); letter-spacing: var(--tracking-tight); color: var(--text-strong); margin-top: var(--space-3); }
.section-head__sub { font-size: var(--text-md); color: var(--text-muted); margin-top: var(--space-3); line-height: var(--leading-relaxed); }

/* Services grid */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); margin-top: var(--space-7); }

/* Proof bar */
.proof { background: var(--surface-sunken); border-block: 1px solid var(--border-subtle); }
.proof__row { display: flex; justify-content: space-between; gap: var(--space-6); flex-wrap: wrap; }

/* Why / feature split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); align-items: center; }
.feature-list { display: flex; flex-direction: column; gap: var(--space-4); margin-top: var(--space-5); }
.feature-item { display: flex; gap: var(--space-3); }
.feature-item__icon { width: 40px; height: 40px; flex: none; border-radius: var(--radius-md); background: var(--blue-50); color: var(--blue-600); display: inline-flex; align-items: center; justify-content: center; }
.feature-item__icon svg { width: 20px; height: 20px; }
.feature-item__title { font-weight: var(--fw-semibold); color: var(--text-strong); }
.feature-item__desc { font-size: var(--text-sm); color: var(--text-muted); margin-top: 2px; }

/* CTA band */
.cta-band { background: var(--surface-brand); color: #fff; border-radius: var(--radius-xl); padding: var(--space-8) var(--space-7); display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); flex-wrap: wrap; box-shadow: var(--shadow-brand); }
.cta-band__title { font-size: var(--text-2xl); font-weight: var(--fw-extrabold); letter-spacing: var(--tracking-tight); }
.cta-band__sub { color: rgba(255,255,255,.85); margin-top: var(--space-2); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); align-items: start; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.contact-form .full { grid-column: 1 / -1; }
.contact-points { display: flex; flex-direction: column; gap: var(--space-5); }
.contact-point { display: flex; gap: var(--space-3); align-items: flex-start; }
.contact-point__icon { width: 44px; height: 44px; flex: none; border-radius: var(--radius-md); background: var(--blue-50); color: var(--blue-600); display: inline-flex; align-items: center; justify-content: center; }
.contact-point__icon svg { width: 22px; height: 22px; }

/* Footer */
.site-footer { background: var(--surface-brand-deep); color: rgba(255,255,255,.72); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-6); padding-block: var(--space-8) var(--space-6); }
.footer-col h4 { font-size: var(--text-sm); color: #fff; font-weight: var(--fw-semibold); margin-bottom: var(--space-3); }
.footer-col a { display: block; font-size: var(--text-sm); color: rgba(255,255,255,.72); padding: 4px 0; cursor: pointer; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: var(--space-4); padding-block: var(--space-5); border-top: 1px solid rgba(255,255,255,.12); font-size: var(--text-sm); flex-wrap: wrap; }

/* Image placeholder */
.img-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--blue-100), var(--blue-50)); color: var(--blue-400); }
.img-ph svg { width: 56px; height: 56px; }

/* Branded panels (used instead of photography) */
.panel { background: #fff; border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); overflow: hidden; }
.panel__top { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--border-subtle); background: var(--surface-sunken); }
.panel__top-title { font-weight: var(--fw-bold); color: var(--text-strong); font-size: var(--text-sm); white-space: nowrap; }
.panel__live { margin-left: auto; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--success); display: inline-flex; align-items: center; gap: 6px; }
.panel__pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 0 rgba(31,138,91,.5); animation: pit-pulse 2.4s var(--ease-out) infinite; }
@keyframes pit-pulse { 0% { box-shadow: 0 0 0 0 rgba(31,138,91,.45);} 70% { box-shadow: 0 0 0 7px rgba(31,138,91,0);} 100% { box-shadow: 0 0 0 0 rgba(31,138,91,0);} }
@media (prefers-reduced-motion: reduce) { .panel__pulse { animation: none; } }
.panel__rows { padding: 6px 18px 14px; }
.panel__row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--surface-sunken); }
.panel__row:last-child { border-bottom: 0; }
.panel__row-ic { width: 34px; height: 34px; flex: none; border-radius: var(--radius-sm); background: var(--blue-50); color: var(--blue-600); display: inline-flex; align-items: center; justify-content: center; }
.panel__row-ic svg { width: 17px; height: 17px; }
.panel__row-name { font-weight: var(--fw-semibold); color: var(--text-strong); font-size: var(--text-sm); }
.panel__row-meta { font-size: var(--text-xs); color: var(--text-muted); margin-top: 1px; }
.panel__row-val { margin-left: auto; }
.panel__row-val svg { width: 18px; height: 18px; color: var(--text-faint); }
.panel__foot { display: flex; align-items: center; gap: 8px; padding: 13px 18px; border-top: 1px solid var(--border-subtle); background: var(--surface-brand-tint); font-size: var(--text-sm); color: var(--blue-700); font-weight: var(--fw-medium); }
.panel__foot svg { width: 16px; height: 16px; color: var(--blue-600); flex: none; }

/* Selected work / portfolio */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); margin-top: var(--space-7); }
.work-card { display: flex; flex-direction: column; background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; color: inherit; transition: box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out); }
.work-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--border-default); }
.work-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: var(--surface-sunken); border-bottom: 1px solid var(--border-subtle); }
.work-bar > span { width: 9px; height: 9px; border-radius: 50%; background: var(--slate-300); flex: none; }
.work-url { margin-left: 8px; flex: 1; background: #fff; border: 1px solid var(--border-subtle); border-radius: var(--radius-pill); padding: 4px 12px; font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.work-shot { height: 188px; overflow: hidden; position: relative; background: var(--surface-sunken); }
.work-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; opacity: 0; transition: opacity var(--dur-slow) var(--ease-out); }
.work-img.is-loaded { opacity: 1; }
.work-shot-fallback { position: absolute; inset: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #fff; text-align: center; padding: 16px; }
.work-shot-ic { width: 46px; height: 46px; border-radius: var(--radius-md); background: rgba(255,255,255,.14); display: inline-flex; align-items: center; justify-content: center; }
.work-shot-ic svg { width: 24px; height: 24px; }
.work-shot-name { font-weight: var(--fw-bold); font-size: var(--text-md); letter-spacing: var(--tracking-tight); }
.work-body { padding: var(--space-5); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.work-cat { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-brand); }
.work-blurb { font-size: var(--text-sm); color: var(--text-body); line-height: var(--leading-normal); flex: 1; }
.work-link { display: inline-flex; align-items: center; gap: 6px; font-size: var(--text-sm); font-weight: var(--fw-semibold); color: var(--link); }
.work-link svg { width: 15px; height: 15px; transition: transform var(--dur-fast) var(--ease-standard); }
.work-card:hover .work-link svg { transform: translate(2px, -2px); }

/* About band */
.about-band { background: var(--surface-sunken); border-block: 1px solid var(--border-subtle); }
.about-inner { max-width: 760px; }
.about-text { font-size: var(--text-lg); line-height: var(--leading-relaxed); color: var(--text-body); margin-top: var(--space-4); }
.about-text strong { color: var(--text-strong); font-weight: var(--fw-semibold); }

/* Checklist panel */
.checklist { display: flex; flex-direction: column; gap: 2px; }
.checklist__item { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--surface-sunken); font-weight: var(--fw-medium); color: var(--text-strong); }
.checklist__item:last-child { border-bottom: 0; }
.checklist__tick { width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--success-bg); color: var(--success); display: inline-flex; align-items: center; justify-content: center; }
.checklist__tick svg { width: 14px; height: 14px; }

/* ===== Responsive ===== */

/* Tablet */
@media (max-width: 1000px) {
  .services-grid, .work-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero__grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero__title { font-size: var(--text-3xl); }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  /* swap desktop nav for hamburger */
  .site-nav, .site-header__cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-nav.is-open { display: block; padding: var(--space-4) 0 var(--space-6); border-top: 1px solid var(--border-subtle); }
}

/* Phone */
@media (max-width: 600px) {
  .section { padding-block: var(--space-8); }
  .site-header__bar { height: 64px; gap: var(--space-4); }

  .hero .section { padding-block: var(--space-7); }
  .hero__title { font-size: var(--text-2xl); }
  .hero__lead { font-size: var(--text-base); max-width: none; }
  .hero__actions { gap: var(--space-3); }
  .hero__actions .pit-btn { flex: 1 1 100%; }

  .section-head__title { font-size: var(--text-xl); }
  .section-head__sub { font-size: var(--text-base); }

  .services-grid, .work-grid { grid-template-columns: 1fr; margin-top: var(--space-6); }

  /* proof bar: tidy 2x2 grid instead of uneven wrap */
  .proof__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5) var(--space-4); }
  .pit-stat__value { font-size: var(--text-xl); }

  /* CTA band stacks and goes full-width */
  .cta-band { flex-direction: column; align-items: flex-start; text-align: left; padding: var(--space-6) var(--space-5); gap: var(--space-5); }
  .cta-band__title { font-size: var(--text-xl); }
  .cta-band .pit-btn { width: 100%; }

  /* contact form: single column so fields aren't cramped */
  .contact-form { grid-template-columns: 1fr; }

  /* footer collapses to one column */
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-6); padding-block: var(--space-7) var(--space-5); }
  .footer-bottom { flex-direction: column; gap: var(--space-2); }

  .about-text { font-size: var(--text-md); }
  .work-shot { height: 160px; }
}
