/* TheraGraph AI website. Brand: navy #0B1F33, teal #0E7C86, cyan #13A3AE, paper #F2F6F8 (brand/theragraph-brand.css). */
@font-face { font-family: 'Inter'; src: url('../fonts/Inter-Variable.ttf') format('truetype'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Caveat'; src: url('../fonts/Caveat-Variable.ttf') format('truetype'); font-weight: 400 700; font-display: swap; }

:root {
  --navy: #0B1F33; --navy-2: #12304B; --teal: #0E7C86; --cyan: #13A3AE; --slate: #33475B; --grey: #6B7A8D;
  --line: #D6E0E6; --pale: #EAF3F4; --paper: #F4F7F9; --white: #FFFFFF; --warm: #C2412D; --amber: #B5651D;
  --accent: var(--teal);
  --r: 18px; --r-lg: 28px; --wrap: 1180px;
  --shadow: 0 1px 2px rgba(11, 31, 51, .06), 0 10px 30px rgba(11, 31, 51, .07);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Inter', system-ui, sans-serif; color: var(--slate); background: var(--white); line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; }
img, video, svg { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 750; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.hand { font-family: 'Caveat', cursive; font-weight: 700; color: var(--teal); letter-spacing: 0; }
.kicker { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.lead { font-size: 1.2rem; color: var(--slate); max-width: 46em; }
.muted { color: var(--grey); }
.section { padding: 96px 0; }
.section.tight { padding: 64px 0; }
.section.alt { background: var(--paper); }
.section.dark { background: var(--navy); color: #C9D6DE; }
.section.dark h2, .section.dark h3 { color: #fff; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } .section { padding: 64px 0; } body { font-size: 16px; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font-weight: 700; font-size: .98rem; border: 2px solid transparent; transition: transform .15s ease, background .15s ease; cursor: pointer; font-family: inherit; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: #0B6B74; }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-line { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-line:hover { border-color: var(--teal); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.32rem; color: var(--navy); letter-spacing: -0.03em; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand .g { color: var(--teal); } .brand sup { color: var(--grey); font-size: .55em; font-weight: 700; margin-left: 1px; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { color: var(--slate); font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 10px; }
.nav a:hover, .nav a.on { color: var(--navy); background: var(--pale); text-decoration: none; }
.nav .btn { margin-left: 10px; padding: 10px 18px; color: #fff; }
.nav .btn:hover { background: #0B6B74; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--navy); margin: 4px auto; }
@media (max-width: 1040px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; padding: 12px 24px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
}

/* ---------- hero ---------- */
.hero { padding: 26px 0 0; }
.hero-panel { position: relative; overflow: hidden; border-radius: var(--r-lg); background: radial-gradient(1200px 600px at 85% 20%, #1A4766 0%, var(--navy) 55%); color: #C9D6DE; padding: 72px 56px 64px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero-panel::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 48px 48px; pointer-events: none; }
.hero-panel > * { position: relative; }
.hero h1 { color: #fff; }
.hero h1 .g { color: #5FD0D6; }
.hero .lead { color: #C9D6DE; }
.hero .hand { color: #7FD6DC; font-size: 1.9rem; display: block; margin: -6px 0 22px; }
.hero .kicker { color: #7FD6DC; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-note { margin-top: 22px; font-size: .86rem; color: #8FA6B8; }
@media (max-width: 960px) { .hero-panel { grid-template-columns: 1fr; padding: 48px 26px 40px; } }

/* the animated Brain: graph mark, agent ring, orbiting chips */
.brain-art { width: 100%; max-width: 520px; margin: 0 auto; aspect-ratio: 1 / 1; }
.brain-art .ring { fill: none; stroke: rgba(127,214,220,.35); stroke-width: 2; stroke-dasharray: 8 10; animation: dash 30s linear infinite; }
.brain-art .edge { stroke: #fff; stroke-width: 5; stroke-linecap: round; }
.brain-art .edge.t { stroke: #5FD0D6; }
.brain-art .node { fill: #fff; } .brain-art .node.t { fill: #5FD0D6; }
.brain-art .lab { font: 800 13px Inter, sans-serif; letter-spacing: .12em; fill: #9FB3C2; }
.brain-art .agent circle { fill: var(--teal); stroke: #7FD6DC; stroke-width: 2; }
.brain-art .agent text { font: 800 15px Inter, sans-serif; fill: #fff; text-anchor: middle; dominant-baseline: central; }
.brain-art .pulse { fill: none; stroke: #7FD6DC; stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; animation: pulse 6s ease-out infinite; }
.brain-art .thread { stroke: rgba(95,208,214,.45); stroke-width: 1.6; stroke-dasharray: 4 6; animation: dash 6s linear infinite; }
.brain-art .orbit { animation: spin 60s linear infinite; transform-origin: 260px 260px; }
.brain-art .orbit .agent { animation: spin 60s linear infinite reverse; transform-box: fill-box; transform-origin: center; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes dash { to { stroke-dashoffset: -200; } }
@keyframes pulse { 0% { opacity: .9; transform: scale(1); } 40% { opacity: 0; transform: scale(2.2); } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .brain-art * { animation: none !important; } }

/* industry ticker */
.ticker { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; padding: 28px 0 0; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--pale); color: var(--navy); font-weight: 650; font-size: .92rem; border: 1px solid #D3E6E8; }
.chip:hover { text-decoration: none; border-color: var(--teal); }
.chip svg { width: 18px; height: 18px; }

/* ---------- cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.pillar .tag { display: inline-block; font-weight: 800; font-size: .78rem; letter-spacing: .14em; color: #fff; background: var(--navy); padding: 5px 10px; border-radius: 8px; margin-bottom: 14px; }
.pillar.how .tag { background: var(--teal); }
.icon-box { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--pale); color: var(--teal); margin-bottom: 16px; }
.icon-box svg { width: 28px; height: 28px; }

/* twin comparison */
.twin { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.twin > div { padding: 40px; }
.twin .rent { background: #fff; }
.twin .build { background: var(--navy); color: #C9D6DE; }
.twin .build h3 { color: #fff; }
.twin ul { padding-left: 0; list-style: none; margin: 18px 0 0; }
.twin li { padding: 10px 0 10px 32px; position: relative; border-top: 1px solid rgba(127,140,160,.18); }
.twin .rent li::before { content: '×'; position: absolute; left: 4px; color: var(--warm); font-weight: 800; }
.twin .build li::before { content: '✓'; position: absolute; left: 4px; color: #5FD0D6; font-weight: 800; }
.twin .hand { font-size: 1.6rem; }
.twin .build .hand { color: #7FD6DC; }
@media (max-width: 760px) { .twin { grid-template-columns: 1fr; } .twin > div { padding: 28px; } }

/* tabs (agent families) */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 32px 0 26px; }
.tab { border: 1px solid var(--line); background: #fff; color: var(--navy); font: 650 .95rem Inter, sans-serif; padding: 11px 18px; border-radius: 999px; cursor: pointer; }
.tab[aria-selected="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.panel { display: none; } .panel.on { display: grid; }
.agent-card { display: flex; gap: 16px; align-items: flex-start; }
.agent-card .dot { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: .9rem; }

/* autonomy ladder + loop */
.ladder { display: grid; gap: 12px; }
.rung { display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; }
.rung b { display: grid; place-items: center; height: 40px; border-radius: 20px; background: var(--teal); color: #fff; font-weight: 800; }
.rung:nth-child(2) b { background: #12909A; } .rung:nth-child(3) b { background: #3E7CA8; } .rung:nth-child(4) b { background: var(--grey); }
.rung h4 { margin: 0; font-size: 1.02rem; } .rung p { margin: 2px 0 0; font-size: .95rem; }
.loop { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; counter-reset: s; }
.loop div { background: var(--navy); color: #C9D6DE; border-radius: 14px; padding: 18px 14px; font-size: .9rem; position: relative; }
.loop div::before { counter-increment: s; content: counter(s, decimal-leading-zero); display: inline-block; background: var(--teal); color: #fff; font-weight: 800; font-size: .72rem; padding: 3px 8px; border-radius: 10px; margin-bottom: 10px; }
.loop b { display: block; color: #fff; font-size: 1rem; margin-bottom: 2px; }
@media (max-width: 960px) { .loop { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .loop { grid-template-columns: repeat(2, 1fr); } }

/* industries grid */
.ind-card { position: relative; display: block; color: var(--slate); padding: 28px; border-radius: var(--r); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); transition: transform .18s ease, border-color .18s ease; overflow: hidden; }
.ind-card:hover { transform: translateY(-3px); text-decoration: none; border-color: var(--accent); }
.ind-card::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--accent); }
.ind-card .icon-box { background: color-mix(in srgb, var(--accent) 12%, white); color: var(--accent); }
.ind-card h3 { margin-bottom: .3em; }
.ind-card .more { font-weight: 700; color: var(--accent); font-size: .92rem; }

/* day in the life */
.day { background: var(--navy); border-radius: var(--r-lg); padding: 40px; color: #C9D6DE; }
.day h2, .day h3 { color: #fff; }
.day-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 28px; }
.day-tabs button { background: rgba(255,255,255,.06); color: #C9D6DE; border: 1px solid rgba(255,255,255,.14); font: 650 .9rem Inter, sans-serif; padding: 9px 16px; border-radius: 999px; cursor: pointer; }
.day-tabs button[aria-selected="true"] { background: var(--teal); color: #fff; border-color: var(--teal); }
.clock { position: relative; height: 64px; margin: 8px 6px 24px; }
.clock .rule { position: absolute; left: 0; right: 0; top: 30px; height: 2px; background: rgba(255,255,255,.25); }
.clock .tick { position: absolute; top: 22px; width: 2px; height: 18px; background: rgba(255,255,255,.35); }
.clock .tick span { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); font-size: .72rem; color: #8FA6B8; }
.clock .stop { position: absolute; top: 14px; width: 34px; height: 34px; margin-left: -17px; border-radius: 50%; border: 2px solid #7FD6DC; background: var(--navy); color: #fff; font: 800 .66rem Inter, sans-serif; cursor: pointer; }
.clock .stop[aria-selected="true"] { background: var(--teal); border-color: #fff; }
.day-card { display: grid; grid-template-columns: 140px 1fr; gap: 24px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 26px; min-height: 140px; }
.day-card .t { font-family: 'Caveat', cursive; font-size: 3rem; color: #7FD6DC; line-height: 1; }
.day-card h3 { margin-bottom: .3em; }
@media (max-width: 640px) { .day { padding: 26px 18px; } .day-card { grid-template-columns: 1fr; gap: 6px; } .clock .tick span { display: none; } }

/* films */
.film { border-radius: var(--r); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.film .poster { position: relative; aspect-ratio: 16 / 9; background: var(--paper) center / cover; }
.film .poster .play { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, rgba(11,31,51,0) 40%, rgba(11,31,51,.55)); border: 0; cursor: pointer; width: 100%; }
.film .poster .play span { width: 66px; height: 66px; border-radius: 50%; background: var(--teal); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.film .poster .lock { position: absolute; left: 14px; bottom: 14px; background: rgba(11,31,51,.82); color: #fff; font-size: .78rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.film .body { padding: 20px 22px 24px; }
.film video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.feature-film { display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: center; }
@media (max-width: 900px) { .feature-film { grid-template-columns: 1fr; } }

/* industry page */
.ind-hero { padding: 26px 0 0; }
.ind-hero .hero-panel { background: radial-gradient(900px 500px at 90% 10%, color-mix(in srgb, var(--accent) 55%, var(--navy)) 0%, var(--navy) 60%); grid-template-columns: 1.3fr .7fr; }
.ind-hero .big-icon { width: min(240px, 60%); margin: 0 auto; color: #fff; opacity: .9; }
.ind-hero .big-icon svg { width: 100%; height: auto; }
.problem { border-left: 4px solid var(--accent); }
.mem-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.mem-list li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px 16px 52px; position: relative; font-family: 'Caveat', cursive; font-size: 1.45rem; color: var(--navy); line-height: 1.25; }
.mem-list li::before { content: ''; position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; margin-top: -10px; background: url('../img/theragraph-mark.svg') center / contain no-repeat; }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 960px) { .team { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 600px) { .team { grid-template-columns: 1fr; } }
.member { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.member .head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.member .code { width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; display: grid; place-items: center; }
.member .lvl { margin-left: auto; font-size: .74rem; font-weight: 800; letter-spacing: .06em; color: var(--accent); border: 2px solid var(--accent); padding: 3px 9px; border-radius: 999px; }
.member h3 { margin: 0; font-size: 1.05rem; }
.member .who { font-family: 'Caveat', cursive; font-size: 1.35rem; color: var(--warm); margin-top: 8px; line-height: 1.2; }
.timeline { position: relative; display: grid; gap: 14px; }
.timeline .row { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: start; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 18px 20px; }
.timeline .row .t { font-family: 'Caveat', cursive; font-size: 2.2rem; color: #7FD6DC; line-height: 1; }
.timeline .row b { color: #fff; }
.measures { display: flex; flex-wrap: wrap; gap: 10px; }
.measures span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-weight: 650; color: var(--navy); font-size: .93rem; }
.guard { display: flex; gap: 16px; align-items: flex-start; background: var(--pale); border-radius: var(--r); padding: 22px 24px; color: var(--navy); }
.guard svg { flex: 0 0 28px; color: var(--teal); }

/* CTA band + footer */
.cta-band { border-radius: var(--r-lg); background: linear-gradient(120deg, var(--teal), #0B5E66); color: #E3F3F4; padding: 56px; display: grid; grid-template-columns: 1.4fr auto; gap: 30px; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band .btn-primary { background: #fff; color: var(--navy); }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; padding: 36px 26px; } }
.site-footer { background: var(--navy); color: #8FA6B8; padding: 64px 0 30px; margin-top: 96px; font-size: .93rem; }
.site-footer a { color: #C9D6DE; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .brand { color: #fff; } .site-footer .brand .g { color: #5FD0D6; }
.site-footer .legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .82rem; }
@media (max-width: 860px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer .cols { grid-template-columns: 1fr; } }

/* forms */
.form { display: grid; gap: 14px; }
.form label { font-weight: 650; color: var(--navy); font-size: .92rem; display: grid; gap: 6px; }
.form input, .form select, .form textarea { font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--navy); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--cyan); border-color: transparent; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form .row2 { grid-template-columns: 1fr; } }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.page-head { padding: 72px 0 24px; }
.crumb { font-size: .86rem; color: var(--grey); margin-bottom: 14px; } .crumb a { color: var(--grey); }
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.brand .word { display: inline-flex; align-items: baseline; }
.ind-hero { color: #C9D6DE; }
.ind-hero h1 { color: #fff; } .ind-hero .lead { color: #C9D6DE; } .ind-hero .kicker { color: #7FD6DC; }
@media (max-width: 640px) { .clock .stop { width: 26px; height: 26px; margin-left: -13px; top: 18px; font-size: .58rem; } }

/* ---------- real photographs (Unsplash, credited) ---------- */
.photo { margin: 0; position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--pale); box-shadow: var(--shadow); }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo figcaption { position: absolute; right: 10px; bottom: 10px; font-size: .7rem; color: #fff; background: rgba(11,31,51,.55); padding: 3px 9px; border-radius: 999px; }
.photo figcaption a { color: #fff; }
.people-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 250px 210px; gap: 16px; }
.mosaic .tall { grid-row: span 2; }
.mosaic .photo { height: 100%; }
.hero-photo .photo { aspect-ratio: 4 / 5; border: 6px solid rgba(255,255,255,.12); box-shadow: 0 20px 50px rgba(0,0,0,.35); max-width: 380px; margin: 0 auto; }
.ind-hero .hero-panel { align-items: center; }
.about-grid { align-items: center; }
.about-grid .photo { aspect-ratio: 3 / 4; }
@media (max-width: 960px) {
  .people-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-photo .photo { max-width: 300px; }
  .about-grid { grid-template-columns: 1fr; } .about-grid .photo { max-width: 420px; margin: 0 auto; }
}
@media (max-width: 560px) { .mosaic { grid-template-rows: 200px 170px; gap: 10px; } }
.photo figcaption { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: calc(100% - 20px); }
@media (max-width: 560px) { .photo figcaption { font-size: .58rem; padding: 2px 7px; right: 6px; bottom: 6px; max-width: calc(100% - 12px); } }

/* ---------- soft photo banners (owner reference: bright, airy, soft-focus photo behind light text) ---------- */
.banner { position: relative; overflow: hidden; padding: 120px 0 96px; min-height: 440px; isolation: isolate; background: #EEF3F5; }
.banner::before { content: ''; position: absolute; inset: -12px; z-index: -2; background: var(--photo) center / cover no-repeat;
  filter: blur(2.5px) saturate(.82) brightness(1.06); transform: scale(1.03); }
.banner::after { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.86) 42%, rgba(255,255,255,.45) 72%, rgba(255,255,255,.18) 100%); }
.banner h1 { font-weight: 300; font-size: clamp(2.4rem, 5.2vw, 4.4rem); letter-spacing: -0.03em; max-width: 13em; }
.banner .lead { color: var(--slate); max-width: 38em; }
.banner .crumb, .banner .crumb a { color: var(--grey); }
.banner-credit { position: absolute; right: 14px; bottom: 12px; font-size: .7rem; color: var(--slate); background: rgba(255,255,255,.75); padding: 3px 10px; border-radius: 999px; z-index: 1; }
.banner-credit a { color: var(--slate); }
.ind-banner .kicker { color: var(--accent); }
.ind-banner h1 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
@media (max-width: 760px) {
  .banner { padding: 80px 0 64px; min-height: 0; }
  .banner::after { background: linear-gradient(180deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.82) 60%, rgba(255,255,255,.7) 100%); }
}
/* home band: four bright scenes, 2 × 2 */
.mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 230px 230px; }
.mosaic .photo { height: 100%; }
.mosaic .photo img, .about-grid .photo img { filter: saturate(.9) brightness(1.04); }
@media (max-width: 560px) { .mosaic { grid-template-rows: 170px 170px; } }

/* ---------- projects on board: dotted world map with red markers ---------- */
.world { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px 30px 26px; box-shadow: var(--shadow); }
.map { position: relative; width: 100%; max-width: 1100px; margin: 0 auto; }
.map img { width: 100%; height: auto; }
.pin { position: absolute; width: 0; height: 0; }
.pin .dot { position: absolute; left: -8px; top: -8px; width: 16px; height: 16px; border-radius: 50%; background: #D7261E; box-shadow: 0 0 0 3px #fff, 0 2px 8px rgba(215,38,30,.45); }
.pin .dot::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid #D7261E; animation: pin 2.4s ease-out infinite; }
.pin:nth-child(3) .dot::after { animation-delay: .5s; } .pin:nth-child(4) .dot::after { animation-delay: 1s; }
.pin:nth-child(5) .dot::after { animation-delay: 1.5s; } .pin:nth-child(6) .dot::after { animation-delay: 2s; }
@keyframes pin { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }
.pin .lbl { position: absolute; white-space: nowrap; font-size: .82rem; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; box-shadow: 0 2px 8px rgba(11,31,51,.08); }
.pin.l .lbl { right: 16px; top: -12px; } .pin.r .lbl { left: 16px; top: -12px; }
.pin.t .lbl { left: 50%; bottom: 16px; transform: translateX(-50%); } .pin.b .lbl { left: 50%; top: 16px; transform: translateX(-50%); }
.places { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.place { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--navy); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: .92rem; }
.place i { width: 10px; height: 10px; border-radius: 50%; background: #D7261E; }
@media (prefers-reduced-motion: reduce) { .pin .dot::after { animation: none; } }
@media (max-width: 760px) { .world { padding: 20px 12px 16px; } .pin .lbl { display: none; } .pin .dot { width: 10px; height: 10px; left: -5px; top: -5px; } }
@media (max-width: 760px) { .pin .dot { box-shadow: 0 0 0 2px #fff; } .pin .dot::after { inset: -3px; border-width: 1.5px; animation-name: pin-sm; } }
@keyframes pin-sm { 0% { transform: scale(.7); opacity: .8; } 100% { transform: scale(1.8); opacity: 0; } }
/* home headline: each sentence on one line (owner direction), sized to fit the hero column */
.hero-title { font-size: clamp(1.55rem, 3.15vw, 2.9rem); }
.hero-title .line { display: block; white-space: nowrap; }
@media (max-width: 960px) { .hero-title { font-size: clamp(1.45rem, 6.4vw, 2.9rem); } }

/* ---------- moving logo ribbons ---------- */
.ribbon-sec { padding: 46px 0 10px; }
.ribbon-head { text-align: center; font-weight: 700; color: var(--navy); font-size: 1.15rem; margin: 0 0 22px; }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee .track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee .dup { display: flex; }
.marquee.rev .track { animation-direction: reverse; animation-duration: 56s; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.mlogo { display: inline-flex; align-items: center; gap: 12px; padding: 10px 46px; white-space: nowrap; }
.mlogo img { width: 34px; height: 34px; }
.mlogo b { font-size: 1.7rem; font-weight: 700; letter-spacing: -0.02em; }
.systems-rows { display: grid; gap: 22px; margin-top: 40px; }
.tile { flex: 0 0 auto; width: 96px; height: 96px; margin: 0 22px; display: grid; place-items: center; background: #fff; border-radius: 16px; box-shadow: 0 1px 2px rgba(11,31,51,.06), 0 6px 18px rgba(11,31,51,.08); }
.tile img { width: 46px; height: 46px; }
@media (max-width: 640px) { .mlogo { padding: 8px 26px; } .mlogo b { font-size: 1.3rem; } .mlogo img { width: 28px; height: 28px; }
  .tile { width: 72px; height: 72px; margin: 0 12px; border-radius: 14px; } .tile img { width: 36px; height: 36px; } }
@media (prefers-reduced-motion: reduce) { .marquee .track { animation: none; } }
.systems-rows .marquee { padding: 6px 0 14px; } .systems-rows { gap: 8px; }
