/* ==========================================================================
   Northbridge Advisory — Professional services template
   --------------------------------------------------------------------------
   REBRANDING: edit the custom properties below.
   --navy-*    primary brand color (header text, dark bands, buttons)
   --sand-*    warm page backgrounds
   --gold-500  decorative accent (rules, icons, numerals) — keep it decorative
   --gold-700  accent for small text on light backgrounds (contrast-safe)
   --font-serif / --font-sans  also update the Google Fonts <link> in each page.
   Keep text/background pairs at 4.5:1 contrast or higher.
   ========================================================================== */
:root {
  --navy-950: #0f1a2b;
  --navy-900: #172338;
  --navy-800: #1f2f4a;
  --navy-600: #3a4d6e;
  --sand-50: #faf7f2;
  --sand-100: #f3ede3;
  --sand-200: #e7dccb;
  --stone-500: #6b6255;
  --gold-500: #b8935a;
  --gold-300: #d9bf8f;
  --gold-700: #7a5a26;
  --ink: #1d2433;
  --ink-soft: #4d5566;
  --line: #ddd3c3;
  --white: #ffffff;
  --font-serif: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1160px;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font-sans); font-size: 1rem; line-height: 1.7; color: var(--ink);
  background: var(--sand-50); overflow-wrap: break-word;
}
svg { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; line-height: 1.2; margin: 0 0 .6em; color: var(--navy-900); letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); font-weight: 500; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 500; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
a { color: var(--navy-800); text-decoration-color: var(--gold-500); text-underline-offset: 3px; }
a:hover { color: var(--gold-700); }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--navy-900); color: #fff; padding: .7rem 1rem; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 1rem; color: #fff; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 768px) { .container { padding: 0 2rem; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: .9rem 1.6rem;
  font: inherit; font-weight: 600; font-size: .95rem; letter-spacing: .01em; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; border-radius: var(--radius); transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn svg { width: 16px; height: 16px; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--navy-900); color: #fff; }
.btn-primary:hover { background: var(--navy-800); color: #fff; }
.btn-gold { background: var(--gold-300); color: var(--navy-950); }
.btn-gold:hover { background: #e6d1aa; color: var(--navy-950); }
.btn-line { border-color: var(--navy-900); color: var(--navy-900); background: transparent; }
.btn-line:hover { background: var(--navy-900); color: #fff; }
.btn-line-light { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-line-light:hover { background: #fff; color: var(--navy-900); }

/* ---------- Header ---------- */
.topbar { background: var(--navy-950); color: #c9cfda; font-size: .82rem; }
.topbar .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1.5rem; padding-top: .45rem; padding-bottom: .45rem; }
.topbar span { display: inline-flex; align-items: center; gap: .45rem; }
.topbar svg { width: 14px; height: 14px; color: var(--gold-300); flex: none; }
.topbar .tb-hours { display: none; }
@media (min-width: 640px) { .topbar .tb-hours { display: inline-flex; } }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 247, 242, .96); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--navy-900); }
.brand:hover { color: var(--navy-900); }
.brand svg { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 600; letter-spacing: .01em; }
.brand-sub { font-size: .66rem; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-700); font-weight: 600; margin-top: .2rem; }
.nav-toggle { display: inline-flex; align-items: center; gap: .55rem; padding: .55rem .85rem; font: inherit; font-weight: 600; font-size: .9rem; color: var(--navy-900); background: transparent; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; }
.nav-toggle-icon { width: 18px; height: 12px; position: relative; display: inline-block; }
.nav-toggle-icon::before, .nav-toggle-icon::after, .nav-toggle-icon span { content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle-icon::before { top: 0; } .nav-toggle-icon span { top: 5px; } .nav-toggle-icon::after { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after { transform: translateY(-5px) rotate(-45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span { opacity: 0; }
.site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--sand-50); border-bottom: 1px solid var(--line); box-shadow: 0 24px 30px -24px rgba(15, 26, 43, .35); }
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: .5rem 1.25rem 1.5rem; display: flex; flex-direction: column; }
.site-nav a:not(.btn) { display: block; padding: .85rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--navy-900); font-weight: 500; }
.site-nav a:not(.btn):hover { color: var(--gold-700); }
.site-nav a[aria-current="page"]:not(.btn) { color: var(--gold-700); font-weight: 600; }
.site-nav .btn { margin-top: 1.25rem; width: 100%; }
@media (min-width: 940px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; position: static; background: none; border: 0; box-shadow: none; }
  .site-nav ul { flex-direction: row; align-items: center; gap: 2rem; padding: 0; }
  .site-nav a:not(.btn) { padding: .4rem 0; border: 0; font-size: .95rem; position: relative; }
  .site-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold-500); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
  .site-nav a:not(.btn):hover::after, .site-nav a[aria-current="page"]:not(.btn)::after { transform: scaleX(1); }
  .site-nav .btn { margin: 0 0 0 .5rem; width: auto; padding: .7rem 1.2rem; }
}

