/* =========================================================
   Binary Mango — motion-first rebuild
   ========================================================= */

:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --grey: #a1a1a1;
  --grey-2: #6f6f6f;
  --honeydew: #fcefca;
  --honeydew-section: #fcf6e3;
  --alice-blue: #f0f5ff;
  --mango: #ffc21a;

  --cyan: #d2f5fd;
  --pink: #fde1fb;
  --green: #e1f8d2;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);

  --pad: clamp(20px, 5.2vw, 75px);
  --max: 1290px;
  --radius: 20px;
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  color: var(--black);
  background: var(--white);
  font-family: "Inter Tight", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  overflow-x: hidden;
}
html.is-loading body { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 500; }

::selection { background: var(--mango); color: var(--black); }

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--pad) * 2);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* =========================================================
   Preloader
   ========================================================= */
.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
}
html:not(.js) .loader { display: none; }
html.js .loader__brand, html.js .loader__bottom { visibility: hidden; }
.loader__inner {
  position: absolute;
  inset: 0;
  background: var(--black);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  will-change: clip-path;
  clip-path: inset(0 0 0 0);
}
.loader__brand {
  display: flex;
  align-items: flex-start;
  font-size: clamp(36px, 6vw, 84px);
  letter-spacing: -0.03em;
  font-weight: 400;
  overflow: hidden;
  padding: 0.05em 0.1em;
}
.loader__word { display: inline-block; }
.loader__word b { font-weight: 700; }
.loader__dot {
  width: 0.18em; height: 0.18em;
  margin-top: 0.22em; margin-left: 0.04em;
  border-radius: 50%;
  background: var(--mango);
  transform: scale(0);
}
.loader__bottom {
  position: absolute;
  left: var(--pad); right: var(--pad); bottom: 36px;
  display: flex; justify-content: space-between; align-items: flex-end;
  font-size: 14px; color: #8b8b8b;
}
.loader__count {
  font-size: clamp(48px, 9vw, 140px);
  line-height: 0.8;
  color: var(--white);
  font-weight: 300;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.loader__bar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: #1d1d1d;
}
.loader__bar span {
  display: block; height: 100%; width: 100%; background: var(--mango);
  transform: scaleX(0); transform-origin: left;
}

/* =========================================================
   Cursor
   ========================================================= */
.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 999; display: none; }
html.has-cursor .cursor { display: block; }
.cursor__dot, .cursor__ring {
  position: fixed; left: 0; top: 0;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}
.cursor__dot {
  width: 8px; height: 8px; margin: -4px 0 0 -4px;
  background: var(--black);
}
.cursor__ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border: 1px solid rgba(10, 10, 10, 0.35);
  display: grid; place-items: center;
  transition: width .45s var(--ease-out), height .45s var(--ease-out), margin .45s var(--ease-out),
              background-color .35s, border-color .35s, opacity .3s;
}
.cursor__label {
  font-size: 13px; font-weight: 600; color: var(--white);
  text-align: center; line-height: 1.1;
  opacity: 0; transform: scale(.6);
  transition: opacity .3s, transform .45s var(--ease-out);
  max-width: 70px;
}
.cursor.is-view .cursor__ring,
.cursor.is-scene .cursor__ring {
  width: 110px; height: 110px; margin: -55px 0 0 -55px;
  background: var(--black); border-color: var(--black);
}
.cursor.is-scene .cursor__ring { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--mango); border-color: var(--mango); }
.cursor.is-scene .cursor__label { color: var(--black); }
.cursor.is-view .cursor__label, .cursor.is-scene .cursor__label { opacity: 1; transform: scale(1); }
.cursor.is-view .cursor__dot, .cursor.is-scene .cursor__dot { opacity: 0; }
.cursor.is-hide .cursor__ring { width: 0; height: 0; margin: 0; opacity: 0; }
.cursor.is-hide .cursor__dot { transform: scale(0); }
.cursor.is-link .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: rgba(10,10,10,.15); background: rgba(255,194,26,.25); }
.cursor.is-dark .cursor__dot { background: var(--white); }
.cursor.is-dark .cursor__ring { border-color: rgba(255,255,255,.4); }
.cursor.is-pressed .cursor__ring { transform: scale(.85); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }
html.has-cursor, html.has-cursor * { cursor: none !important; }

/* scroll progress */
.progress { position: fixed; left: 0; top: 0; right: 0; height: 2px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--mango); transform: scaleX(0); transform-origin: left; }

