/* ArqOne Labs — site styles (redesign, Dec 2026)
   One light, editorial system. Tokens first; components below. */

:root {
  --paper: #F3F1EC;
  --white: #FFFFFF;
  --ink: #15171C;
  --body: #3F434B;
  --text-2: #2A2D33;
  --muted: #555A63;
  --line: #D9D5CC;
  --line-strong: #CFCAC0;
  --grid: #E3DFD6;
  --dash: #B9B3A7;
  --stone: #8C8578;
  --accent: #2440C8;
  --accent-ink: #1B32A3;
  --accent-soft: #E4E8FF;
  --on-dark: #F3F1EC;
  --on-dark-2: #C9CBD1;
  --on-dark-3: #A3A6AE;
  --on-dark-accent: #9DB0FF;
  --dark-line: #3A3D45;
  --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --wrap: 1280px;
  --gutter: 40px;
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.section--dark :focus-visible, .section--accent :focus-visible { outline-color: #FFFFFF; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 200; background: var(--ink); color: var(--on-dark); padding: 12px 16px; }
.skip-link:focus { top: 12px; color: var(--on-dark); }

/* ---------- Type ---------- */
.d { font-family: var(--font-display); font-stretch: 112%; }
.m, .eyebrow { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.eyebrow { color: var(--accent); margin: 0 0 20px; }
.h-hero { font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: clamp(42px, 5.4vw, 76px); line-height: 1.02; letter-spacing: -.025em; }
.h-page { font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: clamp(38px, 5vw, 72px); line-height: 1.03; letter-spacing: -.025em; }
.h2 { font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: clamp(32px, 4vw, 52px); line-height: 1.06; letter-spacing: -.02em; }
.h3 { font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: clamp(22px, 2vw, 28px); line-height: 1.16; letter-spacing: -.01em; }
.lead { font-size: 19px; line-height: 1.55; color: var(--body); max-width: 600px; }
.body { font-size: 16px; line-height: 1.6; color: var(--body); }
.body-lg { font-size: 18px; line-height: 1.65; color: var(--text-2); }
.muted { color: var(--muted); }
.accent { color: var(--accent); }

/* ---------- Layout ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: 104px; padding-bottom: 104px; }
.section--tight { padding-top: 80px; padding-bottom: 80px; }
.section--white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--dark a { color: var(--on-dark); }
.section--dark .eyebrow { color: var(--on-dark-accent); }
.section--dark .body, .section--dark .lead { color: var(--on-dark-2); }
.section--accent { background: var(--accent); color: #FFFFFF; }
.section--accent a { color: #FFFFFF; }
.border-b { border-bottom: 1px solid var(--line); }
.grid-bg { background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 48px 48px; }
.split { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.split > p { max-width: 440px; font-size: 17px; line-height: 1.55; color: var(--body); }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.cols--rule { gap: 0; border-top: 1.5px solid var(--ink); }
.rule-top { border-top: 1.5px solid var(--ink); padding-top: 22px; }
.stack-sm > * + * { margin-top: 12px; }
.mt-s { margin-top: 18px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 48px; } .mt-xl { margin-top: 56px; }

/* ---------- Buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 14px 22px; border-radius: var(--radius); font-family: var(--font-body); font-size: 15px; font-weight: 600; line-height: 1.2; border: 1.5px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn--lg { min-height: 54px; padding: 16px 26px; font-size: 16px; }
.btn--dark { background: var(--ink); color: var(--on-dark); }
.btn--dark:hover { background: #2A2D33; color: var(--on-dark); }
.btn--accent { background: var(--accent); color: #FFFFFF; }
.btn--accent:hover { background: var(--accent-ink); color: #FFFFFF; }
.btn--light { background: var(--on-dark); color: var(--ink) !important; }
.btn--light:hover { background: #FFFFFF; }
.btn--white { background: #FFFFFF; color: var(--ink) !important; }
.btn--white:hover { background: var(--accent-soft); }
.btn--outline-light { border-color: currentColor; color: #FFFFFF; background: transparent; }
.btn--outline-light:hover { background: rgba(255,255,255,.1); }
.link-under { font-weight: 600; border-bottom: 1.5px solid currentColor; padding-bottom: 3px; }
.link-accent { font-weight: 600; color: var(--accent); }
.link-accent:hover { color: var(--accent-ink); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(243,241,236,.94); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-stretch: 112%; font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.brand span { font-weight: 400; color: var(--muted); }
.brand:hover { color: var(--ink); }
.brand img { display: block; height: 44px; width: auto; }
.arch { display: inline-block; width: 22px; height: 20px; border: 2.5px solid var(--accent); border-bottom: 0; border-radius: 12px 12px 0 0; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nav a[aria-current="page"] { color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); padding-bottom: 4px; }
.header-tools { display: flex; align-items: center; gap: 18px; }
.lang { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; color: var(--muted); }
.lang a { color: var(--muted); padding: 6px 2px; }
.lang a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.menu-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line-strong); background: transparent; border-radius: var(--radius); cursor: pointer; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; content: ''; }
.menu-toggle span::before { position: absolute; top: -6px; } .menu-toggle span::after { position: absolute; top: 6px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; padding-top: 56px; padding-bottom: 32px; }
.site-footer h2 { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.site-footer li + li { margin-top: 8px; }
.site-footer a { font-size: 15px; }
.footer-base { max-width: var(--wrap); margin: 0 auto; padding: 20px var(--gutter) 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 14px; color: var(--muted); }
.footer-base a { color: var(--muted); }

/* ---------- Components ---------- */
.fig { margin: 0; background: var(--white); border: 1px solid var(--line-strong); padding: 28px 28px 22px; }
.fig-head { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); padding-bottom: 16px; border-bottom: 1px solid var(--grid); }
.fig-steps { margin-block: 24px 0; margin-inline: 6px 0; border-inline-start: 1.5px dashed var(--accent); padding-inline-start: 24px; display: flex; flex-direction: column; gap: 22px; }
.fig-steps li { position: relative; }
.fig-steps li::before { content: ''; position: absolute; inset-inline-start: -31px; top: 3px; width: 11px; height: 11px; background: var(--white); border: 1.5px solid var(--accent); }
.fig-steps .m { color: var(--accent); }
.fig-steps p { margin-top: 4px; font-size: 15px; line-height: 1.45; color: var(--text-2); }
.fig figcaption { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--grid); font-size: 13px; color: var(--muted); }

.sectors .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 40px; padding-top: 26px; padding-bottom: 26px; }
.sectors .d { font-size: 18px; font-weight: 600; }

