/* Ameer Suhail K B portfolio. Tokens first; components use tokens only. */
:root {
  --bg: #f6f2ec;
  --card: #ffffff;
  --ink: #14212d;
  --body: #2b3743;
  --muted: #56616d;
  --soft: #efe6dc;
  --deep: #14212d;
  --deep-2: #1d2f3e;
  --accent: #b8362a;
  --accent-ink: #ffffff;
  --hl: #f4c542;
  --line: #e4dbd0;
  --on-deep: #f3efe9;
  --on-deep-2: #c9d2da;
  --r-xl: 32px; --r-lg: 24px; --r-md: 16px;
  --shadow-sm: 0 1px 2px rgba(20,33,45,.06), 0 2px 6px rgba(20,33,45,.06);
  --shadow-md: 0 1px 2px rgba(20,33,45,.05), 0 6px 16px rgba(20,33,45,.07), 0 18px 40px rgba(20,33,45,.07);
  --pad: clamp(16px, 3vw, 32px);
  --max: 1280px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font: 500 17px/1.6 var(--font); color: var(--body); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; text-wrap: balance; }
h2 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.4rem); letter-spacing: -.04em; }
h3 { font-size: 20px; letter-spacing: -.02em; line-height: 1.25; }
b { color: var(--ink); font-weight: 700; }
.ico { width: 20px; height: 20px; flex: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.band :focus-visible { outline-color: var(--hl); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.kicker { font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }

/* Buttons */
.pill { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s; }
.pill:hover { transform: translateY(-2px); }
.pill:active { transform: scale(.98); }
.pill-accent { background: var(--accent); color: var(--accent-ink); }
.pill-accent:hover { background: #a02e23; }
.pill-soft { background: var(--card); color: var(--ink); box-shadow: var(--shadow-sm); }
.pill-hl { background: var(--hl); color: var(--ink); }
.pill-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: var(--max); margin: 0 auto; padding: 14px var(--pad); background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); text-decoration: none; letter-spacing: -.02em; font-size: 18px; }
.mono { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent); color: #fff; font-size: 15px; letter-spacing: 0; }
.nav ul { display: flex; gap: 4px; }
.nav li a { display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink); }
.nav li a:hover { background: var(--soft); }

/* Hero */
.hero { max-width: var(--max); margin: 8px auto 0; padding: 0 var(--pad); display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(2.8rem, 1.2rem + 4.8vw, 5.6rem); letter-spacing: -.05em; line-height: 1; }
.hl { position: relative; white-space: nowrap; color: var(--accent); }
.lead { font-size: clamp(18px, 1rem + .4vw, 21px); color: var(--body); max-width: 34em; margin-top: 22px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.pdf { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 8px 2px; font-weight: 700; color: var(--ink); text-underline-offset: 4px; min-height: 44px; }
.pdf small { font-weight: 500; color: var(--muted); font-size: 14px; }
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 26px; }
.roles li { background: var(--card); border-radius: var(--r-md); padding: 14px 16px; box-shadow: var(--shadow-sm); border-top: 3px solid var(--accent); }
.roles b { display: block; font-size: 16px; line-height: 1.3; }
.roles span { font-size: 14px; color: var(--muted); }
.hero-media { position: relative; }
.hero-photo { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 5; background: var(--soft); box-shadow: var(--shadow-md); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; animation: zoom 20s ease-out both; }
@keyframes zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.float { position: absolute; display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: var(--r-md); padding: 12px 16px; box-shadow: var(--shadow-md); color: var(--ink); font-size: 14px; line-height: 1.3; }
.float b { display: block; font-size: 15px; }
.float .ico { color: var(--accent); }
.f1 { left: -28px; top: 12%; flex-direction: column; align-items: flex-start; gap: 0; background: var(--accent); color: #fff; }
.f1 b { font-size: 34px; letter-spacing: -.04em; color: #fff; line-height: 1; }
.f1 span { color: #fff; opacity: .92; }
.f2 { right: -20px; bottom: 16%; max-width: 230px; }
.f3 { left: 20px; bottom: 20px; font-weight: 700; }

/* Strip */
.strip { margin: clamp(56px, 7vw, 96px) 0 0; background: var(--deep); color: var(--on-deep); overflow: hidden; padding: 18px 0; }
.strip-track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.strip:hover .strip-track { animation-play-state: paused; }
.strip ul { display: flex; }
.strip li { display: flex; align-items: center; gap: 28px; padding-right: 28px; font-weight: 700; font-size: 18px; white-space: nowrap; }
.strip li::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--hl); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.sec { max-width: var(--max); margin: 0 auto; padding: clamp(72px, 9vw, 128px) var(--pad) 0; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; margin-bottom: 36px; }
.sec-head > p { max-width: 30em; color: var(--body); }

/* About */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.about-photo { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-md); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.about-text h2 { margin-bottom: 22px; }
.about-text > p:not(.kicker) { max-width: 60ch; margin-top: 16px; }
.studies { margin-top: 24px; }
.studies h3 { font-size: 17px; margin-bottom: 8px; }
.studies li { position: relative; padding-left: 20px; margin-top: 4px; font-size: 16px; }
.studies li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.quote { margin-top: 28px; padding: 24px 28px; background: var(--card); border-radius: var(--r-lg); border-left: 5px solid var(--accent); box-shadow: var(--shadow-sm); }
.quote p { font-size: clamp(19px, 1rem + .6vw, 24px); font-weight: 700; color: var(--ink); line-height: 1.4; letter-spacing: -.01em; }
.facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.facts li { background: var(--card); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.facts b { display: block; font-size: clamp(36px, 2rem + 1.2vw, 52px); letter-spacing: -.05em; color: var(--accent); line-height: 1; margin-bottom: 8px; }
.facts span { font-size: 15px; color: var(--body); line-height: 1.45; display: block; }

/* Work */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); font-weight: 700; font-size: 15px; cursor: pointer; color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.project[hidden] { display: none; }
.project-btn { all: unset; box-sizing: border-box; display: flex; flex-direction: column; width: 100%; height: 100%; background: var(--card); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); cursor: pointer; transition: transform .25s, box-shadow .25s; }
.project-btn:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.project-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.project-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); }
.project-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .5s; }
.project-btn:hover .project-img img { transform: scale(1.04); }
.count { position: absolute; right: 12px; top: 12px; display: flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(20,33,45,.82); color: #fff; font-size: 14px; font-weight: 700; }
.count .ico { width: 16px; height: 16px; }
.project-txt { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px 22px; }
.project-txt b { font-size: 19px; letter-spacing: -.02em; }
.project-txt > span { color: var(--body); font-size: 16px; line-height: 1.45; }
.project-txt small { color: var(--muted); font-size: 14px; margin-top: 4px; }
.clients { margin-top: 28px; font-size: 16px; color: var(--body); max-width: 80ch; }
.clients a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--accent); text-underline-offset: 4px; }
.clients a .ico { width: 16px; height: 16px; }

