/* ==========================================================================
   Titan Structural Engineering, PLLC
   Master stylesheet  |  v2.0  |  August 2026
   Plain CSS, no build step.  Single file for the whole site.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1.  Tokens
   -------------------------------------------------------------------------- */
:root {
  --navy:          #193449;
  --navy-dark:     #0f2233;
  --navy-deep:     #0a1824;
  --navy-light:    #1e4060;
  --jasper:        #789b97;
  --jasper-light:  #96b5b1;
  --jasper-dark:   #5f817d;
  --jasper-pale:   #e8efee;
  --grid-gray:     #a7a9ac;
  --grid-gray-lt:  #d3d4d6;
  --white:         #ffffff;
  --off-white:     #f4f5f6;
  --text:          #2a3842;
  --text-light:    #5a6a74;

  --font-heading: 'Poppins', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Lato', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;

  --max-width: 1180px;
  --gutter: 28px;
  --transition: 0.28s ease;
  --shadow-sm: 0 2px 10px rgba(15, 34, 51, 0.07);
  --shadow-md: 0 10px 30px rgba(15, 34, 51, 0.12);
  --shadow-lg: 0 20px 50px rgba(15, 34, 51, 0.18);

  --header-h: 92px;
  --header-h-shrunk: 66px;
}

/* --------------------------------------------------------------------------
   2.  Reset and base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--navy-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--jasper-dark); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.18;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.08rem; }

p { margin: 0 0 1.15em; }
ul, ol { margin: 0 0 1.15em; padding-left: 1.25em; }
li { margin-bottom: 0.45em; }

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

.skip-link {
  position: absolute; left: 0; top: 0; z-index: 999;
  background: var(--navy); color: #fff; padding: 12px 20px;
  transform: translateY(-120%);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); }

/* --------------------------------------------------------------------------
   3.  Layout helpers
   -------------------------------------------------------------------------- */
.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.wrap-narrow { max-width: 860px; margin: 0 auto; padding: 0 var(--gutter); }