/* =========================================================
   Nav
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 110;
  pointer-events: none;
  transition: transform .7s var(--ease-out);
}
.nav.is-hidden { transform: translateY(-110%); }
.nav__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 26px var(--pad);
}
.nav__inner > * { pointer-events: auto; }
.nav__logo img { width: 200px; height: auto; transition: filter .5s; }
.nav__left { justify-self: start; }
.nav__pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: 99px;
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0,0,0,.08);
  font-size: 13px;
  transition: background .4s, border-color .4s, color .4s;
}
.nav__pill:hover { background: var(--black); color: var(--white); }
.nav__pill-dot { width: 8px; height: 8px; border-radius: 50%; background: #2ecc71; position: relative; }
.nav__pill-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit;
  animation: ping 1.8s var(--ease-out) infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3); opacity: 0; } }

.burger {
  justify-self: end;
  width: 56px; height: 56px;
  position: relative;
  border-radius: 50%;
  display: grid; place-items: center;
}
.burger::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--black); transform: scale(0);
  transition: transform .5s var(--ease-out);
}
.burger:hover::before { transform: scale(1); }
.burger__line {
  position: absolute; left: 8px; right: 8px; height: 2px; background: var(--black);
  transition: transform .6s var(--ease-out), background-color .3s, left .5s var(--ease-out), right .5s var(--ease-out);
}
.burger__line--1 { transform: translateY(-5px); }
.burger__line--2 { transform: translateY(5px); }
.burger:hover .burger__line { background: var(--white); left: 16px; right: 16px; }
html.menu-open .burger__line { background: var(--white); left: 16px; right: 16px; }
html.menu-open .burger__line--1 { transform: rotate(45deg); }
html.menu-open .burger__line--2 { transform: rotate(-45deg); }
html.menu-open .nav__logo img { filter: brightness(0) invert(1); }
html.menu-open .nav__pill { opacity: 0; pointer-events: none; }
html.menu-open .burger::before { background: #1a1a1a; }

/* =========================================================
   Menu
   ========================================================= */
