/* ------------------------------------------------------------------
   Seda Mikyan — portfolio (V2). Structure and motion modelled on midu.design.
   Components map to the Figma "V2 Components" page.
------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--color-bg-canvas);
  color: var(--color-text-primary);
  font-family: var(--font-sans);
  font-size: 18px; line-height: 1.3; letter-spacing: -0.02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; letter-spacing: inherit; }
h1, h2, h3, h4, p { margin: 0; font-weight: 500; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--color-text-primary); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--red-500); color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: 100%; padding: 0 var(--layout-gutter); }
.narrow { width: 100%; max-width: var(--layout-content-max); margin: 0 auto; }

/* ---------- Type ramp (Figma V2 text styles) ---------- */
.statement { font-weight: 500; font-size: clamp(40px, 5.7vw, 82px); line-height: 1; letter-spacing: -0.04em; }
.statement .dim { color: var(--color-text-secondary); }
.statement .dimmer { color: var(--color-text-muted); }
.giant { font-weight: 600; font-size: clamp(150px, 36vw, 520px); line-height: 0.85; letter-spacing: -0.04em; }
.price { font-weight: 500; font-size: clamp(44px, 4.2vw, 60px); line-height: 1.1; letter-spacing: -0.04em; }
.h1 { font-weight: 500; font-size: clamp(26px, 2.2vw, 32px); line-height: 1.1; letter-spacing: -0.02em; }
.card-title { font-weight: 500; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.1; letter-spacing: -0.02em; }
.section-title { font-weight: 500; font-size: clamp(26px, 2.2vw, 32px); line-height: 1; letter-spacing: -0.04em; }
.service-title { font-weight: 600; font-size: clamp(26px, 2.1vw, 30px); line-height: 1.1; letter-spacing: -0.04em; }
.lead { font-weight: 500; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.3; letter-spacing: -0.04em; }
.body { font-size: 18px; line-height: 1.3; letter-spacing: -0.02em; }
.body-s { font-size: 16px; font-weight: 500; line-height: 1.3; letter-spacing: -0.03em; }
.label { font-size: 16px; font-weight: 500; line-height: 1.2; letter-spacing: -0.02em; }
.meta { font-size: 14px; line-height: 1.1; letter-spacing: -0.02em; }
.chip-text { font-size: 14px; font-weight: 500; letter-spacing: -0.03em; }
.tiny { font-size: 12px; letter-spacing: -0.03em; }
.dim { color: var(--color-text-secondary); }
.muted { color: var(--color-text-muted); }
.soft { color: var(--color-text-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 24px; border-radius: var(--radius-full);
  font-weight: 500; font-size: 18px; line-height: 1.1; letter-spacing: -0.03em; white-space: nowrap;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) ease;
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform var(--dur-fast) var(--ease-out); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(0.98); }
.btn:hover .i-arrow { transform: translate(2px, -2px); }
.btn:hover .i-spark { transform: rotate(90deg) scale(1.15); }
.btn--white { background: var(--color-bg-inverse); color: var(--color-text-on-inverse); }
.btn--white:hover { background: var(--light-100); }
.btn--dark { background: var(--color-bg-card-solid); color: var(--color-text-primary); }
.btn--dark:hover { background: var(--gray-750); }
.btn--glass { background: var(--color-bg-glass); color: var(--color-text-primary); }
.btn--glass:hover { background: var(--color-bg-glass-hover); }
.btn--light { background: var(--color-bg-light-chip); color: var(--color-text-on-light); }
.btn--light:hover { background: #dedede; }
.btn--sm { padding: 12px 18px; font-size: 15px; }
.chip { display: inline-flex; padding: 10px 14px; border-radius: var(--radius-full); background: var(--color-bg-glass); color: var(--color-text-soft); font-size: 14px; font-weight: 500; letter-spacing: -0.03em; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.chip--light { background: rgba(255, 255, 255, 0.7); color: var(--color-text-on-light-muted); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 20px var(--layout-gutter); pointer-events: none;
}
.nav > * { pointer-events: auto; }
.wordmark { display: inline-flex; align-items: center; gap: 7px; font-weight: 500; font-size: 26px; letter-spacing: -0.04em; line-height: 1; }
.wordmark::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--color-accent-glow); box-shadow: 0 0 12px var(--color-accent-glow); }
.nav__right { justify-self: end; }
.nav-pill {
  position: relative; justify-self: center;
  display: flex; align-items: center; gap: 56px;
  padding: 18px 20px; border-radius: var(--radius-nav);
  background: var(--color-bg-card); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  transition: background-color var(--dur-fast) ease, border-radius var(--dur-base) var(--ease-out);
}
.nav-pill__btn { display: inline-flex; align-items: center; gap: 8px; font-size: 18px; letter-spacing: -0.03em; font-weight: 400; }
.nav-pill__btn svg { width: 16px; height: 16px; transition: transform var(--dur-base) var(--ease-out); }
.nav-pill__btn .label-close { display: none; }
.nav.menu-open .nav-pill__btn .label-open { display: none; }
.nav.menu-open .nav-pill__btn .label-close { display: inline; }
.nav.menu-open .nav-pill__btn svg { transform: rotate(90deg); }
.nav-pill__note { color: var(--color-text-secondary); font-size: 14px; letter-spacing: -0.02em; }
@media (max-width: 767px) {
  .nav { grid-template-columns: auto 1fr auto; gap: 12px; padding: 16px var(--layout-gutter); }
  .nav-pill { gap: 0; padding: 14px 16px; }
  .nav-pill__note { display: none; }
  .nav__right .btn span { display: none; }
  .nav__right .btn { padding: 14px; }
}

