/* ============================================================
   Marcus Martins — Portfolio
   Editorial / brutalist-refined. Off-white + black, pure contrast.
   ============================================================ */

:root {
  /* light (default) */
  --bg: #ffffff;
  --bg-2: #f0f0ee;
  --fg: #111110;
  --muted: #6a6862;
  --line: rgba(17, 17, 16, 0.12);
  --line-strong: rgba(17, 17, 16, 0.46);

  /* dark tokens (applied via .dark sections) */
  --d-bg: #0b0b0c;
  --d-bg-2: #131315;
  --d-fg: #f0efe9;
  --d-muted: #8c8b85;
  --d-line: rgba(240, 239, 233, 0.16);
  --d-line-strong: rgba(240, 239, 233, 0.55);

  /* accent (default = none / pure mono). Tweakable. */
  --accent: #121210;
  --accent-on: #efeee9;

  --maxw: 1380px;
  --gut: clamp(20px, 4.5vw, 88px);

  --serif: "Schibsted Grotesk", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "Inter", system-ui, -apple-system, sans-serif;

  --type-scale: 1;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

* { box-sizing: border-box; }

html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-feature-settings: "ss01", "cv01";
  overflow-x: hidden;
}

::selection { background: var(--fg); color: var(--bg); }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

/* ---------- layout primitives ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }
.section { position: relative; }
.dark {
  background: var(--d-bg);
  color: var(--d-fg);
  --bg: var(--d-bg);
  --fg: var(--d-fg);
  --muted: var(--d-muted);
  --line: var(--d-line);
  --line-strong: var(--d-line-strong);
}

/* ---------- mono labels (brutalist accent) ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--line-strong);
  display: inline-block;
}

/* ---------- type ---------- */
.display {
  font-family: var(--serif);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.035em;
  margin: 0;
  text-wrap: balance;
}
h1, h2, h3 { margin: 0; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 80;
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px var(--gut);
  background: rgba(255, 255, 255, 0.75);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--line);
  color: var(--fg);
}
.nav a, .nav button { pointer-events: auto; }
.nav__brand {
  font-family: var(--sans);
  font-size: 16px; letter-spacing: -0.01em; font-weight: 600;
  display: flex; align-items: center; gap: 9px;
}
.nav__brand .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.nav__links { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav__link {
  font-family: var(--sans); font-size: 14px; letter-spacing: -0.005em; font-weight: 500;
  text-transform: none; position: relative; padding: 4px 0;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: currentColor; transition: width 0.4s var(--ease);
}
.nav__link:hover::after { width: 100%; }
.lang {
  display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px;
  overflow: hidden; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em;
}
.lang button {
  background: transparent; border: 0; color: var(--fg); padding: 5px 11px;
  letter-spacing: 0.06em; opacity: 0.5; transition: 0.3s var(--ease);
}
.lang button.on { background: var(--fg); color: var(--bg); opacity: 1; }
@media (max-width: 720px) {
  .nav__links .nav__link { display: none; }
}

/* ============================================================
   INTRO OVERLAY (page-in transition)
   ============================================================ */
.intro {
  position: fixed; inset: 0; z-index: 200; background: #0b0b0c;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; transform: translateY(0);
}
@media (prefers-reduced-motion: no-preference) {
  .intro { animation: introOut 1.2s var(--ease) 2.4s forwards; }
  .intro__txt { animation: introTxt 2.6s var(--ease) both; }
}
@media (prefers-reduced-motion: reduce) { .intro { display: none; } }
@keyframes introOut { to { transform: translateY(-101%); } }
@keyframes introTxt {
  0% { opacity: 0; transform: translateY(12px); letter-spacing: 0.5em; }
  18% { opacity: 1; transform: translateY(0); letter-spacing: 0.3em; }
  88% { opacity: 1; }
  100% { opacity: 0.55; }
}
.intro__txt {
  font-family: var(--mono); color: #f0efe9; font-size: 13px;
  letter-spacing: 0.3em; text-transform: uppercase;
  display: flex; align-items: baseline; gap: 14px;
}
.intro__count { font-variant-numeric: tabular-nums; font-weight: 600; }

/* ============================================================
   HERO (light)
   ============================================================ */
.hero { padding-top: clamp(158px, 22vh, 280px); padding-bottom: clamp(48px, 8vh, 110px); position: relative; }

.hero__top, .hero__headline, .hero__scroll { position: relative; z-index: 1; }
.hero__top {
  display: flex; justify-content: flex-start; align-items: flex-start;
  gap: 40px; flex-wrap: wrap; margin-bottom: clamp(68px, 12vh, 152px);
}
.hero__lead { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(20px, 2.6vh, 30px); max-width: 100%; }
.hero__intro {
  font-family: var(--sans);
  font-size: clamp(14px, 1.05vw, 16px); line-height: 1.55; color: var(--muted);
  margin: 0; max-width: 46ch; text-align: left; font-weight: 400; letter-spacing: -0.006em;
  text-wrap: pretty;
}
.hero__intro b { font-weight: 600; }
.hero__avail {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; display: inline-flex; align-items: center; gap: 9px;
  color: var(--muted); margin: 0;
  border: 1px solid rgba(18, 199, 104, 0.34); border-radius: 999px; padding: 8px 15px 8px 13px;
  background: rgba(18, 199, 104, 0.12);
}
@media (max-width: 720px) { .hero__intro { text-align: left; } }
.hero__avail .pulse {
  width: 7px; height: 7px; border-radius: 50%; background: #12c462;
  box-shadow: 0 0 0 0 rgba(31,157,85,0.6); animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(31,157,85,0.5); }
  70% { box-shadow: 0 0 0 9px rgba(31,157,85,0); }
  100% { box-shadow: 0 0 0 0 rgba(31,157,85,0); }
}

