/* Spires & Associates — design tokens from Website Draft 1.pdf
   Swap these :root values in production to restyle the whole site. */
:root {
  --navy: #1A2E44;
  --navy-deep: #122033;
  --navy-mid: #243B55;
  --gold: #B59A58;
  --gold-dark: #9A8148;
  --gold-soft: #E8D9B0;
  --sage: #6B7D62;
  --sage-dark: #55644E;
  --cream: #F9F7F2;
  --cream-dark: #EFEBE3;
  --white: #ffffff;
  --text: #2C333A;
  --muted: #5C6770;
  --border: #D8D2C6;
  --shadow: 0 8px 28px rgba(26, 46, 68, 0.08);
  --radius: 6px;
  --header-h: 88px;
  --banner-h: 56px;
  --chrome-h: calc(var(--banner-h) + var(--header-h));
  --max: 1180px;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --base: /;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  scroll-behavior: smooth;
  /* Keep hash targets below the sticky utility banner + header */
  scroll-padding-top: calc(var(--chrome-h) + 1.25rem);
}
html, body { margin: 0; padding: 0; }
[id] {
  scroll-margin-top: calc(var(--chrome-h) + 1.25rem);
}
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
svg {
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linejoin: round;
  stroke-linecap: round;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold-dark); }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--navy);
  line-height: 1.25;
  font-weight: 600;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2rem, 4vw, 3.15rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 0.5rem 1rem;
  z-index: 1000;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; color: var(--white); }

.container {
  width: min(calc(100% - 2.5rem), var(--max));
  margin-inline: auto;
}
.gold-rule {
  width: 48px;
  height: 2px;
  background: var(--gold);
  border: 0;
  margin: 0.75rem 0 1.25rem;
}
.gold-rule.center { margin: 0.75rem auto 1.25rem; }
.btn svg { width: 16px; height: 16px; }
.lock svg { width: 16px; height: 16px; }
.panel .icon-circle { width: 48px; height: 48px; margin: 0 0 0.75rem; }
.hero .icon-row { margin-top: 1rem; }
.hero .icon-item h3 { color: var(--navy); }
.hero .icon-item p { color: var(--muted); }
.kicker {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
main { min-height: 40vh; }
.kicker svg, .portal-box .kicker svg { width: 16px; height: 16px; display: inline; vertical-align: -3px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 1.35rem;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.btn:hover { transform: translateY(-1px); color: var(--white); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-mid); color: var(--white); }
.btn--gold { background: var(--gold); color: var(--white); }
.btn--gold:hover { background: var(--gold-dark); color: var(--white); }
.btn--sage { background: var(--sage); color: var(--white); }
.btn--sage:hover { background: var(--sage-dark); color: var(--white); }
.btn--ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}
.btn--ghost:hover { background: var(--navy); color: var(--white); }
.btn--block { width: 100%; }

/* Utility banner + header stay together */
.site-chrome {
  position: sticky;
  top: 0;
  z-index: 80;
}
.util-bar {
  background: var(--navy-deep);
  color: var(--white);
  min-height: var(--banner-h);
}
.util-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--banner-h);
  padding: 0.45rem 0;
}
.util-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.util-phone:hover { color: var(--gold-soft); }
.util-phone svg { width: 20px; height: 20px; }
.util-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.util-actions .btn {
  min-height: 44px;
  padding: 0.7rem 1.15rem;
  font-size: 0.78rem;
}
.btn--banner {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
}
.btn--banner:hover {
  background: var(--white);
  color: var(--navy);
}

