/* ==========================================================================
   Studiostimp® — portfolio
   Black / white only. Neue Haas Grotesk (Adobe Fonts) with Helvetica fallback.
   ========================================================================== */

:root {
  --black: #000;
  --white: #fff;
  --grey: #8a8a8a;
  --grey-light: #e6e6e6;
  --placeholder: #cfcfcf;

  --font-display: "neue-haas-grotesk-display", "Neue Haas Grotesk Display Pro", "NHaasGroteskDSPro-55Rg", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-text: "neue-haas-grotesk-text", "Neue Haas Grotesk Text Pro", "NHaasGroteskTXPro-55Rg", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --gutter: clamp(16px, 2.2vw, 32px);
  --header-h: 64px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);

  --fs-mega: clamp(3.4rem, 15.5vw, 17rem);
  --fs-xl: clamp(2.6rem, 8vw, 8.5rem);
  --fs-l: clamp(1.9rem, 4.4vw, 4.4rem);
  --fs-m: clamp(1.35rem, 2.2vw, 2.1rem);
  --fs-body: clamp(1rem, 1.05vw, 1.125rem);
  --fs-s: 0.8125rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-text);
  font-size: var(--fs-body);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.theme-dark { background: var(--black); color: var(--white); }

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--black); color: var(--white); }
.theme-dark ::selection { background: var(--white); color: var(--black); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }

.display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.9;
  margin: 0;
}

.label {
  font-size: var(--fs-s);
  letter-spacing: 0.01em;
  text-transform: none;
}

.muted { color: var(--grey); }

sup.count {
  font-size: 0.28em;
  letter-spacing: 0;
  vertical-align: top;
  position: relative;
  top: 0.35em;
  margin-left: 0.1em;
  font-weight: 400;
}

/* ==========================================================================
   Header — difference blend so it reads on any background
   ========================================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  color: var(--white);
  mix-blend-mode: difference;
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}
.brand img {
  width: 26px;
  height: auto;
  transform-origin: 40% 90%;
}
.brand:hover img { animation: stim 0.45s var(--ease-io) 2; }
.brand.is-stimming img { animation: stim 0.45s var(--ease-io) 3; }

@keyframes stim {
  0%, 100% { transform: rotate(0); }
  30% { transform: rotate(-14deg) translateY(-2px); }
  60% { transform: rotate(8deg); }
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 36px);
  font-size: 1rem;
}
.nav a {
  position: relative;
  padding: 4px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 2px;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}
.lang-switch button {
  padding: 4px 9px;
  border-radius: 999px;
  transition: background .3s, color .3s;
}
.lang-switch button[aria-pressed="true"] { background: var(--white); color: var(--black); }

.menu-toggle { display: none; font-size: 1rem; }

/* Mobile menu overlay (outside the blended header) */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--black);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--header-h) + 24px) var(--gutter) var(--gutter);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .7s var(--ease-io);
  visibility: hidden;
}
.menu-open .menu-overlay { clip-path: inset(0 0 0 0); visibility: visible; }
.menu-overlay nav { display: flex; flex-direction: column; }
.menu-overlay nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3.4rem, 18vw, 7rem);
  letter-spacing: -0.05em;
  line-height: 0.95;
  transform: translateY(40px);
  opacity: 0;
  transition: transform .7s var(--ease), opacity .7s var(--ease);
}
.menu-open .menu-overlay nav a { transform: none; opacity: 1; }
.menu-open .menu-overlay nav a:nth-child(2) { transition-delay: .06s; }
.menu-open .menu-overlay nav a:nth-child(3) { transition-delay: .12s; }
.menu-overlay .menu-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 40px;
  font-size: var(--fs-s);
  gap: 16px;
}
.menu-overlay .lang-switch button[aria-pressed="true"] { background: var(--white); color: var(--black); }
.menu-open { overflow: hidden; }

@media (max-width: 720px) {
  :root { --header-h: 56px; }
  .nav { display: none; }
  .menu-toggle { display: inline-block; }
  .brand { font-size: 1.1rem; }
  .brand img { width: 22px; }
}

/* ==========================================================================
   Hero (home) — showreel
   ========================================================================== */

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 520px;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}
.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-title {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: calc(var(--gutter) + 28px);
  font-size: var(--fs-mega);
  color: var(--white);
  mix-blend-mode: difference;
  white-space: nowrap;
  will-change: transform;
  pointer-events: none;
}
.hero-title sup { font-size: 0.32em; vertical-align: top; position: relative; top: 0.2em; }
.hero-meta {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: var(--gutter);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: var(--fs-s);
  color: var(--white);
  mix-blend-mode: difference;
}
.hero-meta button { text-decoration: underline; text-underline-offset: 3px; }
.hero-meta .scroll-cue { display: inline-flex; gap: 6px; align-items: center; }
.scroll-cue span { display: inline-block; animation: bob 1.6s var(--ease-io) infinite; }
@keyframes bob { 50% { transform: translateY(4px); } }