/* Community band */
.band { background: var(--deep); color: var(--on-deep-2); margin-top: clamp(72px, 9vw, 128px); border-radius: var(--r-xl); margin-inline: 12px; }
.band-in { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 8vw, 112px) var(--pad); }
.band h2, .band h3, .band b { color: #fff; }
.band .kicker { color: var(--hl); }
.band .sec-head > p { color: var(--on-deep-2); }
.mind { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.mind-intro { background: var(--deep-2); border-radius: var(--r-lg); padding: 28px; }
.mind-logo { width: 190px; margin-bottom: 20px; }
.mind-intro h3 { font-size: 24px; margin-bottom: 10px; }
.mind-intro p { color: var(--on-deep); }
.link-light { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--hl); font-weight: 700; min-height: 44px; text-underline-offset: 4px; }
.link-light .ico { width: 16px; height: 16px; }
.tasks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tasks li { background: var(--deep-2); border-radius: var(--r-md); padding: 18px 18px 18px 46px; color: var(--on-deep); font-weight: 600; font-size: 16px; line-height: 1.4; position: relative; }
.tasks li::before { content: ""; position: absolute; left: 18px; top: 22px; width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--hl); }
.idam { margin-top: 56px; }
.idam-head { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 8px 40px; margin-bottom: 22px; }
.idam-head .link-light { margin-top: 0; }
@media (max-width: 1080px) { .idam-head { grid-template-columns: 1fr; } }
.idam-head h3 { font-size: clamp(24px, 1.2rem + 1vw, 32px); }
.idam-head p { max-width: 46em; color: var(--on-deep); }
.covers { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.covers span { display: block; margin-top: 8px; font-size: 14px; color: var(--on-deep-2); font-weight: 600; }
.cover-btn { all: unset; box-sizing: border-box; display: block; width: 100%; border-radius: 12px; overflow: hidden; cursor: pointer; aspect-ratio: 641 / 910; background: var(--deep-2); transition: transform .25s; }
.cover-btn:hover { transform: translateY(-4px) rotate(-1deg); }
.cover-btn:focus-visible { outline: 3px solid var(--hl); outline-offset: 3px; }
.cover-btn img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tiles { display: grid; grid-template-columns: 1fr 2fr; gap: 16px; margin-top: 56px; }
.tile-col { display: grid; gap: 16px; }
.tile { background: var(--deep-2); border-radius: var(--r-lg); padding: 28px; }
.tile h3 { font-size: 22px; margin: 14px 0 10px; }
.tile p { color: var(--on-deep); }
.tile-ico { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--hl); color: var(--ink); }
.tile .date { margin-top: 14px; font-weight: 700; color: var(--hl); font-size: 15px; }
.tile .date + h3 { margin-top: 4px; }
.tile-apollo { display: grid; grid-template-columns: 1fr 1.25fr; gap: 24px; align-items: center; }
.apollo-pics { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; }
.apollo-pics li:first-child { grid-column: 1 / -1; }
.apollo-pics .cover-btn { aspect-ratio: 16 / 9; }
.apollo-pics li:not(:first-child) .cover-btn { aspect-ratio: 4 / 3; }
.apollo-pics li:last-child img { object-position: 50% 30%; }