/* ---------- Generic sections ---------- */
.section { padding: 4.5rem 0; }
@media (min-width: 900px) { .section { padding: 6.5rem 0; } }
.section-sand { background: var(--sand-100); }
.section-white { background: var(--white); }
.section-navy { background: var(--navy-900); color: #d5dbe5; }
.section-navy h2, .section-navy h3 { color: #fff; }
.eyebrow { display: inline-flex; align-items: center; gap: .8rem; font-size: .76rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-700); margin-bottom: 1.1rem; }
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--gold-500); }
.section-navy .eyebrow, .page-hero .eyebrow { color: var(--gold-300); }
.section-head { max-width: 680px; margin-bottom: 3rem; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow::after { content: ""; width: 32px; height: 1px; background: var(--gold-500); }
.lead { font-size: 1.15rem; color: var(--ink-soft); }
.section-navy .lead { color: #c2cad8; }
.split-head { display: grid; gap: 1.5rem; margin-bottom: 3rem; align-items: end; }
@media (min-width: 900px) { .split-head { grid-template-columns: 1.2fr 1fr; gap: 4rem; } .split-head .section-head { margin-bottom: 0; } }
.text-link { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; text-decoration: none; color: var(--navy-900); border-bottom: 1px solid var(--gold-500); padding-bottom: .15rem; }
.text-link svg { width: 14px; height: 14px; transition: transform .2s ease; }
.text-link:hover svg { transform: translateX(3px); }
.example-note { font-size: .8rem; color: var(--stone-500); }
.section-navy .example-note { color: #a9b3c4; }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--sand-100); }
.hero-grid { display: grid; gap: 3rem; padding-top: 4rem; padding-bottom: 4.5rem; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 4.5rem; padding-top: 6rem; padding-bottom: 6rem; } }
.hero h1 em { font-style: italic; color: var(--gold-700); }
.hero .lead { max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; margin: 2.25rem 0 2.5rem; }
.hero-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; padding-top: 1.75rem; border-top: 1px solid var(--line); max-width: 32rem; }
.hero-proof strong { display: block; font-family: var(--font-serif); font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 500; color: var(--navy-900); line-height: 1.1; }
.hero-proof span { font-size: .82rem; color: var(--ink-soft); line-height: 1.4; display: block; margin-top: .3rem; }
.hero-visual { position: relative; }
.photo-ph {
  position: relative; overflow: hidden; display: flex; align-items: flex-end; min-height: 320px; padding: 1.25rem;
  background:
    radial-gradient(circle at 78% 22%, rgba(217, 191, 143, .45), transparent 42%),
    linear-gradient(155deg, var(--navy-800), var(--navy-950));
  color: #fff;
}
.photo-ph::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 14px);
}
.photo-ph svg.ph-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.ph-label { position: relative; display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; letter-spacing: .04em; background: rgba(15, 26, 43, .7); border: 1px solid rgba(217, 191, 143, .45); padding: .4rem .75rem; color: #f2e8d6; }
.ph-label svg { width: 14px; height: 14px; color: var(--gold-300); }
.hero-visual .photo-ph { min-height: 440px; align-items: flex-start; justify-content: flex-end; }
.hero-frame { position: absolute; inset: 1.25rem -1.25rem -1.25rem 1.25rem; border: 1px solid var(--gold-500); pointer-events: none; display: none; }
@media (min-width: 980px) { .hero-frame { display: block; } .hero-visual { margin-right: 1.25rem; } }
.hero-card { position: relative; margin: -2.5rem 1rem 0; background: #fff; padding: 1.25rem 1.4rem; box-shadow: 0 20px 40px -24px rgba(15, 26, 43, .45); border-left: 3px solid var(--gold-500); }
@media (min-width: 980px) { .hero-card { position: absolute; left: -2.5rem; bottom: 2.5rem; margin: 0; max-width: 300px; } }
.hero-card p { margin: 0; font-family: var(--font-serif); font-size: 1.05rem; color: var(--navy-900); line-height: 1.45; }
.hero-card small { display: block; margin-top: .5rem; color: var(--ink-soft); font-size: .78rem; }

/* ---------- Service cards ---------- */
.service-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); grid-template-columns: 1fr; }
@media (min-width: 640px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .service-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card { background: var(--white); padding: 2.25rem 1.9rem; display: flex; flex-direction: column; transition: background-color .25s ease; position: relative; }
.service-card::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--gold-500); transition: width .35s ease; }
.service-card:hover { background: var(--sand-50); }
.service-card:hover::before { width: 100%; }
.service-icon { width: 46px; height: 46px; color: var(--gold-700); margin-bottom: 1.4rem; }
.service-card p { color: var(--ink-soft); flex: 1; }
.service-card .text-link { align-self: flex-start; margin-top: .5rem; }

