/* ============================================================
   Studio Redirected — v3 (calm editorial)
   Warm greige + muted bordeaux. Inter + Source Serif 4.
   One stylesheet. Interactions in assets/js/main.js.
   ============================================================ */

:root {
  --bg:      #F4F1EC;   /* page background, warm greige */
  --panel:   #ECE8E1;   /* slightly darker panel (bands) */
  --panel-rose: #E9D9DB;/* light bordeaux panel (hero, case hero) */
  --line:    #5E2230;   /* deep bordeaux decorative linework */
  --ink:     #1C1A18;   /* text */
  --muted:   #6F6A63;   /* secondary text, kicker labels */
  --accent:  #7A2E3A;   /* muted bordeaux — the ONLY accent */
  --hairline: rgba(28, 26, 24, 0.14);

  --font-sans:  "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;

  --container: 1120px;
  --gutter: clamp(20px, 6vw, 160px);
  --radius: 6px;
  --radius-panel: 10px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.10);
  --shadow-lift: 0 26px 60px rgba(0, 0, 0, 0.16);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---- Reset ------------------------------------------------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-sans);
  font-weight: 400;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

/* bordeaux scrollbar */
html { scrollbar-color: var(--accent) transparent; scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 8px; }
::-webkit-scrollbar-track { background: transparent; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; }

