/* ==========================================================================
   MARCIN BŁASZKO — DESIGN SYSTEM
   Wspólny język wizualny z konsultacja.blaszko.eu
   ========================================================================== */

:root {
  color-scheme: light;
  --bg-page: #FFFFFF;
  --bg-subtle: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-soft: #F8FAFC;
  --border-divider: #E4E4E9;
  --border-input: #D8D8DE;
  --text-heading: #0F172A;
  --text-label: #334155;
  --text-muted: #475569;
  --primary-start: #CA143E;
  --primary-end: #DF1B48;
  --primary-hover-start: #B01035;
  --primary-hover-end: #C4143C;
  --focus-ring: rgba(202, 20, 62, .25);
  --badge-bg: #E8E8ED;
  --badge-text: #3A3A3C;
  --badge-accent-bg: rgba(202, 20, 62, .08);
  --badge-accent-text: #CA143E;
  --accent-green: #15803D;
  --accent-green-soft: rgba(21, 128, 61, .08);
  --accent-green-line: rgba(21, 128, 61, .18);
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --font-stack: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow-soft: 0 12px 34px rgba(17, 24, 39, .045), 0 2px 6px rgba(17, 24, 39, .025);
  --shadow-card: 0 12px 32px -12px rgba(15, 23, 42, .06);
  --shadow-raised: 0 20px 54px rgba(18, 24, 38, .09), 0 3px 10px rgba(18, 24, 38, .035);
  --container: 1160px;
  --page-gutter: clamp(20px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  min-width: 320px;
  margin: 0;
  background: var(--bg-page);
  color: var(--text-heading);
  font-family: var(--font-stack);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
::selection { color: #fff; background: var(--primary-start); }

.container {
  width: min(var(--container), calc(100% - var(--page-gutter) * 2));
  margin-inline: auto;
}
.section { padding: clamp(76px, 9vw, 116px) 0; }
.section--soft {
  background:
    radial-gradient(circle at 10% 12%, rgba(202,20,62,.035), transparent 28rem),
    var(--bg-subtle);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--primary-start);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.3;
  text-transform: uppercase;
}
.eyebrow::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary-start);
  content: "";
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  color: var(--text-heading);
  font-weight: 750;
  letter-spacing: -.045em;
}
h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(2.75rem, 6vw, 5.25rem);
  line-height: 1.02;
}
h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
}
h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
  line-height: 1.25;
  letter-spacing: -.025em;
}
.lead {
  max-width: 690px;
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: clamp(1.05rem, 1.55vw, 1.2rem);
  line-height: 1.75;
}
.section-heading {
  max-width: 760px;
  margin-bottom: 46px;
}
.section-heading .lead { max-width: 650px; }
.text-muted { color: var(--text-muted); }
.tabular-nums { font-variant-numeric: tabular-nums; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 10px;
  background: var(--text-heading);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

/* Header */
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(228,228,233,.82);
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.header-inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  width: 190px;
  flex: 0 0 auto;
  align-items: center;
  text-decoration: none;
}
.brand img { width: 100%; height: auto; }
.main-nav { margin-left: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 32px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-links a {
  color: var(--text-label);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color .18s ease;
}
.nav-links a:hover { color: var(--primary-start); }
.header-cta { flex: 0 0 auto; }
.label-short { display: none; }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-divider);
  border-radius: 12px;
  background: #fff;
  color: var(--text-heading);
  cursor: pointer;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .2s ease;
}
.menu-toggle span { position: relative; }
.menu-toggle span::before, .menu-toggle span::after {
  position: absolute;
  left: 0;
  content: "";
}
.menu-toggle span::before { transform: translateY(-6px); }
.menu-toggle span::after { transform: translateY(6px); }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn svg { width: 17px; height: 17px; flex: 0 0 auto; }
.btn-primary {
  background: linear-gradient(100deg, var(--primary-start), var(--primary-end));
  box-shadow: 0 7px 18px rgba(202,20,62,.16), inset 0 1px 0 rgba(255,255,255,.16);
  color: #fff;
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(100deg, var(--primary-hover-start), var(--primary-hover-end));
  box-shadow: 0 11px 24px rgba(202,20,62,.21);
}
.btn-secondary {
  border-color: var(--border-divider);
  background: rgba(255,255,255,.84);
  color: var(--text-label);
  box-shadow: 0 2px 7px rgba(17,24,39,.025);
}
.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: #D0D1D9;
  box-shadow: var(--shadow-card);
}
.btn:focus-visible, a:focus-visible, button:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 8vw, 112px) 0 clamp(80px, 9vw, 124px);
}
.hero::before {
  position: absolute;
  top: -260px;
  right: -170px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(202,20,62,.075), rgba(202,20,62,0) 68%);
  pointer-events: none;
  content: "";
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(340px, .84fr);
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
}
.hero-copy { position: relative; z-index: 1; }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  padding: 8px 12px;
  border: 1px solid rgba(202,20,62,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  color: var(--text-label);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .035em;
}
.hero-kicker-mark {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-start);
  box-shadow: 0 0 0 4px rgba(202,20,62,.09);
}
.hero h1 span { color: var(--primary-start); }
.hero-copy .lead { max-width: 670px; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.hero-actions .btn { min-height: 54px; padding-inline: 23px; }
.hero-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 30px;
}
.signal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
}
.signal svg { width: 15px; height: 15px; color: var(--accent-green); }
.hero-visual {
  position: relative;
  width: min(100%, 440px);
  justify-self: end;
}
.portrait-shell {
  position: relative;
  overflow: hidden;
  padding: 10px;
  border: 1px solid rgba(228,228,233,.95);
  border-radius: 30px;
  background: rgba(255,255,255,.84);
  box-shadow: var(--shadow-raised);
}
.portrait-shell::before {
  position: absolute;
  z-index: 1;
  top: 23px;
  left: 23px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--primary-start);
  box-shadow: 0 0 0 6px rgba(202,20,62,.1);
  content: "";
}
.portrait {
  width: 100%;
  aspect-ratio: 4 / 4.7;
  border-radius: 22px;
  object-fit: cover;
  object-position: center 35%;
  background: var(--bg-subtle);
}
.portrait-caption {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.64);
  border-radius: 14px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 8px 28px rgba(17,24,39,.10);
  backdrop-filter: blur(12px);
}
.portrait-caption strong { display: block; font-size: 14px; letter-spacing: -.02em; }
.portrait-caption small { display: block; margin-top: 2px; color: var(--text-muted); font-size: 11px; }
.portrait-caption-mark {
  display: inline-flex;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: var(--badge-accent-bg);
  color: var(--primary-start);
}

/* Shared section headings */
.section-tag {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--primary-start);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.section-intro {
  max-width: 690px;
  margin: 0;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.75;
}

/* Ecosystem */
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
}
.ecosystem-card {
  position: relative;
  display: flex;
  min-height: 330px;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
  border: 1px solid var(--border-divider);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.ecosystem-card:hover {
  transform: translateY(-5px);
  border-color: #D7D8E0;
  box-shadow: var(--shadow-raised);
}
.ecosystem-card--featured {
  border-color: rgba(202,20,62,.22);
  background:
    radial-gradient(circle at 92% 3%, rgba(202,20,62,.07), transparent 42%),
    linear-gradient(145deg, #fff 0%, #FFFAFB 100%);
  box-shadow: 0 0 0 1px rgba(202,20,62,.035), var(--shadow-card);
}
.card-topline {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
}
.card-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-divider);
  border-radius: 14px;
  background: var(--bg-soft);
  color: var(--text-label);
}
.ecosystem-card--featured .card-icon {
  border-color: rgba(202,20,62,.13);
  background: rgba(202,20,62,.07);
  color: var(--primary-start);
}
.card-icon svg { width: 22px; height: 22px; }
.card-index {
  color: #9A9DA6;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}
.card-label {
  display: inline-flex;
  margin-bottom: 11px;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--bg-subtle);
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.ecosystem-card--featured .card-label {
  background: var(--badge-accent-bg);
  color: var(--primary-start);
}
.ecosystem-card h3 { margin-bottom: 12px; font-size: 21px; }
.ecosystem-card p {
  margin-bottom: 26px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.75;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  color: var(--text-heading);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: color .18s ease, gap .18s ease;
}
.card-link svg { width: 16px; height: 16px; }
.card-link:hover { gap: 13px; color: var(--primary-start); }
.ecosystem-card--featured .card-link { color: var(--primary-start); }

/* Philosophy */
.philosophy-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 7vw, 90px);
  align-items: start;
}
.philosophy-copy h2 { max-width: 470px; }
.philosophy-copy p {
  max-width: 490px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.8;
}
.philosophy-note {
  margin-top: 26px;
  padding: 18px 20px;
  border: 1px solid rgba(202,20,62,.16);
  border-radius: 14px;
  background: rgba(255,255,255,.82);
  color: var(--text-label);
  font-size: 14px;
  font-weight: 650;
}
.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
}
.principle {
  min-height: 180px;
  padding: 22px;
  border: 1px solid var(--border-divider);
  border-radius: 16px;
  background: rgba(255,255,255,.8);
  box-shadow: 0 3px 12px rgba(17,24,39,.025);
}
.principle-number {
  display: inline-block;
  margin-bottom: 25px;
  color: var(--primary-start);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}
.principle h3 { margin-bottom: 8px; font-size: 16px; }
.principle p { margin: 0; color: var(--text-muted); font-size: 13px; line-height: 1.65; }

