/* LG Financial Group Inc | Design tokens, layout, components */

:root {
  --navy: #0B1F3A;
  --navy-dark: #07162B;
  --navy-soft: #14305E;
  --white: #FFFFFF;
  --grey-50: #F5F6F8;
  --grey-100: #ECEEF1;
  --grey-200: #E5E7EB;
  --grey-400: #9CA3AF;
  --grey-600: #6B7280;
  --grey-700: #4B5563;
  --grey-800: #374151;
  --grey-900: #1A202C;
  --gold: #2F80C9;
  --gold-dark: #246EAC;
  --brand-blue: #2F80C9;

  --font-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(11, 31, 58, 0.06);
  --shadow-md: 0 4px 16px rgba(11, 31, 58, 0.08);
  --shadow-lg: 0 12px 36px rgba(11, 31, 58, 0.10);

  --container: 1200px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--grey-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--navy);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.625rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { margin: 0 0 16px; color: var(--grey-800); }
a { color: var(--navy); text-decoration-color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--navy-dark); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: var(--white);
  padding: 12px 16px; z-index: 1000;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 900px) {
  .container { padding: 0 40px; }
}

.section { padding: 64px 0; }
.section--lg { padding: 96px 0; }
.section--alt { background: var(--grey-50); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3, .section--navy h4 { color: var(--white); }
.section--navy p { color: rgba(255,255,255,0.85); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.lead { font-size: 1.125rem; color: var(--grey-700); line-height: 1.65; max-width: 60ch; }

.section-head { max-width: 64ch; margin-bottom: 40px; }
.section-head.text-center { margin-left: auto; margin-right: auto; }

/* Header & primary nav */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--grey-200);
}
.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-h);
  max-width: 1560px;
  padding-left: 20px;
  padding-right: 20px;
}
@media (min-width: 900px) {
  .site-header__inner {
    padding-left: 48px;
    padding-right: 48px;
  }
}
.site-header__inner > .site-logo { grid-column: 1; justify-self: start; display: inline-flex; align-items: center; line-height: 1; }
.site-header__inner > .primary-nav { grid-column: 2; justify-self: center; }
.site-header__inner > .nav-toggle { grid-column: 3; justify-self: end; }
.site-logo img {
  display: block;
  width: auto;
  height: auto;
  max-height: 44px;
  max-width: 180px;
}
@media (max-width: 640px) {
  .site-logo img { max-height: 36px; max-width: 150px; }
}
.site-logo {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: 0.01em;
  white-space: nowrap;
  flex-shrink: 0;
}
.site-logo span { color: var(--gold); }

.primary-nav { display: none; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; align-items: center; flex-wrap: nowrap; }
.primary-nav a {
  text-decoration: none; color: var(--grey-800);
  font-size: 0.875rem; font-weight: 500;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.primary-nav a:hover { color: var(--navy); border-bottom-color: var(--brand-blue); }
.primary-nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--brand-blue); }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--grey-200);
  border-radius: var(--radius-sm); cursor: pointer;
  padding: 0;
}
.nav-toggle__bar {
  display: block; width: 22px; height: 2px; background: var(--navy);
  position: relative;
}
.nav-toggle__bar::before, .nav-toggle__bar::after {
  content: ''; position: absolute; left: 0; width: 22px; height: 2px;
  background: var(--navy);
}
.nav-toggle__bar::before { top: -7px; }
.nav-toggle__bar::after { top: 7px; }

@media (min-width: 1100px) {
  .primary-nav { display: block; }
  .nav-toggle { display: none; }
}