/* Menu panel */
.menu {
  position: fixed; z-index: 45; top: 88px; left: 50%; width: min(460px, calc(100% - 2 * var(--layout-gutter)));
  transform: translate(-50%, -12px) scale(0.98); transform-origin: top center;
  background: rgba(21, 21, 21, 0.92); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-radius: 20px; padding: 8px 8px 24px; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.7);
  opacity: 0; visibility: hidden; transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), visibility 0s linear var(--dur-base);
}
.menu.is-open { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); transition-delay: 0s; }
.menu__item {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 16px; border-radius: 14px; font-size: 24px; font-weight: 400; letter-spacing: -0.03em;
  transition: background-color var(--dur-fast) ease;
}
.menu__item:hover { background: var(--color-bg-glass); }
.menu__item + .menu__item { border-top: 1px solid var(--color-border-subtle); border-radius: 0 0 14px 14px; }
.menu__thumb { width: 60px; height: 44px; border-radius: 10px; object-fit: cover; background: var(--gray-750); }
.menu__foot { padding: 24px 16px 0; display: flex; flex-direction: column; gap: 10px; }
.menu__foot small { color: var(--color-text-muted); font-size: 12px; letter-spacing: -0.03em; }
.menu__foot a { font-size: 16px; letter-spacing: -0.03em; }
.menu__foot a:hover { color: var(--color-text-secondary); }
@media (max-width: 767px) { .menu { top: 76px; } }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; }
.hero__glow {
  position: absolute; left: 50%; bottom: -10%; width: 120vw; max-width: 1500px; aspect-ratio: 2 / 1;
  transform: translateX(-50%);
  background:
    radial-gradient(45% 55% at 42% 60%, rgba(255, 90, 60, 0.95) 0%, rgba(255, 42, 18, 0.7) 35%, rgba(255, 42, 18, 0) 70%),
    radial-gradient(60% 60% at 40% 65%, rgba(255, 42, 18, 0.55) 0%, rgba(255, 42, 18, 0) 70%);
  filter: blur(40px); opacity: 0;
  animation: glow-in 1.6s var(--ease-out) 0.2s forwards, glow-breathe 9s ease-in-out 2s infinite;
}
@keyframes glow-in { to { opacity: 1; } }
@keyframes glow-breathe { 0%, 100% { transform: translateX(-50%) scale(1); } 50% { transform: translateX(-52%) scale(1.06); } }
.hero__giant {
  position: absolute; left: 50%; bottom: -0.16em; transform: translateX(-50%);
  white-space: nowrap; user-select: none; pointer-events: none;
  background: linear-gradient(180deg, #1f0906 0%, #f24026 48%, #ffd9d2 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0; animation: giant-in 1.4s var(--ease-out) 0.35s forwards;
}
@keyframes giant-in { from { opacity: 0; transform: translate(-50%, 60px); } to { opacity: 1; transform: translate(-50%, 0); } }
.hero__noise { position: absolute; inset: 0; pointer-events: none; opacity: 0.35; mix-blend-mode: soft-light; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero__fade { position: absolute; inset: auto 0 0 0; height: 28%; background: linear-gradient(180deg, rgba(5,5,5,0) 0%, rgba(5,5,5,0.9) 100%); pointer-events: none; }
.hero__h1 { position: absolute; right: var(--layout-gutter); top: 18%; width: min(400px, 60%); }
.hero__labels { position: absolute; left: var(--layout-gutter); right: var(--layout-gutter); top: 33%; display: flex; justify-content: space-between; align-items: center; gap: 24px; color: var(--color-text-secondary); font-size: 14px; letter-spacing: -0.02em; }
.hero__labels .time { display: inline-flex; align-items: center; gap: 6px; color: var(--color-text-primary); font-weight: 500; }
.hero__labels .time svg { width: 14px; height: 14px; animation: spin 24s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__labels .scroll { display: inline-flex; align-items: center; gap: 6px; color: var(--color-text-muted); }
.hero__labels .scroll svg { width: 12px; height: 12px; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
.hero__labels .left { display: flex; gap: 40px; align-items: center; }
@media (max-width: 767px) {
  .hero { min-height: 640px; }
  .hero__h1 { right: auto; left: var(--layout-gutter); top: 150px; width: min(320px, 90%); }
  .hero__labels { top: auto; bottom: 46%; flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero__labels .left { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero__labels .scroll { display: none; }
  .hero__giant { bottom: -0.1em; }
  .hero__glow { width: 190vw; aspect-ratio: 1.3 / 1; bottom: -6%; filter: blur(30px); }
}

/* ---------- Word reveal ---------- */
.w { display: inline-block; opacity: 0.001; filter: blur(4px); transform: translateY(0.25em); transition: opacity 0.7s var(--ease-out), filter 0.7s var(--ease-out), transform 0.7s var(--ease-out); transition-delay: calc(var(--i, 0) * 45ms); }
.in .w { opacity: 1; filter: blur(0); transform: none; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Sections ---------- */
.section { padding: var(--layout-section-gap) var(--layout-gutter) 0; }
.section--center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.statement--center { text-align: center; max-width: 1000px; }
.two-col { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 320px); justify-content: space-between; gap: 40px 80px; width: 100%; max-width: 1000px; }
.two-col > :last-child { color: var(--color-text-muted); }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }

/* About */
.about { padding-top: 160px; }
.about__lead { display: flex; flex-direction: column; align-items: flex-start; gap: 40px; }
.about__lead .lead .dim { color: var(--color-text-secondary); }

/* Showcase image (scroll-scaled) */
.showcase { padding: 120px var(--layout-gutter) 0; }
.showcase__frame { border-radius: var(--radius-tile); overflow: hidden; box-shadow: var(--shadow-card); background: var(--color-bg-card-solid); aspect-ratio: 16 / 9; transform: scale(0.92); transform-origin: center top; will-change: transform; }
.showcase__frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; transform: scale(1.12); transform-origin: center; will-change: transform; }

/* ---------- Work grid ---------- */
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; width: 100%; margin-top: 80px; }
@media (max-width: 767px) { .work-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 48px; } }
.tile {
  position: relative; display: block; aspect-ratio: 718 / 791; border-radius: var(--radius-tile); overflow: hidden;
  background: var(--color-bg-card-solid); isolation: isolate;
}
.tile img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 1.2s var(--ease-out); }
.tile:hover img { transform: scale(1.04); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,0.65) 100%); pointer-events: none; }
.tile__chips { position: absolute; top: 24px; right: 24px; display: flex; gap: 8px; z-index: 2; }
.tile__caption { position: absolute; left: 32px; bottom: 32px; z-index: 2; display: flex; flex-direction: column; gap: 8px; }
.tile__caption .label { color: var(--color-text-secondary); }
.tile__cta {
  position: absolute; z-index: 3; left: 0; top: 0; pointer-events: none;
  display: inline-flex; padding: 12px 18px; border-radius: var(--radius-full); background: var(--white); color: var(--black-1000);
  font-size: 14px; font-weight: 500; letter-spacing: -0.03em; white-space: nowrap;
  opacity: 0; transform: translate(-50%, -50%) scale(0.8); transition: opacity var(--dur-fast) ease, transform var(--dur-fast) var(--ease-out);
}
.tile:hover .tile__cta { opacity: 1; transform: translate(-50%, -50%) scale(1); }
@media (hover: none) { .tile__cta { display: none; } }
@media (max-width: 767px) { .tile { aspect-ratio: 350 / 420; } .tile__chips { top: 16px; right: 16px; } .tile__caption { left: 20px; bottom: 20px; } .tile__caption .card-title { font-size: 24px; } }

