/* ==========================================================================
   SLK Security Solutions — Home page concept A (Template-true)
   Base: Adina – Business & Finance React Template (ThemeDox), Home 2.
   Component rules are ported from src/assets/css/main.css (line numbers in
   each block comment) and rewritten onto the tokens below.
   Every design value lives in :root. The rest of the file uses only tokens.
   ========================================================================== */

:root {
  /* ---- Color: brand (docs/design-inputs.md §1.1, A-18) ---- */
  --color-ink: #100F0F;            /* SLK Black: text, headings, footer */
  --color-charcoal: #2B292A;       /* dark sections, cards */
  --color-brand: #D5692C;          /* SLK Orange: rule, band, dash, primary button (ink text) */
  --color-brand-text: #A84E1C;     /* orange for small text on light */
  --color-brand-on-dark: #E07A3E;  /* orange for text on charcoal/ink */
  --color-white: #FFFFFF;

  /* ---- Color: warm neutrals ---- */
  --color-paper: #F4F2EE;          /* alternating light sections */
  --color-line: #E2DED8;           /* hairlines, card borders */
  --color-line-strong: #C9C2B8;    /* "+" corner marks, stronger rules */
  --color-stone: #D4C4B4;          /* image placeholders */
  --color-text-2: #6B6560;         /* secondary text, captions */
  --color-photo-stand-in: #4A4542; /* behind photos while they load */

  /* ---- Color: on dark ---- */
  --color-text-on-dark: #FFFFFF;
  --color-text-on-dark-2: rgba(255, 255, 255, 0.78);
  --color-line-on-dark: rgba(255, 255, 255, 0.16);
  --color-hover-on-dark: rgba(255, 255, 255, 0.08);
  --color-scrim: rgba(16, 15, 15, 0.62);   /* flat scrim over hero photos */
  --color-overlay: rgba(16, 15, 15, 0.5);  /* behind the mobile menu */
  --opacity-band: 0.7;                      /* orange band over the photo */

  /* ---- Color: review flags (A-24 staging highlight) ---- */
  --color-flag-bg: #F4F2EE;
  --color-flag-text: #100F0F;
  --color-flag-border: #A84E1C;

  /* ---- Type ---- */
  --font-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-body: "Open Sans", "Segoe UI", Arial, sans-serif;
  --font-stretch-display: 118%;     /* wide setting, echoes the extended SLK letters */
  --font-stretch-normal: 100%;
  --weight-regular: 400;
  --weight-semibold: 600;
  --weight-bold: 700;

  --text-xs: 13px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-md: 18px;
  --text-lg: 20px;
  --text-xl: 24px;
  --text-2xl: 28px;
  --text-3xl: clamp(28px, 2.6vw, 36px);    /* card and row titles */
  --text-4xl: clamp(32px, 4vw, 52px);      /* section titles (Adina td-section-title 64px, scaled for wide setting) */
  --text-5xl: clamp(40px, 6.2vw, 84px);    /* hero title (Adina td-hero-2-title 80px) */

  --leading-tight: 1.08;
  --leading-snug: 1.2;
  --leading-body: 1.62;                    /* Adina body line-height */
  --tracking-display: -0.01em;
  --tracking-eyebrow: 0.06em;

  /* ---- Space ---- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-section: clamp(72px, 9vw, 140px);       /* Adina pt-140 rhythm */
  --space-section-compact: clamp(48px, 5vw, 72px);
  --space-hero-top: clamp(96px, 13vw, 200px);     /* Adina td-hero-2-spacing 225px */
  --space-hero-bottom: clamp(72px, 9vw, 150px);

  /* ---- Layout ---- */
  --container-max: 1320px;
  --gutter: 16px;
  --gutter-lg: 24px;
  --header-height: 88px;
  --header-top-height: 40px;
  --logo-width: 176px;              /* min 160px for the full lockup */
  --logo-width-footer: 200px;
  --measure: 62ch;
  --offcanvas-width: 360px;

  /* ---- Motifs ---- */
  --jamb-width: 4px;                /* vertical orange rule */
  --dash-width: 48px;               /* short dash */
  --dash-height: 3px;
  --band-width: 9%;                 /* orange band over the hero photo */
  --plus-size: 15px;                /* "+" corner marks (Adina td-brand-shape) */
  --plus-stroke: 1px;
  --hairline: 1px;

    /* ---- Sizes ---- */
  --size-touch: 44px;               /* minimum touch target */
  --size-toggle: 28px;              /* desktop submenu chevron */
  --size-menu-line: 18px;           /* hamburger line */
  --size-tile: 64px;                /* hero building-type tile */
  --size-tile-sm: 56px;
  --size-cell: 120px;               /* certified-system cell */
  --size-cell-sm: 88px;
  --size-icon-circle: 64px;         /* where-to-start arrow circle */
  --submenu-min: 240px;
  --submenu-min-wide: 320px;
  --hero-content-max: 760px;
  --header-height-mobile: 72px;
  --logo-width-compact: 164px;
  --logo-width-min: 160px;
  --band-offset: 12%;
  --band-offset-md: 6%;
  --nudge: 6px;                     /* arrow slide-in distance */
  --zoom-hover: 1.04;               /* portrait zoom on hover */
  --hero-focus: 85% 40%;            /* keeps the subject right of the headline */

  /* ---- Measures ---- */
  --measure-title: 20ch;
  --measure-narrow: 34ch;
  --measure-label: 46ch;
  --measure-copy: 48ch;
  --measure-cta: 56ch;
  --measure-wide: 70ch;
  --measure-number: 2.4ch;

  /* ---- Lines and underlines ---- */
  --leading-ui: 1.3;
  --leading-list: 1.5;
  --leading-flag: 1.7;
  --underline-thickness: 2px;
  --underline-offset: 6px;
  --underline-offset-sm: 4px;

/* ---- Radius & shadow ---- */
  --radius-none: 0;                 /* square, "built" (Adina used 14px pills) */
  --radius-round: 50%;              /* arrow circles only */
  --shadow-none: none;              /* no drop shadows (A-19) */

  /* ---- Focus ---- */
  --focus-ring: 3px solid var(--color-brand);
  --focus-ring-on-brand: 3px solid var(--color-ink);
  --focus-offset: 3px;

  /* ---- Motion ---- */
  --ease-arrow: cubic-bezier(0.37, 0.08, 0.02, 0.93);
  --duration-fast: 0.2s;
  --duration: 0.3s;
  --duration-slow: 0.4s;
  --duration-arrow: 0.38s;          /* Adina arrow swap (main.css:1185) */
  --duration-arrow-fade: 0.18s;
  --delay-arrow: 0.15s;
}

