/* ==========================================================================
   Vantage Customs Services shared stylesheet
   Layout system emulated from firstlogistics.com.au (structure, spacing,
   card geometry, CTA rhythm). Palette and assets are Vantage's own.
   Swap --accent to #f26f21 for the literal reference-site orange.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand: sampled from the Vantage logo */
  --navy: #293d82;
  --navy-dark: #1d2c60;
  --navy-deep: #16214a;

  /* Accent: drives eyebrows, numerals and primary CTAs */
  --accent: #007a99;        /* fills: buttons, pills */
  --accent-dark: #005f77;
  --accent-ink: #005266;    /* accent text, AA on both white and the band */

  /* Slate band: the alternating section ground */
  --band: #c3ccdd;
  /* Header ground: lighter than the band so the logo reads sharper */
  --header-bg: #f1f5fb;

  /* Neutrals */
  --ink: #16214a;
  --body: #4b5468;
  --muted: #6b7488;
  --line: #d7deea;
  --surface: #ffffff;

  /* Type */
  --font: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  /* Layout */
  --wrap: 1180px;
  --wrap-narrow: 860px;
  --header-h: 104px;
  --radius: 8px;
  --radius-card: 44px 6px 44px 6px;   /* the reference card silhouette */
  --radius-panel: 60px 6px 60px 6px;
  --section-y: 5rem;

  --shadow-card: 0 18px 38px rgba(22, 33, 74, .13);
  --shadow-hero: 0 26px 60px rgba(22, 33, 74, .22);
}

@media (min-width: 900px) { :root { --section-y: 7.5rem; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  color: var(--body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--accent-ink); }
h1, h2, h3, h4 { color: var(--ink); margin: 0 0 .6em; line-height: 1.15; }
p { margin: 0 0 1.1em; }
ul { margin: 0 0 1.1em; padding-left: 1.15rem; }
li { margin-bottom: .45em; }

/* ---------- Utilities ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 1.25rem; }
.wrap--narrow { max-width: var(--wrap-narrow); }
.section { padding-block: var(--section-y); }
.section--band { background: var(--band); }
.center { text-align: center; }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: .75rem 1.25rem; border-radius: 0 0 var(--radius) 0;
}
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---------- Type scale ---------- */
.eyebrow {
  font-style: italic; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--accent-ink);
  font-size: clamp(.85rem, 1.6vw, 1.05rem); line-height: 1.35; margin: 0 0 .55rem;
}
.h-display {
  font-weight: 800; text-transform: uppercase; letter-spacing: -.01em;
  font-size: clamp(1.75rem, 4.3vw, 2.9rem); line-height: 1.08; color: var(--navy);
}
.h-display em { font-style: italic; color: var(--accent-ink); }
.h-section {
  font-weight: 800; text-transform: uppercase; letter-spacing: .005em;
  font-size: clamp(1.45rem, 3.2vw, 2.25rem); line-height: 1.16; color: var(--navy);
}
.h-section em { font-style: italic; color: var(--accent-ink); font-weight: 800; }
.center > .h-section, .center > .h-display { margin-bottom: .75rem; }
.h-italic { font-style: italic; }
.lede { font-size: clamp(1rem, 1.6vw, 1.075rem); color: var(--body); }
/* Constrain the measure: centred text is only scannable at a short line length */
.center > p, .center > .lede { max-width: 60ch; margin-inline: auto; }
.split-body > p { max-width: 52ch; margin-inline: auto; }
.hero-card > p { max-width: 46ch; margin-inline: auto; }
.tagline {
  font-style: italic; font-weight: 700; color: var(--navy);
  font-size: 1.02rem; margin-top: 1.1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: inherit; font-size: .93rem; font-weight: 800; font-style: italic;
  text-transform: uppercase; letter-spacing: .035em; text-decoration: none;
  padding: .95rem 1.85rem; border: 2px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-dark); color: #fff; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--ghost-light { background: transparent; color: #fff; border-color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--navy); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.75rem; }
/* Standing gap between a section's heading block and the content under it */
.center + .card-grid, .center + .feature-grid, .center + .steps, .center + .contact-form { margin-top: 3.25rem; }
.card-grid + .btn-row, .feature-grid + .btn-row, .steps + .btn-row { margin-top: 3rem; }
.note-wrap { max-width: var(--wrap-narrow); margin-inline: auto; margin-top: 3rem; }
.fieldset { border: 0; padding: 0; margin-inline: 0; }
.fieldset legend { font-size: .82rem; font-weight: 700; color: var(--navy-deep); margin-bottom: .3rem; }
.plain-link { color: inherit; text-decoration: none; }
.ticks--links { max-width: 420px; margin: 2.5rem auto 0; }
.btn-row--center { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--header-bg);
  box-shadow: 0 1px 0 rgba(22, 33, 74, .1), 0 4px 14px rgba(22, 33, 74, .05);
}
/* The header spans the viewport rather than the 1180px content column, so the
   logo sits near the left edge and the phone CTA near the right (as the reference does). */
