/*
Theme Name: Tessera
Theme URI: https://tesseratechops.com
Description: Minimal custom WordPress theme for the Tessera family. Each page renders its own self-contained HTML via the_content(); the theme provides <head>, wp_head/wp_footer hooks, and shared site chrome only where useful.
Author: Tessera TechOps LLC
Author URI: https://tesseratechops.com
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tessera
Tags: minimal, custom, one-page, static-site-friendly
*/

/*
  IMPORTANT: This file is REBUILT by build/build-css.py from src-css/*.css.
  Do NOT edit below this line by hand — edit the src-css/ modules and rebuild.
  ------------------------------------------------------------------------ */

/* --- Bundled by build/build-css.py at 2026-07-27 02:41:38 UTC --- */


/* ========== tokens.css ========== */

/* =============================================================
   Tessera — Design Tokens
   Source of truth: content/brand.md + SHONE-Branding/build/brandkit.py
   ============================================================= */

:root {
  /* ---- Tessera parent brand ---- */
  --t-primary:       #172747;       /* deep navy - structure */
  --t-secondary:     #141A24;       /* ink */
  --t-accent:        #FF6B57;       /* coral - signature */
  --t-accent-light:  #FF9485;       /* light coral */
  --t-slate:         #5B6B82;       /* secondary text */
  --t-paper:         #FFFFFF;       /* page base */
  --t-panel:         #F6EFE9;       /* sand panel fill */
  --t-tint:          #FBEEE9;       /* warm coral/sand wash */
  --t-divider:       #E6DDD3;       /* warm hairline */
  --t-muted:         #5B6B82;
  --t-text:          #141A24;

  /* ---- Sherpa product brand (used on /sherpa only) ---- */
  --s-primary:       #0D3780;       /* deep navy blue - wordmark */
  --s-secondary:     #000000;
  --s-accent:        #0055CC;       /* heritage blue - mark */
  --s-accent-cyan:   #0FACE5;       /* cyan */
  --s-coral:         #FF885A;       /* warm secondary */
  --s-paper:         #FFFFFF;
  --s-panel:         #F0F4F8;
  --s-divider:       #D9E2EC;
  --s-tint:          #E8F0FB;
  --s-muted:         #5B6B7B;
  --s-text:          #1A1A1A;

  /* ---- Status ---- */
  --status-green:    #16A34A;
  --status-amber:    #D97706;
  --status-red:      #DC2626;

  /* ---- Typography ---- */
  --font-body:       'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Calibri, sans-serif;
  --font-display:    'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Calibri, sans-serif;
  --fw-regular:      400;
  --fw-medium:       500;
  --fw-semibold:     600;
  --fw-bold:         700;

  --lh-tight:        1.1;
  --lh-snug:         1.3;
  --lh-normal:       1.6;
  --ls-tight:        -0.01em;
  --ls-eyebrow:       0.15em;

  /* ---- Spacing (fluid) ---- */
  --space-1:         0.25rem;
  --space-2:         0.5rem;
  --space-3:         0.75rem;
  --space-4:         1rem;
  --space-5:         1.5rem;
  --space-6:         2rem;
  --space-7:         3rem;
  --space-8:         4rem;
  --space-9:         5rem;
  --space-10:        6rem;

  /* ---- Radii ---- */
  --radius-sm:       6px;
  --radius-md:       12px;
  --radius-lg:       16px;
  --radius-pill:     999px;

  /* ---- Shadows ---- */
  --shadow-sm:       0 2px 8px rgba(23, 39, 71, 0.06);
  --shadow-md:       0 6px 20px rgba(23, 39, 71, 0.08);
  --shadow-lg:       0 10px 40px rgba(23, 39, 71, 0.10);
  --shadow-cta:      0 4px 14px rgba(255, 107, 87, 0.25);

  /* ---- Layout ---- */
  --container-max:   1120px;
  --container-pad-x: 1.5rem;

  /* ---- Motion ---- */
  --transition-fast: 0.15s ease;
  --transition:      0.2s ease;
  --transition-slow: 0.4s ease;

  /* ---- Isometric triangle grid (tessellation) ----
     Three sets of parallel lines at 0°, 60°, 120° form equilateral triangles.
     60px perpendicular spacing → triangle side length ≈ 69.28px.
     Kept subtle so it never competes with content.                          */
  --pattern-iso-light:
    repeating-linear-gradient(  0deg, transparent 0 59.5px, rgba(255, 255, 255, 0.07) 59.5px 60px),
    repeating-linear-gradient( 60deg, transparent 0 59.5px, rgba(255, 255, 255, 0.07) 59.5px 60px),
    repeating-linear-gradient(120deg, transparent 0 59.5px, rgba(255, 255, 255, 0.07) 59.5px 60px);
  --pattern-iso-dark:
    repeating-linear-gradient(  0deg, transparent 0 59.5px, rgba(23, 39, 71, 0.045) 59.5px 60px),
    repeating-linear-gradient( 60deg, transparent 0 59.5px, rgba(23, 39, 71, 0.045) 59.5px 60px),
    repeating-linear-gradient(120deg, transparent 0 59.5px, rgba(23, 39, 71, 0.045) 59.5px 60px);
}