/* ---- Layout ------------------------------------------------ */
.container {
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.section { padding-block: clamp(64px, 9vw, 130px); }

/* ---- Type helpers ----------------------------------------- */
.kicker {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 400;
}

.label {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}

.serif { font-family: var(--font-serif); font-weight: 400; color: var(--accent); }

.h1 {
  font-weight: 300;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.h2 {
  font-weight: 300;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.h3 {
  font-weight: 300;
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.statement {
  font-weight: 300;
  font-size: clamp(20px, 2.1vw, 30px);
  line-height: 1.42;
  letter-spacing: -0.01em;
}
.body { font-size: 14px; line-height: 1.65; color: var(--muted); }

/* Inline text link */
.tlink {
  font-size: 13px;
  color: var(--ink);
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 calc(100% - 0px);
  background-size: 100% 1px;
  padding-bottom: 4px;
  opacity: 1;
  transition: color .2s var(--ease);
}
.tlink { color: var(--ink); }
.tlink::after { content: ""; }
a.tlink { position: relative; }
a.tlink { text-underline-offset: 4px; }

/* underline at 50%, hover 100% */
.tlink {
  --ul: rgba(28,26,24,.5);
  background-image: linear-gradient(var(--ul), var(--ul));
}
.tlink:hover { --ul: rgba(28,26,24,1); }

/* ---- Button (outline pill) -------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 22px;
  border: 1px solid rgba(28, 26, 24, 0.8);
  border-radius: 22px;
  font-size: 13px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---- Skip link -------------------------------------------- */
.skip {
  position: absolute; left: -9999px; top: 10px; z-index: 200;
  background: var(--ink); color: var(--bg);
  padding: 10px 16px; border-radius: var(--radius); font-size: 13px;
}
.skip:focus { left: 16px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(120%) blur(8px);
  -webkit-backdrop-filter: saturate(120%) blur(8px);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
  border-bottom: 1px solid var(--hairline);
}
.wordmark { font-weight: 500; font-size: 15px; letter-spacing: -0.01em; }
.nav__links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 32px); }
.nav__links a { font-size: 13px; color: var(--ink); transition: color .2s; }
.nav__links a:hover { color: var(--accent); }

.lang { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; letter-spacing: 0.02em; }
.lang__btn { color: var(--muted); background: none; border: 0; cursor: pointer; padding: 0; transition: color .2s; }
.lang__btn:hover { color: var(--ink); }
.lang__btn.is-active { color: var(--ink); font-weight: 500; }
.lang__sep { color: var(--hairline); }

/* ============================================================
   Hero
   ============================================================ */
.hero { padding-top: clamp(20px, 3vw, 40px); }
.hero__panel {
  position: relative;
  background: var(--panel-rose);
  border-radius: var(--radius-panel);
  overflow: hidden;
  min-height: 78vh;
  max-height: 760px;
  padding: clamp(40px, 6vw, 84px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero__content { position: relative; z-index: 2; max-width: 560px; }
.hero__panel .h1 { margin-top: 18px; }
.hero__intro { margin-top: clamp(20px, 2.4vw, 28px); max-width: 340px; }
.hero__meta { margin-top: 26px; }
.hero__scroll {
  position: absolute; left: clamp(40px, 6vw, 84px); bottom: clamp(32px, 4vw, 52px);
  z-index: 2;
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; color: var(--ink);
}
.hero__scroll .dot {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid rgba(28,26,24,.5);
  display: grid; place-items: center; font-size: 12px;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.hero__scroll:hover .dot { background: var(--ink); color: var(--bg); }

/* Decorative linework — slow-turning bordeaux rings that gently breathe inward */
.linework { position: absolute; inset: 0; z-index: 1; pointer-events: none; color: var(--line); }
.linework circle { fill: none; stroke: currentColor; stroke-width: 1.5; opacity: 0.36; stroke-dasharray: 3 14; }
.linework--mobile { display: none; }
@media (max-width: 680px) {
  .linework--desktop { display: none; }
  .linework--mobile { display: block; }
}
.linework .lw-breathe, .linework .lw-spin { transform-box: view-box; will-change: transform; }
.linework .lw-spin { animation: lw-spin 34s linear infinite; }
.linework .lw-breathe { animation: lw-breathe 9s ease-in-out infinite alternate; }
@keyframes lw-spin { to { transform: rotate(360deg); } }
@keyframes lw-breathe { from { transform: scale(1); } to { transform: scale(0.82); } }

/* ============================================================
   Introduction statement
   ============================================================ */
.intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 720px);
  gap: 24px;
  align-items: start;
}
.intro__statement { max-width: 720px; }
/* home introduction: centred, larger, with a moving striped bordeaux pattern */
.intro .intro__grid { display: block; }
.intro .intro__statement {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(22px, 2.6vw, 40px);
  line-height: 1.32;
  color: var(--accent); /* fallback */
  background: repeating-linear-gradient(58deg, #7A2E3A 0 7px, #b3616e 7px 14px);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transform-origin: center;
  animation: pattern-move 12s linear infinite;
}
@keyframes pattern-move { to { background-position: 200% 0; } }
/* grow on scroll (progressive enhancement) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .intro .intro__statement {
      animation: pattern-move 12s linear infinite, stmt-grow linear both;
      animation-timeline: auto, view();
      animation-range: normal, entry 8% cover 60%;
    }
    @keyframes stmt-grow { from { transform: scale(1.18); } to { transform: scale(.88); } }
  }
}

/* ============================================================
   Disciplines
   ============================================================ */
.disc__head { margin-bottom: clamp(32px, 4vw, 48px); }
.disc__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}
.disc__col { border-top: 1px solid var(--hairline); padding-top: 24px; }
.disc__no { font-size: 12px; color: var(--muted); }
.disc__col h3 { margin: 14px 0 16px; }
.disc__col .body { max-width: 40ch; }
.disc__list { margin-top: 20px; }

/* Two small dotted rings that roll along the lines and collide in the middle */
.disc__grid { position: relative; }
.rollers { position: absolute; top: 0; left: 0; right: 0; height: 0; z-index: 3; pointer-events: none; }
.roller {
  position: absolute; top: -28px;              /* rests on top of the line */
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px dotted var(--line); background: transparent;
}
.roller--a { left: 0; animation: roll-a 5.4s ease-in-out infinite; }
.roller--b { left: calc(100% - 28px); animation: roll-b 5.4s ease-in-out infinite; }
@keyframes roll-a {
  0%   { left: 0;                transform: rotate(0deg); animation-timing-function: ease-in; }
  42%  { left: calc(50% - 28px); transform: rotate(840deg); animation-timing-function: cubic-bezier(.34, 1.6, .5, 1); }
  52%  { left: calc(50% - 48px); transform: rotate(772deg); animation-timing-function: ease-in-out; }
  100% { left: 0;                transform: rotate(0deg); }
}
@keyframes roll-b {
  0%   { left: calc(100% - 28px); transform: rotate(0deg); animation-timing-function: ease-in; }
  42%  { left: 50%;               transform: rotate(-840deg); animation-timing-function: cubic-bezier(.34, 1.6, .5, 1); }
  52%  { left: calc(50% + 20px);  transform: rotate(-772deg); animation-timing-function: ease-in-out; }
  100% { left: calc(100% - 28px); transform: rotate(0deg); }
}

/* Websites / Software titles grow as they scroll into view (progressive enhancement) */
@keyframes disc-grow { from { transform: scale(0.58); } to { transform: scale(1.44); } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .disc__col h3 {
      transform-origin: left center;
      animation: disc-grow linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 62%;
    }
  }
}

/* ============================================================
   Selected work
   ============================================================ */
.work__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: clamp(36px, 4.5vw, 56px);
}
.work__title { margin-top: 12px; }
.work__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px clamp(24px, 3vw, 32px);
}
.card { display: block; color: inherit; transition: transform .4s var(--ease); }
.card:hover { transform: translateY(-4px); }
@media (hover: none) { .card:hover { transform: none; } }
.card__visual {
  position: relative;
  aspect-ratio: 544 / 340;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--tint, var(--panel));
  display: grid;
  place-items: center;
  padding: clamp(16px, 3vw, 30px);
}
.card__visual .mock,
.card__img { transition: transform .4s var(--ease); }
.card:hover .card__visual .mock,
.card:hover .card__img { transform: scale(1.02); }
@media (hover: none) { .card:hover .card__visual .mock, .card:hover .card__img { transform: none; } }

