/* ============================================
   Pebble — Corporate Website Stylesheet
   Tokens / sizes pulled from live gopebble.com
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Paytone+One&family=Fragment+Mono&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  --color-green: #244332;
  --color-green-deep: #1a3325;
  --color-cream: #fff0d6;
  --color-mint: #edffec;
  --color-navy: #201e50;
  --color-white: #ffffff;
  --color-black: #000000;

  --color-bg: #ffffff;
  --color-text: #244332;
  --color-text-muted: #5b6b65;
  --color-text-on-dark: #fff0d6;
  --color-text-on-dark-muted: rgba(255, 240, 214, 0.8);
  --color-border: rgba(36, 67, 50, 0.10);
  --color-border-dark: rgba(255, 240, 214, 0.18);
  --color-link: #244332;
  --color-link-hover: #201e50;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 28px;
  --radius-xl: 44px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(36, 67, 50, 0.05);
  --shadow-md: 0 8px 24px rgba(36, 67, 50, 0.10);
  --shadow-lg: 0 20px 60px rgba(36, 67, 50, 0.16);

  --font-display: "Paytone One", "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Fragment Mono", "SF Mono", Menlo, monospace;

  --max-width: 1300px;
  --max-width-narrow: 820px;

  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 3.5rem;
  --space-2xl: 5rem;
}

*, *::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.55;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--color-link);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover { color: var(--color-link-hover); }

/* Display headings — Paytone One, navy by default */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--color-navy);
  margin: 0 0 1rem;
}

/* Sizes match live gopebble.com computed values at 1440 viewport */
h1 { font-size: 30px; line-height: 36px; }      /* section titles like "AI's Infrastructure Paradox" */
h2 { font-size: 28px; line-height: 32px; }
h3 { font-size: 22px; line-height: 28px; }
h4 { font-size: 18px; line-height: 24px; }

p { margin: 0 0 1rem; font-size: 17px; line-height: 1.55; }
ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
li { margin-bottom: 0.4rem; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container-narrow { max-width: var(--max-width-narrow); }

section { padding: var(--space-2xl) 0; }
.section-tight { padding: var(--space-xl) 0; }

/* ---------- Floating pill nav ---------- */
.site-header {
  position: absolute;
  top: 1.5rem;
  left: 0;
  right: 0;
  z-index: 100;
  pointer-events: none;
}

.nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #f3f3f3;
  border-radius: 33px;
  padding: 14px 14px 14px 28px;
  max-width: 1250px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
  height: 70px;
}

.nav-brand { display: flex; align-items: center; }
.nav-brand img { height: 26px; width: auto; display: block; }
.nav-brand:hover { text-decoration: none; }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav-links a {
  color: var(--color-green);
  font-weight: 500;
  font-size: 15px;
}
.nav-links a:hover { color: var(--color-navy); text-decoration: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--color-green);
}

@media (max-width: 820px) {
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    background: #f3f3f3;
    border-radius: var(--radius-md);
    padding: 1rem 1.5rem;
    gap: 0.75rem;
    box-shadow: var(--shadow-md);
  }
  .nav-links.is-open { display: flex; }
  .nav-toggle { display: inline-flex; }
}