/* ---------- Trust ---------- */
.trust-row { display: grid; grid-template-columns: 367px 1fr; gap: 24px; width: 100%; max-width: 1220px; margin-top: 80px; }
@media (max-width: 900px) { .trust-row { grid-template-columns: 1fr; } .trust-card { display: none; } }
.trust-card { display: flex; flex-direction: column; justify-content: space-between; min-height: 434px; padding: 40px; border-radius: var(--radius-panel); background: var(--color-bg-glass); text-align: left; }
.trust-card__mark { font-size: 160px; line-height: 0.75; font-weight: 600; color: var(--gray-750); letter-spacing: -0.06em; }
.trust-card h3 { margin-bottom: 12px; }
.tcard { position: relative; overflow: hidden; min-height: 434px; border-radius: var(--radius-panel); background: var(--color-bg-card-solid); text-align: left; }
.tcard__slides { display: grid; }
.tslide { grid-area: 1 / 1; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 40px; opacity: 0; transform: translateX(40px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); pointer-events: none; }
.tslide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.tslide__quote { color: var(--color-text-secondary); max-width: 740px; }
.tslide__quote strong { font-weight: 500; color: var(--color-text-primary); }
.tslide__author { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.tslide__who { display: flex; align-items: center; gap: 16px; }
.tslide__avatar { width: 60px; height: 60px; border-radius: 12px; background: linear-gradient(135deg, var(--gray-750), var(--gray-600)); flex: none; display: grid; place-items: center; font-weight: 600; font-size: 18px; }
.tslide__logo { color: var(--color-text-soft); font-weight: 600; letter-spacing: 0.04em; font-size: 14px; text-transform: uppercase; }
.tcard__dots { position: absolute; top: 40px; left: 40px; display: flex; gap: 8px; z-index: 2; }
.tcard__dots button { width: 6px; height: 6px; border-radius: 50%; background: var(--color-text-muted); transition: background-color var(--dur-fast) ease, transform var(--dur-fast) ease; }
.tcard__dots button.is-active { background: var(--color-text-primary); }
.tslide { padding-top: 78px; }
@media (max-width: 767px) { .tslide { padding: 64px 24px 24px; } .tcard__dots { top: 24px; left: 24px; } .tslide__logo { display: none; } }

/* ---------- Light section ---------- */
.light { margin-top: var(--layout-section-gap); padding: 160px var(--layout-gutter); border-radius: var(--radius-tile); background: var(--color-bg-light); color: var(--color-text-on-light); }
.light .statement { color: var(--color-text-on-light); }
.tools-statement { display: flex; flex-direction: column; gap: 20px; width: 100%; max-width: 1000px; margin: 0 auto; }
.tools-statement .end { text-align: right; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 12px; width: max-content; animation: marquee 28s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.tool { width: 64px; height: 64px; border-radius: 16px; background: var(--gray-card); display: grid; place-items: center; box-shadow: var(--shadow-light-card); flex: none; }
.tool img { width: 30px; height: 30px; }
.tool--claude { background: #d97757; } .tool--figma { background: #1e1e1e; } .tool--framer { background: #0055ff; } .tool--webflow { background: #146ef5; } .tool--notion { background: #fff; } .tool--miro { background: #ffd02f; } .tool--ae { background: #00005b; } .tool--ps { background: #001e36; } .tool--ai { background: #330000; } .tool--jira { background: #0052cc; }
.light__intro { display: grid; grid-template-columns: minmax(0, 340px) 1fr; gap: 40px; width: 100%; max-width: 1000px; margin: 96px auto 0; }
.light__intro .col { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; color: var(--color-text-on-light-soft); }
.services { display: grid; grid-template-columns: repeat(2, 373px); justify-content: center; gap: 40px; margin-top: 96px; }
.services .col { display: flex; flex-direction: column; gap: 40px; }
.services .col:first-child { padding-top: 80px; }
.scard { display: flex; flex-direction: column; gap: 24px; padding: 40px; border-radius: var(--radius-service); background: var(--color-bg-light-card); box-shadow: var(--shadow-light-card); transition: transform var(--dur-base) var(--ease-out); }
.scard:hover { transform: translateY(-6px); }
.scard hr { border: 0; border-top: 1px solid var(--color-border-light); margin: 0; }
.scard .info { display: flex; flex-direction: column; gap: 10px; }
.scard .info small { color: var(--color-text-on-light-muted); font-size: 14px; }
.scard .info p { color: var(--color-text-on-light-soft); font-size: 16px; font-weight: 500; letter-spacing: -0.03em; }
.scard__action { display: flex; justify-content: flex-end; }
.scard__action span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--color-bg-light-chip); }
.scard__action svg { width: 16px; height: 16px; }
@media (max-width: 900px) { .light { padding: 80px var(--layout-gutter); border-radius: 20px; } .services { grid-template-columns: 1fr; gap: 16px; } .services .col { gap: 16px; } .services .col:first-child { padding-top: 0; } .scard { padding: 28px; } .light__intro { grid-template-columns: 1fr; margin-top: 48px; } .tool { width: 48px; height: 48px; border-radius: 12px; } .tool img { width: 22px; height: 22px; } }

/* ---------- Engagement ---------- */
.engage { position: relative; margin-top: 0; padding: 160px var(--layout-gutter); background: linear-gradient(168deg, #c8291a 0%, #4a0f07 26%, #050505 52%); display: flex; flex-direction: column; align-items: center; gap: 80px; }
.plans { width: 100%; max-width: 924px; display: flex; flex-direction: column; gap: 24px; }
.plans__row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 767px) { .plans__row { grid-template-columns: 1fr; } .engage { padding: 96px var(--layout-gutter); gap: 48px; } }
.plan { display: flex; flex-direction: column; gap: 32px; padding: 32px; border-radius: var(--radius-card); background: var(--color-bg-card); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.plan__price { display: flex; align-items: baseline; gap: 8px; }
.plan__price span { color: var(--color-text-secondary); }
.plan ul { display: flex; flex-direction: column; gap: 14px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; font-weight: 500; letter-spacing: -0.03em; color: var(--color-text-soft); }
.plan li svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.plan .includes { color: var(--color-text-muted); font-size: 16px; }
.plan--wide { width: 100%; }
.faq { width: 100%; max-width: 900px; display: flex; flex-direction: column; gap: 40px; }
.faq details { border-bottom: 1px solid var(--color-border-subtle); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 0; cursor: pointer; font-weight: 500; letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: none; transition: transform var(--dur-base) var(--ease-out); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq__answer { color: var(--color-text-secondary); padding: 0 0 28px; max-width: 800px; }

/* ---------- Footer ---------- */
.footer { padding: 120px var(--layout-gutter) 40px; display: flex; flex-direction: column; gap: 120px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 600px) auto; justify-content: space-between; gap: 64px; }
.footer__left { display: flex; flex-direction: column; align-items: flex-start; gap: 40px; }
.footer__cols { display: flex; gap: 120px; }
.footer__col { display: flex; flex-direction: column; gap: 16px; font-size: 16px; font-weight: 500; letter-spacing: -0.03em; }
.footer__col small { color: var(--color-text-muted); font-size: 16px; }
.footer__col a:hover { color: var(--color-text-secondary); }
.footer__bottom { display: flex; justify-content: space-between; gap: 24px; color: var(--color-text-muted); font-size: 14px; font-weight: 500; letter-spacing: -0.03em; text-transform: uppercase; }
.footer__bottom div { display: flex; gap: 24px; }
@media (max-width: 767px) { .footer { padding-top: 80px; gap: 48px; } .footer__top { grid-template-columns: 1fr; gap: 48px; } .footer__cols { gap: 64px; } .footer__bottom { flex-direction: column; } }

/* ---------- Case study ---------- */
.cs-hero { padding: 140px var(--layout-gutter) 40px; display: flex; flex-direction: column; gap: 48px; }
.cs-hero__chips { display: flex; gap: 8px; flex-wrap: wrap; }
.cs-hero__row { display: grid; grid-template-columns: minmax(0, 900px) auto; align-items: end; justify-content: space-between; gap: 40px; }
.cs-meta { display: flex; gap: 48px; }
.cs-meta div { display: flex; flex-direction: column; gap: 8px; }
.cs-meta small { color: var(--color-text-muted); font-size: 14px; }
.cs-cover { padding: 40px var(--layout-gutter) 0; }
.cs-cover__frame { border-radius: var(--radius-tile); overflow: hidden; aspect-ratio: 16 / 9; box-shadow: var(--shadow-card); background: var(--color-bg-card-solid); }
.cs-cover__frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cs-overview { padding: 120px var(--layout-gutter); display: grid; grid-template-columns: minmax(0, 640px) auto; justify-content: space-between; gap: 48px; }
.cs-overview .lead .dim { color: var(--color-text-secondary); }
.cs-deliverables { display: flex; flex-direction: column; gap: 12px; font-size: 16px; font-weight: 500; letter-spacing: -0.03em; color: var(--color-text-soft); }
.cs-deliverables small { color: var(--color-text-muted); font-size: 14px; }
.cs-block { padding: 0 var(--layout-gutter) 120px; display: grid; grid-template-columns: 320px 1fr; gap: 80px; }
.cs-block__label { display: flex; flex-direction: column; gap: 12px; }
.cs-block__label small { color: var(--color-text-muted); font-size: 14px; }
.cs-block__body { display: flex; flex-direction: column; gap: 20px; color: var(--color-text-secondary); max-width: 800px; }
.cs-block__body ul { display: flex; flex-direction: column; gap: 10px; color: var(--color-text-soft); }
.cs-block__body li::before { content: "\2014\00a0\00a0"; }
.cs-gallery { padding: 0 var(--layout-gutter) 120px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cs-gallery--wide { grid-template-columns: 1fr 2fr; }
.cs-gallery figure { margin: 0; border-radius: var(--radius-tile); overflow: hidden; aspect-ratio: 3 / 2; background: var(--color-bg-card-solid); }
.cs-gallery img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.cs-outcome { padding: 0 var(--layout-gutter) 160px; display: flex; flex-direction: column; align-items: center; gap: 40px; }
.cs-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; width: 100%; }
.cs-stat { display: flex; flex-direction: column; gap: 12px; padding: 32px; border-radius: var(--radius-card); background: var(--color-bg-card); }
.cs-stat .body-s { color: var(--color-text-secondary); }
.cs-next { padding: 0 var(--layout-gutter) 120px; display: flex; flex-direction: column; gap: 24px; }
.cs-next .tile { aspect-ratio: 1360 / 560; }
@media (max-width: 900px) {
  .cs-hero { padding-top: 110px; gap: 24px; } .cs-hero__row { grid-template-columns: 1fr; } .cs-meta { gap: 32px; }
  .cs-cover { padding-top: 24px; } .cs-cover__frame { aspect-ratio: 4 / 3; }
  .cs-overview { grid-template-columns: 1fr; padding: 48px var(--layout-gutter); }
  .cs-block { grid-template-columns: 1fr; gap: 16px; padding-bottom: 48px; }
  .cs-gallery, .cs-gallery--wide { grid-template-columns: 1fr; gap: 16px; padding-bottom: 48px; }
  .cs-stats { grid-template-columns: 1fr 1fr; gap: 12px; } .cs-stat { padding: 20px; } .cs-outcome { padding-bottom: 64px; }
  .cs-next .tile { aspect-ratio: 350 / 380; }
}

/* ---------- Static / reduced motion ---------- */
.is-static, .is-static * { transition: none !important; animation: none !important; }
.is-static .w, .is-static .reveal { opacity: 1 !important; filter: none !important; transform: none !important; }
.is-static .hero__glow, .is-static .hero__giant { opacity: 1; }
.is-static .showcase__frame { transform: none; } .is-static .showcase__frame img { transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .w, .reveal { opacity: 1; filter: none; transform: none; }
  .hero__glow, .hero__giant { opacity: 1; }
  .showcase__frame, .showcase__frame img { transform: none !important; }
}
