/* MarTech Security — executive editorial design system
   Light theme, charcoal ink, single cobalt-blue accent (the "thin blue line").
   Typography-driven. Photography-respectful. No auto-rotating anything. */

:root {
  /* Paper-warm neutrals */
  --paper:        #FAFAF7;
  --paper-elev:   #FFFFFF;
  --paper-warm:   #F4F2EC;
  --paper-cool:   #EFF1F3;

  /* Ink (charcoals from the logo) */
  --ink-900:      #0F1419;
  --ink-800:      #14181E;
  --ink-700:      #1F262E;
  --ink-600:      #303841;
  --ink-500:      #4A5057;
  --ink-400:      #6B7079;
  --ink-300:      #8B9099;
  --ink-200:      #B7BBC1;
  --ink-100:      #DEDFD9;

  /* Steel from the armor */
  --steel-900:    #2D343C;
  --steel-700:    #545B65;
  --steel-500:    #7C8389;
  --steel-300:    #A6ABB1;
  --steel-100:    #D7DADD;

  /* The thin-blue-line accent (signature) */
  --blue-700:     #143E8C;
  --blue-600:     #1E5BC6;
  --blue-500:     #2563EB;
  --blue-400:     #4682E8;
  --blue-50:      #EBF1FB;

  --rule:         #DEDFD9;
  --rule-soft:    #ECECE6;

  --shadow-sm:    0 1px 2px rgba(15, 20, 25, 0.04), 0 1px 3px rgba(15, 20, 25, 0.06);
  --shadow-md:    0 4px 12px rgba(15, 20, 25, 0.06), 0 2px 6px rgba(15, 20, 25, 0.04);
  --shadow-lg:    0 16px 40px rgba(15, 20, 25, 0.08), 0 6px 16px rgba(15, 20, 25, 0.06);

  /* Typography */
  --serif:  "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, "Apple Garamond", Georgia, "Times New Roman", serif;
  --sans:   -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono:   ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  /* Layout */
  --max-w:        1280px;
  --max-w-narrow: 760px;
  --gutter:       clamp(1.25rem, 4vw, 3rem);
  --header-h:     128px;
  --radius:       4px;
  --radius-md:    8px;
  --radius-lg:    14px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(16px, 1.05vw, 17px);
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--paper);
  min-height: 100vh;
  overflow-x: hidden;
}

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

/* ============ Typography ============ */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.012em;
  color: var(--ink-900);
  margin: 0 0 0.4em;
}
h1 { font-size: clamp(2.25rem, 5.6vw, 4.25rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.65rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; line-height: 1.3; }

p { margin: 0 0 1.1rem; }

a {
  color: var(--blue-600);
  text-decoration: none;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.18s, text-decoration-color 0.18s;
}
a:hover, a:focus-visible {
  color: var(--blue-700);
  text-decoration: underline;
  text-decoration-color: var(--blue-500);
}
a:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 3px;
  border-radius: 2px;
}

.muted { color: var(--ink-500); }
.dim   { color: var(--ink-400); }
.serif { font-family: var(--serif); }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 0.85rem;
}

.lede {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--ink-600);
  max-width: 38em;
}

.kicker {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-400);
}

/* ============ Layout primitives ============ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.container--narrow { max-width: var(--max-w-narrow); }

.section { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.section--tight { padding: clamp(2rem, 4vw, 3.5rem) 0; }
.section--alt { background: var(--paper-warm); }
.section--ink {
  background: var(--ink-900);
  color: var(--paper);
}
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: var(--paper); }
.section--ink .muted { color: rgba(255,255,255,0.7); }
.section--ink .eyebrow { color: var(--blue-400); }
.section--ink a { color: var(--paper); border-bottom: 1px solid rgba(255,255,255,0.3); }

.divider {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--blue-600); color: var(--paper);
  padding: 0.6rem 1rem; font-weight: 700;
  border-radius: 0 0 6px 0; z-index: 1000;
}
.skip-link:focus { left: 0; }

/* ============ Header / Nav ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--rule);
}
.nav-wrap {
  display: flex; align-items: center; gap: 2rem;
  min-height: var(--header-h);
}
.brand {
  display: flex; align-items: center; gap: 0.85rem;
  text-decoration: none; color: var(--ink-900);
}
.brand:hover { text-decoration: none; color: var(--ink-900); }
.brand img {
  height: 108px; width: 108px;
  object-fit: contain;
}
.brand-text { font-size: 1.55rem; line-height: 1.05; }
.brand-text small { font-size: 0.78rem; margin-top: 6px; }

/* Slightly smaller on phones so logo + nav fit without crowding */
@media (max-width: 600px) {
  .brand img { height: 76px; width: 76px; }
  .brand-text { font-size: 1.15rem; }
  .brand-text small { font-size: 0.7rem; }
}
.brand-text {
  display: flex; flex-direction: column; line-height: 1.05;
  font-family: var(--serif); font-weight: 700;
  font-size: 1.15rem;
}
.brand-text small {
  font-family: var(--sans); font-weight: 600;
  font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue-600); margin-top: 4px;
}