.section { padding: 92px 0; }
.section-sm { padding: 62px 0; }
.section-tight { padding: 52px 0; }
.bg-off { background: var(--off-white); }
.bg-pale { background: var(--jasper-pale); }
.bg-navy { background: var(--navy); color: #dfe7ec; }
.bg-navy h2, .bg-navy h3, .bg-navy h4 { color: #fff; }

.section-header { text-align: center; max-width: 820px; margin: 0 auto 54px; }
.section-header p { color: var(--text-light); font-size: 1.06rem; margin-bottom: 0; }
.bg-navy .section-header p { color: #b9c8d3; }

.eyebrow {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--jasper-dark);
  margin-bottom: 12px;
  display: block;
}
.bg-navy .eyebrow { color: var(--jasper-light); }

/* Jasper rule under headings, a nod to the grid lines in the mark */
.rule::after {
  content: "";
  display: block;
  width: 62px; height: 3px;
  background: var(--jasper);
  margin: 18px 0 0;
}
.rule-center::after { margin: 18px auto 0; }

/* --------------------------------------------------------------------------
   4.  Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 14px 30px;
  border: 2px solid var(--navy);
  background: var(--navy);
  color: #fff;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}
.btn:hover { background: var(--navy-light); border-color: var(--navy-light); color: #fff; }

.btn-outline { background: transparent; color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }

.btn-light { background: transparent; border-color: rgba(255,255,255,0.75); color: #fff; }
.btn-light:hover { background: #fff; border-color: #fff; color: var(--navy); }

.btn-jasper { background: var(--jasper-dark); border-color: var(--jasper-dark); color: #fff; }
.btn-jasper:hover { background: var(--jasper); border-color: var(--jasper); color: var(--navy); }

.btn-sm { padding: 9px 20px; font-size: 0.84rem; }

/* --------------------------------------------------------------------------
   5.  Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--navy);
  transition: background var(--transition), box-shadow var(--transition);
}
.site-header.header-shrunk {
  background: rgba(15, 34, 51, 0.97);
  box-shadow: 0 2px 18px rgba(0,0,0,0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  transition: height var(--transition);
}
.header-shrunk .header-inner { height: var(--header-h-shrunk); }

.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { transition: all var(--transition); }
.logo-full { height: 44px; width: auto; }
.logo-icon { height: 34px; width: auto; display: none; }
.header-shrunk .logo-full { display: none; }
.header-shrunk .logo-icon { display: block; }

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

.main-nav ul {
  display: flex;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav li { margin: 0; }
.main-nav a {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: #dbe4ea;
  padding: 6px 0;
  position: relative;
  white-space: nowrap;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--jasper);
  transition: width var(--transition);
}
.main-nav a:hover { color: #fff; }
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }
.main-nav a.active { color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  width: 44px; height: 44px;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: #fff;
  margin: 5px auto;
  transition: var(--transition);
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   6.  Homepage hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  min-height: 620px;
  display: flex;
  align-items: center;
}
.hero-photo {
  position: absolute;
  inset: 0 0 0 42%;
  background-size: cover;
  background-position: center;
}
.hero-photo::before {
  /* diagonal navy wedge sweeping over the photo, the Equidsoft slash motif */
  content: "";
  position: absolute; inset: 0;
  background: var(--navy);
  clip-path: polygon(0 0, 30% 0, 0 100%);
}
.hero-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(25,52,73,0.92) 0%, rgba(25,52,73,0.35) 40%, rgba(25,52,73,0.15) 100%);
}
.hero-jasper {
  position: absolute;
  left: 0; bottom: 0;
  width: 46%; height: 190px;
  background: var(--jasper);
  clip-path: polygon(0 42%, 100% 100%, 0 100%);
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 110px var(--gutter) 130px;
  width: 100%;
}
.hero-content .inner { max-width: 560px; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero-sub {
  font-size: 1.12rem;
  color: #cfdae2;
  max-width: 520px;
  margin-bottom: 34px;
}

/* Interior page hero: full-bleed photo band with title */
.hero-interior {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  background: var(--navy) center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.hero-interior::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,24,36,0.88) 0%, rgba(10,24,36,0.62) 55%, rgba(10,24,36,0.42) 100%);
}
.hero-interior .wrap { position: relative; z-index: 2; padding-top: 70px; padding-bottom: 58px; width: 100%; }
.hero-interior h1 { color: #fff; margin-bottom: 10px; }
.hero-interior p { color: #cfdae2; max-width: 640px; margin-bottom: 0; }
.hero-interior .eyebrow { color: var(--jasper-light); }

/* Diagonal jasper edge used to separate bands */
.slash-top { position: relative; }
.slash-top::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 55%; height: 64px;
  background: var(--jasper);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  z-index: 3;
}

/* --------------------------------------------------------------------------
   7.  Credentials bar
   -------------------------------------------------------------------------- */
.credentials-bar {
  background: var(--navy-dark);
  padding: 0;
  position: relative;
  z-index: 4;
}
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--max-width);
  margin: 0 auto;
}
.cred {
  padding: 44px 34px;
  border-left: 1px solid rgba(255,255,255,0.10);
  text-align: center;
}
.cred:first-child { border-left: 0; }
.cred-figure {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 3.6vw, 2.9rem);
  font-weight: 700;
  color: var(--jasper-light);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.cred-label {
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  display: block;
  margin-bottom: 6px;
}
.cred-note { font-size: 0.88rem; color: #9fb3c1; margin: 0; line-height: 1.5; }

/* --------------------------------------------------------------------------
   8.  Split feature block (photo + panel)
   Photo and panel sit flush in a contained two-column grid, equal height.
   The jasper wedge is an outer corner accent on the photo, and a jasper rule
   marks the joint, so nothing overlaps and the seam reads as deliberate.
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  align-items: stretch;
  gap: 0;
  box-shadow: var(--shadow-md);
}

.split-photo {
  position: relative;
  overflow: hidden;
  min-height: 460px;
}
.split-photo picture { width: 100%; height: 100%; }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }
.split-photo::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 26%; height: 22%;
  background: var(--jasper);
  clip-path: polygon(0 100%, 0 0, 100% 100%);
}

.split-panel {
  background: var(--off-white);
  border-left: 4px solid var(--jasper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 62px 56px;
  position: relative;
}
.split-panel p:last-of-type { margin-bottom: 26px; }
.split-panel .btn { align-self: flex-start; }

.split.reverse .split-photo { order: 2; }
.split.reverse .split-panel {
  order: 1;
  border-left: 0;
  border-right: 4px solid var(--jasper);
}
.split.reverse .split-photo::after {
  left: auto; right: 0;
  clip-path: polygon(100% 100%, 100% 0, 0 100%);
}

/* --------------------------------------------------------------------------
   9.  Service card grid
   -------------------------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--navy);
  color: #cfdae2;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.card-photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.card-photo picture { width: 100%; height: 100%; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.card:hover .card-photo img { transform: scale(1.05); }
.card-photo::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 34%; height: 28%;
  background: var(--jasper);
  clip-path: polygon(0 100%, 0 0, 100% 100%);
}
.card-body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { color: #fff; font-size: 1.14rem; margin-bottom: 14px; }
.card-body h3::after {
  content: "";
  display: block;
  width: 42px; height: 2px;
  background: var(--jasper);
  margin-top: 12px;
}
.card-body p { font-size: 0.94rem; line-height: 1.62; color: #b6c6d2; flex: 1; }
.card-body .btn { align-self: flex-start; margin-top: 14px; }

/* Light variant used on the Services page */
.card-light { background: var(--white); color: var(--text); box-shadow: var(--shadow-sm); }
.card-light .card-body h3 { color: var(--navy); }
.card-light .card-body p { color: var(--text-light); }

/* --------------------------------------------------------------------------
   10.  Icon feature rows (Why Titan)
   -------------------------------------------------------------------------- */
.alt-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 84px;
}
.alt-row:last-child { margin-bottom: 0; }
.alt-row.reverse .alt-media { order: 2; }
.alt-media { position: relative; }
.alt-media picture { width: 100%; }
.alt-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.alt-media::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 28%; height: 24%;
  background: var(--jasper);
  clip-path: polygon(0 100%, 0 0, 100% 100%);
}
.alt-row.reverse .alt-media::after {
  left: auto; right: 0;
  clip-path: polygon(100% 100%, 100% 0, 0 100%);
}
.alt-number {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  font-weight: 700;
  color: var(--jasper-pale);
  line-height: 1;
  display: block;
  margin-bottom: -18px;
}