/* Mobile nav overlay */
.mobile-nav {
  position: fixed; inset: 0;
  background: var(--white);
  display: none; flex-direction: column;
  z-index: 200;
  overflow-y: auto;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav__top {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
  border-bottom: 1px solid var(--grey-200);
}
.mobile-nav__close {
  width: 44px; height: 44px; border: 1px solid var(--grey-200);
  background: transparent; border-radius: var(--radius-sm); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 26px; color: var(--navy); line-height: 1; padding: 0;
}
.mobile-nav__body { padding: 0; }
.mobile-nav .mobile-nav__body.container { padding-left: 0; padding-right: 0; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav ul li { border-bottom: 1px solid rgba(11, 31, 58, 0.08); }
.mobile-nav ul a {
  display: block;
  padding: 18px 24px;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy);
  text-decoration: none;
}
.mobile-nav ul a[aria-current="page"],
.mobile-nav ul a:hover,
.mobile-nav ul a:focus-visible {
  color: var(--brand-blue);
  outline: none;
}
.mobile-nav__contact {
  margin-top: 0;
  padding: 22px 24px 32px;
  border-top: 1px solid rgba(11, 31, 58, 0.10);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--grey-700);
}
.mobile-nav__contact p {
  margin: 0 0 8px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
}
.mobile-nav__contact p:last-child { margin-bottom: 0; }
.mobile-nav__contact a {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
}
@media (min-width: 1100px) {
  .mobile-nav { display: none !important; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px;
  font-family: var(--font-sans);
  font-size: 0.9375rem; font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.05s;
  min-height: 48px;
  letter-spacing: 0.01em;
}
.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.btn--primary { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn--primary:hover { background: var(--navy-dark); border-color: var(--navy-dark); color: var(--white); }
.btn--secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--secondary:hover { background: var(--navy); color: var(--white); }
.btn--on-navy { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--on-navy:hover { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero {
  padding: 56px 0 64px;
  background: linear-gradient(180deg, var(--grey-50) 0%, var(--white) 100%);
}
.hero__grid { display: grid; gap: 36px; align-items: center; }
.hero__title { margin-bottom: 20px; }
.hero__lead { font-size: 1.125rem; color: var(--grey-700); margin-bottom: 28px; max-width: 56ch; }
.hero__image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--grey-100);
  box-shadow: var(--shadow-lg);
}
.hero__image-wrap img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 18%;
}
@media (min-width: 900px) {
  .hero { padding: 88px 0 96px; }
  .hero__grid { grid-template-columns: 1.1fr 1fr; gap: 56px; }
}
.hero--simple { padding: 64px 0 24px; }
.hero--simple .hero__lead { margin-bottom: 0; }

/* Value bar */
.value-bar {
  display: grid; gap: 14px;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 8px;
}
.value-bar__item {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  padding: 22px 20px;
}
.value-bar__num {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--navy);
  font-weight: 600;
  margin: 0;
}
.value-bar__label {
  display: block;
  font-size: 0.9rem;
  color: var(--grey-600);
  margin-top: 2px;
}
@media (min-width: 800px) { .value-bar { grid-template-columns: repeat(4, 1fr); } }

/* Service cards */
.cards { display: grid; gap: 20px; grid-template-columns: 1fr; }
.card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  padding: 28px;
  height: 100%;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.card__title { font-size: 1.15rem; margin: 0 0 10px; }
.card__body { color: var(--grey-700); margin: 0 0 16px; flex: 1; font-size: 0.95rem; line-height: 1.6; }
.card__link {
  font-weight: 600; font-size: 0.9375rem;
  color: var(--navy); text-decoration: none;
}
.card__link:hover { color: var(--gold-dark); }
.card__link::after { content: ' \2192'; color: var(--gold); }
.card--featured { border-color: var(--gold); position: relative; }
.card--featured::before {
  content: 'For Incorporated Business Owners';
  position: absolute; top: -12px; left: 24px;
  background: var(--gold); color: var(--white);
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.10em; text-transform: uppercase;
  padding: 5px 11px; border-radius: var(--radius-sm);
}
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .cards--4 { grid-template-columns: repeat(4, 1fr); }
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
  .cards--6 { grid-template-columns: repeat(3, 1fr); }
}

/* Two column layout */
.two-col { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) {
  .two-col { grid-template-columns: 1fr 1fr; gap: 56px; }
  .two-col--reverse .two-col__image { order: 2; }
}
.two-col__image-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--grey-100);
  box-shadow: var(--shadow-md);
}
.two-col__image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.two-col__image-wrap--portrait img { object-position: center 18%; }
.two-col__image-wrap--full { aspect-ratio: 3 / 4; }
.two-col__image-wrap--full img { object-position: center top; }