/* ========== reset.css ========== */

/* =============================================================
   Tessera — Modern CSS Reset
   Adapted from Andy Bell's modern-css-reset + Josh Comeau's reset
   ============================================================= */

*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
  scroll-behavior: smooth;
  scroll-padding-top: 4rem;
}

body {
  min-height: 100vh;
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

table {
  border-collapse: collapse;
  width: 100%;
}

hr {
  border: 0;
  height: 1px;
  background: var(--t-divider);
}

/* Focus visibility */
:focus-visible {
  outline: 2px solid var(--t-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Selection color */
::selection {
  background: var(--t-accent);
  color: var(--t-paper);
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ========== typography.css ========== */

/* =============================================================
   Tessera — Typography
   Self-hosted Poppins from theme/tessera-theme/assets/fonts/Poppins/
   OFL licensed; all weights bundled.
   ============================================================= */

/* Poppins @font-face — only the weights we actually use */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/Poppins/Poppins-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/Poppins/Poppins-Italic.ttf') format('truetype');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/Poppins/Poppins-Medium.ttf') format('truetype');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/Poppins/Poppins-SemiBold.ttf') format('truetype');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/Poppins/Poppins-Bold.ttf') format('truetype');
}

/* Base type styles */
body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--t-text);
  background: var(--t-paper);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  color: var(--t-primary);
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-tight);
  /* Balance line lengths so single-word widows don't sit alone on the last
     line. Browser support: Chrome 114+, Safari 17.5+, Firefox 121+. Falls
     back gracefully to normal wrapping in older browsers.                 */
  text-wrap: balance;
}

/* Exception: the home hero title is intentionally three short one-word lines
   ("Security. Continuity. Support.") — balance would compress it into a
   single tighter line and lose the impact. */