@media (max-width: 720px) {
  .hero-meta .hide-sm { display: none; }
}

/* ==========================================================================
   Sections / type blocks
   ========================================================================== */

.section { padding: clamp(80px, 12vw, 180px) 0; }
.section--tight { padding: clamp(48px, 7vw, 100px) 0; }

.statement {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-l);
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 0;
  max-width: 22ch;
}
.statement .muted { color: var(--grey); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 4vw, 56px);
}
.section-head .display { font-size: var(--fs-xl); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.link-arrow .arr { transition: transform .4s var(--ease); }
.link-arrow:hover .arr { transform: translateX(5px); }

.page-hero {
  padding-top: calc(var(--header-h) + clamp(48px, 10vw, 140px));
  padding-bottom: clamp(32px, 5vw, 64px);
}
.page-hero .display { font-size: var(--fs-mega); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.split-line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.split-line > span { display: block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.is-in .split-line > span, .split-line.is-in > span { transform: none; }
.split-line:nth-child(2) > span { transition-delay: .07s; }
.split-line:nth-child(3) > span { transition-delay: .14s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .split-line > span { opacity: 1; transform: none; transition: none; }
  .brand:hover img, .brand.is-stimming img { animation: none; }
  .marquee__track { animation: none !important; }
}

/* ==========================================================================
   Work grid
   ========================================================================== */

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
  row-gap: clamp(48px, 7vw, 110px);
}
.work-card { grid-column: span 6; }
.work-grid--feature .work-card:nth-child(4n+1) { grid-column: 1 / span 7; }
.work-grid--feature .work-card:nth-child(4n+2) { grid-column: 9 / span 4; margin-top: clamp(80px, 14vw, 220px); }
.work-grid--feature .work-card:nth-child(4n+3) { grid-column: 2 / span 5; }
.work-grid--feature .work-card:nth-child(4n+4) { grid-column: 7 / span 6; margin-top: clamp(40px, 8vw, 120px); }

.work-card a { display: block; }
.work-card .media {
  position: relative;
  overflow: hidden;
  background: var(--placeholder);
  aspect-ratio: 4 / 5;
}
.work-card.is-wide .media { aspect-ratio: 16 / 10; }
.work-card .media img,
.work-card .media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease), opacity .5s var(--ease);
}
.work-card .media video { opacity: 0; }
.work-card.is-playing .media video { opacity: 1; }
.work-card a:hover .media img,
.work-card a:hover .media video { transform: scale(1.035); }

.work-card .meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-top: 14px;
}
.work-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-m);
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.work-card .sub { font-size: var(--fs-s); color: var(--grey); margin-top: 4px; }
.work-card .year { font-size: var(--fs-s); }

.placeholder-tile {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b6b6b;
  font-size: var(--fs-s);
  letter-spacing: 0.02em;
}

@media (max-width: 860px) {
  .work-grid { grid-template-columns: 1fr; row-gap: 56px; }
  .work-card,
  .work-grid--feature .work-card:nth-child(n) { grid-column: 1 / -1; margin-top: 0; }
  .work-card .media { aspect-ratio: 4 / 5; }
  .work-card.is-wide .media { aspect-ratio: 4 / 3; }
}

/* toolbar on work page */
.work-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid currentColor;
  margin-bottom: clamp(32px, 5vw, 64px);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: var(--fs-s);
  transition: background .3s, color .3s;
}
.chip[aria-pressed="true"], .chip:hover { background: var(--black); color: var(--white); }
.view-toggle { display: flex; gap: 14px; font-size: var(--fs-s); }
.view-toggle button { color: var(--grey); }
.view-toggle button[aria-pressed="true"] { color: var(--black); text-decoration: underline; text-underline-offset: 3px; }

.is-hidden { display: none !important; }

/* list view */
.work-list { border-top: 1px solid var(--black); }
.work-row a {
  display: grid;
  grid-template-columns: 3rem 1.3fr 1fr 0.5fr;
  align-items: baseline;
  gap: var(--gutter);
  padding: clamp(16px, 2vw, 26px) 0;
  border-bottom: 1px solid var(--black);
  transition: padding .5s var(--ease), background .3s;
}
.work-row .n { font-size: var(--fs-s); }
.work-row .t {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-l);
  letter-spacing: -0.04em;
  line-height: 1;
}
.work-row .tags { font-size: var(--fs-s); color: var(--grey); }
.work-row .y { font-size: var(--fs-s); text-align: right; }
.work-row a:hover { padding-left: 18px; }
@media (max-width: 720px) {
  .work-row a { grid-template-columns: 2rem 1fr auto; }
  .work-row .tags { display: none; }
}