/* Journey timeline */
.timeline { position: relative; max-width: 860px; --fill: 0; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 131px; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--line); }
.timeline::after { background: var(--accent); transform-origin: top; transform: scaleY(var(--fill)); }
.step { display: grid; grid-template-columns: 110px 1fr; gap: 48px; padding: 0 0 36px; position: relative; }
.step::before { content: ""; position: absolute; left: 124px; top: 6px; width: 17px; height: 17px; border-radius: 50%; background: var(--bg); border: 3px solid var(--line); z-index: 1; transition: border-color .3s, background .3s; }
.step.on::before { border-color: var(--accent); background: var(--accent); }
.when { font-weight: 800; color: var(--ink); text-align: right; font-size: 16px; line-height: 1.5; padding-top: 1px; }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--body); max-width: 52ch; }
.step:last-child { padding-bottom: 0; }

/* Services */
.svc { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.svc li { background: var(--card); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-sm); }
.svc-ico { width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: var(--soft); color: var(--accent); margin-bottom: 16px; }
.svc h3 { font-size: 17px; margin-bottom: 6px; }
.svc p { font-size: 15px; line-height: 1.5; }
.sub { font-size: clamp(24px, 1.2rem + 1vw, 32px); margin: 64px 0 20px; }
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.products li { background: var(--card); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-sm); border-top: 4px solid var(--hl); display: flex; flex-direction: column; }
.products h4 { font-size: 19px; letter-spacing: -.02em; margin-bottom: 8px; }
.products p { flex: 1; }
.products a { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 700; color: var(--accent); min-height: 44px; text-underline-offset: 4px; }
.products a .ico { width: 16px; height: 16px; }

/* Contact */
.contact { padding-bottom: clamp(56px, 7vw, 96px); }
.contact-card { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); background: var(--accent); color: #fff; border-radius: var(--r-xl); padding: clamp(28px, 5vw, 64px); }
.contact-card h2, .contact-card b { color: #fff; }
.contact-card .kicker { color: var(--hl); }
.contact-text > p:not(.kicker) { margin-top: 16px; max-width: 40em; color: #fff; }
.links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
.links .wide-link { grid-column: 1 / -1; }
.links a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r-md); background: rgba(255,255,255,.12); text-decoration: none; min-height: 64px; transition: background .2s; }
.links a:hover { background: rgba(255,255,255,.2); }
.links span { display: flex; flex-direction: column; font-weight: 700; font-size: 15px; line-height: 1.3; word-break: break-word; }
.links small { font-weight: 500; font-size: 14px; opacity: .9; }
.links .ico { width: 22px; height: 22px; }
.contact-card :focus-visible { outline-color: var(--hl); }
.composer { background: var(--card); color: var(--ink); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; box-shadow: var(--shadow-md); align-self: start; }
.composer label { font-weight: 700; font-size: 15px; margin: 14px 0 6px; }
.composer label:first-child { margin-top: 0; }
.composer small { font-weight: 500; color: var(--muted); }
.composer input, .composer select, .composer textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); font-size: 16px; }
.composer textarea { resize: vertical; }
.composer input:focus, .composer select:focus, .composer textarea:focus { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.composer .pill { margin-top: 18px; justify-content: center; }
.composer :focus-visible { outline-color: var(--accent); }
.err { color: var(--accent); font-weight: 700; font-size: 15px; margin-top: 10px; }

/* Footer, fab */
.foot { max-width: var(--max); margin: 0 auto; padding: 24px var(--pad) 40px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; color: var(--muted); border-top: 1px solid var(--line); }
.foot a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: var(--shadow-md); transform: translateY(120px); transition: transform .35s; }
.fab .ico { width: 30px; height: 30px; }
.fab.show { transform: none; }