/* Bottom CTA */
.bottom-cta { padding: 86px 0; }
.cta-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 36px;
  padding: clamp(30px, 5vw, 56px);
  border: 1px solid rgba(202,20,62,.18);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 95% 0%, rgba(202,20,62,.10), transparent 32rem),
    linear-gradient(135deg, #FFFAFB, #FFFFFF 65%);
  box-shadow: var(--shadow-soft);
}
.cta-panel h2 { max-width: 690px; margin-bottom: 12px; }
.cta-panel p { max-width: 630px; margin-bottom: 0; color: var(--text-muted); line-height: 1.75; }
.cta-panel .btn { min-width: 220px; min-height: 54px; }

/* Footer */
.site-footer {
  padding: 42px 0 28px;
  border-top: 1px solid var(--border-divider);
  background: var(--bg-subtle);
}
.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 34px;
}
.footer-brand { max-width: 300px; }
.footer-brand-logo { display: block; width: 176px; margin-bottom: 16px; }
.footer-brand-logo img { width: 100%; height: auto; }
.footer-brand p { margin: 0; color: var(--text-muted); font-size: 13px; line-height: 1.7; }
.footer-column h3 {
  margin: 2px 0 15px;
  color: var(--text-heading);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.footer-column ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer-column a, .footer-contact a {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color .18s ease;
}
.footer-column a:hover, .footer-contact a:hover { color: var(--primary-start); }
.footer-contact { display: grid; gap: 9px; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid var(--border-divider);
  color: var(--text-muted);
  font-size: 12px;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--text-muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--primary-start); }

/* Motion */
.reveal { opacity: 1; transform: none; }
.js-motion .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1);
}
.js-motion .reveal.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .08s !important; }
.delay-2 { transition-delay: .16s !important; }
.delay-3 { transition-delay: .24s !important; }

@media (max-width: 980px) {
  .header-inner { gap: 16px; }
  .menu-toggle { display: inline-flex; order: 3; }
  .header-cta { margin-left: auto; }
  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    margin: 0;
    padding: 12px var(--page-gutter) 20px;
    border-bottom: 1px solid var(--border-divider);
    background: rgba(255,255,255,.98);
    box-shadow: 0 14px 28px rgba(17,24,39,.06);
  }
  .main-nav.is-open { display: block; }
  .nav-links { display: grid; gap: 0; }
  .nav-links a { display: block; padding: 13px 4px; }
  .hero-grid { grid-template-columns: minmax(0,1fr) minmax(280px,.78fr); gap: 38px; }
  .ecosystem-grid { gap: 14px; }
  .ecosystem-card { padding: 23px; }
}
@media (max-width: 760px) {
  :root { --page-gutter: 22px; }
  .header-inner { min-height: 72px; }
  .brand { width: 158px; }
  .header-cta { min-height: 42px; padding-inline: 14px; font-size: 12px; }
  .hero { padding: 60px 0 78px; }
  .hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .hero-visual { width: min(100%, 410px); justify-self: center; }
  .portrait { aspect-ratio: 1 / 1.08; }
  .portrait-caption { right: 18px; bottom: 18px; left: 18px; }
  .ecosystem-grid { grid-template-columns: 1fr; gap: 14px; }
  .ecosystem-card { min-height: 0; padding: 24px; }
  .card-topline { margin-bottom: 22px; }
  .philosophy-layout { grid-template-columns: 1fr; gap: 32px; }
  .principles-grid { gap: 12px; }
  .principle { min-height: 166px; padding: 18px; }
  .bottom-cta { padding: 66px 0; }
  .cta-panel { grid-template-columns: 1fr; gap: 24px; padding: 30px 24px; }
  .cta-panel .btn { width: 100%; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  :root { --page-gutter: 18px; }
  h1 { font-size: clamp(2.45rem, 12vw, 3.2rem); }
  h2 { font-size: clamp(1.9rem, 9vw, 2.5rem); }
  .header-inner { min-height: 68px; gap: 10px; }
  .brand { width: 128px; }
  .header-cta { min-height: 40px; padding: 0 11px; font-size: 11px; border-radius: 10px; }
  .menu-toggle { width: 40px; height: 40px; }
  .hero { padding-top: 48px; }
  .hero-kicker { margin-bottom: 18px; font-size: 10px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; margin-top: 26px; }
  .hero-actions .btn { width: 100%; min-height: 52px; }
  .hero-signals { gap: 9px 14px; margin-top: 24px; }
  .signal { font-size: 12px; }
  .section { padding: 72px 0; }
  .section-heading { margin-bottom: 32px; }
  .section-intro { font-size: 15px; line-height: 1.7; }
  .principles-grid { grid-template-columns: 1fr 1fr; }
  .principle { min-height: 178px; padding: 16px 14px; }
  .principle-number { margin-bottom: 18px; }
  .principle h3 { font-size: 14px; }
  .principle p { font-size: 12px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 360px) {
  .brand { width: 102px; }
  .header-cta { min-height: 38px; padding-inline: 8px; gap: 7px; font-size: 10px; }
  .header-cta .label-full { display: none; }
  .header-cta .label-short { display: inline; }
  .header-inner { gap: 8px; }
  .menu-toggle { width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js-motion .reveal { opacity: 1; transform: none; }
}


/* Social links — verified public profiles */
.social-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
}
.hero-socials { margin-top: 25px; }
.social-links-label {
  margin-right: 3px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
}
.social-link {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--border-divider);
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  color: var(--text-label);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.social-link svg { width: 16px; height: 16px; flex: 0 0 auto; }
.social-link:hover {
  transform: translateY(-2px);
  border-color: rgba(202,20,62,.28);
  background: rgba(202,20,62,.045);
  color: var(--primary-start);
  box-shadow: 0 5px 16px rgba(202,20,62,.08);
}
.social-link:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; }
.footer-socials { margin-top: 18px; gap: 8px; }
.social-link--icon-only {
  width: 38px;
  min-width: 38px;
  height: 38px;
  min-height: 38px;
  padding: 0;
  border-radius: 12px;
  background: #fff;
}
.social-link--icon-only svg { width: 17px; height: 17px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  clip-path: inset(50%);
}

/* Areas of work — concise visual index with the supplied brand illustrations */
.work-section { background: var(--bg-subtle); }
.work-section .section-heading { margin-bottom: 38px; }
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.work-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 18px;
  border: 1px solid var(--border-divider);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.work-card:hover {
  transform: translateY(-4px);
  border-color: #D7D8E0;
  box-shadow: var(--shadow-raised);
}
.work-visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 76px;
  align-items: stretch;
  gap: 9px;
  min-height: 174px;
  margin-bottom: 18px;
  padding: 9px;
  overflow: hidden;
  border: 1px solid rgba(228,228,233,.8);
  border-radius: 15px;
  background: linear-gradient(145deg, #F8F8FA, #FFFFFF 72%);
}








.work-card-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; }
.work-index {
  display: inline-block;
  margin-bottom: 9px;
  color: var(--primary-start);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .11em;
}
.work-card h3 { margin: 0 0 8px; font-size: 18px; }
.work-card p { margin: 0; color: var(--text-muted); font-size: 13px; line-height: 1.7; }

/* A visual anchor for the About / philosophy section */







@media (max-width: 980px) {
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .hero-socials { margin-top: 22px; }
  .work-grid { grid-template-columns: 1fr; gap: 14px; }
  .work-card { padding: 16px; }
  .work-visual { min-height: 164px; margin-bottom: 15px; }
  
  
  
}
@media (max-width: 480px) {
  .hero-socials { gap: 7px; }
  .social-links-label { flex-basis: 100%; margin-bottom: 1px; }
  .social-link { min-height: 36px; padding: 7px 10px; font-size: 11px; }
  .footer-socials { margin-top: 15px; }
  .work-section .section-heading { margin-bottom: 28px; }
  .work-card { border-radius: 16px; }
  .work-visual { grid-template-columns: minmax(0, 1fr) 68px; min-height: 150px; gap: 7px; padding: 8px; }
  
  
  .work-card h3 { font-size: 17px; }
  
  
  
}
@media (max-width: 360px) {
  .social-link { gap: 6px; padding-inline: 8px; font-size: 10px; }
  .work-visual { grid-template-columns: minmax(0, 1fr) 60px; }
  
  
}

/* Social links in the About section */
.about-socials {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border-divider);
}
.about-socials .social-links-label {
  color: var(--text-muted);
}

/* Consultation artwork in the featured ecosystem card */



@media (max-width: 760px) {
  .about-socials {
    margin-top: 18px;
    padding-top: 15px;
  }
  
}


/* ============================================================================
   RWD + IMAGE RATIO SAFEGUARDS — final overrides
   ============================================================================ */
img {
  display: block;
  max-width: 100%;
  height: auto;
}

:root {
  --container: 1200px;
}

.container {
  width: min(1200px, calc(100% - var(--page-gutter) * 2));
  margin-inline: auto;
}

/* Desktop: balanced two-column hero, image is independent from text height. */
.hero-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 48px;
}
.hero-copy,
.hero-visual,
.philosophy-copy,
.principles-grid,
.ecosystem-card,
.work-card {
  min-width: 0;
}
.hero-visual {
  width: 100%;
  max-width: 440px;
  margin-inline: auto;
  justify-self: center;
}
.portrait-shell {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: auto;
  aspect-ratio: 4 / 5;
  max-height: 520px;
  margin-inline: auto;
  padding: 0;
}
.portrait {
  position: absolute;
  inset: 10px;
  display: block;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  max-width: 100%;
  max-height: 500px;
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  object-fit: cover;
  object-position: top center;
}