/* Header */
.site-header {
  position: relative;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
  color: var(--navy);
}
.brand img { height: 58px; width: 58px; }
.brand:hover { opacity: 0.92; color: var(--navy); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-line1 {
  font-family: var(--font-serif);
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
}
.brand-line2 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.brand-line3 {
  font-family: var(--font-sans);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin-top: 0.2rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 4px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.main-nav > a,
.nav-drop-label > a,
.nav-chevron {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  background: none;
  border: 0;
  padding: 0.7rem 0.7rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  position: relative;
}
.nav-drop-label {
  display: inline-flex;
  align-items: center;
}
.nav-drop-label > a { padding-right: 0.25rem; }
.nav-chevron {
  padding: 0.7rem 0.55rem 0.7rem 0.2rem;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
}
.main-nav > a:hover,
.nav-drop-label > a:hover,
.nav-chevron:hover { color: var(--gold-dark); }
.main-nav > a[aria-current="page"]::after,
.nav-drop.is-section .nav-drop-label > a::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.35rem;
  height: 1.5px;
  background: var(--navy);
}
.nav-drop { position: relative; }
.chevron {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  display: inline-block;
}
.nav-drop-menu {
  display: none;
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 260px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 0.4rem 0;
  z-index: 90;
}
.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu,
.nav-drop.open .nav-drop-menu { display: block; }
.nav-drop-menu a {
  display: block;
  padding: 0.55rem 1rem;
  font-size: 0.92rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
}
.nav-drop-menu a:hover {
  background: var(--cream);
  color: var(--navy);
}

/* Heroes */
.hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  background: var(--cream) center / cover no-repeat;
  color: var(--navy);
}
.hero--flyover {
  min-height: 560px;
  overflow: hidden;
  background: var(--navy-deep);
}
.hero--flyover::before {
  background: linear-gradient(90deg, rgba(249,247,242,0.94) 0%, rgba(249,247,242,0.78) 38%, rgba(249,247,242,0.18) 72%, rgba(18,32,51,0.12) 100%);
  z-index: 1;
}
.flyover {
  position: absolute;
  inset: 0;
}
.flyover__shot {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
  overflow: hidden;
}
.flyover__shot.is-active { opacity: 1; z-index: 0; }
.flyover__shot img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
  transform-origin: center center;
}
.flyover__shot.is-active img {
  animation: flyover-ken 9s ease-in-out forwards;
}
.flyover__shot[data-ken="2"].is-active img { animation-name: flyover-ken-2; }
.flyover__shot[data-ken="3"].is-active img { animation-name: flyover-ken-3; }
.flyover__shot[data-ken="4"].is-active img { animation-name: flyover-ken-4; }
@keyframes flyover-ken {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.18) translate3d(-3%, 2%, 0); }
}
@keyframes flyover-ken-2 {
  from { transform: scale(1.18) translate3d(2%, -2%, 0); }
  to { transform: scale(1.06) translate3d(-2%, 3%, 0); }
}
@keyframes flyover-ken-3 {
  from { transform: scale(1.08) translate3d(-4%, 0, 0); }
  to { transform: scale(1.2) translate3d(2%, -2%, 0); }
}
@keyframes flyover-ken-4 {
  from { transform: scale(1.2) translate3d(0, 3%, 0); }
  to { transform: scale(1.08) translate3d(-3%, -2%, 0); }
}
.hero-flyover-copy {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  min-height: 560px;
  align-items: center;
}
@media (prefers-reduced-motion: reduce) {
  .flyover__shot.is-active img { animation: none; }
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(249,247,242,0.96) 0%, rgba(249,247,242,0.82) 42%, rgba(249,247,242,0.15) 78%, transparent 100%);
}
.hero--dark::before {
  background: linear-gradient(90deg, rgba(18,32,51,0.88) 0%, rgba(18,32,51,0.55) 55%, rgba(18,32,51,0.2) 100%);
}
.hero--dark { color: var(--white); }
.hero--dark h1, .hero--dark p { color: var(--white); }
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0;
  max-width: 640px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}
