/* ============================================================
   The Sherbert Group — Warm Heritage Design System v2
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600;9..144,700&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

:root {
  --brick: #9a4a35;
  --brick-dark: #7c3626;
  --terracotta: #c06e52;
  --cream: #faf5ec;
  --parchment: #f3ead9;
  --sand: #e8dcc4;
  --brown-dark: #3b2a22;
  --brown-mid: #5c463a;
  --gold: #c19a5b;
  --ink: #2b201a;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Source Sans 3', 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
body { font-family: var(--sans); color: var(--ink); background: var(--cream); line-height: 1.65; font-size: 17px; }
img { max-width: 100%; display: block; }
a { color: var(--brick); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brick-dark); }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(250,245,236,.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--sand); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; max-width: 1240px; margin: 0 auto; gap: 20px; }
.brand { display: flex; flex-direction: row; align-items: center; gap: 13px; line-height: 1.15; }
.brand-mark { width: 46px; height: auto; flex: 0 0 auto; }
.brand-lockup { display: flex; flex-direction: column; align-items: stretch; }
/* brand-name sets the block width; the tag justifies out to match it exactly on both ends */
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.62rem; color: var(--brown-dark); white-space: nowrap; letter-spacing: .005em; }
.brand-tag { font-size: .68rem; text-transform: uppercase; letter-spacing: .145em; color: var(--brick); font-weight: 600; text-align: justify; text-align-last: justify; -moz-text-align-last: justify; }
nav.main-nav { display: flex; gap: 20px; align-items: center; }
nav.main-nav > a, nav.main-nav .mega-trigger { font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--brown-mid); padding-bottom: 4px; border-bottom: 2px solid transparent; white-space: nowrap; }
nav.main-nav > a:hover, nav.main-nav > a.active, nav.main-nav .mega-trigger:hover, nav.main-nav .mega-trigger.active { color: var(--brick); border-bottom-color: var(--brick); }
nav.main-nav a.nav-cta { background: var(--brick); color: var(--cream); padding: 10px 18px; border-radius: 3px; border-bottom: none; }
nav.main-nav a.nav-cta:hover { background: var(--brick-dark); color: var(--cream); border-bottom-color: transparent; }

/* ---------- Tax Credits mega-menu ---------- */
.has-mega { position: static; }
.mega-trigger { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.mega-trigger .caret { font-size: .6rem; transition: transform .2s; }
.has-mega:hover .caret, .has-mega:focus-within .caret { transform: rotate(180deg); }
/* Anchored to the trigger's right edge and width-clamped, so the panel never
   pushes the document wider than the viewport (no stray horizontal scrollbar). */
.mega-panel { position: absolute; top: 100%; left: 50%; right: auto; width: max-content; max-width: min(1040px, calc(100vw - 48px)); transform: translateX(-50%) translateY(-6px); background: var(--cream); border: 1px solid var(--sand); border-top: 3px solid var(--brick); border-radius: 3px; box-shadow: 0 22px 50px rgba(59,42,34,.18); padding: 28px 30px 8px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .18s ease, transform .18s ease, visibility .18s; z-index: 200; }
.has-mega:hover .mega-panel, .has-mega:focus-within .mega-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
/* hover bridge so the pointer can travel from trigger to panel */
.mega-panel::before { content: ''; position: absolute; top: -18px; left: 0; right: 0; height: 18px; }
.mega-inner { display: grid; grid-template-columns: repeat(5, minmax(158px, 1fr)); gap: 26px; }
.mega-col .mega-head { display: block; font-family: var(--serif); font-size: .98rem; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--brown-dark); padding-bottom: 9px; margin-bottom: 9px; border-bottom: 1px solid var(--sand); white-space: nowrap; }
.mega-col .mega-head:hover { color: var(--brick); }
.mega-col ul { list-style: none; margin: 0; }
.mega-col ul li { margin-bottom: 7px; }
.mega-col ul li a { font-size: .84rem; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--brown-mid); border-bottom: none; padding-bottom: 0; line-height: 1.4; }
.mega-col ul li a:hover { color: var(--brick); }
.mega-foot { margin-top: 20px; padding: 14px 0 16px; border-top: 1px solid var(--sand); text-align: center; }
.mega-foot a { font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--brick); border-bottom: none; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; color: var(--brown-dark); cursor: pointer; }