/* full screenshot, shown complete (not cropped), floating on the tint */
.card__img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  border-radius: 4px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

.mock {
  width: 74%;
  background: var(--bg);
  border-radius: 4px;
  box-shadow: 0 14px 30px rgba(0,0,0,.18);
  padding: clamp(14px, 1.6vw, 20px);
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 3vw, 40px);
  min-height: 52%;
}
.mock__brand {
  font-size: 8px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
  border-bottom: 1px solid var(--hairline); padding-bottom: 10px;
}
.mock__preview { font-weight: 300; font-size: clamp(16px, 1.7vw, 24px); line-height: 1.15; letter-spacing: -0.01em; color: var(--ink); }

.card__name { margin-top: 18px; font-weight: 500; font-size: 14px; }
.card__meta { margin-top: 4px; font-size: 12px; color: var(--muted); }

/* right column dropped 80px on desktop */
@media (min-width: 1024px) {
  .work__grid .card:nth-child(even) { margin-top: 80px; }
}

/* ============================================================
   About
   ============================================================ */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.about__media { position: relative; }
.about__big {
  aspect-ratio: 560 / 420;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}
.about__big img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
/* small overlapping figure reserved for a later detail photo */
.about__small {
  position: absolute; right: -6%; bottom: -12%;
  width: 40%; aspect-ratio: 220 / 290;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow-lift);
}
.about__body h3 { margin-bottom: 4px; }
.about__body h3 + h3 { margin-bottom: 0; }
.about__body .body { margin-top: 22px; max-width: 380px; }
.about__body .tlink { margin-top: 26px; display: inline-block; }

/* ============================================================
   Contact
   ============================================================ */
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.contact__lead .h2 { margin-top: 12px; }
.contact__lead .body { margin-top: 22px; max-width: 34ch; }
.contact__lead .tlink { margin-top: 24px; display: inline-block; }

.field { border-bottom: 1px solid var(--hairline); padding: 16px 0; }
.field label { display: block; margin-bottom: 10px; }
.field input, .field select, .field textarea {
  width: 100%; border: 0; background: transparent;
  font-size: 14px; color: var(--ink); line-height: 1.5;
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .8; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; }
.field:focus-within { border-color: var(--ink); }
.field select { appearance: none; cursor: pointer; }
.form__submit { margin-top: 28px; }
.form__done { display: none; }
.form__done .h3 { margin-bottom: 12px; }
.contact__form.is-sent form { display: none; }
.contact__form.is-sent .form__done { display: block; }