.nav { display: flex; align-items: center; gap: 1.75rem; margin-left: auto; }
.nav a {
  color: var(--ink-700);
  font-size: 0.92rem; font-weight: 500;
  padding: 0.5rem 0; position: relative;
  border-bottom: 1px solid transparent;
  text-decoration: none;
}
.nav a:hover { color: var(--blue-700); text-decoration: none; }
.nav a[aria-current="page"] {
  color: var(--ink-900);
  border-bottom-color: var(--blue-600);
}

.nav-phone {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink-900);
  text-decoration: none;
  margin-right: 0.5rem;
  white-space: nowrap;
}
.nav-phone:hover { color: var(--blue-700); text-decoration: none; }
.nav-phone::before {
  content: ""; display: inline-block;
  width: 14px; height: 14px;
  margin-right: 0.45rem;
  background-color: var(--blue-600);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M6.6 10.8c1.5 2.9 3.8 5.2 6.7 6.7l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.5 0 1 .4 1 1V20c0 .5-.5 1-1 1C9.4 21 3 14.6 3 6c0-.5.5-1 1-1h3.5c.5 0 1 .5 1 1 0 1.2.2 2.5.6 3.6.1.4 0 .7-.2 1l-2.3 2.2z'/></svg>") no-repeat center/contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M6.6 10.8c1.5 2.9 3.8 5.2 6.7 6.7l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.5 0 1 .4 1 1V20c0 .5-.5 1-1 1C9.4 21 3 14.6 3 6c0-.5.5-1 1-1h3.5c.5 0 1 .5 1 1 0 1.2.2 2.5.6 3.6.1.4 0 .7-.2 1l-2.3 2.2z'/></svg>") no-repeat center/contain;
  vertical-align: -2px;
}

/* a.nav-cta beats .nav a in CSS specificity (0,2,0 vs 0,1,1 — wins via order) */
.nav a.nav-cta {
  background: var(--ink-900);
  color: var(--paper);
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-md);
  font-weight: 600; font-size: 0.92rem; letter-spacing: 0.01em;
  border: 1px solid var(--ink-900);
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}
.nav a.nav-cta:hover, .nav a.nav-cta:focus-visible {
  background: var(--blue-700);
  border-color: var(--blue-700);
  color: var(--paper);
  text-decoration: none;
}
.nav a.nav-cta[aria-current="page"] {
  color: var(--paper);
  border-bottom-color: transparent;
}

.menu-btn {
  display: none;
  background: transparent; border: 1px solid var(--ink-200);
  border-radius: var(--radius-md);
  color: var(--ink-700); padding: 0.5rem 0.7rem; cursor: pointer;
  font-size: 1.2rem; line-height: 1;
}