/* --------------------------------------------------------------------------
   11.  Value cards (About)
   -------------------------------------------------------------------------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.value-card {
  background: var(--white);
  border-top: 4px solid var(--jasper);
  padding: 34px 26px 32px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.value-icon {
  width: 46px; height: 46px;
  margin-bottom: 18px;
  color: var(--jasper-dark);
}
.value-icon svg { width: 100%; height: 100%; }
.value-card h3 { font-size: 1.16rem; margin-bottom: 4px; }
.value-tag {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--jasper-dark);
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 14px;
}
.value-card p { font-size: 0.92rem; line-height: 1.6; color: var(--text-light); margin-bottom: 0; }

/* --------------------------------------------------------------------------
   12.  Two column text
   -------------------------------------------------------------------------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.two-col-wide { grid-template-columns: 1.4fr 1fr; }
.two-col-narrow { grid-template-columns: 1fr 1.6fr; }

/* Credential / spec list */
.spec-list { list-style: none; padding: 0; margin: 0; }
.spec-list li {
  padding: 13px 0 13px 30px;
  border-bottom: 1px solid var(--grid-gray-lt);
  position: relative;
  font-size: 0.98rem;
  margin: 0;
}
.spec-list li::before {
  content: "";
  position: absolute;
  left: 4px; top: 22px;
  width: 10px; height: 10px;
  background: var(--jasper);
  transform: rotate(45deg);
}
.spec-list li:last-child { border-bottom: 0; }

