/* BEYOND v1.1: original editorial imagery, local typography and BG text fit. */
.hero-copy, .page-hero-grid > div, .split-grid > div, .service-detail > div,
.contact-grid > div, .service-card, .method-step { min-width: 0; }
.hero h1 { font-size: clamp(42px, 5.5vw, 76px); }
.page-hero h1 { font-size: clamp(34px, 4.4vw, 64px); overflow-wrap: break-word; }
.section h2 { overflow-wrap: break-word; }
.hero-grid { grid-template-columns: 1fr 1.05fr; gap: 52px; min-height: 640px; padding-block: 72px; }
.beyond-editorial-image { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.beyond-hero-photo, .beyond-page-photo {
  position: relative;
  margin: 0;
  height: auto;
  padding: 0;
  min-width: 0;
  border: 1px solid rgba(255,255,255,.32);
  box-shadow: 0 20px 65px rgba(0,0,0,.24);
}
.hero-visual.beyond-hero-photo { display: block; height: auto; }
.beyond-hero-photo::before, .beyond-page-photo::before {
  content: "";
  display: block;
  position: absolute;
  top: -1px;
  left: -1px;
  width: 88px;
  height: 5px;
  background: var(--yellow);
  z-index: 1;
}
.beyond-hero-brand {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  padding: 10px;
  background: rgba(5,4,47,.92);
  border: 1px solid rgba(255,212,0,.45);
}
.beyond-hero-brand img { display: block; width: 100%; height: 100%; object-fit: contain; }
.page-hero-grid.beyond-has-photo {
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  min-height: 500px;
  padding-block: 64px;
}
.beyond-insights-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; }
.beyond-insight-card {
  min-width: 0;
  border: 1px solid var(--line);
  background: #fff;
  display: flex;
  flex-direction: column;
  scroll-margin-top: 110px;
}
.beyond-insight-image { margin: 0; overflow: hidden; background: var(--ink); border-bottom: 4px solid var(--yellow); }
.beyond-insight-body { padding: 30px; flex: 1; }
.beyond-insight-body .eyebrow { font-size: 11px; letter-spacing: .08em; margin-bottom: 14px; }
.beyond-insight-body h2 { font-size: clamp(24px,2.5vw,32px); line-height: 1.24; margin-bottom: 18px; }
.beyond-insight-body p, .beyond-insight-body li { font-size: 15px; line-height: 1.75; }
.beyond-insight-body p { color: var(--graphite); }
.beyond-insight-body details { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 8px; }
.beyond-insight-body summary {
  color: var(--blue);
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  min-height: 48px;
  padding-block: 12px;
}
.beyond-insight-body summary::marker { color: var(--blue); }
.beyond-insight-body details[open] summary { margin-bottom: 12px; }
.beyond-insight-body ul { padding-left: 20px; }
.beyond-insight-body li { margin-bottom: 12px; }
.beyond-insight-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.beyond-insights-cta { margin-top: 48px; padding: 36px; border-left: 4px solid var(--yellow); background: var(--mist); }
.beyond-insights-cta h2 { font-size: 30px; }
.beyond-insights-cta .button { margin-top: 12px; }
.beyond-home-insights { border-top: 1px solid var(--line); }
.beyond-home-insights .shell { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.beyond-home-insights h2 { margin-bottom: 16px; }
.beyond-home-insights p { max-width: 650px; color: var(--muted); margin-bottom: 0; }
.beyond-home-insights .button { flex-shrink: 0; }
.contact-form .checkbox { line-height: 1.65; }
.contact-form .checkbox input { flex: 0 0 auto; min-width: 18px; min-height: 18px; }
.flow { overflow-wrap: break-word; }
.service-detail[id], .beyond-content-step[id] { scroll-margin-top: 110px; }

/* One paired background system throughout the EN and BG pages. */
:root {
  --beyond-background-light: url('../images/backgrounds/background-light-1586.webp');
  --beyond-background-deep: url('../images/backgrounds/background-deep-1586.webp');
}
body { background: #f8f9fc; }
.hero, .page-hero, .section-blue {
  background-color: var(--ink);
  background-image: linear-gradient(105deg, rgba(5,4,47,.85), rgba(5,4,47,.72) 55%, rgba(5,4,47,.65)), var(--beyond-background-deep);
  background-position: center, center;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero::before, .page-hero::before { content: none; }
.section-light {
  background-color: #fff;
  background-image: linear-gradient(105deg, rgba(255,255,255,.93), rgba(255,255,255,.88) 55%, rgba(255,255,255,.82)), var(--beyond-background-light);
  background-position: center, center;
  background-size: cover;
  background-repeat: no-repeat;
}
.section-light .service-grid,
.section-light .impact-grid.large article,
.beyond-insight-card {
  background-color: rgba(255,255,255,.94);
}
.section-light .eyebrow, .section-light .text-link { color: var(--blue); }
.section-light .method-step {
  padding: 26px 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.94);
}
.section-light .method-step h3, .section-light .method-icon span { color: var(--blue); }
.section-light .method-step p { color: var(--muted); }
.section-light .method-icon { background: var(--mist); }
.section-light .method-step:not(:last-child)::after { top: 74px; }
.beyond-content-step { padding-block: 40px; }
.beyond-content-step .shell {
  padding: 40px;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--line);
  border-top: 3px solid var(--yellow);
}
.service-card a, .section-light .mini-symbol,
.section-light .check-list li::before,
.section-light .output-list li::before { color: var(--blue); }
.section-blue .method-step h3, .section-blue .eyebrow,
.hero .eyebrow, .page-hero .eyebrow { color: var(--yellow); }
.principles {
  background-color: var(--ink);
  background-image: linear-gradient(rgba(5,4,47,.83), rgba(5,4,47,.83)), var(--beyond-background-deep);
  background-position: center;
  background-size: cover;
}
.site-footer {
  background-color: var(--ink);
  background-image: linear-gradient(rgba(5,4,47,.88), rgba(5,4,47,.94)), var(--beyond-background-deep);
  background-position: center, center bottom;
  background-size: cover;
  background-repeat: no-repeat;
}
.beyond-contact-photo {
  margin: 30px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-bottom: 4px solid var(--yellow);
  box-shadow: 0 16px 38px rgba(5,4,47,.1);
}
.beyond-contact-panel {
  padding: 30px;
  color: var(--text);
  background: rgba(255,255,255,.96);
  border: 1px solid var(--line);
  border-top: 4px solid var(--yellow);
  box-shadow: 0 18px 48px rgba(5,4,47,.06);
}
.beyond-contact-section .contact-grid { grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.beyond-contact-section .contact-note strong { color: var(--yellow); }
.beyond-contact-section .contact-phone { color: #fff; }
.section-blue .beyond-contact-panel p, .section-blue .beyond-contact-panel .form-message { color: var(--text); }
.beyond-contact-panel .button { width: 100%; min-height: 50px; padding: 14px 18px; text-align: center; line-height: 1.5; }
.contact-form label { min-width: 0; }
.contact-form textarea { resize: vertical; }
.contact-form input, .contact-form textarea, .contact-form select { min-width: 0; font-size: 16px; }
.legal-copy { overflow-wrap: break-word; }

@media (max-width: 1199px) {
  .site-header .site-nav {
    background-color: var(--ink);
    background-image: linear-gradient(rgba(5,4,47,.92), rgba(5,4,47,.92)), var(--beyond-background-deep);
    background-position: center;
    background-size: cover;
  }
}

@media (max-width: 960px) {
  :root {
    --beyond-background-light: url('../images/backgrounds/background-light-960.webp');
    --beyond-background-deep: url('../images/backgrounds/background-deep-960.webp');
  }
  .hero-grid, .page-hero-grid.beyond-has-photo { grid-template-columns: minmax(0,1fr); gap: 36px; }
  .hero-grid { padding-block: 60px; min-height: auto; }
  .hero-copy { max-width: 720px; }
  .beyond-hero-photo, .beyond-page-photo { width: 100%; max-width: 720px; }
  .page-hero-grid.beyond-has-photo { padding-block: 48px; min-height: 0; }
  .beyond-insight-body { padding: 24px; }
  .beyond-home-insights .shell { flex-direction: column; align-items: flex-start; gap: 26px; }
  .beyond-contact-section .contact-grid { grid-template-columns: minmax(0,1fr); gap: 40px; }
  .beyond-contact-photo { max-width: 720px; }
}
@media (max-width: 620px) {
  .hero-grid { padding-top: 40px; padding-bottom: 40px; gap: 30px; }
  .hero-copy { padding-top: 0; }
  .hero h1 { font-size: clamp(40px,10vw,54px); }
  .hero .lede, .page-hero .lede { font-size: 17px; line-height: 1.65; }
  .page-hero h1 { font-size: clamp(32px,8.5vw,46px); line-height: 1.12; }
  .page-hero-grid.beyond-has-photo { padding-block: 40px; gap: 28px; }
  .beyond-hero-brand { width: 74px; height: 74px; right: 10px; bottom: 10px; padding: 7px; }
  .beyond-insights-grid { grid-template-columns: minmax(0,1fr); gap: 26px; }
  .beyond-insight-body { padding: 24px 20px; }
  .beyond-insight-body h2 { font-size: 26px; }
  .beyond-insights-cta { padding: 28px 22px; }
  .beyond-insights-cta h2 { font-size: 27px; }
  .beyond-home-insights .button, .beyond-insights-cta .button { width: 100%; padding: 14px 18px; text-align: center; }
  .page-hero-grid:not(.beyond-has-photo) .page-symbol-final { max-width: 210px; margin-inline: auto; }
  .beyond-contact-panel { padding: 24px 18px; }
  .beyond-content-step { padding-block: 24px; }
  .beyond-content-step .shell { padding: 28px 22px; }
}