.page-home .hero__title {
  text-wrap: initial;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

h4 {
  font-size: 1.1rem;
  font-weight: var(--fw-semibold);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

p {
  color: var(--t-text);
  line-height: var(--lh-normal);
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

small,
.small,
.caption {
  font-size: 0.875rem;
  color: var(--t-slate);
}

/* Eyebrow — small caps section labels */
.eyebrow {
  display: inline-block;
  font-size: 1rem;                /* 16px */
  font-weight: var(--fw-semibold); /* Poppins 600 */
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--t-accent);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.eyebrow--slate {
  color: var(--t-slate);
}

/* Lead paragraph — larger, softer body copy for hero subheads */
.lead {
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--t-slate);
  font-weight: var(--fw-regular);
  max-width: 60ch;
}

/* Links */
a {
  color: var(--t-accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--t-primary);
}

/* In-content links get an underline for accessibility */
p a,
li a,
.prose a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

/* Blockquote — testimonial quotes */
blockquote {
  font-size: 1.15rem;
  line-height: 1.5;
  font-weight: var(--fw-medium);
  font-style: italic;
  color: var(--t-primary);
  border-left: 3px solid var(--t-accent);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 1.5rem 0;
}

blockquote cite {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-style: normal;
  font-weight: var(--fw-medium);
  color: var(--t-slate);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

blockquote cite::before {
  content: "— ";
}

/* Code / preformatted */
code,
kbd,
samp,
pre {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 0.9em;
}

code {
  background: var(--t-panel);
  padding: 0.15em 0.35em;
  border-radius: 4px;
}

pre {
  background: var(--t-primary);
  color: var(--t-paper);
  padding: 1rem;
  border-radius: var(--radius-md);
  overflow-x: auto;
}

pre code {
  background: transparent;
  padding: 0;
}

/* ========== layout.css ========== */

/* =============================================================
   Tessera — Layout primitives
   Container, grid utilities, section rhythm.
   ============================================================= */

/* Container — constrained content width */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad-x);
}

.container--narrow {
  max-width: 800px;
}

.container--wide {
  max-width: 1280px;
}

/* Section spacing */
.section {
  padding-block: clamp(3rem, 8vw, 5rem);
}

.section--tight {
  padding-block: 2rem;
}

.section--roomy {
  padding-block: clamp(4rem, 10vw, 7rem);
}

/* Section background variants */
/* Paper (pure white) gets the DARK iso-grid overlay */
.section--paper {
  background-color: var(--t-paper);
  background-image: var(--pattern-iso-dark);
}

.section--panel  { background: var(--t-panel); }
.section--tint   { background: var(--t-tint); }

/* Primary (navy) gets the LIGHT iso-grid overlay */
.section--primary {
  background-color: var(--t-primary);
  background-image: var(--pattern-iso-light);
  color: var(--t-paper);
}
.section--primary h1,
.section--primary h2,
.section--primary h3,
.section--primary p { color: var(--t-paper); }
.section--primary .eyebrow { color: var(--t-accent-light); }

/* Sherpa's navy also gets the light iso-grid */
.section--sherpa-primary {
  background-color: var(--s-primary);
  background-image: var(--pattern-iso-light);
  color: var(--s-paper);
}
.section--sherpa-primary h1,
.section--sherpa-primary h2,
.section--sherpa-primary h3,
.section--sherpa-primary p { color: var(--s-paper); }

/* Grid — general purpose */
.grid {
  display: grid;
  gap: var(--space-6);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

@media (max-width: 960px) {
  .grid-4, .grid-5, .grid-6 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .grid-5, .grid-6 { grid-template-columns: 1fr; }
}

/* Split — image + text 2-column */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}

.split--1-2 { grid-template-columns: 1fr 2fr; }
.split--2-1 { grid-template-columns: 2fr 1fr; }
.split--3-5 { grid-template-columns: 3fr 5fr; }
.split--5-3 { grid-template-columns: 5fr 3fr; }
.split--3-2 { grid-template-columns: 3fr 2fr; }

@media (max-width: 800px) {
  .split, .split--1-2, .split--2-1, .split--3-5, .split--5-3, .split--3-2 {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
}

/* Cluster — flex wrap for buttons/pills */
.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}

.cluster--center { justify-content: center; }
.cluster--end    { justify-content: flex-end; }
.cluster--between { justify-content: space-between; }

/* Stack — vertical rhythm inside a container */
.stack > * + * {
  margin-top: var(--space-4);
}

.stack--tight > * + *  { margin-top: var(--space-2); }
.stack--roomy > * + *  { margin-top: var(--space-6); }
.stack--airy  > * + *  { margin-top: var(--space-8); }

/* Text alignment utilities */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

/* Content max-widths for readability */
.measure       { max-width: 60ch; }
.measure-wide  { max-width: 80ch; }

.mx-auto { margin-inline: auto; }

/* ========== components.css ========== */

/* =============================================================
   Tessera — Components
   Buttons, cards, blurbs, compare table, contact blocks,
   accordion, testimonial slider, logo wall.
   ============================================================= */

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.01em;
  line-height: 1;
  cursor: pointer;
  transition: all var(--transition);
  border: 1.5px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

/* Primary — solid navy */
.btn-primary {
  background: var(--t-primary);
  color: var(--t-paper);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  background: var(--t-secondary);
  color: var(--t-paper);
  box-shadow: var(--shadow-lg);
}

/* Accent — solid coral for hero/urgent CTAs */
.btn-accent {
  background: var(--t-accent);
  color: var(--t-paper);
  box-shadow: var(--shadow-cta);
}
.btn-accent:hover {
  background: var(--t-primary);
  color: var(--t-paper);
}

/* Secondary — outlined ink */
.btn-secondary {
  background: transparent;
  color: var(--t-primary);
  border-color: var(--t-primary);
}
.btn-secondary:hover {
  background: var(--t-primary);
  color: var(--t-paper);
}

/* Ghost — text-only */
.btn-ghost {
  background: transparent;
  color: var(--t-slate);
  padding-inline: 0.5rem;
}
.btn-ghost:hover {
  color: var(--t-accent);
}

/* On dark backgrounds — invert */
.section--primary .btn-primary,
.section--sherpa-primary .btn-primary {
  background: var(--t-paper);
  color: var(--t-primary);
}
.section--primary .btn-primary:hover,
.section--sherpa-primary .btn-primary:hover {
  background: var(--t-accent);
  color: var(--t-paper);
}
.section--primary .btn-secondary,
.section--sherpa-primary .btn-secondary {
  color: var(--t-paper);
  border-color: var(--t-paper);
}
.section--primary .btn-secondary:hover,
.section--sherpa-primary .btn-secondary:hover {
  background: var(--t-paper);
  color: var(--t-primary);
}

.btn-lg {
  padding: 1.1rem 2rem;
  font-size: 1.05rem;
}

.btn-block {
  display: flex;
  width: 100%;
}

/* ---------- Cards ---------- */
.card {
  background: var(--t-paper);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.card--panel {
  background: var(--t-panel);
  box-shadow: none;
  border: 1px solid var(--t-divider);
}

.card--flat {
  box-shadow: none;
  background: transparent;
  padding: var(--space-4);
}

/* ---------- Blurbs (icon + title + text) ---------- */
.blurb {
  text-align: center;
  padding: var(--space-4);
}

.blurb__icon {
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  color: var(--t-accent);
  background: var(--t-tint);
  border-radius: 50%;
  transition: all var(--transition);
}

.blurb__icon svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.blurb:hover .blurb__icon {
  background: var(--t-accent);
  color: var(--t-paper);
  transform: scale(1.05);
}

.blurb__title {
  color: var(--t-primary);
  font-size: 1.15rem;
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-2);
}

.blurb__body {
  color: var(--t-slate);
  font-size: 0.95rem;
  line-height: 1.55;
}

.blurb--left {
  text-align: left;
}

/* ---------- Compare table (How We Differ) ---------- */
.compare {
  width: 100%;
  border-collapse: collapse;
  background: var(--t-paper);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-block: var(--space-6);
}

.compare th,
.compare td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--t-divider);
  vertical-align: top;
  line-height: 1.5;
  font-size: 0.95rem;
}