@media (max-width: 980px) {
  .nav-phone { display: none; }
}
@media (max-width: 880px) {
  .menu-btn { display: inline-flex; margin-left: auto; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper-elev); border-bottom: 1px solid var(--rule);
    padding: 0.5rem var(--gutter) 1rem;
    margin: 0;
    box-shadow: var(--shadow-md);
    transform: translateY(-10px); opacity: 0; pointer-events: none;
    transition: transform 0.2s, opacity 0.2s;
  }
  .nav[data-open="true"] {
    transform: translateY(0); opacity: 1; pointer-events: auto;
  }
  .nav a, .nav-cta {
    padding: 0.95rem 0.4rem; border-bottom: 1px solid var(--rule);
    text-align: left; border-radius: 0;
  }
  .nav-cta {
    margin-top: 0.5rem; background: var(--ink-900); color: var(--paper);
    border: 0; border-radius: var(--radius-md);
    text-align: center; padding: 0.85rem;
  }
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius-md);
  font-weight: 600; font-size: 0.98rem; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.15s, box-shadow 0.18s, background 0.18s, color 0.18s, border-color 0.18s;
  font-family: var(--sans);
}
.btn--primary {
  background: var(--ink-900); color: var(--paper);
  border-color: var(--ink-900);
}
.btn--primary:hover, .btn--primary:focus-visible {
  background: var(--blue-700); border-color: var(--blue-700);
  color: var(--paper); text-decoration: none;
}
.btn--accent {
  background: var(--blue-600); color: var(--paper);
  border-color: var(--blue-600);
}
.btn--accent:hover, .btn--accent:focus-visible {
  background: var(--blue-700); border-color: var(--blue-700);
  color: var(--paper); text-decoration: none;
}
.btn--ghost {
  background: transparent; color: var(--ink-900);
  border-color: var(--ink-200);
}
.btn--ghost:hover, .btn--ghost:focus-visible {
  background: var(--paper-elev); border-color: var(--ink-900);
  color: var(--ink-900); text-decoration: none;
}
.btn--text {
  background: transparent; color: var(--ink-900);
  border: 0; padding: 0.5rem 0;
  border-bottom: 1px solid var(--ink-900);
  border-radius: 0;
}
.btn--text:hover, .btn--text:focus-visible {
  color: var(--blue-700); border-color: var(--blue-700); text-decoration: none;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }

/* ============ Hero (editorial, no carousel) ============ */
.hero {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 5rem);
  position: relative;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 880px) { .hero__grid { grid-template-columns: 1fr; } }

.hero__copy { max-width: 38rem; }
.hero h1 {
  margin-bottom: 1.25rem;
}
.hero__lede {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  line-height: 1.5;
  color: var(--ink-500);
  margin-bottom: 2rem;
  max-width: 32em;
}
.hero__meta {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  display: flex; gap: 2rem; flex-wrap: wrap;
}
.hero__meta-item .kicker { color: var(--blue-600); }
.hero__meta-item strong {
  display: block;
  font-family: var(--serif); font-weight: 700;
  font-size: 1.1rem; color: var(--ink-900);
  margin-top: 0.2rem;
}

/* Image side of hero */
.hero__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--paper-warm);
  aspect-ratio: 4 / 5;
}
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  /* Portrait photos of people — focus on upper third where faces are */
  object-position: center 25%;
}
.hero__media-frame {
  position: absolute; inset: 0;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  pointer-events: none;
}
.hero__media-tag {
  position: absolute; left: 1.25rem; bottom: 1.25rem;
  background: rgba(15, 20, 25, 0.86);
  color: var(--paper);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius);
  font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 600;
  backdrop-filter: blur(8px);
}
.hero__blue-line {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-600) 0%, var(--blue-500) 100%);
}

/* ============ Trust strip (broadsheet style) ============ */
.trust-strip {
  border-block: 1px solid var(--rule);
  background: var(--paper-elev);
  padding: 1.5rem 0;
}
.trust-strip__grid {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: center; gap: 1rem 2.5rem;
}
.trust-strip__item {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-600);
}
.trust-strip__item svg {
  width: 18px; height: 18px; color: var(--blue-600);
  flex: 0 0 auto;
}
.trust-strip__divider {
  width: 1px; height: 18px; background: var(--ink-200);
  display: none;
}
@media (min-width: 880px) {
  .trust-strip__grid { justify-content: center; }
  .trust-strip__divider { display: inline-block; }
}

/* ============ Section heads ============ */
.section-head { margin-bottom: clamp(2rem, 4vw, 3.5rem); max-width: 56rem; }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head h2 { margin-bottom: 0.85rem; }
.section-head p { color: var(--ink-500); font-size: clamp(1rem, 1.3vw, 1.12rem); margin: 0; }