@media (min-width: 768px) {
  :root { --gutter: var(--gutter-lg); }
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--color-white);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3 { margin: 0; font-family: var(--font-display); font-stretch: var(--font-stretch-display); letter-spacing: var(--tracking-display); }

p { margin: 0; }

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

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

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

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: calc(-1 * var(--space-16));
  z-index: 200;
  padding: var(--space-3) var(--space-4);
  background: var(--color-ink);
  color: var(--color-white);
  font-weight: var(--weight-semibold);
}
.skip-link:focus { top: var(--space-4); }

.container {
  width: 100%;
  max-width: calc(var(--container-max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--space-section); }
.section--paper { background: var(--color-paper); }
.section--dark { background: var(--color-charcoal); color: var(--color-text-on-dark); }
.section--compact { padding-block: var(--space-section-compact); border-top: var(--hairline) solid var(--color-line); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}

/* ==========================================================================
   Brand motifs (docs/design-inputs.md §1.4)
   ========================================================================== */
/* The jamb: orange vertical rule on the left of a text column */
.jamb {
  position: relative;
  padding-left: calc(var(--jamb-width) + var(--space-6));
}
.jamb::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: var(--jamb-width);
  background: var(--color-brand);
}

/* The jamb on a photo's outer edge */
.jamb-edge { position: relative; }
.jamb-edge::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--space-4) - var(--jamb-width));
  top: var(--space-10); bottom: var(--space-10);
  width: var(--jamb-width);
  background: var(--color-brand);
}

/* The short dash above a heading */
.dash-above::before {
  content: "";
  display: block;
  width: var(--dash-width);
  height: var(--dash-height);
  margin-bottom: var(--space-5);
  background: var(--color-brand);
}

/* The band: flat orange field (closing CTA) */
.band { background: var(--color-brand); color: var(--color-ink); }
.band :focus-visible { outline: var(--focus-ring-on-brand); }

/* ==========================================================================
   Image placeholder (design-inputs §3 "labeled image placeholder", B-8)
   ========================================================================== */
.ph {
  position: relative;
  width: 100%;
  aspect-ratio: var(--ph-ratio, 16 / 9);
  background: var(--color-stone);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.ph-label {
  margin: var(--space-4);
  max-width: var(--measure-label);
  font-size: var(--text-xs);
  line-height: var(--leading-list);
  color: var(--color-ink);
}
.ph-label strong {
  display: block;
  margin-bottom: var(--space-1);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
}

/* Stock placeholder photos (until the Roanoke shoot, B-8). The real shot
   needed is in each wrapper's data-shot-needed attribute. */
.photo {
  position: relative;
  width: 100%;
  aspect-ratio: var(--ph-ratio, 16 / 9);
  overflow: hidden;
  background: var(--color-photo-stand-in);
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-tag {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  z-index: 1;
  padding: var(--space-1) var(--space-2);
  background: var(--color-ink);
  color: var(--color-text-on-dark);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-eyebrow);
  line-height: var(--leading-ui);
  text-transform: uppercase;
}
.ph--map { background: var(--color-stone); align-items: center; justify-content: center; text-align: center; }

/* ==========================================================================
   Review flags (A-24): visible highlight on concepts and staging
   ========================================================================== */
.review-flag {
  display: inline;
  padding: var(--hairline) var(--space-1);
  background: var(--color-flag-bg);
  color: var(--color-flag-text);
  outline: var(--hairline) dashed var(--color-flag-border);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-regular);
  font-stretch: var(--font-stretch-normal);
  letter-spacing: 0;
  line-height: var(--leading-flag);
  text-transform: none;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ==========================================================================
   Section title — main.css:2263 (.td-section-title), :2291 (-pre)
   ========================================================================== */
.td-section-title {
  font-size: var(--text-4xl);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-snug);
  max-width: var(--measure-title);
}
.td-section-title-pre {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  color: var(--color-text-2);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
}
/* short dash before every eyebrow */
.td-section-title-pre::before {
  content: "";
  flex: 0 0 auto;
  width: var(--dash-width);
  height: var(--dash-height);
  background: var(--color-brand);
}
.td-section-title-pre--on-dark { color: var(--color-text-on-dark-2); }
.td-section-title-pre--on-dark::before { background: var(--color-brand-on-dark); }

