/* ============================================================
   BUCKLEY ADVISORS — MASTER STYLESHEET
   Brand Standards v1.0 | June 2026
   Colors: Navy #002130 | Gold #C8A05B | Charcoal #33363A
           Ivory #FAF6EF | White #FFFFFF
   Fonts:  Cormorant Garamond (headings) | Source Sans Pro (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Source+Sans+Pro:wght@300;400;600&display=swap');

/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy:   #002130;
  --gold:   #C8A05B;
  --charcoal: #33363A;
  --ivory:  #FAF6EF;
  --white:  #FFFFFF;
  --mid-gray: #7A7D80;
  --light-gray: #F0EDE8;
  --border: #DDD8CF;
  --nav-height: 72px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--gold);
}

ul {
  list-style: none;
}

/* ── CONTAINER ───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── TYPOGRAPHY ──────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.8;
}

/* ── UTILITY ─────────────────────────────────────────────── */
.section-label {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.gold-rule {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 0.75rem 0 1.5rem 0;
}

/* ── BUTTON ──────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--gold);
  border: none;
  padding: 0.85rem 2.2rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn:hover {
  background: #b08d48;
  color: var(--white);
  transform: translateY(-1px);
}

/* ── NAVIGATION ──────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  border-bottom: 1px solid rgba(200, 160, 91, 0.25);
}

/* Logo in nav — white version */
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo img,
.nav-logo svg {
  height: 48px;
  width: auto;
}

.page-home .nav-logo {
  display: none;
}

.page-home .site-nav {
  justify-content: flex-end;
}

/* ── INNER PAGE NAV — large logo ─────────────────────────── */
.page-inner {
  --nav-height: 148px;
}

.page-inner .site-nav {
  height: var(--nav-height);
  padding: 0.75rem 2.5rem;
  align-items: center;
}

.page-inner .nav-logo svg {
  height: 128px;
  width: auto;
  filter: drop-shadow(0 2px 12px rgba(200,160,91,0.22));
}

/* Inline SVG logo — white variant for nav */
.logo-svg-white text { fill: var(--white); }
.logo-svg-white line { stroke: var(--gold); }

/* Inline SVG logo — navy variant for light backgrounds */
.logo-svg-navy text { fill: var(--navy); }
.logo-svg-navy line { stroke: var(--gold); }

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links li a {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  transition: color 0.2s ease;
  position: relative;
  padding-bottom: 3px;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--white);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  width: 100%;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.2s ease;
}

/* ── PAGE OFFSET (fixed nav) ─────────────────────────────── */
body > section:first-of-type,
.hero,
.page-header {
  padding-top: var(--nav-height);
}

/* ── HERO LAYOUT ─────────────────────────────────────────── */
.hero-content {
  flex: 1;
}

.hero-logo-right {
  flex-shrink: 0;
  width: 46%;
  filter: drop-shadow(0 6px 32px rgba(200,160,91,0.22));
}

.hero-logo-right svg {
  width: 100%;
  height: auto;
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  background: var(--navy);
  min-height: 58vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Subtle texture overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(135deg, rgba(200,160,91,0.06) 0%, transparent 60%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 79px,
      rgba(255,255,255,0.018) 79px,
      rgba(255,255,255,0.018) 80px
    );
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  padding: 4rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  max-width: 1300px;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 3vw, 3.2rem);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero p {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 400;
  font-size: 1.15rem;
  color: rgba(255,255,255,0.90);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-eyebrow {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  display: block;
}

/* ── STATS BAR ───────────────────────────────────────────── */
.stats-bar {
  background: var(--white);
  padding: 3rem 0 1.5rem 0;
}

.stats-bar .container {
  background: var(--ivory);
  border: 1px solid var(--border);
  width: fit-content;
  max-width: 95%;
  padding: 2.43rem 4rem;
  margin: 0 auto;
}

.stats-grid {
  display: flex;
  justify-content: center;
  gap: 3rem;
  text-align: center;
}

.stat-item h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-item p {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid-gray);
}

/* ── CALLOUT SECTION ─────────────────────────────────────── */
.callout-section {
  padding: 3rem 0 6rem 0;
  background: var(--white);
  text-align: center;
}

.callout-section .gold-rule {
  margin: 0.75rem auto 1.5rem auto;
}

