/* ==========================================================================
   Elevv Studio — editorial, quiet, precise
   ========================================================================== */
:root {
  --paper: #f1efea;
  --paper-2: #e8e5de;
  --ink: #0f0f0e;
  --ink-2: #1a1a18;
  --muted: #6f6c66;
  --line: rgba(15, 15, 14, .14);
  --d-text: #ece9e2;
  --d-muted: #8f8b83;
  --d-line: rgba(236, 233, 226, .14);
  --live: #5bd18b;

  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(16px, 3.2vw, 48px);
  --ease: cubic-bezier(.19, 1, .22, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* Subtle film grain — gives flat colour a printed, tactile feel */
body::after {
  content: "";
  position: fixed; inset: -50%;
  z-index: 100; pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
::selection { background: var(--ink); color: var(--paper); }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
:focus-visible { outline: 1.5px solid currentColor; outline-offset: 4px; }

.wrap { width: 100%; padding-inline: var(--gutter); max-width: 1680px; margin-inline: auto; }
.mono { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; font-weight: 400; }
.hide-sm { }
.skip { position: absolute; left: -9999px; top: 10px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 16px; }
.skip:focus { left: 10px; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--live); margin-right: 8px; vertical-align: 1px; box-shadow: 0 0 0 0 rgba(91, 209, 139, .5); animation: pulse 2.4s infinite; }

/* Layout grid: label column + main column */
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.col-label { grid-column: 1 / span 3; }
.col-main { grid-column: 4 / -1; }
.shead { display: flex; gap: 18px; color: var(--muted); padding-top: 14px; margin-bottom: 36px; }
.section--dark .shead { color: var(--d-muted); }
@media (max-width: 900px) {
  .col-label, .col-main { grid-column: 1 / -1; }
}

/* ---------- Type ---------- */
.display {
  font-weight: 400;
  font-size: clamp(2.6rem, 6.2vw, 6rem);
  line-height: .98;
  letter-spacing: -.045em;
}
.display em { font-size: 1.06em; letter-spacing: -.02em; }
.lead { font-size: clamp(1.02rem, 1.25vw, 1.2rem); color: var(--muted); max-width: 560px; line-height: 1.55; }
.section--dark .lead { color: var(--d-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  height: 56px; padding: 0 8px 0 26px;
  border-radius: 999px;
  background: var(--ink); color: var(--paper);
  font-size: 15px; font-weight: 500; letter-spacing: -.005em;
  border: 0; cursor: pointer;
  transition: transform .6s var(--ease);
}
.btn__label { position: relative; display: inline-block; overflow: hidden; line-height: 1.3; color: transparent; }
.btn__label::before, .btn__label::after {
  content: attr(data-text);
  position: absolute; left: 0; top: 0;
  color: currentColor; color: var(--btn-fg, var(--paper));
  transition: transform .6s var(--ease);
}
.btn__label::after { top: 100%; }
.btn:hover .btn__label::before, .btn:hover .btn__label::after { transform: translateY(-100%); }
.btn__arrow {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--paper); color: var(--ink);
  font-size: 16px;
  transition: transform .6s var(--ease);
}
.btn:hover .btn__arrow { transform: rotate(-45deg); }
.btn--light { background: var(--d-text); color: var(--ink); --btn-fg: var(--ink); }
.btn--light .btn__arrow { background: var(--ink); color: var(--d-text); }
.btn:disabled { opacity: .5; cursor: progress; }

.link-u { position: relative; font-size: 15px; font-weight: 500; padding-bottom: 3px; }
.link-u::after, .nav__links a::after, .footer__nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor;
  transform: scaleX(1); transform-origin: left; transition: transform .6s var(--ease);
}
.link-u:hover::after { transform: scaleX(0); transform-origin: right; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 60;
  transition: transform .7s var(--ease), background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-solid { background: rgba(241, 239, 234, .82); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { height: 72px; display: flex; align-items: center; gap: 32px; }
.brand { font-weight: 600; font-size: 1.45rem; letter-spacing: -.06em; line-height: 1; }
.brand sup { font-size: .4em; font-weight: 400; margin-left: 1px; vertical-align: 1.1em; letter-spacing: 0; }
.nav__links { display: flex; gap: 30px; margin-left: auto; font-size: 14px; }
.nav__links a { position: relative; padding-bottom: 2px; }
.nav__links a::after, .footer__nav a::after { transform: scaleX(0); transform-origin: right; }
.nav__links a:hover::after, .nav__links a.is-active::after,
.footer__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta {
  display: inline-flex; align-items: center;
  height: 40px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--ink); font-size: 14px; font-weight: 500;
  transition: background .4s, color .4s;
}
.nav__cta:hover { background: var(--ink); color: var(--paper); }
.nav__toggle { display: none; }

.menu { display: none; }
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__inner { justify-content: space-between; height: 64px; }
  .nav__toggle {
    display: grid; place-content: center; gap: 7px;
    width: 44px; height: 44px; margin-right: -10px;
    background: none; border: 0; cursor: pointer; position: relative; z-index: 70;
  }
  .nav__toggle span { width: 24px; height: 1.5px; background: var(--ink); transition: transform .5s var(--ease); }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .menu:not([hidden]) {
    display: flex; flex-direction: column; justify-content: space-between;
    position: fixed; inset: 0; z-index: 55;
    background: var(--paper);
    padding: 96px var(--gutter) 32px;
    animation: menuIn .6s var(--ease) both;
  }
  .menu__links a {
    display: flex; align-items: baseline; gap: 16px;
    font-size: clamp(2.2rem, 10vw, 3.2rem); letter-spacing: -.045em; line-height: 1.15;
    border-bottom: 1px solid var(--line); padding: 10px 0;
  }
  .menu__links .mono { color: var(--muted); }
  .menu__foot { color: var(--muted); }
}

/* ---------- Hero ---------- */
.hero { padding-top: 120px; }
.hero__meta {
  display: flex; justify-content: space-between; gap: 20px;
  color: var(--muted);
  padding-bottom: 18px; border-bottom: 1px solid var(--line);
  margin-bottom: clamp(40px, 6vw, 88px);
}
.hero__title {
  font-weight: 500;
  font-size: clamp(3rem, 12.3vw, 13.5rem);
  line-height: .9;
  letter-spacing: -.055em;
  margin-left: -.05em;
}
.hero__title em { font-weight: 400; font-size: 1.07em; letter-spacing: -.03em; }
.line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.line > span { display: block; transform: translateY(105%); transition: transform 1.3s var(--ease); }
.is-loaded .line > span { transform: none; }
.is-loaded .line:nth-child(2) > span { transition-delay: .08s; }
.is-loaded .line:nth-child(3) > span { transition-delay: .16s; }

.hero__foot {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 32px;
  margin-top: clamp(40px, 5vw, 72px);
  align-items: end;
  opacity: 0; transform: translateY(20px);
  transition: opacity 1.2s var(--ease) .45s, transform 1.2s var(--ease) .45s;
}
.is-loaded .hero__foot { opacity: 1; transform: none; }
.hero__lead { grid-column: 1 / span 5; font-size: clamp(1.05rem, 1.3vw, 1.25rem); line-height: 1.5; max-width: 520px; letter-spacing: -.01em; }
.hero__list { grid-column: 7 / span 3; color: var(--muted); line-height: 2; }
.hero__actions { grid-column: 10 / -1; display: flex; flex-direction: column; align-items: flex-end; gap: 18px; }

.reel { margin-top: clamp(56px, 7vw, 110px); overflow: hidden; }
.reel__track { display: flex; gap: 16px; width: max-content; animation: marquee 70s linear infinite; }
.reel:hover .reel__track { animation-play-state: paused; }
.reel img {
  width: clamp(300px, 36vw, 640px); aspect-ratio: 16 / 10;
  object-fit: cover; object-position: top;
  border-radius: 4px;
  background: var(--paper-2);
  filter: grayscale(100%);
  transition: filter .7s var(--ease), transform .6s var(--ease);
}
.reel img:hover {
  filter: grayscale(0%);
}

@media (max-width: 900px) {
  .hero { padding-top: 96px; }
  .hide-sm { display: none; }
  .hero__lead, .hero__list, .hero__actions { grid-column: 1 / -1; }
  .hero__list { display: none; }
  .hero__actions { flex-direction: row; align-items: center; gap: 22px; flex-wrap: wrap; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(96px, 12vw, 180px); position: relative; }
.section--paper2 { background: var(--paper-2); }
.section--dark { background: var(--ink); color: var(--d-text); }
.section--dark ::selection { background: var(--d-text); color: var(--ink); }

/* ---------- Studio statement ---------- */
.statement {
  font-size: clamp(1.7rem, 3.4vw, 3.3rem);
  line-height: 1.14;
  letter-spacing: -.035em;
  font-weight: 400;
  max-width: 1100px;
}
.statement em { font-size: 1.08em; }
.w { color: rgba(15, 15, 14, .16); transition: color .5s linear; }
.w.on { color: var(--ink); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(64px, 8vw, 120px); }
.fact { border-top: 1px solid var(--line); padding-top: 20px; }
.fact .mono { color: var(--muted); }
.fact h3 { font-weight: 500; font-size: 1.2rem; letter-spacing: -.02em; margin: 28px 0 8px; }
.fact p { color: var(--muted); font-size: .96rem; max-width: 330px; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Work ---------- */
.work__head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end;
  margin-bottom: clamp(56px, 7vw, 100px);
}
.work__head .shead { grid-column: 1 / span 3; align-self: start; }
.work__head .display { grid-column: 4 / span 5; }
.count { font-size: 12px; vertical-align: 2.6em; margin-left: 10px; color: var(--d-muted); letter-spacing: .04em; }
.filters { grid-column: 8 / -1; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 18px; }
.filter {
  background: none; border: 0; padding: 4px 0; cursor: pointer;
  font: inherit; letter-spacing: inherit; text-transform: inherit;
  color: var(--d-muted); position: relative; transition: color .3s;
}
.filter::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .5s var(--ease); transform-origin: left; }
.filter:hover, .filter[aria-selected="true"] { color: var(--d-text); }
.filter[aria-selected="true"]::after { transform: scaleX(1); }
.filter sup { font-size: .8em; margin-left: 2px; }

.work { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(20px, 3vw, 48px); row-gap: clamp(64px, 7vw, 110px); }
.card { display: block; }
.card:nth-child(even) { margin-top: clamp(0px, 12vw, 200px); }
.card__media {
  position: relative; overflow: hidden; border-radius: 4px;
  aspect-ratio: 16 / 11;
  background: var(--ink-2);
  clip-path: inset(12% 0 0 0);
  transition: clip-path 1.4s var(--ease);
}
.card__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: top;
  transform: scale(1.12);
  filter: grayscale(100%);
  transition: transform 1.6s var(--ease), opacity .6s, filter .7s var(--ease);
}
.card.is-visible .card__media { clip-path: inset(0 0 0 0); }
.card.is-visible .card__media img { transform: scale(1); }
.card:hover .card__media img,
.card:focus-within .card__media img {
  transform: scale(1.035);
  filter: grayscale(0%);
}
.card__media img.is-broken { opacity: 0; }
.card__info {
  display: grid; grid-template-columns: auto 1fr auto; column-gap: 20px; align-items: baseline;
  padding-top: 20px;
}
.card__idx { color: var(--d-muted); }
.card__title { font-size: clamp(1.35rem, 2vw, 1.9rem); font-weight: 400; letter-spacing: -.035em; line-height: 1.1; }
.card__cat { color: var(--d-muted); text-align: right; }
.card__desc { grid-column: 2 / -1; color: var(--d-muted); font-size: .95rem; margin-top: 8px; max-width: 520px; }
.card__host { grid-column: 2 / -1; margin-top: 14px; color: var(--d-text); display: inline-flex; gap: 8px; }
.card__host span { transition: transform .6s var(--ease); display: inline-block; }
.card:hover .card__host span { transform: translate(3px, -3px); }
.work__empty { grid-column: 1 / -1; color: var(--d-muted); }
.ph { aspect-ratio: 16 / 11; border-radius: 4px; background: linear-gradient(90deg, #171716, #222220, #171716); background-size: 200% 100%; animation: shimmer 1.6s infinite; }

@media (max-width: 900px) {
  .work__head .shead, .work__head .display, .filters { grid-column: 1 / -1; }
  .filters { justify-content: flex-start; margin-top: 28px; }
}
@media (max-width: 700px) {
  .work { grid-template-columns: 1fr; }
  .card:nth-child(even) { margin-top: 0; }
  .card__cat { display: none; }
}

/* ---------- Services ---------- */
.svc-list { margin-top: clamp(48px, 6vw, 90px); border-top: 1px solid var(--line); }
.svc {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center;
  padding: clamp(26px, 3vw, 40px) 0;
  border-bottom: 1px solid var(--line);
  transition: color .6s var(--ease), padding .6s var(--ease);
}
.svc::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1;
  background: var(--ink);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .6s var(--ease);
}
.svc:hover { color: var(--d-text); }
.svc:hover::before { transform: scaleY(1); transform-origin: top; }
.svc__num { grid-column: 1 / span 3; color: var(--muted); transition: color .6s; }
.svc__title { grid-column: 4 / span 4; font-weight: 400; font-size: clamp(1.7rem, 3vw, 2.8rem); letter-spacing: -.045em; line-height: 1.02; transition: transform .6s var(--ease); }
.svc__desc { grid-column: 8 / span 4; color: var(--muted); font-size: .98rem; max-width: 440px; transition: color .6s; }
.svc__arrow { grid-column: 12; justify-self: end; font-size: 1.5rem; transition: transform .6s var(--ease); }
.svc:hover .svc__num, .svc:hover .svc__desc { color: var(--d-muted); }
.svc:hover .svc__title { transform: translateX(14px); }
.svc:hover .svc__arrow { transform: rotate(45deg); }
@media (max-width: 900px) {
  .svc { grid-template-columns: 48px 1fr 32px; row-gap: 10px; }
  .svc__num { grid-column: 1; align-self: start; padding-top: .7em; }
  .svc__title { grid-column: 2; }
  .svc__arrow { grid-column: 3; }
  .svc__desc { grid-column: 2 / -1; }
  .svc:hover .svc__title { transform: none; }
}

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: clamp(48px, 6vw, 90px); counter-reset: s; }
.step { position: relative; padding-top: 22px; border-top: 1px solid var(--line); }
.step::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%;
  background: var(--ink); transform: scaleX(0); transform-origin: left;
  transition: transform 1.6s var(--ease) .2s;
}
.step.is-visible::before { transform: scaleX(1); }
.step__num { color: var(--muted); }
.step h3 { font-weight: 400; font-size: clamp(1.6rem, 2.2vw, 2.1rem); letter-spacing: -.04em; margin: clamp(28px, 3.5vw, 56px) 0 12px; }
.step p { color: var(--muted); font-size: .96rem; max-width: 300px; }
.step:nth-child(2) { transition-delay: .08s; }
.step:nth-child(3) { transition-delay: .16s; }
.step:nth-child(4) { transition-delay: .24s; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 56px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; row-gap: 44px; } .step h3 { margin-top: 26px; } }