/* CTA band */
.cta-band { background: var(--grey-50); color: var(--grey-900); padding: 56px 24px; text-align: center; border-top: 1px solid var(--grey-200); }
.cta-band h2 { color: var(--navy); margin-bottom: 8px; font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
.cta-band p { color: var(--grey-700); max-width: 56ch; margin: 0 auto 18px; font-size: 0.95rem; }

/* Bullets */
.list-clean { list-style: none; padding: 0; margin: 0 0 16px; }
.list-clean li {
  padding: 6px 0 6px 26px;
  position: relative;
  color: var(--grey-800);
}
.list-clean li::before {
  content: '';
  position: absolute; left: 0; top: 16px;
  width: 8px; height: 8px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

/* Accordion (Tax page strategies) */
.accordion { display: grid; gap: 14px; }
.accordion__item {
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  background: var(--white);
  overflow: hidden;
}
.accordion__btn {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: transparent;
  border: 0;
  text-align: left;
  padding: 20px 22px;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
}
.accordion__btn:hover { background: var(--grey-50); }
.accordion__heading { display: inline-flex; align-items: center; gap: 14px; flex: 1; }
.accordion__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--navy); color: var(--white);
  font-size: 0.875rem; font-weight: 600;
  flex-shrink: 0;
  font-family: var(--font-sans);
}
.accordion__icon {
  width: 11px; height: 11px;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: rotate(45deg);
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-right: 4px;
}
.accordion__item[aria-expanded="true"] .accordion__icon { transform: rotate(-135deg); margin-top: 6px; }
.accordion__panel {
  display: none;
  padding: 0 22px 24px 22px;
  border-top: 1px solid var(--grey-100);
}
.accordion__item[aria-expanded="true"] .accordion__panel { display: block; }
.accordion__panel p { margin-top: 18px; }
.accordion__panel dl { margin: 0; padding: 0; }
.accordion__panel dt {
  font-weight: 600; color: var(--navy);
  margin-top: 14px; font-size: 0.9rem;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.accordion__panel dd { margin: 4px 0 0; color: var(--grey-700); font-size: 0.97rem; }
.accordion__sub {
  margin-top: 22px; padding: 18px 20px;
  background: var(--grey-50);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
}
.accordion__sub h4 {
  color: var(--navy); margin: 0 0 6px;
  font-family: var(--font-serif); font-size: 1.05rem;
}
.accordion__sub p { font-size: 0.95rem; margin-bottom: 8px; }

/* Reference matrix table */
.matrix-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  background: var(--white);
  position: relative;
}
.matrix { width: 100%; min-width: 760px; border-collapse: collapse; }
.matrix th, .matrix td {
  text-align: left;
  padding: 16px 18px;
  border-bottom: 1px solid var(--grey-200);
  font-size: 0.95rem;
  vertical-align: top;
}
.matrix th {
  background: var(--navy); color: var(--white);
  font-weight: 600;
  font-family: var(--font-sans);
  letter-spacing: 0.02em;
  font-size: 0.9rem;
}
.matrix tr:last-child td { border-bottom: 0; }
.matrix tbody tr:nth-child(even) { background: var(--grey-50); }
.matrix td:first-child { font-weight: 600; color: var(--navy); }
.matrix-hint {
  display: block;
  text-align: right;
  font-size: 0.8rem;
  color: var(--grey-600);
  margin-top: 10px;
}
@media (min-width: 900px) { .matrix-hint { display: none; } }

/* Disclaimer band */
.disclaimer {
  background: var(--grey-50);
  border-top: 1px solid var(--grey-200);
  border-bottom: 1px solid var(--grey-200);
  padding: 32px 0;
}
.disclaimer p {
  margin: 0; font-style: italic; color: var(--grey-700);
  font-size: 0.95rem; max-width: 80ch; line-height: 1.65;
}

/* Forms */
.contact-grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.4fr 1fr; gap: 56px; } }

