/* ========================================
   CALVANESE ADVISORY — Global Stylesheet
   ======================================== */

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

:root {
  --navy: #0F1E2E;
  --navy-light: #162A3E;
  --steel: #4A6C8C;
  --steel-light: #6B8FAF;
  --charcoal: #1C1F26;
  --offwhite: #F5F4F1;
  --offwhite-darker: #E8E6E1;
  --divider: #C8C5BE;
  --text-dark: #1C1F26;
  --text-light: #F5F4F1;
  --text-muted: #6B7280;
  --card-bg: #FFFFFF;
  --card-shadow: 0 2px 12px rgba(15, 30, 46, 0.06);
  --card-shadow-hover: 0 4px 24px rgba(15, 30, 46, 0.12);
  --max-width: 760px;
  --wide-width: 920px;
  --nav-height: 72px;
  --radius: 6px;
}

html { font-size: 16px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; font-weight: 400; line-height: 1.7; color: var(--text-dark); background-color: var(--offwhite); }

/* Typography */
h1, h2, h3 { font-family: 'Playfair Display', serif; font-weight: 400; line-height: 1.2; }
h1 { font-size: 2.25rem; letter-spacing: -0.01em; }
h2 { font-size: 1.75rem; letter-spacing: -0.01em; margin-bottom: 2rem; }
h3 { font-size: 1.25rem; margin-bottom: 1rem; }
p { margin-bottom: 1.25rem; font-size: 0.95rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }

/* ========================================
   Navigation
   ======================================== */

.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-height); background-color: var(--navy);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; z-index: 100;
}
.nav-logo img { height: 52px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a {
  font-family: 'Inter', sans-serif; font-size: 0.8rem; font-weight: 400;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-light); text-decoration: none;
  opacity: 0.7; transition: opacity 0.2s ease;
}
.nav-links a:hover, .nav-links a.active { opacity: 1; }
.nav-links a.nav-apply {
  background-color: rgba(255,255,255,0.12);
  padding: 8px 20px; border-radius: var(--radius); opacity: 0.9;
}
.nav-links a.nav-apply:hover { background-color: rgba(255,255,255,0.2); opacity: 1; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background-color: var(--text-light); margin: 6px 0; transition: all 0.3s ease; }

/* ========================================
   Home Page
   ======================================== */

.page-home {
  background-color: var(--navy);
  background-image:
    radial-gradient(ellipse at 50% 35%, rgba(74,108,140,0.15) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 80%, rgba(15,30,46,0.5) 0%, transparent 50%);
  color: var(--text-light);
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding-top: var(--nav-height); padding-bottom: 80px; position: relative;
}
.page-home::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  background-repeat: repeat; background-size: 256px; pointer-events: none; z-index: 0;
}
.home-content { text-align: center; max-width: 740px; padding: 48px 32px; position: relative; z-index: 1; }
.home-tagline {
  font-family: 'Playfair Display', serif; font-size: 1.7rem; line-height: 1.35;
  color: var(--text-light); margin-bottom: 18px; font-weight: 400; letter-spacing: -0.01em;
}
.home-credential {
  font-family: 'Inter', sans-serif; font-size: 0.78rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--steel-light); margin-bottom: 36px; font-weight: 400;
}
.home-description {
  font-size: 0.95rem; line-height: 1.8; color: rgba(245,244,241,0.75);
  margin-bottom: 52px; max-width: 560px; margin-left: auto; margin-right: auto;
}

/* Pillar cards — flip on hover (desktop), static on mobile */
.home-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 56px; }

.home-pillar {
  position: relative;
  height: 200px;
  perspective: 800px;
  cursor: default;
}

.home-pillar-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
  transform-style: preserve-3d;
}

.home-pillar:hover .home-pillar-inner { transform: rotateY(180deg); }