.compare thead th {
  background: var(--t-primary);
  color: var(--t-paper);
  font-weight: var(--fw-semibold);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.compare tbody th {
  background: var(--t-panel);
  color: var(--t-primary);
  font-weight: var(--fw-semibold);
  width: 22%;
}

.compare tbody td.compare__ours {
  background: var(--t-tint);
  color: var(--t-primary);
  font-weight: var(--fw-medium);
}

.compare tbody td.compare__theirs {
  color: var(--t-slate);
}

.compare tbody tr:last-child th,
.compare tbody tr:last-child td {
  border-bottom: none;
}

@media (max-width: 640px) {
  .compare th, .compare td {
    padding: 0.75rem 0.85rem;
    font-size: 0.9rem;
  }
  .compare tbody th { width: 30%; }
}

/* ---------- Contact block ---------- */
.contact-blurb {
  text-align: center;
  padding: var(--space-6) var(--space-5);
  background: var(--t-paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition);
}

.contact-blurb:hover {
  transform: translateY(-3px);
}

.contact-blurb__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-3);
  color: var(--t-accent);
  background: var(--t-tint);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-blurb__icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-blurb__label {
  display: block;
  font-size: 0.85rem;
  font-weight: var(--fw-semibold);
  color: var(--t-slate);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

.contact-blurb__value {
  font-size: 1.1rem;
  font-weight: var(--fw-semibold);
  color: var(--t-primary);
}

.contact-blurb__value a {
  color: var(--t-primary);
  text-decoration: none;
}
.contact-blurb__value a:hover {
  color: var(--t-accent);
}

/* ---------- Accordion (FAQ) ---------- */
.accordion {
  border-top: 1px solid var(--t-divider);
}

.accordion__item {
  border-bottom: 1px solid var(--t-divider);
}

.accordion__item summary {
  padding: 1.25rem 0;
  cursor: pointer;
  list-style: none;
  font-weight: var(--fw-semibold);
  color: var(--t-primary);
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color var(--transition);
}

.accordion__item summary::-webkit-details-marker { display: none; }
.accordion__item summary::marker { content: ''; }

.accordion__item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: var(--fw-regular);
  color: var(--t-accent);
  transition: transform var(--transition);
  line-height: 1;
}