/* ---------- Why us ---------- */
.why-grid { display: grid; gap: 3rem; }
@media (min-width: 960px) { .why-grid { grid-template-columns: .9fr 1.1fr; gap: 5rem; } }
.why-list { list-style: none; margin: 0; padding: 0; counter-reset: why; }
.why-list li { counter-increment: why; display: grid; grid-template-columns: 3.5rem 1fr; gap: 1rem; padding: 1.75rem 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.why-list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.why-list li::before { content: counter(why, decimal-leading-zero); font-family: var(--font-serif); font-size: 2rem; line-height: 1; color: var(--gold-300); font-style: italic; }
.why-list h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.why-list p { margin: 0; color: #c2cad8; }
.why-aside .photo-ph { min-height: 300px; margin-top: 2rem; }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.testimonial { margin: 0; background: var(--white); padding: 2.25rem 2rem 2rem; border: 1px solid var(--line); position: relative; display: flex; flex-direction: column; }
.testimonial::before { content: "“"; position: absolute; top: .4rem; right: 1.4rem; font-family: var(--font-serif); font-size: 5.5rem; line-height: 1; color: var(--sand-200); }
.t-tag { align-self: flex-start; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--gold-700); border: 1px solid var(--gold-500); padding: .2rem .55rem; margin-bottom: 1.25rem; }
.testimonial blockquote { margin: 0 0 1.5rem; font-family: var(--font-serif); font-size: 1.15rem; line-height: 1.55; color: var(--navy-900); position: relative; }
.testimonial blockquote p { margin: 0; }
.testimonial figcaption { margin-top: auto; display: flex; align-items: center; gap: .85rem; font-size: .88rem; color: var(--ink-soft); padding-top: 1.25rem; border-top: 1px solid var(--line); }
.testimonial figcaption strong { color: var(--navy-900); display: block; }

/* ---------- Initials avatars ---------- */
.initials { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none; font-family: var(--font-serif); font-weight: 600; font-size: 1rem; color: var(--navy-900); background: var(--sand-200); border: 1px solid var(--gold-500); }

/* ---------- Insights ---------- */
.insights { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.insight { background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.insight:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(15, 26, 43, .5); }
.insight-art { height: 150px; position: relative; overflow: hidden; background: var(--sand-100); border-bottom: 1px solid var(--line); }
.insight-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.insight-body { padding: 1.5rem 1.6rem 1.75rem; display: flex; flex-direction: column; flex: 1; }
.insight-meta { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-700); font-weight: 600; margin-bottom: .75rem; }
.insight h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.insight h3 a { text-decoration: none; color: var(--navy-900); }
.insight h3 a:hover { color: var(--gold-700); }
.insight p { color: var(--ink-soft); font-size: .95rem; flex: 1; }

/* ---------- Contact CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--navy-900); color: #d5dbe5; padding: 4.5rem 0; }
.cta-band::before { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border: 1px solid rgba(217, 191, 143, .3); border-radius: 50%; box-shadow: 0 0 0 40px rgba(217, 191, 143, .05), 0 0 0 90px rgba(217, 191, 143, .03); }
.cta-inner { position: relative; display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1.4fr auto; gap: 4rem; } }
.cta-band h2 { color: #fff; margin-bottom: .4rem; }
.cta-band p { margin: 0; color: #c2cad8; font-size: 1.08rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- Inner page hero ---------- */
.page-hero { background: var(--navy-900); color: #d5dbe5; padding: 4rem 0 3.75rem; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: linear-gradient(90deg, var(--gold-500), var(--gold-300) 40%, transparent); }
.page-hero h1 { color: #fff; max-width: 18ch; }
.page-hero .lead { color: #c2cad8; max-width: 40rem; margin: 0; }
.page-hero svg.ph-lines { position: absolute; right: 0; top: 0; height: 100%; width: auto; max-width: 50%; opacity: .5; pointer-events: none; }
.crumbs { font-size: .82rem; margin-bottom: 1.25rem; color: #a9b3c4; }
.crumbs a { color: #e6d1aa; }
.crumbs a:hover { color: #fff; }

/* ---------- Services tabs ---------- */
.tabs { display: grid; gap: 2rem; }
@media (min-width: 900px) { .tabs { grid-template-columns: 290px 1fr; gap: 3.5rem; align-items: start; } }
.tablist { display: grid; gap: .5rem; }
@media (min-width: 900px) { .tablist { position: sticky; top: 100px; gap: 0; border-left: 1px solid var(--line); } }
.tab {
  display: flex; align-items: center; gap: .85rem; width: 100%; text-align: left; font: inherit; font-weight: 600; color: var(--ink-soft);
  background: var(--white); border: 1px solid var(--line); padding: .9rem 1rem; cursor: pointer; transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}
.tab .tab-num { font-family: var(--font-serif); font-style: italic; color: var(--gold-700); font-weight: 500; min-width: 1.6rem; }
.tab:hover { color: var(--navy-900); }
.tab[aria-selected="true"] { color: #fff; background: var(--navy-900); border-color: var(--navy-900); }
.tab[aria-selected="true"] .tab-num { color: var(--gold-300); }
@media (min-width: 900px) {
  .tab { background: transparent; border: 0; border-left: 2px solid transparent; margin-left: -1px; padding: 1rem 1.25rem; }
  .tab[aria-selected="true"] { background: var(--white); color: var(--navy-900); border-left-color: var(--gold-500); box-shadow: 0 10px 24px -18px rgba(15, 26, 43, .5); }
  .tab[aria-selected="true"] .tab-num { color: var(--gold-700); }
}
.tabpanel { background: var(--white); border: 1px solid var(--line); padding: 2rem 1.4rem; }
@media (min-width: 600px) { .tabpanel { padding: 2.75rem; } }
.tabpanel[hidden] { display: none; }
.tabpanel:focus-visible { outline-offset: 4px; }
.tabpanel h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.panel-cols { display: grid; gap: 2rem; margin: 2rem 0; }
@media (min-width: 700px) { .panel-cols { grid-template-columns: 1fr 1fr; } }
.panel-cols h3 { font-family: var(--font-sans); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-700); font-weight: 600; padding-bottom: .75rem; border-bottom: 1px solid var(--line); }
.tick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.tick-list li { position: relative; padding-left: 1.6rem; color: var(--ink); }
.tick-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 10px; border: 1px solid var(--gold-500); transform: rotate(45deg); background: var(--sand-100); }
.panel-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.panel-foot p { margin: 0; font-size: .92rem; color: var(--ink-soft); }
.panel-foot strong { color: var(--navy-900); }
.process { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); counter-reset: proc; list-style: none; padding: 0; margin: 0; }
.process li { counter-increment: proc; padding-top: 1.25rem; border-top: 1px solid var(--gold-500); }
.process li::before { content: "Step " counter(proc); display: block; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-700); font-weight: 600; margin-bottom: .5rem; }
.process h3 { font-size: 1.15rem; }
.process p { color: var(--ink-soft); margin: 0; font-size: .95rem; }

/* ---------- About ---------- */
.story-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .story-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.story-grid .photo-ph { min-height: 380px; }
.pull { font-family: var(--font-serif); font-size: 1.35rem; line-height: 1.5; color: var(--navy-900); border-left: 3px solid var(--gold-500); padding-left: 1.25rem; margin: 2rem 0; }
.values { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.value { padding: 2rem 1.75rem; background: var(--white); border: 1px solid var(--line); }
.value svg { width: 36px; height: 36px; color: var(--gold-700); margin-bottom: 1rem; }
.value h3 { font-size: 1.2rem; }
.value p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.team { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); list-style: none; margin: 0; padding: 0; }
.member { background: var(--white); border: 1px solid var(--line); text-align: center; padding: 2.25rem 1.5rem 1.75rem; transition: border-color .2s ease, transform .2s ease; }
.member:hover { border-color: var(--gold-500); transform: translateY(-3px); }
.member .initials { width: 92px; height: 92px; font-size: 1.7rem; margin: 0 auto 1.25rem; background: radial-gradient(circle at 30% 25%, #fff, var(--sand-200)); box-shadow: 0 0 0 6px var(--sand-50), 0 0 0 7px var(--line); }
.member h3 { font-size: 1.1rem; margin-bottom: .2rem; }
.member .role { color: var(--gold-700); font-size: .85rem; font-weight: 600; letter-spacing: .04em; margin-bottom: .75rem; }
.member p { color: var(--ink-soft); font-size: .9rem; margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 980px) { .contact-grid { grid-template-columns: 1.35fr .85fr; gap: 4rem; align-items: start; } }
.form-panel { background: var(--white); border: 1px solid var(--line); padding: 2rem 1.25rem; }
@media (min-width: 600px) { .form-panel { padding: 2.75rem; } }
.form-panel h2 { font-size: 1.8rem; margin-bottom: .3rem; }
.form-panel > p, .form-wrap > p { color: var(--ink-soft); }
.req-note { font-size: .85rem; color: var(--ink-soft); }
.field { margin-bottom: 1.35rem; border: 0; padding: 0; min-width: 0; }
.field-row { display: grid; gap: 0 1.25rem; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field > label, .field legend { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .45rem; color: var(--navy-900); padding: 0; }
.field .opt { font-weight: 400; color: var(--ink-soft); font-size: .82rem; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--sand-50); border: 1px solid #c9bda9; border-radius: var(--radius);
  padding: .8rem .9rem; transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.5rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23172338' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--navy-800); box-shadow: 0 0 0 3px rgba(184, 147, 90, .35); }
.field [aria-invalid="true"] { border-color: #a4281c; }
.radio-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.radio { position: relative; }
.radio input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.radio span { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1rem; border: 1px solid #c9bda9; border-radius: var(--radius); background: var(--sand-50); cursor: pointer; font-size: .92rem; transition: border-color .2s ease, background-color .2s ease; }
.radio span::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--navy-600); background: #fff; transition: box-shadow .15s ease; flex: none; }
.radio input:checked + span { border-color: var(--navy-900); background: #fff; }
.radio input:checked + span::before { box-shadow: inset 0 0 0 3.5px #fff; background: var(--navy-900); border-color: var(--navy-900); }
.radio input:focus-visible + span { outline: 3px solid var(--gold-500); outline-offset: 2px; }
fieldset[aria-invalid="true"] .radio span { border-color: #a4281c; }
.error { display: block; color: #a4281c; font-size: .85rem; font-weight: 600; margin-top: .4rem; }
.error:empty { display: none; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; color: var(--ink-soft); margin: .25rem 0 1.5rem; }
.consent input { width: 18px; height: 18px; margin-top: .2rem; accent-color: var(--navy-900); flex: none; }
.form-success { padding: 1rem 0; }
.form-success:focus { outline: none; }
.form-success .seal { width: 64px; height: 64px; margin-bottom: 1.25rem; color: var(--gold-700); }
.info-card { background: var(--navy-900); color: #d5dbe5; padding: 2rem 1.75rem; }
.info-card h2 { color: #fff; font-size: 1.4rem; }
.info-card h3 { color: var(--gold-300); font-family: var(--font-sans); font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; margin: 1.75rem 0 .6rem; font-weight: 600; }
.info-card address { font-style: normal; }
.info-card a { color: #f2e8d6; }
.hours { width: 100%; border-collapse: collapse; font-size: .92rem; }
.hours th, .hours td { padding: .45rem 0; border-bottom: 1px solid rgba(255, 255, 255, .12); text-align: left; font-weight: 400; }
.hours td { text-align: right; color: #fff; }
.map-ph { position: relative; margin-top: 1.5rem; min-height: 230px; overflow: hidden; border: 1px solid var(--line); background: #ece4d6; display: flex; align-items: flex-end; padding: 1rem; }
.map-ph svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-ph .ph-label { background: rgba(255, 255, 255, .92); color: var(--navy-900); border-color: var(--gold-500); }
.map-ph .ph-label svg { position: static; width: 14px; height: 14px; color: var(--gold-700); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #b6bfcd; padding: 4rem 0 2rem; font-size: .92rem; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.site-footer .brand { color: #fff; }
.site-footer .brand-sub { color: var(--gold-300); }
.footer-about p { margin-top: 1.25rem; max-width: 20rem; }
.site-footer h2 { font-family: var(--font-sans); font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-300); font-weight: 600; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer a { color: #d5dbe5; text-decoration: none; }
.site-footer a:hover { color: var(--gold-300); }
.site-footer address { font-style: normal; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; font-size: .82rem; }
.built-with { font-size: .75rem; opacity: .85; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