.home-pillar-front,
.home-pillar-back {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.home-pillar-front {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
}

.home-pillar-back {
  background: var(--offwhite);
  border: 1px solid var(--offwhite-darker);
  transform: rotateY(180deg);
}

.home-pillar-icon {
  margin-bottom: 14px;
  color: var(--steel-light);
}

.home-pillar-front .home-pillar-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-light);
  text-align: center;
  line-height: 1.4;
}

.home-pillar-back .home-pillar-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: var(--text-dark);
  text-align: center;
  line-height: 1.6;
  margin: 0;
}

/* Apply button — solid and prominent */
.btn-home-apply {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 48px;
  border-radius: var(--radius);
  background: var(--offwhite);
  color: var(--navy);
  box-shadow: 0 4px 20px rgba(245, 244, 241, 0.15);
  transition: all 0.25s ease;
}
.btn-home-apply:hover {
  background: #fff;
  box-shadow: 0 6px 28px rgba(245, 244, 241, 0.25);
  transform: translateY(-2px);
}

/* ========================================
   Inner Pages
   ======================================== */

.page-inner { padding-top: calc(var(--nav-height) + 80px); padding-bottom: 100px; min-height: 100vh; }
.page-inner .container { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; }
.page-title { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--navy); margin-bottom: 20px; letter-spacing: -0.01em; }
.page-subtitle { font-size: 1rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 56px; max-width: 600px; }

/* ========================================
   Approach Page — Multi-section layout
   ======================================== */

.page-approach { padding-top: var(--nav-height); }
.page-approach .page-inner { padding-top: 0; padding-bottom: 0; min-height: auto; }

.approach-band {
  padding: 80px 32px;
}

.approach-band .band-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* Band color variants */
.band-offwhite { background-color: var(--offwhite); }
.band-white { background-color: #fff; }
.band-navy {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--text-light);
}
.band-navy h2, .band-navy h3 { color: var(--text-light); }
.band-navy p { color: rgba(245,244,241,0.8); }

/* Section titles */
.approach-band h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 20px;
}

.approach-band > .band-inner > p {
  font-size: 0.95rem;
  line-height: 1.8;
}

.approach-link {
  display: inline-block;
  margin-top: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--steel);
  text-decoration: none;
  transition: color 0.2s ease;
}
.approach-link:hover { color: var(--navy); }

/* Blind spots tools grid */
.blindspot-tools {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.blindspot-tool {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 24px 20px;
  text-align: center;
  position: relative;
}

.blindspot-tool-name {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}

.blindspot-tool-limit {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.55;
  text-align: left;
}

.blindspot-tool-can {
  color: var(--text-dark);
  margin-bottom: 6px;
}

.blindspot-tool-cant {
  color: var(--text-muted);
}

.blindspot-tool-icon {
  display: block;
  margin: 0 auto 14px;
  color: var(--steel);
}

/* Standalone quote band */
.approach-quote {
  padding: 100px 32px;
  text-align: center;
}

.approach-quote h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.4;
  font-style: italic;
  font-weight: 400;
}

/* Product preview cards */
.approach-products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
}

.approach-product {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 32px 28px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.approach-product:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-2px);
}

.approach-product-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 10px;
}

.approach-product h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.approach-product p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.approach-product-link {
  display: inline-block;
  margin-top: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--steel);
  text-decoration: none;
  transition: color 0.2s ease;
}
.approach-product-link:hover { color: var(--navy); }

/* ========================================
   Services Page
   ======================================== */

