/* =========================================================
   SAVCLICK — Homepage Stylesheet (v2)
   Brand tokens per Savclick Limited Brand & Design Guidelines
   ========================================================= */

:root {
  --savclick-navy-primary: #0f172a;
  --savclick-azure-action: #2563eb;
  --savclick-plat-bg:      #f8fafc;
  --savclick-mint-value:   #10b981;

  --color-text-main:   var(--savclick-navy-primary);
  --color-bg-main:     var(--savclick-plat-bg);
  --color-btn-primary: var(--savclick-azure-action);
  --color-badge-success: var(--savclick-mint-value);

  --navy-06:   rgba(15, 23, 42, 0.05);
  --navy-10:   rgba(15, 23, 42, 0.09);
  --navy-14:   rgba(15, 23, 42, 0.12);
  --navy-70:   rgba(15, 23, 42, 0.70);
  --azure-08:  rgba(37, 99, 235, 0.07);
  --azure-16:  rgba(37, 99, 235, 0.14);
  --white:     #ffffff;
  --border-hairline: rgba(15, 23, 42, 0.10);

  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;

  --container-w: 1180px;
  --gutter: 20px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --header-h: 72px;
}

@media (min-width: 640px)  { :root { --gutter: 28px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text-main);
  background: var(--color-bg-main);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 0.5em; font-weight: 600; }
h1, h2 { color: var(--savclick-azure-action); }
.label-navy { color: var(--savclick-navy-primary) !important; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--savclick-navy-primary);
  color: var(--white);
  padding: 10px 16px;
  z-index: 999;
}
.skip-link:focus { left: 12px; top: 12px; }

:focus-visible { outline: 2px solid var(--savclick-azure-action); outline-offset: 2px; }

.eyebrow { font-size: 0.9rem; color: var(--navy-70); margin-bottom: 0.6em; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--color-btn-primary); color: var(--white); }
.btn-primary:hover { background: #1d4fc4; }
.btn-ghost { background: transparent; border-color: var(--navy-14); color: var(--color-text-main); }
.btn-ghost:hover { border-color: var(--savclick-navy-primary); }

/* ---------- Logo ---------- */
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.logo-img { border-radius: 8px; object-fit: contain; }
.logo-word { color: var(--savclick-navy-primary); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
}
/* The blur lives on a pseudo-element: backdrop-filter on the header itself
   would make it the containing block for the fixed mobile menu, squashing
   the menu to the header's height. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(248, 250, 252, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
/* Full-width header: logo far left, menu far right */
.site-header {
  height: auto;
  min-height: var(--header-h);
  padding: 8px 0;
}
.site-header .header-inner {
  max-width: none;          /* let the header span the full screen */
  width: 100%;
  justify-content: space-between;
}
.header-inner > .logo { margin-right: auto; }

/* Header logo: 100px wide, full image visible, no cropping */
.header-inner > .logo .logo-img {
  width: 100px;
  height: auto;
  object-fit: contain;
  border-radius: 0;
}
.header-inner { display: flex; align-items: center; gap: 28px; }
.header-inner > .logo { margin-right: auto; }

.main-nav-head { display: none; }

.main-nav ul { display: flex; align-items: center; gap: 26px; }
.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy-70);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 0;
}
.nav-link:hover { color: var(--savclick-navy-primary); }
.nav-link.active { color: var(--savclick-azure-action); font-weight: 600; }

.chev {
  width: 7px;
  height: 7px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.18s ease;
}
.has-dropdown[data-open="true"] .chev { transform: rotate(225deg) translateY(2px); }
.has-dropdown { position: relative; }