.hero__headline {
  font-family: var(--sans);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.022em;
  font-size: clamp(2.1rem, 5.2vw, 4.8rem);
  margin: 0;
  max-width: 22ch;
}
.hero__headline .accent { color: var(--accent); }
.hero__headline em {
  font-style: italic; font-weight: 500; letter-spacing: -0.02em;
}

/* morphing word (blur + fade + slide) */
.morph-word { position: relative; display: inline-block; vertical-align: top; color: var(--accent); }
.morph-word__ghost { visibility: hidden; white-space: nowrap; }
.morph-word__item {
  position: absolute; left: 0; top: 0; white-space: nowrap;
  opacity: 0; filter: blur(10px); transform: translateY(0.34em);
  transition: opacity 0.55s var(--ease), filter 0.55s var(--ease), transform 0.6s var(--ease);
}
.morph-word__item.on { opacity: 1; filter: blur(0); transform: none; }
@media (prefers-reduced-motion: reduce) {
  .morph-word__item { transition: none; }
}

/* letter / word reveal */
.reveal-line { display: block; overflow: hidden; }
.reveal-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(108%);
}
@media (prefers-reduced-motion: no-preference) {
  .reveal-word { animation: wordUp 1.2s var(--ease) both; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal-word { opacity: 1; transform: none; }
}
@keyframes wordUp { to { opacity: 1; transform: none; } }

.hero__scroll {
  display: flex; align-items: center; gap: 12px; margin-top: clamp(64px, 9vh, 124px);
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.08em; font-weight: 500;
  text-transform: uppercase; color: var(--muted);
}
.hero__scroll .ln { width: 46px; height: 1px; background: var(--line-strong); position: relative; overflow: hidden; }
.hero__scroll .ln::after {
  content: ""; position: absolute; inset: 0; background: var(--fg);
  transform: translateX(-100%); animation: scrollLine 2.4s var(--ease-io) infinite;
}
@keyframes scrollLine { 0%{transform:translateX(-100%)} 55%{transform:translateX(0)} 100%{transform:translateX(101%)} }

/* animated mouse + chevrons */
.scroll-mouse {
  width: 21px; height: 32px; border: 1.7px solid var(--muted); border-radius: 11px;
  position: relative; flex: none; opacity: 0.9; margin-left: 4px;
  background: rgba(18, 199, 104, 0.12);
}
.scroll-mouse__wheel {
  position: absolute; top: 6px; left: 50%; margin-left: -1.6px;
  width: 3.2px; height: 6px; border-radius: 2px; background: var(--muted);
  animation: mouseWheel 1.7s var(--ease-io) infinite;
}
@keyframes mouseWheel {
  0% { transform: translateY(0); opacity: 0; }
  18% { opacity: 1; }
  60% { transform: translateY(9px); opacity: 0; }
  100% { transform: translateY(9px); opacity: 0; }
}
.scroll-chevrons { display: flex; flex-direction: column; gap: 2px; flex: none; margin-left: -4px; }
.scroll-chev {
  width: 7px; height: 7px; border-right: 1.7px solid var(--muted); border-bottom: 1.7px solid var(--muted);
  transform: rotate(45deg); opacity: 0.25;
  animation: chevPulse 1.7s var(--ease-io) infinite;
}
.scroll-chev:nth-child(2) { animation-delay: 0.22s; }
@keyframes chevPulse {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.85; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-mouse__wheel, .scroll-chev { animation: none; }
}

/* ---------- marquee gallery ---------- */
.marquee {
  margin-top: clamp(72px, 11vh, 144px);
  padding: 0;
  width: 100vw; margin-left: calc(50% - 50vw);
  overflow: hidden;
}
.marquee__track { display: flex; gap: 10px; width: max-content; animation: marq 44s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }
.marquee__item {
  width: clamp(380px, 46vw, 720px); aspect-ratio: 16/9; flex: none;
  border-radius: 8px; overflow: hidden; background: var(--bg-2); position: relative;
}
.marquee__item img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.02); transition: transform 0.9s var(--ease); }
.marquee__item:hover img { transform: scale(1.04); }
.marquee__item .tag {
  position: absolute; left: 12px; bottom: 11px; font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: #fff; mix-blend-mode: difference;
}