.accordion__item[open] summary::after {
  content: '−';
}

.accordion__item summary:hover {
  color: var(--t-accent);
}

.accordion__body {
  padding-bottom: 1.25rem;
  color: var(--t-slate);
  line-height: 1.55;
}

/* ---------- Logo wall (partners/accreditations) ---------- */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-6);
  align-items: center;
  justify-items: center;
}

@media (max-width: 960px) { .logo-wall { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .logo-wall { grid-template-columns: repeat(3, 1fr); } }

.logo-wall img {
  max-height: 60px;
  width: auto;
  max-width: 130px;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: all var(--transition-slow);
}

.logo-wall img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ---------- Testimonial slider (simple CSS-only) ---------- */
.testimonials {
  padding-block: var(--space-8);
  text-align: center;
}

.testimonial {
  max-width: 720px;
  margin-inline: auto;
  padding-inline: var(--space-4);
}

.testimonial__quote {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.5;
  font-weight: var(--fw-medium);
  font-style: italic;
  color: var(--t-paper);
  margin-bottom: var(--space-4);
}

.testimonial__attrib {
  font-size: 0.9rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--t-accent-light);
}

/* ---------- Alerts / Callouts ---------- */
.callout {
  background: var(--t-tint);
  border-left: 4px solid var(--t-accent);
  padding: var(--space-4) var(--space-5);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--t-primary);
}

/* ---------- Divider (coral tessera-tile motif) ---------- */
.tessera-divider {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  margin-block: var(--space-6);
}

.tessera-divider::before,
.tessera-divider::after {
  content: '';
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: var(--t-accent);
  opacity: 0.4;
}

.tessera-divider__mark {
  width: 12px;
  height: 12px;
  background: var(--t-accent);
  clip-path: polygon(0 100%, 100% 100%, 50% 0);
}

/* ---------- Tessera-tile bullet list (reusable) ---------- */
.tessera-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tessera-list li {
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.6;
}

.tessera-list li + li {
  margin-top: 0.5rem;
}

.tessera-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--t-accent);
  clip-path: polygon(0 100%, 100% 100%, 50% 0);
}

/* When the tessera-list is also a grid, tighten the gap and drop the top margin */
.tessera-list.grid li + li {
  margin-top: 0;
}

/* ---------- Skip link (a11y) ---------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  padding: 0.75rem 1.5rem;
  background: var(--t-primary);
  color: var(--t-paper);
  z-index: 100;
  text-decoration: none;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 0;
}

/* ========== site.css ========== */

/* =============================================================
   Tessera — Site composition
   Header, footer, hero patterns, page-level scaffolding.
   ============================================================= */

/* ---------- Site header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--t-divider);
  transition: box-shadow var(--transition);
}

.site-header:hover {
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  position: relative;              /* positioning context for mobile nav dropdown */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-block: 1rem;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad-x);
}

.site-header__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.site-header__logo img {
  height: 34px;
  width: auto;
}