.site-header .wrap {
  max-width: 1800px;
  padding-inline: clamp(1rem, 2vw, 2rem);
}
.header-inner {
  min-height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { width: 272px; max-width: 52vw; }
.nav-toggle {
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--navy); color: #fff; border: 0; border-radius: var(--radius);
  font: inherit; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  padding: .65rem .95rem; cursor: pointer;
}
.nav-toggle-bars { display: block; width: 17px; height: 2px; background: #fff; position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after {
  content: ""; position: absolute; left: 0; width: 17px; height: 2px; background: #fff;
}
.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }

.primary-nav ul { list-style: none; margin: 0; padding: 0; }
.primary-nav a {
  text-decoration: none; text-transform: uppercase; letter-spacing: .07em;
  font-size: .78rem; font-weight: 700; color: var(--navy-deep); white-space: nowrap;
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--accent-ink); }
.header-phone {
  display: none; align-items: center; background: var(--accent); color: #fff;
  text-decoration: none; font-weight: 800; font-size: .95rem;
  padding: .7rem 1.4rem; border-radius: 999px; white-space: nowrap;
}
.header-phone:hover { background: var(--accent-dark); color: #fff; }
@media (max-width: 1023px) { .header-phone { font-size: .88rem; padding: .6rem 1.1rem; } }

@media (max-width: 1023px) {
  .primary-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--header-bg); border-top: 1px solid rgba(22, 33, 74, .12);
    box-shadow: 0 18px 30px rgba(22, 33, 74, .18);
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { display: block; padding: .5rem clamp(1rem, 2vw, 2rem) 1.1rem; }
  .primary-nav li + li { border-top: 1px solid rgba(22, 33, 74, .12); }
  .primary-nav a { display: block; padding: .85rem 0; font-size: .85rem; }
}
/* Keep the phone CTA visible from tablet up: it is a primary conversion path. */
@media (min-width: 640px) {
  .header-phone { display: inline-flex; }
}
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  /* Branding gets roughly 35% of the header; menu and phone share the rest. */
  .header-inner {
    display: grid;
    grid-template-columns: minmax(272px, 35%) 1fr auto;
    column-gap: clamp(1rem, 2vw, 1.75rem);
  }
  .primary-nav { justify-self: end; }
  .primary-nav ul { display: flex; align-items: center; gap: clamp(1rem, 1.5vw, 1.4rem); }
}

/* ---------- Hero ---------- */
.hero { position: relative; display: grid; }
.hero-media, .hero > .wrap { grid-area: 1 / 1; }
.hero-media { position: relative; overflow: hidden; min-height: 460px; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22,33,74,.34), rgba(22,33,74,.16) 45%, rgba(22,33,74,.36));
}
.hero > .wrap {
  position: relative; z-index: 2;
  display: flex; align-items: center;
  padding-block: 3.5rem;
}
.hero-card {
  background: #fff; border-radius: var(--radius-panel);
  padding: 2.4rem 1.8rem; max-width: 660px; width: 100%;
  box-shadow: var(--shadow-hero); text-align: center;
}
.hero-card .h-display { margin-bottom: .55rem; }
.hero-card > p:last-of-type { margin-bottom: 0; }
@media (min-width: 700px) {
  .hero-media { min-height: 620px; }
  .hero-card { padding: 3.25rem 3.5rem; margin-inline: auto; }
}
@media (min-width: 1100px) {
  .hero-media { min-height: 700px; }
  .hero > .wrap { justify-content: flex-start; }
  .hero-card { margin-inline: 0 auto; }
}

/* Compact hero for inner pages */
.page-hero { position: relative; display: grid; }
.page-hero .hero-media, .page-hero > .wrap { grid-area: 1 / 1; }
.page-hero .hero-media { min-height: 300px; }
.page-hero > .wrap { position: relative; z-index: 2; display: flex; align-items: center; padding-block: 3rem; }
.page-hero .hero-card { max-width: 800px; margin-inline: auto; }
@media (min-width: 700px) { .page-hero .hero-media { min-height: 420px; } }