/* ============================================================
   STATEMENT
   ============================================================ */
.statement { padding-block: clamp(90px, 16vh, 200px); }
.statement__h {
  font-family: var(--serif); font-weight: 600; letter-spacing: -0.03em;
  line-height: 1.04; font-size: clamp(1.7rem, 4.4vw, 4rem);
  max-width: 22ch;
}
.statement__h b { font-weight: 800; }
.statement__h .dim { color: var(--muted); }

/* ============================================================
   WORK (dark showpiece)
   ============================================================ */
.work { padding-block: clamp(80px, 13vh, 150px) 0; position: relative; z-index: 1; }
.work__head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; flex-wrap: wrap; margin-bottom: clamp(40px, 7vh, 80px);
}
.work__head h2 {
  font-family: var(--serif); font-weight: 800; letter-spacing: -0.035em;
  line-height: 0.92; font-size: clamp(2.4rem, 6.5vw, 6rem);
}
.work__count { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; }

.cases { display: flex; flex-direction: column; }
.case {
  display: grid; grid-template-columns: 1fr; gap: 0;
  border-top: 1px solid var(--line); padding: clamp(26px, 4vh, 46px) 0;
  position: relative;
}
.case:last-child { border-bottom: 1px solid var(--line); }
.case__row {
  display: grid; grid-template-columns: 0.7fr 2.2fr 1fr auto; gap: 28px;
  align-items: center;
}
.case__num { font-family: var(--mono); font-size: 13px; color: var(--muted); letter-spacing: 0.1em; }
.case__title {
  font-family: var(--serif); font-weight: 700; letter-spacing: -0.03em;
  line-height: 0.98; font-size: clamp(1.7rem, 3.6vw, 3.2rem);
  transition: transform 0.6s var(--ease), color 0.4s ease; transform-origin: left;
}
.case__sub { color: var(--muted); font-size: 14px; line-height: 1.5; max-width: 34ch; }
.case__sub .role { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 7px; color: var(--fg); opacity: 0.7; }
.case__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 4px; }
.case__tag {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 9px; color: var(--muted);
}
.case__arrow {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(86, 124, 255, 0.55);
  color: #7c9bff;
  background: rgba(47, 91, 255, 0.1);
  display: grid; place-items: center; transition: 0.5s var(--ease), box-shadow 0.5s var(--ease); flex: none;
  box-shadow: 0 0 0 0 rgba(47, 91, 255, 0.5);
  animation: arrowGlow 2.8s ease-in-out infinite;
}
.case__arrow svg { width: 18px; height: 18px; transition: transform 0.5s var(--ease); }
@keyframes arrowGlow {
  0%, 100% { box-shadow: 0 0 13px 0 rgba(47, 91, 255, 0.16); }
  50% { box-shadow: 0 0 24px 3px rgba(47, 91, 255, 0.42); }
}
@media (prefers-reduced-motion: reduce) {
  .case__arrow { animation: none; box-shadow: 0 0 16px 1px rgba(47, 91, 255, 0.28); }
}