/* Compact portrait in About — same source asset, independent crop and no distortion. */
.about-portrait-card {
  display: flex;
  width: min(100%, 360px);
  align-items: center;
  gap: 16px;
  margin: 22px 0 0;
  padding: 12px;
  border: 1px solid var(--border-divider);
  border-radius: 16px;
  background: linear-gradient(125deg, #F8F8FA, #FFFFFF 76%);
  box-shadow: var(--shadow-card);
}
.about-portrait {
  display: block;
  width: 104px;
  height: auto;
  flex: 0 0 104px;
  aspect-ratio: 4 / 5;
  max-height: 500px;
  border: 1px solid rgba(228,228,233,.9);
  border-radius: 11px;
  object-fit: cover;
  object-position: top center;
  background: var(--bg-subtle);
}
.about-portrait-card figcaption {
  display: grid;
  gap: 5px;
  min-width: 0;
}
.about-portrait-card figcaption strong {
  color: var(--text-heading);
  font-size: 14px;
  font-weight: 750;
}
.about-portrait-card figcaption span {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.55;
}

/* Tablet: stack the hero, center the portrait, and use two-column card grids. */
@media (min-width: 768px) and (max-width: 1024px) {
  :root { --page-gutter: 28px; }
  .header-inner { min-height: 76px; gap: 14px; }
  .brand { width: 160px; }
  .menu-toggle { display: inline-flex; order: 3; }
  .header-cta { margin-left: auto; }
  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    margin: 0;
    padding: 12px var(--page-gutter) 20px;
    border-bottom: 1px solid var(--border-divider);
    background: rgba(255,255,255,.98);
    box-shadow: 0 14px 28px rgba(17,24,39,.06);
  }
  .main-nav.is-open { display: block; }
  .nav-links { display: grid; gap: 0; }
  .nav-links a { display: block; padding: 13px 4px; }
  .hero { padding-block: 64px 80px; }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .hero-copy { max-width: 850px; }
  .hero-visual { max-width: 400px; }
  .portrait-shell { max-height: 500px; }
  .portrait { max-height: 480px; }
  .ecosystem-grid,
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .philosophy-layout { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .philosophy-copy { max-width: 760px; }
  .footer-main { grid-template-columns: 1.2fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Mobile: one-column reading flow, safe gutters, compact navigation and thumb-sized CTAs. */
@media (max-width: 767px) {
  :root { --page-gutter: 20px; }
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 70px; gap: 10px; }
  .brand { width: clamp(108px, 34vw, 148px); }
  .menu-toggle { display: inline-flex; order: 3; width: 42px; height: 42px; flex: 0 0 42px; }
  .header-cta { min-height: 42px; margin-left: auto; padding-inline: 12px; font-size: 11px; white-space: nowrap; }
  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    margin: 0;
    padding: 10px 20px 18px;
    border-bottom: 1px solid var(--border-divider);
    background: rgba(255,255,255,.98);
    box-shadow: 0 14px 28px rgba(17,24,39,.06);
  }
  .main-nav.is-open { display: block; }
  .nav-links { display: grid; gap: 0; }
  .nav-links a { display: block; padding: 13px 2px; font-size: 15px; }
  .hero { padding: 48px 0 66px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 32px; }
  .hero-copy { width: 100%; }
  .hero h1 { max-width: 100%; font-size: clamp(2.15rem, 9vw, 3.35rem); line-height: 1.04; overflow-wrap: anywhere; }
  h2 { font-size: clamp(1.85rem, 7.8vw, 2.55rem); line-height: 1.1; overflow-wrap: anywhere; }
  .hero-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 11px; margin-top: 26px; }
  .hero-actions .btn,
  .cta-panel .btn {
    width: 100%;
    min-height: 52px;
    justify-content: center;
  }
  .hero-visual { width: min(100%, 400px); max-width: 400px; justify-self: center; }
  .portrait-shell { max-height: 400px; }
  .portrait { max-height: 380px; object-position: top center; }
  .portrait-caption { right: 17px; bottom: 17px; left: 17px; }
  .ecosystem-grid,
  .work-grid,
  .philosophy-layout,
  .principles-grid,
  .footer-main { grid-template-columns: minmax(0, 1fr); }
  .ecosystem-card { min-height: 0; padding: 22px; }
  .philosophy-layout { gap: 28px; }
  .principle { min-height: 0; padding: 19px; }
  .principle-number { margin-bottom: 14px; }
  .about-portrait-card { width: min(100%, 360px); }
  .about-portrait { max-height: 380px; }
  .cta-panel { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 24px 20px; }
  .footer-main { gap: 26px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 12px; }
}

@media (max-width: 430px) {
  .brand { width: clamp(100px, 31vw, 126px); }
  .header-inner { gap: 8px; }
  .header-cta { min-height: 40px; padding-inline: 9px; font-size: 10px; gap: 7px; }
  .header-cta svg { width: 14px; height: 14px; }
  .menu-toggle { width: 40px; height: 40px; flex-basis: 40px; }
  .hero-kicker { max-width: 100%; flex-wrap: wrap; font-size: 10px; }
  .hero h1 { font-size: clamp(2rem, 9.2vw, 2.65rem); }
  .hero-signals { gap: 9px 12px; }
  .signal { font-size: 12px; }
  .work-visual { grid-template-columns: minmax(0, 1fr) 64px; }
  .about-portrait-card { gap: 12px; padding: 10px; }
  .about-portrait { width: 92px; flex-basis: 92px; }
  .social-links-label { flex-basis: 100%; }
}

@media (max-width: 360px) {
  .brand { width: 94px; }
  .header-cta .label-full { display: none; }
  .header-cta .label-short { display: inline; }
  .header-cta { padding-inline: 8px; }
  .hero h1 { font-size: 2rem; }
}


/* FINAL CONTENT VISUALS — clean single-image work cards, matched ecosystem logos and FAQ */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 22px;
}
.work-card { min-width: 0; display: flex; flex-direction: column; }
.work-visual {
  width: 100%;
  height: 200px;
  min-height: 0;
  margin: 0 0 20px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 16px;
  background: #FFFFFF;
}
.work-visual img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.work-card-copy { flex: 1; }

.ecosystem-card { min-height: 420px; }
.ecosystem-card .card-link { margin-top: auto; }
.ecosystem-card-visual {
  width: 100%;
  height: 170px;
  flex: 0 0 170px;
  margin: 0 0 18px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 16px;
  background: #FFFFFF;
}
.ecosystem-card-visual picture {
  display: block;
  width: 100%;
  height: 100%;
}
.ecosystem-card-visual img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.faq-section .section-heading { margin-bottom: 34px; }
.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 1040px;
  margin-inline: auto;
}
.faq-item {
  min-width: 0;
  padding: 20px 22px;
  border: 1px solid var(--border-divider);
  border-radius: 16px;
  background: #FFFFFF;
  box-shadow: var(--shadow-card);
}
.faq-item summary {
  position: relative;
  padding-right: 28px;
  color: var(--text-label);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  top: -3px;
  right: 0;
  color: var(--primary-start);
  font-size: 23px;
  font-weight: 500;
  line-height: 1;
}
.faq-item[open] summary::after { content: "−"; }
.faq-answer { padding-top: 12px; color: var(--text-muted); font-size: 14px; line-height: 1.7; }
.faq-answer p { margin: 0; }
.faq-answer a { color: var(--primary-start); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 768px) and (max-width: 1024px) {
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-visual { height: 180px; }
  .ecosystem-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ecosystem-card-visual { height: 160px; flex-basis: 160px; }
}
@media (max-width: 767px) {
  .work-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .work-visual { height: 160px; margin-bottom: 17px; padding: 14px; }
  .ecosystem-grid { grid-template-columns: minmax(0, 1fr); }
  .ecosystem-card { min-height: 0; }
  .ecosystem-card-visual { height: 150px; flex-basis: 150px; margin-bottom: 17px; padding: 14px 20px; }
  .faq-list { grid-template-columns: minmax(0, 1fr); gap: 11px; }
  .faq-item { padding: 18px; }
}


/* Legal footer controls: single, responsive row */
.footer-legal-tools { display:flex; flex-wrap:wrap; align-items:center; gap:9px 20px; }
.footer-legal-tools a, .footer-legal-tools button { padding:0; border:0; background:transparent; color:var(--text-muted); font:500 13px/1.5 var(--font-stack); text-decoration:none; cursor:pointer; }
.footer-legal-tools a:hover, .footer-legal-tools button:hover { color:var(--primary-start); }
.footer-legal-tools button:focus-visible { outline:3px solid var(--focus-ring); outline-offset:3px; border-radius:4px; }


/* ============================================================================
   FINAL PREMIUM REFINEMENTS — About layout, contrast, card rhythm and spacing
   ============================================================================ */
:root {
  --text-heading: #0F172A;
  --text-label: #334155;
  --text-muted: #475569;
  --bg-subtle: #F8FAFC;
  --bg-soft: #F8FAFC;
  --shadow-card: 0 12px 32px -12px rgba(15, 23, 42, .06);
}