/* Trust badge inside the hero card, kept above the fold on every breakpoint */
.hero-badge {
  display: inline-flex; align-items: center; gap: .65rem; text-align: left;
  margin: 1.15rem auto 0; padding: .45rem .95rem .45rem .55rem;
  background: var(--band); border-radius: 999px;
}
.hero-badge { flex-wrap: wrap; justify-content: center; row-gap: .45rem; border-radius: 24px; padding-block: .55rem; }
.hero-badge > picture img { width: 42px; flex-shrink: 0; }
.hero-badge span {
  font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .045em;
  color: var(--navy-deep); line-height: 1.25;
}
.hero-badge small {
  display: block; font-weight: 600; text-transform: none; letter-spacing: 0;
  color: #55607a; font-size: .68rem;
}
/* Industry memberships, stacked under the Trusted Trader badge */
.hero-badge__members {
  flex-basis: 100%;
  display: flex; flex-direction: column; align-items: center; gap: .3rem;
  padding-top: .5rem;
  border-top: 1px solid rgba(22, 33, 74, .2);
}
.hero-badge__logos { display: flex; align-items: center; justify-content: center; gap: .9rem; }
.hero-badge__logos img { width: auto; height: 38px; }
.hero-badge__members p {
  margin: 0; font-size: .66rem; font-weight: 700; line-height: 1.2;
  color: #55607a; text-align: center; text-wrap: balance;
}
@media (max-width: 479px) {
  .hero-badge { gap: .5rem; padding: .4rem .8rem .4rem .45rem; }
  .hero-badge > picture img { width: 36px; }
  .hero-badge small { display: none; }
  .hero-badge__logos img { height: 32px; }
}

/* Compact hero on narrow screens so the CTAs and trust badge stay above the fold */
@media (max-width: 479px) {
  .hero > .wrap, .page-hero > .wrap { padding-block: 1.6rem; }
  .hero-card { padding: 1.6rem 1.2rem; }
  .hero-card .h-display { font-size: 1.5rem; }
  .hero-card > p { font-size: .92rem; line-height: 1.6; }
  .hero-card .btn-row { gap: .55rem; margin-top: 1.1rem; }
  .hero-card .btn { width: 100%; padding: .78rem 1rem; font-size: .85rem; }
  .site-header { --header-h: 78px; }
  .brand img { width: 210px; }
}

/* Short handset viewports (e.g. 360x640) need a little more compression again */
@media (max-width: 479px) and (max-height: 720px) {
  .hero-card { padding: 1.25rem 1.05rem; }
  .hero-card .eyebrow { font-size: .76rem; margin-bottom: .35rem; }
  .hero-card .h-display { font-size: 1.32rem; line-height: 1.12; margin-bottom: .4rem; }
  .hero-card > p { font-size: .85rem; line-height: 1.55; margin-bottom: .6rem; }
  .hero-card .btn { padding: .7rem 1rem; font-size: .8rem; }
  .hero > .wrap, .page-hero > .wrap { padding-block: 1.1rem; }
}

/* ---------- Split (image + text) ---------- */
.split { display: grid; gap: 2.25rem; align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: stretch; }
  .split--wide-text { grid-template-columns: .95fr 1.05fr; }
  /* Media fills the row so a long text column does not leave the image floating */
  .split-media, .split-media picture { display: flex; width: 100%; }
  .split-media img { width: 100%; height: 100%; object-fit: cover; }
  .split-body { display: flex; flex-direction: column; justify-content: center; }
}
.split-media img { width: 100%; border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.split-body { text-align: center; }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 2rem; }
@media (min-width: 620px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .card-grid--4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: #fff; border-radius: var(--radius-card); overflow: hidden;
  display: flex; flex-direction: column; text-align: center; min-width: 0;
  box-shadow: var(--shadow-card); transition: transform .2s ease;
}
.card:hover { transform: translateY(-4px); }
.card-media { aspect-ratio: 19 / 13; overflow: hidden; margin: 1.1rem 1.1rem 0; border-radius: 26px 4px 26px 4px; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 1.6rem 1.6rem 2.1rem; display: flex; flex-direction: column; flex: 1; }
.card-title {
  font-style: italic; font-weight: 800; text-transform: uppercase;
  color: var(--accent-ink); font-size: 1.1rem; line-height: 1.2; margin: 0 0 .7rem;
}
.card-body p { font-size: .9rem; line-height: 1.72; }
.card-body .btn { margin-top: auto; align-self: center; }