/* ---------- Hero ---------- */
.hero { position: relative; color: var(--cream); padding: 130px 24px 140px; text-align: center; background-size: cover; background-position: center; }
/* Heavier scrim: several hero photos are light-skied, which washed out the gold kicker. */
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(43,32,26,.68), rgba(43,32,26,.8)); }
.hero > * { position: relative; }
.hero.hero-short { padding: 90px 24px 95px; }
.hero .kicker { display: inline-block; text-shadow: 0 1px 4px rgba(43,32,26,.6); font-size: .8rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 20px; }
/* Items 10 + 14: the operating-company name leads the page, so give it real presence */
.hero .kicker.company-kicker { font-family: var(--serif); font-size: clamp(1.35rem, 2.6vw, 1.85rem); letter-spacing: .1em; text-transform: none; color: var(--gold); margin-bottom: 14px; padding-bottom: 12px; border-bottom: 2px solid rgba(193,154,91,.5); }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.15; max-width: 880px; margin: 0 auto 24px; }
.hero p.lede { font-size: 1.15rem; max-width: 660px; margin: 0 auto 36px; color: rgba(250,245,236,.9); }

/* ---------- Buttons ---------- */
.btn { display: inline-block; padding: 14px 34px; border-radius: 3px; font-weight: 600; font-size: .92rem; letter-spacing: .06em; text-transform: uppercase; transition: all .2s; cursor: pointer; border: none; font-family: var(--sans); }
.btn-primary { background: var(--brick); color: var(--cream); border: 1px solid var(--brick); }
.btn-primary:hover { background: var(--brick-dark); border-color: var(--brick-dark); color: var(--cream); }
.btn-gold { background: var(--gold); color: var(--brown-dark); border: 1px solid var(--gold); }
.btn-gold:hover { background: #ad874c; border-color: #ad874c; color: var(--brown-dark); }
.btn-outline { background: transparent; color: var(--cream); border: 1px solid rgba(250,245,236,.6); }
.btn-outline:hover { background: rgba(250,245,236,.12); color: var(--cream); }
.btn-outline-dark { background: transparent; color: var(--brick); border: 1px solid var(--brick); }
.btn-outline-dark:hover { background: var(--brick); color: var(--cream); }
.btn-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--brown-dark); padding: 26px 0; }
.trust-bar .container { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 18px; text-align: center; }
.trust-item { color: rgba(250,245,236,.85); font-size: .92rem; letter-spacing: .06em; }
.trust-item strong { display: block; font-family: var(--serif); font-size: 1.6rem; color: var(--gold); font-weight: 600; }

/* ---------- Sections ---------- */
section { padding: 90px 0; }
.section-label { font-size: .78rem; letter-spacing: .26em; text-transform: uppercase; color: var(--brick); font-weight: 700; margin-bottom: 14px; }
h2.section-title { font-family: var(--serif); font-weight: 500; font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--brown-dark); line-height: 1.2; margin-bottom: 22px; }
.section-intro { max-width: 720px; font-size: 1.08rem; color: var(--brown-mid); }
.center { text-align: center; }
.center .section-intro { margin-left: auto; margin-right: auto; }
.alt-bg { background: var(--parchment); }
.dark-bg { background: var(--brown-dark); color: var(--cream); }
.dark-bg h2.section-title { color: var(--cream); }
.dark-bg .section-intro { color: rgba(250,245,236,.8); }
.dark-bg .section-label { color: var(--gold); }

/* ---------- Audience paths ---------- */
.path-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 56px; }
.path-card { position: relative; overflow: hidden; border-radius: 4px; min-height: 380px; display: flex; align-items: flex-end; background-size: cover; background-position: center; box-shadow: 0 18px 40px rgba(59,42,34,.18); }
.path-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(43,32,26,.18) 0%, rgba(43,32,26,.62) 45%, rgba(43,32,26,.93) 100%); }
/* Lighter source photo needs a heavier scrim so the cream text keeps AA contrast (item 7) */
.path-card-light::before { background: linear-gradient(180deg, rgba(43,32,26,.42) 0%, rgba(43,32,26,.78) 45%, rgba(43,32,26,.96) 100%); }
/* Item 6: centre the copy and the button inside both cards */
.path-card-body { position: relative; padding: 36px; color: var(--cream); width: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; }
.path-card h3 { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; margin-bottom: 10px; }
.path-card p { color: rgba(250,245,236,.94); margin-bottom: 22px; max-width: 420px; text-shadow: 0 1px 3px rgba(43,32,26,.5); }