/* Checklist with jasper markers, used on service pages */
.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 44px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.check-grid li {
  position: relative;
  padding: 12px 0 12px 40px;
  font-size: 0.98rem;
  line-height: 1.55;
  border-bottom: 1px solid var(--grid-gray-lt);
}
.check-grid li::before {
  content: "";
  position: absolute;
  left: 6px; top: 18px;
  width: 16px; height: 9px;
  border-left: 3px solid var(--jasper-dark);
  border-bottom: 3px solid var(--jasper-dark);
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   13.  Accordion (Services expand, FAQ)
   -------------------------------------------------------------------------- */
.accordion { border-top: 1px solid var(--grid-gray-lt); }
.acc-item { border-bottom: 1px solid var(--grid-gray-lt); }
.acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: none;
  border: 0;
  padding: 22px 4px;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--navy);
  transition: color var(--transition);
}
.acc-trigger:hover { color: var(--jasper-dark); }
.acc-icon {
  flex-shrink: 0;
  width: 26px; height: 26px;
  position: relative;
  border: 2px solid var(--jasper);
  transition: var(--transition);
}
.acc-icon::before, .acc-icon::after {
  content: "";
  position: absolute;
  background: var(--jasper-dark);
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  transition: var(--transition);
}
.acc-icon::before { width: 12px; height: 2px; }
.acc-icon::after  { width: 2px; height: 12px; }
.acc-trigger[aria-expanded="true"] .acc-icon { background: var(--jasper); }
.acc-trigger[aria-expanded="true"] .acc-icon::before { background: #fff; }
.acc-trigger[aria-expanded="true"] .acc-icon::after { opacity: 0; }
.acc-panel { display: none; padding: 0 4px 26px; }
.acc-panel.open { display: block; }
.acc-panel > :last-child { margin-bottom: 0; }

/* FAQ three tier: category > question > answer */
.faq-category { margin-bottom: 54px; }
.faq-category > h2 {
  font-size: 1.35rem;
  padding-bottom: 14px;
  border-bottom: 3px solid var(--jasper);
  margin-bottom: 8px;
}
.faq-category .acc-trigger { font-size: 1rem; font-weight: 600; padding: 18px 4px; }
.faq-category .acc-panel { color: var(--text-light); font-size: 0.98rem; }

/* --------------------------------------------------------------------------
   14.  Featured work
   -------------------------------------------------------------------------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.work-item {
  position: relative;
  overflow: hidden;
  display: block;
  color: #fff;
  background: var(--navy);
}
.work-item picture { width: 100%; }
.work-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.6s ease; }
.work-item:hover img { transform: scale(1.06); }
.work-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 44px 24px 22px;
  background: linear-gradient(180deg, rgba(10,24,36,0) 0%, rgba(10,24,36,0.92) 68%);
  color: #fff;
}
.work-caption h3 { color: #fff; font-size: 1.04rem; margin-bottom: 4px; }
.work-caption span { font-size: 0.86rem; color: var(--jasper-light); display: block; }
.work-item::after {
  content: "";
  position: absolute;
  right: 0; bottom: 0;
  width: 34%; height: 26%;
  background: var(--jasper);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  opacity: 0.9;
}
.work-note {
  font-size: 0.86rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 30px;
  font-style: italic;
}

/* --------------------------------------------------------------------------
   15.  Testimonial band
   -------------------------------------------------------------------------- */
.quote-band { background: var(--navy); padding: 86px 0; position: relative; }
.quote-inner { max-width: 800px; margin: 0 auto; padding: 0 var(--gutter); position: relative; }
.quote-mark {
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 0.6;
  color: var(--jasper);
  display: block;
  margin-bottom: 10px;
}
.quote-box {
  border: 1px solid rgba(150, 181, 177, 0.5);
  padding: 32px 36px;
}
.quote-box p { color: #dfe7ec; font-size: 1.08rem; margin-bottom: 20px; }
.quote-attr { font-size: 0.9rem; color: var(--jasper-light); }
.quote-attr strong { color: #fff; font-family: var(--font-heading); margin-right: 10px; }

/* --------------------------------------------------------------------------
   16.  Service area band (photo background)
   -------------------------------------------------------------------------- */
.area-band {
  position: relative;
  background: var(--navy-deep) center/cover no-repeat;
  color: #fff;
  padding: 96px 0;
}
.area-band::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,24,36,0.93) 0%, rgba(10,24,36,0.80) 60%, rgba(10,24,36,0.70) 100%);
}
.area-band .wrap { position: relative; z-index: 2; }
.area-grid { display: grid; grid-template-columns: 1.05fr 2fr; gap: 60px; align-items: start; }
.area-grid h2 { color: #fff; }
.area-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.area-cols h3 { color: #fff; font-size: 1.02rem; margin-bottom: 10px; }
.area-cols h3::after {
  content: ""; display: block; width: 34px; height: 2px;
  background: var(--jasper); margin-top: 10px;
}
.area-cols p { font-size: 0.92rem; color: #b9c8d3; margin-bottom: 0; line-height: 1.62; }

/* --------------------------------------------------------------------------
   17.  CTA band
   -------------------------------------------------------------------------- */
.cta-band { background: var(--off-white); padding: 86px 0; text-align: center; }
.cta-band p { max-width: 640px; margin: 0 auto 30px; color: var(--text-light); }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   18.  Contact page
   -------------------------------------------------------------------------- */
.contact-layout { display: grid; grid-template-columns: 1.7fr 1fr; gap: 64px; align-items: start; }

.contact-form { margin-top: 8px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.form-group .req { color: var(--jasper-dark); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--text);
  padding: 12px 14px;
  border: 1px solid var(--grid-gray);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group textarea { min-height: 150px; resize: vertical; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--jasper-dark);
  box-shadow: 0 0 0 3px rgba(120, 155, 151, 0.22);
  outline: none;
}
.form-hint { font-size: 0.84rem; color: var(--text-light); margin: 6px 0 0; }
.hp-field { position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; }

.form-note {
  background: var(--jasper-pale);
  border-left: 4px solid var(--jasper);
  padding: 18px 22px;
  font-size: 0.92rem;
  margin-bottom: 26px;
}
.form-note p:last-child { margin-bottom: 0; }

.form-status { padding: 16px 20px; margin-bottom: 22px; font-size: 0.95rem; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: var(--jasper-pale); border-left: 4px solid var(--jasper-dark); }
.form-status.err { background: #fdeceb; border-left: 4px solid #c0392b; }

.contact-aside { background: var(--off-white); padding: 38px 34px; border-top: 4px solid var(--jasper); }
.contact-aside h3 { font-size: 1.1rem; }
.contact-block { margin-bottom: 24px; }
.contact-block:last-child { margin-bottom: 0; }
.contact-block h4 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jasper-dark);
  margin-bottom: 6px;
}
.contact-block p { margin-bottom: 0; font-size: 0.98rem; line-height: 1.6; }

/* Numbered next steps */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 26px 62px;
  margin: 0;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: -2px;
  width: 42px; height: 42px;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.steps li::after {
  content: "";
  position: absolute;
  left: 20px; top: 46px; bottom: 6px;
  width: 2px;
  background: var(--grid-gray-lt);
}
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after { display: none; }
.steps h4 { margin-bottom: 4px; }
.steps p { font-size: 0.95rem; color: var(--text-light); margin-bottom: 0; }

/* --------------------------------------------------------------------------
   19.  Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--navy); color: #b6c6d2; position: relative; padding-top: 78px; }
.site-footer::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 100%; height: 58px;
  background: var(--jasper);
  clip-path: polygon(0 0, 62% 0, 0 100%);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 48px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 34px var(--gutter) 52px;
}
.footer-brand img { height: 62px; width: auto; margin-bottom: 18px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.6; margin-bottom: 0; }
.footer-links h4, .footer-contact h4 {
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a, .footer-contact a { color: #b6c6d2; font-size: 0.93rem; }
.footer-links a:hover, .footer-contact a:hover { color: var(--jasper-light); }
.footer-contact p { font-size: 0.93rem; line-height: 1.7; margin-bottom: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  background: var(--navy-deep);
  text-align: center;
  padding: 20px var(--gutter);
  font-size: 0.84rem;
  color: #8fa4b3;
}
.footer-bottom p { margin: 0; }

/* --------------------------------------------------------------------------
   20.  Floating Google review button
   -------------------------------------------------------------------------- */
.google-review-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 300;
  animation: reviewIn 0.55s ease 1.1s both;
}
@keyframes reviewIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.google-review-float a {
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 6px 22px rgba(15, 34, 51, 0.28);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.google-review-float a:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(15, 34, 51, 0.36);
}
.review-col {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
}
.review-col-titan { background: var(--navy); }
.review-col-titan .titan-icon { height: 26px; width: auto; }
.review-stars { color: var(--jasper-light); font-size: 0.82rem; letter-spacing: 1px; }
.review-col-google { background: #fff; }
.review-col-google .g-icon { flex-shrink: 0; }
.review-label {
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text);
}

/* --------------------------------------------------------------------------
   21.  Utilities
   -------------------------------------------------------------------------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-40 { margin-top: 40px; }
.lead { font-size: 1.1rem; color: var(--text-light); }
.small { font-size: 0.9rem; }
.muted { color: var(--text-light); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.pill {
  display: inline-block;
  background: var(--jasper-pale);
  color: var(--jasper-dark);
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  margin: 0 6px 8px 0;
}
.figure-caption { font-size: 0.84rem; color: var(--text-light); margin-top: 10px; }

/* --------------------------------------------------------------------------
   22.  Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1040px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: repeat(3, 1fr); }
  .area-grid { grid-template-columns: 1fr; gap: 34px; }
  .split-panel { padding: 44px 38px; }
}

@media (max-width: 900px) {
  :root { --gutter: 22px; }

  .nav-toggle { display: block; order: 3; }
  .nav-area {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy-dark);
    padding: 10px 22px 28px;
    transform: translateY(-140%);
    transition: transform 0.35s ease;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    box-shadow: 0 14px 24px rgba(0,0,0,0.3);
  }
  .nav-open .nav-area { transform: translateY(0); }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li { border-bottom: 1px solid rgba(255,255,255,0.09); }
  .main-nav a { display: block; padding: 14px 0; font-size: 1rem; }
  .main-nav a::after { display: none; }
  .nav-area .btn { margin-top: 20px; }

  .hero { min-height: 0; }
  .hero-photo { inset: 0; }
  .hero-photo::before { display: none; }
  .hero-photo::after {
    background: linear-gradient(180deg, rgba(25,52,73,0.90) 0%, rgba(25,52,73,0.80) 100%);
  }
  .hero-jasper { width: 70%; height: 120px; }
  .hero-content { padding: 76px var(--gutter) 96px; }
  .hero-content .inner { max-width: none; }

  .credentials-grid { grid-template-columns: 1fr; }
  .cred { border-left: 0; border-top: 1px solid rgba(255,255,255,0.10); padding: 30px 24px; }
  .cred:first-child { border-top: 0; }

  .split { grid-template-columns: 1fr; }
  .split-photo { min-height: 260px; }
  .split-panel {
    padding: 38px 30px;
    border-left: 0;
    border-top: 4px solid var(--jasper);
  }
  .split.reverse .split-photo { order: 1; }
  .split.reverse .split-panel { order: 2; border-right: 0; border-top: 4px solid var(--jasper); }

  .alt-row { grid-template-columns: 1fr; gap: 28px; margin-bottom: 56px; }
  .alt-row.reverse .alt-media { order: 1; }

  .two-col, .two-col-wide, .two-col-narrow { grid-template-columns: 1fr; gap: 34px; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .check-grid { grid-template-columns: 1fr; gap: 0; }
  .area-cols { grid-template-columns: 1fr; gap: 26px; }
  .footer-inner { grid-template-columns: 1fr; gap: 34px; }
  .section { padding: 64px 0; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .card-grid, .card-grid-2, .work-grid, .value-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .hero-interior { min-height: 250px; }
  .google-review-float { right: 12px; bottom: 12px; }
  .review-col { padding: 8px 11px; }
  .review-col-titan .titan-icon { height: 22px; }
  .review-stars { font-size: 0.72rem; }
  .split-panel, .split.reverse .split-panel { padding: 30px 24px; }
}

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

/* --------------------------------------------------------------------------
   23.  Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .google-review-float, .nav-toggle, .cta-band { display: none; }
  body { font-size: 11pt; color: #000; }
  .hero, .hero-interior { min-height: 0; color: #000; background: none; }
}

/* --------------------------------------------------------------------------
   24.  Service page blocks (added with the service page build)
   -------------------------------------------------------------------------- */
.app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 44px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.app-grid li {
  position: relative;
  padding: 13px 0 13px 34px;
  font-size: 0.98rem;
  line-height: 1.55;
  border-bottom: 1px solid var(--grid-gray-lt);
  margin: 0;
}
.app-grid li::before {
  content: "";
  position: absolute;
  left: 4px; top: 21px;
  width: 11px; height: 11px;
  background: var(--jasper);
  transform: rotate(45deg);
}

.deliv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.deliv-grid li {
  background: #fff;
  border-left: 3px solid var(--jasper);
  box-shadow: var(--shadow-sm);
  padding: 18px 20px;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.deliv-grid li svg {
  flex-shrink: 0;
  width: 20px; height: 20px;
  color: var(--jasper-dark);
  margin-top: 2px;
}

/* Service accordion row on the Services overview page */
.svc-acc .acc-trigger { padding: 20px 4px; gap: 18px; }
.svc-thumb {
  width: 96px; height: 62px;
  object-fit: cover;
  flex-shrink: 0;
}
.acc-trigger .acc-title { flex: 1; }
.svc-panel-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 34px; align-items: start; }
.svc-panel-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.svc-panel-grid picture { width: 100%; }

/* Back link in interior hero */
.hero-actions { margin-top: 22px; display: flex; gap: 14px; flex-wrap: wrap; }

/* Our Work tiles have no detail page yet, so they do not behave as links. */
.work-item.is-inactive { cursor: default; }

@media (max-width: 900px) {
  .app-grid, .deliv-grid { grid-template-columns: 1fr; }
  .svc-panel-grid { grid-template-columns: 1fr; gap: 22px; }
  .svc-thumb { display: none; }
}

/* --------------------------------------------------------------------------
   25.  Our Work placeholder tile (project photo not yet supplied)
   -------------------------------------------------------------------------- */
.work-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--navy-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px dashed rgba(150, 181, 177, 0.45);
}
.work-placeholder img { height: 52px; width: auto; opacity: 0.55; }
.work-placeholder span {
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jasper-light);
}