.form-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  padding: 28px;
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block; font-weight: 600; color: var(--navy);
  font-size: 0.9rem; margin-bottom: 6px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--grey-900);
  min-height: 48px;
}
.form-row textarea { min-height: 150px; resize: vertical; }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--navy);
}
.form-success {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
  padding: 22px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  display: none;
}
.form-success.is-visible { display: block; }
.form-success p { color: #065F46; margin: 0; font-weight: 500; }

.contact-card {
  background: var(--grey-50);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  padding: 28px;
  align-self: start;
}
.contact-card h3 {
  font-size: 0.78rem; margin: 0 0 6px;
  color: var(--gold);
  font-family: var(--font-sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}
.contact-card p { margin: 0 0 4px; color: var(--grey-800); font-size: 1rem; }
.contact-card a { color: var(--navy); text-decoration: none; font-weight: 500; }
.contact-card a:hover { color: var(--navy-dark); text-decoration: underline; text-decoration-color: var(--gold); }
.contact-card__group + .contact-card__group { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--grey-200); }

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  padding: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  max-width: 1600px;
  margin: 0 auto;
  padding: 48px 24px 32px;
  align-items: start;
}
@media (min-width: 641px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 56px 32px 40px;
  }
}
@media (min-width: 901px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.15fr;
    gap: 80px;
    padding: 72px 56px 52px;
  }
}

.footer-logo {
  display: inline-block;
  margin-bottom: 14px;
  text-decoration: none;
}
.footer-logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 200px;
  max-height: 52px;
}
.footer-brand p {
  color: rgba(255,255,255,0.72);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 38ch;
  margin: 0 0 14px;
}
.footer-brand .footer-disclaimer {
  font-size: 0.72rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.5);
  max-width: 42ch;
  margin: 14px 0 0;
  padding: 0;
  border: 0;
}

.footer-social {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  gap: 10px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.82);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.footer-social a:hover,
.footer-social a:focus-visible {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #fff;
  outline: none;
}
.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 18px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; line-height: 1.4; }
.footer-col a {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--gold); }
.footer-col p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0 0 8px;
  color: rgba(255,255,255,0.85);
}

.footer-bottom {
  max-width: 1600px;
  margin: 0 auto;
  padding: 22px 24px 26px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.62);
}
@media (min-width: 641px) {
  .footer-bottom { padding: 22px 32px 26px; }
}
@media (min-width: 901px) {
  .footer-bottom { padding: 24px 56px 30px; }
}
.footer-bottom p { margin: 0; color: inherit; }

/* Breadcrumbs */
.breadcrumbs { font-size: 0.85rem; color: var(--grey-600); margin-bottom: 14px; }
.breadcrumbs a { color: var(--grey-600); text-decoration: none; }
.breadcrumbs a:hover { color: var(--navy); text-decoration: underline; }
.breadcrumbs span[aria-current] { color: var(--navy); }
.breadcrumbs .sep { margin: 0 6px; color: var(--grey-400); }

/* Pillars (used on navy bands) */
.pillars { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .pillars { grid-template-columns: repeat(4, 1fr); } }
.pillar {
  padding: 24px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
}
.pillar h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 8px; }
.pillar p { color: rgba(255,255,255,0.78); font-size: 0.95rem; margin: 0; }

/* 404 */
.notfound {
  min-height: 60vh;
  display: flex; align-items: center; justify-content: center;
  padding: 80px 20px; text-align: center;
}
.notfound__inner { max-width: 520px; }
.notfound__code {
  font-family: var(--font-serif); color: var(--gold);
  font-size: 4rem; line-height: 1; margin: 0 0 10px; font-weight: 600;
}

/* Page intro band (sub pages) */
.page-intro {
  background: linear-gradient(180deg, var(--grey-50) 0%, var(--white) 100%);
  padding: 64px 0 40px;
}
.page-intro h1 { margin-bottom: 14px; }
.page-intro .lead { margin: 0; }

/* Cross-link pill (contextual) */
.cross-link {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--grey-50);
  border: 1px solid var(--grey-200);
  border-left: 3px solid var(--gold);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--navy);
  font-size: 0.95rem;
}
.cross-link strong { font-weight: 600; }
.cross-link:hover { background: var(--white); border-color: var(--gold); }

/* Utility */
.text-center { text-align: center; }
.mt-lg { margin-top: 32px; }
.mt-md { margin-top: 20px; }
.mb-0 { margin-bottom: 0 !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .site-header, .site-footer, .cta-band, .nav-toggle, .mobile-nav { display: none; }
  a { color: #000; text-decoration: underline; }
}