.hp { position: absolute; left: -9999px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq__title { margin-bottom: clamp(28px, 4vw, 44px); }
.faq__list { border-top: 1px solid var(--hairline); }
.faq__item { border-bottom: 1px solid var(--hairline); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 0;
  font-size: clamp(16px, 1.6vw, 20px); font-weight: 400; color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; flex-shrink: 0;
  font-size: 22px; line-height: 1; color: var(--accent);
}
.faq__item[open] summary::after { content: "\2212"; }
.faq__a { padding: 0 0 26px; max-width: 68ch; }

/* ============================================================
   Footer
   ============================================================ */
.foot { padding-block: clamp(40px, 5vw, 64px) clamp(28px, 3vw, 40px); }
.foot__top { border-top: 1px solid var(--hairline); padding-top: clamp(36px, 4vw, 52px); }
.foot__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.foot__grid .wordmark { display: block; margin-bottom: 12px; }
.foot__grid p, .foot__grid a { font-size: 13px; color: var(--muted); }
.foot__grid .col--right { text-align: right; }
.foot__grid a:hover { color: var(--ink); }
.foot__copy { margin-top: 8px; font-size: 12px; }

/* ============================================================
   Case (project) page
   ============================================================ */
.case-hero { padding-top: clamp(20px, 3vw, 40px); }
.case-hero__panel {
  position: relative;
  background: var(--panel-rose);
  border-radius: var(--radius-panel);
  overflow: hidden;
  padding: clamp(40px, 6vw, 72px);
}
.case-hero__grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
  gap: 40px;
  align-items: start;
}
.case-back { display: inline-block; font-size: 13px; color: var(--muted); margin-bottom: 26px; }
.case-back:hover { color: var(--ink); }
.case-hero__title { margin-top: 12px; }
.case-hero__title .serif { display: block; }
.case-hero__visit { margin-top: clamp(24px, 3vw, 32px); }
.case-meta dl { display: grid; gap: 0; }
.case-meta__row { border-top: 1px solid var(--hairline); padding: 14px 0; }
.case-meta__row dt { font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.case-meta__row dd { font-size: 14px; }

.case-shot {
  margin-top: clamp(24px, 3vw, 36px);
  aspect-ratio: 1120 / 560;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--tint, var(--panel));
  display: grid; place-items: center;
  padding: clamp(24px, 4vw, 60px);
}
.case-shot .mock { width: min(560px, 62%); }

/* Case gallery — the remaining project screenshots, shown in full */
.case-gallery { columns: 2; column-gap: clamp(16px, 2vw, 24px); }
.case-gallery img {
  width: 100%; display: block;
  margin: 0 0 clamp(16px, 2vw, 24px);
  border-radius: var(--radius);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-soft);
  break-inside: avoid;
}
@media (max-width: 680px) { .case-gallery { columns: 1; } }

.case-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 80px);
}
.case-col { border-top: 1px solid var(--hairline); padding-top: 22px; }
.case-col h2 { margin-bottom: 16px; }
.case-col .body { max-width: 46ch; }