.section { padding-block: 88px; }
.section--soft { background: #F8FAFC; }
body { color: #0F172A; }
.lead, .section-intro, .ecosystem-card p, .work-card p, .principle p { color: #475569; }

/* Desktop About: portrait card first, readable narrative and three proof points second. */
.philosophy-layout {
  width: min(1200px, calc(100% - var(--page-gutter) * 2));
  max-width: 1200px;
  grid-template-columns: .85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.about-portrait-card {
  display: block;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding: 11px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 24px;
  background: #FFFFFF;
  box-shadow: 0 16px 42px -18px rgba(15, 23, 42, .16), 0 2px 8px rgba(15, 23, 42, .035);
}
.about-portrait-frame {
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 520px;
  overflow: hidden;
  border-radius: 17px;
  background: #F8FAFC;
}
.about-portrait {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  max-height: 520px;
  border: 0;
  border-radius: 17px;
  object-fit: cover;
  object-position: top center;
  background: #F8FAFC;
}
.about-portrait-card figcaption {
  display: grid;
  gap: 4px;
  padding: 15px 10px 7px;
}
.about-portrait-card figcaption strong { color: #0F172A; font-size: 15px; }
.about-portrait-card figcaption span { color: #475569; font-size: 13px; line-height: 1.55; }
.philosophy-copy { max-width: 62ch; min-width: 0; }
.philosophy-copy h2 { max-width: none; margin-bottom: 22px; }
.philosophy-copy p {
  max-width: 62ch;
  margin: 0 0 1.25rem;
  color: #334155;
  font-size: 1.05rem;
  line-height: 1.7;
}
.philosophy-copy p.about-lead {
  margin-bottom: 1.25rem;
  color: #0F172A;
  font-size: clamp(1.15rem, 1.5vw, 1.2rem);
  font-weight: 500;
  line-height: 1.6;
}
.philosophy-note {
  margin: 22px 0 22px;
  border-color: rgba(202, 20, 62, .15);
  border-radius: 16px;
  background: #FFFFFF;
  color: #334155;
}
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
  margin-top: 20px;
}
.principle {
  min-width: 0;
  min-height: 0;
  padding: 16px 15px;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 16px;
  background: #FFFFFF;
  box-shadow: 0 12px 32px -12px rgba(15, 23, 42, .06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.principle:hover { transform: translateY(-3px); box-shadow: 0 18px 38px -14px rgba(15, 23, 42, .12); border-color: rgba(15, 23, 42, .13); }
.principle-number { margin-bottom: 11px; font-size: 10px; }
.principle h3 { margin-bottom: 7px; font-size: 14px; line-height: 1.35; }
.principle p { margin: 0; color: #475569; font-size: 12px; line-height: 1.6; }
.about-socials { margin-top: 22px; padding-top: 17px; border-top-color: rgba(15, 23, 42, .08); }

/* Cohesive premium cards across the ecosystem and six work areas. */
.ecosystem-card, .work-card {
  border-color: rgba(15, 23, 42, .08);
  box-shadow: 0 12px 32px -12px rgba(15, 23, 42, .06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.ecosystem-card:hover, .work-card:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 23, 42, .13);
  box-shadow: 0 18px 38px -14px rgba(15, 23, 42, .12);
}
.ecosystem-card--featured { border-color: rgba(202, 20, 62, .18); }

@media (max-width: 1024px) {
  .philosophy-layout { grid-template-columns: minmax(0, 1fr); gap: 34px; align-items: start; }
  .about-portrait-card { width: min(100%, 400px); }
  .philosophy-copy { max-width: 760px; margin-inline: auto; }
  .principles-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .section { padding-block: 56px; }
  .philosophy-layout { gap: 27px; }
  .about-portrait-card { width: min(100%, 360px); }
  .about-portrait { max-height: 450px; }
  .philosophy-copy { max-width: none; }
  .philosophy-copy h2 { margin-bottom: 17px; }
  .philosophy-copy p { font-size: 1rem; line-height: 1.68; }
  .philosophy-copy p.about-lead { font-size: 1.08rem; }
  .principles-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 17px; }
  .principle { padding: 15px 16px; }
  .principle-number { margin-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .ecosystem-card, .work-card, .principle { transition: none !important; }
}


/* FINAL MOBILE RWD + DISTINCT ABOUT PORTRAIT — 2026-11-04 */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* About portrait: retain the 4:5 crop and independent card proportions. */
.about-portrait-card {
  width: 100%;
  max-width: 440px;
  margin-inline: auto;
  border-radius: 24px;
}
.about-portrait-frame {
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 520px;
  overflow: hidden;
}
.about-portrait {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  max-height: 520px;
  object-fit: cover;
  object-position: top center;
}

@media (max-width: 767px) {
  :root { --page-gutter: 18px; }
  .container {
    width: calc(100% - 36px);
    max-width: 100%;
  }
  .philosophy-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    align-items: start;
  }
  .about-portrait-card {
    width: 100%;
    max-width: 380px;
    margin-inline: auto;
  }
  .about-portrait-frame {
    width: 100%;
    aspect-ratio: 4 / 5;
    max-height: 380px;
  }
  .about-portrait {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 5;
    max-height: 380px;
    object-fit: cover;
    object-position: top center;
  }
  .philosophy-copy h2 {
    font-size: clamp(1.65rem, 6vw, 2.4rem);
    line-height: 1.18;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    text-wrap: balance;
  }
  .principles-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .principle { padding: 16px 18px; }
  .about-socials {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
  }
  .about-socials .social-links-label { flex-basis: 100%; }
  .about-socials .social-link {
    min-height: 42px;
    padding: 8px 16px;
    box-sizing: border-box;
  }
  .ecosystem-grid,
  .work-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .ecosystem-card-visual {
    height: 156px;
    flex-basis: 156px;
  }
  .ecosystem-card-visual img { object-fit: contain; }
  .work-visual { height: 160px; }
  .work-visual img { object-fit: contain; }
  .hero-actions .btn,
  .cta-panel .btn,
  .bottom-cta .btn,
  .section-cta .btn {
    width: 100%;
    min-height: 50px;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 419px) {
  :root { --page-gutter: 18px; }
  .container { width: calc(100% - 36px); }
  .header-inner {
    min-width: 0;
    gap: 7px;
  }
  .brand { flex: 0 1 auto; min-width: 0; }
  .header-cta { flex: 0 0 auto; white-space: nowrap; }
  .menu-toggle { flex: 0 0 40px; }
  .about-portrait-card { max-width: 380px; }
  .about-portrait-frame,
  .about-portrait { max-height: 380px; }
  .about-socials .social-link { min-height: 42px; padding: 8px 14px; }
}


/* PERSONAL BRAND STORIES — mountain discipline & marathon finish */
.about-stories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 22px;
  margin-top: clamp(30px, 4vw, 52px);
}
.about-story-card {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  padding: 16px;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 20px;
  background: #FFFFFF;
  box-shadow: 0 12px 32px -12px rgba(15, 23, 42, .08), 0 2px 8px rgba(15, 23, 42, .025);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.about-story-card:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 23, 42, .13);
  box-shadow: 0 18px 38px -14px rgba(15, 23, 42, .12);
}
.about-story-media {
  width: 100%;
  max-height: 440px;
  aspect-ratio: 4 / 5;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, .06);
  border-radius: 15px;
  background: #F8FAFC;
}
.about-story-media picture {
  display: block;
  width: 100%;
  height: 100%;
}
.about-story-media img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
}
.about-story-card--mountain .about-story-media img { object-position: center center; }
.about-story-copy { min-width: 0; padding: 8px 5px; }
.about-story-eyebrow {
  display: inline-flex;
  margin: 0 0 12px;
  color: #CA143E;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.45;
  text-transform: uppercase;
}
.about-story-copy h3 {
  margin: 0 0 13px;
  color: #0F172A;
  font-size: clamp(1.18rem, 1.6vw, 1.48rem);
  font-weight: 760;
  letter-spacing: -.035em;
  line-height: 1.2;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.about-story-copy p {
  margin: 0 0 16px;
  color: #475569;
  font-size: 14px;
  line-height: 1.68;
}
.about-story-link,
.about-story-caption a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #CA143E;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  text-underline-offset: 4px;
}
.about-story-link:hover,
.about-story-caption a:hover { text-decoration: underline; }
.about-story-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 10px;
  padding: 10px 11px 2px;
  color: #475569;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.45;
}
.about-story-caption a { font-size: 11px; white-space: nowrap; }
.about-story-card--marathon .about-story-media { grid-column: 2; grid-row: 1; }
.about-story-card--marathon .about-story-copy { grid-column: 1; grid-row: 1; }
.about-social-row {
  display: flex;
  align-items: center;
  margin-top: 26px;
}
.about-social-row .about-socials { margin: 0; }

@media (min-width: 1025px) {
  .about-story-card--marathon { grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .about-stories { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .about-story-card { width: min(100%, 820px); margin-inline: auto; grid-template-columns: minmax(0, .72fr) minmax(0, 1fr); gap: 24px; }
  .about-story-media { max-height: 400px; }
  .about-story-card--marathon { grid-template-columns: minmax(0, 1fr) minmax(0, .72fr); }
}
@media (max-width: 767px) {
  .about-stories { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 26px; }
  .about-story-card,
  .about-story-card--marathon {
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
    padding: 14px;
  }
  .about-story-card--marathon .about-story-media,
  .about-story-card--marathon .about-story-copy { grid-column: 1; grid-row: auto; }
  .about-story-media {
    width: min(100%, 288px);
    max-width: 100%;
    max-height: 360px;
    margin-inline: auto;
  }
  .about-story-copy { padding: 3px 4px 5px; }
  .about-story-copy h3 { font-size: clamp(1.3rem, 6vw, 1.75rem); line-height: 1.2; text-wrap: balance; }
  .about-story-copy p { font-size: 14px; line-height: 1.65; }
  .about-story-caption { padding-inline: 8px; }
  .about-social-row { margin-top: 22px; }
}
@media (max-width: 419px) {
  .about-story-card,
  .about-story-card--marathon { padding: 12px; border-radius: 18px; }
  .about-story-media { width: min(100%, 280px); max-height: 350px; }
  .about-story-eyebrow { font-size: 9px; letter-spacing: .1em; }
  .about-story-copy h3 { font-size: clamp(1.22rem, 6vw, 1.5rem); }
  .about-story-copy p { font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .about-story-card { transition: none !important; }
  .about-story-card:hover { transform: none; }
}


/* Story image frame refinement: photo crop and caption have separate layout space. */
.about-story-media {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  aspect-ratio: auto;
  max-height: none;
}
.about-story-media picture {
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 440px;
  overflow: hidden;
}
.about-story-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
}
.about-story-card--mountain .about-story-media img { object-position: center center; }
.about-story-caption { flex: 0 0 auto; }
@media (min-width: 768px) and (max-width: 1024px) {
  .about-story-media picture { max-height: 400px; }
}
@media (max-width: 767px) {
  .about-story-media { width: min(100%, 288px); max-height: none; margin-inline: auto; }
  .about-story-media picture { max-height: 360px; }
}
@media (max-width: 419px) {
  .about-story-media { width: min(100%, 280px); }
  .about-story-media picture { max-height: 350px; }
}
.about-story-media picture {
  height: auto;
}

/* ============================================================================
   DESKTOP GRID REPAIR + CLEAN RESPONSIVE RHYTHM — 2026-11-04
   Critical: the story cards are siblings of .philosophy-layout, not grid items
   inside the two-column portrait/copy layout.
   ============================================================================ */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.container {
  width: min(1200px, calc(100% - var(--page-gutter) * 2));
  max-width: 1200px;
  margin-inline: auto;
}

.section {
  padding-block: clamp(64px, 5.2vw, 80px);
}

@media (min-width: 1025px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 48px;
    align-items: center;
  }

  .philosophy-layout {
    display: grid;
    width: min(1200px, calc(100% - var(--page-gutter) * 2));
    max-width: 1200px;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 56px;
    align-items: center;
  }

  .about-stories {
    display: grid;
    width: min(1200px, calc(100% - var(--page-gutter) * 2));
    max-width: 1200px;
    margin: 34px auto 0;
    grid-template-columns: repeat(2, minmax(300px, 1fr));
    align-items: stretch;
    gap: 24px;
  }

  .about-story-card,
  .about-story-card--marathon {
    display: grid;
    width: 100%;
    min-width: 0;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 20px;
    align-items: center;
  }

  .about-story-card--marathon .about-story-media { grid-column: 2; grid-row: 1; }
  .about-story-card--marathon .about-story-copy { grid-column: 1; grid-row: 1; }

  .about-story-copy,
  .about-story-media { min-width: 0; }
  .about-story-copy h3,
  .about-story-copy p { max-width: 100%; overflow-wrap: normal; word-break: normal; hyphens: none; }

  .about-social-row {
    width: min(1200px, calc(100% - var(--page-gutter) * 2));
    max-width: 1200px;
    margin: 24px auto 0;
  }
}

.about-portrait-card { width: 100%; max-width: 440px; }
.about-portrait-frame {
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 520px;
  overflow: hidden;
}
.about-portrait-frame picture {
  display: block;
  width: 100%;
  height: 100%;
}
.about-portrait {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 520px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
}

/* Keep every story card readable and prevent narrow implicit grid tracks. */
.about-stories,
.about-story-card,
.about-story-copy,
.about-story-media,
.about-social-row { min-width: 0; }
.about-story-card { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.about-story-copy h3,
.about-story-copy p {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.about-story-copy h3 { font-size: clamp(1.25rem, 1.55vw, 1.55rem); line-height: 1.22; }
.about-story-copy p { font-size: 14.5px; line-height: 1.7; }

.work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ecosystem-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (min-width: 768px) and (max-width: 1024px) {
  :root { --page-gutter: 24px; }
  .section { padding-block: 60px; }
  .container { width: calc(100% - 48px); max-width: 1200px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr); gap: 32px; }
  .work-grid,
  .ecosystem-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-stories {
    width: calc(100% - 48px);
    max-width: 900px;
    margin: 30px auto 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .about-story-card,
  .about-story-card--marathon {
    width: 100%;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 24px;
  }
  .about-social-row { width: calc(100% - 48px); max-width: 900px; margin: 22px auto 0; }
}

@media (max-width: 767px) {
  :root { --page-gutter: 18px; }
  .section { padding-block: 48px; }
  .container { width: calc(100% - 36px); max-width: 100%; }
  .hero-grid,
  .philosophy-layout,
  .about-stories,
  .about-story-card,
  .about-story-card--marathon,
  .work-grid,
  .ecosystem-grid,
  .principles-grid,
  .faq-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .philosophy-layout { gap: 24px; }
  .about-stories { width: calc(100% - 36px); margin: 24px auto 0; gap: 16px; }
  .about-story-card,
  .about-story-card--marathon {
    width: 100%;
    min-width: 0;
    gap: 15px;
    padding: 14px;
  }
  .about-story-card--marathon .about-story-media,
  .about-story-card--marathon .about-story-copy { grid-column: 1; grid-row: auto; }
  .about-story-media { width: min(100%, 340px); max-width: 100%; max-height: 360px; margin-inline: auto; }
  .about-story-media picture { width: 100%; aspect-ratio: 4 / 5; max-height: 360px; }
  .about-story-copy { padding: 2px 3px 4px; }
  .about-story-copy h3 { font-size: clamp(1.3rem, 6vw, 1.7rem); line-height: 1.2; text-wrap: balance; }
  .about-story-copy p { font-size: 14px; line-height: 1.65; }
  .about-social-row { width: calc(100% - 36px); margin: 20px auto 0; }
  .about-socials { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
  .about-socials .social-link { min-height: 42px; padding: 8px 14px; }
  .about-portrait-card { width: min(100%, 380px); margin-inline: auto; }
  .about-portrait-frame { max-height: 380px; }
  .about-portrait { max-height: 380px; }
  .hero-actions .btn,
  .cta-panel .btn,
  .bottom-cta .btn,
  .section-cta .btn { width: 100%; min-height: 50px; justify-content: center; text-align: center; }
  .work-visual { height: 160px; }
  .ecosystem-card-visual { height: 150px; flex-basis: 150px; }
}

@media (max-width: 419px) {
  :root { --page-gutter: 18px; }
  .container { width: calc(100% - 36px); }
  .about-stories,
  .about-social-row { width: calc(100% - 36px); }
  .about-story-card,
  .about-story-card--marathon { padding: 12px; border-radius: 18px; }
  .about-story-media { width: min(100%, 320px); max-height: 340px; }
  .about-story-media picture { max-height: 340px; }
  .about-story-copy h3 { font-size: clamp(1.22rem, 6vw, 1.5rem); }
  .about-story-copy p { font-size: 13.5px; }
}


/* ============================================================================
   BLASZKO.EU — IMAGE RATIO + SOCIAL ICON + STORY CARD REPAIR
   Final overrides: stable intrinsic image sizing on every breakpoint.
   ============================================================================ */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

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

.hero-grid > *,
.philosophy-layout > *,
.ecosystem-grid > *,
.work-grid > *,
.about-stories > *,
.about-story-card > *,
.about-social-row > * {
  min-width: 0;
}

.container {
  width: min(1200px, calc(100% - var(--page-gutter) * 2));
  max-width: 1200px;
  margin-inline: auto;
}

.section { padding-block: 72px; }
.hero { padding-block: 72px; }

/* 3D illustrations and brand logos: the frame owns the dimensions,
   each image keeps its native aspect ratio and is contained without distortion. */
.work-grid,
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
}

.work-card,
.ecosystem-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
}

.work-visual,
.ecosystem-card-visual {
  width: 100%;
  height: 190px;
  min-height: 190px;
  flex: 0 0 190px;
  box-sizing: border-box;
  margin: 0 0 20px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, .06);
  border-radius: 16px;
}

.work-visual picture,
.ecosystem-card-visual picture {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  flex: 1 1 auto;
}

.work-visual img,
.ecosystem-card-visual img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 145px !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: 0 auto !important;
  display: block !important;
  flex: 0 1 auto;
}

.work-card-copy { min-width: 0; flex: 1 1 auto; }
.ecosystem-card .card-link { margin-top: auto; }
.ecosystem-card-visual { margin-bottom: 18px; }

/* Equal, readable social pips in Hero and About; the footer keeps compact icon-only squares. */
.social-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.social-link {
  min-width: 0;
  min-height: 40px;
  height: 40px;
  padding: 8px 16px;
  gap: 8px;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 999px;
  background: #FFFFFF;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.social-link svg,
.social-link .social-platform-icon {
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px;
  max-width: 18px !important;
  max-height: 18px !important;
  flex: 0 0 18px;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 4px;
}
.social-link--icon-only {
  width: 40px;
  min-width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  border-radius: 12px;
}
.social-link--icon-only svg,
.social-link--icon-only .social-platform-icon {
  width: 18px !important;
  height: 18px !important;
}

/* Mountain and marathon stories are two full-width vertical cards, never side-by-side mini-columns. */
.about-stories {
  display: grid !important;
  width: min(1200px, calc(100% - var(--page-gutter) * 2)) !important;
  max-width: 1200px;
  margin: 34px auto 0 !important;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: stretch;
  gap: 28px;
}

.about-story-card,
.about-story-card--marathon {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch;
  width: 100%;
  min-width: 0;
  height: 100%;
  gap: 18px;
  padding: 20px;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 20px;
  background: #FFFFFF;
  box-shadow: 0 12px 32px -12px rgba(15, 23, 42, .08), 0 2px 8px rgba(15, 23, 42, .025);
}

.about-story-card--marathon .about-story-media,
.about-story-card--marathon .about-story-copy {
  grid-column: auto !important;
  grid-row: auto !important;
}

.about-story-media,
.about-story-media--marathon {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, .06);
  border-radius: 16px;
  background: #FFFFFF;
}

.about-story-media picture {
  display: block;
  width: 100%;
  height: 280px;
  max-height: none !important;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.about-story-media img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
  object-position: center 20% !important;
  border-radius: 0;
}

.about-story-card--mountain .about-story-media img { object-position: center 20% !important; }
.about-story-copy {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  padding: 0 3px 3px;
}
.about-story-copy h3,
.about-story-copy p {
  max-width: 100%;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.about-story-copy h3 {
  margin: 0 0 12px;
  font-size: clamp(1.28rem, 1.65vw, 1.6rem);
  line-height: 1.22;
  text-wrap: balance;
}
.about-story-copy p { font-size: 14.5px; line-height: 1.7; }
.about-story-link { margin-top: auto; align-self: flex-start; }
.about-story-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  min-height: 42px;
  padding: 9px 12px 10px;
  color: #475569;
  font-size: 12px;
  line-height: 1.45;
}
.about-story-caption a { font-size: 12px; white-space: nowrap; }

.about-social-row {
  display: flex;
  width: min(1200px, calc(100% - var(--page-gutter) * 2));
  max-width: 1200px;
  grid-column: 1 / -1;
  align-items: center;
  margin: 22px auto 0;
}
.about-social-row .about-socials { width: 100%; margin: 0; padding-top: 18px; }

/* Portrait proportions are owned by the frame, not by stretched grid tracks. */
.hero-visual { width: 100%; max-width: 450px; min-width: 0; justify-self: center; }
.portrait-shell {
  width: 100%;
  max-width: 450px;
  min-width: 0;
  height: auto;
  aspect-ratio: 4 / 5;
  max-height: 520px;
  padding: 0;
  overflow: hidden;
}
.portrait {
  position: absolute;
  inset: 10px;
  width: calc(100% - 20px) !important;
  height: calc(100% - 20px) !important;
  max-width: calc(100% - 20px) !important;
  max-height: 500px !important;
  aspect-ratio: 4 / 5 !important;
  object-fit: cover !important;
  object-position: top center !important;
  border-radius: 20px;
}

.about-portrait-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: 450px;
  min-width: 0;
  gap: 13px;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 24px;
  background: #FFFFFF;
  box-shadow: 0 12px 32px -12px rgba(15, 23, 42, .08), 0 2px 8px rgba(15, 23, 42, .025);
}
.about-portrait-frame {
  width: 100%;
  max-height: 520px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 20px;
}
.about-portrait-frame picture { display: block; width: 100%; height: 100%; }
.about-portrait {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 520px !important;
  aspect-ratio: 4 / 5 !important;
  object-fit: cover !important;
  object-position: top center !important;
  border-radius: 20px;
}
.about-portrait-card figcaption { display: grid; gap: 4px; padding: 0 5px 3px; }

@media (min-width: 768px) and (max-width: 1024px) {
  :root { --page-gutter: 24px; }
  .section { padding-block: 60px; }
  .container { width: calc(100% - 48px); max-width: 1200px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(240px, .8fr); gap: 28px; }
  .work-grid,
  .ecosystem-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-visual,
  .ecosystem-card-visual { height: 180px; min-height: 180px; flex-basis: 180px; }
  .about-stories { width: calc(100% - 48px) !important; max-width: 900px; grid-template-columns: minmax(0, 1fr) !important; gap: 20px; }
  .about-story-media picture { height: 260px; }
  .about-social-row { width: calc(100% - 48px); max-width: 900px; }
  .about-portrait-card { max-width: 400px; }
}

@media (max-width: 992px) {
  .about-stories { grid-template-columns: minmax(0, 1fr) !important; }
}

@media (max-width: 767px) {
  :root { --page-gutter: 20px; }
  html, body { overflow-x: hidden; }
  .section { padding-block: 40px; }
  .hero { padding-block: 44px; }
  .container { width: calc(100% - 40px); max-width: 100%; }
  .hero-grid,
  .philosophy-layout,
  .work-grid,
  .ecosystem-grid,
  .principles-grid,
  .faq-list,
  .about-stories { grid-template-columns: minmax(0, 1fr) !important; }
  .hero-grid { gap: 28px; }
  .hero-visual { width: 100%; max-width: 400px; min-width: 0; margin-inline: auto; }
  .portrait-shell { width: 100%; max-height: 380px; }
  .philosophy-layout { gap: 24px; }
  .about-portrait-card { width: min(100%, 400px); max-width: 400px; margin-inline: auto; }
  .about-portrait-frame { max-height: 380px; }
  .about-portrait { max-height: 380px !important; }
  .work-visual,
  .ecosystem-card-visual { height: 155px; min-height: 155px; flex-basis: 155px; margin-bottom: 16px; padding: 15px 18px; }
  .work-visual img,
  .ecosystem-card-visual img { max-height: 125px !important; }
  .about-stories { width: calc(100% - 40px) !important; margin: 26px auto 0 !important; gap: 18px; }
  .about-story-card,
  .about-story-card--marathon { width: 100%; gap: 14px; padding: 14px; }
  .about-story-media picture { height: 230px; }
  .about-story-copy { padding: 2px 3px 4px; }
  .about-story-copy h3 { font-size: clamp(1.25rem, 5.8vw, 1.65rem); line-height: 1.2; }
  .about-story-copy p { font-size: 14px; line-height: 1.65; }
  .about-social-row { width: calc(100% - 40px); margin: 20px auto 0; }
  .about-socials { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
  .about-socials .social-links-label { flex-basis: 100%; }
  .social-link { min-height: 40px; height: 40px; padding: 8px 14px; }
  .social-link--icon-only { min-width: 40px; width: 40px; }
  .hero-actions .btn,
  .cta-panel .btn,
  .bottom-cta .btn,
  .section-cta .btn { width: 100%; min-height: 50px; justify-content: center; text-align: center; }
}

@media (max-width: 419px) {
  :root { --page-gutter: 20px; }
  .container { width: calc(100% - 40px); }
  .about-stories,
  .about-social-row { width: calc(100% - 40px) !important; }
  .about-story-card,
  .about-story-card--marathon { padding: 12px; border-radius: 18px; }
  .about-story-media picture { height: 220px; }
  .about-story-copy h3 { font-size: clamp(1.2rem, 5.9vw, 1.48rem); }
  .about-story-copy p { font-size: 13.5px; }
  .social-links { gap: 8px; }
  .social-link { padding-inline: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .social-link,
  .about-story-card,
  .work-card,
  .ecosystem-card { transition: none !important; }
}


/* ==========================================================================
   FINAL RWD + MEDIA NORMALIZATION — NOV 2026
   These overrides intentionally come last to neutralize legacy conflicting rules.
   ========================================================================== */
html, body {
  max-width: 100%;
  overflow-x: clip;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
.hero-grid > *,
.philosophy-layout > *,
.work-grid > *,
.ecosystem-grid > *,
.about-stories > *,
.about-story-card > *,
.principles-grid > *,
.faq-list > * {
  min-width: 0;
}

/* Stable desktop grid and balanced section rhythm. */
@media (min-width: 1025px) {
  .container { width: min(1200px, calc(100% - 80px)); }
  .section { padding-block: 72px; }
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); gap: 48px; align-items: center; }
  .ecosystem-grid,
  .work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .about-stories {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px;
    width: min(1200px, calc(100% - 80px)) !important;
    margin-inline: auto !important;
  }
  .about-story-card,
  .about-story-card--marathon {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    min-width: 0;
    height: 100%;
  }
  .about-story-media,
  .about-story-media--marathon { width: 100% !important; max-width: none !important; }
  .about-story-media picture {
    display: block !important;
    width: 100% !important;
    height: 340px !important;
    max-height: none !important;
    aspect-ratio: 16 / 10 !important;
    overflow: hidden;
  }
}

/* Illustration/logo frames own the dimensions; images retain natural proportions. */
.work-visual,
.ecosystem-card-visual {
  width: 100% !important;
  height: 190px !important;
  min-height: 190px !important;
  flex: 0 0 190px !important;
  padding: 18px 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  background: #FFFFFF !important;
  border: 1px solid rgba(15, 23, 42, .06) !important;
  border-radius: 16px !important;
}
.work-visual picture,
.ecosystem-card-visual picture {
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  flex: 1 1 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.work-visual img,
.ecosystem-card-visual img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 145px !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: 0 auto !important;
  display: block !important;
  flex: 0 1 auto !important;
}

/* Story modules are vertical, full-width cards with predictable image crops. */
.about-stories {
  display: grid !important;
  grid-column: 1 / -1 !important;
  width: min(1200px, calc(100% - 2 * var(--page-gutter))) !important;
  max-width: 1200px !important;
  margin: 34px auto 0 !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  gap: 28px !important;
}
.about-story-card,
.about-story-card--marathon {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 100% !important;
  gap: 18px !important;
  padding: 20px !important;
  border: 1px solid rgba(15, 23, 42, .08) !important;
  border-radius: 20px !important;
  background: #FFFFFF !important;
  box-shadow: 0 12px 32px -12px rgba(15, 23, 42, .08), 0 2px 8px rgba(15, 23, 42, .025) !important;
}
.about-story-card--marathon .about-story-media,
.about-story-card--marathon .about-story-copy {
  grid-column: auto !important;
  grid-row: auto !important;
}
.about-story-media,
.about-story-media--marathon {
  display: flex !important;
  flex: 0 0 auto !important;
  flex-direction: column !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(15, 23, 42, .06) !important;
  border-radius: 16px !important;
  background: #F8FAFC !important;
}
.about-story-media picture {
  display: block !important;
  width: 100% !important;
  height: 340px !important;
  max-height: none !important;
  aspect-ratio: 16 / 10 !important;
  overflow: hidden !important;
  flex: 0 0 auto !important;
}
.about-story-media img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
  border-radius: 0 !important;
}
/* The mountain source is portrait: bias the crop upward so the whole hairline and raised finger remain visible. */
.about-story-card--mountain .about-story-media img {
  object-position: center 12% !important;
}
/* Keep the runner's head and bib number 1081 inside the visible crop. */
.about-story-card--marathon .about-story-media img {
  object-position: center 7% !important;
}
.about-story-copy {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  min-width: 0 !important;
  padding: 0 3px 3px !important;
}
.about-story-copy h3,
.about-story-copy p {
  max-width: 100% !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
  hyphens: auto;
}
.about-story-copy h3 {
  margin: 0 0 12px !important;
  font-size: clamp(1.28rem, 1.65vw, 1.6rem) !important;
  line-height: 1.22 !important;
  text-wrap: balance;
}
.about-story-copy p { font-size: 14.5px !important; line-height: 1.7 !important; }
.about-story-link { margin-top: auto !important; align-self: flex-start; }

/* Uniform social icon sizing and brand mark alignment. */
.social-link svg,
.social-link .social-platform-icon {
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  min-height: 18px !important;
  max-height: 18px !important;
  flex: 0 0 18px !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 4px !important;
}

@media (min-width: 768px) and (max-width: 1024px) {
  :root { --page-gutter: 24px; }
  .container { width: calc(100% - 48px) !important; max-width: 1200px; }
  .section { padding-block: 60px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(260px, .85fr) !important; gap: 32px !important; }
  .work-grid,
  .ecosystem-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .about-stories { width: calc(100% - 48px) !important; grid-template-columns: minmax(0, 1fr) !important; gap: 22px !important; }
  .about-story-media picture { height: 300px !important; }
  .work-visual,
  .ecosystem-card-visual { height: 180px !important; min-height: 180px !important; flex-basis: 180px !important; }
}

@media (max-width: 767px) {
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  :root { --page-gutter: 18px; }
  .section { padding-block: 40px !important; }
  .container {
    width: calc(100% - 36px) !important;
    max-width: 100% !important;
    margin-inline: auto !important;
  }
  .hero-grid,
  .philosophy-layout,
  .work-grid,
  .ecosystem-grid,
  .principles-grid,
  .faq-list,
  .about-stories {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  .hero-grid { gap: 26px !important; }
  .philosophy-layout { gap: 24px !important; }
  h1 { font-size: clamp(2.05rem, 8.6vw, 3.1rem) !important; line-height: 1.06 !important; overflow-wrap: break-word; }
  h2 { font-size: clamp(1.75rem, 7.1vw, 2.45rem) !important; line-height: 1.12 !important; overflow-wrap: break-word; }
  h3 { font-size: clamp(1.18rem, 5.3vw, 1.5rem); line-height: 1.24; overflow-wrap: break-word; }
  .hero-visual,
  .about-portrait-card { width: 100% !important; max-width: 400px !important; min-width: 0 !important; margin-inline: auto !important; }
  .portrait-shell,
  .about-portrait-frame { width: 100% !important; max-height: 380px !important; }
  .work-card,
  .ecosystem-card,
  .about-story-card,
  .about-story-card--marathon,
  .principle { width: 100% !important; min-width: 0 !important; }
  .work-grid,
  .ecosystem-grid { gap: 18px !important; }
  .work-visual,
  .ecosystem-card-visual {
    width: 100% !important;
    height: 155px !important;
    min-height: 155px !important;
    flex-basis: 155px !important;
    padding: 15px 18px !important;
    margin-bottom: 15px !important;
  }
  .work-visual img,
  .ecosystem-card-visual img { max-height: 125px !important; }
  .about-stories {
    width: calc(100% - 36px) !important;
    max-width: 720px !important;
    margin: 24px auto 0 !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
  .about-story-card,
  .about-story-card--marathon {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 14px !important;
    padding: 14px !important;
  }
  .about-story-media picture { width: 100% !important; height: 260px !important; aspect-ratio: 16 / 10 !important; }
  .about-story-card--mountain .about-story-media img { object-position: center 12% !important; }
  .about-story-card--marathon .about-story-media img { object-position: center 5% !important; }
  .about-story-copy { padding: 2px 3px 4px !important; }
  .about-story-copy h3 { font-size: clamp(1.25rem, 5.8vw, 1.65rem) !important; line-height: 1.2 !important; }
  .about-story-copy p { font-size: 14px !important; line-height: 1.65 !important; }
  .about-story-link,
  .card-link,
  .hero-actions .btn,
  .cta-panel .btn,
  .bottom-cta .btn,
  .section-cta .btn {
    display: flex !important;
    width: 100% !important;
    min-height: 48px !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
  }
  .about-social-row {
    width: calc(100% - 36px) !important;
    max-width: 720px !important;
    margin: 18px auto 0 !important;
  }
  .about-socials,
  .hero-socials {
    display: flex !important;
    width: 100% !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 9px !important;
  }
  .about-socials .social-links-label,
  .hero-socials .social-links-label { width: 100% !important; flex-basis: auto !important; }
  .about-socials .social-link,
  .hero-socials .social-link {
    display: flex !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 48px !important;
    height: 48px !important;
    padding: 10px 16px !important;
    justify-content: flex-start !important;
  }
  .footer-socials { display: flex; flex-direction: row !important; flex-wrap: wrap; gap: 9px; }
  .footer-socials .social-link--icon-only { width: 44px !important; min-width: 44px !important; height: 44px !important; min-height: 44px !important; }
  .header-cta .btn { width: auto !important; min-height: 42px !important; padding-inline: 12px !important; }
  .nav-links a { min-height: 44px; display: flex; align-items: center; }
}

@media (max-width: 419px) {
  :root { --page-gutter: 18px; }
  .container { width: calc(100% - 36px) !important; }
  .about-stories,
  .about-social-row { width: calc(100% - 36px) !important; }
  .about-story-card,
  .about-story-card--marathon { padding: 12px !important; border-radius: 18px !important; }
  .about-story-media picture { height: 260px !important; }
  .about-story-copy h3 { font-size: clamp(1.2rem, 5.7vw, 1.48rem) !important; }
  .about-story-copy p { font-size: 13.5px !important; }
}

/* ======================================================================
   NOTX PODIUM VISUAL + FINAL PHOTO CROP TUNING — NOV 2026
   ====================================================================== */
.ecosystem-card-visual--notx-podium {
  width: 100% !important;
  height: 190px !important;
  min-height: 190px !important;
  flex: 0 0 190px !important;
  padding: 16px 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  background: #FFFFFF !important;
  border: 1px solid rgba(15, 23, 42, 0.06) !important;
  border-radius: 16px !important;
}
.ecosystem-card-visual--notx-podium picture {
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.ecosystem-card-visual--notx-podium img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 155px !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: 0 auto !important;
  display: block !important;
  flex: 0 1 auto !important;
}

/* Photo subject placement: keep the mountain face/raised finger and runner bib visible. */
.about-story-card--mountain .about-story-media img {
  object-position: center 15% !important;
}
.about-story-card--marathon .about-story-media img {
  object-position: center 20% !important;
}

@media (min-width: 1025px) {
  .about-stories {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px !important;
    width: min(1200px, calc(100% - 80px)) !important;
  }
  .about-story-media picture {
    height: 340px !important;
    aspect-ratio: 16 / 10 !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .about-stories {
    grid-template-columns: minmax(0, 1fr) !important;
    width: calc(100% - 48px) !important;
  }
  .about-story-media picture {
    height: 300px !important;
  }
}

@media (max-width: 767px) {
  .ecosystem-card-visual--notx-podium {
    height: 190px !important;
    min-height: 190px !important;
    flex-basis: 190px !important;
    padding: 16px 18px !important;
  }
  .ecosystem-card-visual--notx-podium img {
    max-height: 155px !important;
  }
  .about-stories {
    grid-template-columns: 1fr !important;
    width: calc(100% - 36px) !important;
    max-width: 720px !important;
    margin-inline: auto !important;
    gap: 18px !important;
  }
  .about-story-media picture {
    width: 100% !important;
    height: 260px !important;
    aspect-ratio: 16 / 10 !important;
  }
  .about-story-card--mountain .about-story-media img {
    object-position: center 15% !important;
  }
  .about-story-card--marathon .about-story-media img {
    object-position: center 20% !important;
  }
}

/* ======================================================================
   FINAL LAYOUT + MEDIA AUDIT OVERRIDES
   Desktop >1024px | Tablet 768–1024px | Mobile <768px
   ====================================================================== */

/* Prevent flex/grid children and images from forcing columns wider than their track. */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

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

.container,
.hero-grid,
.philosophy-layout,
.ecosystem-grid,
.work-grid,
.about-stories,
.faq-list,
.cta-panel,
.footer-main {
  min-width: 0;
}

.hero-grid > *,
.philosophy-layout > *,
.ecosystem-grid > *,
.work-grid > *,
.about-stories > *,
.faq-list > *,
.footer-main > * {
  min-width: 0;
  max-width: 100%;
}

/* 01–06: a fixed-size frame with natural-ratio artwork inside. */
.work-visual {
  display: flex !important;
  width: 100% !important;
  height: 180px !important;
  min-height: 180px !important;
  flex: 0 0 180px !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 0 18px !important;
  padding: 16px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  border: 1px solid rgba(15, 23, 42, 0.06) !important;
  border-radius: 14px !important;
  background: #FFFFFF !important;
}

.work-visual > img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 140px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: auto !important;
  flex: 0 1 auto !important;
}

/* 01/03 and 03/03 keep their artwork/logo proportional too. */
.ecosystem-card-visual:not(.ecosystem-card-visual--notx-podium) {
  display: flex !important;
  width: 100% !important;
  height: 190px !important;
  min-height: 190px !important;
  flex: 0 0 190px !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 18px 24px !important;
  margin: 0 0 18px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  border: 1px solid rgba(15, 23, 42, 0.06) !important;
  border-radius: 16px !important;
  background: #FFFFFF !important;
}

.ecosystem-card-visual:not(.ecosystem-card-visual--notx-podium) > img,
.ecosystem-card-visual:not(.ecosystem-card-visual--notx-podium) picture img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 145px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: auto !important;
  flex: 0 1 auto !important;
}

/* 02/03 NOTX: edge-to-edge dark banner, no white padding or frame. */
.ecosystem-card-visual--notx-podium {
  display: flex !important;
  width: 100% !important;
  height: 210px !important;
  min-height: 210px !important;
  flex: 0 0 210px !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 0 16px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  border-radius: 16px !important;
  background: #000000 !important;
}

.ecosystem-card-visual--notx-podium > img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  min-width: 0 !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
  object-position: center !important;
  margin: 0 !important;
  flex: 1 1 auto !important;
}

/* Full-width, balanced story cards. */
.about-stories {
  display: grid !important;
  grid-column: 1 / -1 !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  gap: 28px !important;
  width: min(1200px, calc(100% - 80px)) !important;
  max-width: 1200px !important;
  margin: 34px auto 0 !important;
}

.about-story-card,
.about-story-card--marathon {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 100% !important;
}

.about-story-media,
.about-story-media--marathon {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}

.about-story-media picture {
  display: block !important;
  width: 100% !important;
  height: 340px !important;
  max-height: none !important;
  aspect-ratio: 16 / 10 !important;
  overflow: hidden !important;
}

.about-story-media img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
  border-radius: 0 !important;
}

.about-story-card--mountain .about-story-media img {
  object-position: center 15% !important;
}

.about-story-card--marathon .about-story-media img {
  object-position: center 20% !important;
}

.about-social-row {
  width: min(1200px, calc(100% - 80px)) !important;
  max-width: 1200px !important;
  margin: 22px auto 0 !important;
}

/* Desktop: consistent three-column card grids and centered 1200px canvas. */
@media (min-width: 1025px) {
  .container {
    width: min(1200px, calc(100% - 80px)) !important;
    max-width: 1200px !important;
    margin-inline: auto !important;
  }

  .section { padding-block: 72px !important; }

  .hero-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr) !important;
    align-items: center !important;
    gap: 48px !important;
  }

  .ecosystem-grid,
  .work-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    gap: 24px !important;
    width: 100% !important;
  }

  .faq-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  .philosophy-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr) !important;
    align-items: center !important;
    gap: 56px !important;
  }
}