/* floating preview that follows the cursor in list view */
.float-preview {
  position: fixed;
  top: 0; left: 0;
  width: clamp(220px, 22vw, 340px);
  aspect-ratio: 4 / 5;
  z-index: 60;
  pointer-events: none;
  overflow: hidden;
  background: var(--placeholder);
  opacity: 0;
  transform: translate(-50%, -50%) scale(.85);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.float-preview.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.float-preview video, .float-preview img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none) { .float-preview { display: none; } }

/* ==========================================================================
   Cursor label (shown over media)
   ========================================================================== */

.cursor {
  position: fixed;
  top: 0; left: 0;
  z-index: 200;
  width: 92px;
  height: 92px;
  margin: -46px 0 0 -46px;
  border-radius: 50%;
  background: var(--white);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  pointer-events: none;
  transform: scale(0);
  transition: transform .35s var(--ease);
  will-change: left, top;
}
.cursor.is-on { transform: scale(1); }
@media (hover: none) { .cursor { display: none; } }

/* ==========================================================================
   Marquee
   ========================================================================== */

.marquee {
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  padding: clamp(14px, 2vw, 26px) 0;
}
.marquee__track {
  display: inline-flex;
  gap: 0.6em;
  animation: marquee 32s linear infinite;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-l);
  letter-spacing: -0.035em;
  line-height: 1;
}
.marquee__track span::after { content: "✺"; margin-left: 0.6em; font-size: 0.6em; vertical-align: 0.25em; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   CTA block
   ========================================================================== */

.cta {
  background: var(--black);
  color: var(--white);
}
.cta a.big {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-xl);
  letter-spacing: -0.045em;
  line-height: .95;
}
.cta a.big .arr { display: inline-block; transition: transform .5s var(--ease); }
.cta a.big:hover .arr { transform: translate(10px, -10px); }

/* ==========================================================================
   Project page
   ========================================================================== */

.project-hero { padding-top: calc(var(--header-h) + clamp(40px, 8vw, 120px)); }
.project-hero .display { font-size: var(--fs-xl); max-width: 14ch; }
.project-hero .kicker { margin-bottom: 18px; }

.project-info {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
  padding: clamp(32px, 5vw, 72px) 0;
}
.project-info dl {
  grid-column: 1 / span 4;
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 24px;
  row-gap: 8px;
  font-size: var(--fs-s);
  align-content: start;
}
.project-info dt { color: var(--grey); }
.project-info dd { margin: 0; }
.project-info .desc {
  grid-column: 6 / span 7;
  font-family: var(--font-display);
  font-size: var(--fs-m);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
}
@media (max-width: 860px) {
  .project-info dl, .project-info .desc { grid-column: 1 / -1; }
  .project-info .desc { order: -1; }
}

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
}
.gallery figure { margin: 0; grid-column: span 12; }
.gallery figure.is-portrait { grid-column: span 4; }
.gallery figure.is-square { grid-column: span 6; }
.gallery figure.is-45 { grid-column: span 4; }
.gallery figure.is-landscape.is-half { grid-column: span 6; }
.gallery .frame {
  position: relative;
  background: var(--black);
  overflow: hidden;
}
.gallery video { width: 100%; height: auto; }
.gallery figcaption { font-size: var(--fs-s); color: var(--grey); margin-top: 10px; }
.gallery .placeholder { aspect-ratio: 16 / 9; background: var(--placeholder); position: relative; }
@media (max-width: 860px) {
  .gallery figure.is-portrait, .gallery figure.is-45 { grid-column: span 6; }
  .gallery figure.is-square, .gallery figure.is-landscape.is-half { grid-column: span 12; }
}
@media (max-width: 520px) {
  .gallery figure.is-portrait, .gallery figure.is-45 { grid-column: span 12; }
}

.play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: opacity .3s;
}
.play-btn span {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--white);
  color: var(--black);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem;
  transition: transform .4s var(--ease);
}
.play-btn:hover span { transform: scale(1.08); }
.frame.is-started .play-btn { opacity: 0; pointer-events: none; }
@media (hover: hover) { .frame .play-btn span { display: none; } }

.next-project {
  display: block;
  padding: clamp(60px, 10vw, 140px) 0;
  border-top: 1px solid currentColor;
}
.next-project .label { display: block; margin-bottom: 14px; }
.next-project .display { font-size: var(--fs-xl); }
.next-project .arr { display: inline-block; transition: transform .5s var(--ease); }
.next-project:hover .arr { transform: translateX(16px); }