/* --------------------------------------------------------------------------
   26.  Review mode
   Append ?review to any page URL to label every section with its code and
   open all accordions, so page content can be marked up by section.
   -------------------------------------------------------------------------- */
body.review-mode [data-sec] {
  outline: 2px dashed rgba(120, 155, 151, 0.75);
  outline-offset: -2px;
  position: relative;
}
body.review-mode [data-sec]::before {
  content: attr(data-sec);
  position: absolute;
  top: 0; left: 0;
  z-index: 150;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
  padding: 6px 10px;
}
.review-flag {
  position: fixed;
  top: 50%; right: 0;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  z-index: 400;
  background: var(--jasper);
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 8px;
}
@media print {
  body.review-mode [data-sec] { outline-color: var(--jasper); }
  .review-flag { display: none; }
  body.review-mode .site-header { display: block; position: static; }
}

/* Portrait-orientation photo in an alternating row: taller frame, centred in
   its column, so the subject is not cropped to a horizontal band. */
.alt-media.tall { max-width: 430px; margin: 0 auto; }
.alt-media.tall img { aspect-ratio: 3 / 4; }
@media (max-width: 900px) {
  .alt-media.tall { max-width: 340px; }
}

/* Per-card focal point.  Set --focus on .card-photo to steer where a
   portrait photo is cropped inside the 16:10 frame. */