/* ---------- Dropdown (desktop) ---------- */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: var(--white);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.14);
  min-width: 340px;
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}
.has-dropdown[data-open="true"] .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-title {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--navy-70);
  letter-spacing: 0.02em;
  padding: 8px 12px 4px;
  margin: 0;
}
.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
}
.dropdown-item:hover { background: var(--azure-08); }
.dropdown-icon { width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0; margin-top: 1px; }
.dropdown-text { display: flex; flex-direction: column; gap: 2px; }
.dropdown-name { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.92rem; }
.dropdown-desc { font-size: 0.8rem; color: var(--navy-70); line-height: 1.4; }
.dropdown-item.is-locked { opacity: 0.85; }
.dropdown-divider { height: 1px; background: var(--border-hairline); margin: 6px 8px; }
/* Sub-links under a department (e.g. SAVCLICK Tech) */
.dropdown-sub { display: flex; flex-direction: column; margin: -4px 0 4px 58px; padding-left: 10px; border-left: 2px solid var(--border-hairline); }
.dropdown-subitem { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 6px 10px; border-radius: 8px; font-size: 0.86rem; font-weight: 500; color: var(--navy-70); }
.dropdown-subitem:hover { background: var(--azure-08); color: var(--savclick-azure-action); }
.dropdown-subitem[aria-current="page"] { color: var(--savclick-azure-action); font-weight: 600; }

.tag { font-size: 0.68rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.tag-open { background: rgba(16, 185, 129, 0.12); color: #0a7a58; }
.tag-soon { background: var(--navy-06); color: var(--navy-70); }

.btn-nav-mobile { display: none; }

.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 6px; flex-shrink: 0; }
.menu-toggle span { width: 22px; height: 2px; background: var(--savclick-navy-primary); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }

.nav-scrim {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s;
  z-index: 90;
}
.nav-scrim.is-visible { opacity: 1; visibility: visible; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.hero-copy { max-width: 560px; }
.hero h1 { font-size: clamp(2.1rem, 6vw, 3.2rem); letter-spacing: -0.01em; }
.hero-sub { font-size: 1.04rem; color: var(--navy-70); max-width: 520px; }
.hero-actions { display: flex; gap: 14px; margin-top: 8px; flex-wrap: wrap; }
.hero-media { width: 100%; }
.hero-banner-img { width: 100%; height: 400px; border-radius: var(--radius-lg); box-shadow: 0 24px 56px rgba(15, 23, 42, 0.18); }

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 56px; }
}

/* ---------- Intro strip ---------- */
.intro-strip { border-top: 1px solid var(--border-hairline); border-bottom: 1px solid var(--border-hairline); background: var(--white); }
.intro-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 32px 0; }
.intro-stat { display: flex; flex-direction: column; gap: 4px; text-align: center; }
.stat-num { font-family: var(--font-display); font-size: 2.3rem; font-weight: 700; color: var(--savclick-mint-value); }
.stat-label { color: var(--navy-70); font-size: 0.88rem; }

/* ---------- Directory board ---------- */
.directory { padding: 80px 0; }
.section-sub { color: var(--navy-70); max-width: 560px; font-size: 1.01rem; }

.board { margin-top: 36px; border-radius: var(--radius-lg); background: var(--savclick-navy-primary); padding: 10px; display: flex; flex-direction: column; gap: 4px; }
.board-row {
  display: grid;
  grid-template-columns: 40px 84px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 18px 18px;
  border-radius: 10px;
  color: var(--white);
  opacity: 0;
  transform: translateY(10px);
  transition: background 0.15s ease, transform 0.5s ease, opacity 0.5s ease;
}
.board.is-visible .board-row { opacity: 1; transform: translateY(0); }
.board-row:nth-child(1) { transition-delay: 0.02s; }
.board-row:nth-child(2) { transition-delay: 0.10s; }
.board-row:nth-child(3) { transition-delay: 0.18s; }
.board-row:nth-child(4) { transition-delay: 0.26s; }
.board-row:nth-child(5) { transition-delay: 0.34s; }
.board-row:hover { background: rgba(255, 255, 255, 0.06); }
.board-row.is-locked { cursor: pointer; }
.board-icon { width: 40px; height: 40px; border-radius: 10px; }
.suite { font-size: 0.76rem; color: rgba(255, 255, 255, 0.55); }
.board-text { display: flex; flex-direction: column; gap: 3px; }
.board-name { font-family: var(--font-display); font-weight: 600; font-size: 1.03rem; }
.board-desc { font-size: 0.86rem; color: rgba(255, 255, 255, 0.6); font-weight: 400; }