.menu {
  position: fixed; inset: 0; z-index: 105;
  visibility: hidden;
  color: var(--white);
}
.menu__bg {
  position: absolute; inset: 0; background: var(--black);
  --r: 0%;
  clip-path: circle(var(--r) at var(--cx, calc(100% - 60px)) var(--cy, 54px));
}
.menu__content {
  position: relative; height: 100%;
  display: grid; grid-template-columns: 1.4fr 1fr;
  align-items: end; gap: 40px;
  padding: 120px var(--pad) 60px;
}
.menu__list { list-style: none; margin: 0; padding: 0; }
.menu__link {
  display: flex; align-items: flex-start; gap: 22px;
  font-size: clamp(56px, 10vw, 150px);
  line-height: 1; letter-spacing: -0.04em; font-weight: 500;
}
.menu__num { font-size: 15px; letter-spacing: 0; color: var(--grey-2); margin-top: 1.2em; font-variant-numeric: tabular-nums; }
.menu__text { display: block; overflow: hidden; padding-bottom: .06em; }
.menu__roll { display: block; position: relative; transition: transform .7s var(--ease-out); }
.menu__roll::after {
  content: attr(data-text);
  position: absolute; left: 0; top: 100%;
  color: transparent; -webkit-text-stroke: 1.5px var(--white);
  padding-top: .06em;
}
.menu__link:hover .menu__roll { transform: translateY(calc(-100% - .06em)); }
.menu__list:hover .menu__link { opacity: .35; transition: opacity .4s; }
.menu__list .menu__link:hover { opacity: 1; }
.menu__aside { display: grid; gap: 34px; font-size: 16px; color: #cfcfcf; padding-bottom: 14px; }
.menu__label { color: var(--grey-2); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.menu__mail { display: block; color: var(--white); font-size: 22px; width: fit-content; background: linear-gradient(currentColor,currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease-out); }
.menu__mail:hover { background-size: 100% 1px; }
.menu__socials { display: flex; gap: 22px; flex-wrap: wrap; }
.menu__socials a { color: var(--white); }
.menu__socials a:hover { color: var(--mango); }
.menu [data-menu-item] { will-change: transform; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  padding-top: 112px;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.hero__title {
  display: flex; flex-direction: column; align-items: center;
  font-size: 10vw;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.035em;
  text-align: center;
}
.hero__line {
  /* flex (not inline flow) so each line's height is exactly its box —
     no baseline strut adding extra space under the clipped "Winning" box */
  display: flex; justify-content: center;
  position: relative; will-change: transform;
}
.hero__word { display: inline-block; padding: 0 0.04em 0.14em; margin-bottom: -0.14em; }
.hero__line--1 .hero__word,
.hero__line--3 .hero__word { clip-path: inset(-0.2em -0.2em 0 -0.2em); }

/* "Winning" — photographic knockout */
.winning {
  position: relative;
  display: inline-block;
  isolation: isolate;
  overflow: hidden;
  /* the padding makes room for the "g" descender inside the clipped box */
  margin: -0.02em 0 -0.2em;
  cursor: pointer;
}
.winning__canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
  z-index: 0;
  background: linear-gradient(120deg, #2f5d3a, #6a8f4e 50%, #1d3b2a);
}
.winning__knock {
  position: relative; z-index: 1;
  display: block;
  padding: 0.02em 0.06em 0.2em;
  background: var(--white);
  color: #000;
  mix-blend-mode: screen;
}
.winning__stroke {
  position: absolute; inset: 0; z-index: 2;
  padding: 0.02em 0.06em 0.2em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(10, 10, 10, 0.85);
  pointer-events: none;
}
.winning .char { will-change: transform; }

.hero__sub {
  margin: 34px auto 0;
  max-width: 560px;
  text-align: center;
  font-size: clamp(19px, 1.6vw, 23px);
  line-height: 1.3;
}
.hero__cta { display: flex; justify-content: center; margin-top: 34px; }

/* underline link */
.link-line { display: inline-flex; flex-direction: column; gap: 6px; font-size: 17px; font-weight: 600; }
.link-line__text, .button__text { display: block; overflow: hidden; }
.link-line__text > span, .button__text > span {
  display: block; position: relative;
  transition: transform .6s var(--ease-out);
}
.link-line__text > span::after, .button__text > span::after {
  content: attr(data-text);
  position: absolute; left: 0; top: 100%; width: 100%;
}
.link-line:hover .link-line__text > span,
.button:hover .button__text > span { transform: translateY(-100%); }
.link-line__bar { height: 1px; background: rgba(10,10,10,.2); position: relative; overflow: hidden; }
.link-line__bar::after {
  content: ""; position: absolute; inset: 0; background: var(--black);
  transform-origin: right; transition: transform .7s var(--ease-in-out);
}
.link-line:hover .link-line__bar::after { transform: scaleX(0); transform-origin: right; animation: line-in .7s .35s var(--ease-in-out) forwards; }
@keyframes line-in { from { transform: scaleX(0); transform-origin: left; } to { transform: scaleX(1); transform-origin: left; } }

/* rotating badge */
.badge {
  position: absolute;
  right: var(--pad); top: 46vh;
  width: 128px; height: 128px;
  display: grid; place-items: center;
  z-index: 3;
}
.badge__ring { position: absolute; inset: 0; width: 100%; height: 100%; will-change: transform; }
.badge__ring text { font-size: 15.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; fill: var(--black); }
.badge__play {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--mango);
  display: grid; place-items: center;
  transition: transform .6s var(--ease-out), background-color .3s;
}
.badge__play svg { width: 22px; fill: var(--black); margin-left: 2px; transition: fill .3s; }
.badge:hover .badge__play { transform: scale(1.25); background: var(--black); }
.badge:hover .badge__play svg { fill: var(--white); }

/* marquee */
.marquee {
  margin-top: auto;
  padding: 44px 0 40px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; gap: clamp(60px, 7vw, 110px); padding-right: clamp(60px, 7vw, 110px); }
.marquee__group img {
  height: clamp(34px, 3.8vw, 54px); width: auto;
  filter: grayscale(1);
  opacity: .9;
  transition: filter .5s, opacity .5s, transform .6s var(--ease-out);
}
.marquee__group img.is-tall { height: clamp(64px, 7vw, 100px); }
.marquee__group img:hover { filter: none; opacity: 1; transform: scale(1.08); }

/* =========================================================
   Sections
   ========================================================= */
.section { position: relative; padding: 70px 0; }
.title {
  font-size: clamp(30px, 2.8vw, 40px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.emoji { display: inline-block; }
.emoji--beat { animation: beat 1.6s ease-in-out infinite; transform-origin: 50% 60%; }
@keyframes beat { 0%, 40%, 100% { transform: scale(1); } 15% { transform: scale(1.25); } 25% { transform: scale(.95); } }

/* stats */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px;
  perspective: 1000px;
}
.stat {
  --mx: 50%; --my: 50%;
  position: relative;
  border-radius: var(--radius);
  padding: 44px 26px;
  text-align: center;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  transform-style: preserve-3d;
  overflow: hidden;
  isolation: isolate;
}
.stat::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(255,255,255,.85), transparent 60%);
  opacity: 0; transition: opacity .5s;
}
.stat:hover::before { opacity: 1; }
.stat--cyan { background: var(--cyan); }
.stat--honey { background: var(--honeydew); }
.stat--pink { background: var(--pink); }
.stat--green { background: var(--green); }
.stat__num {
  font-size: clamp(44px, 3.9vw, 56px); font-weight: 500; line-height: 1.07;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  font-variant-numeric: tabular-nums;
  transform: translateZ(40px);
}
.stat__label { font-size: 15px; transform: translateZ(24px); }

/* about */
.about {
  margin-top: 150px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
}
.about__text { display: grid; gap: 1.3em; max-width: 520px; margin-left: auto; }
.about__text p { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.3; }
.about__text .word { display: inline-block; }

/* day 0 */
.day0 { margin-top: 140px; }
.day0__grid { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; }
.service p { font-size: 17px; line-height: 1.35; max-width: 340px; }
.muted { color: var(--grey); }
.service__circle {
  width: 120px; height: 120px; border-radius: 50%;
  background: var(--alice-blue);
  display: grid; place-items: center;
  margin-bottom: 40px;
  position: relative;
  transition: background-color .5s;
}
.service__circle::after {
  content: ""; position: absolute; inset: -8px; border-radius: 50%;
  border: 1px dashed rgba(10,10,10,.18);
  opacity: 0; transform: scale(.8) rotate(0deg);
  transition: opacity .5s, transform .8s var(--ease-out);
}
.service:hover .service__circle { background: var(--honeydew); }
.service:hover .service__circle::after { opacity: 1; transform: scale(1) rotate(90deg); }
.service__circle img { filter: invert(1); transition: transform .7s var(--ease-out); }
.service:hover .service__circle img { transform: rotate(-10deg) scale(1.12); }

/* work */
.section--work { padding-top: 120px; }
.work {
  margin-top: 44px;
  display: grid; grid-template-columns: 1fr 1fr;
  column-gap: 40px; row-gap: 70px;
}
.project { display: block; }
.project--feature { grid-column: 1 / -1; }
.project--feature .project__media { aspect-ratio: 21 / 9; }
.project--feature .project__title { font-size: clamp(28px, 2.6vw, 38px); }
.project__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 6px;
  background: #eee;
}
.project__media img {
  position: absolute; inset: -12% 0;
  width: 100%; height: 124%;
  object-fit: cover;
  will-change: transform;
}
.project__media::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(10,10,10,0); transition: background-color .6s;
}
a.project:hover .project__media::after { background: rgba(10,10,10,.08); }
.project__meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 24px;
}
.project__title { font-size: clamp(22px, 1.8vw, 26px); font-weight: 500; letter-spacing: -0.02em; position: relative; }
.project__title i {
  position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px; background: var(--black);
  transform: scaleX(0); transform-origin: right; transition: transform .7s var(--ease-out);
}
a.project:hover .project__title i { transform: scaleX(1); transform-origin: left; }
.project__cat { font-size: 15px; }
.project__desc { margin-top: 8px; font-size: 15px; color: var(--grey-2); }
.project__result {
  position: absolute; left: 18px; top: 18px; z-index: 1;
  padding: 8px 14px; border-radius: 999px;
  background: var(--mango); color: var(--black);
  font-size: 14px; font-weight: 600; letter-spacing: -0.01em;
  box-shadow: 0 10px 30px -12px rgba(10,10,10,.35);
}