/* Tablet: readable two-column grids; story cards remain full-width and vertical. */
@media (min-width: 768px) and (max-width: 1024px) {
  :root { --page-gutter: 28px; }

  .container {
    width: calc(100% - 56px) !important;
    max-width: 1200px !important;
    margin-inline: auto !important;
  }

  .section { padding-block: 60px !important; }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.85fr) !important;
    align-items: center !important;
    gap: 32px !important;
  }

  .ecosystem-grid,
  .work-grid,
  .faq-list,
  .principles-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
    width: 100% !important;
  }

  .philosophy-layout {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr) !important;
    align-items: center !important;
    gap: 32px !important;
  }

  .about-stories {
    grid-template-columns: minmax(0, 1fr) !important;
    width: calc(100% - 56px) !important;
    gap: 22px !important;
  }

  .about-story-media picture { height: 300px !important; }

  .work-visual {
    height: 170px !important;
    min-height: 170px !important;
    flex-basis: 170px !important;
  }

  .work-visual > img { max-height: 132px !important; }

  .ecosystem-card-visual:not(.ecosystem-card-visual--notx-podium) {
    height: 170px !important;
    min-height: 170px !important;
    flex-basis: 170px !important;
  }

  .ecosystem-card-visual:not(.ecosystem-card-visual--notx-podium) > img,
  .ecosystem-card-visual:not(.ecosystem-card-visual--notx-podium) picture img {
    max-height: 132px !important;
  }

  .ecosystem-card-visual--notx-podium {
    height: 210px !important;
    min-height: 210px !important;
    flex-basis: 210px !important;
    padding: 0 !important;
    background: #000000 !important;
  }

  .ecosystem-card-visual--notx-podium > img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
}