.services-intro { margin-bottom: 52px; }
.services-intro p { line-height: 1.8; }
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 40px; }
.service-card {
  background: var(--card-bg); border-radius: var(--radius); box-shadow: var(--card-shadow);
  padding: 36px 32px; display: flex; flex-direction: column;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.service-card:hover { box-shadow: var(--card-shadow-hover); transform: translateY(-2px); }
.service-card-label {
  font-family: 'Inter', sans-serif; font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel); margin-bottom: 10px;
}
.service-card h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--navy); margin-bottom: 6px; }
.service-card-price { font-family: 'Inter', sans-serif; font-size: 1.5rem; font-weight: 600; color: var(--navy); margin-bottom: 24px; letter-spacing: -0.02em; }
.service-card-details { list-style: none; margin-bottom: 24px; flex-grow: 1; }
.service-card-details li { font-size: 0.875rem; color: var(--text-dark); line-height: 1.6; padding: 7px 0 7px 18px; position: relative; }
.service-card-details li::before { content: ""; position: absolute; left: 0; top: 14px; width: 5px; height: 5px; border-radius: 50%; background-color: var(--steel); }
.service-card-sub { list-style: none; margin: 6px 0 0 0; padding: 0; }
.service-card-sub li { padding-left: 14px; font-size: 0.83rem; color: var(--text-muted); padding-top: 4px; padding-bottom: 4px; }
.service-card-sub li::before { width: 4px; height: 4px; top: 12px; left: 0; background-color: var(--offwhite-darker); }
.service-card-details li.sub-item { padding-left: 34px; font-size: 0.84rem; color: var(--text-muted); }
.service-card-details li.sub-item::before { left: 18px; width: 4px; height: 4px; background-color: var(--offwhite-darker); border: 1px solid var(--steel); }
.service-card-note { font-size: 0.82rem; color: var(--text-muted); line-height: 1.55; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--offwhite-darker); }
.service-card-bottom { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--offwhite-darker); display: flex; align-items: center; justify-content: space-between; }
.service-card-price-bottom {
  font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 400;
  font-style: italic; color: var(--navy); letter-spacing: -0.01em;
}
.expedited-callout {
  margin-top: 16px; padding: 32px 36px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--text-light); border-radius: var(--radius);
}
.expedited-callout h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--text-light); margin-bottom: 12px; }
.expedited-callout p { color: rgba(245,244,241,0.8); line-height: 1.7; font-size: 0.9rem; }

/* ========================================
   About Page
   ======================================== */

.about-layout { display: flex; gap: 56px; align-items: flex-start; max-width: var(--wide-width); }
.about-photo { flex-shrink: 0; width: 280px; border-radius: var(--radius); overflow: hidden; background-color: var(--offwhite); }
.about-photo img { width: 100%; height: auto; object-fit: cover; mix-blend-mode: multiply; }
.about-text p { line-height: 1.8; }
.about-linkedin {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 24px;
  font-family: 'Inter', sans-serif; font-size: 0.85rem;
  color: var(--steel); text-decoration: none; transition: color 0.2s ease;
}
.about-linkedin:hover { color: var(--navy); }
.page-about .container { max-width: var(--wide-width); }

/* ========================================
   Apply Page
   ======================================== */

.apply-intro { margin-bottom: 48px; }
.apply-form { display: flex; flex-direction: column; gap: 28px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-family: 'Inter', sans-serif; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--navy); }
.form-group .form-hint { font-size: 0.8rem; color: var(--text-muted); font-style: italic; margin-bottom: 2px; }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="file"],
.form-group select,
.form-group textarea {
  font-family: 'Inter', sans-serif; font-size: 0.925rem; padding: 14px 16px;
  border: 1px solid var(--offwhite-darker); border-radius: var(--radius);
  background-color: #fff; color: var(--text-dark);
  transition: border-color 0.2s ease, box-shadow 0.2s ease; width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--steel); box-shadow: 0 0 0 3px rgba(74,108,140,0.1); }