/* ============ Service feature cards ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.svc-card {
  position: relative;
  background: var(--paper-elev);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  text-decoration: none;
  color: inherit;
}
.svc-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--ink-200);
  text-decoration: none;
  color: inherit;
}
.svc-card__media {
  aspect-ratio: 4 / 3;
  background: var(--paper-cool);
  position: relative;
  overflow: hidden;
}
.svc-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 25%;
  transition: transform 0.4s ease;
}
/* Per-photo focal-point overrides — full-body guard photo needs more torso visible */
.svc-card__media img[src*="guard-male-1"]      { object-position: center 38%; }
.svc-row__media img[src*="guard-male-1"]       { object-position: center 42%; }
.svc-card__media img[src*="owners-on-duty"]    { object-position: center 30%; }
.svc-row__media img[src*="owners-on-duty"]     { object-position: center 30%; }
.svc-card__media img[src*="airshow-wanding"]   { object-position: center 50%; }
.svc-row__media img[src*="airshow-wanding"]    { object-position: center 50%; }
.svc-card:hover .svc-card__media img { transform: scale(1.04); }
.svc-card__media::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--blue-600);
}
.svc-card__body {
  padding: 1.5rem 1.5rem 1.65rem;
  flex: 1; display: flex; flex-direction: column;
}
.svc-card__body h3 {
  margin-bottom: 0.7rem;
  font-size: 1.35rem;
}
.svc-card__list {
  list-style: none; padding: 0; margin: 0 0 1.25rem;
  font-size: 0.92rem; color: var(--ink-500);
}
.svc-card__list li { padding: 0.18rem 0; }
.svc-card__list li::before {
  content: "·"; color: var(--blue-600); font-weight: 700;
  margin-right: 0.5rem;
}
.svc-card__cta {
  margin-top: auto;
  font-weight: 600; color: var(--ink-900);
  border-bottom: 1px solid var(--ink-900);
  padding-bottom: 2px; align-self: flex-start;
  font-size: 0.92rem;
}
.svc-card:hover .svc-card__cta { color: var(--blue-700); border-color: var(--blue-700); }

/* ============ Service detail rows (Services page) ============ */
.svc-detail { display: flex; flex-direction: column; gap: clamp(3rem, 6vw, 5rem); }
.svc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.svc-row:nth-child(even) > .svc-row__media { order: 2; }
@media (max-width: 880px) {
  .svc-row { grid-template-columns: 1fr; }
  .svc-row:nth-child(even) > .svc-row__media { order: 0; }
}
.svc-row__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--paper-warm);
  box-shadow: var(--shadow-md);
  position: relative;
}
.svc-row__media img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 30%;
}
.svc-row__media::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 3px; background: var(--blue-600);
}
.svc-row__body h2 { margin-bottom: 1rem; }
.svc-row__body ul {
  list-style: none; padding: 0; margin: 1.25rem 0 1.5rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem 1.25rem;
  font-size: 0.97rem; color: var(--ink-600);
}
.svc-row__body ul li { padding-left: 1.1rem; position: relative; }
.svc-row__body ul li::before {
  content: ""; position: absolute; left: 0; top: 0.7em;
  width: 8px; height: 1px; background: var(--blue-600);
}

/* ============ About snippet (owners) ============ */
.owners {
  display: grid; grid-template-columns: 5fr 6fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
@media (max-width: 880px) { .owners { grid-template-columns: 1fr; } }
.owners__media {
  border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg);
  background: var(--paper-warm);
  position: relative;
}
.owners__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.owners__media-tag {
  position: absolute; left: 1rem; bottom: 1rem;
  background: rgba(255,255,255,0.96);
  color: var(--ink-900); padding: 0.45rem 0.85rem;
  border-radius: var(--radius);
  font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 700;
}
.owners__media-tag span { color: var(--blue-600); margin: 0 0.4em; }
.owners__body h2 { margin-bottom: 1rem; }
.owners__quote {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  line-height: 1.35;
  color: var(--ink-900);
  border-left: 3px solid var(--blue-600);
  padding-left: 1.25rem;
  margin: 1.75rem 0 1rem;
  max-width: 32em;
}
.owners__attribution {
  font-family: var(--sans); font-size: 0.85rem; color: var(--ink-400);
  letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600;
}