/* Feature card (no image) */
.feature-grid { display: grid; gap: 1.9rem; }
@media (min-width: 700px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .feature-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.feature {
  background: #fff; border-radius: var(--radius-card); min-width: 0;
  padding: 2.1rem 1.9rem; box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
}
.feature .btn-row { margin-top: auto; padding-top: .4rem; }
.feature h3 {
  font-size: 1rem; font-weight: 800; font-style: italic; text-transform: uppercase;
  color: var(--accent-ink); margin-bottom: .55rem;
}
.feature p { font-size: .9rem; line-height: 1.72; }
.feature p:last-child { margin-bottom: 0; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 2rem; margin-top: 2.5rem; text-align: center; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .steps--5 { grid-template-columns: repeat(5, 1fr); gap: 1.5rem; } }
.step-num {
  display: block; font-style: italic; font-weight: 700; font-size: 1.3rem;
  color: var(--accent-ink); letter-spacing: .04em; margin-bottom: .1rem;
}
.step h3 {
  font-style: italic; font-weight: 800; text-transform: uppercase;
  color: var(--accent-ink); font-size: 1rem; line-height: 1.2; margin-bottom: .6rem;
}
.step p { font-size: .88rem; margin-bottom: 0; }

/* ---------- Ticks ---------- */
.ticks { list-style: none; padding: 0; margin: 1.25rem 0 0; text-align: left; }
.ticks li {
  position: relative; padding-left: 1.85rem; margin-bottom: .6rem;
  font-size: .93rem; line-height: 1.55;
}
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 11px; height: 6px; border-left: 2.5px solid var(--accent-ink); border-bottom: 2.5px solid var(--accent-ink);
  transform: rotate(-45deg);
}