.split-hero {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  min-height: 320px;
  background: var(--white);
}
.split-hero__copy {
  padding: 4rem 8vw 4rem max(1.25rem, calc((100vw - var(--max)) / 2));
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split-hero__photo {
  background: var(--cream) center / cover no-repeat;
  min-height: 280px;
}

/* Sections */
.section { padding: 4.25rem 0; }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section-head { max-width: 720px; margin-bottom: 2.25rem; }
.section-head.center { text-align: center; margin-inline: auto; max-width: 760px; }

.icon-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.icon-row--5 { grid-template-columns: repeat(5, 1fr); }
.icon-row--6 { grid-template-columns: repeat(6, 1fr); }
.icon-item {
  text-align: center;
  padding: 0.5rem 0.75rem;
  position: relative;
}
.icon-item + .icon-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12%;
  bottom: 12%;
  width: 1px;
  background: var(--border);
}
.icon-circle {
  width: 64px;
  height: 64px;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  background: var(--cream-dark);
  color: var(--navy);
  display: grid;
  place-items: center;
}
.icon-circle--gold { background: #F3EBD4; color: var(--navy); }
.icon-circle svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.icon-item h3 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.icon-item p { font-size: 0.92rem; color: var(--muted); margin: 0; }

.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.welcome-grid .panel { max-width: none; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem 1.5rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem 1.5rem;
  box-shadow: 0 1px 0 rgba(26,46,68,0.03);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.service-card:hover { border-color: var(--gold); }
.service-card h3 { margin-bottom: 0.15rem; }
.service-card p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.service-card .gold-rule { margin: 0.45rem 0 0.6rem; }

.dual-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.dual-cards--single {
  grid-template-columns: 1fr;
  max-width: 720px;
}
.panel {
  border: 1px solid var(--navy);
  background: var(--white);
  display: grid;
  grid-template-columns: 110px 1fr;
  overflow: hidden;
}
.panel--flip { grid-template-columns: 1fr 110px; }
.panel img { width: 110px; height: 100%; object-fit: cover; min-height: 220px; }
.panel-body { padding: 1.5rem 1.4rem 1.25rem; }
.panel-body h3 { font-size: 1.2rem; }
.panel-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  margin-top: 1rem;
  font-size: 0.88rem;
}
.panel-links a { color: var(--navy); }
.panel-links span { color: var(--border); }

/* Portal card overlay */
.portal-box {
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
  padding: 1.6rem 1.5rem;
  max-width: 320px;
  box-shadow: 0 12px 32px rgba(18,32,51,0.25);
}
.portal-box h2,
.portal-box p { color: var(--white); }
.portal-box .kicker { color: var(--gold-soft); }
.portal-box > .btn { width: 100%; margin-top: 0.65rem; }
.portal-box > .btn:first-of-type { margin-top: 0.35rem; }
.portal-box a.help-link { color: var(--gold-soft); font-size: 0.9rem; display: inline-block; margin-top: 0.55rem; margin-right: 1rem; }
.portal-box a.help-link:hover { color: var(--white); }
.portal-support {
  margin: 1rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}
.portal-support a { color: var(--gold-soft); }
.portal-support a:hover { color: var(--white); }
.portal-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.hero-with-card {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: center;
}
.hero-inner.hero-with-card { max-width: none; width: 100%; }

/* CTA band */
.cta-band {
  background: var(--navy-deep) right center / cover no-repeat;
  color: var(--white);
  position: relative;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #122033 0%, rgba(18,32,51,0.88) 48%, rgba(18,32,51,0.35) 100%);
}
.cta-band-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2.6rem 0;
}
.cta-band h2 { color: var(--white); margin: 0 0 0.4rem; font-size: clamp(1.5rem, 2.5vw, 2rem); }
.cta-band p { color: rgba(255,255,255,0.88); margin: 0; max-width: 560px; }
.cta-icon {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
}
.cta-icon svg { width: 34px; height: 34px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.cta-copy { flex: 1; }
.help-band {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: var(--navy);
  color: var(--white);
}
.help-band__left {
  padding: 2.6rem 8vw 2.6rem max(1.25rem, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.help-band__right {
  background: var(--cream);
  color: var(--text);
  padding: 2.4rem 2rem 2.4rem 2.2rem;
  background-image: linear-gradient(90deg, var(--cream) 62%, transparent 100%), var(--help-img, none);
  background-size: cover;
  background-position: right center;
}
.help-band h2 { color: var(--white); }
.help-band__right h2 { color: var(--navy); }

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.team-grid--portraits {
  grid-template-columns: repeat(2, minmax(0, 360px));
  justify-content: center;
  max-width: 820px;
  margin-inline: auto;
}
.team-card {
  text-align: center;
  padding: 1.25rem 1rem;
  border: 1px dashed var(--border);
  background: var(--white);
}
.team-card--portrait {
  border-style: solid;
  padding: 1.75rem 1.4rem 1.5rem;
}
.team-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin: 0 auto 0.9rem;
  background: var(--cream-dark);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 1.4rem;
}
.team-card--portrait .team-avatar {
  width: 120px;
  height: 120px;
  font-size: 1.85rem;
  background: var(--navy);
  color: var(--gold-soft);
}
.team-card h3 { margin-bottom: 0.15rem; font-size: 1.05rem; }
.team-card--portrait h3 { font-size: 1.35rem; }
.team-card .role { color: var(--gold-dark); font-size: 0.88rem; font-weight: 650; margin-bottom: 0.5rem; display: block; }
.team-card p { font-size: 0.9rem; color: var(--muted); margin: 0; }
.team-actions { text-align: center; margin-top: 2rem; }
.note {
  font-size: 0.88rem;
  color: var(--muted);
  font-style: italic;
}

/* Testimonials */
.tm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.tm-grid--all { gap: 1.25rem; }
.tm-card {
  position: relative;
  margin: 0;
  padding: 2.5rem 1.5rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.tm-card blockquote {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  flex: 1;
}
.tm-mark {
  position: absolute;
  top: 1rem;
  left: 1.4rem;
  color: var(--gold);
  opacity: 0.35;
}
.tm-mark svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
  stroke: none;
}
.tm-attr {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}
.tm-avatar {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-soft);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}
.tm-who { display: flex; flex-direction: column; line-height: 1.35; }
.tm-who strong { color: var(--navy); font-size: 0.95rem; }
.tm-who span { color: var(--muted); font-size: 0.85rem; }
.tm-actions {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

/* Rotating feed (home page) */
.tm-feed {
  background: var(--navy);
  color: var(--white);
}
.tm-feed .kicker { color: var(--gold-soft); }
.tm-feed h2 { color: var(--white); }
.tm-feed__stage {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  min-height: 232px;
}
.tm-mark--lg {
  position: static;
  display: block;
  text-align: center;
  opacity: 0.55;
  margin-bottom: 1rem;
}
.tm-mark--lg svg { width: 40px; height: 40px; }
.tm-slide {
  position: absolute;
  inset: auto 0 0 0;
  top: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
  text-align: center;
}
.tm-slide.is-active { opacity: 1; visibility: visible; }
.tm-slide blockquote {
  margin: 0 0 1.5rem;
  font-family: var(--font-serif);
  font-size: 1.32rem;
  line-height: 1.62;
  color: var(--white);
}
.tm-slide .tm-attr {
  justify-content: center;
  border-top: 0;
  padding-top: 0;
}
.tm-slide .tm-avatar { background: var(--gold); color: var(--navy-deep); }
.tm-slide .tm-who { text-align: left; }
.tm-slide .tm-who strong { color: var(--white); }
.tm-slide .tm-who span { color: var(--gold-soft); }
.tm-feed__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.tm-feed__progress {
  position: relative;
  width: 160px;
  height: 3px;
  background: rgba(232, 217, 176, 0.28);
  overflow: hidden;
}
.tm-feed__bar {
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
}
/* Duration is set from JS so the bar and the rotation stay in step. */
.tm-feed__bar.is-running { animation: tm-progress 7s linear forwards; }
.tm-feed.is-paused .tm-feed__bar { animation-play-state: paused; }
@keyframes tm-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
.tm-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(232, 217, 176, 0.5);
  background: transparent;
  color: var(--gold-soft);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.tm-arrow:hover { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }
.tm-arrow svg { width: 20px; height: 20px; }
.tm-feed__cta {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}
.tm-feed__cta .btn--navy {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.tm-feed__cta .btn--navy:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }

/* Gallery overlay */
.tm-modal {
  width: min(1120px, calc(100vw - 2rem));
  max-height: calc(100vh - 3rem);
  padding: 0;
  border: 0;
  border-top: 4px solid var(--gold);
  background: var(--cream);
  color: var(--text);
  box-shadow: 0 24px 70px rgba(18, 32, 51, 0.35);
  overflow: hidden;
}
.tm-modal:not([open]) { display: none; }
.tm-modal::backdrop { background: rgba(18, 32, 51, 0.7); }
.tm-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.75rem 1.25rem;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.tm-modal__head .kicker { margin-bottom: 0.25rem; }
.tm-modal__head h2 { margin: 0; }
.tm-modal__close {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.tm-modal__close:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.tm-modal__close svg { width: 20px; height: 20px; }
.tm-modal__body {
  overflow-y: auto;
  max-height: min(62vh, 620px);
  padding: 1.75rem;
}
.tm-modal__body .team-grid {
  margin: 0;
}
.tm-modal__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.75rem;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.tm-modal__foot .note { margin: 0; }
body.tm-open { overflow: hidden; }

/* Two col */
.two-col {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: start;
}
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
}
.sidebar-list { list-style: none; padding: 0; margin: 0; }
.sidebar-list li { border-top: 1px solid var(--border); }
.sidebar-list li:first-child { border-top: 0; }
.sidebar-list a {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.9rem 0;
  color: var(--text);
}
.sidebar-list a:hover { color: var(--navy); }
.sidebar-list strong { display: block; color: var(--navy); }
.sidebar-list span { font-size: 0.9rem; color: var(--muted); }

.check-list { list-style: none; padding: 0; }
.check-list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 2rem;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 0.75rem;
  display: grid;
  place-items: center;
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.resource-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.resource-card img { height: 140px; width: 100%; object-fit: cover; }
.resource-card .body { padding: 1.1rem 1rem 1.2rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.resource-card p { color: var(--muted); font-size: 0.92rem; flex: 1; margin: 0; }

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 1.5rem;
  align-items: start;
}
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-form-col .form { max-width: none; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
}
.info-card h2 { font-size: 1.35rem; }
.info-row {
  display: flex;
  gap: 0.7rem;
  margin: 0.7rem 0;
  align-items: flex-start;
}
.info-row svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; stroke: var(--navy); fill: none; stroke-width: 1.7; }
.inquiry-links { list-style: none; padding: 0; margin: 0.5rem 0 0; }
.inquiry-links li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.highlight-box {
  background: var(--cream);
  padding: 0.85rem 1rem;
  margin-top: 1rem;
  font-size: 0.92rem;
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
}
.office-block {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}
.office-block img { height: 100%; min-height: 260px; object-fit: cover; }
.office-copy { padding: 1.6rem 1.4rem; }
.office-map iframe { width: 100%; height: 100%; min-height: 260px; border: 0; display: block; }

.form {
  display: grid;
  gap: 0.9rem;
  max-width: 640px;
}
.form label { font-size: 0.88rem; font-weight: 650; color: var(--navy); display: grid; gap: 0.3rem; }
.form input,
.form select,
.form textarea {
  font: inherit;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--white);
  color: var(--text);
}
.form textarea { min-height: 140px; resize: vertical; }
.form-success {
  display: none;
  background: #eef5ea;
  border: 1px solid var(--sage);
  color: var(--sage-dark);
  padding: 1rem 1.1rem;
  border-radius: 4px;
}
.form.is-success { display: none; }
.form-success.is-visible { display: block; }
.form-route {
  display: none;
  margin: 0;
  padding: 0.75rem 0.9rem;
  background: var(--cream);
  border-left: 3px solid var(--gold);
  font-size: 0.95rem;
  color: var(--navy);
}
.form-route.is-visible { display: block; }
.form-route strong { font-weight: 700; }