.form-group textarea { min-height: 100px; resize: vertical; }
.form-group select {
  cursor: pointer; -webkit-appearance: none; -moz-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
.form-group input[type="file"] { padding: 12px 16px; cursor: pointer; }
.form-optional { font-size: 0.7rem; color: var(--text-muted); font-weight: 400; text-transform: none; letter-spacing: 0; }

/* ========================================
   Buttons
   ======================================== */

.btn {
  display: inline-block; font-family: 'Inter', sans-serif; font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  padding: 14px 36px; border-radius: var(--radius);
  transition: all 0.25s ease; cursor: pointer; border: none;
}
.btn-primary { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); color: var(--text-light); box-shadow: 0 2px 8px rgba(15,30,46,0.15); }
.btn-primary:hover { box-shadow: 0 4px 16px rgba(15,30,46,0.25); transform: translateY(-1px); }
.btn-expedited { background-color: rgba(255,255,255,0.1); color: var(--text-light); border: 1px solid rgba(255,255,255,0.25); }
.btn-expedited:hover { background-color: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.4); }
.btn-submit { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); color: var(--text-light); width: 100%; padding: 16px; font-size: 0.85rem; margin-top: 12px; box-shadow: 0 2px 8px rgba(15,30,46,0.15); }
.btn-submit:hover { box-shadow: 0 4px 16px rgba(15,30,46,0.25); transform: translateY(-1px); }
.cta-wrapper { margin-top: 28px; }

/* ========================================
   Footer
   ======================================== */

.footer { padding: 40px 48px; text-align: center; font-size: 0.75rem; color: var(--text-muted); letter-spacing: 0.04em; }
.footer a { color: var(--text-muted); text-decoration: none; transition: color 0.2s ease; }
.footer a:hover { color: var(--steel); }
.footer-divider { margin: 0 8px; opacity: 0.5; }
.page-home .footer { position: absolute; bottom: 0; left: 0; right: 0; color: rgba(245,244,241,0.35); }
.page-home .footer a { color: rgba(245,244,241,0.35); }
.page-home .footer a:hover { color: rgba(245,244,241,0.6); }

/* ========================================
   Scroll Animations
   ======================================== */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

.home-content .home-tagline,
.home-content .home-credential,
.home-content .home-description,
.home-content .home-quote,
.home-content .btn-home-apply {
  opacity: 0; transform: translateY(16px); animation: fadeInUp 0.7s ease forwards;
}
.home-content .home-tagline { animation-delay: 0.1s; }
.home-content .home-credential { animation-delay: 0.25s; }
.home-content .home-description { animation-delay: 0.4s; }
.home-content .home-quote { animation-delay: 0.55s; }
.home-content .btn-home-apply { animation-delay: 0.7s; }

@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 768px) {
  .nav { padding: 0 24px; }
  .nav-logo img { height: 44px; }
  .nav-links { display: none; position: fixed; top: var(--nav-height); left: 0; right: 0; background-color: var(--navy); flex-direction: column; padding: 24px; gap: 20px; border-top: 1px solid rgba(255,255,255,0.1); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .page-inner { padding-top: calc(var(--nav-height) + 48px); padding-bottom: 60px; }
  .page-inner .container { padding: 0 24px; }
  h1 { font-size: 1.75rem; }
  .page-title { font-size: 1.6rem; margin-bottom: 16px; }
  .home-content { padding: 32px 24px; }
  .home-tagline { font-size: 1.3rem; }
  .home-pillars { grid-template-columns: 1fr; gap: 16px; }

  /* Disable flip on mobile — show as clean horizontal cards */
  .home-pillar { height: auto; perspective: none; }
  .home-pillar-inner { transform-style: flat; display: flex; align-items: center; gap: 16px;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius); padding: 20px; }
  .home-pillar:hover .home-pillar-inner { transform: none; }
  .home-pillar-front, .home-pillar-back {
    position: relative; inset: auto; backface-visibility: visible; -webkit-backface-visibility: visible;
    transform: none; background: none; border: none; border-radius: 0;
    padding: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  }
  .home-pillar-front { flex-direction: row; align-items: center; gap: 12px; flex-shrink: 0; width: 50%; }
  .home-pillar-front .home-pillar-icon { margin-bottom: 0; flex-shrink: 0; }
  .home-pillar-front .home-pillar-title { text-align: left; font-size: 0.85rem; white-space: normal; }
  .home-pillar-back { flex: 1; width: 50%; }
  .home-pillar-back .home-pillar-text { text-align: left; font-size: 0.8rem; color: rgba(245,244,241,0.55); }

  .services-grid { grid-template-columns: 1fr; }
  .approach-products { grid-template-columns: 1fr; }
  .blindspot-tools { grid-template-columns: 1fr; gap: 16px; }
  .approach-band { padding: 56px 24px; }
  .approach-quote { padding: 64px 24px; }
  .approach-quote h2 { font-size: 1.3rem; }
  .approach-band h2 { font-size: 1.35rem; }
  .about-layout { flex-direction: column; align-items: center; text-align: left; }
  .about-photo { width: 200px; }
}