/* ---------- Explore the site ---------- */
.explore { padding: 80px 0; background: var(--white); }
.explore-grid { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.explore-card { border: 1px solid var(--border-hairline); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.explore-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(15, 23, 42, 0.10); }
.explore-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.explore-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.explore-body h3 { font-size: 1.08rem; }
.explore-body p { color: var(--navy-70); font-size: 0.92rem; margin-bottom: 4px; }
.explore-link { font-size: 0.88rem; font-weight: 600; color: var(--savclick-azure-action); }

/* ---------- Principles ---------- */
.principles { padding: 80px 0; }
.principles-grid { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.principle-card { padding: 26px; border: 1px solid var(--border-hairline); border-radius: var(--radius-md); background: var(--white); }
.principle-card h3 { font-size: 1.08rem; }
.principle-card p { color: var(--navy-70); font-size: 0.93rem; margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--savclick-navy-primary); color: var(--white); padding: 56px 0; }
.cta-band h2 { color: var(--white); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-inner h2 { margin-bottom: 6px; }
.cta-inner p { color: rgba(255, 255, 255, 0.65); margin: 0; }

/* ---------- Footer ---------- */
.site-footer { padding: 64px 0 24px; background: var(--savclick-plat-bg); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; padding-bottom: 40px; border-bottom: 1px solid var(--border-hairline); }
.footer-brand p { color: var(--navy-70); font-size: 0.9rem; margin-top: 14px; max-width: 240px; }
.footer-social { margin-top: 22px; }
.footer-brand .footer-social .footer-label { display: block; margin: 0 0 10px; font-size: 0.76rem; }
.footer-social ul { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--navy-14); color: var(--savclick-navy-primary);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.footer-social a:hover { background: var(--savclick-azure-action); border-color: var(--savclick-azure-action); color: var(--white); }
.footer-social svg { width: 19px; height: 19px; }
.footer-col h4 { font-size: 0.86rem; margin-bottom: 14px; color: var(--navy-70); font-weight: 600; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.92rem; }
.footer-col a:hover { color: var(--savclick-azure-action); }
.footer-contact { gap: 16px !important; }
.footer-contact li { display: flex; flex-direction: column; gap: 2px; }
.footer-label { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.02em; color: var(--navy-70); }
.footer-contact address { font-style: normal; font-size: 0.92rem; line-height: 1.5; }
.footer-sub { font-size: 0.84rem !important; color: var(--savclick-azure-action); }
.footer-bottom { padding-top: 22px; font-size: 0.85rem; color: var(--navy-70); }

/* ---------- Construction modal ---------- */
.modal-overlay { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.55); display: none; align-items: center; justify-content: center; z-index: 200; padding: 20px; }
.modal-overlay.is-open { display: flex; }
.modal { background: var(--white); border-radius: var(--radius-md); padding: 34px 30px; max-width: 380px; width: 100%; text-align: center; position: relative; }
.modal-icon { font-size: 2rem; display: block; margin-bottom: 12px; }
.modal h3 { font-size: 1.12rem; margin-bottom: 10px; }
.modal p { color: var(--navy-70); font-size: 0.93rem; }
.modal-close { position: absolute; top: 12px; right: 14px; font-size: 1.4rem; color: var(--navy-70); line-height: 1; }

/* ---------- Responsive: tablet ---------- */
@media (max-width: 900px) {
  .principles-grid { grid-template-columns: 1fr; }
  .explore-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Responsive: mobile nav ---------- */
@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    height: 100dvh;
    width: min(340px, 86vw);
    background: var(--white);
    padding: 18px 20px 28px;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 95;
    box-shadow: -12px 0 40px rgba(15, 23, 42, 0.16);
    display: flex;
    flex-direction: column;
    visibility: hidden;
    transition: transform 0.28s ease, visibility 0.28s;
  }
  .main-nav.is-open { transform: translateX(0); visibility: visible; }
  .main-nav-head { display: flex; flex-shrink: 0; align-items: center; justify-content: space-between; padding-bottom: 14px; margin-bottom: 10px; border-bottom: 1px solid var(--border-hairline); }
  .main-nav-head .logo-img { width: 84px; height: auto; border-radius: 0; }
  .nav-close { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; color: var(--navy-70); line-height: 1; border-radius: 8px; }
  .nav-close:hover { background: var(--navy-06); }

  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; width: 100%; }
  .nav-link { width: 100%; padding: 14px 6px; font-size: 1rem; justify-content: space-between; border-radius: 8px; }
  .nav-link:hover { background: var(--navy-06); }

  .has-dropdown { position: static; }
  .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    max-height: 0;
    overflow: hidden;
    padding: 0 0 0 8px;
    transition: max-height 0.25s ease;
  }
  .has-dropdown[data-open="true"] .dropdown-menu { max-height: 900px; padding: 4px 0 10px 8px; transform: none; }
  .dropdown-title { padding: 6px 8px 2px; }
  .dropdown-item { padding: 10px 8px; }
  .dropdown-name { flex-wrap: wrap; row-gap: 4px; }
  .dropdown-sub { margin-left: 50px; }
  .dropdown-subitem { padding: 9px 10px; font-size: 0.92rem; }

  .btn-nav { display: none; }
  .btn-nav-mobile { display: flex; flex-shrink: 0; justify-content: center; margin-top: 18px; }
  .menu-toggle { display: flex; padding: 10px 8px; }

  .board-row { grid-template-columns: 34px 1fr; grid-template-areas: "icon name" "icon desc" "icon tag"; row-gap: 4px; text-align: left; }
  .board-icon { grid-area: icon; align-self: start; }
  .suite { display: none; }
  .board-text { grid-area: name / name / desc / desc; }
  .board-name { grid-area: name; }
  .board-desc { grid-area: desc; }
  .board-row .tag { grid-area: tag; justify-self: start; margin-top: 4px; }
}