/* Mobile: one-column layout, no horizontal scrolling, comfortable tap targets. */
@media (max-width: 767px) {
  html,
  body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  :root { --page-gutter: 18px; }

  .container {
    width: calc(100% - 36px) !important;
    max-width: 100% !important;
    margin-inline: auto !important;
  }

  .section { padding-block: 40px !important; }

  .hero-grid,
  .philosophy-layout,
  .ecosystem-grid,
  .work-grid,
  .principles-grid,
  .faq-list,
  .about-stories {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    min-width: 0 !important;
    gap: 18px !important;
  }

  .hero-grid { gap: 28px !important; }
  .philosophy-layout { gap: 24px !important; }

  h1 {
    font-size: clamp(2rem, 8.2vw, 3rem) !important;
    line-height: 1.08 !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }

  h2 {
    font-size: clamp(1.7rem, 7vw, 2.35rem) !important;
    line-height: 1.14 !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }

  h3 {
    font-size: clamp(1.16rem, 5.1vw, 1.45rem) !important;
    line-height: 1.24 !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }

  .hero-visual,
  .about-portrait-card {
    width: 100% !important;
    max-width: 400px !important;
    min-width: 0 !important;
    margin-inline: auto !important;
  }

  .work-card,
  .ecosystem-card,
  .about-story-card,
  .about-story-card--marathon,
  .principle,
  .faq-item {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .ecosystem-grid,
  .work-grid { gap: 18px !important; }

  .work-visual {
    height: 160px !important;
    min-height: 160px !important;
    flex-basis: 160px !important;
    padding: 14px !important;
    margin-bottom: 15px !important;
  }

  .work-visual > img {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 125px !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
  }

  .ecosystem-card-visual:not(.ecosystem-card-visual--notx-podium) {
    height: 160px !important;
    min-height: 160px !important;
    flex-basis: 160px !important;
    padding: 14px 18px !important;
    margin-bottom: 15px !important;
  }

  .ecosystem-card-visual:not(.ecosystem-card-visual--notx-podium) > img,
  .ecosystem-card-visual:not(.ecosystem-card-visual--notx-podium) picture img {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 125px !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
  }

  .ecosystem-card-visual--notx-podium {
    width: 100% !important;
    height: 210px !important;
    min-height: 210px !important;
    flex-basis: 210px !important;
    padding: 0 !important;
    margin-bottom: 16px !important;
    background: #000000 !important;
  }

  .ecosystem-card-visual--notx-podium > img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  .about-stories {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 24px auto 0 !important;
    gap: 18px !important;
  }

  .about-story-card,
  .about-story-card--marathon {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 14px !important;
    padding: 14px !important;
  }

  .about-story-media picture {
    width: 100% !important;
    height: 260px !important;
    aspect-ratio: 16 / 10 !important;
  }

  .about-story-card--mountain .about-story-media img {
    object-position: center 15% !important;
  }

  .about-story-card--marathon .about-story-media img {
    object-position: center 20% !important;
  }

  .about-social-row {
    width: 100% !important;
    max-width: 100% !important;
    margin: 18px auto 0 !important;
  }

  .about-socials,
  .hero-socials {
    display: flex !important;
    width: 100% !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 9px !important;
  }

  .about-socials .social-link,
  .hero-socials .social-link {
    display: flex !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 48px !important;
    height: 48px !important;
    padding: 10px 16px !important;
    justify-content: flex-start !important;
  }

  .about-story-link,
  .card-link,
  .hero-actions .btn,
  .cta-panel .btn,
  .bottom-cta .btn,
  .section-cta .btn {
    display: flex !important;
    width: 100% !important;
    min-height: 48px !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
  }

  .hero-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  .header-inner { gap: 8px !important; }
  .header-cta .btn,
  .header-cta {
    width: auto !important;
    min-width: 0 !important;
    min-height: 42px !important;
  }

  .footer-main { grid-template-columns: minmax(0, 1fr) !important; }
  .footer-socials { flex-direction: row !important; flex-wrap: wrap !important; }
}

@media (max-width: 419px) {
  .container { width: calc(100% - 36px) !important; }
  .about-story-card,
  .about-story-card--marathon { padding: 12px !important; }
  .about-story-media picture { height: 250px !important; }
  .about-story-copy h3 { font-size: clamp(1.18rem, 5.8vw, 1.45rem) !important; }
}