/* Slightly tighter nav links spacing at narrower-but-still-desktop sizes */
@media (max-width: 1100px) {
  .nav { max-width: calc(100% - 3rem); }
  .nav-links { gap: 1.25rem; }
  .nav-links a { font-size: 14px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary { background: var(--color-navy); color: var(--color-white); }
.btn-primary:hover { background: #2d2a6b; color: var(--color-white); }

.btn-green { background: var(--color-green); color: var(--color-cream); }
.btn-green:hover { background: var(--color-green-deep); color: var(--color-cream); }

.btn-cream { background: var(--color-mint); color: var(--color-navy); }
.btn-cream:hover { background: var(--color-cream); color: var(--color-navy); }

.btn-outline { background: transparent; color: var(--color-green); border-color: var(--color-green); }
.btn-outline:hover { background: var(--color-green); color: var(--color-cream); }

.btn-lg { padding: 0.9rem 1.7rem; font-size: 16px; }

/* Pill nav button */
.nav .btn { padding: 0.7rem 1.4rem; font-size: 14px; }

/* ---------- Hero (homepage) ---------- */
.hero {
  position: relative;
  background: var(--color-green);
  color: var(--color-text-on-dark);
  padding: 8rem 0 4rem;
  text-align: center;
  overflow: hidden;
  border-bottom-left-radius: 36px;
  border-bottom-right-radius: 36px;
}

/* Hero h1 — uses 35px Paytone One per live site */
.hero h1 {
  color: var(--color-white);
  max-width: 720px;
  margin: 0 auto 2rem;
  font-family: var(--font-display);
  font-size: 35px;
  line-height: 42px;
  letter-spacing: 0;
  font-weight: 400;
  padding: 0 1rem;
}
.hero h1 .accent { color: inherit; }

.hero-lede {
  font-size: 17px;
  color: var(--color-text-on-dark-muted);
  max-width: 56ch;
  margin: 0 auto 2rem;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* "Backed by" strip */
.backed-by { margin-top: 4rem; text-align: center; }
.backed-by-label {
  color: var(--color-text-on-dark-muted);
  font-size: 14px;
  margin-bottom: 1.25rem;
}
.backed-by-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.backed-by-logos img { height: 80px; width: auto; }      /* NVIDIA Inception */
.backed-by-logos img.logo-google { height: 42px; }       /* Google smaller */

/* ---------- Section helpers ---------- */
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-green);
  margin-bottom: 0.5rem;
}

.section-title { color: var(--color-navy); margin-bottom: 1rem; }
.section-lede { font-size: 17px; color: var(--color-text-muted); max-width: 60ch; margin: 0 auto 3rem; }

.section-bg-mint { background: var(--color-mint); }
.section-bg-cream { background: var(--color-cream); }
.section-bg-green { background: var(--color-green); color: var(--color-text-on-dark); }
.section-bg-green h1, .section-bg-green h2, .section-bg-green h3 { color: var(--color-white); }
.section-bg-green p, .section-bg-green .section-lede { color: var(--color-text-on-dark-muted); }
.section-bg-green .section-eyebrow { color: var(--color-cream); }

/* ---------- Paradox card ---------- */
.paradox-card {
  background: var(--color-mint);
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin: 0 auto;
  max-width: var(--max-width);
}
.paradox-card h2 {
  color: var(--color-navy);
  font-size: 30px;
  line-height: 36px;
  max-width: 22ch;
  margin: 0 0 2.5rem;
}
.paradox-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.paradox-col h3 {
  color: var(--color-navy);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0;
  margin-bottom: 0.75rem;
}
.paradox-col p {
  color: var(--color-navy);
  font-size: 17px;
  line-height: 1.55;
}

/* ---------- Trusted-by row (marquee) ---------- */
.trusted-by { text-align: center; }
.trusted-by-label { color: var(--color-text-muted); font-size: 16px; margin-bottom: 2rem; }

.trusted-by-marquee {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.trusted-by-track {
  display: flex;
  align-items: center;
  gap: 5rem;
  width: max-content;
  animation: scroll-trusted 28s linear infinite;
  filter: grayscale(1);
  opacity: 0.85;
}
.trusted-by-marquee:hover .trusted-by-track { animation-play-state: paused; }

.trusted-by-track img {
  height: 50px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  flex-shrink: 0;
}

@keyframes scroll-trusted {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Centered marketing block ---------- */
.center-block { text-align: center; max-width: 880px; margin: 0 auto; }
.center-block h2 {
  color: var(--color-navy);
  font-size: 30px;
  line-height: 36px;
  margin-bottom: 1.5rem;
}
.center-block p { font-size: 17px; line-height: 1.55; margin-bottom: 2rem; }
.center-block strong { font-weight: 700; color: var(--color-navy); }

/* ---------- Three-step icon row ---------- */
.steps {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 4rem;
}
.step { text-align: center; }
.step-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-green);
  color: var(--color-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.step-icon svg { width: 28px; height: 28px; stroke: var(--color-cream); }
.step h3 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--color-navy);
  margin-bottom: 0.6rem;
  line-height: 30px;
  font-weight: 400;
}
.step p {
  font-size: 15px;
  color: var(--color-text-muted);
  max-width: 28ch;
  margin: 0 auto;
  line-height: 1.5;
}

/* ---------- Testimonials ---------- */
.testimonials { text-align: center; }
.testimonials h2 {
  font-size: 30px;
  line-height: 36px;
  margin-bottom: 3rem;
}
.testimonial-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  text-align: left;
}
.testimonial-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
}
.testimonial-card blockquote {
  margin: 0 0 1.75rem;
  font-size: 17px;
  line-height: 1.55;
  color: var(--color-navy);
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.testimonial-author img {
  height: 36px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}
.testimonial-author .who { font-size: 14px; color: var(--color-text-muted); line-height: 1.4; }
.testimonial-author .who strong { color: var(--color-navy); font-weight: 600; display: block; }

/* ---------- Team grid (homepage — circular grayscale photos) ---------- */
.team-section h2 {
  font-size: 30px;
  line-height: 36px;
  color: var(--color-navy);
  margin-bottom: 1rem;
}

/* Marquee scroller — animated horizontal scroll */
.team-marquee {
  overflow: hidden;
  width: 100%;
  margin-top: 3rem;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.team-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: scroll-team 40s linear infinite;
}

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

@keyframes scroll-team {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.team-marquee-card { text-align: center; flex: 0 0 200px; }

.team-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--color-mint);
  margin: 0 auto 1rem;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}