.card-photo img { object-position: center var(--focus, center); }

/* Service page "How we approach the work" photo; portrait gets a narrower column. */
.approach-media.tall { max-width: 400px; }
@media (max-width: 900px) { .approach-media.tall { max-width: 320px; margin: 0 auto; } }

/* About page: brand mark standing in for a photo, on white. */
.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  padding: 40px 20px;
}
.brand-mark img { width: 100%; max-width: 300px; height: auto; }
@media (max-width: 900px) {
  .brand-mark { padding: 20px; }
  .brand-mark img { max-width: 220px; }
}

/* --------------------------------------------------------------------------
   27.  Section watermarks
   A large, low-opacity brand mark bleeding off the edge of a band.  Applied
   only to text-only sections; never over a photograph, and never behind body
   copy tight enough to hurt legibility.  Opacity is deliberately low: the mark
   should register as texture, not as a second logo competing with the header.
   -------------------------------------------------------------------------- */
.wm { position: relative; overflow: hidden; isolation: isolate; }
.wm > * { position: relative; z-index: 1; }
.wm::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

/* T mark, bleeding off the right edge of a band */
.wm-right::after {
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 330px;
  height: 374px;
}
/* T mark, bleeding off the left edge */
.wm-left::after {
  left: -70px;
  top: 50%;
  transform: translateY(-50%);
  width: 330px;
  height: 374px;
}
/* Oversized T centred behind a narrow centred block */
.wm-center::after {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 520px;
  height: 589px;
}
/* Full wordmark, low and wide */
.wm-wordmark::after {
  right: -60px;
  bottom: -40px;
  width: 520px;
  height: 217px;
}