.td-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}

/* ==========================================================================
   Buttons — main.css:1124 (.td-btn), :1143 (-3), :1166 (-7),
   arrow animation :1175–1213 (.td-arrow-angle, .td-left-right)
   ========================================================================== */
.td-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  border: var(--hairline) solid var(--color-brand);
  border-radius: var(--radius-none);
  background: var(--color-brand);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-snug);
  transition: background-color var(--duration), color var(--duration), border-color var(--duration);
}
.td-btn:hover { background: var(--color-white); border-color: var(--color-white); color: var(--color-ink); }

/* outline on light (Adina td-btn-3) */
.td-btn-3 { background: transparent; border-color: var(--color-ink); color: var(--color-ink); }
.td-btn-3:hover { background: var(--color-ink); border-color: var(--color-ink); color: var(--color-white); }

/* outline on dark */
.td-btn-outline-light { background: transparent; border-color: var(--color-text-on-dark); color: var(--color-text-on-dark); }
.td-btn-outline-light:hover { background: var(--color-white); color: var(--color-ink); }

/* ink button on the orange band (Adina td-btn-7, recolored) */
.td-btn-7 { background: var(--color-ink); border-color: var(--color-ink); color: var(--color-white); }
.td-btn-7:hover { background: var(--color-charcoal); border-color: var(--color-charcoal); color: var(--color-white); }

.td-arrow-angle { --hover-move-x: 110%; --hover-move-y: 100%; display: inline-flex; overflow: hidden; }
.td-arrow-angle svg { fill: currentColor; overflow: visible; }
.td-arrow-angle path { transition: transform var(--duration-arrow) var(--ease-arrow), opacity var(--duration-arrow-fade) ease-out; }
.td-arrow-angle path:nth-of-type(1) { transform: translate(0, 0); opacity: 1; transition-delay: var(--delay-arrow), var(--delay-arrow); }
.td-arrow-angle path:nth-of-type(2) { transform: translate(calc(-1 * var(--hover-move-x)), var(--hover-move-y)); opacity: 0; transition-delay: 0s, 0s; }
.td-left-right:hover .td-arrow-angle path:nth-of-type(2) { transform: translate(0, 0); opacity: 1; transition-delay: var(--delay-arrow), var(--delay-arrow); }
.td-left-right:hover .td-arrow-angle path:nth-of-type(1) { transform: translate(var(--hover-move-x), calc(-1 * var(--hover-move-y))); opacity: 0; transition-delay: 0s, 0s; }

/* ==========================================================================
   Header — HeaderTwo.jsx; main.css:2375 (top social), :2401 (top bar),
   :2535 (bottom space), :2336 (sticky), :2692–2805 (menu + submenu)
   ========================================================================== */
/* Sticky in CSS: the top bar scrolls away, the main bar stays
   (replaces Adina's useHeaderSticky scroll listener and .td-header-sticky) */
.td-header-area { position: sticky; top: 0; z-index: 100; }

.td-header-top {
  display: none;
  border-bottom: var(--hairline) solid var(--color-line);
  background: var(--color-white);
  font-size: var(--text-sm);
}
.td-header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-top-height);
}
.td-header-top-social a,
.td-header-top-link { color: var(--color-ink); font-weight: var(--weight-semibold); }
.td-header-top-social a:hover,
.td-header-top-link:hover { color: var(--color-brand-text); }

.td-header-bottom {
  background: var(--color-white);
  border-bottom: var(--hairline) solid var(--color-line);
}
.td-header-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  min-height: var(--header-height);
}
.td-header-logo img { width: var(--logo-width); }


/* hamburger (Adina td-menu-bar) */
.td-menu-bar {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  min-height: var(--size-touch);
  padding: var(--space-2) var(--space-3);
  border: var(--hairline) solid var(--color-ink);
  border-radius: var(--radius-none);
  background: transparent;
  color: var(--color-ink);
  font: var(--weight-semibold) var(--text-sm) / 1 var(--font-body);
  cursor: pointer;
}
.td-menu-bar-lines { display: grid; gap: var(--space-1); }
.td-menu-bar-lines span { display: block; width: var(--size-menu-line); height: var(--underline-thickness); background: currentColor; }

/* menu (desktop) */
.td-main-menu > ul { display: flex; align-items: center; gap: var(--space-8); }
.td-main-menu li { position: relative; display: flex; align-items: center; }
.td-main-menu > ul > li > a {
  position: relative;
  padding-block: var(--space-6);
  font-weight: var(--weight-semibold);
  font-size: var(--text-base);
}
/* underline grows on hover (main.css:2787 .td-main-menu-2 a::before) */
.td-main-menu > ul > li > a::before {
  content: "";
  position: absolute;
  left: 0; bottom: calc(var(--space-6) - var(--space-1));
  width: 0; height: var(--underline-thickness);
  background: var(--color-brand);
  transition: width var(--duration-slow) ease;
}
.td-main-menu > ul > li > a:hover::before,
.td-main-menu > ul > li:focus-within > a::before { width: 100%; }