/* ==========================================================================
   About
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
  align-items: start;
}
.about-media { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 16px); }
.about-media video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--black); }
.about-body { grid-column: 7 / span 6; }
.about-body p.lead {
  font-family: var(--font-display);
  font-size: var(--fs-m);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 1.4em;
}
.about-body p { margin: 0 0 1em; max-width: 52ch; }
@media (max-width: 860px) {
  .about-media, .about-body { grid-column: 1 / -1; position: static; }
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
  border-top: 1px solid currentColor;
  padding-top: 24px;
}
.facts h3 { font-size: var(--fs-s); font-weight: 400; color: var(--grey); margin: 0 0 14px; }
.facts ul { list-style: none; margin: 0; padding: 0; }
.facts li {
  font-family: var(--font-display);
  font-size: var(--fs-m);
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.facts li small { display: block; font-family: var(--font-display); font-size: var(--fs-s); letter-spacing: -0.025em; color: var(--grey); margin: 2px 0 12px; }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr; row-gap: 40px; } }

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
}
.contact-side { grid-column: 1 / span 4; font-size: var(--fs-s); }
.contact-side .block { margin-bottom: 36px; }
.contact-side .block h3 { font-size: var(--fs-s); font-weight: 400; color: var(--grey); margin: 0 0 8px; }
.contact-side .big-mail {
  font-family: var(--font-display);
  font-size: var(--fs-m);
  letter-spacing: -0.025em;
  word-break: break-all;
}
.copy-btn { margin-top: 8px; text-decoration: underline; text-underline-offset: 3px; font-size: var(--fs-s); }
.contact-form { grid-column: 6 / span 7; }
@media (max-width: 860px) {
  .contact-side, .contact-form { grid-column: 1 / -1; }
  .contact-form { order: -1; }
}

.field { position: relative; border-bottom: 1px solid var(--black); margin-bottom: 8px; }
.field label {
  display: block;
  font-size: var(--fs-s);
  color: var(--grey);
  padding-top: 18px;
}
.field input,
.field textarea {
  width: 100%;
  border: 0;
  background: transparent;
  font-family: var(--font-display);
  font-size: var(--fs-m);
  letter-spacing: -0.02em;
  padding: 6px 0 14px;
  color: inherit;
  outline: none;
  border-radius: 0;
}
.field textarea { resize: vertical; min-height: 7.5em; line-height: 1.2; }
.field::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--black);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.field:focus-within::after { transform: scaleX(1); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gutter); }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

.form-topics { margin: 26px 0 8px; }
.form-topics p { font-size: var(--fs-s); color: var(--grey); margin: 0 0 10px; }
.form-topics .chip input { position: absolute; opacity: 0; pointer-events: none; }
.form-topics label.chip { cursor: pointer; display: inline-block; position: relative; }
.form-topics label.chip:has(input:checked) { background: var(--black); color: var(--white); }
.form-topics label.chip:has(input:focus-visible) { outline: 2px solid var(--black); outline-offset: 2px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--black);
  color: var(--white);
  border-radius: 999px;
  padding: 16px 28px;
  font-size: 1rem;
  transition: transform .4s var(--ease), opacity .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn .arr { transition: transform .4s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.form-note { font-size: var(--fs-s); color: var(--grey); max-width: 36ch; }
.form-status { font-size: var(--fs-s); margin-top: 16px; min-height: 1.4em; }
.form-status.is-error { color: #b00020; }

.form-success { display: none; }
.contact-form.is-sent form { display: none; }
.contact-form.is-sent .form-success { display: block; }
.form-success .display { font-size: var(--fs-l); margin-bottom: 18px; }

/* ==========================================================================
   Footer — black, clean
   ========================================================================== */

.site-footer {
  background: var(--black);
  color: var(--white);
  padding: clamp(56px, 8vw, 110px) 0 var(--gutter);
}
.footer-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--gutter);
  font-size: var(--fs-s);
  margin-bottom: clamp(56px, 10vw, 140px);
}
.footer-cols h4 { font-weight: 400; color: var(--grey); margin: 0 0 10px; font-size: var(--fs-s); }
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer-cols li { margin-bottom: 4px; }
.footer-cols a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-cols .tagline {
  font-family: var(--font-display);
  font-size: var(--fs-m);
  letter-spacing: -0.025em;
  line-height: 1.1;
  max-width: 16ch;
}
.footer-mark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3rem, 17.4vw, 21rem);
  letter-spacing: -0.06em;
  line-height: 0.78;
  white-space: nowrap;
  margin: 0 0 0 -0.04em;
}
.footer-mark sup { font-size: 0.3em; vertical-align: top; position: relative; top: 0.12em; letter-spacing: -0.06em; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 22px;
  font-size: var(--fs-s);
  color: var(--grey);
}
.footer-bottom a { color: var(--white); }
@media (max-width: 720px) {
  .footer-cols { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .footer-cols > :first-child { grid-column: 1 / -1; }
}

/* work page: three columns */
.work-grid--three .work-card { grid-column: span 4; }
@media (max-width: 1100px) and (min-width: 861px) { .work-grid--three .work-card { grid-column: span 6; } }