/* ---------- Cards ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 56px; }
.company-card { background: var(--cream); border: 1px solid var(--sand); border-top: 4px solid var(--brick); padding: 46px 42px; display: flex; flex-direction: column; text-align: left; }
.company-card h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--brown-dark); margin-bottom: 6px; }
.company-card .card-sub { font-size: .82rem; text-transform: uppercase; letter-spacing: .16em; color: var(--terracotta); font-weight: 700; margin-bottom: 18px; }
.company-card p { color: var(--brown-mid); flex-grow: 1; margin-bottom: 26px; }

/* ---------- Photo service cards ---------- */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 56px; }
.photo-card { background: #fff; border: 1px solid var(--sand); overflow: hidden; display: flex; flex-direction: column; text-align: left; }
.photo-card img { height: 210px; width: 100%; object-fit: cover; }
.photo-card-body { padding: 28px 26px 30px; display: flex; flex-direction: column; flex-grow: 1; }
.photo-card h3 { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--brown-dark); margin-bottom: 10px; }
.photo-card p { font-size: .97rem; color: var(--brown-mid); flex-grow: 1; margin-bottom: 18px; }
.text-link { font-weight: 700; font-size: .88rem; letter-spacing: .08em; text-transform: uppercase; }
.text-link::after { content: ' \2192'; }

/* ---------- Service list ---------- */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; margin-top: 56px; }
.service-item { background: #fff; border: 1px solid var(--sand); padding: 36px 32px; border-left: 4px solid var(--terracotta); }
.service-item h3 { font-family: var(--serif); font-size: 1.22rem; font-weight: 600; color: var(--brown-dark); margin-bottom: 12px; }
.service-item p { font-size: .98rem; color: var(--brown-mid); }

/* ---------- Feature split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-top: 40px; }
.split .img-frame { border: 1px solid var(--sand); padding: 12px; background: #fff; box-shadow: 0 18px 40px rgba(59,42,34,.12); }
.split .img-frame img { width: 100%; height: 420px; object-fit: cover; }

/* ---------- Stats ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 40px; margin-top: 56px; text-align: center; }
.stat-number { font-family: var(--serif); font-size: 2.9rem; font-weight: 600; color: var(--gold); line-height: 1; }
.stat-label { margin-top: 10px; font-size: .88rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(250,245,236,.75); }

/* ---------- Leadership ---------- */
.leader-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 40px; margin-top: 56px; max-width: 860px; margin-left: auto; margin-right: auto; }
.leader-card { text-align: center; }
.leader-card img { width: 100%; max-width: 240px; height: 300px; object-fit: cover; margin: 0 auto 20px; border: 1px solid var(--sand); filter: saturate(.92); }
.leader-card h3 { font-family: var(--serif); font-size: 1.2rem; color: var(--brown-dark); font-weight: 600; }
.leader-card .role { font-size: .88rem; color: var(--brick); font-weight: 600; margin-top: 4px; }
.leader-card .orgs { font-size: .85rem; color: var(--brown-mid); margin-top: 6px; }

/* ---------- Quote band ---------- */
.quote-band { text-align: center; padding: 100px 24px; }
.quote-band blockquote { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 400; font-style: italic; color: var(--brown-dark); max-width: 780px; margin: 0 auto 20px; line-height: 1.4; }
.quote-band cite { font-style: normal; font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brick); font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 500; margin-bottom: 18px; }
.cta-band p { max-width: 560px; margin: 0 auto 34px; color: rgba(250,245,236,.82); }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 0; margin-top: 56px; }
.step { display: grid; grid-template-columns: 90px 1fr; gap: 28px; padding: 34px 0; border-bottom: 1px solid var(--sand); align-items: start; }
.step:last-child { border-bottom: none; }
.step-num { font-family: var(--serif); font-size: 2.4rem; font-weight: 300; color: var(--terracotta); line-height: 1; }
.step h3 { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--brown-dark); margin-bottom: 8px; }
.step p { color: var(--brown-mid); }