/* expanding media reveal on hover */
.case__media {
  height: 0; overflow: hidden; border-radius: 6px; margin-top: 0;
  transition: height 0.7s var(--ease), margin-top 0.7s var(--ease);
  position: relative; background: var(--d-bg-2);
}
.case__media img {
  width: 100%; height: 130%; object-fit: cover; position: absolute; top: -15%; left: 0;
  filter: grayscale(0.2) contrast(1.02);
  transform: scale(1.06); transition: transform 0.9s var(--ease);
  will-change: transform;
}

@media (hover: hover) {
  .case:hover .case__title { transform: translateX(14px); }
  .case:hover .case__arrow { background: #2f5bff; border-color: #2f5bff; color: #fff; transform: rotate(0); box-shadow: 0 0 34px 5px rgba(47, 91, 255, 0.6); }
  .case:hover .case__arrow svg { transform: translate(2px,-2px); }
  .case:hover .case__media { height: clamp(220px, 34vw, 460px); margin-top: clamp(20px, 3vh, 34px); }
}
/* touch / no-hover: show a peek always */
@media (hover: none) {
  .case__media { height: clamp(180px, 50vw, 320px); margin-top: 22px; }
}

@media (max-width: 880px) {
  .case__row { grid-template-columns: auto 1fr auto; }
  .case__sub { display: none; }
}
@media (max-width: 560px) {
  .case__row { grid-template-columns: auto 1fr auto; gap: 14px; }
  .case__arrow { width: 40px; height: 40px; }
}

/* ============================================================
   ABOUT (light)
   ============================================================ */
.about { padding-block: clamp(90px, 15vh, 180px); position: relative; z-index: 1; }
.about__grid {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start;
}
.about__lead {
  font-family: var(--serif); font-weight: 600; letter-spacing: -0.025em;
  line-height: 1.08; font-size: clamp(1.6rem, 3.2vw, 2.9rem); margin: 26px 0 0; max-width: 18ch;
}
.about__photo {
  position: relative; aspect-ratio: 3/4; background: transparent;
}
.about__photo img {
  width: 100%; height: 100%; object-fit: cover; filter: none;
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0%, #000 17%, #000 83%, transparent 100%),
    linear-gradient(to right, transparent 0%, #000 9%, #000 91%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image:
    linear-gradient(to bottom, transparent 0%, #000 17%, #000 83%, transparent 100%),
    linear-gradient(to right, transparent 0%, #000 9%, #000 91%, transparent 100%);
          mask-composite: intersect;
}
.about__photo figcaption {
  position: absolute; left: 14px; bottom: 13px; font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.08em; color: #fff; mix-blend-mode: difference;
}
.about__blocks { display: grid; gap: 30px; margin-top: 48px; }
.about__block h4 {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  margin: 0 0 9px; color: var(--fg);
}
.about__block p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 15px; max-width: 52ch; }

@media (max-width: 820px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__photo { max-width: 360px; }
}

/* ---------- experience ---------- */
.exp { padding-top: clamp(72px, 13vh, 156px); margin-top: clamp(36px, 6vh, 72px); border-top: 1px solid var(--line); }
.exp__row {
  display: grid; grid-template-columns: 0.5fr 1.4fr 2fr; gap: 24px; align-items: baseline;
  border-top: 1px solid var(--line); padding: 26px 0;
  transition: padding-left 0.5s var(--ease);
}
.exp__row:last-child { border-bottom: 1px solid var(--line); }
.exp__row:hover { padding-left: 14px; }
.exp__co { font-family: var(--serif); font-weight: 700; font-size: clamp(1.3rem, 2.4vw, 1.9rem); letter-spacing: -0.02em; color: #5d7dff; }
.exp__role { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--muted); }
.exp__desc { color: var(--muted); line-height: 1.6; font-size: 14px; }
@media (max-width: 760px) {
  .exp__row { grid-template-columns: 1fr; gap: 8px; }
  .exp__desc { font-size: 13px; }
}

/* ============================================================
   WORD TICKER (band between About & Contact)
   ============================================================ */
.ticker {
  position: relative;
  background: #0c0c0e;
  padding: clamp(28px, 4.5vh, 56px) 0;
  overflow: hidden;
}
.ticker::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(47, 91, 255, 0.45) 28%, rgba(127, 160, 255, 0.6) 50%, rgba(47, 91, 255, 0.45) 72%, transparent);
  box-shadow: 0 0 10px 1px rgba(47, 91, 255, 0.32), 0 1px 22px 4px rgba(47, 91, 255, 0.2);
}
.ticker__track {
  display: flex; align-items: center; width: max-content;
  animation: tick 64s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(calc(-100% / 3)); } }