.team-marquee-card .team-name {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--color-navy);
  line-height: 28px;
  margin: 0;
}
.team-marquee-card .team-role {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--color-text-muted);
  margin: 0.25rem 0 0;
  font-weight: 500;
}

/* ---------- About Us alternating zigzag (Executive + Advisory) ---------- */
.about-rows { display: flex; flex-direction: column; gap: 6rem; margin-top: 3rem; }

.about-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-row.reverse > .about-photo { order: 2; }
.about-row.reverse > .about-bio   { order: 1; }

.about-photo {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 500 / 557;
  border-radius: 20px;
  overflow: hidden;
  background: var(--color-mint);
  justify-self: center;
}
.about-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.about-bio .name {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.5vw, 60px);
  line-height: 1;
  color: var(--color-navy);
  margin: 0 0 1rem;
  font-weight: 400;
}
.about-bio .role {
  font-family: var(--font-sans);
  font-size: clamp(22px, 2.5vw, 35px);
  line-height: 1;
  color: var(--color-text-muted);
  margin: 0 0 1.5rem;
  font-weight: 600;
}
.about-bio .bio {
  font-size: 20px;
  color: var(--color-text);
  line-height: 24px;
  max-width: 56ch;
  margin: 0;
}

@media (max-width: 900px) {
  .about-row { grid-template-columns: 1fr; gap: 1.5rem; text-align: center; }
  .about-row.reverse > .about-photo { order: 0; }
  .about-row.reverse > .about-bio   { order: 1; }
  .about-photo { max-width: 360px; }
  .about-bio .bio { margin: 0 auto; }
}

/* ---------- Sustainability Board: 3-column grid with landscape photos ---------- */
.sustainability-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 3rem;
}
.sustainability-card { display: flex; flex-direction: column; }
.sustainability-card .photo {
  width: 100%;
  aspect-ratio: 380 / 317;
  border-radius: 20px;
  overflow: hidden;
  background: var(--color-mint);
  margin-bottom: 1.5rem;
}
.sustainability-card .photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.sustainability-card .name {
  font-family: var(--font-display);
  font-size: clamp(36px, 3.5vw, 48px);
  line-height: 1;
  color: var(--color-navy);
  margin: 0 0 1rem;
  font-weight: 400;
}
.sustainability-card .role {
  font-family: var(--font-sans);
  font-size: 22px;
  line-height: 28px;
  color: var(--color-text-muted);
  margin: 0 0 0.25rem;
  font-weight: 500;
}
.sustainability-card .org {
  font-family: var(--font-sans);
  font-size: 22px;
  line-height: 28px;
  color: var(--color-text-muted);
  margin: 0 0 1.25rem;
  font-weight: 500;
}
.sustainability-card .bio {
  font-size: 17px;
  color: var(--color-text);
  line-height: 22px;
  margin: 0;
}

/* ---------- Section header (used on About Us etc.) ---------- */
.section-header {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr 1.2fr;
  margin-bottom: 3rem;
  align-items: end;
}
.section-header h2 { color: var(--color-navy); margin-bottom: 1.25rem; }
.section-header p { color: var(--color-text-muted); font-size: 17px; line-height: 1.55; max-width: 50ch; }
.section-header .actions { display: flex; gap: 0.75rem; }
@media (max-width: 800px) { .section-header { grid-template-columns: 1fr; } }

/* ---------- Pebble Academy — image cards ---------- */
.academy-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin-top: 3rem;
}
.academy-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: flex;
  flex-direction: column;
}
.academy-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.academy-card-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--color-mint);
  display: block;
}
.academy-card-body { padding: 1.5rem 1.75rem 1.75rem; flex: 1; }
.academy-card-body .tag { margin-bottom: 0.75rem; }
.academy-card-body h3 {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 26px;
  color: var(--color-navy);
  letter-spacing: 0;
  margin: 0;
  font-weight: 400;
}
.academy-card a, a.academy-card { display: block; color: inherit; }
.academy-card a:hover { text-decoration: none; }

.academy-eyebrow-row { text-align: center; margin-bottom: 1rem; }
.academy-eyebrow-row .section-eyebrow {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 14px;
  text-transform: lowercase;
  letter-spacing: 0;
  font-family: var(--font-mono);
  color: var(--color-green);
}
.academy-eyebrow-row h2 {
  text-align: center;
  margin: 0;
  font-size: 30px;
  line-height: 36px;
}

/* ---------- Case study cards ---------- */
.case-study-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  margin-top: 3rem;
}
.case-study-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.case-study-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); text-decoration: none; }
.case-study-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--color-mint);
}
.case-study-card-body { padding: 2rem; }
.case-study-card-body h3 {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 30px;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
  font-weight: 400;
}
.case-study-card-body p { font-size: 15px; line-height: 1.55; color: var(--color-text-muted); margin: 0; }

