:root {
  --ink: #152036;
  --muted: #5d6a7f;
  --line: #d6dde7;
  --paper: #f6f7f9;
  --surface: #ffffff;
  --accent: #315f8f;
  --accent-2: #b36a3c;
  --max: 1180px;
  --radius: 14px;
  --shadow: 0 20px 50px rgba(21, 32, 54, .10);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; display: block; }

/* Comparison gallery */
.gallery-body { min-height: 100vh; background: #e9edf3; padding: 28px; }
.gallery-header { max-width: 1500px; margin: 0 auto 24px; display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.gallery-header h1 { margin: 4px 0 8px; font-size: clamp(1.7rem, 3vw, 2.7rem); letter-spacing: -.04em; }
.gallery-header p { margin: 0; color: #5d687a; }
.gallery-kicker { color: #315f8f !important; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .74rem; }
.gallery-links { display: flex; align-items: center; gap: 10px; }
.gallery-links > a { color: #315f8f; font-size: .84rem; font-weight: 800; }
.gallery-status { white-space: nowrap; padding: 9px 13px; background: #fff; border: 1px solid #cad3df; border-radius: 999px; font-size: .85rem; }
.gallery-status span { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: #2a825f; }
.gallery-main { max-width: 1500px; margin: auto; }
.concept-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.concept-card { text-align: left; display: grid; gap: 8px; padding: 18px; border: 1px solid #cbd4df; border-radius: 12px; background: rgba(255,255,255,.72); color: #172033; cursor: pointer; }
.concept-card strong { font-size: 1rem; }
.concept-card span { color: #667184; line-height: 1.45; }
.concept-card.active { border-color: #315f8f; background: #fff; box-shadow: 0 8px 30px rgba(29, 47, 75, .11); }
.preview-panel { background: #fff; border: 1px solid #cbd4df; border-radius: 14px; box-shadow: 0 20px 60px rgba(25, 37, 57, .12); overflow: hidden; }
.preview-toolbar { min-height: 58px; padding: 10px 14px; display: flex; align-items: center; gap: 14px; border-bottom: 1px solid #dbe1e9; background: #f8fafc; }
.toolbar-group { display: flex; gap: 4px; padding: 3px; background: #e8edf3; border-radius: 9px; }
.toolbar-group button, .open-preview { border: 0; background: transparent; padding: 8px 11px; border-radius: 7px; font: inherit; font-size: .82rem; cursor: pointer; text-decoration: none; color: #47546a; }
.toolbar-group button.active { background: #fff; color: #16213a; box-shadow: 0 2px 7px rgba(21, 32, 54, .12); }
.open-preview { margin-left: auto; border: 1px solid #c4ceda; background: #fff; }
.preview-stage { overflow: auto; min-height: 760px; padding: 0; background: #dfe5ec; display: flex; justify-content: center; align-items: flex-start; transition: .25s ease; }
.preview-stage iframe { width: 100%; height: 900px; border: 0; background: white; transition: width .25s ease; }
.preview-stage.tablet iframe { width: 820px; }
.preview-stage.mobile iframe { width: 390px; }

/* Shared portfolio structure */
.portfolio-body { min-width: 280px; background: var(--paper); }
.site-header { height: 78px; padding: 0 max(24px, calc((100vw - var(--max)) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 28px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.94); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); }
.identity { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.identity-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 9px; color: #fff; background: var(--ink); font-weight: 900; letter-spacing: -.05em; }
.identity strong, .identity small { display: block; }
.identity strong { font-size: .94rem; }
.identity small { color: var(--muted); font-size: .7rem; margin-top: 2px; }
.desktop-nav { display: flex; gap: 25px; align-items: center; }
.desktop-nav a { text-decoration: none; font-size: .84rem; font-weight: 700; }
.desktop-nav a:last-child { padding: 10px 15px; border: 1px solid var(--line); border-radius: 8px; }
.mobile-nav { display: none; position: relative; }
.mobile-nav summary { list-style: none; cursor: pointer; font-weight: 800; }
.mobile-nav nav { position: absolute; right: 0; top: 36px; min-width: 220px; padding: 12px; display: grid; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 10px; }
.mobile-nav a { padding: 11px; text-decoration: none; }
.hero { max-width: var(--max); min-height: 680px; margin: auto; padding: 86px 0 72px; display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 68px; }
.eyebrow { margin: 0 0 15px; color: var(--accent); font-size: .75rem; font-weight: 900; text-transform: uppercase; letter-spacing: .13em; }
h1, h2, h3, p { text-wrap: pretty; }
h1 { margin: 0; font-size: clamp(3.1rem, 6vw, 5.3rem); line-height: .98; letter-spacing: -.065em; }
.hero-text { max-width: 650px; margin: 28px 0 0; color: var(--muted); font-size: 1.12rem; line-height: 1.75; }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.button { min-height: 46px; padding: 0 17px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; border: 1px solid var(--line); font-weight: 800; font-size: .9rem; text-decoration: none; }
.button.primary { color: #fff; background: var(--accent); border-color: var(--accent); }
.button.secondary { background: var(--surface); }
.availability { margin: 22px 0 0; color: var(--muted); font-size: .84rem; }
.availability span { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: #2f7e63; }
.hero-visual { position: relative; min-height: 480px; }
.portrait-wrap { width: 210px; height: 210px; border-radius: 50%; overflow: hidden; position: absolute; right: 0; top: 0; z-index: 2; border: 8px solid var(--paper); background: #ced5da; box-shadow: var(--shadow); }
.portrait-wrap img { width: 100%; height: 100%; object-fit: cover; max-width: none; transform: scale(1.45); }
.hero-product { position: absolute; left: 0; bottom: 26px; width: 91%; }
.visual-caption { position: absolute; bottom: 0; left: 4px; margin: 0; color: var(--muted); font-size: .74rem; }
.app-window { border: 1px solid #cbd5e2; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 28px 60px rgba(18, 31, 51, .16); }
.window-bar { height: 48px; padding: 0 15px; display: flex; align-items: center; gap: 9px; background: #172238; color: #fff; font-size: .75rem; }
.window-bar span:last-child { margin-left: auto; color: #aeb9ca; }
.mpd-mini { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 5px; background: #d9dee5; color: #172238; font-weight: 900; }
.workspace-grid { display: grid; grid-template-columns: 28% 72%; min-height: 285px; }
.workspace-grid aside { padding: 18px 13px; display: grid; align-content: start; gap: 6px; background: #f2f4f7; border-right: 1px solid #dce2ea; }
.workspace-grid aside small { color: #778397; font-size: .55rem; letter-spacing: .12em; }
.workspace-grid aside b { margin-bottom: 8px; font-size: .8rem; }
.workspace-grid aside span { padding: 7px; border-radius: 5px; color: #637086; font-size: .62rem; }
.workspace-grid aside span.selected { color: #172238; background: #fff; font-weight: 800; }
.workspace-main { padding: 18px; background: #fafbfc; }
.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.metric-row div { padding: 12px; border: 1px solid #dce2ea; border-radius: 7px; background: #fff; }
.metric-row small, .metric-row b { display: block; }
.metric-row small { color: #748095; font-size: .52rem; }
.metric-row b { margin-top: 5px; font-size: 1rem; }
.work-list { margin-top: 12px; padding: 13px; display: grid; gap: 0; border: 1px solid #dce2ea; border-radius: 7px; background: #fff; font-size: .65rem; }
.work-list strong { padding-bottom: 9px; }
.work-list span { padding: 8px 0; border-top: 1px solid #e8ecf1; color: #4f5c70; }
.work-list i { display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #d59b42; }
.work-list i.urgent { background: #a74b4b; }
.proof-strip { border-block: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); }
.proof-strip div { padding: 28px max(24px, calc((100vw - var(--max)) / 8)); border-right: 1px solid var(--line); }
.proof-strip div:last-child { border-right: 0; }
.proof-strip small, .proof-strip strong { display: block; }
.proof-strip small { color: var(--muted); font-size: .7rem; }
.proof-strip strong { margin-top: 6px; font-size: .95rem; }
.section { max-width: var(--max); margin: auto; padding: 110px 0; }
.section-heading { margin-bottom: 44px; display: grid; grid-template-columns: 1fr .7fr; gap: 70px; align-items: end; }
.section-heading h2, .case-narrative h2, .architecture-section h2, .video-section h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1.08; letter-spacing: -.045em; }
.section-heading > p, .case-narrative p, .architecture-section p, .video-section p { margin: 0; color: var(--muted); line-height: 1.7; }
.project-card { margin-top: 26px; display: grid; grid-template-columns: .76fr 1.24fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.project-copy { padding: 42px; }
.project-meta { display: flex; gap: 18px; color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; }
.project-meta span:first-child { color: var(--accent); font-weight: 900; }
.project-logo { height: 34px; width: auto; margin: 35px 0 28px; }
.project-logo.mpd-logo { max-width: 230px; }
.project-copy h3 { margin: 0; font-size: 1.75rem; line-height: 1.2; letter-spacing: -.025em; }
.project-copy > p { margin: 13px 0; color: var(--muted); line-height: 1.65; }
.tag-list { margin: 25px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; list-style: none; }
.tag-list li, .stack-list span { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .7rem; }
.text-link { color: var(--accent); font-weight: 900; text-underline-offset: 4px; }
.project-media { min-width: 0; padding: 42px; display: grid; place-items: center; background: #e8edf3; overflow: hidden; }
.project-media .app-window { width: 650px; max-width: 115%; }
.product-image { border-radius: 9px; box-shadow: var(--shadow); }
.paper-media { background: #182238; }
.timeline { border-top: 1px solid var(--line); }
.timeline article { padding: 26px 0; display: grid; grid-template-columns: 170px 1fr; gap: 30px; border-bottom: 1px solid var(--line); }
.timeline time { color: var(--accent); font-size: .77rem; font-weight: 900; letter-spacing: .08em; }
.timeline h3 { margin: 0; font-size: 1.12rem; }
.timeline p { margin: 8px 0 0; color: var(--muted); line-height: 1.6; }
.profile-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 22px; padding-top: 30px; }
.education-card, .skills-card { padding: 38px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.education-card h2 { margin: 0; font-size: 1.65rem; line-height: 1.2; }
.education-card p { color: var(--muted); }
.education-card strong { font-size: .83rem; }
.skills-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.skills-columns small { color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .09em; }
.skills-columns p { margin: 5px 0 0; font-weight: 800; }
.ai-section { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; border-top: 1px solid var(--line); }
.ai-section h2 { margin: 0; font-size: 2.45rem; letter-spacing: -.035em; }
.ai-intro > p { color: var(--muted); line-height: 1.7; }
.ai-workflow { border-top: 1px solid var(--line); }
.ai-workflow article { padding: 19px 0; display: grid; grid-template-columns: 44px 1fr; gap: 14px; border-bottom: 1px solid var(--line); }
.ai-workflow article > span { color: var(--accent); font-size: .72rem; font-weight: 900; }
.ai-workflow h3 { margin: 0; font-size: 1rem; }
.ai-workflow p { margin: 5px 0 0; color: var(--muted); line-height: 1.55; }
.ai-workflow .ai-standard { margin: 22px 0 0; padding: 16px 18px; color: var(--ink); background: var(--soft); border-left: 3px solid var(--accent); font-weight: 750; }

.site-footer { padding: 75px max(24px, calc((100vw - var(--max)) / 2)) 24px; display: grid; grid-template-columns: 1fr auto; gap: 50px; color: #fff; background: #131d32; }
.site-footer .eyebrow { color: #8fb1d3; }
.site-footer h2 { margin: 0; font-size: 2.4rem; letter-spacing: -.04em; }
.site-footer p { color: #bdc7d7; }
.footer-contact { min-width: min(520px, 44vw); }
.footer-contact > small { display: block; margin-bottom: 7px; color: #9ea7b2; text-transform: uppercase; letter-spacing: .1em; }
.email-address { color: #fff; font-size: clamp(1rem, 2vw, 1.3rem); font-weight: 800; text-underline-offset: 5px; }
.footer-actions { margin-top: 17px; display: flex; align-items: center; gap: 16px; }
.footer-actions a:not(.button) { color: #dce4ef; font-size: .85rem; }
.footer-actions .button { min-height: 40px; background: #fff; color: var(--dark); border-color: #fff; }
.copy-email { min-height: 40px; padding: 0 14px; border: 1px solid #68707a; color: #fff; background: transparent; font: inherit; font-size: .84rem; font-weight: 800; cursor: pointer; }
.footer-bottom { grid-column: 1 / -1; padding-top: 24px; margin-top: 20px; display: flex; justify-content: space-between; border-top: 1px solid #344057; color: #9aa7ba; font-size: .72rem; }

/* Case studies */
.case-main { max-width: var(--max); margin: auto; }
.case-hero { min-height: 650px; padding: 80px 0 65px; display: grid; grid-template-columns: .72fr 1.28fr; gap: 65px; align-items: center; }
.case-heading h1 { font-size: clamp(3.5rem, 7vw, 6.6rem); }
.case-heading > p:not(.eyebrow) { margin: 25px 0 0; color: var(--muted); font-size: 1.15rem; line-height: 1.65; }
.case-preview .app-window, .case-preview .product-image { width: 100%; box-shadow: 0 32px 70px rgba(20, 32, 54, .18); }
.case-facts { padding: 25px 0; display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.case-facts small, .case-facts strong { display: block; }
.case-facts small { color: var(--muted); font-size: .67rem; text-transform: uppercase; letter-spacing: .09em; }
.case-facts strong { margin-top: 8px; font-size: .88rem; }
.case-narrative, .architecture-section, .video-section { padding: 110px 0; display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.case-narrative > div:last-child { display: grid; gap: 20px; font-size: 1.05rem; }
.feature-section { padding: 80px 0 110px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-grid article { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.feature-grid span { color: var(--accent); font-weight: 900; font-size: .7rem; }
.feature-grid h3 { margin: 45px 0 10px; font-size: 1.25rem; }
.feature-grid p { margin: 0; color: var(--muted); line-height: 1.6; }
.architecture-section { border-block: 1px solid var(--line); }
.architecture-map { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; position: relative; }
.architecture-map span { min-height: 74px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font-weight: 800; font-size: .84rem; }
.architecture-map span.architecture-core { grid-column: 1 / -1; color: #fff; background: var(--accent); border-color: var(--accent); }
.flow-map { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.flow-map span { padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 7px; font-size: .77rem; font-weight: 800; }
.flow-map b { color: var(--accent); }
.video-section { align-items: center; }
.video-poster { aspect-ratio: 16 / 9; padding: 34px; display: flex; align-items: end; gap: 18px; color: #fff; background: linear-gradient(135deg, #16223a, #315f8f); border-radius: var(--radius); box-shadow: var(--shadow); }
.play-button { width: 52px; height: 52px; flex: 0 0 52px; display: grid; place-items: center; padding-left: 3px; border-radius: 50%; background: #fff; color: #172238; }
.video-poster small, .video-poster strong, .video-poster p { display: block; }
.video-poster small { color: #bfcde0; }
.video-poster strong { margin-top: 4px; font-size: 1.2rem; }
.video-poster p { margin: 5px 0 0; color: #cbd6e5; font-size: .7rem; }
.stack-section { padding: 45px 0 100px; }
.stack-list { display: flex; flex-wrap: wrap; gap: 9px; }
.stack-list span { padding: 10px 14px; background: var(--surface); font-size: .8rem; }

/* Version 2: structured engineering layout, three light palettes */
.concept-a { --paper: #f6f7f8; --surface: #ffffff; --ink: #191b1f; --muted: #5e626a; --line: #d5d7da; --accent: #7b3042; --accent-strong: #612333; --dark: #202126; --soft: #f0e8ea; --radius: 3px; }
.concept-b { --paper: #f3f5f2; --surface: #ffffff; --ink: #18201d; --muted: #5c6761; --line: #d4dad6; --accent: #315f50; --accent-strong: #244a3e; --dark: #18231f; --soft: #e7eeea; --radius: 3px; }
.concept-c { --paper: #f7f7f6; --surface: #ffffff; --ink: #161719; --muted: #62666c; --line: #d8dadd; --accent: #a83b3b; --accent-strong: #852d2d; --dark: #18191b; --soft: #f3e8e8; --radius: 3px; }

.concept-a .identity-mark, .concept-b .identity-mark, .concept-c .identity-mark { border-radius: 2px; background: var(--dark); }
.concept-a .hero, .concept-b .hero, .concept-c .hero { grid-template-columns: 1fr 1fr; }
.concept-a h1, .concept-b h1, .concept-c h1 { font-size: clamp(3.1rem, 5.7vw, 5rem); }
.concept-a .portrait-wrap, .concept-b .portrait-wrap, .concept-c .portrait-wrap { width: 145px; height: 145px; right: 15px; top: 15px; border-color: var(--paper); border-radius: 2px; }
.concept-a .proof-strip, .concept-b .proof-strip, .concept-c .proof-strip { background: var(--surface); }
.concept-a .project-media, .concept-b .project-media, .concept-c .project-media { background: var(--soft); }
.concept-a .paper-media, .concept-b .paper-media, .concept-c .paper-media { background: var(--dark); }
.concept-a .button.primary, .concept-b .button.primary, .concept-c .button.primary { background: var(--accent); border-color: var(--accent); }
.concept-a .button.primary:hover, .concept-b .button.primary:hover, .concept-c .button.primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); }
.concept-a .process span, .concept-b .process span, .concept-c .process span { border-radius: 2px; }
.concept-a .site-footer, .concept-b .site-footer, .concept-c .site-footer { background: var(--dark); }
.concept-a .site-footer .eyebrow, .concept-b .site-footer .eyebrow, .concept-c .site-footer .eyebrow { color: #d9aeba; }
.concept-b .site-footer .eyebrow { color: #a7cabb; }
.concept-c .site-footer .eyebrow { color: #e5aaaa; }
.concept-a .video-poster, .concept-b .video-poster, .concept-c .video-poster { border-radius: 2px; background: linear-gradient(135deg, var(--dark), var(--accent-strong)); }
.concept-a .architecture-map span.architecture-core, .concept-b .architecture-map span.architecture-core, .concept-c .architecture-map span.architecture-core { background: var(--accent); color: #fff; }

@media (max-width: 980px) {
  .gallery-body { padding: 16px; }
  .concept-picker { grid-template-columns: 1fr; }
  .gallery-header { align-items: start; }
  .hero, .concept-a .hero, .concept-b .hero, .concept-c .hero, .case-hero, .concept-b .case-hero { grid-template-columns: 1fr; gap: 45px; padding-inline: 34px; }
  .hero-copy { max-width: 720px; }
  .hero-visual { width: 100%; max-width: 720px; margin: auto; }
  .proof-strip { grid-template-columns: 1fr 1fr; }
  .proof-strip div:nth-child(2) { border-right: 0; }
  .proof-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section, .case-main { padding-inline: 34px; }
  .project-card, .concept-a .project-card, .concept-a .supporting, .concept-b .project-card { grid-template-columns: 1fr; }
  .project-media { min-height: 420px; }
  .profile-grid, .ai-section, .case-narrative, .architecture-section, .video-section { grid-template-columns: 1fr; gap: 40px; }
  .case-facts { grid-template-columns: 1fr 1fr; gap: 26px; }
  .feature-grid { grid-template-columns: 1fr; }

}

@media (max-width: 640px) {
  .gallery-body { padding: 10px; }
  .gallery-header { display: block; }
  .gallery-status { display: inline-block; margin-top: 14px; }
  .preview-toolbar { align-items: stretch; flex-direction: column; }
  .toolbar-group { overflow-x: auto; }
  .open-preview { margin-left: 0; text-align: center; }
  .site-header { height: 67px; padding-inline: 18px; }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .identity small { display: none; }
  .hero, .concept-a .hero, .concept-b .hero, .concept-c .hero { min-height: 0; padding: 58px 20px; gap: 38px; }
  h1 { font-size: clamp(2.65rem, 14vw, 4rem); }
  .hero-text { font-size: 1rem; line-height: 1.65; }
  .button-row { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .hero-visual { min-height: 330px; }
  .hero-product { width: 100%; bottom: 20px; }
  .portrait-wrap { width: 90px; height: 90px; border-width: 4px; }

  .workspace-grid { grid-template-columns: 1fr; }
  .workspace-grid aside { display: none; }
  .metric-row { grid-template-columns: repeat(3, 1fr); }
  .proof-strip { grid-template-columns: 1fr 1fr; }
  .proof-strip div { padding: 20px; }
  .section, .case-main { padding-inline: 20px; }
  .section { padding-block: 75px; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; }
  .project-copy, .project-media { padding: 25px; }
  .project-media { min-height: 270px; }
  .project-media .app-window { width: 560px; max-width: 155%; transform: translateX(9%); }
  .paper-media .product-image { width: 620px; max-width: 165%; transform: translateX(8%); }
  .timeline article { grid-template-columns: 1fr; gap: 8px; }
  .profile-grid { grid-template-columns: 1fr; }
  .education-card, .skills-card { padding: 26px; }
  .skills-columns { grid-template-columns: 1fr; }
  .ai-section { padding-inline: 0 !important; background: transparent !important; }
  .site-footer { padding: 55px 20px 22px; grid-template-columns: 1fr; gap: 24px; }
  .site-footer h2 { font-size: 1.9rem; }
  .footer-contact { min-width: 0; }
  .footer-actions { align-items: flex-start; flex-wrap: wrap; }
  .footer-actions .button { width: 100%; }
  .email-address { overflow-wrap: anywhere; }
  .footer-bottom { display: grid; gap: 8px; }
  .case-hero { min-height: 0; padding: 65px 0 48px; gap: 44px; }
  .case-heading h1 { font-size: clamp(3.2rem, 17vw, 5rem); }
  .case-facts { grid-template-columns: 1fr 1fr; }
  .case-narrative, .architecture-section, .video-section { padding: 75px 0; }
  .feature-section { padding: 25px 0 75px; }
  .architecture-map { grid-template-columns: 1fr 1fr; }
  .flow-map { align-items: stretch; flex-direction: column; }
  .flow-map b { display: none; }
  .video-poster { padding: 20px; align-items: center; }
  .video-poster p { display: none; }
}


/* Graphite and oxblood refinements */
.concept-a {
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
}
.concept-a .site-header {
  color: #ffffff;
  background: rgba(32, 33, 38, .97);
  border-bottom-color: #37393e;
}
.concept-a .identity-mark {
  color: #ffffff;
  background: var(--accent);
}
.concept-a .identity strong,
.concept-a .desktop-nav a,
.concept-a .mobile-nav summary {
  color: #ffffff;
}
.concept-a .identity small {
  color: #b9bdc4;
}
.concept-a .desktop-nav a:last-child {
  border-color: #555860;
}
.concept-a .desktop-nav a:hover {
  color: #e5b7c2;
}
.concept-a .mobile-nav nav {
  color: var(--ink);
  background: var(--surface);
}
.concept-a h1,
.concept-a h2,
.concept-a h3 {
  font-weight: 600;
}
.concept-a .identity strong,
.concept-a .desktop-nav a,
.concept-a .button,
.concept-a .proof-strip strong,
.concept-a .skills-columns p,
.concept-a .copy-email {
  font-weight: 600;
}
.concept-a .eyebrow,
.concept-a .project-meta span:first-child,
.concept-a .text-link,
.concept-a .timeline time,
.concept-a .feature-grid span {
  font-weight: 700;
}
.concept-a .footer-actions .button.primary {
  color: #ffffff;
  background: var(--accent);
  border-color: var(--accent);
}
.concept-a .footer-actions .button.primary:hover {
  color: #ffffff;
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}


/* Version 3: focused graphite and oxblood iteration */
.gallery-main { max-width: 1500px; }
.concept-a .site-header { height: 84px; }
.concept-a .identity strong { font-size: 1.04rem; }
.concept-a .identity small { margin-top: 3px; font-size: .78rem; }
.concept-a .desktop-nav a { font-size: .91rem; }
.concept-a .hero { min-height: 665px; grid-template-columns: 1.12fr .88fr; }
.concept-a .hero h1 { max-width: 720px; }
.hero-personal { min-height: 500px; display: grid; place-items: center; }
.hero-portrait-panel { width: min(370px, 78%); aspect-ratio: 1; overflow: hidden; border: 1px solid var(--line); border-radius: 50%; background: var(--soft); box-shadow: var(--shadow); }
.hero-portrait-panel img { width: 100%; height: 100%; max-width: none; object-fit: cover; transform: scale(1.4); }
.about-section { display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; border-block: 1px solid var(--line); }
.about-section h2, .prose-section h2 { margin: 0; font-size: clamp(2.1rem, 4vw, 3.35rem); line-height: 1.08; letter-spacing: -.045em; }
.about-copy, .ai-prose { display: grid; gap: 18px; }
.about-copy p, .ai-prose p { margin: 0; color: var(--muted); font-size: 1.03rem; line-height: 1.72; }
.prose-section { grid-template-columns: .72fr 1.28fr; }
.contact-icon-action { min-height: 40px; padding: 0 10px; display: inline-flex; align-items: center; gap: 7px; border: 0; color: #ffffff; background: transparent; font: inherit; font-weight: 600; cursor: pointer; }
.contact-icon-action:hover, .social-link:hover { color: #e5b7c2; }
.contact-icon-action svg, .social-link svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.social-link { display: inline-flex; align-items: center; gap: 8px; color: #ffffff !important; font-size: .95rem !important; font-weight: 600; text-decoration: none; }
.social-link svg { width: 23px; height: 23px; fill: currentColor; stroke: none; }
.paper-flow-section { align-items: start; }
.paper-flow-diagram { display: grid; gap: 10px; }
.flow-lane, .flow-output { padding: 14px; display: grid; grid-template-columns: 82px 1fr auto 1fr auto 1fr; align-items: center; gap: 9px; border: 1px solid var(--line); background: var(--surface); }
.flow-lane small, .flow-output small { color: var(--accent); font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }
.flow-lane span, .flow-output span { min-height: 58px; padding: 10px; display: grid; place-items: center; text-align: center; border: 1px solid var(--line); background: var(--paper); font-size: .72rem; font-weight: 600; }
.flow-lane i { color: var(--accent); font-style: normal; }
.flow-lane em { color: var(--muted); font-size: .62rem; font-style: normal; font-weight: 400; }
.flow-lane.records { grid-template-columns: 82px repeat(3, 1fr); }
.flow-output { grid-template-columns: 82px repeat(3, 1fr); border-left: 3px solid var(--accent); }
.engineering-section { padding: 95px 0; border-bottom: 1px solid var(--line); }
.engineering-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.engineering-grid article { padding: 28px; border: 1px solid var(--line); background: var(--surface); }
.engineering-grid h3 { margin: 0 0 12px; font-size: 1.08rem; }
.engineering-grid p { margin: 0; color: var(--muted); line-height: 1.65; }

@media (max-width: 980px) {
  .concept-a .hero, .about-section, .prose-section { grid-template-columns: 1fr; }
  .hero-personal { min-height: 470px; }
  .hero-portrait-panel { width: min(390px, 60vw); }
  .engineering-grid { grid-template-columns: 1fr; }
  .flow-lane { grid-template-columns: 75px 1fr auto 1fr auto 1fr; }
}

@media (max-width: 640px) {
  .concept-a .site-header { height: 70px; }
  .concept-a .identity strong { font-size: .96rem; }
  .concept-a .hero { padding-top: 54px; }
  .hero-personal { min-height: 390px; }
  .hero-portrait-panel { width: min(330px, 88vw); }
  .about-section { gap: 28px; }
  .footer-actions { gap: 12px; }
  .contact-icon-action { padding-inline: 4px; }
  .flow-lane, .flow-lane.records, .flow-output { grid-template-columns: 1fr; }
  .flow-lane small, .flow-output small { padding-bottom: 4px; border-bottom: 1px solid var(--line); }
  .flow-lane i { display: none; }
  .flow-lane span, .flow-output span { min-height: 46px; }
  .engineering-section { padding: 70px 0; }
}


/* Version 4: approved copy and case-study refinements */
.property-architecture { grid-template-columns: .72fr 1.28fr; align-items: start; }
.architecture-intro p:last-child { margin-top: 18px; color: var(--muted); line-height: 1.65; }
.domain-map { min-height: 500px; position: relative; }
.domain-connectors { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.domain-connectors line { stroke: #aeb2b8; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.domain-node, .domain-core { position: absolute; z-index: 1; display: grid; align-content: center; text-align: center; border: 1px solid var(--line); background: var(--surface); }
.domain-node { width: 35%; min-height: 125px; padding: 18px; }
.domain-node.people { left: 0; top: 0; }
.domain-node.work { right: 0; top: 0; }
.domain-node.schedule { left: 0; bottom: 0; }
.domain-node.history { right: 0; bottom: 0; }
.domain-core { left: 50%; top: 50%; width: 34%; min-height: 118px; padding: 20px; translate: -50% -50%; color: #fff; background: var(--accent); border-color: var(--accent); border-radius: 50%; }
.domain-node small, .domain-core small { color: var(--accent); font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.domain-core small { color: #ebcbd3; }
.domain-node strong, .domain-core strong { margin-top: 5px; font-size: 1rem; }
.domain-node span { margin-top: 7px; color: var(--muted); font-size: .75rem; line-height: 1.45; }
.architecture-details { grid-column: 1 / -1; margin-top: 26px; padding-top: 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; border-top: 1px solid var(--line); }
.architecture-details h3 { margin: 0 0 9px; font-size: 1rem; }
.architecture-details p { margin: 0; color: var(--muted); line-height: 1.6; }
.stack-section { padding-top: 70px; }
.stack-section > .eyebrow { margin-bottom: 18px; font-size: .78rem; }
.stack-list { gap: 12px; }
.stack-list span { padding: 13px 18px; border: 1px solid #c7cad0; border-radius: 999px; background: var(--surface); color: var(--ink); font-size: .94rem; font-weight: 500; }
.deployment-note { margin: 22px 0 0; color: var(--muted); font-size: .92rem; }
.video-poster p { font-size: .78rem; }

@media (max-width: 980px) {
  .property-architecture { grid-template-columns: 1fr; }
  .architecture-details { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 640px) {
  .domain-map { min-height: 0; display: grid; grid-template-columns: 1fr; gap: 12px; }
  .domain-connectors { display: none; }
  .domain-node, .domain-core { position: static; width: auto; min-height: 0; padding: 20px; translate: none; border-radius: 0; }
  .domain-core { grid-row: 1; }
  .stack-list span { padding: 11px 15px; font-size: .88rem; }
}


/* Version 5: final review refinements */
.concept-a .identity strong { font-size: 1.16rem; }
.concept-a .identity small { font-size: .84rem; }
.concept-a .desktop-nav a { font-size: 1rem; }
.concept-a .desktop-nav a:last-child { border: 1.5px solid #6b6e76; }
.concept-a .desktop-nav a:last-child:hover { background: #303138; border-color: #858891; }
.concept-a .button.secondary { border: 1.5px solid #989ca4; }
.concept-a .button.secondary:hover { background: #eceef1; border-color: #6f737b; }
.feature-grid span { font-size: 1.06rem; line-height: 1; }
.email-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.email-line .email-address { margin-top: 0; }
.email-line .contact-icon-action { flex: 0 0 auto; }
.footer-actions { margin-top: 14px; }
.paper-architecture-section { align-items: start; }
.paper-layers { display: grid; gap: 0; }
.paper-layer { display: grid; grid-template-columns: 116px 1fr; align-items: stretch; border: 1px solid var(--line); background: var(--surface); }
.paper-layer-label { padding: 18px; display: grid; align-content: center; color: var(--accent); background: #fafafa; border-right: 1px solid var(--line); font-size: .63rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.paper-layer-content { padding: 11px; display: grid; gap: 8px; }
.paper-layer-content.three { grid-template-columns: repeat(3, 1fr); }
.paper-layer-content.two { grid-template-columns: repeat(2, 1fr); }
.paper-arch-node { min-height: 76px; padding: 12px; display: grid; align-content: center; text-align: center; border: 1px solid var(--line); background: var(--surface); }
.paper-arch-node small { color: var(--accent); font-size: .59rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.paper-arch-node strong { margin-top: 4px; font-size: .77rem; line-height: 1.3; }
.paper-arch-node span { margin-top: 5px; color: var(--muted); font-size: .65rem; line-height: 1.4; }
.paper-arch-node.accent { color: #fff; background: var(--accent); border-color: var(--accent); }
.paper-arch-node.accent small { color: #ebcbd3; }
.paper-layer-arrow { height: 18px; display: grid; place-items: center; color: var(--accent); }
.paper-layer.outputs { border-left: 3px solid #2f755e; }

@media (max-width: 640px) {
  .concept-a .identity strong { font-size: 1.03rem; }
  .email-line { align-items: flex-start; }
  .email-line .contact-icon-action { min-height: 34px; }
  .paper-layer { grid-template-columns: 1fr; }
  .paper-layer-label { padding: 10px 13px; border-right: 0; border-bottom: 1px solid var(--line); }
  .paper-layer-content.three, .paper-layer-content.two { grid-template-columns: 1fr; }
  .paper-arch-node { min-height: 64px; }
}


/* Version 6: homepage hierarchy and structured property diagram */
.concept-a .proof-strip { color: #ffffff; background: var(--dark); border-color: #383a40; }
.concept-a .proof-strip div { position: relative; padding-block: 36px; border-color: #44474e; }
.concept-a .proof-strip div::before { content: ""; position: absolute; left: max(24px, calc((100vw - var(--max)) / 8)); top: 0; width: 42px; height: 3px; background: var(--accent); }
.concept-a .proof-strip small { color: #d9aeba; font-size: .76rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.concept-a .proof-strip strong { margin-top: 10px; color: #ffffff; font-size: 1.23rem; }

.selected-work .section-heading .eyebrow,
.about-section > div:first-child .eyebrow,
.background-section .section-heading .eyebrow,
.education-card > .eyebrow,
.skills-card > .eyebrow,
.ai-section > div:first-child .eyebrow {
  margin-bottom: 22px; display: flex; align-items: center; gap: 14px; font-size: .96rem; font-weight: 700; letter-spacing: .085em;
}
.selected-work .section-heading .eyebrow::after,
.about-section > div:first-child .eyebrow::after,
.background-section .section-heading .eyebrow::after,
.education-card > .eyebrow::after,
.skills-card > .eyebrow::after,
.ai-section > div:first-child .eyebrow::after {
  content: ""; width: 46px; height: 2px; background: var(--accent);
}
.site-footer > div:first-child > .eyebrow { margin-bottom: 20px; display: flex; align-items: center; gap: 14px; font-size: .94rem; letter-spacing: .085em; }
.site-footer > div:first-child > .eyebrow::after { content: ""; width: 42px; height: 2px; background: #d9aeba; }

.selected-work .project-card { position: relative; border-width: 1.5px; box-shadow: 0 18px 40px rgba(25, 27, 31, .07); }
.selected-work .flagship { margin-top: 38px; border-top: 4px solid var(--accent); }
.selected-work .supporting { margin-top: 84px; grid-template-columns: 1.24fr .76fr; border-top: 4px solid var(--dark); }
.selected-work .supporting .project-copy { order: 2; background: #fbfbfa; }
.selected-work .supporting .project-media { order: 1; }
.selected-work .project-meta { align-items: center; gap: 14px; font-size: .76rem; font-weight: 600; }
.selected-work .project-meta span:first-child { min-width: 36px; height: 36px; display: grid; place-items: center; color: #ffffff; background: var(--accent); font-size: .94rem; }
.selected-work .supporting .project-meta span:first-child { background: var(--dark); }
.project-cta { width: auto; margin-top: 8px; display: inline-flex; }

.official-map { min-height: 520px; }
.official-map .domain-connectors path { fill: none; stroke: #8e939b; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.official-map .domain-connectors marker path { fill: var(--accent); stroke: none; }
.official-map .domain-node { width: 36%; min-height: 132px; padding: 0 20px 20px; align-content: start; border: 1.5px solid #bfc3c9; box-shadow: 0 10px 22px rgba(25, 27, 31, .06); }
.official-map .domain-node small { margin: 0 -20px 18px; padding: 11px 14px; display: block; color: var(--accent); background: #f5edef; border-bottom: 1px solid #d9c7cc; }
.official-map .domain-node strong { font-size: 1.05rem; }
.official-map .domain-core { width: 36%; min-height: 126px; border-radius: 3px; border: 2px solid var(--accent-strong); box-shadow: 0 14px 30px rgba(97, 35, 51, .2); }
.official-map .domain-core strong { font-size: 1.28rem; }
.official-map .domain-core span { margin-top: 6px; color: #f0dce1; font-size: .74rem; }

@media (max-width: 980px) {
  .selected-work .supporting { grid-template-columns: 1fr; }
  .selected-work .supporting .project-copy { order: 1; }
  .selected-work .supporting .project-media { order: 2; }
}

@media (max-width: 640px) {
  .concept-a .proof-strip div { padding-block: 26px; }
  .concept-a .proof-strip div::before { left: 20px; }
  .concept-a .proof-strip strong { font-size: 1.08rem; }
  .selected-work .section-heading .eyebrow,
  .about-section > div:first-child .eyebrow,
  .background-section .section-heading .eyebrow,
  .education-card > .eyebrow,
  .skills-card > .eyebrow,
  .ai-section > div:first-child .eyebrow { font-size: .88rem; }
  .selected-work .supporting { margin-top: 58px; }
  .project-cta { width: 100%; }
  .official-map { min-height: 0; }
  .official-map .domain-node, .official-map .domain-core { width: auto; min-height: 0; }
  .official-map .domain-node { padding-bottom: 20px; }
}


/* Version 7: scale, contrast and privacy */
.concept-a .desktop-nav a:last-child { border: 2px solid #878b94; }
.concept-a .desktop-nav a:last-child:hover { border-color: #b4b7bd; }
.concept-a .button.secondary { border-width: 2px; border-color: #7f848d; }

.concept-a .proof-strip div:last-child strong { max-width: 265px; line-height: 1.25; }
.timeline time { font-size: .92rem; letter-spacing: .075em; }
.education-card > .eyebrow { color: var(--accent); }
.case-narrative .eyebrow,
.architecture-section .eyebrow,
.video-section .eyebrow { color: var(--accent); font-size: .95rem; }

.selected-work .supporting .paper-media { padding: 36px; display: grid; place-items: center; background: #e7e8eb; }
.selected-work .supporting .paper-media .product-image { width: 100%; max-width: none; display: block; border: 1px solid #b5b8bf; box-shadow: 0 10px 20px rgba(0, 0, 0, .1); }

.site-footer .footer-contact > small { color: #e4b8c3; font-size: .82rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.contact-icon-action { min-height: 44px; padding-inline: 12px; font-size: 1.02rem; }
.contact-icon-action svg { width: 23px; height: 23px; }
.footer-actions { gap: 18px; }
.footer-actions .button { min-height: 48px; padding-inline: 20px; font-size: 1rem; }
.social-link { gap: 9px; font-size: 1.03rem !important; }
.social-link svg { width: 25px; height: 25px; }

.case-facts small { font-size: .76rem; letter-spacing: .075em; }
.case-facts strong { margin-top: 8px; font-size: 1.02rem; line-height: 1.35; }
.feature-section > .eyebrow { font-size: .94rem; }
.feature-grid span { font-size: 1.2rem; }

.official-map .domain-node small { font-size: .73rem; }
.official-map .domain-node strong { font-size: 1.16rem; }
.official-map .domain-node span { font-size: .86rem; line-height: 1.45; }
.official-map .domain-core small { font-size: .72rem; }
.official-map .domain-core strong { font-size: 1.4rem; }
.official-map .domain-core span { font-size: .84rem; }

.paper-layer-label { font-size: .73rem; line-height: 1.4; }
.paper-arch-node small { font-size: .68rem; }
.paper-arch-node strong { font-size: .9rem; }
.paper-arch-node span { font-size: .76rem; line-height: 1.45; }
.paper-layer-arrow { font-size: 1.15rem; }

.stack-section > .eyebrow { color: var(--accent); font-size: .95rem; }
.stack-list { gap: 14px; }
.stack-list span { padding: 14px 20px; font-size: 1.02rem; }

.privacy-main { max-width: var(--max); margin: 0 auto; padding: 0 42px 120px; }
.privacy-hero { max-width: 870px; padding: 120px 0 80px; border-bottom: 1px solid var(--line); }
.privacy-hero .eyebrow { color: var(--accent); font-size: .96rem; }
.privacy-hero h1 { margin: 18px 0 24px; font-size: clamp(3.2rem, 6vw, 5.4rem); line-height: .98; letter-spacing: -.055em; }
.privacy-hero > p:not(.eyebrow):not(.privacy-updated) { max-width: 740px; color: var(--muted); font-size: 1.18rem; line-height: 1.7; }
.privacy-updated { margin-top: 28px; font-size: .88rem; font-weight: 600; }
.privacy-layout { padding-top: 80px; display: grid; grid-template-columns: 290px minmax(0, 760px); justify-content: space-between; gap: 90px; }
.privacy-summary { height: max-content; padding: 28px; position: sticky; top: 110px; color: #fff; background: var(--dark); border-top: 4px solid var(--accent); }
.privacy-summary strong { font-size: 1.15rem; }
.privacy-summary ul { margin: 20px 0 0; padding-left: 20px; color: #d6d8dc; line-height: 1.75; }
.privacy-copy { display: grid; gap: 0; }
.privacy-copy section { padding: 0 0 60px; margin-bottom: 60px; border-bottom: 1px solid var(--line); }
.privacy-copy section:last-child { margin-bottom: 0; }
.privacy-copy .eyebrow { color: var(--accent); font-size: .9rem; }
.privacy-copy h2 { margin: 14px 0 22px; font-size: clamp(1.8rem, 3vw, 2.55rem); }
.privacy-copy p { color: var(--muted); font-size: 1.03rem; line-height: 1.75; }
.privacy-copy a { color: var(--accent-strong); font-weight: 600; }
.privacy-copy code { padding: 2px 5px; color: var(--ink); background: #eceef1; border-radius: 3px; }
.privacy-sources { margin-top: 24px; display: grid; gap: 12px; }

@media (max-width: 980px) {
  .privacy-layout { grid-template-columns: 1fr; gap: 50px; }
  .privacy-summary { position: static; }
  .selected-work .supporting .paper-media { padding: 28px; }
}

@media (max-width: 640px) {
  .concept-a .proof-strip div:last-child strong { max-width: none; }
  .timeline time { font-size: .86rem; }
  .case-facts small { font-size: .7rem; }
  .case-facts strong { font-size: .94rem; }
  .feature-section > .eyebrow,
  .case-narrative .eyebrow,
  .architecture-section .eyebrow,
  .video-section .eyebrow { font-size: .88rem; }
  .feature-grid span { font-size: 1.1rem; }
  .official-map .domain-node strong { font-size: 1.08rem; }
  .official-map .domain-node span { font-size: .82rem; }
  .paper-layer-label { font-size: .7rem; }
  .paper-arch-node strong { font-size: .86rem; }
  .paper-arch-node span { font-size: .73rem; }
  .stack-section > .eyebrow { font-size: .88rem; }
  .stack-list span { padding: 12px 16px; font-size: .95rem; }
  .selected-work .supporting .paper-media { padding: 18px; }
  .privacy-main { padding: 0 20px 80px; }
  .privacy-hero { padding: 72px 0 54px; }
  .privacy-hero h1 { font-size: 3rem; }
  .privacy-layout { padding-top: 50px; }
  .privacy-copy section { padding-bottom: 42px; margin-bottom: 42px; }
  .site-footer .footer-contact > small { font-size: .78rem; }
  .footer-actions .button { width: 100%; }
}


/* Production refinements */
:root { color-scheme: light; }
body { min-height: 100vh; font-family: "Segoe UI", Arial, sans-serif; }
.concept-a { font-family: "Segoe UI", Arial, sans-serif; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 12px 16px; color: #fff; background: var(--accent); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
.identity-logo { width: 40px; height: 40px; flex: 0 0 auto; }
a, button, summary { transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease; }
:focus-visible { outline: 3px solid #b65d73; outline-offset: 4px; }
.desktop-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: #d59aad; text-decoration-thickness: 2px; text-underline-offset: 7px; }
.hero-portrait-panel img { object-position: center; transform: scale(1.18) translateY(5%); }
.button[aria-disabled="true"] { cursor: default; opacity: .72; }
.video-poster { width: 100%; border: 0; color: #fff; font: inherit; text-align: left; cursor: pointer; }
.video-poster[aria-disabled="true"] { cursor: default; }
.video-poster-status { margin-top: 12px; color: #ead6dc; font-size: .82rem; }
.video-frame { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }
.external-link::after { content: "→"; width: 1em; height: 1em; margin-left: .55em; display: inline-flex; align-self: center; align-items: center; justify-content: center; font-family: Arial, sans-serif; font-size: 1.4em; font-weight: 700; line-height: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
@media (max-width: 760px) { .desktop-nav { display: none; } .mobile-nav { display: block; } }
@media (max-width: 640px) { .identity-logo { width: 36px; height: 36px; } }

/* Stronger architecture flow connectors */
.paper-layer-arrow {
  height: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 0;
}
.paper-layer-arrow::before {
  content: "";
  width: 2px;
  height: 17px;
  background: var(--accent);
}
.paper-layer-arrow::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid var(--accent);
}

/* Refined privacy summary card */
.privacy-summary {
  padding: 32px;
  border: 1px solid #3c3e44;
  border-top: 4px solid var(--accent);
  border-radius: 3px;
  box-shadow: 0 14px 30px rgba(25, 27, 31, .12);
}
.privacy-summary ul {
  margin-top: 22px;
  padding-left: 0;
  display: grid;
  gap: 12px;
  list-style: none;
  line-height: 1.55;
}
.privacy-summary li {
  position: relative;
  padding-left: 18px;
}
.privacy-summary li::before {
  content: "";
  width: 6px;
  height: 6px;
  position: absolute;
  left: 0;
  top: .62em;
  border-radius: 50%;
  background: #d9aeba;
}