@media (max-width: 620px) {
  .explore-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .intro-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .board-row { transition: none !important; opacity: 1 !important; transform: none !important; }
}

/* =========================================================
   About Us page
   ========================================================= */

.breadcrumb { font-size: 0.85rem; color: var(--navy-70); margin-bottom: 14px; }
.breadcrumb a { color: var(--navy-70); }
.breadcrumb a:hover { color: var(--savclick-azure-action); }
.breadcrumb span { margin: 0 6px; }

.page-hero { padding: 56px 0 64px; }
.page-hero-grid { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
.page-hero-copy { max-width: 560px; }
.page-hero-copy h1 { font-size: clamp(2rem, 5.5vw, 2.9rem); letter-spacing: -0.01em; }
.page-hero-img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: 0 24px 56px rgba(15, 23, 42, 0.18); }
@media (min-width: 960px) { .page-hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 56px; } }
@media (min-width: 960px) { .page-hero-grid.media-left { grid-template-columns: 0.95fr 1.05fr; } }

.story { padding: 72px 0; background: var(--white); }
.story-grid { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
.story-media img { border-radius: var(--radius-lg); width: 100%; height: auto; }
.story-copy p { color: var(--navy-70); font-size: 0.98rem; }
.story-copy h2 { font-size: clamp(1.6rem, 4vw, 2.1rem); }
@media (min-width: 960px) { .story-grid { grid-template-columns: 0.85fr 1.15fr; gap: 56px; } }

.mission { padding: 72px 0; }
.mission-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.mission-card { padding: 32px; border-radius: var(--radius-lg); background: var(--savclick-navy-primary); color: var(--white); }
.mission-card-alt { background: var(--white); color: var(--color-text-main); border: 1px solid var(--border-hairline); }
.mission-label { font-size: 0.8rem; font-weight: 600; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.04em; }
.mission-card-alt .mission-label { color: var(--navy-70); }
.mission-card h3 { margin-top: 10px; font-size: 1.3rem; }
.mission-card p { margin-bottom: 0; opacity: 0.85; font-size: 0.96rem; }
.mission-card-alt p { opacity: 1; color: var(--navy-70); }
@media (min-width: 760px) { .mission-grid { grid-template-columns: 1fr 1fr; } }

.values { padding: 72px 0; background: var(--white); }
.values-grid { margin-top: 32px; display: grid; grid-template-columns: 1fr; gap: 20px; }
.value-card { padding: 26px; border: 1px solid var(--border-hairline); border-radius: var(--radius-md); }
.value-icon { width: 48px; height: 48px; border-radius: 50%; margin-bottom: 14px; }
.value-card h3 { font-size: 1.05rem; }
.value-card p { color: var(--navy-70); font-size: 0.92rem; margin-bottom: 0; }
@media (min-width: 640px) { .values-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .values-grid { grid-template-columns: repeat(4, 1fr); } }

.leadership { padding: 72px 0; }
.leadership-grid { margin-top: 32px; display: grid; grid-template-columns: 1fr; gap: 24px; }
.leader-card { text-align: center; }
.leader-avatar { width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 16px; }
.leader-card h3 { font-size: 1.05rem; margin-bottom: 2px; }
.leader-role { font-size: 0.88rem; color: var(--navy-70); }
@media (min-width: 640px) { .leadership-grid { grid-template-columns: repeat(3, 1fr); } }

/* =========================================================
   Contact page
   ========================================================= */

.contact-main { padding: 72px 0 88px; background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.4fr 1fr; gap: 48px; } }