.td-submenu-toggle {
  display: inline-grid;
  place-items: center;
  width: var(--size-toggle); height: var(--size-toggle);
  margin-left: var(--space-1);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-ink);
  cursor: pointer;
}
.td-submenu-toggle svg { transition: transform var(--duration); }
.has-dropdown.is-open > .td-submenu-toggle svg { transform: rotate(180deg); }

/* submenu (main.css:2733) — scaleY reveal kept; border replaces shadow */
.td-main-menu .submenu {
  position: absolute;
  top: 100%;
  left: calc(-1 * var(--space-6));
  z-index: 99;
  min-width: var(--submenu-min);
  padding: var(--space-3) 0;
  background: var(--color-white);
  border: var(--hairline) solid var(--color-line);
  border-top: var(--dash-height) solid var(--color-brand);
  box-shadow: var(--shadow-none);
  visibility: hidden;
  opacity: 0;
  transform: scaleY(0);
  transform-origin: top center;
  transition: all var(--duration) ease-out;
}
.td-main-menu .submenu-wide { min-width: var(--submenu-min-wide); }
.td-main-menu li:hover > .submenu,
.td-main-menu li:focus-within > .submenu,
.td-main-menu li.is-open > .submenu { visibility: visible; opacity: 1; transform: scaleY(1); }

.td-main-menu .submenu li { display: block; }
.td-main-menu .submenu a {
  position: relative;
  display: block;
  padding: var(--space-2) var(--space-6);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  transition: padding-left var(--duration) ease-out, color var(--duration);
}
/* small rule slides in (main.css:2758–2781) */
.td-main-menu .submenu a::before {
  content: "";
  position: absolute;
  left: var(--space-6); top: 50%;
  width: 0; height: var(--underline-thickness);
  background: var(--color-brand);
  transition: width var(--duration) ease-out;
}
.td-main-menu .submenu a:hover,
.td-main-menu .submenu a:focus-visible { padding-left: calc(var(--space-6) + var(--space-5)); color: var(--color-brand-text); }
.td-main-menu .submenu a:hover::before,
.td-main-menu .submenu a:focus-visible::before { width: var(--space-3); }

.td-btn-header { padding: var(--space-3) var(--space-5); }
.td-btn-header:hover { background: var(--color-ink); border-color: var(--color-ink); color: var(--color-white); }

.td-nav-panel { display: flex; align-items: center; gap: var(--space-8); }
.td-nav-panel-head,
.td-nav-panel-phone { display: none; }
.body-overlay { position: fixed; inset: 0; z-index: 98; background: var(--color-overlay); }

/* desktop ≥ 1100: full nav. Between 992 and 1099 the gaps tighten. */
@media (min-width: 992px) {
  .td-header-top { display: block; height: var(--header-top-height); }
  .td-header-area { top: calc(-1 * var(--header-top-height)); }
  .td-menu-bar { display: none; }
  .body-overlay { display: none; }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .td-main-menu > ul { gap: var(--space-5); }
  .td-nav-panel { gap: var(--space-5); }
  :root { --logo-width: var(--logo-width-compact); }
}

/* mobile offcanvas — MobileNavbar.jsx (tdoffcanvas); main.css:2888–3060 */
@media (max-width: 991px) {
  :root { --header-height: var(--header-height-mobile); --logo-width: var(--logo-width-min); }
  .td-nav-panel {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    z-index: 101;
    width: min(var(--offcanvas-width), 100%);
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-6);
    padding: var(--space-6);
    overflow-y: auto;
    background: var(--color-white);
    border-left: var(--jamb-width) solid var(--color-brand);
    visibility: hidden;
    transform: translateX(100%);
    transition: transform var(--duration) ease, visibility 0s linear var(--duration);
  }
  .td-nav-panel.is-open { visibility: visible; transform: translateX(0); transition: transform var(--duration) ease; }
  .td-nav-panel-head { display: flex; align-items: center; justify-content: space-between; }
  .td-nav-panel-logo { width: var(--logo-width); }
  .td-nav-close {
    display: inline-grid; place-items: center;
    width: var(--size-touch); height: var(--size-touch);
    border: var(--hairline) solid var(--color-ink);
    background: transparent; color: var(--color-ink);
    cursor: pointer;
  }
  .td-main-menu > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .td-main-menu > ul > li { flex-wrap: wrap; justify-content: space-between; border-bottom: var(--hairline) solid var(--color-line); }
  .td-main-menu > ul > li > a { padding-block: var(--space-4); font-size: var(--text-md); }
  .td-main-menu > ul > li > a::before { display: none; }
  .td-submenu-toggle { width: var(--size-touch); height: var(--size-touch); border: var(--hairline) solid var(--color-line); }
  .td-main-menu .submenu,
  .td-main-menu li:hover > .submenu,
  .td-main-menu li:focus-within > .submenu {
    position: static;
    display: none;
    flex-basis: 100%;
    min-width: 0;
    padding: 0 0 var(--space-3);
    border: 0;
    visibility: visible; opacity: 1; transform: none;
  }
  .td-main-menu li.is-open > .submenu { display: block; }
  .td-main-menu .submenu a { padding: var(--space-2) var(--space-4); }
  .td-main-menu .submenu a::before { left: 0; }
  .td-nav-panel-phone { display: block; font-weight: var(--weight-semibold); }
  .td-btn-header { justify-content: center; }
}