.ticker__item { display: flex; align-items: center; flex: none; }
.ticker__word {
  font-family: var(--sans); font-weight: 300; letter-spacing: 0.01em;
  font-size: clamp(0.95rem, 1.5vw, 1.4rem); color: rgba(240, 239, 233, 0.26);
  padding-inline: clamp(28px, 3.6vw, 60px); white-space: nowrap;
}
.ticker__sep {
  color: rgba(120, 145, 215, 0.5); font-size: clamp(0.55rem, 0.9vw, 0.8rem);
  text-shadow: 0 0 10px rgba(47, 91, 255, 0.3);
}
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; transform: translateX(calc(-100% / 6)); }
}

/* ============================================================
   CONTACT (dark) + footer
   ============================================================ */
.contact { padding-block: clamp(90px, 16vh, 190px) 60px; }
.contact__h {
  font-family: var(--serif); font-weight: 800; letter-spacing: -0.04em; line-height: 0.94;
  font-size: clamp(2.2rem, 6vw, 5.4rem); margin: 14px 0 0;
}
.contact__mail {
  display: inline-flex; align-items: center; gap: 18px; margin-top: clamp(26px, 4vh, 46px);
  font-family: var(--serif); font-weight: 600; font-size: clamp(1.3rem, 3.2vw, 2.4rem);
  letter-spacing: -0.02em; position: relative;
}
.contact__mail .ar { transition: transform 0.5s var(--ease); }
.contact__mail:hover .ar { transform: translate(6px,-6px); }
.contact__mail::after {
  content: ""; position: absolute; left: 0; right: 44px; bottom: -6px; height: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease);
}
.contact__mail:hover::after { transform: scaleX(1); }

.footer {
  margin-top: clamp(70px, 12vh, 150px); border-top: 1px solid var(--line);
  padding-top: 40px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px;
}
.footer__col h5 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; font-weight: 500; }
.footer__col a, .footer__col p { display: block; color: var(--fg); margin: 0 0 9px; font-size: 14px; opacity: 0.85; transition: opacity 0.3s, transform 0.3s var(--ease); }
.footer__col a:hover { opacity: 1; transform: translateX(4px); }
.footer__brand { font-family: var(--serif); font-weight: 800; font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -0.03em; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
  margin-top: clamp(50px, 9vh, 110px); padding-bottom: 16px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
@media (max-width: 760px) {
  .footer { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   scroll reveal util
   ============================================================ */
.r-up { opacity: 0; transform: translateY(30px); transition: opacity 0.9s var(--ease), transform 1s var(--ease); }
.r-up[data-rev="in"] { opacity: 1; transform: none; }

/* load entrance (above-the-fold, not scroll-dependent) */
.load-up { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .load-up { opacity: 0; animation: loadUp 1.1s var(--ease) both; }
}
@keyframes loadUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ---- tweak: color images ---- */
.show-color .marquee__item img,
.show-color .case__media img,
.show-color .about__photo img { filter: none !important; }

@media (max-width: 720px) {
  .hero { padding-top: 92px; padding-bottom: 32px; }
  .hero__top { margin-bottom: 34px; gap: 24px; }
  .hero__intro br { display: none; }
}

/* ---- tweak: centered hero ---- */
.t-center .hero { text-align: center; }
.t-center .hero__top { justify-content: center; }
.t-center .hero__meta { max-width: 56ch; }
.t-center .hero__avail { justify-content: center; }
.t-center .hero__headline { max-width: 18ch; margin-inline: auto; }
.t-center .hero__scroll { justify-content: center; }
@media (max-width: 720px) { .t-center .hero { text-align: left; } .t-center .hero__headline { margin-inline: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal-word { transform: none; opacity: 1; }
  .r-up { opacity: 1; transform: none; }
}