/* ========================================================================
   CALIBRATION REPORT TEASER (Services page) + HOMEPAGE QUOTE BAND
   Added April 2026. All teaser-related styles are scoped here.
   ======================================================================== */

/* Homepage italic quote band — sits between sub-line and pillar cards.
   Hero background is navy, so text is light. Animation handled by the
   existing .home-content fadeInUp block above. */
.home-quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.45rem;
  line-height: 1.4;
  color: rgba(245, 244, 241, 0.92);
  text-align: center;
  max-width: 560px;
  margin: 0 auto 56px auto;
  padding: 12px 16px 24px 16px;
  font-weight: 400;
  letter-spacing: -0.005em;
}

/* ========== Services page teaser section wrapper ========== */
.calibration-teaser {
  margin-bottom: 64px;
  padding-top: 12px;
}
.calibration-teaser-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.85rem;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 14px 0;
  letter-spacing: -0.01em;
}
.calibration-teaser-leadin {
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.7;
  margin: 0 0 36px 0;
  max-width: 760px;
}
.calibration-teaser-caption {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 22px;
  line-height: 1.55;
  text-align: center;
}

/* ========== Image 1: dimensional scoring table ========== */
.calib-table {
  background-color: var(--card-bg);
  box-shadow: var(--card-shadow);
  border-radius: var(--radius);
  overflow: hidden;
  width: 100%;
  margin-bottom: 28px;
}
.calib-table table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.calib-table thead th {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 18px 8px 14px 8px;
  text-align: center;
  border-bottom: 1px solid var(--divider);
  background-color: var(--card-bg);
}
.calib-table thead th.dim-col {
  text-align: left;
  padding-left: 24px;
  width: 50%;
}
.calib-table thead th.rating-col { width: 12.5%; }

.calib-table tr.section-row td {
  background-color: var(--navy);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 9px 24px;
  border-top: 1px solid var(--navy);
}
.calib-table tbody td {
  padding: 11px 8px;
  border-bottom: 1px solid var(--offwhite-darker);
  font-size: 0.85rem;
  color: var(--text-dark);
  vertical-align: middle;
}
.calib-table tbody td.dim-name {
  padding-left: 24px;
  text-align: left;
}
.calib-table tbody td.rating-cell {
  text-align: center;
  padding: 11px 4px;
}
.calib-table tbody tr:last-child td { border-bottom: none; }

.placeholder-bar {
  display: inline-block;
  height: 8px;
  background-color: var(--offwhite-darker);
  border-radius: 2px;
  vertical-align: middle;
}

.rating-fill {
  display: block;
  height: 14px;
  margin: 0 auto;
  width: 70%;
  border-radius: 2px;
}
.rating-fill.below      { background-color: rgba(74, 108, 140, 0.25); }
.rating-fill.developing { background-color: rgba(74, 108, 140, 0.5); }
.rating-fill.at-bar     { background-color: var(--steel); }
.rating-fill.above-bar  { background-color: var(--navy); }