/* ---------- Full-bleed photo band ---------- */
.band-photo { position: relative; display: grid; }
.band-photo-media, .band-photo > .wrap { grid-area: 1 / 1; }
.band-photo-media { position: relative; overflow: hidden; min-height: 380px; }
.band-photo-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band-photo-media::after { content: ""; position: absolute; inset: 0; background: rgba(22, 33, 74, .7); }
.band-photo > .wrap {
  position: relative; z-index: 2; display: flex; align-items: center;
  justify-content: center; padding-block: var(--section-y); text-align: center;
}
.band-photo .h-section { color: #fff; }
.band-photo p { color: #e6ecf5; }

/* ---------- Trust ---------- */
.badge-inline { display: inline-flex; align-items: center; gap: .9rem; margin-top: 1.5rem; text-align: left; }
.badge-inline img { width: 70px; flex-shrink: 0; }
.badge-inline span { font-size: .82rem; line-height: 1.4; color: var(--navy-deep); font-weight: 700; }
.badge-inline small { display: block; font-weight: 500; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-block { position: relative; overflow: hidden; }
.contact-flank { display: none; }
@media (min-width: 1240px) {
  .contact-flank {
    display: block; position: absolute; top: 50%; transform: translateY(-50%);
    width: 215px; height: 350px; overflow: hidden;
  }
  .contact-flank img { width: 100%; height: 100%; object-fit: cover; }
  .contact-flank--left { left: 0; border-radius: 0 36px 0 36px; }
  .contact-flank--right { right: 0; border-radius: 36px 0 36px 0; }
}
.contact-form { max-width: 640px; margin-inline: auto; text-align: left; }
.field { margin-bottom: .85rem; }
.field label {
  display: block; font-size: .82rem; font-weight: 700; color: var(--navy-deep); margin-bottom: .3rem;
}
.field .hint { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .93rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: .8rem .95rem;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0, 122, 153, .16);
}
.field-row { display: grid; gap: .85rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.radio-row { display: flex; flex-wrap: wrap; gap: 1.1rem; margin-top: .2rem; }
.radio-row label { display: inline-flex; align-items: center; gap: .4rem; font-weight: 500; font-size: .9rem; margin: 0; }
.radio-row input { width: auto; }
.form-note { font-size: .78rem; color: var(--muted); line-height: 1.55; margin-top: 1rem; }
.honey { position: absolute; left: -9999px; }

/* ---------- Resource / link lists ---------- */
.res-list { list-style: none; padding: 0; margin: 0; }
.res-list li { padding: 1.05rem 0; border-top: 1px solid var(--line); }
.res-list li:first-child { border-top: 0; padding-top: 0; }
.res-list a {
  font-weight: 700; text-decoration: none; color: var(--navy);
  font-size: .95rem; overflow-wrap: break-word;
}
.res-list a:hover { color: var(--accent-ink); text-decoration: underline; }
.res-list a[target="_blank"]::after { content: " 97"; font-size: .8em; opacity: .65; }
.res-list p { margin: .3rem 0 0; font-size: .85rem; line-height: 1.55; }
.res-meta {
  display: inline-block; margin-left: .45rem; vertical-align: middle;
  font-size: .66rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  color: var(--accent-ink); background: var(--band); padding: .15rem .45rem; border-radius: 4px;
}
.note {
  background: #fff; border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.4rem; margin-top: 2rem; box-shadow: var(--shadow-card);
}
.note h3 {
  font-size: .95rem; font-weight: 800; font-style: italic; text-transform: uppercase;
  color: var(--accent-ink); margin-bottom: .5rem;
}
.note p:last-child { margin-bottom: 0; }
.note p { font-size: .9rem; }

/* ---------- Detail list ---------- */
.detail-list { list-style: none; padding: 0; margin: 0; }
.detail-list li { display: flex; gap: .7rem; margin-bottom: .9rem; font-size: .92rem; overflow-wrap: break-word; }
.detail-list .label {
  font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
  font-size: .72rem; color: var(--accent-ink); min-width: 58px; padding-top: .2rem; flex-shrink: 0;
}
.detail-list a { font-size: .88rem; }
.detail-list a { font-weight: 700; text-decoration: none; color: var(--navy); }
.detail-list a:hover { color: var(--accent-ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--band); padding-block: 3.25rem 1.5rem; }
.footer-grid { display: grid; gap: 2.25rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1.15fr; gap: 2.25rem; } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.4fr .8fr 1.35fr 1.05fr; } }
.footer-logo { width: 200px; margin-bottom: 1rem; }
.site-footer h2 {
  font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .09em;
  color: var(--navy-deep); margin-bottom: .9rem;
}
.site-footer p, .site-footer li { font-size: .86rem; line-height: 1.65; color: var(--navy-deep); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .4rem; }
.site-footer a { color: var(--navy-deep); text-decoration: none; }
.site-footer a:hover { color: var(--accent-ink); text-decoration: underline; }
.footer-team { margin: .9rem 0 0; }
.footer-team dt {
  font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
  color: var(--navy-deep); margin-top: .75rem;
}
.footer-team dt:first-child { margin-top: 0; }
.footer-team dd { margin: .15rem 0 0; font-size: .86rem; line-height: 1.5; color: var(--navy-deep); overflow-wrap: anywhere; }

/* Contact page team directory */
.team-grid { display: grid; gap: 1.9rem; }
.center + .team-grid { margin-top: 3.25rem; }
@media (min-width: 700px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
.team-grid { max-width: 900px; margin-inline: auto; }
.team-list { list-style: none; padding: 0; margin: 0; }
.team-list li { display: flex; flex-direction: column; gap: .15rem; margin-bottom: .9rem; }
.team-list li:last-child { margin-bottom: 0; }
.team-name { font-weight: 700; color: var(--navy-deep); font-size: .95rem; }
.team-list a { font-size: .88rem; font-weight: 700; text-decoration: none; color: var(--accent-ink); overflow-wrap: anywhere; }
.team-list a:hover { text-decoration: underline; }

/* Contact page: in memoriam */
.memoriam-inner { display: grid; gap: 2rem; justify-items: center; text-align: center; }
.memoriam-photo {
  width: 240px; height: auto; border-radius: var(--radius-card);
  box-shadow: var(--shadow-card); filter: saturate(.9);
}
.memoriam-dates { font-weight: 700; color: var(--navy); letter-spacing: .02em; margin-top: -.25rem; }
.memoriam-body p { max-width: 34rem; margin-inline: auto; }
@media (min-width: 760px) {
  .memoriam-inner { grid-template-columns: auto 1fr; align-items: center; justify-items: start; text-align: left; gap: 3rem; }
  .memoriam-photo { width: 260px; }
  .memoriam-body p { margin-inline: 0; }
}

.footer-ack {
  margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid rgba(22, 33, 74, .18);
  font-size: .76rem; line-height: 1.6; color: #3b4664;
}
.footer-legal {
  display: flex; flex-wrap: wrap; gap: .35rem 1.25rem;
  margin-top: 1rem; font-size: .76rem; color: #3b4664;
}

/* ---------- Sticky mobile call bar ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1fr;
  box-shadow: 0 -4px 18px rgba(22, 33, 74, .22);
}
.callbar a {
  display: flex; align-items: center; justify-content: center;
  padding: .95rem .5rem; font-size: .85rem; font-weight: 800; font-style: italic;
  text-transform: uppercase; letter-spacing: .04em; text-decoration: none; color: #fff;
}
.callbar a:first-child { background: var(--navy); }
.callbar a:last-child { background: var(--accent); }
@media (min-width: 640px) { .callbar { display: none; } }
@media (max-width: 639px) { body { padding-bottom: 52px; } }