/* Colour variants, each tuned so the mark reads as texture on its ground */
.wm-navy::after   { background-image: url('images/mark-navy-jasper.png'); opacity: 0.055; }
.wm-white::after  { background-image: url('images/mark-white.png');       opacity: 0.07; }
.wm-jasper::after { background-image: url('images/mark-jasper.png');      opacity: 0.13; }
.wm-logo::after   { background-image: url('images/logo-mark.png');        opacity: 0.05; }

@media (max-width: 900px) {
  /* On narrow screens the mark crowds the copy, so pull it back hard. */
  .wm-right::after, .wm-left::after { width: 240px; height: 272px; right: -110px; left: auto; }
  .wm-left::after { left: -110px; right: auto; }
  .wm-center::after { width: 320px; height: 362px; }
  .wm-wordmark::after { width: 320px; height: 133px; right: -80px; }
  .wm::after { opacity: 0.04; }
  .wm-jasper::after { opacity: 0.09; }
}
@media print { .wm::after { display: none; } }

/* --------------------------------------------------------------------------
   28.  Audience router, problem-first lead, reveal panel, footer social
   -------------------------------------------------------------------------- */

/* Home: "What do you need solved?"  Deliberately quiet.  It is a signpost,
   not another card grid competing with the services section below it. */
.router-sec { padding-top: 56px; padding-bottom: 56px; }
.router-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0 40px;
}
.router-grid li { border-bottom: 1px solid var(--grid-gray-lt); }
.router-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 4px;
  color: var(--navy);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.4;
  transition: color .18s ease, padding-left .18s ease;
}
/* The arrow is drawn rather than typed so it inherits colour and never
   depends on a font that may not load. */