/* ============ Owner cards (About page) ============ */
.owner-cards {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.owner-card {
  background: var(--paper-elev);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.owner-card__photo {
  aspect-ratio: 4 / 5;
  background: var(--paper-warm);
  overflow: hidden;
}
.owner-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.owner-card__body { padding: 1.5rem 1.5rem 1.75rem; }
.owner-card__role {
  font-family: var(--sans);
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--blue-600); font-weight: 600; margin-bottom: 0.4rem;
}
.owner-card h3 {
  font-size: 1.5rem; margin-bottom: 0.6rem;
}
.owner-card__bio { color: var(--ink-500); font-size: 0.96rem; margin-bottom: 1rem; }
.owner-card__contact a {
  display: block; font-size: 0.92rem; padding: 0.18rem 0;
  color: var(--ink-700);
}
.owner-card__contact a:hover { color: var(--blue-700); }

/* ============ Employee carousel (manual paging, no auto-rotate) ============ */
/* ====== Team rail — continuous marquee scroll (CSS-only, no pause) ======
   Cards are duplicated in HTML so the loop is seamless: animation translates
   the track from 0 to -50%, landing back at the start of the original sequence.
*/
.team-rail {
  position: relative;
  margin-top: 2.5rem;
  overflow: hidden;
  /* Soft fade-out edges so cards drift in/out elegantly instead of clipping */
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
          mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.team-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: martech-marquee 50s linear infinite;
  will-change: transform;
}
@keyframes martech-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.team-card {
  flex: 0 0 auto;
  width: clamp(240px, 26vw, 360px);
  background: var(--paper-elev);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.team-card__media {
  aspect-ratio: 3 / 4;
  background: var(--paper-warm);
  overflow: hidden;
}
.team-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.team-card__body {
  padding: 0.85rem 1rem 1.1rem;
}
.team-card__caption {
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--ink-500);
  letter-spacing: 0.04em;
}
/* Reduced-motion users: pause the marquee but allow manual horizontal scroll */
@media (prefers-reduced-motion: reduce) {
  .team-rail { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .team-track { animation: none; }
}
/* Hide the now-obsolete prev/next nav buttons (no longer needed for continuous scroll) */
.team-rail__nav { display: none; }

/* ============ Pull-quote testimonials ============ */
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.quote {
  background: var(--paper-elev);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--blue-600);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.85rem 1.65rem;
}
.quote__body {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  font-style: italic;
  line-height: 1.55;
  color: var(--ink-800);
  margin: 0 0 1.1rem;
}
.quote__cite {
  font-style: normal;
  font-family: var(--sans);
}
.quote__author {
  font-weight: 700; color: var(--ink-900); font-size: 0.95rem;
}
.quote__org {
  display: block; font-size: 0.85rem; color: var(--ink-400);
  letter-spacing: 0.04em; margin-top: 2px;
}

/* ============ CTA band ============ */
.cta-band {
  background: var(--ink-900); color: var(--paper);
  padding: clamp(3rem, 6vw, 5rem) 0;
  position: relative;
}
.cta-band::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-600) 0%, var(--blue-500) 100%);
}
.cta-band__grid {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem); align-items: center;
}
@media (max-width: 880px) { .cta-band__grid { grid-template-columns: 1fr; } }
.cta-band h2 { color: var(--paper); margin-bottom: 1rem; max-width: 18em; }
.cta-band__lede {
  font-family: var(--serif); font-size: clamp(1.05rem, 1.3vw, 1.15rem);
  font-style: italic; line-height: 1.5;
  color: rgba(255,255,255,0.78);
  max-width: 32em;
}
.cta-band__phones {
  display: flex; flex-direction: column; gap: 0.85rem;
}
.cta-phone-row {
  display: flex; align-items: center; gap: 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  text-decoration: none; color: var(--paper);
  transition: background 0.18s, border-color 0.18s;
}
.cta-phone-row:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--blue-500);
  text-decoration: none; color: var(--paper);
}
.cta-phone-row__name {
  font-family: var(--sans); font-size: 0.78rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.6); display: block; margin-bottom: 2px;
}
.cta-phone-row__num {
  font-family: var(--serif); font-size: 1.2rem;
  font-weight: 700; color: var(--paper);
}