.case-next { border-top: 1px solid var(--hairline); padding-top: clamp(36px, 4vw, 52px); }
.case-next__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.case-next .kicker { margin-bottom: 16px; }
.case-next__name { display: inline-flex; align-items: center; gap: 14px; }
.case-next__meta { margin-top: 6px; font-size: 12px; color: var(--muted); }
.case-next__visual {
  display: block;
  width: 220px; aspect-ratio: 4 / 3; flex-shrink: 0;
  border-radius: var(--radius); background: var(--tint, var(--panel));
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
/* small decorative thumb fills its box (cropped is fine here) */
.case-next__visual .card__img {
  width: 100%; height: 100%; max-width: none; max-height: none;
  object-fit: cover; object-position: 50% 0;
  border-radius: 0; box-shadow: none;
}

/* ============================================================
   Motion / dynamic
   ============================================================ */

/* Scroll reveals — blur-to-sharp, with staggered groups */
[data-reveal] {
  opacity: 0; transform: translateY(66px) scale(.92); filter: blur(10px);
  transition: opacity .95s var(--ease), transform .95s var(--ease), filter .95s var(--ease);
}
[data-reveal].in { opacity: 1; transform: none; filter: none; }
.disc__col:nth-child(2) { transition-delay: .14s; }
.work__grid .card:nth-child(2) { transition-delay: .1s; }
.work__grid .card:nth-child(3) { transition-delay: .2s; }
.work__grid .card:nth-child(4) { transition-delay: .3s; }

/* Hero entrance sequence on load */
.hero__content > * { opacity: 0; transform: translateY(18px); animation: hero-in .9s var(--ease) both; }
.hero__content > *:nth-child(1) { animation-delay: .15s; }
.hero__content > *:nth-child(2) { animation-delay: .28s; }
.hero__content > *:nth-child(3) { animation-delay: .42s; }
@keyframes hero-in { to { opacity: 1; transform: none; } }
.hero .linework { opacity: 0; animation: lw-in 1.6s var(--ease) .35s forwards; }
.hero__panel .linework { transition: transform .5s var(--ease); }
@keyframes lw-in { to { opacity: 1; } }

/* Scroll-progress bar (bordeaux) */
.progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%;
  background: var(--accent); z-index: 100;
  transform: scaleX(0); transform-origin: left; will-change: transform;
}

/* Nav solidifies on scroll */
.nav.is-stuck { box-shadow: 0 1px 0 var(--hairline), 0 10px 24px rgba(28, 26, 24, .05); }

/* Portfolio card hover: darken + bordeaux arrow badge */
.card__visual::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: rgba(28, 26, 24, 0); transition: background .4s var(--ease);
}
.card:hover .card__visual::before { background: rgba(28, 26, 24, .08); }
.card__go {
  position: absolute; bottom: 16px; right: 16px; z-index: 2;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--accent); color: var(--bg);
  display: grid; place-items: center; font-size: 16px; line-height: 1;
  opacity: 0; transform: translateY(10px) scale(.85);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
  pointer-events: none;
}
.card:hover .card__go { opacity: 1; transform: none; }


/* Portrait parallax as it scrolls through view */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .about__big img { animation: img-parallax linear both; animation-timeline: view(); animation-range: cover; }
    @keyframes img-parallax { from { transform: translateY(-5%) scale(1.08); } to { transform: translateY(5%) scale(1.08); } }
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; filter: none; transition: none; }
  .card__visual .mock, .btn, .btn .arrow, .card, .card__go, .card__visual::before { transition: none; }
  .card:hover { transform: none; }
  .linework .lw-spin, .linework .lw-breathe { animation: none; }
  .hero__content > *, .hero .linework, .about__big img { animation: none; opacity: 1; transform: none; }
  .progress { display: none; }
  .intro .intro__statement { animation: none; background: none; -webkit-text-fill-color: var(--accent); }
  .roller { animation: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1023px) {
  .work__grid .card:nth-child(even) { margin-top: 0; }
}

@media (max-width: 900px) {
  .intro__grid { grid-template-columns: 1fr; gap: 14px; }
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__small { width: 34%; right: 0; bottom: -10%; }
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .case-hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .case-cols { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 680px) {
  .disc__grid { grid-template-columns: 1fr; gap: 28px; }
  .work__grid { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; gap: 28px; text-align: left; }
  .foot__grid .col--right { text-align: left; }
  .nav__links { gap: 20px; }
  .case-next__inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .case-next__visual { width: 100%; }
  .mock { width: 84%; }
}

@media (max-width: 680px) {
  /* hero panel: full-bleed, radius only bottom */
  .hero { padding-top: 0; }
  .hero__panel { border-radius: 0 0 var(--radius-panel) var(--radius-panel); min-height: 76vh; }
}