/* project index */
.index { margin-top: 120px; }
.index__head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 18px;
}
.index__title { font-size: clamp(24px, 2.2vw, 32px); font-weight: 500; letter-spacing: -0.02em; }
.index__count { font-size: 15px; color: var(--grey-2); font-variant-numeric: tabular-nums; }
.index__list { list-style: none; margin: 0; padding: 0; }
.index__list li { --rule: 1; position: relative; }
.index__list li::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: rgba(10,10,10,.14);
  transform: scaleX(var(--rule)); transform-origin: left;
}
.index__list li:last-child::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: rgba(10,10,10,.14);
  transform: scaleX(var(--rule)); transform-origin: left;
}
.index__row {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 44px minmax(160px, 260px) 1fr 210px 28px;
  align-items: center; gap: 20px;
  padding: 22px 12px;
  font-size: 17px;
}
.index__row::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--white); border-radius: 6px;
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .6s var(--ease-out);
}
.index__emoji { font-size: 22px; line-height: 1; transition: transform .6s var(--ease-out); }
.index__name { font-size: clamp(20px, 1.6vw, 24px); font-weight: 500; letter-spacing: -0.02em; transition: transform .6s var(--ease-out); }
.index__desc { color: var(--grey-2); }
.index__result:empty { visibility: hidden; }
.index__result {
  justify-self: end; white-space: nowrap;
  padding: 6px 12px; border-radius: 999px;
  background: var(--honeydew); font-size: 14px; font-weight: 600;
}
.index__arrow { justify-self: end; font-size: 20px; transition: transform .6s var(--ease-out); }
a.index__row:hover::before { transform: scaleY(1); transform-origin: top; }
a.index__row:hover .index__emoji { transform: scale(1.25) rotate(-10deg); }
a.index__row:hover .index__name { transform: translateX(8px); }
a.index__row:hover .index__arrow { transform: translate(4px, -4px); }
@media (hover: hover) {
  .index__list:has(a.index__row:hover) .index__row { opacity: .4; transition: opacity .4s; }
  .index__list .index__row:hover { opacity: 1; }
}