/* ==========================================================================
   Hero — HeroTwo.jsx; main.css:4721 (spacing), :4733 (title),
   :4764–4816 (navebar tiles)
   ========================================================================== */
.td-hero-area {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--color-ink);
  color: var(--color-text-on-dark);
}
.td-hero-media { position: absolute; inset: 0; z-index: -3; background: var(--color-photo-stand-in); }
.td-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-focus); }
.td-hero-scrim { position: absolute; inset: 0; z-index: -2; background: var(--color-scrim); }
/* the band over the photo (brochure cover) */
.td-hero-band {
  position: absolute;
  top: 0; bottom: 0;
  right: var(--band-offset);
  z-index: -1;
  width: var(--band-width);
  background: var(--color-brand);
  opacity: var(--opacity-band);
}
.photo-tag--hero { top: var(--space-4); left: auto; right: var(--space-4); }

.td-hero-2-spacing { padding-top: var(--space-hero-top); padding-bottom: var(--space-hero-bottom); }
.td-hero-2-content { max-width: var(--hero-content-max); }
/* full white over photos: 78% white drops to 4.0:1 over a bright photo under the scrim */
.td-hero-2-content .td-section-title-pre { color: var(--color-text-on-dark); }
.td-hero-2-title {
  margin-bottom: var(--space-8);
  font-size: var(--text-5xl);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  color: var(--color-text-on-dark);
}
.td-hero-2-intro {
  max-width: var(--measure);
  margin-bottom: var(--space-10);
  font-size: var(--text-md);
  color: var(--color-text-on-dark);
}
.td-hero-2-btn { display: flex; flex-wrap: wrap; gap: var(--space-4); }

.td-hero-2-navebar { position: relative; border-top: var(--hairline) solid var(--color-line-on-dark); background: var(--color-ink); }
.td-hero-2-navebar-label {
  padding-top: var(--space-5);
  padding-bottom: var(--space-3);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-text-on-dark-2);
}
.td-hero-2-navebar-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.td-hero-2-navebar-single {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  height: 100%;
  min-height: var(--size-tile);
  padding: var(--space-4) var(--space-6);
  border-left: var(--hairline) solid var(--color-line-on-dark);
  border-top: var(--hairline) solid var(--color-line-on-dark);
  color: var(--color-text-on-dark);
  font-weight: var(--weight-semibold);
  font-size: var(--text-base);
  line-height: var(--leading-ui);
  transition: background-color var(--duration-slow) ease, box-shadow var(--duration-slow) ease;
}
.td-hero-2-navebar-grid li:nth-child(4n) .td-hero-2-navebar-single { border-right: var(--hairline) solid var(--color-line-on-dark); }
.td-hero-2-navebar-single svg { flex: 0 0 auto; opacity: 0.55; transform: translateX(calc(-1 * var(--nudge))); transition: all var(--duration-slow) ease; }
/* hover: jamb on the left edge + arrow slides in (Adina: arrow fades in) */
.td-hero-2-navebar-single:hover,
.td-hero-2-navebar-single:focus-visible { background: var(--color-hover-on-dark); box-shadow: inset var(--jamb-width) 0 0 var(--color-brand); }
.td-hero-2-navebar-single:hover svg,
.td-hero-2-navebar-single:focus-visible svg { opacity: 1; transform: translateX(0); color: var(--color-brand-on-dark); }
.td-hero-2-navebar-single:focus-visible { outline-offset: calc(-1 * var(--focus-offset)); }

@media (max-width: 991px) {
  :root { --hero-focus: 75% 40%; }
  .td-hero-2-navebar-grid { grid-template-columns: repeat(2, 1fr); }
  .td-hero-2-navebar-grid li:nth-child(4n) .td-hero-2-navebar-single { border-right: 0; }
  .td-hero-2-navebar-grid li:nth-child(2n) .td-hero-2-navebar-single { border-right: var(--hairline) solid var(--color-line-on-dark); }
  .td-hero-band { right: var(--band-offset-md); }
}
@media (max-width: 575px) {
  .td-hero-2-navebar-single { padding: var(--space-3) var(--space-4); font-size: var(--text-sm); min-height: var(--size-tile-sm); }
  .td-hero-band { right: 0; width: var(--space-3); }
  .td-hero-2-btn .td-btn { width: 100%; justify-content: space-between; }
}

/* ==========================================================================
   One company — AboutTwo.jsx; main.css:5490 (td-about-para)
   ========================================================================== */
.td-about-2-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: var(--space-16);
  align-items: center;
}
.td-about-2-left { padding-left: calc(var(--space-4) + var(--jamb-width)); }
.td-about-content-wrap .td-section-title { margin-bottom: var(--space-8); }
.td-about-lead { margin-bottom: var(--space-6); font-size: var(--text-lg); line-height: var(--leading-list); }
.td-about-para { color: var(--color-text-2); line-height: var(--leading-body); }

@media (max-width: 991px) {
  .td-about-2-grid { grid-template-columns: 1fr; gap: var(--space-10); }
}

/* ==========================================================================
   Services — ServiceAreaSix.jsx; main.css:7679–7755 (td-service-6-*)
   ========================================================================== */