/* ========== Image 2: dimensional evaluation block ========== */
.dim-block {
  background-color: var(--card-bg);
  box-shadow: var(--card-shadow);
  border-radius: var(--radius);
  overflow: hidden;
  width: 100%;
  border-left: 3px solid var(--steel);
  padding: 32px 36px 30px 36px;
  box-sizing: border-box;
}
.dim-block-header {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
}
.dim-block-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: var(--navy);
  line-height: 1.25;
  margin: 0;
  font-weight: 500;
}
.dim-block-rating {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--steel);
  padding: 4px 10px;
  border: 1px solid var(--steel);
  border-radius: 3px;
  line-height: 1.4;
  white-space: nowrap;
}
.dim-block-descriptor {
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-size: 0.92rem;
  color: var(--steel);
  line-height: 1.65;
  margin: 0 0 22px 0;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--offwhite-darker);
}
.dim-block-evaluation {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  color: var(--text-dark);
  line-height: 1.75;
  margin: 0;
}

/* ========== Mobile adjustments for teaser ========== */
@media (max-width: 768px) {
  .calibration-teaser-title { font-size: 1.5rem; }
  .calib-table thead th {
    font-size: 0.6rem;
    padding: 12px 2px 10px 2px;
    letter-spacing: 0.04em;
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.25;
  }
  .calib-table thead th.dim-col { padding-left: 12px; width: 38%; }
  .calib-table thead th.rating-col { width: 15.5%; }
  .calib-table tr.section-row td { padding: 8px 12px; font-size: 0.62rem; letter-spacing: 0.1em; }
  .calib-table tbody td { font-size: 0.78rem; padding: 9px 3px; }
  .calib-table tbody td.dim-name { padding-left: 12px; line-height: 1.35; }
  .placeholder-bar { height: 6px; }
  .rating-fill { height: 11px; width: 78%; }
  .dim-block { padding: 24px 22px; }
  .dim-block-name { font-size: 1.15rem; }
  .home-quote { font-size: 1.15rem; max-width: 480px; }
}

/* ========================================================================
   APPROACH PAGE — Band 4 stat block + Band 5 framing sentence
   Added April 2026.
   ======================================================================== */

/* Band 4: paragraph (left) + large stat (right), reverses on mobile */
.band4-content {
  display: flex;
  align-items: center;
  gap: 56px;
  margin-top: 4px;
}
.band4-paragraph {
  flex: 1 1 auto;
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 0;
}
.band4-stat {
  flex: 0 0 auto;
  text-align: center;
  min-width: 200px;
  padding-left: 24px;
  border-left: 1px solid rgba(74, 108, 140, 0.25);
}
.band4-stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 5.2rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.band4-stat-caption {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1.4;
  max-width: 200px;
  margin: 0 auto;
}

/* Band 5: framing sentence between title and product cards */
.band5-framing {
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 0 0 36px 0;
  max-width: 760px;
  color: var(--text-dark);
}

/* Mobile: stack stat below paragraph */
@media (max-width: 768px) {
  .band4-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }
  .band4-stat {
    min-width: 0;
    padding-left: 0;
    border-left: none;
    border-top: 1px solid rgba(74, 108, 140, 0.25);
    padding-top: 24px;
    width: 100%;
    text-align: left;
  }
  .band4-stat-number { font-size: 4rem; }
  .band4-stat-caption { margin: 0; max-width: none; }
}

/* ========================================================================
   SERVICES PAGE — Products section H2 + intro
   Added April 2026.
   ======================================================================== */

/* Products section heading (H2 between teaser and product cards) */
.products-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.85rem;
  font-weight: 400;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 80px 0 18px 0;
}

/* Intro paragraphs under Products H2 — same line-height as page intro,
   tighter top spacing because the H2 already created vertical break */
.products-intro {
  margin-top: 0;
  margin-bottom: 36px;
}
.products-intro p {
  margin-bottom: 12px;
}
.products-intro p:last-child {
  margin-bottom: 0;
}

/* Mobile: tighten Products H2 top spacing */
@media (max-width: 768px) {
  .products-title {
    font-size: 1.5rem;
    margin: 56px 0 14px 0;
  }
  .products-intro { margin-bottom: 28px; }
}