/* Lightbox */
.lightbox { border: 0; padding: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: rgba(12,18,24,.96); color: #fff; }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr; }
.lightbox::backdrop { background: rgba(12,18,24,.9); }
.lb-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 16px 12px 24px; }
.lb-top p { font-weight: 700; font-size: 17px; }
.lightbox figure { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 80px 24px; min-height: 0; }
.lightbox img { max-width: 100%; max-height: calc(100dvh - 150px); object-fit: contain; border-radius: 8px; }
.lightbox figcaption { margin-top: 12px; color: #d5dce2; font-size: 15px; text-align: center; }
.lb-btn { width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lb-btn:hover { background: rgba(255,255,255,.22); }
.lb-btn .ico { width: 24px; height: 24px; }
.lb-btn:focus-visible { outline: 3px solid var(--hl); }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 16px; } .lb-next { right: 16px; }
.lb-single .lb-prev, .lb-single .lb-next { display: none; }

/* Motion */
.js .rise { opacity: 0; animation: rise .8s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--d, 0) * 90ms + 100ms); }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--d, 0) * 80ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* Tablet */
@media (max-width: 1080px) {
  .nav ul { display: none; }
  .hero { grid-template-columns: 1fr 1fr; }
  .roles { grid-template-columns: 1fr; }
  .f1 { left: -12px; } .f2 { right: -8px; }
  .about { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .projects { grid-template-columns: repeat(2, 1fr); }
  .projects .wide { grid-column: 1 / -1; }
  .projects .wide .project-btn { flex-direction: row; }
  .projects .wide .project-img { flex: 1; aspect-ratio: auto; min-height: 220px; }
  .projects .wide .project-txt { flex: 1; justify-content: center; }
  .mind { grid-template-columns: 1fr; }
  .covers { grid-template-columns: repeat(5, 1fr); gap: 10px; }
  .tiles { grid-template-columns: 1fr; }
  .svc { grid-template-columns: repeat(2, 1fr); }
  .products { grid-template-columns: 1fr; }
  .contact-card { grid-template-columns: 1fr; }
}
/* Phone */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { padding-block: 10px; }
  .hero { grid-template-columns: 1fr; margin-top: 4px; }
  .hero-media { order: -1; }
  .hero-photo { aspect-ratio: 4 / 4.2; border-radius: var(--r-lg); }
  .hero-photo img { object-position: 50% 78%; }
  .f1 { left: 12px; top: 12px; padding: 10px 14px; }
  .f1 b { font-size: 26px; }
  .f2 { right: 12px; bottom: 12px; max-width: 200px; padding: 10px 12px; }
  .f3 { display: none; }
  .lead { margin-top: 16px; }
  .cta { margin-top: 22px; }
  .cta .pill { flex: 1 1 100%; justify-content: center; }
  .sec-head { flex-direction: column; align-items: flex-start; margin-bottom: 26px; }
  .about { grid-template-columns: 1fr; }
  .about-photo { position: static; aspect-ratio: 4 / 4.4; border-radius: var(--r-lg); }
  .facts li { padding: 18px; }
  .projects { grid-template-columns: 1fr; }
  .projects .wide .project-btn { flex-direction: column; }
  .projects .wide .project-img { flex: none; aspect-ratio: 4 / 3; min-height: 0; }
  .band { margin-inline: 8px; border-radius: var(--r-lg); }
  .mind-intro, .tile { padding: 22px; }
  .tasks { grid-template-columns: 1fr; }
  .covers { grid-template-columns: repeat(2, 1fr); }
  .tile-apollo { grid-template-columns: 1fr; }
  .timeline::before, .timeline::after { left: 7px; }
  .step { grid-template-columns: 1fr; gap: 4px; padding-left: 36px; padding-bottom: 30px; }
  .step::before { left: 0; top: 3px; }
  .when { text-align: left; color: var(--accent); }
  .svc { gap: 8px; }
  .svc li { padding: 16px; }
  .svc-ico { margin-bottom: 12px; }
  .links { grid-template-columns: 1fr; }
  .contact-card { border-radius: var(--r-lg); }
  .composer { padding: 20px; }
  .lightbox figure { padding: 0 12px 84px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
  .lb-prev { left: calc(50% - 64px); } .lb-next { right: calc(50% - 64px); }
}
@media (max-width: 380px) {
  .svc { grid-template-columns: 1fr; }
  .facts b { font-size: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rise, .js .reveal { opacity: 1; transform: none; }
  .strip { overflow-x: auto; }
  .strip-track { width: auto; }
  .strip ul[aria-hidden] { display: none; }
  .timeline { --fill: 1 !important; }
  .step::before { border-color: var(--accent); background: var(--accent); }
}