/* ---------- Nav (button + nav, 5-line inline JS toggle) ----------
   Desktop: hamburger hidden, nav panel horizontal.
   Mobile:  hamburger visible, nav panel hidden until the panel gains
            the .is-open class (added by the inline JS in nav.html).
   Uses a plain <nav> instead of <details> because Chrome/Edge/Firefox all
   apply layout-level hiding to <details> children that CSS `display`
   cannot reliably override.
*/

/* Hamburger toggle button — hidden on desktop, revealed at mobile breakpoint */
.site-nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius-sm);
  color: var(--t-primary);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
}

.site-nav__toggle:hover,
.site-nav__toggle:focus-visible {
  background: var(--t-panel);
  outline: none;
}

.site-nav__bars {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  width: 22px;
}

.site-nav__bars > span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* Hamburger animates into an X when the nav is open (via aria-expanded="true"
   which our inline JS sets on click) */
.site-nav__toggle[aria-expanded="true"] .site-nav__bars > span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-nav__toggle[aria-expanded="true"] .site-nav__bars > span:nth-child(2) {
  opacity: 0;
}
.site-nav__toggle[aria-expanded="true"] .site-nav__bars > span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Nav panel — desktop default: horizontal, always visible */
.site-nav__panel {
  display: flex;
  gap: var(--space-6);
  align-items: center;
}

.site-nav__panel a {
  color: var(--t-slate);
  font-size: 0.95rem;
  font-weight: var(--fw-medium);
  text-decoration: none;
  transition: color var(--transition);
}

.site-nav__panel a:hover,
.site-nav__panel a.is-active {
  color: var(--t-primary);
}

/* Mobile — hamburger + right-aligned dropdown */
@media (max-width: 720px) {
  .site-header__inner { gap: var(--space-3); }
  .site-header__logo img { height: 28px; }

  .site-nav__toggle {
    display: inline-flex;
  }

  /* Hide nav panel by default on mobile */
  .site-nav__panel {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    right: var(--container-pad-x);
    min-width: 240px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--t-paper);
    border: 1px solid var(--t-divider);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    z-index: 100;
  }

  /* JS-added .is-open reveals it */
  .site-nav__panel.is-open {
    display: flex;
  }

  .site-nav__panel a {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--t-primary);
    font-weight: var(--fw-semibold);
  }

  .site-nav__panel a:hover,
  .site-nav__panel a:focus-visible {
    background: var(--t-tint);
    color: var(--t-accent);
    outline: none;
  }
}

/* Kept hidden: legacy .site-header__cta (removed from the nav, the hero
   CTA covers it — but old references anywhere should not surface it) */
.site-header__cta { display: none; }

/* ---------- Site footer ---------- */
.site-footer {
  background-color: var(--t-primary);
  background-image: var(--pattern-iso-light);
  color: var(--t-paper);
  padding-block: var(--space-8) var(--space-6);
}

.site-footer h4 {
  color: var(--t-paper);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-4);
  opacity: 0.85;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-6);
}

@media (max-width: 900px) {
  .site-footer__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  line-height: 1.6;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--t-accent-light);
}

.site-footer__logo img {
  height: 36px;
  width: auto;
  margin-bottom: var(--space-3);
}

.site-footer__tagline {
  font-style: italic;
  opacity: 0.85;
  margin-bottom: var(--space-2);
}