.td-service-6-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
.td-service-6-item {
  position: relative;
  display: flex;
  gap: var(--space-8);
  padding: var(--space-10) var(--space-10) var(--space-8);
  background: var(--color-white);
  border: var(--hairline) solid var(--color-line);
  transition: box-shadow var(--duration) ease;
}
/* jamb as the card-hover indicator */
.td-service-6-item:hover,
.td-service-6-item:focus-within { box-shadow: inset var(--jamb-width) 0 0 var(--color-brand); }
.td-service-6-icon {
  flex: 0 0 auto;
  min-width: var(--measure-number);
  font-family: var(--font-display);
  font-stretch: var(--font-stretch-display);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  color: var(--color-brand-text);
}
.td-service-6-title {
  margin-bottom: var(--space-3);
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-snug);
}
/* underline grows on hover (main.css:7729, without the gradient trick) */
.td-service-6-title a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: var(--underline-thickness);
  text-underline-offset: var(--underline-offset);
  transition: text-decoration-color var(--duration) ease;
}
.td-service-6-title a::after { content: ""; position: absolute; inset: 0; }
.td-service-6-title a:hover,
.td-service-6-title a:focus-visible { text-decoration-color: var(--color-brand); }
.td-service-6-content p { color: var(--color-text-2); }

@media (max-width: 991px) {
  .td-service-6-grid { grid-template-columns: 1fr; gap: var(--space-4); }
}
@media (max-width: 575px) {
  .td-service-6-item { flex-direction: column; gap: var(--space-3); padding: var(--space-6); }
}

/* ==========================================================================
   Where to start — PortfolioTwo.jsx; main.css:9981–10090 (td-portfolio-2-*)
   ========================================================================== */
.td-portfolio-title-wrap { margin-bottom: var(--space-10); }
.td-portfolio-title-wrap .td-section-title { color: var(--color-text-on-dark); }
.td-portfolio-2-wrap { border-top: var(--hairline) solid var(--color-line-on-dark); }
.td-portfolio-2-content {
  display: grid;
  grid-template-columns: var(--space-20) 1fr auto;
  align-items: center;
  gap: var(--space-6);
  padding: var(--space-10) 0;
  border-bottom: var(--hairline) solid var(--color-line-on-dark);
  color: var(--color-text-on-dark);
  transition: background-color var(--duration) ease, padding var(--duration) ease;
}
.td-portfolio-2-title-pre {
  align-self: start;
  padding-top: var(--space-2);
  font-family: var(--font-display);
  font-stretch: var(--font-stretch-display);
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--color-brand-on-dark);
}
.td-portfolio-2-title {
  margin-bottom: var(--space-3);
  font-size: var(--text-3xl);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-snug);
}
.td-portfolio-2-body { max-width: var(--measure); color: var(--color-text-on-dark-2); }
.td-portfolio-2-body .review-flag { margin-left: var(--space-1); }
.td-portfolio-2-icon {
  display: inline-grid;
  place-items: center;
  width: var(--size-icon-circle); height: var(--size-icon-circle);
  border: var(--hairline) solid var(--color-line-on-dark);
  border-radius: var(--radius-round);
  color: var(--color-text-on-dark);
  fill: currentColor;
  transition: all var(--duration) ease;
}
.td-portfolio-2-icon svg { fill: currentColor; }
.td-portfolio-2-content:hover,
.td-portfolio-2-content:focus-visible { background: var(--color-hover-on-dark); padding-inline: var(--space-6); }
.td-portfolio-2-content:hover .td-portfolio-2-icon,
.td-portfolio-2-content:focus-visible .td-portfolio-2-icon { background: var(--color-brand); border-color: var(--color-brand); color: var(--color-ink); }

@media (max-width: 767px) {
  .td-portfolio-2-content { grid-template-columns: 1fr auto; gap: var(--space-3) var(--space-4); padding: var(--space-8) 0; }
  .td-portfolio-2-title-pre { grid-column: 1 / -1; padding-top: 0; }
  .td-portfolio-2-icon { width: var(--size-touch); height: var(--size-touch); align-self: start; }
}

/* ==========================================================================
   Occupied buildings — VideoAreaTwo.jsx; main.css:8487–8562
   (td-video-3-contact card overlapping the wide image)
   ========================================================================== */
.td-video-2-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: start;
}
.td-video-2-thumb { grid-column: 1 / 10; grid-row: 1; }
.td-video-3-contact {
  grid-column: 7 / 13;
  grid-row: 1;
  position: relative;
  z-index: 1;
  margin-top: var(--space-20);
  padding: var(--space-12) var(--space-10);
  background: var(--color-charcoal);
  color: var(--color-text-on-dark);
}
.td-section-title--card { margin-bottom: var(--space-6); font-size: var(--text-3xl); color: var(--color-text-on-dark); }
.td-video-3-lead { margin-bottom: var(--space-5); font-size: var(--text-md); line-height: var(--leading-list); }
.td-video-3-para { margin-bottom: var(--space-8); color: var(--color-text-on-dark-2); }
.td-video-3-para .review-flag { margin-right: var(--space-1); }