.contact-form-card {
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 32px;
  background: var(--savclick-plat-bg);
}
.contact-form-card h2 { font-size: 1.4rem; }

.form-row { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label { font-size: 0.88rem; font-weight: 600; }
.field .optional { font-weight: 400; color: var(--navy-70); }

.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-hairline);
  background: var(--white);
  color: var(--color-text-main);
  outline: none;
  transition: border-color 0.15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--savclick-azure-action); }
.field textarea { resize: vertical; min-height: 120px; }

.field-error {
  display: none;
  font-size: 0.8rem;
  color: #dc2626;
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #dc2626; }
.field.has-error .field-error { display: block; }

.btn-submit { width: 100%; justify-content: center; margin-top: 6px; }
.btn-submit[disabled] { opacity: 0.7; cursor: progress; }
.form-send-error { margin: 12px 0 0; padding: 12px 14px; border-radius: var(--radius-sm); background: rgba(220, 38, 38, 0.08); color: #b91c1c; font-size: 0.88rem; }
.form-send-error a { text-decoration: underline; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form-success { text-align: center; padding: 20px 4px 4px; }
.success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  color: #0a7a58;
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.form-success h3 { font-size: 1.15rem; }
.form-success p { color: var(--navy-70); font-size: 0.92rem; }

.contact-info { display: flex; flex-direction: column; gap: 16px; }
.info-card { padding: 20px 22px; border: 1px solid var(--border-hairline); border-radius: var(--radius-md); }
.info-card h3 { font-size: 0.92rem; color: var(--navy-70); margin-bottom: 6px; font-weight: 600; }
.info-card p { margin-bottom: 0; font-size: 0.98rem; }
.info-card a:hover { color: var(--savclick-azure-action); }

.map-wrap { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-hairline); }
.map-img { width: 100%; height: auto; }
.map-frame { display: block; width: 100%; height: 260px; border: 0; }

/* ---------- Quick links to departments ---------- */
.quick-links { padding: 72px 0 88px; }
.quick-grid { margin-top: 32px; display: grid; grid-template-columns: 1fr; gap: 14px; }
.quick-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.quick-card:hover { box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08); transform: translateY(-2px); }
.quick-icon { width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; }
.quick-name { font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; margin-right: auto; }
@media (min-width: 640px) { .quick-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .quick-grid { grid-template-columns: repeat(5, 1fr); } .quick-card { flex-direction: column; text-align: center; } .quick-name { margin-right: 0; } }

/* =========================================================
   About page v2 — Who We Are, timeline, memoriam
   ========================================================= */

.who-we-are { padding: 72px 0; background: var(--white); }
.lead-copy { max-width: 780px; font-size: 1.05rem; color: var(--navy-70); }

.media-placeholders { margin-top: 36px; display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 860px) { .media-placeholders { grid-template-columns: 1fr 1fr; } }
.media-placeholder { margin: 0; }
.placeholder-img { width: 100%; height: auto; border-radius: var(--radius-lg); aspect-ratio: 4 / 3; object-fit: cover; }
.media-placeholder figcaption { margin-top: 10px; font-size: 0.84rem; color: var(--navy-70); }
.video-placeholder-link { display: block; border-radius: var(--radius-lg); overflow: hidden; }
.video-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.story { padding: 72px 0; }
.story-copy-wide { max-width: 820px; }
.story-copy-wide p { color: var(--navy-70); font-size: 0.98rem; }

.timeline { list-style: none; margin: 40px 0 0; padding: 0; border-left: 2px solid var(--border-hairline); max-width: 820px; }
.timeline-item { position: relative; padding: 0 0 32px 28px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--savclick-azure-action);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--border-hairline);
}
.timeline-year { display: inline-block; font-family: var(--font-display); font-weight: 700; color: var(--savclick-azure-action); font-size: 0.95rem; margin-bottom: 4px; }
.timeline-body h3 { font-size: 1.05rem; margin-bottom: 6px; }
.timeline-body p { color: var(--navy-70); font-size: 0.94rem; margin-bottom: 0; }