.callout-section p {
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ── PAGE HEADER ─────────────────────────────────────────── */
.page-header {
  background: var(--navy);
  padding: calc(var(--nav-height) + 2rem) 0 2rem;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200,160,91,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.page-header .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.page-header-logo {
  flex-shrink: 0;
  width: 220px;
  opacity: 0.3;
}

.page-header-logo svg {
  width: 100%;
  height: auto;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.page-header p {
  color: rgba(255,255,255,0.92);
  font-size: 1.05rem;
  max-width: 560px;
  font-weight: 300;
}

/* ── GENERAL SECTIONS ────────────────────────────────────── */
section {
  padding: 5rem 0;
}

/* ── ABOUT PAGE ──────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 4rem;
  align-items: start;
}

.about-photo {
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
}

.about-photo img {
  width: 100%;
  display: block;
  filter: grayscale(15%);
}

.about-photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mid-gray);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 0.25rem;
}

.about-text p {
  margin-bottom: 1.2rem;
  font-size: 1rem;
}

.roles-list li,
.edu-list li {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--charcoal);
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
  padding-left: 1rem;
  position: relative;
}

.roles-list li::before,
.edu-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
}

/* ── TICKER SECTION ──────────────────────────────────────── */
.ticker-section {
  padding: 3rem 0;
  background: var(--ivory);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.ticker-label {
  text-align: center;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 2rem;
}

.ticker-outer {
  overflow: hidden;
  position: relative;
}

.ticker-outer::before,
.ticker-outer::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.ticker-outer::before {
  left: 0;
  background: linear-gradient(to right, var(--ivory), transparent);
}

.ticker-outer::after {
  right: 0;
  background: linear-gradient(to left, var(--ivory), transparent);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 50s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-set {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 0 1.5rem;
}

.logo-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  flex-shrink: 0;
  opacity: 0.55;
  transition: opacity 0.3s ease;
  filter: grayscale(100%);
}

.logo-slot:hover {
  opacity: 0.9;
  filter: grayscale(0%);
}

.logo-slot img {
  max-height: 38px;
  max-width: 120px;
  width: auto;
  object-fit: contain;
}

/* ── SERVICES PAGE ───────────────────────────────────────── */
.page-services .page-header {
  padding-bottom: 1rem;
}

.services-intro {
  font-size: 1.4rem;
  margin-bottom: 3rem;
  font-weight: 300;
}

.services-main {
  padding-top: 0.375rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.service-card {
  background: var(--ivory);
  padding: 2rem;
  border-left: 3px solid var(--gold);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
  box-shadow: 0 8px 32px rgba(0,33,48,0.08);
  transform: translateY(-2px);
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--navy);
}

.service-card p {
  font-size: 0.92rem;
  line-height: 1.7;
}

.engagement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.engagement-card {
  background: var(--navy);
  padding: 2rem;
  color: var(--white);
}

.engagement-card h3 {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.engagement-card p {
  color: rgba(255,255,255,0.90);
  font-size: 0.92rem;
  line-height: 1.7;
}

.engagement-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
  font-style: italic;
}

/* ── INSIGHTS PAGE ───────────────────────────────────────── */
.insights-subtitle {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.article-card {
  background: var(--ivory);
  padding: 2.5rem;
  border-top: 3px solid var(--gold);
  transition: box-shadow 0.2s ease;
}

.article-card:hover {
  box-shadow: 0 8px 32px rgba(0,33,48,0.08);
}

.article-date {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.article-card h2 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.article-card p {
  font-size: 0.94rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.read-more {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: color 0.2s ease;
}

.read-more:hover {
  color: var(--gold);
}

.insights-note {
  font-size: 0.85rem;
  color: var(--mid-gray);
  font-style: italic;
  text-align: center;
  padding-top: 1rem;
}

/* ── CONTACT PAGE ────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 352px;
  gap: 4rem;
  align-items: start;
}

.contact-form .field {
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 300;
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--ivory);
  border: 1px solid var(--border);
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s ease;
  -webkit-appearance: none;
  border-radius: 0;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
  background: var(--white);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.cf-turnstile {
  margin-bottom: 1.5rem;
}

.contact-aside {
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
  padding: 2.2rem;
  background: var(--navy);
  color: var(--white);
}

.contact-aside .section-label {
  color: var(--gold);
}

.contact-aside .gold-rule {
  background: var(--gold);
}

.contact-aside h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.contact-aside p {
  color: rgba(255,255,255,0.92);
  font-size: 1rem;
  line-height: 1.8;
}

.contact-aside a {
  color: var(--gold);
}

.contact-aside a:hover {
  color: var(--white);
}

.form-success {
  padding: 1rem 1.25rem;
  background: #eef6f0;
  border-left: 3px solid #4a9e6a;
  font-size: 0.92rem;
  color: #2d6e47;
  margin-top: 1rem;
}

.form-error {
  padding: 1rem 1.25rem;
  background: #fdf0f0;
  border-left: 3px solid #c0392b;
  font-size: 0.92rem;
  color: #922b21;
  margin-top: 1rem;
}

.form-error a {
  color: #922b21;
  text-decoration: underline;
}

/* ── CTA STRIP ───────────────────────────────────────────── */
.cta-strip {
  background: var(--light-gray);
  padding: 5rem 0;
  text-align: center;
  border-top: 1px solid var(--border);
}

.cta-strip h2 {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.cta-strip p {
  color: var(--mid-gray);
  margin-bottom: 2rem;
  font-size: 1rem;
}

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  padding: 2.5rem 0;
  border-top: 1px solid rgba(200,160,91,0.2);
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo svg {
  height: 76px;
  width: auto;
}

.footer-right {
  text-align: right;
}

.footer-right p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.70);
  line-height: 1.8;
}

.footer-right a {
  color: rgba(255,255,255,0.80);
  font-size: 0.78rem;
  transition: color 0.2s;
}

.footer-right a:hover {
  color: var(--gold);
}

/* ── BLOG POST ───────────────────────────────────────────── */
.blog-post {
  max-width: 720px;
}

.blog-post h2 {
  font-size: 1.6rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.blog-post p {
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

.blog-post ul,
.blog-post ol {
  margin: 0 0 1.25rem 1.5rem;
  list-style: disc;
}

.blog-post li {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--charcoal);
  padding: 0.15rem 0;
}

.blog-post strong {
  font-weight: 600;
  color: var(--navy);
}

.blog-post em {
  font-style: italic;
}

.blog-back {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

/* ── MOBILE ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    border-top: 1px solid rgba(200,160,91,0.2);
    z-index: 99;
  }

  .nav-links.open {
    display: flex;
  }

  /* Larger tap targets for nav links */
  .nav-links li a {
    display: block;
    padding: 1rem 2rem;
    font-size: 0.88rem;
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  .nav-links li a::after {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    padding: 3rem 1.5rem;
  }

  .hero-logo-right {
    display: none;
  }

  .page-header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .page-header-logo {
    display: none;
  }

  .page-inner {
    --nav-height: 110px;
  }

  .page-inner .nav-logo svg {
    height: 90px;
  }

  /* Stats: 2-col grid on tablet */
  .stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .stats-bar .container {
    width: 100%;
    max-width: 100%;
    padding: 2rem 1.5rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-photo {
    position: static;
    max-width: 280px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .engagement-grid {
    grid-template-columns: 1fr;
  }

  .article-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-aside {
    position: static;
  }

  .site-footer .container {
    flex-direction: column;
    text-align: center;
  }

  .footer-right {
    text-align: center;
  }
}

/* ── IPHONE / SMALL MOBILE ───────────────────────────────── */
@media (max-width: 600px) {
  .container {
    padding: 0 1.25rem;
  }

  section {
    padding: 3rem 0;
  }

  .page-header {
    padding: calc(var(--nav-height) + 2rem) 0 2rem;
  }

  /* Hero: tighter on small screens */
  .hero .container {
    padding: 2.5rem 1.25rem;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
  }

  .hero p {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  /* Full-width button — easier to tap */
  .hero .btn {
    display: block;
    text-align: center;
    width: 100%;
    padding: 1rem;
  }

  /* Stats: single column on phones */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .stat-item h3 {
    font-size: 2rem;
  }

  /* Callout section */
  .callout-section {
    padding: 2.5rem 0 4rem;
  }

  /* Inner nav: smaller logo so it doesn't crowd */
  .page-inner {
    --nav-height: 80px;
  }

  .page-inner .site-nav {
    padding: 0.5rem 1.25rem;
  }

  .page-inner .nav-logo svg {
    height: 64px;
  }

  /* About page: centered photo */
  .about-photo {
    max-width: 220px;
    margin: 0 auto;
  }

  .about-text h2 {
    font-size: 1.7rem;
  }

  /* Ticker: smaller logos on phones */
  .logo-slot img {
    max-height: 28px;
    max-width: 90px;
  }

  .ticker-set {
    gap: 2rem;
  }

  /* Footer: tighter */
  .site-footer {
    padding: 2rem 0;
  }

  .footer-logo svg {
    height: 56px;
  }

  /* Modal: full-screen friendly on small phones */
  #contactModal > div {
    margin: 0 !important;
    min-height: 100vh;
    border-radius: 0 !important;
    padding: 2rem 1.25rem !important;
  }

  /* Form inputs: 16px minimum prevents iOS zoom-on-focus */
  #contactModalForm input,
  #contactModalForm textarea,
  .contact-form input,
  .contact-form textarea {
    font-size: 16px !important;
  }

  /* Hamburger: larger touch target */
  .nav-toggle {
    padding: 8px;
    margin-right: -4px;
  }
}