/* quotes */
.quotes { margin-top: 150px; }
.quotes__grid { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; perspective: 1000px; }
.quote {
  --mx: 50%; --my: 50%;
  margin: 0;
  background: var(--white);
  border-radius: 8px;
  padding: 30px 26px;
  display: flex; flex-direction: column; gap: 22px;
  position: relative; overflow: hidden;
  transform-style: preserve-3d;
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
  transition: box-shadow .6s;
}
.quote:hover { box-shadow: 0 30px 60px -30px rgba(80, 60, 10, .25); }
.quote::before {
  content: "\201C";
  position: absolute; right: 18px; top: -10px;
  font-size: 140px; line-height: 1; color: var(--honeydew);
  transition: transform .8s var(--ease-out), color .5s;
}
.quote:hover::before { transform: translateY(10px) rotate(-6deg); color: var(--mango); }
.quote__avatar { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; position: relative; }
.quote blockquote { margin: 0; font-size: 17px; line-height: 1.35; position: relative; }
.quote figcaption { font-size: 15px; margin-top: auto; }
.quote figcaption span { color: var(--grey-2); }

/* contact */
.section--contact { padding: 180px 0 140px; }
.contact__kicker { text-align: center; font-size: clamp(18px, 1.4vw, 20px); margin-bottom: 18px; }
.promise {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px;
  margin-bottom: 50px; font-size: 15px; color: var(--grey-2);
}
.promise__item { display: inline-flex; align-items: center; gap: 10px; }
.promise__item[hidden] { display: none; }
.promise__book { color: var(--black); font-weight: 600; background: linear-gradient(currentColor,currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease-out); }
.promise__book:hover { background-size: 100% 1px; }
.form { display: grid; gap: 26px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 40px; }
.field { display: block; position: relative; }
.field__label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 10px; transition: color .3s, transform .5s var(--ease-out); }
.field__input {
  width: 100%;
  font: inherit; font-size: 17px; color: var(--black);
  background: #f5f5f5;
  border: 0; border-radius: 4px 4px 0 0;
  padding: 16px 18px;
  outline: none;
  transition: background-color .4s;
}
.field__input--area { min-height: 140px; resize: vertical; }
.field__input:hover { background: #f0f0f0; }
.field__input:focus { background: var(--honeydew-section); }
.field__line {
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--black);
  transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out);
}
.field:focus-within .field__line { transform: scaleX(1); }
.field:focus-within .field__label { transform: translateX(6px); }
.field.is-invalid .field__line { transform: scaleX(1); background: #e24c4b; }
.field.is-invalid .field__label { color: #e24c4b; }
.field--area .field__line { bottom: 6px; }

.button {
  position: relative; overflow: hidden;
  margin-top: 40px;
  width: 100%;
  padding: 20px;
  border-radius: 4px;
  background: var(--honeydew);
  font-size: 16px; font-weight: 600;
  isolation: isolate;
  transition: color .5s;
}
.button__fill {
  position: absolute; left: 50%; top: 50%;
  width: 150%; aspect-ratio: 1; border-radius: 50%;
  background: var(--black);
  transform: translate(-50%, -50%) scale(0);
  transition: transform .8s var(--ease-out);
  z-index: -1;
}
.button:hover { color: var(--white); }
.button:hover .button__fill { transform: translate(-50%, -50%) scale(1); }
.button__text { position: relative; height: 1.3em; line-height: 1.3em; }
.form__status { min-height: 1.4em; text-align: center; font-size: 15px; color: var(--grey-2); }

/* =========================================================
   Footer
   ========================================================= */
.footer { position: relative; background: var(--black); color: var(--white); overflow: hidden; }
.footer__inner { padding: 90px 0 40px; will-change: transform; }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 40px; }
.footer__col { display: grid; gap: 16px; align-content: start; font-size: 15px; }
.footer__col--right { justify-self: end; }
.footer__tag {
  text-transform: uppercase; font-size: 13px; font-weight: 600; letter-spacing: .02em;
  display: flex; gap: 12px; align-items: center;
  padding-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.7); width: fit-content;
}
.footer__clock { color: var(--grey); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.footer__link { width: fit-content; background: linear-gradient(currentColor,currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease-out), color .3s; }
.footer__link:hover { background-size: 100% 1px; color: var(--mango); }
.footer__mark {
  margin: 90px 0 20px;
  display: flex; align-items: flex-start; justify-content: center;
  font-size: 15.5vw; line-height: .85; letter-spacing: -0.055em; font-weight: 400;
  white-space: nowrap;
  overflow: hidden; padding-bottom: .04em;
}
.footer__mark span[data-footer-mark] { display: inline-block; }
.footer__mark span[data-footer-mark]:nth-child(2) { font-weight: 700; }
.footer__mark .char { display: inline-block; will-change: transform; }
.footer__mark-dot { width: .15em; height: .15em; border-radius: 50%; background: var(--mango); margin: .1em 0 0 .03em; flex: none; }
.footer__bottom { display: flex; justify-content: space-between; color: var(--grey); font-size: 13px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); }
.footer__top { color: var(--white); }
.footer__top:hover { color: var(--mango); }