/* ---------- Partnerships row ---------- */
.partner-row {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  margin-top: 2rem;
}
.partner-card {
  flex: 0 0 240px;
  height: 200px;
  border-radius: var(--radius-md);
  background: var(--color-mint);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.partner-card img { max-width: 80%; max-height: 80%; object-fit: contain; }

/* ---------- Big CTA section (dark green) ---------- */
.cta-section {
  background: var(--color-green);
  color: var(--color-white);
  padding: 5rem 0;
}
.cta-section h2 {
  color: var(--color-white);
  max-width: 18ch;
  margin: 0 0 2rem;
  font-size: 35px;
  line-height: 42px;
  font-weight: 400;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-green);
  color: var(--color-text-on-dark-muted);
  padding: 3rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
  align-items: start;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--color-white);
  font-size: 24px;
  letter-spacing: 0;
  margin: 0 0 1rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { color: var(--color-text-on-dark-muted); font-size: 15px; }
.footer-col a:hover { color: var(--color-white); text-decoration: none; }

.footer-tagline {
  color: var(--color-text-on-dark-muted);
  font-size: 14px;
  max-width: 32ch;
  margin: 1rem 0;
  line-height: 1.5;
}

.newsletter { display: flex; flex-direction: column; gap: 0.75rem; max-width: 320px; }
.newsletter input {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 240, 214, 0.3);
  background: rgba(255, 240, 214, 0.04);
  color: var(--color-cream);
  font-family: inherit;
  font-size: 15px;
  width: 100%;
}
.newsletter input::placeholder { color: rgba(255, 240, 214, 0.55); }
.newsletter input:focus { outline: none; border-color: var(--color-cream); background: rgba(255, 240, 214, 0.08); }
.newsletter button {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: var(--color-white);
  color: var(--color-navy);
  border: 0;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}
.newsletter button:hover { background: var(--color-cream); }

.footer-social { display: flex; gap: 0.75rem; margin-top: 0.75rem; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 240, 214, 0.10);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--color-cream);
}
.footer-social svg { width: 18px; height: 18px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border-dark);
  font-size: 14px;
  color: rgba(255, 240, 214, 0.55);
}

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Page header (interior pages) ---------- */
.page-header {
  background: var(--color-green);
  color: var(--color-text-on-dark);
  padding: 8rem 0 4rem;
  text-align: left;
  border-bottom-left-radius: 36px;
  border-bottom-right-radius: 36px;
}
.page-header .breadcrumb {
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(255, 240, 214, 0.65);
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}
.page-header .breadcrumb a { color: rgba(255, 240, 214, 0.65); }
.page-header .breadcrumb a:hover { color: var(--color-cream); }
.page-header h1 {
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 50px;
  line-height: 60px;
  font-weight: 400;
  margin-bottom: 1rem;
}
.page-header p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--color-text-on-dark-muted);
  max-width: 80ch;
  margin: 0;
}

/* ---------- Article / Long-form ---------- */
.article {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  padding: var(--space-xl) 1.5rem;
  background: var(--color-white);
  color: var(--color-text);
}
.article h2 { color: var(--color-navy); margin-top: 2.5rem; font-size: 30px; line-height: 36px; }
.article h3 { color: var(--color-navy); margin-top: 2rem; font-size: 22px; line-height: 28px; }
.article p { color: var(--color-text); font-size: 17px; line-height: 1.65; }
.article blockquote {
  border-left: 3px solid var(--color-green);
  padding-left: 1.25rem;
  margin: 1.75rem 0;
  color: var(--color-navy);
  font-size: 17px;
}

/* ---------- Tables ---------- */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 2rem;
  font-size: 15px;
}
th, td { text-align: left; padding: 0.85rem 1rem; border-bottom: 1px solid var(--color-border); }
th {
  background: var(--color-mint);
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-green);
}

/* ---------- Forms ---------- */
form { display: grid; gap: 1.25rem; }
.form-row {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field label { font-weight: 600; font-size: 14px; color: var(--color-navy); }
.form-field input,
.form-field select,
.form-field textarea {
  padding: 0.85rem 1rem;
  font-family: inherit;
  font-size: 16px;
  color: var(--color-text);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-green);
  box-shadow: 0 0 0 3px rgba(36, 67, 50, 0.10);
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-help { font-size: 13px; color: var(--color-text-muted); }
.form-card {
  background: var(--color-mint);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

/* ---------- Misc ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
  background: var(--color-mint);
  color: var(--color-green);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.muted { color: var(--color-text-muted); }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-md { margin-top: 1rem; }
.mt-lg { margin-top: 2rem; }
.mb-md { margin-bottom: 1rem; }

@media print {
  .site-header, .site-footer, .cta-section { display: none; }
}