/* ============ Article (blog post) ============ */
.article {
  max-width: 720px; margin: 0 auto;
}
.article__header { margin-bottom: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--rule); }
.article__meta {
  display: flex; gap: 1rem; flex-wrap: wrap;
  font-family: var(--sans); font-size: 0.82rem;
  color: var(--ink-400); letter-spacing: 0.04em;
  margin-bottom: 0.85rem;
  align-items: center;
}
.article__meta a { color: var(--ink-700); text-decoration: none; }
.article__meta a:hover { color: var(--blue-700); }
.article__meta time, .article__meta .badge { font-family: var(--sans); }
.article__title { font-size: clamp(2rem, 4.6vw, 3rem); margin-bottom: 0.7rem; }
.article__hero {
  margin: 0 0 2.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--rule);
  aspect-ratio: 16 / 9;
  background: var(--paper-warm);
  position: relative;
}
.article__hero img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
}
.article__hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 3px; background: var(--blue-600);
}
.article__deck {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.5;
  color: var(--ink-500);
  max-width: 36em;
}
.article__body {
  font-family: var(--serif); font-size: 1.12rem; line-height: 1.75;
  color: var(--ink-800);
}
.article__body p:first-of-type::first-letter {
  font-family: var(--serif); font-weight: 700;
  font-size: 3.5em; float: left; line-height: 0.85;
  margin: 0.05em 0.08em 0 -0.05em; color: var(--ink-900);
}
.article__body h2 {
  font-family: var(--serif);
  font-size: 1.55rem; margin-top: 2.5rem; margin-bottom: 0.85rem;
  color: var(--ink-900);
}
.article__body h3 {
  font-family: var(--serif);
  font-size: 1.2rem; margin-top: 1.85rem; margin-bottom: 0.6rem;
  color: var(--ink-900);
}
.article__body p { margin-bottom: 1.25rem; }
.article__body strong { color: var(--ink-900); font-weight: 700; }
.article__body ul, .article__body ol { padding-left: 1.5rem; margin-bottom: 1.25rem; font-family: var(--serif); }
.article__body li { margin-bottom: 0.5rem; }
.article__body blockquote {
  border-left: 3px solid var(--blue-600);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 1.75rem 0;
  font-style: italic;
}
.article__cta {
  margin-top: 3.5rem;
  padding: 2rem;
  background: var(--paper-warm);
  border-radius: var(--radius-lg);
  text-align: center;
}
.article__cta h3 { font-size: 1.35rem; margin-bottom: 0.85rem; }
.article__cta .muted { font-family: var(--sans); font-size: 0.95rem; }

/* ============ Blog index ============ */
.blog-list {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
/* Blog cards — entire tile is clickable via "stretched link" pattern.
   The <h3><a> stays in the source for accessibility/SEO; CSS makes its
   ::before pseudo-element fill the card so any click on the card lands. */
.blog-card {
  position: relative;             /* anchors the stretched-link ::before */
  background: var(--paper-elev);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  display: flex; flex-direction: column; gap: 0.55rem;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  cursor: pointer;                /* whole tile feels clickable */
}
.blog-card:hover {
  border-color: var(--ink-200);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.blog-card time, .blog-card .kicker {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--ink-400);
  letter-spacing: 0.08em;
}
.blog-card h3 { font-size: 1.4rem; margin: 0.3rem 0 0.5rem; line-height: 1.25; }
.blog-card h3 a { color: var(--ink-900); text-decoration: none; }
.blog-card h3 a:hover { color: var(--blue-700); text-decoration: none; }
/* Stretch the link to cover the entire card */
.blog-card h3 a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}
/* Keep focus ring on the link visible (it sits above the stretched area) */
.blog-card h3 a:focus-visible::before {
  outline: 2px solid var(--blue-500);
  outline-offset: -3px;
}
.blog-card p { color: var(--ink-500); font-size: 0.97rem; margin: 0; line-height: 1.55; position: relative; }
.blog-card__more {
  margin-top: 0.6rem; font-weight: 600; font-size: 0.9rem;
  color: var(--ink-900);
}
.blog-card__more::after { content: " →"; transition: margin 0.18s; }
.blog-card:hover .blog-card__more { color: var(--blue-700); }
.blog-card:hover .blog-card__more::after { margin-left: 4px; }