/* =========================================================
   Pre-animation states (only when JS + motion are on)
   ========================================================= */
html.js:not(.reduced-motion) [data-hero-split],
html.js:not(.reduced-motion) .hero__sub,
html.js:not(.reduced-motion) .hero__cta,
html.js:not(.reduced-motion) .marquee,
html.js:not(.reduced-motion) .badge,
html.js:not(.reduced-motion) .nav__inner { visibility: hidden; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 991px) {
  .stats { grid-template-columns: 1fr 1fr; gap: 20px; }
  .about { grid-template-columns: 1fr; }
  .about__text { margin-left: 0; max-width: none; }
  .day0__grid { grid-template-columns: 1fr 1fr; }
  .quotes__grid { grid-template-columns: 1fr; }
  .menu__content { grid-template-columns: 1fr; align-content: end; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__col--right { justify-self: start; }
  .badge { display: none; }
  .nav__left { visibility: hidden; }
}
@media (max-width: 767px) {
  .hero__title { font-size: 15vw; }
  .hero { padding-top: 100px; min-height: auto; }
  .nav__logo img { width: 150px; }
  .work { grid-template-columns: 1fr; row-gap: 50px; }
  .project--feature .project__media { aspect-ratio: 16 / 10; }
  .index { margin-top: 80px; }
  .index__row { grid-template-columns: 36px 1fr auto; gap: 4px 14px; padding: 18px 4px; }
  .index__emoji { grid-row: span 2; align-self: start; }
  .index__desc { grid-column: 2 / -1; grid-row: 2; font-size: 15px; }
  .index__result { grid-column: 3; grid-row: 1; }
  .index__result:empty { display: none; }
  .index__arrow { display: none; }
  .day0__grid { grid-template-columns: 1fr; gap: 40px; }
  .form__grid { grid-template-columns: 1fr; }
  .menu__aside { display: none; }
  .winning__stroke { -webkit-text-stroke-width: 1px; }
}
@media (max-width: 479px) {
  .stats { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