@media (max-width: 1199px) {
  .td-video-2-thumb { grid-column: 1 / 11; }
  .td-video-3-contact { grid-column: 5 / 13; }
}
@media (max-width: 767px) {
  .td-video-2-grid { display: block; }
  .td-video-3-contact { margin: calc(-1 * var(--space-12)) 0 0 var(--space-4); padding: var(--space-8) var(--space-6); }
}

/* ==========================================================================
   Credentials — BrandTwo.jsx; main.css:9723–9760
   (td-brand-logo-wrap-2, -border, td-brand-shape "+" corner marks)
   ========================================================================== */
.td-brand-grid {
  display: grid;
  grid-template-columns: 6fr 3fr 3fr;
  align-items: stretch;
}
.td-brand-title-wrap { padding-right: var(--space-12); padding-bottom: var(--space-10); }
.td-brand-title-wrap .td-section-title { margin-bottom: var(--space-6); }
.td-brand-title-wrap .td-about-para { margin-bottom: var(--space-8); max-width: var(--measure-copy); }

.td-brand-logo-border {
  position: relative;
  border: var(--hairline) solid var(--color-line-strong);
  margin-right: calc(-1 * var(--hairline));
  margin-top: calc(-1 * var(--hairline));
}
.td-brand-logo-wrap-2 { padding: var(--space-10) var(--space-8); background: var(--color-white); }

/* "+" corner marks, drawn in CSS (Font Awesome Pro removed) */
.td-brand-shape {
  position: absolute;
  z-index: 3;
  width: var(--plus-size);
  height: var(--plus-size);
}
.td-brand-shape::before,
.td-brand-shape::after { content: ""; position: absolute; background: var(--color-ink); }
.td-brand-shape::before { left: 0; right: 0; top: calc(50% - var(--plus-stroke) / 2); height: var(--plus-stroke); }
.td-brand-shape::after { top: 0; bottom: 0; left: calc(50% - var(--plus-stroke) / 2); width: var(--plus-stroke); }
.td-brand-shape-position   { top: calc(var(--plus-size) / -2);    left: calc(var(--plus-size) / -2); }
.td-brand-shape-position-2 { top: calc(var(--plus-size) / -2);    right: calc(var(--plus-size) / -2); }
.td-brand-shape-position-3 { bottom: calc(var(--plus-size) / -2); right: calc(var(--plus-size) / -2); }
.td-brand-shape-position-4 { bottom: calc(var(--plus-size) / -2); left: calc(var(--plus-size) / -2); }

.td-cred-title {
  margin-bottom: var(--space-5);
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-snug);
}
.td-cred-title--systems { margin-top: var(--space-16); margin-bottom: var(--space-8); }
.td-cred-list li {
  padding: var(--space-3) 0;
  border-top: var(--hairline) solid var(--color-line);
  font-size: var(--text-sm);
  line-height: var(--leading-list);
}
.td-cred-list li::before {
  content: "";
  display: block;
  width: var(--space-6);
  height: var(--dash-height);
  margin-bottom: var(--space-2);
  background: var(--color-brand);
}

.td-brand-systems { display: grid; grid-template-columns: repeat(5, 1fr); }
.td-brand-systems li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--size-cell);
  padding: var(--space-6) var(--space-4);
  background: var(--color-white);
  text-align: center;
  font-family: var(--font-display);
  font-stretch: var(--font-stretch-display);
  font-size: var(--text-md);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-ui);
}

@media (max-width: 1199px) {
  .td-brand-grid { grid-template-columns: 1fr 1fr; }
  .td-brand-title-wrap { grid-column: 1 / -1; }
}
@media (max-width: 991px) {
  .td-brand-systems { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 575px) {
  .td-brand-grid { grid-template-columns: 1fr; }
  .td-brand-title-wrap { padding-right: 0; }
  .td-brand-logo-wrap-2 { padding: var(--space-8) var(--space-6); }
  .td-brand-systems { grid-template-columns: repeat(2, 1fr); }
  .td-brand-systems li { min-height: var(--size-cell-sm); font-size: var(--text-base); }
}

/* ==========================================================================
   Leadership — TeamThree.jsx; main.css:9592–9678 (td-team-5-*)
   ========================================================================== */
.td-team-5-title-wrap { display: grid; justify-items: center; text-align: center; margin-bottom: var(--space-12); }
.td-team-5-title-wrap .td-section-title { max-width: none; }
.td-team-5-intro { max-width: var(--measure-wide); margin-top: var(--space-5); }
.td-team-5-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-8); }
.td-team-5-thumb { margin-bottom: var(--space-6); overflow: hidden; }
/* image zoom on hover (main.css:9633–9645), scaled down from 1.1 */
.td-team-5-thumb img { transition: transform var(--duration) ease-out; }
.td-team-5-wrap:hover .td-team-5-thumb img { transform: scale(var(--zoom-hover)); }
.td-team-5-title { margin-bottom: var(--space-2); font-size: var(--text-xl); font-weight: var(--weight-semibold); line-height: var(--leading-snug); }
.td-team-5-title a:hover { color: var(--color-brand-text); }
.td-team-5-position { display: block; font-size: var(--text-sm); color: var(--color-text-2); }
/* hairline under each card fills orange on hover (main.css:9648–9664) */
.td-team-5-social { position: relative; display: block; height: var(--hairline); margin-top: var(--space-6); background: var(--color-line); }
.td-team-5-social::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 0; height: var(--dash-height);
  margin-top: calc(-1 * var(--hairline));
  background: var(--color-brand);
  transition: all var(--duration-slow) ease;
}
.td-team-5-wrap:hover .td-team-5-social::before,
.td-team-5-wrap:focus-within .td-team-5-social::before { width: 100%; left: 0; right: auto; }
.td-team-5-bottom-btn { margin-top: var(--space-12); text-align: center; }