/* ---------- Focus areas ---------- */
.focus-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; margin-top: 56px; }
.focus-card { background: rgba(250,245,236,.06); border: 1px solid rgba(250,245,236,.18); padding: 34px 30px; }
.focus-card h3 { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--gold); margin-bottom: 10px; }
.focus-card p { font-size: .95rem; color: rgba(250,245,236,.8); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 50px auto 0; text-align: left; }
.faq-list details { background: #fff; border: 1px solid var(--sand); margin-bottom: 14px; padding: 0; }
.faq-list summary { cursor: pointer; padding: 22px 26px; font-family: var(--serif); font-weight: 600; font-size: 1.08rem; color: var(--brown-dark); list-style: none; position: relative; }
.faq-list summary::after { content: '+'; position: absolute; right: 26px; color: var(--brick); font-size: 1.4rem; line-height: 1; }
.faq-list details[open] summary::after { content: '\2212'; }
.faq-list details p { padding: 0 26px 24px; color: var(--brown-mid); }

/* ---------- Insights ---------- */
.insight-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 56px; }
.insight-card { background: #fff; border: 1px solid var(--sand); padding: 32px 30px; display: flex; flex-direction: column; text-align: left; border-top: 4px solid var(--gold); }
.insight-card .date { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--terracotta); font-weight: 700; margin-bottom: 12px; }
.insight-card h3 { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; line-height: 1.35; margin-bottom: 14px; }
.insight-card h3 a { color: var(--brown-dark); }
.insight-card h3 a:hover { color: var(--brick); }
.insight-card p { font-size: .95rem; color: var(--brown-mid); flex-grow: 1; margin-bottom: 16px; }

/* ---------- Newsletter band ---------- */
.newsletter-band { background: var(--parchment); border-top: 1px solid var(--sand); border-bottom: 1px solid var(--sand); padding: 64px 0; }
.newsletter-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.newsletter-inner h2 { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; color: var(--brown-dark); margin-bottom: 10px; }
.newsletter-inner p { color: var(--brown-mid); }
.newsletter-form { display: flex; gap: 12px; }
.newsletter-form input[type=email] { flex: 1; padding: 14px 18px; border: 1px solid var(--sand); border-radius: 3px; font-family: var(--sans); font-size: 1rem; background: #fff; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--sand); border-top: 4px solid var(--brick); padding: 46px; max-width: 760px; margin: 50px auto 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--brown-dark); margin-bottom: 8px; }
.form-field input, .form-field select, .form-field textarea { padding: 13px 15px; border: 1px solid var(--sand); border-radius: 3px; font-family: var(--sans); font-size: 1rem; background: var(--cream); color: var(--ink); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 2px solid var(--terracotta); border-color: var(--terracotta); }
.form-field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--brown-mid); margin-top: 16px; }
.form-card .btn { margin-top: 26px; width: 100%; }
/* Spam honeypot — hidden from people, visible to bots. Not display:none, which some bots detect. */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Credit program pages ---------- */
.breadcrumb { font-size: .85rem; color: var(--brown-mid); padding: 18px 0 0; }
.breadcrumb a { color: var(--brick); }
.credit-section { border-bottom: 1px solid var(--sand); padding: 70px 0; }
.credit-section:last-of-type { border-bottom: none; }
.facts-table { width: 100%; border-collapse: collapse; margin: 28px 0; background: #fff; border: 1px solid var(--sand); font-size: .96rem; }
.facts-table th { background: var(--brown-dark); color: var(--cream); text-align: left; padding: 12px 18px; font-family: var(--serif); font-weight: 600; }
.facts-table td { padding: 12px 18px; border-bottom: 1px solid var(--sand); color: var(--brown-mid); vertical-align: top; }
.facts-table td:first-child { font-weight: 700; color: var(--brown-dark); width: 34%; }
.answer-box { background: var(--parchment); border-left: 4px solid var(--gold); padding: 22px 26px; margin: 20px 0 26px; font-size: 1.05rem; color: var(--brown-dark); }
.role-box { background: #fff; border: 1px solid var(--sand); border-left: 4px solid var(--brick); padding: 24px 28px; margin: 26px 0; }
.role-box h4 { font-family: var(--serif); color: var(--brick); font-size: 1.05rem; margin-bottom: 8px; }
.role-box p { color: var(--brown-mid); font-size: .98rem; margin-bottom: 12px; }
.source-note { font-size: .85rem; color: var(--brown-mid); font-style: italic; }
.state-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 56px; }
.state-card { background: #fff; border: 1px solid var(--sand); border-top: 4px solid var(--brick); padding: 38px 34px; text-align: left; display: flex; flex-direction: column; }
.state-card h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: var(--brown-dark); margin-bottom: 12px; }
.state-card ul { list-style: none; margin: 0 0 20px; flex-grow: 1; }
.state-card ul li { padding: 7px 0; border-bottom: 1px solid var(--parchment); color: var(--brown-mid); font-size: .95rem; }
.state-card ul li strong { color: var(--brick); }
.toc-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.toc-chips a { background: var(--parchment); border: 1px solid var(--sand); padding: 9px 18px; border-radius: 30px; font-size: .88rem; font-weight: 600; color: var(--brown-dark); }
.toc-chips a:hover { background: var(--brick); color: var(--cream); border-color: var(--brick); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 50px; }
.contact-block h3 { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--brown-dark); margin-bottom: 14px; }
.contact-block p { color: var(--brown-mid); margin-bottom: 8px; }
.contact-list { list-style: none; }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--sand); color: var(--brown-mid); }
.contact-list li strong { color: var(--brown-dark); display: block; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; }