/* ============ Forms ============ */
.contact-grid {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

.form {
  display: grid; gap: 1.1rem;
  background: var(--paper-elev);
  border: 1px solid var(--rule);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.form__field { display: flex; flex-direction: column; gap: 0.4rem; }
.form__label {
  font-size: 0.85rem; font-weight: 600;
  color: var(--ink-900); letter-spacing: 0.01em;
}
.form__label .required { color: var(--blue-600); margin-left: 2px; }
.form__input, .form__select, .form__textarea {
  background: var(--paper); border: 1px solid var(--ink-200);
  color: var(--ink-900); border-radius: var(--radius-md);
  padding: 0.78rem 0.9rem; font-size: 1rem;
  font-family: var(--sans); width: 100%;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.form__input:focus, .form__select:focus, .form__textarea:focus {
  outline: 0; border-color: var(--blue-600);
  box-shadow: 0 0 0 3px var(--blue-50);
}
.form__textarea { resize: vertical; min-height: 110px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.form__hp { position: absolute; left: -9999px; top: -9999px; opacity: 0; pointer-events: none; }
.form__note { font-size: 0.85rem; color: var(--ink-400); }
.form__submit-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

.contact-meta { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-meta__block h4 {
  font-family: var(--serif); font-weight: 700; font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.contact-meta__role {
  font-family: var(--sans); font-size: 0.78rem;
  color: var(--blue-600); font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 0.3rem;
}
.contact-meta__phone {
  font-family: var(--serif); font-size: 1.3rem; font-weight: 700;
  display: inline-block;
  color: var(--ink-900);
}
.contact-meta__email {
  display: block; font-size: 0.92rem; margin-top: 4px;
}

/* ============ Footer ============ */
.site-footer {
  background: var(--paper-warm);
  border-top: 1px solid var(--rule);
  padding: clamp(3rem, 5vw, 4rem) 0 2rem;
  color: var(--ink-500);
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; flex-direction: column; gap: 0.85rem; }
.footer-brand img { width: 56px; height: 56px; object-fit: contain; }
.footer-brand h4 { font-family: var(--serif); font-size: 1.15rem; color: var(--ink-900); margin: 0 0 0.25rem; }
.footer-brand p { font-size: 0.92rem; color: var(--ink-500); margin: 0; max-width: 28em; }
.footer-col h5 {
  font-family: var(--sans);
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-900); font-weight: 700;
  margin: 0 0 1rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: var(--ink-500); text-decoration: none; }
.footer-col a:hover { color: var(--blue-700); }

.social { display: flex; gap: 0.6rem; margin-top: 0.65rem; }
.social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--paper-elev); border: 1px solid var(--rule);
  display: grid; place-items: center;
  color: var(--ink-500); transition: all 0.18s;
}
.social a:hover {
  color: var(--blue-700); border-color: var(--blue-600);
  transform: translateY(-2px); text-decoration: none;
}
.social svg { width: 18px; height: 18px; }

.footer-bottom {
  border-top: 1px solid var(--rule); padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: 0.82rem; color: var(--ink-400);
}
.footer-bottom a { color: var(--ink-500); }

/* ============ Misc utility ============ */
.area-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.85rem; }
.area-chip {
  background: var(--paper-elev); border: 1px solid var(--rule);
  border-radius: 999px; padding: 0.35rem 0.95rem;
  font-size: 0.82rem; color: var(--ink-700); font-weight: 500;
}

.badge {
  display: inline-block; padding: 0.18rem 0.6rem;
  background: var(--blue-50);
  color: var(--blue-700);
  border: 1px solid var(--blue-600);
  border-radius: 999px;
  font-size: 0.76rem; letter-spacing: 0.05em; font-weight: 600;
}

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

/* Utility classes (replace inline style attributes) */
.u-text-center  { text-align: center; }
.u-justify-center { justify-content: center; }
.u-mt-sm  { margin-top: 0.5rem; }
.u-mt-md  { margin-top: 1rem; }
.u-mt-lg  { margin-top: 1.75rem; }

/* Reveal on scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .nav-cta, .menu-btn, .team-rail__nav { display: none; }
  body { background: white; color: black; }
  a { color: black; text-decoration: underline; }
}