@media (max-width: 767px) {
  .td-team-5-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575px) {
  .td-team-5-grid { grid-template-columns: 1fr; gap: var(--space-10); }
}

/* ==========================================================================
   Service area — MapOne.jsx (td-map-*)
   ========================================================================== */
.td-map-row {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--space-12);
  align-items: end;
  margin-bottom: var(--space-12);
}
.td-map-para p { max-width: var(--measure); margin-bottom: var(--space-8); font-size: var(--text-md); }
.td-map-thumb .ph { border: var(--hairline) solid var(--color-line-strong); }

@media (max-width: 991px) {
  .td-map-row { grid-template-columns: 1fr; gap: var(--space-6); }
}
@media (max-width: 575px) {
  .td-map-thumb .ph { aspect-ratio: 4 / 3; }
}

/* ==========================================================================
   Stores — ContactThree.jsx (td-contact-4-*), one compact branch row
   ========================================================================== */
.td-contact-4-row {
  display: grid;
  grid-template-columns: 3fr 6fr 3fr;
  gap: var(--space-10);
  align-items: center;
}
.td-contact-4-title { margin-bottom: var(--space-3); font-size: var(--text-2xl); font-weight: var(--weight-semibold); }
.td-contact-4-content p { max-width: var(--measure); color: var(--color-text-2); }
.td-contact-4-cta { justify-self: end; }

@media (max-width: 991px) {
  .td-contact-4-row { grid-template-columns: 1fr 2fr; gap: var(--space-6) var(--space-8); }
  .td-contact-4-cta { grid-column: 2; justify-self: start; }
}
@media (max-width: 575px) {
  .td-contact-4-row { grid-template-columns: 1fr; }
  .td-contact-4-cta { grid-column: auto; }
}

/* ==========================================================================
   Closing CTA — VideoAreaFour.jsx (td-video-5-*), flat orange band
   ========================================================================== */
.td-video-5-area { padding-block: var(--space-section); }
.td-video-5-content { display: grid; justify-items: center; text-align: center; }
.td-video-5-title { margin-bottom: var(--space-6); font-size: var(--text-4xl); font-weight: var(--weight-bold); line-height: var(--leading-snug); }
.td-video-5-para { max-width: var(--measure-cta); margin-bottom: var(--space-10); font-size: var(--text-md); }
.td-video-5-btn { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-4) var(--space-8); }
.td-video-5-phone {
  font-weight: var(--weight-semibold);
  font-size: var(--text-md);
  text-decoration: underline;
  text-decoration-thickness: var(--underline-thickness);
  text-underline-offset: var(--underline-offset);
}
.td-video-5-phone:hover { text-decoration-color: var(--color-white); }

/* ==========================================================================
   Footer — FooterFour.jsx; main.css:4320–4557 (td-footer-3/4-*)
   ========================================================================== */
.td-footer-area { background: var(--color-ink); color: var(--color-text-on-dark); }
.td-footer-3-top { padding-top: var(--space-24); padding-bottom: var(--space-12); }
.td-footer-grid { display: grid; grid-template-columns: 4fr 2fr 3fr 3fr; gap: var(--space-10); }
.td-footer-3-logo img { width: var(--logo-width-footer); margin-bottom: var(--space-6); }
.td-footer-4-para { max-width: var(--measure-narrow); color: var(--color-text-on-dark-2); }
.td-footer-3-widget-title {
  margin-bottom: var(--space-5);
  font-size: var(--text-md);
  font-weight: var(--weight-semibold);
  color: var(--color-text-on-dark);
}
.td-footer-3-widget-title::after { content: ""; display: block; width: var(--dash-width); height: var(--dash-height); margin-top: var(--space-3); background: var(--color-brand); }
.td-footer-4-widget ul li { margin-bottom: var(--space-2); }
.td-footer-4-widget a,
.td-footer-4-link span { color: var(--color-text-on-dark-2); }
.td-footer-4-widget a:hover { color: var(--color-text-on-dark); text-decoration: underline; text-underline-offset: var(--underline-offset-sm); }
.td-footer-4-link { display: grid; gap: var(--space-3); }
.td-footer-4-link span span { color: inherit; }
.td-footer-3-bottom-border {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-top: var(--space-6);
  padding-bottom: var(--space-6);
  border-top: var(--hairline) solid var(--color-line-on-dark);
  font-size: var(--text-sm);
}
.td-footer-3-bottom-copyright { color: var(--color-text-on-dark-2); }
.td-footer-4-bottom-condition { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-8); }
.td-footer-4-bottom-condition a { color: var(--color-text-on-dark); }
.td-footer-4-bottom-condition a:hover { text-decoration: underline; text-underline-offset: var(--underline-offset-sm); }
.td-footer-area :focus-visible { outline-color: var(--color-brand-on-dark); }

@media (max-width: 991px) {
  .td-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575px) {
  .td-footer-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .td-footer-3-top { padding-top: var(--space-16); }
}