/* ---------- Footer ---------- */
footer { background: var(--brown-dark); color: rgba(250,245,236,.75); padding: 70px 0 34px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 44px; }
footer h4 { font-family: var(--serif); color: var(--cream); font-size: 1.1rem; font-weight: 600; margin-bottom: 16px; }
footer a { color: rgba(250,245,236,.75); }
footer a:hover { color: var(--gold); }
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; }
.footer-bottom { margin-top: 54px; padding-top: 24px; border-top: 1px solid rgba(250,245,236,.15); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; color: rgba(250,245,236,.5); }

@media (max-width: 1240px) {
  nav.main-nav { gap: 15px; }
  nav.main-nav > a, nav.main-nav .mega-trigger { font-size: .76rem; letter-spacing: .04em; }
  .mega-inner { grid-template-columns: repeat(3, minmax(150px, 1fr)); gap: 22px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1050px) {
  nav.main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); flex-direction: column; gap: 0; border-bottom: 1px solid var(--sand); padding: 12px 0; align-items: stretch; }
  nav.main-nav.open { display: flex; }
  nav.main-nav a { padding: 14px 24px; width: 100%; border-bottom: none; }
  nav.main-nav a.nav-cta { margin: 10px 24px; width: auto; text-align: center; }
  .has-mega { position: static; width: 100%; }
  .has-mega:hover .mega-panel, .has-mega:focus-within .mega-panel { transform: none; }
  .mega-trigger { padding: 14px 24px; width: 100%; }
  .mega-trigger .caret { display: none; }
  .mega-panel { position: static; width: auto; max-width: none; transform: none; opacity: 1; visibility: visible; pointer-events: auto; border: none; border-top: 1px solid var(--sand); box-shadow: none; padding: 6px 24px 10px; background: var(--parchment); }
  .has-mega:hover .mega-panel, .has-mega:focus-within .mega-panel { transform: none; }
  .mega-inner { grid-template-columns: 1fr; gap: 16px; }
  .mega-col .mega-head { padding: 6px 0 8px; }
  .mega-col ul li a { padding: 5px 0; }
  .mega-foot { text-align: left; padding: 12px 0; }
  .nav-toggle { display: block; }
  .two-col, .split, .contact-grid, .path-grid, .newsletter-inner, .form-grid { grid-template-columns: 1fr; }
  .split .img-frame img { height: 300px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 64px 0; }
  .hero { padding: 100px 24px; }
  .step { grid-template-columns: 60px 1fr; gap: 18px; }
  .newsletter-form { flex-direction: column; }
  .brand-mark { width: 38px; }
  .brand-name { font-size: 1.28rem; }
  .brand-tag { font-size: .58rem; letter-spacing: .12em; }
}

@media (max-width: 420px) {
  .header-inner { padding: 12px 16px; gap: 12px; }
  .brand-mark { width: 32px; }
  .brand-name { font-size: 1.08rem; }
  .brand-tag { font-size: .5rem; letter-spacing: .1em; }
}

/* LinkedIn Follow Company plugin sits beside the outline button in the Insights hero */
.li-follow { display: inline-flex; align-items: center; min-height: 20px; }