.router-grid a::after {
  content: "";
  flex: 0 0 auto;
  width: 18px;
  height: 10px;
  background: currentColor;
  clip-path: polygon(0 40%, 62% 40%, 62% 0, 100% 50%, 62% 100%, 62% 60%, 0 60%);
  opacity: .45;
  transition: opacity .18s ease, transform .18s ease;
}
.router-grid a:hover,
.router-grid a:focus-visible { color: var(--jasper-dark); padding-left: 10px; }
.router-grid a:hover::after,
.router-grid a:focus-visible::after { opacity: 1; transform: translateX(4px); }

/* Service pages: the one sentence that names the reader's problem. */
.lead-problem {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.22rem;
  line-height: 1.5;
  color: var(--navy);
  border-left: 4px solid var(--jasper);
  padding-left: 22px;
  margin-bottom: 28px;
}
@media (max-width: 640px) {
  .lead-problem { font-size: 1.08rem; padding-left: 16px; }
}

/* About: the off-the-clock block, hidden until asked for. */
.reveal-panel {
  margin-top: 22px;
  padding: 22px 24px;
  background: var(--off-white);
  border-left: 4px solid var(--jasper);
}
.reveal-panel > :last-child { margin-bottom: 0; }

.footer-social { margin-top: 18px; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
  opacity: .85;
  font-size: .92rem;
}
.footer-social a:hover, .footer-social a:focus-visible { opacity: 1; }
.footer-social svg { flex: 0 0 auto; }

/* --------------------------------------------------------------------------
   29.  Experience name lists and service-area cards
   -------------------------------------------------------------------------- */
.name-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 0 32px;
}
.name-grid li {
  padding: 11px 0 11px 18px;
  border-bottom: 1px solid var(--grid-gray-lt);
  font-size: .97rem;
  color: var(--text);
  position: relative;
}
/* Small jasper tick instead of a bullet glyph, so it scales with the type. */
.name-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05em;
  width: 7px;
  height: 2px;
  background: var(--jasper);
}

.area-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.area-card {
  background: var(--white);
  border: 1px solid var(--grid-gray-lt);
  border-top: 3px solid var(--jasper);
  padding: 26px 26px 22px;
}
.area-card h3 { margin: 0 0 10px; font-size: 1.12rem; color: var(--navy); }
.area-card p  { margin: 0; font-size: .95rem; color: var(--text-light); }

/* --------------------------------------------------------------------------
   30.  Split hero, for pages whose hero photo is portrait orientation
   -------------------------------------------------------------------------- */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--navy);
  /* Fixed height, or the portrait photo's own 2:3 ratio stretches the row to
     roughly 1080px and the hero swallows the fold. */
  height: 520px;
}
.hero-split-panel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 56px var(--gutter) 56px 0;
}
.hero-split-panel > div { max-width: calc(var(--max-width) / 2 - var(--gutter)); width: 100%; }
.hero-split-panel h1 { color: var(--white); margin: 10px 0 26px; }
.hero-split-panel .eyebrow { color: var(--jasper-light); }
.hero-split-photo { position: relative; overflow: hidden; }
.hero-split-photo picture,
.hero-split-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center var(--focus, center);
}
/* Jasper wedge tying the panel into the photo, same motif as the home hero */
.hero-split-photo::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 74px;
  background: var(--jasper);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  z-index: 1;
}
@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; height: auto; }
  .hero-split-panel { justify-content: flex-start; padding: 48px var(--gutter); }
  .hero-split-panel > div { max-width: none; }
  .hero-split-photo { height: 300px; }
  .hero-split-photo::before { display: none; }
}

/* An open accordion already shows the full-size photo in its panel, so the
   thumbnail in the header is redundant once expanded. */
.acc-trigger[aria-expanded="true"] .svc-thumb { display: none; }