.site-footer__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: var(--space-7);
  padding-top: var(--space-4);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(4rem, 10vw, 7rem);
  background: linear-gradient(180deg, var(--t-paper) 0%, var(--t-panel) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -8%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(255, 107, 87, 0.20) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -5%;
  left: -5%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(23, 39, 71, 0.10) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero--center .hero__inner {
  margin-inline: auto;
  text-align: center;
}

.hero__title {
  color: var(--t-primary);
  margin-bottom: 1.5rem;
}

.hero__subtitle {
  color: var(--t-slate);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.5;
  margin-bottom: var(--space-6);
  max-width: 60ch;
}

.hero--center .hero__subtitle {
  margin-inline: auto;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* ---------- Sherpa hero variant ---------- */
.hero--sherpa {
  background: linear-gradient(180deg, var(--s-paper) 0%, var(--s-tint) 100%);
}

.hero--sherpa::before {
  background: radial-gradient(circle, rgba(15, 172, 229, 0.22) 0%, transparent 70%);
}

.hero--sherpa .hero__title {
  color: var(--s-primary);
}

.hero--sherpa .hero__subtitle {
  color: var(--s-muted);
}

/* Summit silhouette at bottom of Sherpa hero */
.hero--sherpa .summit {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 110px;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 110' preserveAspectRatio='none'><path d='M0 110 L0 70 L140 32 L250 62 L360 20 L480 58 L580 30 L700 72 L830 18 L960 52 L1080 28 L1200 60 L1200 110 Z' fill='%230D3780' opacity='0.08'/><path d='M0 110 L0 85 L180 58 L320 80 L450 50 L600 84 L760 54 L900 82 L1050 60 L1200 88 L1200 110 Z' fill='%230055CC' opacity='0.10'/></svg>");
  background-size: cover;
  background-repeat: no-repeat;
}

/* ---------- Sherpa page overrides ---------- */
.sherpa-page a { color: var(--s-accent); }
.sherpa-page a:hover { color: var(--s-primary); }
.sherpa-page .btn-primary {
  background: var(--s-primary);
  box-shadow: 0 4px 14px rgba(13, 55, 128, 0.25);
}
.sherpa-page .btn-primary:hover {
  background: var(--s-accent);
}
.sherpa-page .btn-accent {
  background: var(--s-coral);
}
.sherpa-page .btn-secondary {
  color: var(--s-primary);
  border-color: var(--s-primary);
}
.sherpa-page .btn-secondary:hover {
  background: var(--s-primary);
  color: var(--s-paper);
}
.sherpa-page .eyebrow {
  color: var(--s-accent);
}

/* ---------- Section heading pattern ---------- */
.section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-7);
}

.section-heading .eyebrow { display: block; margin-bottom: 0.5rem; }
.section-heading h2 { margin-bottom: 0.5rem; }
.section-heading p { color: var(--t-slate); font-size: 1.1rem; }

/* ---------- Closing CTA pattern ---------- */
.closing-cta {
  background-color: var(--t-primary);
  background-image: var(--pattern-iso-light);
  color: var(--t-paper);
  padding-block: var(--space-9);
  text-align: center;
}

.closing-cta h2 {
  color: var(--t-paper);
  margin-bottom: var(--space-3);
}

.closing-cta p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  margin: 0 auto var(--space-6);
  font-size: 1.05rem;
  line-height: 1.55;
}

.closing-cta__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ---------- Testimonial slider section ---------- */
.testimonial-section {
  background-color: var(--t-primary);
  background-image: var(--pattern-iso-light);
  padding-block: var(--space-8);
}

/* ---------- Service catalog (Services page) ---------- */
.service-section {
  padding-block: var(--space-7);
}

.service-section + .service-section {
  border-top: 1px solid var(--t-divider);
}

.service-section__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-8);
  align-items: start;
}

@media (max-width: 800px) {
  .service-section__inner { grid-template-columns: 1fr; gap: var(--space-5); }
}

.service-section h3 {
  color: var(--t-primary);
  margin-bottom: var(--space-3);
}

.service-section ul {
  display: grid;
  gap: 0.75rem;
  color: var(--t-slate);
  line-height: 1.55;
}

.service-section li {
  padding-left: 1.5rem;
  position: relative;
}

.service-section li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  background: var(--t-accent);
  clip-path: polygon(0 100%, 100% 100%, 50% 0);
}

/* ---------- Team member (About page) ---------- */
.team-card {
  text-align: center;
}

.team-card__photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--space-4);
  border: 3px solid var(--t-tint);
  box-shadow: var(--shadow-md);
}

.team-card__name {
  color: var(--t-primary);
  font-size: 1.2rem;
  font-weight: var(--fw-semibold);
  margin-bottom: 0.25rem;
}

.team-card__role {
  color: var(--t-slate);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ---------- 404 ---------- */
.error-page {
  padding-block: var(--space-10);
  text-align: center;
}

.error-page h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: var(--space-3);
}

.error-page p {
  color: var(--t-slate);
  margin-bottom: var(--space-6);
}