.prose { max-width: 720px; }
.prose h2 { margin-top: 1.8rem; }
.sitemap-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.sitemap-cols ul { list-style: none; padding: 0; }
.sitemap-cols li { margin: 0.35rem 0; }

.placeholder-flag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--gold-soft);
  color: var(--navy);
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  font-weight: 700;
  margin-left: 0.35rem;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.15rem 0;
}
.site-footer a { color: rgba(255,255,255,0.9); }
.site-footer a:hover { color: var(--gold-soft); }
.footer-links { display: flex; gap: 0.85rem; align-items: center; }
.footer-links span { opacity: 0.4; }
.lock { display: flex; align-items: center; gap: 0.4rem; }

/* Subpage layout */
.page-intro { padding: 3.2rem 0 1rem; }
.detail-list { display: grid; gap: 0.8rem; }
.detail-list article {
  border-left: 3px solid var(--gold);
  padding: 0.2rem 0 0.2rem 1rem;
}

@media (max-width: 1100px) {
  .nav-toggle { display: flex; }
  .site-header { position: relative; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 0 1rem;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .nav-drop-label { width: 100%; justify-content: space-between; }
  .nav-drop-menu { position: static; border: 0; box-shadow: none; display: none; padding-left: 1rem; }
  .nav-drop.open .nav-drop-menu { display: block; }
}

@media (max-width: 1024px) {
  .icon-row--6 { grid-template-columns: repeat(3, 1fr); }
  .icon-row--5 { grid-template-columns: repeat(3, 1fr); }
  .resource-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .tm-grid { grid-template-columns: repeat(2, 1fr); }
  .tm-feed__stage { min-height: 300px; }
  .office-block { grid-template-columns: 1fr; }
  .split-hero { grid-template-columns: 1fr; }
  .split-hero__copy { padding: 3rem 1.25rem; }
  .welcome-grid,
  .dual-cards,
  .two-col,
  .help-band,
  .hero-with-card,
  .contact-layout,
  .contact-grid { grid-template-columns: 1fr; }
  .cta-band-inner { display: flex; flex-direction: column; align-items: flex-start; }
  .panel, .panel--flip { grid-template-columns: 1fr; }
  .panel img, .panel--flip img { width: 100%; height: 140px; min-height: 0; }
  .hero { min-height: 0; }
  .hero--flyover,
  .hero-flyover-copy { min-height: 460px; }
  .hero--flyover::before {
    background: linear-gradient(90deg, rgba(249,247,242,0.92) 0%, rgba(249,247,242,0.72) 50%, rgba(249,247,242,0.2) 100%);
  }
  .help-band__left { padding: 2rem 1.25rem; }
}

@media (max-width: 700px) {
  .icon-row, .icon-row--5, .icon-row--6, .service-grid, .sitemap-cols { grid-template-columns: 1fr; }
  .icon-item + .icon-item::before { display: none; }
  :root { --banner-h: 112px; }
  .util-bar-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    padding: 0.65rem 0;
  }
  .util-phone { justify-content: center; font-size: 1.1rem; }
  .util-actions { justify-content: stretch; }
  .util-actions .btn { flex: 1; }
  .team-grid--portraits { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .tm-grid { grid-template-columns: 1fr; }
  .tm-slide blockquote { font-size: 1.1rem; }
  .tm-feed__stage { min-height: 340px; }
  .tm-modal__head,
  .tm-modal__body,
  .tm-modal__foot { padding-inline: 1.1rem; }
  .tm-modal__foot { flex-direction: column; align-items: flex-start; }
  .tm-modal__body { max-height: 66vh; }
}

@media (max-width: 560px) {
  .team-grid, .resource-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
