/* Responsive release, v10. Keep the Meda palette and the existing interactions. */
section[id], #ecosistema { scroll-margin-top: 104px; }
.text-link, .quiet-button, .answer-record, .relation-item { font-variant-emoji: text; }

/* The header is part of the photograph at the top, and a floating bar after scrolling. */
.header { top: 22px; width: min(1320px,calc(100% - 80px)); transition: width .3s var(--ease),top .3s var(--ease); }
.header .nav-shell { display: grid; grid-template-columns: 170px minmax(0,1fr) auto; gap: 24px; min-height: 72px; padding: 12px 18px; border: 1px solid transparent; border-radius: 14px; background: transparent; color: #f4f2eb; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; transition: background .25s,border-color .25s,box-shadow .25s,color .25s; }
.header .brand { position: relative; width: 160px; height: auto; aspect-ratio: 1457 / 320; overflow: visible; mix-blend-mode: normal; }
.header .brand img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: 100%; object-fit: contain; transform: none; mix-blend-mode: normal; filter: none; transition: opacity .2s; }
.header .brand-dark { opacity: 0; }
.header .brand-light { opacity: 1; }
.header .nav-desktop { display: flex; justify-self: center; justify-content: center; gap: clamp(15px,2vw,28px); margin: 0; font-size: 12px; }
.header .nav-desktop a { color: inherit; white-space: nowrap; }
.header .nav-desktop a:hover { color: #eea87f; }
.header .nav-actions { margin-left: auto; gap: 14px; }
.header .language-button { color: inherit; min-width: 44px; min-height: 44px; font-size: 11px; }
.header .language-button::after { color: currentColor; }
.header .language-menu { color: #171d20; }
.header .nav-contact { padding: 13px 18px !important; min-height: 44px !important; background: #f4f2eb; color: #171d20; border: 1px solid #f4f2eb; font-size: 12px !important; }
.nav-contact-icon { display: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.header .nav-contact::after { content: none; }
.header.scrolled { top: 14px; width: min(1180px,calc(100% - 48px)); }
.header.scrolled .nav-shell, .header.menu-open .nav-shell { background: #f4f2ebf5; color: #171d20; border-color: #ffffffb3; box-shadow: 0 8px 30px #11181c17; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.header.scrolled .brand-dark, .header.menu-open .brand-dark { opacity: 1; }
.header.scrolled .brand-light, .header.menu-open .brand-light { opacity: 0; }
.header.scrolled .nav-contact, .header.menu-open .nav-contact { color: #f4f2eb; background: #171d20; border-color: #171d20; }
.header .menu-button { min-width: 44px; min-height: 44px; padding: 11px; }
.header .menu-button span { background: currentColor; transition: transform .2s; }
.header .menu-button { color: inherit; }
.header.menu-open .menu-button span:first-child { transform: translateY(3.5px) rotate(45deg); }
.header.menu-open .menu-button span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.header .mobile-menu { position: absolute; top: calc(100% + 9px); left: 0; right: 0; margin: 0; padding: 12px 22px; max-height: calc(100svh - 110px); overflow-y: auto; background: #f4f2eb; color: #171d20; border: 1px solid #dedbd2; border-radius: 14px; box-shadow: 0 20px 50px #11181c26; }
.mobile-menu a { min-height: 48px; display: flex; align-items: center; border-bottom: 1px solid #171d2012; font-size: 15px; }
.mobile-menu a:last-child { border-bottom: 0; color: #a34c2a; }
.mobile-menu[hidden] { display: none; }

/* Keep the ecosystem heading and moving logos; no separate pause button. */
.support-band { padding-block: 28px 30px; }
.support-heading { justify-content: center; padding: 0; margin-bottom: 24px; }
.support-heading > p { font-size: 11px; line-height: 1.6; color: #737d82; }
.support-marquee:focus-visible { outline: 2px solid #cf6535; outline-offset: 7px; border-radius: 5px; }
.support-marquee:focus-within .support-track { animation-play-state: paused; }

/* Both graph columns fill the same row, including when the detail gets taller. */
@media (min-width: 1024px) {
  .graph-workspace { align-items: stretch; grid-template-rows: minmax(570px,auto); }
  .graph-canvas { height: auto; min-height: 570px; align-self: stretch; }
}

/* Equal cells and indicator lengths across both sets of case tabs. */
.case-tabs { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; justify-content: normal; }
.case-tabs button { width: 100%; min-width: 0; min-height: 58px; padding: 18px 12px; text-align: center; white-space: nowrap; }
.case-tabs button::after { left: 12px; right: 12px; }

@media (max-width: 1023px) {
  .header, .header.scrolled { width: calc(100% - 40px); top: 14px; }
  .header .nav-shell { display: flex; gap: 16px; min-height: 66px; padding: 10px 14px; }
  .header .nav-desktop { display: none; }
  .header .menu-button { display: block; }
  .header .brand { width: 150px; }
  .hero { max-height: none; }
  .platform-cards { gap: 20px; }
  .graph-workspace { display: block; }
  .mission-feature { grid-template-columns: 1.1fr 1fr; }
  .mission-copy { padding: 48px 32px; }
  .sovereignty-heading { gap: 36px; }
  .architecture-card { padding: 24px 18px; }
}

@media (min-width: 761px) and (max-width: 1023px) {
  .hero-content h1 { font-size: 68px; max-width: 720px; }
  .platform-cards { grid-template-columns: 1fr; gap: 32px; }
  .platform-card { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 32px; align-items: center; }
  .platform-card-copy { padding-top: 0; }
  .platform-card-copy h3 { font-size: 26px; }
  .platform-card-copy p { font-size: 15px; line-height: 1.8; }
  .platform-art { height: 340px; }
  .edge-system-grid { left: 10px; right: 10px; gap: 7px; top: 74px; }
  .edge-system-grid > span { min-width: 44px; height: 32px; padding: 7px; }
  .edge-system-grid img { max-width: 45px; max-height: 15px; }
  .edge-wires { top: 150px; height: 75px; }
  .edge-agent { top: 213px; min-width: 158px; padding: 10px; gap: 9px; }
  .edge-agent strong { font-size: 14px; }
  .edge-agent small { font-size: 9px; }
  .compute-registers { left: 8%; right: 8%; top: 86px; gap: 8px; }
  .compute-registers > div { padding: 10px 8px; }
  .compute-registers b { font-size: 11px; }
  .compute-wires { top: 177px; height: 40px; }
  .model-entity { top: 220px; width: 150px; min-width: 0; }
  .art-status, .compute-art .art-status { bottom: 22px; font-size: 9px; padding: 9px 11px; }
  .context-mini { top: 86px; left: 7%; right: 7%; }
  .mini-query { font-size: 9px; padding: 12px 9px; }
  .mini-answer { padding: 14px 10px 0; }
  .mini-answer > strong { font-size: 12px; }
  .mini-dependency { gap: 3px; font-size: 7px; }
  .mini-proof { font-size: 8px; }
  .architecture-open .architecture-flow { grid-template-columns: 1fr; gap: 14px; }
  .architecture-open .architecture-connector { transform: rotate(90deg); height: 20px; }
  .architecture-card { display: grid; grid-template-columns: 1fr 1fr; column-gap: 30px; }
  .architecture-card-top, .architecture-card h3, .architecture-lead { grid-column: 1; }
  .architecture-open .architecture-lead { min-height: 0; }
  .architecture-visual { grid-column: 2; grid-row: 1 / 4; align-self: center; margin: 0; }
  .architecture-card ul { grid-column: 1 / -1; grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 22px; }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .section { padding-block: 64px; }
  .header, .header.scrolled { top: max(10px,env(safe-area-inset-top)); width: calc(100% - 24px); }
  .header .nav-shell { min-height: 64px; padding: 10px 8px 10px 12px; gap: 12px; border-radius: 12px; }
  .header .brand { width: 136px; }
  .header .nav-actions { gap: 4px; }
  .header .nav-contact { width: 40px; height: 40px; min-height: 40px !important; padding: 10px !important; border-radius: 5px; }
  .header .nav-contact > span { display: none; }
  .header .nav-contact-icon { display: block; flex-shrink: 0; }
  .header .language-button { padding: 0 3px; min-width: 42px; font-size: 11px; }
  .header .menu-button { width: 42px; min-width: 42px; padding: 11px; }
  .hero { height: auto; min-height: max(740px,100svh); max-height: none; }
  .hero-content { min-height: max(740px,100svh); height: auto; padding-top: 165px; padding-bottom: 128px; justify-content: center; }
  .hero-photo { background-position: 70% 60%; }
  .hero-shade { background: linear-gradient(180deg,#11181c80 0%,#11181c3d 24%,#11181ca3 55%,#11181ce0 100%),linear-gradient(90deg,#11181c50,transparent 85%); }
  .hero-content > .eyebrow { font-size: 9px; line-height: 1.7; letter-spacing: 1.1px; }
  .hero-content h1 { font-size: clamp(39px,10.7vw,58px); letter-spacing: -.055em; line-height: 1.08; min-block-size: 0; margin: 25px 0 23px; max-width: 560px; }
  .hero-content > p { font-size: 15px; line-height: 1.75; min-block-size: 0; max-width: 480px; color: #f0ece5; }
  .hero-buttons { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 30px; max-width: 350px; }
  .hero-buttons .button { width: 100%; min-height: 50px; justify-content: center; font-size: 13px; padding: 14px 16px; }
  .hero-bottom { bottom: 27px; align-items: flex-end; gap: 24px; justify-content: space-between; }
  .hero-bottom > span { font-size: 8px; line-height: 1.7; max-width: 160px; }
  .hero-bottom a { font-size: 10px; gap: 12px; max-width: 140px; white-space: normal; }
  .support-band { padding-block: 28px; }
  .support-marquee { mask-image: linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent); -webkit-mask-image: linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent); }
  .support-track { display: flex; animation: meda-support-drift 35s linear infinite; width: max-content; transform: translateX(0); will-change: transform; }
  .support-brand-group { display: grid; flex: 0 0 var(--support-group-width); width: var(--support-group-width); grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; }
  .support-duplicate { display: grid; }
  .support-brand { padding-inline: 12px; min-height: 72px; }
  .support-brand img { width: 128px; max-width: 100%; height: 36px; object-fit: contain; }
  .support-brand.utec img { width: 132px; }
  .support-brand.aws img { width: 59px; }
  .support-brand.nvidia img { width: 124px; }
  .support-brand.anthropic img { width: 135px; }
  .support-brand figcaption { font-size: 9px; line-height: 1.5; margin-top: 12px; white-space: normal; text-align: center; }
  .support-band.is-static .support-track { animation: none; transform: none; width: 100%; will-change: auto; }
  .support-band.is-static .support-brand-group { width: 100%; flex-basis: 100%; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 25px 16px; }
  .support-band.is-static .support-duplicate { display: none; }
  .support-band.is-static .support-marquee { mask-image: none; -webkit-mask-image: none; }
  .enterprise-intro { margin-top: 36px; padding: 32px 25px; }
  .enterprise-intro h2 { font-size: clamp(30px,8vw,42px); letter-spacing: -.04em; line-height: 1.15; }
  .enterprise-intro > p { font-size: 15px; line-height: 1.8; margin-top: 24px; }
  .enterprise-intro > .eyebrow { font-size: 10px; }
  .platform-intro h2, .section-heading h2, .operation-heading h2, .sovereignty-heading h2 { font-size: clamp(32px,8.5vw,43px); letter-spacing: -.045em; line-height: 1.12; }
  .platform-intro > .text-link { font-size: 13px; }
  .platform-cards { grid-template-columns: 1fr; gap: 34px; }
  .platform-art { height: 350px; border-radius: 15px; }
  .art-label { left: 22px; top: 23px; font-size: 10px; }
  .edge-system-grid { top: 72px; left: 7%; right: 7%; gap: 9px; }
  .edge-system-grid > span { height: 34px; min-width: 55px; padding: 8px 11px; }
  .edge-system-grid img { max-width: 55px; max-height: 18px; }
  .edge-wires { top: 150px; height: 67px; width: 84%; }
  .edge-agent { top: 207px; min-width: 205px; padding: 11px 16px; gap: 12px; }
  .edge-agent strong { font-size: 17px; }
  .edge-agent small { font-size: 11px; }
  .art-status, .compute-art .art-status { bottom: 18px; min-width: 62%; padding: 10px 13px; font-size: 10px; }
  .compute-registers { top: 76px; left: 8%; right: 8%; gap: 13px; }
  .compute-registers > div { padding: 14px 12px; }
  .compute-registers span { font-size: 9px; }
  .compute-registers b { font-size: 14px; }
  .compute-wires { top: 181px; height: 35px; width: 82%; }
  .model-entity { top: 216px; width: 180px; min-width: 0; padding: 11px 12px; }
  .model-entity strong { font-size: 14px; }
  .model-entity small { font-size: 10px; }
  .context-mini { top: 75px; left: 8%; right: 8%; }
  .mini-query { font-size: 12px; padding: 13px; }
  .mini-answer { padding: 16px 13px 0; }
  .mini-answer > small { font-size: 8px; }
  .mini-answer > strong { font-size: 15px; }
  .mini-dependency { font-size: 10px; gap: 7px; }
  .mini-proof { font-size: 10px; }
  .platform-card-copy { grid-template-columns: 25px 1fr; gap: 12px; padding-top: 19px; }
  .platform-card-copy h3 { font-size: 23px; line-height: 1.25; }
  .platform-card-copy p { font-size: 15px; line-height: 1.75; }
  .platform-example { font-size: 10px; line-height: 1.7; }
  .operation-heading > p, .section-heading > p, .sovereignty-heading > p { font-size: 15px; line-height: 1.8; max-width: 100%; }
  .operation-console { border-radius: 14px; }
  .console-top { padding-inline: 16px; gap: 12px; }
  .console-brand { font-size: 10px; }
  .console-brand > span { font-size: 10px; }
  .console-example { font-size: 7px; max-width: 75px; }
  .console-tabs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
  .console-tabs > button { min-height: 52px; padding: 13px 7px; font-size: 11px; gap: 5px; justify-content: center; }
  .console-tabs > button > span:first-child { display: none; }
  .operation-map { height: 320px; min-height: 320px; }
  .plant-drawing { top: 32px; height: 260px; width: 100%; transform: none; }
  .map-topline { left: 15px; right: 15px; font-size: 7px; line-height: 1.6; letter-spacing: .3px; }
  .plant-node { min-width: 76px; min-height: 48px; padding: 8px 9px; }
  .plant-node strong { font-size: 11px; }
  .plant-node small { font-size: 8px; }
  .plant-node[data-op-node=pump] { left: 12%; top: 47%; }
  .plant-node[data-op-node=cooling] { left: 39%; top: 67%; }
  .plant-node[data-op-node=line] { left: 65%; top: 30%; }
  .map-bottomline { left: 15px; right: 15px; font-size: 7px; gap: 12px; }
  .operation-detail { padding: 26px 22px; }
  .operation-detail h3 { font-size: 26px; line-height: 1.2; }
  .operation-detail > p { font-size: 14px; line-height: 1.8; }
  .detail-eyebrow { font-size: 9px; }
  .op-path strong { font-size: 14px; }
  .op-path small { font-size: 11px; }
  .op-review-box > p { font-size: 13px; }
  .op-action, .op-evidence { min-height: 46px; font-size: 13px; }
  .console-bottom { padding: 15px 16px; font-size: 8px; line-height: 1.6; }
  .console-bottom .quiet-button { min-height: 40px; font-size: 10px; }
  .mission-feature { display: flex; flex-direction: column; }
  .mission-photo { width: 100%; height: auto; min-height: 0; aspect-ratio: 4 / 3; background-position: 57% center; }
  .mission-copy { padding: 40px 24px 44px; }
  .mission-copy h2 { font-size: clamp(33px,8.5vw,43px); letter-spacing: -.045em; }
  .mission-copy > .eyebrow { font-size: 9px; }
  .mission-copy > p { font-size: 15px; line-height: 1.8; }
  .mission-copy > .text-link { font-size: 13px; }
  .graph-section { padding-bottom: 45px; }
  .graph-toolbar { flex-wrap: wrap; height: auto; padding: 18px 17px; gap: 16px; }
  .graph-toolbar .app-identity { font-size: 13px; }
  .graph-model-select { width: 100%; justify-content: space-between; font-size: 12px; }
  .graph-model-select select { font-size: 14px; min-height: 44px; min-width: 175px; }
  .graph-workspace { display: block; }
  .graph-canvas { height: 490px; }
  .graph-canvas.extended-model { height: 640px; }
  .graph-canvas-heading { top: 18px; left: 15px; right: 15px; gap: 15px; }
  .graph-canvas-heading .eyebrow { max-width: none; font-size: 8px; }
  .graph-canvas-heading > span:last-child { font-size: 8px; }
  .graph-node { display: block; min-width: 0; width: 42%; max-width: 155px; min-height: 64px; padding: 10px 6px; text-align: center; }
  .graph-node-icon { display: none; }
  .graph-node strong { font-size: 12px; line-height: 1.3; }
  .graph-node small { font-size: 9px; margin-top: 5px; line-height: 1.4; }
  .graph-label { display: none; }
  .graph-controls { left: 15px; right: 15px; bottom: 14px; gap: 12px; }
  .graph-legend, .graph-controls .quiet-button { font-size: 9px; }
  .graph-controls .quiet-button { min-height: 36px; }
  .graph-detail { padding: 26px 22px; }
  .graph-detail > p { font-size: 14px; line-height: 1.8; }
  .graph-detail h3 { font-size: 30px; }
  .relation-item { min-height: 48px; font-size: 12px; gap: 14px; }
  .relation-item strong { font-size: 13px; }
  .evidence-link { padding: 16px; }
  .evidence-link strong { font-size: 13px; }
  .evidence-link small { font-size: 11px; }
  .detail-note { font-size: 11px; line-height: 1.7; }
  .graph-bottom { flex-wrap: wrap; padding: 17px; font-size: 9px; gap: 10px; line-height: 1.7; }
  .architecture-section-label { flex-wrap: wrap; font-size: 9px; }
  .architecture-section-label > span:last-child { text-align: left; }
  .architecture-card { padding: 26px 23px; }
  .architecture-open .architecture-lead { font-size: 14px; line-height: 1.8; }
  .architecture-card li { font-size: 13px; line-height: 1.75; }
  .architecture-card-top, .architecture-visual > span { font-size: 9px; }
  .architecture-consumers p, .architecture-decisions-grid p { font-size: 13px; }
  .architecture-open .architecture-note { font-size: 11px; }
  .cases { padding-top: 45px; }
  .case-browsebar label { flex-wrap: wrap; gap: 10px; }
  .case-browsebar select { min-height: 44px; font-size: 13px; min-width: 0; max-width: 100%; }
  .case-tabs { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; overflow: visible; }
  .case-tabs button { font-size: 12px; min-height: 54px; padding: 16px 2px; }
  .case-tabs button::after { left: 4px; right: 4px; }
  .case-panel { gap: 32px; }
  .case-copy h3 { font-size: 32px; line-height: 1.15; letter-spacing: -.04em; }
  .case-copy p { font-size: 15px; line-height: 1.8; }
  .case-copy .small-label { font-size: 10px; }
  .answer-demo .app-toolbar { padding: 18px; gap: 12px; }
  .answer-demo .app-identity { font-size: 12px; }
  .answer-inner { padding: 23px 20px; }
  .question-bubble { font-size: 13px; line-height: 1.6; }
  .answer-inner h4 { font-size: 24px; }
  .answer-inner > p { font-size: 14px; line-height: 1.8; }
  .answer-record { padding-block: 15px; grid-template-columns: minmax(0,1fr) minmax(0,1.15fr) 14px; gap: 8px; font-size: 12px; }
  .record-state { font-size: 10px; line-height: 1.6; white-space: normal; }
  .answer-evidence-note { font-size: 11px; line-height: 1.7; }
  .partner-steps p, .partner-contributions p { font-size: 14px; line-height: 1.8; }
  .partner-contributions { gap: 24px; }
  .partner-contributions .button { min-height: 48px; font-size: 13px; }
  .faq-list summary { font-size: 17px; gap: 20px; line-height: 1.5; }
  .faq-list details > p { font-size: 14px; line-height: 1.8; }
  .contact-layout { gap: 30px; }
  .contact-copy h2 { font-size: 42px; line-height: 1.1; }
  .contact-copy > p { font-size: 15px; line-height: 1.8; }
  .contact-email { font-size: 18px; }
  .contact-card { padding: 25px 21px; }
  .contact-card label { font-size: 13px; margin-top: 20px; }
  .contact-card input, .contact-card textarea { font-size: 16px; min-height: 48px; }
  .contact-card .button[type=submit] { min-height: 49px; font-size: 14px; }
  .form-heading { font-size: 16px; }
  .form-note { font-size: 11px; line-height: 1.7; }
  .brief-actions { flex-wrap: wrap; gap: 10px; }
  .newsletter-card { padding: 32px 24px; }
  .newsletter-copy h2 { font-size: 29px; line-height: 1.15; }
  .newsletter-copy > p { font-size: 14px; line-height: 1.7; }
  .newsletter-form { display: grid; grid-template-columns: 1fr; gap: 10px; background: transparent; }
  .newsletter-form input { min-width: 0; width: 100%; font-size: 16px; min-height: 49px; border-radius: 5px; }
  .newsletter-form button { min-height: 47px; font-size: 14px; border-radius: 5px; }
  .newsletter-note { font-size: 11px; line-height: 1.7; }
  .newsletter-statement { font-size: 32px; }
  .footer { padding-top: 40px; }
  .footer p { font-size: 13px; line-height: 1.8; }
  .footer-links { font-size: 14px; }
  .footer-bottom { font-size: 10px; gap: 16px; line-height: 1.7; }
  .footer-powered img { width: 22px; height: 22px; }
  dialog { width: calc(100% - 28px); max-width: 560px; max-height: calc(100svh - 40px); padding: 24px 20px; overflow-y: auto; }
  .evidence-field { grid-template-columns: 1fr; gap: 8px; font-size: 13px; }
  .evidence-field dd { overflow-wrap: anywhere; }
}

@media (max-width: 359px) {
  .wrap { width: calc(100% - 32px); }
  .header .brand { width: 115px; }
  .header .nav-shell { padding-inline: 9px; gap: 6px; }
  .header .nav-actions { gap: 1px; }
  .header .language-button { min-width: 38px; }
  .hero-content { padding-top: 140px; }
  .hero-content h1 { font-size: 36px; }
  .hero-content > p { font-size: 14px; }
  .enterprise-intro { padding-inline: 22px; }
  .platform-art { height: 350px; }
  .edge-system-grid { left: 4%; right: 4%; gap: 6px; }
  .edge-system-grid > span { min-width: 52px; padding-inline: 8px; }
  .edge-system-grid img { max-width: 48px; }
  .mini-dependency { font-size: 9px; gap: 4px; }
  .console-brand { gap: 6px; font-size: 9px; }
  .console-brand > span { font-size: 9px; }
  .console-example { font-size: 6px; max-width: 60px; }
  .plant-node[data-op-node=line] { left: 62%; }
  .graph-canvas-heading > span:last-child { font-size: 7px; }
  .graph-canvas-heading .eyebrow { font-size: 7px; }
  .graph-node strong { font-size: 11px; }
  .graph-node small { font-size: 8px; }
  .case-copy h3 { font-size: 29px; }
  .case-tabs button { font-size: 11px; padding-inline: 1px; }
  .answer-record { grid-template-columns: minmax(0,1fr) 14px; font-size: 12px; gap: 7px; }
  .answer-record > span:first-child { grid-column: 1; white-space: normal; }
  .answer-record .record-state { grid-column: 1; justify-self: start; }
  .answer-record > span:last-child { grid-column: 2; grid-row: 1 / 3; }
  .architecture-card { padding-inline: 20px; }
  .newsletter-card { padding-inline: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  .header, .header .nav-shell, .header .brand img { transition: none; }
}

/* Contact (TPI-1076): booking-first layout. Copy on the left, Calendly on the right.
   The scheduler stays under 650px so Calendly renders edge to edge instead of drawing its own inner card. */
.contact-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 620px); grid-template-areas: "copy scheduler"; column-gap: clamp(48px, 7vw, 112px); row-gap: 44px; align-items: start; }
.contact-copy { grid-area: copy; }
.contact-copy h2 { min-block-size: 0; }
.contact-copy > p { max-width: 440px; }
.contact-copy > .contact-meeting { display: flex; max-width: none; gap: 10px; margin-top: 26px; font: 10px/1.5 var(--mono); letter-spacing: 1.2px; text-transform: uppercase; color: #794023; }
.contact-scheduler { grid-area: scheduler; min-width: 0; }
.calendly-embed { background: #fff; border: 1px solid #cf653533; border-radius: 16px; overflow: hidden; box-shadow: 0 34px 80px -46px #71321d73; }
.calendly-embed iframe { display: block; width: 100%; height: 620px; min-height: 600px; border: 0; }
.calendly-fallback { margin-top: 14px; font-size: 11px; line-height: 1.6; color: #79513e; }
.calendly-fallback a { color: #794023; border-bottom: 1px solid #a34c2a70; }
@media (max-width: 960px) {
  .contact-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "scheduler"; row-gap: 36px; }
  .contact-scheduler { max-width: 620px; }
}