.story-closer { max-width: 820px; margin-top: 36px; font-size: 0.98rem; color: var(--navy-70); }

.values-grid-3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .values-grid-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .values-grid-3 { grid-template-columns: repeat(3, 1fr); } }

.leadership-grid-1 { grid-template-columns: 1fr; max-width: 280px; margin-left: auto; margin-right: auto; }

.memoriam { padding: 56px 0 80px; }
.memoriam-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  max-width: 640px;
  margin: 0 auto;
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  background: var(--savclick-navy-primary);
  color: var(--white);
}
.memoriam-avatar { width: 96px; height: 96px; border-radius: 50%; flex-shrink: 0; }
.memoriam-label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.memoriam h3 { margin-top: 6px; font-size: 1.15rem; }
.memoriam p { margin-bottom: 0; color: rgba(255,255,255,0.75); font-size: 0.93rem; }
@media (min-width: 640px) { .memoriam-inner { flex-direction: row; text-align: left; } }

/* =========================================================
   About page v3 — story image layout + team showcase
   ========================================================= */

.story-grid { display: grid; grid-template-columns: 1fr; gap: 32px; margin-top: 36px; }
.story-media img { width: 100%; height: auto; border-radius: var(--radius-lg); }
@media (min-width: 960px) {
  .story-grid { grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
  .story-media { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* ---------- Team showcase: 4-col grid on desktop, scroll-snap strip on mobile ---------- */
.team-showcase { margin-top: 32px; }
.team-track {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) { .team-track { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .team-track { grid-template-columns: repeat(4, 1fr); } }

.team-card {
  text-align: center;
  padding: 28px 20px;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  background: var(--white);
}
.team-avatar { width: 104px; height: 104px; border-radius: 50%; margin: 0 auto 16px; }
.team-avatar-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-06);
  color: var(--navy-70);
  font-size: 2rem;
  font-weight: 300;
}
.team-card h3 { font-size: 1rem; margin-bottom: 2px; }
.team-role { font-size: 0.86rem; color: var(--navy-70); }
.team-card-empty { border-style: dashed; }
.team-card-empty h3, .team-card-empty .team-role { color: var(--navy-70); }

.team-card-memoriam { background: var(--savclick-navy-primary); border-color: var(--savclick-navy-primary); }
.team-card-memoriam h3 { color: var(--white); }
.team-card-memoriam .team-role { color: rgba(255,255,255,0.6); }
.memoriam-tag {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
}

.memoriam-note { margin-top: 28px; max-width: 720px; color: var(--navy-70); font-size: 0.92rem; }

/* Mobile: turn the grid into a horizontally scrollable strip (carousel-style) */
@media (max-width: 639px) {
  .team-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    margin: 0 calc(var(--gutter) * -1);
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }
  .team-card { flex: 0 0 78%; scroll-snap-align: start; }
}