/* ---------- Security ---------- */
.security { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 90px); align-items: end; }
.security .display { font-size: clamp(2.3rem, 4.4vw, 4.4rem); margin-bottom: 28px; }
.security .lead { margin-bottom: 36px; }
.report {
  background: var(--ink); color: var(--d-text);
  border-radius: 8px; overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(15, 15, 14, .5);
}
.report__bar, .report__foot { display: flex; justify-content: space-between; gap: 12px; padding: 16px 22px; color: var(--d-muted); }
.report__bar { border-bottom: 1px solid var(--d-line); }
.report__bar span:first-child::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #ff5f57; box-shadow: 14px 0 #febc2e, 28px 0 #28c840; margin-right: 50px; vertical-align: 0; opacity: .9; }
.report__foot { border-top: 1px solid var(--d-line); }
.report__rows li {
  display: grid; grid-template-columns: 92px 1fr auto; gap: 16px; align-items: center;
  padding: 16px 22px; border-bottom: 1px solid var(--d-line);
  text-transform: none; letter-spacing: .01em; font-size: 12.5px;
}
.report__rows li:last-child { border-bottom: 0; }
.report__rows li > span:last-child { color: var(--live); }
.sev { text-transform: uppercase; letter-spacing: .06em; font-size: 10.5px; display: inline-flex; align-items: center; gap: 8px; }
.sev::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.sev--crit { color: #ff6b5e; }
.sev--high { color: #ffa24c; }
.sev--med { color: #f2d15b; }
.sev--low { color: var(--d-muted); }
@media (max-width: 1100px) { .security { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .report__rows li { grid-template-columns: 1fr auto; } .report__rows li > span:nth-child(2) { grid-column: 1 / -1; grid-row: 2; } }

/* ---------- FAQ ---------- */
.faq { margin-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0;
  font-size: clamp(1.15rem, 1.7vw, 1.55rem); letter-spacing: -.03em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
  transition: transform .6s var(--ease);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { color: var(--muted); max-width: 680px; padding: 0 0 30px; }
.faq details[open] p { animation: fadeUp .7s var(--ease) both; }

/* ---------- Contact ---------- */
.contact__title { font-weight: 500; font-size: clamp(4rem, 14vw, 13rem); line-height: .86; letter-spacing: -.065em; margin: 0 0 32px -.05em; }
.contact__title em { font-weight: 400; letter-spacing: -.03em; }
.form { margin-top: clamp(56px, 6vw, 96px); display: grid; gap: 36px; max-width: 980px; }
.choices { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.choices legend { color: var(--d-muted); margin-bottom: 16px; padding: 0; }
.choices label { cursor: pointer; }
.choices input { position: absolute; opacity: 0; pointer-events: none; }
.choices span {
  display: inline-block; padding: 11px 20px; border-radius: 999px;
  border: 1px solid var(--d-line); font-size: 14.5px;
  transition: background .4s, color .4s, border-color .4s;
}
.choices label:hover span { border-color: var(--d-muted); }
.choices input:checked + span { background: var(--d-text); color: var(--ink); border-color: var(--d-text); }
.choices input:focus-visible + span { outline: 1.5px solid var(--d-text); outline-offset: 3px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.field { display: grid; gap: 4px; }
.field .mono { color: var(--d-muted); }
.field input, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--d-line);
  padding: 12px 0; font-size: clamp(1.1rem, 1.5vw, 1.35rem); letter-spacing: -.02em;
  border-radius: 0; transition: border-color .4s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--d-text); }
.form__foot { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.form__status { color: var(--d-muted); }
.hidden-field { position: absolute; left: -9999px; }
@media (max-width: 700px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--d-text); padding-top: clamp(64px, 8vw, 110px); border-top: 1px solid var(--d-line); overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__tag { font-size: clamp(1.5rem, 2.6vw, 2.4rem); letter-spacing: -.04em; line-height: 1.1; }
.footer__nav { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 56px; color: var(--d-muted); align-content: start; }
.footer__nav a { position: relative; justify-self: start; transition: color .3s; }
.footer__nav a:hover { color: var(--d-text); }
.footer__mark {
  font-weight: 600; font-size: clamp(6rem, 44.5vw, 46rem);
  letter-spacing: -.055em; line-height: .78;
  margin: clamp(56px, 7vw, 110px) 0 0 -.06em;
  color: var(--d-text);
  user-select: none;
}
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--d-muted); padding: 28px 0 32px; border-top: 1px solid var(--d-line); margin-top: clamp(24px, 3vw, 48px); }
.footer__bottom a:hover { color: var(--d-text); }

/* ---------- Cursor label over projects ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none;
  width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--d-text); color: var(--ink);
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  transform: translate3d(var(--x, -200px), var(--y, -200px), 0) scale(0);
  transition: transform .5s var(--ease);
}
.cursor.is-on { transform: translate3d(var(--x), var(--y), 0) scale(1); }
.cursor span::after { content: " ↗"; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }
@media (hover: hover) and (pointer: fine) { .card { cursor: none; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal, .no-js .hero__foot { opacity: 1; transform: none; }
.no-js .line > span { transform: none; }
.no-js .card__media { clip-path: none; }
.no-js .card__media img { transform: none; }

@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }
@keyframes menuIn { from { opacity: 0; } }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(91, 209, 139, .45); }
  70% { box-shadow: 0 0 0 8px rgba(91, 209, 139, 0); }
  100% { box-shadow: 0 0 0 0 rgba(91, 209, 139, 0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .reveal, .hero__foot { opacity: 1; transform: none; }
  .line > span { transform: none; }
  .card__media { clip-path: none; }
  .w { color: var(--ink); }
}