.service-col { padding-block: 32px 8px; padding-inline: 0 32px; display: flex; flex-direction: column; gap: 14px; }
.dash-list li { display: flex; gap: 10px; font-size: 15px; }
.dash-list li + li { margin-top: 8px; }
.dash-list li::before { content: '—'; color: var(--accent); }
.dash-list--ruled li { padding-bottom: 12px; border-bottom: 1px solid var(--grid); line-height: 1.5; }
.dash-list--ruled li + li { margin-top: 12px; }

.card { border: 1px solid var(--line-strong); background: var(--paper); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.card-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-strong); display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; }

.chip { display: inline-block; font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; border: 1px solid var(--ink); border-radius: var(--radius); white-space: nowrap; }
.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(440px, 1fr)); border-top: 1.5px solid var(--ink); }
.product { padding-block: 36px; padding-inline: 0 36px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.product-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.product h3 { font-family: var(--font-display); font-stretch: 112%; font-size: 34px; font-weight: 700; letter-spacing: -.015em; }

.row { display: flex; flex-wrap: wrap; gap: 32px 56px; padding: 48px 0; border-bottom: 1px solid var(--line); }
.row-meta { flex: 0 1 240px; display: flex; flex-direction: column; gap: 10px; }
.row-main { flex: 1 1 520px; min-width: 0; }

.spec { border-top: 1.5px solid var(--ink); margin: 0; }
.spec > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec dt { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.spec dd { margin: 0; text-align: end; }

.steps-band { display: flex; flex-wrap: wrap; border: 1px solid var(--line-strong); background: var(--white); }
.steps-band > * { flex: 1 1 220px; padding: 22px 26px; border-inline-end: 1px solid var(--line-strong); }
.steps-band > *:last-child { border-inline-end: 0; }

.book-cover { flex: 0 0 180px; display: block; align-self: flex-start; box-shadow: 0 18px 40px rgba(0,0,0,.45); transition: transform .2s; }
.book-cover img { display: block; width: 180px; height: auto; }
.book-cover:hover { transform: translateY(-3px); }

.panel-dark { border: 1px solid var(--dark-line); padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.monogram img { width: 40px; height: 40px; }
.monogram { width: 72px; height: 72px; flex: 0 0 72px; background: var(--grid); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: 22px; color: var(--muted); }
.avatar { flex: 0 0 72px; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.person { display: flex; gap: 20px; align-items: flex-start; padding-top: 24px; border-top: 1.5px solid var(--ink); }

/* Athena voice controls (behaviour in index.html script) */
.athena-avatar { display: inline-flex; align-items: center; gap: 14px; text-align: start; background: none; border: 0; padding: 0; cursor: pointer; color: var(--on-dark); font: inherit; }
.athena-avatar img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--on-dark-accent); }
.athena-avatar.athena-call-active img { animation: athenaPulse 1.2s ease-in-out infinite; }
@keyframes athenaPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(157,176,255,.6); } 50% { box-shadow: 0 0 0 8px rgba(157,176,255,0); } }
.athena-call-controls { display: flex; flex-wrap: wrap; gap: 10px; }
.athena-call-controls[hidden], .athena-mute-note[hidden] { display: none; }
.athena-end-btn, .athena-mute-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; border-radius: var(--radius); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; background: transparent; color: var(--on-dark); border: 1.5px solid var(--on-dark-3); }
.athena-end-btn { border-color: #F0A0A0; color: #FFD2D2; }
.athena-mute-btn[aria-pressed="true"] { border-color: #F0A0A0; }
.athena-mute-btn .mic-slash { display: none; }
.athena-mute-btn[aria-pressed="true"] .mic-slash { display: block; }
.athena-mute-btn:disabled { opacity: .5; cursor: wait; }
.athena-mute-note { font-size: 14px; color: #FFD2D2; }
.athena-calendly-cta { display: none; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.athena-calendly-cta.visible { display: flex; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field .label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.input, .select, .textarea { width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid var(--dash); background: var(--white); border-radius: var(--radius); font: inherit; font-size: 16px; color: var(--ink); }
.textarea { min-height: 150px; line-height: 1.5; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.form-note { font-size: 14px; color: var(--muted); }
.form-error { display: none; color: #A3271B; font-size: 15px; }
.form-error.visible { display: block; }
.form-success { display: none; background: var(--white); border: 1px solid var(--line-strong); padding: 36px; }
.form-success.visible { display: block; }
.btn.loading { opacity: .6; pointer-events: none; }


/* ---------- Articles, insights and legal ---------- */
.article-head { border-bottom: 1px solid var(--line); padding-top: 56px; padding-bottom: 48px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.article-title { max-width: 900px; margin-top: 24px; font-size: clamp(34px, 4.4vw, 58px); }
.byline { display: flex; align-items: center; gap: 14px; margin-top: 32px; }
.byline strong { display: block; font-weight: 600; }
.byline span { display: block; font-size: 14px; color: var(--muted); }
.avatar--sm { flex: 0 0 44px; width: 44px; height: 44px; }

.prose { max-width: 720px; padding-top: 56px; padding-bottom: 96px; font-size: 18px; line-height: 1.75; color: var(--text-2); }
.wrap.section > .prose { padding-top: 0; padding-bottom: 0; }
.prose > * + * { margin-top: 1.1em; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: clamp(26px, 2.6vw, 32px); line-height: 1.2; letter-spacing: -.015em; color: var(--ink); margin-top: 2.2em; }
.prose h3 { font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: 21px; line-height: 1.3; color: var(--ink); margin-top: 1.8em; }
.prose a:not([class]) { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul:not([class]), .prose ol:not([class]), .prose .compact-list, .prose .question-list, .prose .source-list { padding-inline-start: 1.3em; }
.prose ul:not([class]), .prose .compact-list, .prose .question-list, .prose .source-list { list-style: disc; }
.prose ol:not([class]) { list-style: decimal; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--accent); }
.prose .lead, .prose p.lead { font-size: 21px; line-height: 1.6; color: var(--ink); }
.prose .compact-list, .prose .question-list { columns: 2 240px; column-gap: 32px; }
.prose .compact-list li, .prose .question-list li { break-inside: avoid; }
.prose .source-list, .prose .source-note { font-size: 15px; color: var(--muted); }
.prose .phase-label, .prose .week-label, .prose .check-icon { display: inline-block; font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.prose .phase-label { margin-top: 2.4em; }
.prose .phase-label + .phase-heading { margin-top: .3em; }
.prose .article-pullquote, .prose .callout { border-inline-start: 3px solid var(--accent); padding: 4px 0 4px 24px; margin-block: 2em; }
.prose .article-pullquote p { font-family: var(--font-display); font-stretch: 112%; font-size: 24px; line-height: 1.35; font-weight: 600; color: var(--ink); }
.prose .callout { background: var(--white); padding: 20px 24px; border: 1px solid var(--line-strong); border-inline-start: 3px solid var(--accent); }
.prose .oes-phases, .prose .day-phases, .prose .governance-pillars, .prose .governance-grid, .prose .strategy-components { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-block: 2em; }
.prose .oes-phase-card, .prose .day-phase-card, .prose .pillar-card, .prose .governance-item, .prose .strategy-component { background: var(--white); border: 1px solid var(--line-strong); padding: 20px; font-size: 16px; line-height: 1.55; }
.prose .oes-phase-card > * + *, .prose .day-phase-card > * + *, .prose .pillar-card > * + *, .prose .governance-item > * + *, .prose .strategy-component > * + * { margin-top: 8px; }
.prose .oes-phase-card h3, .prose .day-phase-card h3, .prose .pillar-card h3 { margin-top: 6px; font-size: 19px; }
.prose .oes-phase-num, .prose .day-phase-range, .prose .pillar-num, .prose .strategy-component-num { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.prose .governance-item strong, .prose .strategy-component strong { display: block; }
.prose .system-layers { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 1.6em; }
.prose .system-layer-item { font-family: var(--font-mono); font-size: 13px; padding: 8px 12px; border: 1px solid var(--line-strong); background: var(--white); }
.prose .week-list, .prose .governance-checklist { border-top: 1.5px solid var(--ink); }
.prose .week-list li, .prose .governance-checklist li { padding: 14px 0; border-bottom: 1px solid var(--line); margin: 0; }
.prose .week-list .week-label, .prose .governance-checklist .check-icon { display: block; margin-bottom: 4px; }
.prose .data-table { width: 100%; border-collapse: collapse; font-size: 15px; margin-block: 1.6em; }
.prose .data-table th, .prose .data-table td { text-align: start; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose .data-table thead th { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border-bottom: 1.5px solid var(--ink); }
.prose .article-cta { background: var(--ink); color: var(--on-dark); padding: 36px; margin-top: 3em; }
.prose .article-cta > * + * { margin-top: 12px; }
.prose .article-cta h3 { color: var(--on-dark); margin-top: 8px; }
.prose .article-cta p { color: var(--on-dark-2); font-size: 16px; }
.prose .cta-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark-accent); }
.prose .cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.prose .btn-primary, .prose .btn-secondary { display: inline-flex; align-items: center; min-height: 46px; padding: 12px 20px; font-size: 15px; font-weight: 600; border-radius: var(--radius); }
.prose .btn-primary { background: var(--on-dark); color: var(--ink); }
.prose .btn-secondary { border: 1.5px solid var(--on-dark-3); color: var(--on-dark); }

.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 20px; margin-top: 24px; }
.post-card { display: flex; flex-direction: column; gap: 14px; padding: 28px; background: var(--white); border: 1px solid var(--line-strong); transition: border-color .15s, transform .15s; }
.post-card:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }
.post-card h3 { font-size: 23px; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
.post-card .body { font-size: 15px; }
.post-card .link-accent { margin-top: auto; }
.post-card--featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; padding: 40px; }
.post-card--featured > div:first-child { display: flex; flex-direction: column; gap: 16px; }
.post-card--featured h3 { font-size: clamp(26px, 2.8vw, 36px); }
.post-feature-quote { align-self: stretch; background: var(--ink); color: var(--on-dark); padding: 28px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.post-feature-quote .m { color: var(--on-dark-accent); }
.post-feature-quote p { font-size: 22px; line-height: 1.35; font-weight: 600; }
@media (max-width: 760px) { .post-card--featured { grid-template-columns: 1fr; padding: 28px; } .post-grid { grid-template-columns: 1fr; } }


/* ---------- Homepage hero: floor plan ---------- */
.hero-plan .wrap { padding-top: 48px; padding-bottom: 28px; }
.hero-plan__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; }
.hero-plan__head { flex: 1 1 600px; min-width: 0; }
.hero-plan__title { font-size: clamp(38px, 4.4vw, 62px); }
.hero-plan__intro { flex: 0 1 400px; }
.hero-plan__intro .lead { font-size: 17px; }
.plan-caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; margin-top: 32px; color: var(--stone); font-size: 11px; }
.plan { position: relative; margin-top: 8px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: 1fr 58px 1fr; height: 460px; background: var(--white); border: 5px solid var(--ink); }
.plan__corridor { grid-column: 1 / -1; grid-row: 2; display: flex; align-items: flex-end; justify-content: flex-start; background: #F7F6F2; border-block: 2px solid var(--ink); }
.plan__corridor .m { font-size: 10px; color: var(--stone); padding: 0 16px 4px; }
.room { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px 26px; text-align: start; font: inherit; color: var(--ink); background: transparent; border: 0; border-inline-end: 2px solid var(--ink); cursor: pointer; transition: background-color .2s, box-shadow .2s; }
.room--top { grid-row: 1; }
.room--bottom { grid-row: 3; justify-content: flex-end; }
.room--end { border-inline-end: 0; }
.room:hover { background: #F6F7FF; }
.room[aria-pressed="true"] { background: #EEF1FF; box-shadow: inset 0 0 0 2px var(--accent); }
.room__num { color: var(--stone); font-size: 11px; }
.room[aria-pressed="true"] .room__num { color: var(--accent); }
.room__title { font-size: 19px; font-weight: 700; line-height: 1.25; margin-top: 2px; }
.room__text { font-size: 13.5px; line-height: 1.45; color: var(--muted); max-width: 300px; }
.room__door { position: absolute; left: 50%; width: 56px; height: 6px; margin-left: -28px; background: inherit; }
.room--top .room__door { bottom: -4px; }
.room--bottom .room__door { top: -4px; }
.room__door::after { content: ''; position: absolute; left: 6px; width: 40px; height: 40px; border: 1px dashed var(--dash); }
.room--top .room__door::after { bottom: 6px; border-width: 1px 1px 0 0; border-top-right-radius: 40px; }
.room--bottom .room__door::after { top: 6px; border-width: 0 1px 1px 0; border-bottom-right-radius: 40px; }
.room[aria-pressed="true"] .room__door { background: #EEF1FF; }
.agent { position: absolute; z-index: 2; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px rgba(36,64,200,.16); pointer-events: none; animation: var(--path) var(--t) ease-in-out infinite alternate; }
.agent--1 { --path: agentPath1; --t: 5.5s; left: 16.67%; top: 36%; }
.agent--2 { --path: agentPath2; --t: 6.5s; left: 50%; top: 64%; }
.agent--3 { --path: agentPath3; --t: 7.5s; left: 16.67%; top: 64%; }
@keyframes agentPath1 { 0% { left: 16.67%; top: 36%; } 30% { left: 16.67%; top: 50%; } 70% { left: 50%; top: 50%; } 100% { left: 50%; top: 36%; } }
@keyframes agentPath2 { 0% { left: 50%; top: 64%; } 30% { left: 50%; top: 50%; } 70% { left: 83.33%; top: 50%; } 100% { left: 83.33%; top: 36%; } }
@keyframes agentPath3 { 0% { left: 16.67%; top: 64%; } 25% { left: 16.67%; top: 50%; } 75% { left: 83.33%; top: 50%; } 100% { left: 83.33%; top: 64%; } }
.plan-status { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 14px; font-size: 14px; color: var(--muted); }
.plan-status__log { display: inline-flex; gap: 12px; align-items: baseline; color: var(--body); }
.plan-live { color: #1F7A45; }
@keyframes planFade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.plan-fade { animation: planFade .35s ease both; }
@media (max-width: 1100px) { .room { padding: 18px 20px; } .room__title { font-size: 17px; } .plan { height: 500px; } }
@media (max-width: 760px) {
  .plan { height: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; border-width: 3px; }
  .plan__corridor, .agent, .room__door { display: none; }
  .room, .room--top, .room--bottom { grid-row: auto; justify-content: flex-start; border-inline-end: 0; border-bottom: 1px solid var(--line); padding: 16px; }
  .room:nth-of-type(odd) { border-inline-end: 1px solid var(--line); }
  .room__text { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .agent { animation: none; } }

/* ---------- Arabic (RTL) ---------- */
[dir="rtl"] { --font-display: 'IBM Plex Sans Arabic', 'Archivo', sans-serif; --font-body: 'IBM Plex Sans Arabic', 'Inter', sans-serif; }
[dir="rtl"] body { line-height: 1.7; }
[dir="rtl"] .d, [dir="rtl"] .h-hero, [dir="rtl"] .h-page, [dir="rtl"] .h2, [dir="rtl"] .h3, [dir="rtl"] .brand { font-stretch: normal; letter-spacing: 0; }
[dir="rtl"] .h-hero, [dir="rtl"] .h-page, [dir="rtl"] .h2 { line-height: 1.25; }
[dir="rtl"] .h3 { line-height: 1.35; }
[dir="rtl"] .m, [dir="rtl"] .eyebrow, [dir="rtl"] .chip, [dir="rtl"] .field label, [dir="rtl"] .spec dt, [dir="rtl"] .site-footer h2 { font-family: var(--font-body); font-size: 13px; letter-spacing: 0; text-transform: none; font-weight: 600; }
[dir="rtl"] .brand, [dir="rtl"] .lang, [dir="rtl"] bdi { unicode-bidi: isolate; }
[dir="rtl"] .brand { direction: ltr; font-family: 'Archivo', sans-serif; font-stretch: 112%; }
.latin { direction: ltr; unicode-bidi: isolate; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  :root { --gutter: 22px; }
  .section { padding-top: 72px; padding-bottom: 72px; }
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: flex-start; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; }
  .nav.open { display: flex; }
  .nav a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--grid); font-size: 17px; }
  .nav a[aria-current="page"] { box-shadow: none; }
  .header-tools .btn { display: none; }
  .brand img { height: 34px; }
  .products { grid-template-columns: 1fr; }
  .product { padding-inline-end: 0; }
  .service-col { padding-inline-end: 0; }
  .steps-band > * { border-inline-end: 0; border-bottom: 1px solid var(--line-strong); }
  .steps-band > *:last-child { border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
