/* huzaifamalik.me */

@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --paper: #eeede8;
  --paper-2: #e3e2dc;
  --card: #f8f7f3;
  --ink: #0c0c0d;
  --ink-2: #19191b;
  --mute: #68686d;
  --line: rgba(12, 12, 13, 0.14);
  --line-light: rgba(255, 255, 255, 0.16);
  --blue: #2238ff;

  --pad: clamp(16px, 2.5vw, 44px);
  --radius: clamp(16px, 1.7vw, 30px);
  --gap: clamp(14px, 1.6vw, 28px);

  --sans: "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", serif;

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

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

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

/* Lenis */
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.32vw + 0.93rem, 1.2rem);
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
p,
dl,
dd,
figure {
  margin: 0;
}

em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}

::selection {
  background: var(--blue);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
  border-radius: 6px;
}

.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-200%);
}
.skip:focus {
  transform: none;
}

.arrow {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* ---------- Loader ---------- */

.loader {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--pad);
  background: var(--ink);
  color: var(--paper);
}
.js .loader {
  display: flex;
}
.is-fallback .loader {
  display: none;
}
.loader__top {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(238, 237, 232, 0.6);
}
.loader__count {
  font-size: clamp(6rem, 24vw, 22rem);
  font-weight: 500;
  line-height: 0.8;
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
  overflow: hidden;
  padding-bottom: 0.06em;
}
.loader__count span {
  display: inline-block;
}
.loader__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
}
.loader__bar i {
  display: block;
  height: 100%;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
}

/* ---------- Cursor ---------- */

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  pointer-events: none;
  display: none;
}
.cursor span {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  white-space: nowrap;
  padding: 0.7em 1.15em;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.45s var(--ease);
}
.cursor.is-on span {
  transform: translate(-50%, -50%) scale(1);
}
@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: block;
  }
}

/* ---------- Header ---------- */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: clamp(12px, 1.5vw, 26px) var(--pad);
  pointer-events: none;
}
.header > * {
  pointer-events: auto;
}

.logo {
  position: fixed;
  top: clamp(12px, 1.5vw, 26px);
  left: var(--pad);
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  height: clamp(42px, 3.2vw, 52px);
  font-size: clamp(1rem, 1.15vw, 1.3rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #fff;
  mix-blend-mode: difference;
}
.logo__mark {
  width: 0.6em;
  height: 0.6em;
  border-radius: 50%;
  background: currentColor;
}

.header__right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75em;
  height: clamp(42px, 3.2vw, 52px);
  padding: 0 1.35em;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
  will-change: transform;
}
.pill--ink {
  background: var(--ink);
  color: #fff;
  box-shadow: inset 0 0 0 1px var(--line-light);
}
.pill--light {
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(12, 12, 13, 0.05), inset 0 0 0 1px rgba(12, 12, 13, 0.06);
}
.pill__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  transition: transform 0.45s var(--ease), background-color 0.3s;
}
.pill--ink:hover {
  background: var(--blue);
}
.pill--ink:hover .pill__dot {
  background: #fff;
  transform: scale(1.5);
}

.menu-btn__label {
  position: relative;
  display: inline-block;
  overflow: hidden;
  height: 1.3em;
  line-height: 1.3;
}
.menu-btn__label span {
  display: block;
  transition: transform 0.5s var(--ease);
}
.menu-btn[aria-expanded="true"] .menu-btn__label span {
  transform: translateY(-100%);
}
.menu-btn__dots {
  display: inline-flex;
  gap: 4px;
}
.menu-btn__dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  transition: transform 0.45s var(--ease);
}
.menu-btn:hover .menu-btn__dots i:first-child,
.menu-btn[aria-expanded="true"] .menu-btn__dots i:first-child {
  transform: translateX(4.5px);
}
.menu-btn:hover .menu-btn__dots i:last-child,
.menu-btn[aria-expanded="true"] .menu-btn__dots i:last-child {
  transform: translateX(-4.5px);
}

.menu {
  position: absolute;
  top: calc(100% - 2px);
  right: var(--pad);
  width: min(380px, calc(100vw - var(--pad) * 2));
  display: grid;
  gap: 8px;
  visibility: hidden;
  pointer-events: none;
}
.menu__links,
.menu__cta {
  border-radius: calc(var(--radius) * 0.8);
  opacity: 0;
  transform: translateY(-14px) scale(0.97);
  transform-origin: top right;
  transition: opacity 0.3s var(--ease), transform 0.5s var(--ease);
}
.menu__links {
  padding: 14px 10px;
  background: var(--card);
  box-shadow: 0 30px 60px -20px rgba(12, 12, 13, 0.28);
}
.menu__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.28em 0.6em;
  border-radius: 12px;
  font-size: clamp(1.6rem, 2.2vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.2;
  transition: background-color 0.3s, padding 0.45s var(--ease);
}
.menu__links a i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  transform: scale(0);
  transition: transform 0.4s var(--ease);
}
.menu__links a:hover {
  background: var(--paper);
  padding-left: 0.85em;
}
.menu__links a:hover i {
  transform: scale(1);
}
.menu__cta {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 20px 22px 22px;
  background: var(--blue);
  color: #fff;
  transition-delay: 0s;
}
.menu__cta-kicker {
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.75;
}
.menu__cta-title {
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.menu__cta .arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.4rem;
  transition: transform 0.45s var(--ease);
}
.menu__cta:hover .arrow {
  transform: translate(3px, -3px);
}
.menu.is-open {
  visibility: visible;
  pointer-events: auto;
}
.menu.is-open .menu__links,
.menu.is-open .menu__cta {
  opacity: 1;
  transform: none;
}
.menu.is-open .menu__cta {
  transition-delay: 0.06s;
}

/* ---------- Shared ---------- */

.section {
  padding: clamp(90px, 12vw, 200px) var(--pad) 0;
}

.sec-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 14px;
  margin-bottom: clamp(28px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.sec-head span:first-child {
  color: var(--blue);
}

.h2 {
  font-size: clamp(2.6rem, 6.6vw, 7.4rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.05em;
  text-wrap: balance;
}
.h2 em {
  font-size: 1.06em;
  letter-spacing: -0.035em;
}

.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper-2);
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.38em 0.85em;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tag--live {
  background: var(--blue);
  color: #fff;
  box-shadow: none;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding-bottom: 4px;
  font-weight: 500;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size 0.5s var(--ease), color 0.3s;
}
.text-link .arrow {
  transition: transform 0.45s var(--ease);
}
.text-link:hover {
  color: var(--blue);
  background-size: 0 1px;
  background-position: 100% 100%;
}
.text-link:hover .arrow {
  transform: translate(3px, -3px);
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7em;
  min-height: 52px;
  padding: 0 1.6em;
  border-radius: 999px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  will-change: transform;
}
.btn .arrow {
  transition: transform 0.45s var(--ease);
}
.btn:hover .arrow {
  transform: translate(3px, -3px);
}
.btn--line {
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn--line:hover {
  background: var(--ink);
  color: #fff;
  box-shadow: inset 0 0 0 1px var(--ink);
}
.btn--light {
  background: #fff;
  color: var(--ink);
}
.btn--light:hover {
  background: var(--ink);
  color: #fff;
}
.btn--blue {
  background: var(--blue);
  color: #fff;
}
.btn--blue:hover {
  background: var(--ink);
}
.btn--ink {
  background: var(--ink);
  color: #fff;
}
.btn--ink:hover {
  background: var(--blue);
}
.btn--big {
  min-height: clamp(58px, 5vw, 76px);
  padding: 0 2em;
  font-size: clamp(1.05rem, 1.4vw, 1.5rem);
}

/* Line masks made by the script: leave room for descenders and italic overhang. */
.line-mask {
  padding: 0.05em 0.09em 0.15em;
  margin: -0.05em -0.09em -0.15em;
}

/* Content the script animates in. Shown as-is when the script is missing. */
.js:not(.is-fallback) [data-lines],
.js:not(.is-fallback) [data-hero-title] {
  visibility: hidden;
}

/* ---------- Hero ---------- */

.hero {
  padding: clamp(88px, 7.6vw, 150px) var(--pad) 0;
}

.hero__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 27%);
  align-items: end;
  gap: var(--gap) clamp(24px, 5vw, 96px);
  margin-bottom: clamp(22px, 2.4vw, 44px);
}

.hero__title {
  font-size: clamp(2.9rem, 6.5vw, 8.6rem);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.055em;
  max-width: 13ch;
  text-wrap: balance;
}
.hero__title em {
  font-size: 1.07em;
  letter-spacing: -0.04em;
  color: var(--blue);
}

.hero__aside {
  display: grid;
  gap: 18px;
  padding-bottom: 0.6em;
  color: var(--ink-2);
}
.hero__aside p {
  max-width: 34ch;
  line-height: 1.45;
}

.status {
  display: flex;
  align-items: center;
  gap: 12px;
}
.status img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}
.status strong {
  display: block;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.status span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--mute);
}
.live-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1fb65c;
}
.live-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  animation: ping 2s var(--ease) infinite;
}
@keyframes ping {
  to {
    transform: scale(3.4);
    opacity: 0;
  }
}

.hero__stage {
  position: relative;
  height: clamp(380px, 78svh, 940px);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(60% 70% at 50% 108%, rgba(34, 56, 255, 0.5) 0%, rgba(34, 56, 255, 0) 70%),
    radial-gradient(90% 80% at 50% 40%, #17171b 0%, #0a0a0c 100%);
  color: #fff;
  touch-action: pan-y;
  isolation: isolate;
}
.hero__canvas {
  position: absolute;
  inset: 0;
}
.hero__canvas canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.cross,
.plus {
  position: relative;
  width: 11px;
  height: 11px;
  flex: none;
}
.cross::before,
.cross::after,
.plus::before,
.plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
}
.cross::after,
.plus::after {
  transform: rotate(90deg);
}
.cross {
  position: absolute;
  opacity: 0.55;
  pointer-events: none;
}
.cross--tl {
  top: 22px;
  left: 22px;
}
.cross--tr {
  top: 22px;
  right: 22px;
}
.cross--bl {
  bottom: 22px;
  left: 22px;
}
.cross--br {
  bottom: 22px;
  right: 22px;
}

.hero__hint {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  pointer-events: none;
  white-space: nowrap;
}
.hint-touch {
  display: none;
}
@media (hover: none) {
  .hint-fine {
    display: none;
  }
  .hint-touch {
    display: inline;
  }
}

.hero__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 6px 0;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- About ---------- */

.about__lead {
  max-width: 24ch;
  font-size: clamp(1.9rem, 4.7vw, 5.4rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.about__lead {
  max-width: none;
  width: min(100%, 22em);
}

.about__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
  align-items: start;
  margin-top: clamp(56px, 8vw, 140px);
}
.about__photo-main {
  grid-column: 1 / span 5;
  aspect-ratio: 3 / 4;
}
.about__copy {
  grid-column: 7 / span 4;
  display: grid;
  gap: 1.3em;
  justify-items: start;
  padding-top: clamp(0px, 3vw, 60px);
}
.about__copy p {
  font-size: clamp(1.05rem, 1.35vw, 1.45rem);
  line-height: 1.42;
  letter-spacing: -0.012em;
  color: var(--ink-2);
}
.about__photo-side {
  grid-column: 11 / span 2;
  aspect-ratio: 768 / 1376;
  margin-top: clamp(80px, 18vw, 340px);
}
.about__photo-side img {
  filter: grayscale(1) contrast(1.05);
}

.facts {
  width: 100%;
  margin-top: 0.6em;
  border-top: 1px solid var(--line);
}
.facts div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 0.85em 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
}
.facts dt {
  color: var(--mute);
}
.facts dd {
  font-weight: 500;
  text-align: right;
}

/* ---------- Services ---------- */

.svc {
  margin-top: clamp(36px, 5vw, 80px);
  border-top: 1px solid var(--line);
}
.svc__item {
  position: relative;
  border-bottom: 1px solid var(--line);
}
.svc__item::before {
  content: "";
  position: absolute;
  inset: 0 calc(var(--pad) * -0.5);
  border-radius: calc(var(--radius) * 0.7);
  background: var(--ink);
  opacity: 0;
  transform: scaleY(0.82);
  transition: opacity 0.35s var(--ease), transform 0.55s var(--ease);
  pointer-events: none;
}
.svc__head {
  position: relative;
  display: grid;
  grid-template-columns: 3.4em minmax(0, 1fr) auto 40px;
  align-items: center;
  gap: var(--gap);
  width: 100%;
  padding: clamp(18px, 2.2vw, 36px) 0;
  text-align: left;
  transition: color 0.35s var(--ease), padding 0.55s var(--ease);
}
.svc__num {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--mute);
  transition: color 0.35s;
}
.svc__title {
  font-size: clamp(1.6rem, 4.1vw, 4.6rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.045em;
}
.svc__tags {
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mute);
  transition: color 0.35s;
}
.svc__icon {
  position: relative;
  justify-self: end;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color 0.35s, box-shadow 0.35s, transform 0.55s var(--ease);
}
.svc__icon::before,
.svc__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  margin: -0.75px 0 0 -6px;
  background: currentColor;
  transition: transform 0.55s var(--ease);
}
.svc__icon::after {
  transform: rotate(90deg);
}
.svc__body {
  position: relative;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.65s var(--ease);
}
.svc__body > div {
  overflow: hidden;
}
.svc__body p {
  max-width: 46ch;
  margin-left: calc(3.4em + var(--gap));
  padding-bottom: clamp(22px, 2.6vw, 44px);
  font-size: clamp(1.05rem, 1.35vw, 1.45rem);
  line-height: 1.42;
  letter-spacing: -0.012em;
  color: rgba(255, 255, 255, 0.72);
}

.svc__item.is-open::before {
  opacity: 1;
  transform: none;
}
.svc__item.is-open .svc__head {
  color: #fff;
}
.svc__item.is-open .svc__num {
  color: #8f9bff;
}
.svc__item.is-open .svc__tags {
  color: rgba(255, 255, 255, 0.6);
}
.svc__item.is-open .svc__icon {
  background: var(--blue);
  box-shadow: none;
  transform: rotate(180deg);
}
.svc__item.is-open .svc__icon::after {
  transform: rotate(0deg);
}
.svc__item.is-open .svc__body {
  grid-template-rows: 1fr;
}
@media (hover: hover) {
  .svc__item:not(.is-open) .svc__head:hover {
    padding-left: 0.6em;
  }
  .svc__item:not(.is-open) .svc__head:hover .svc__icon {
    background: var(--ink);
    color: #fff;
  }
}

/* ---------- Work ---------- */

.work__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--gap) clamp(24px, 6vw, 120px);
  flex-wrap: wrap;
}
.work__head p {
  max-width: 32ch;
  padding-bottom: 0.5em;
  color: var(--ink-2);
}

.work__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(40px, 5vw, 96px) var(--gap);
  margin-top: clamp(36px, 5vw, 80px);
}
.card {
  display: block;
}
.card--offset {
  margin-top: clamp(0px, 9vw, 170px);
}
.card__media {
  aspect-ratio: 16 / 9;
  box-shadow: inset 0 0 0 1px var(--line);
}
.card__media img {
  transition: transform 1.1s var(--ease);
}
.card:hover .card__media img {
  transform: scale(1.045);
}
.card__info {
  display: grid;
  gap: 10px;
  padding: 18px 4px 0;
}
.card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.card h3 {
  font-size: clamp(1.5rem, 2.5vw, 2.7rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.card p {
  max-width: 46ch;
  color: var(--ink-2);
}
.card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 4px;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mute);
}
.card__tags li + li::before {
  content: "/";
  margin-right: 14px;
  opacity: 0.5;
}

/* ---------- Every angle ---------- */

.angles {
  position: relative;
  margin-top: clamp(90px, 12vw, 200px);
}
.angles__pin {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.angles__marquee {
  position: absolute;
  top: 50%;
  left: 0;
  display: flex;
  gap: 0.28em;
  white-space: nowrap;
  font-size: clamp(7rem, 27vw, 34rem);
  font-weight: 500;
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: var(--blue);
  transform: translate3d(4%, -54%, 0);
  will-change: transform;
}
.angles__marquee .is-serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.04em;
}
.angles__figure {
  position: relative;
  height: min(100svh, 128vw);
  margin-top: 7svh;
  aspect-ratio: 896 / 1200;
  will-change: transform;
}
.angles__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 30px 40px rgba(12, 12, 13, 0.18));
}
.angles__img--b {
  opacity: 0;
}
/* One label above each strip of the photo; positions follow the strips' top edges. */
.angles__labels {
  position: absolute;
  inset: 0;
  font-size: clamp(0.6875rem, 0.9vw, 0.8125rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.angles__labels li {
  position: absolute;
  display: flex;
  gap: 0.6em;
  translate: -50% -100%;
}
.angles__labels li:nth-child(1) {
  left: 21%;
  top: 12.6%;
}
.angles__labels li:nth-child(2) {
  left: 50%;
  top: 18.4%;
}
.angles__labels li:nth-child(3) {
  left: 80%;
  top: 16%;
}
.angles__labels b {
  font-weight: 500;
  color: var(--blue);
}
.angles__caption {
  position: absolute;
  left: var(--pad);
  bottom: clamp(20px, 3vw, 48px);
  width: min(30ch, 60vw);
  padding: clamp(18px, 1.8vw, 28px);
  border-radius: calc(var(--radius) * 0.8);
  background: var(--card);
  box-shadow: 0 30px 60px -24px rgba(12, 12, 13, 0.3);
}
.angles__caption h2 {
  font-size: clamp(1.7rem, 2.7vw, 3rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.angles__caption em {
  color: var(--blue);
  font-size: 1.06em;
}
.angles__caption p {
  margin-top: 0.9em;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--ink-2);
}

/* ---------- Experience ---------- */

.exp__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
  align-items: start;
}
.exp__photo {
  grid-column: 1 / span 4;
  aspect-ratio: 3 / 4;
  position: sticky;
  top: clamp(80px, 8vw, 120px);
}
.exp__cols {
  grid-column: 6 / span 7;
}
.exp__lists {
  display: grid;
  gap: clamp(36px, 4.5vw, 72px);
  margin-top: clamp(36px, 5vw, 84px);
}
.list-title {
  margin-bottom: 14px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
}
.timeline {
  border-top: 1px solid var(--line);
}
.timeline li {
  display: grid;
  grid-template-columns: minmax(0, 9em) minmax(0, 1fr);
  align-items: baseline;
  gap: var(--gap);
  padding: clamp(14px, 1.5vw, 24px) 0;
  border-bottom: 1px solid var(--line);
}
.timeline__year {
  font-size: 0.875rem;
  color: var(--mute);
  font-variant-numeric: tabular-nums;
}
.timeline__what {
  font-size: clamp(1.3rem, 2.3vw, 2.5rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.04em;
}
.timeline__what small {
  display: block;
  margin-top: 0.5em;
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.4;
  color: var(--mute);
}

/* ---------- Skills marquee ---------- */

.skills {
  margin-top: clamp(90px, 12vw, 200px);
  padding: clamp(18px, 2.2vw, 36px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.skills__track {
  display: flex;
  width: max-content;
  will-change: transform;
}
.skills__track ul {
  display: flex;
  align-items: center;
  flex: none;
}
.skills__track li {
  display: flex;
  align-items: center;
  font-size: clamp(2.2rem, 6vw, 6.4rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;
  white-space: nowrap;
}
.skills__track li:nth-child(3n + 2) {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.03em;
}
.skills__track li::after {
  content: "";
  width: 0.2em;
  height: 0.2em;
  margin: 0 0.42em;
  border-radius: 50%;
  background: var(--blue);
}
.is-fallback .skills__track,
.no-motion .skills__track {
  animation: marquee 40s linear infinite;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Pricing ---------- */

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  margin-top: clamp(36px, 5vw, 80px);
}
.plan {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2vw, 30px);
  padding: clamp(22px, 2.3vw, 40px);
  border-radius: var(--radius);
  background: var(--card);
}
.plan h3 {
  font-size: clamp(1.6rem, 2.4vw, 2.6rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}
.plan__kicker {
  display: block;
  margin-top: 8px;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mute);
}
.plan__price {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  font-size: clamp(3.6rem, 6.2vw, 7rem);
  font-weight: 500;
  line-height: 0.85;
  letter-spacing: -0.06em;
}
.plan__price sup {
  margin: 0.12em 0.08em 0 0;
  font-size: 0.4em;
  line-height: 1;
  letter-spacing: 0;
}
.plan__price small {
  margin-top: 0.12em;
  font-size: 0.4em;
  line-height: 1;
  letter-spacing: -0.03em;
}
.plan__price span {
  flex-basis: 100%;
  margin-top: 1.1em;
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mute);
}
.plan__desc {
  color: var(--ink-2);
}
.plan ul {
  display: grid;
  margin-bottom: auto;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
}
.plan li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.8em 0;
  border-bottom: 1px solid var(--line);
}
.plan li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex: none;
}
.plan .btn {
  width: 100%;
  margin-top: 8px;
}

.plan--featured {
  background: var(--blue);
  color: #fff;
}
.plan--featured .plan__kicker,
.plan--featured .plan__price span {
  color: rgba(255, 255, 255, 0.72);
}
.plan--featured .plan__desc {
  color: rgba(255, 255, 255, 0.9);
}
.plan--featured ul,
.plan--featured li {
  border-color: rgba(255, 255, 255, 0.24);
}
.plan--featured li::before {
  background: #fff;
}

.plans__note {
  margin-top: clamp(18px, 2vw, 32px);
  font-size: 0.9375rem;
  color: var(--mute);
}

/* ---------- Contact ---------- */

.contact {
  position: relative;
  margin-top: clamp(90px, 12vw, 200px);
  padding: 0 var(--pad);
  overflow: hidden;
}
.contact__inner {
  position: relative;
  min-height: min(100svh, 62vw);
  padding-bottom: clamp(48px, 7vw, 120px);
}
.contact__title {
  position: relative;
  z-index: 0;
  font-size: clamp(3.4rem, 15.4vw, 19rem);
  font-weight: 500;
  line-height: 0.84;
  letter-spacing: -0.065em;
  max-width: 8ch;
}
.contact__title em {
  font-size: 1.05em;
  letter-spacing: -0.045em;
  color: var(--blue);
}
.contact__body {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(20px, 2.4vw, 36px);
  width: min(100%, 34rem);
  margin-top: clamp(32px, 4.5vw, 80px);
}
.contact__lead {
  font-size: clamp(1.15rem, 1.7vw, 1.8rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.contact__list {
  border-top: 1px solid var(--line);
}
.contact__list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 0.9em 0;
  border-bottom: 1px solid var(--line);
}
.contact__list dt {
  color: var(--mute);
}
.contact__list a {
  font-weight: 500;
  transition: color 0.3s;
}
.contact__list a:hover {
  color: var(--blue);
}
.contact__figure {
  position: absolute;
  z-index: 1;
  right: clamp(-40px, 2vw, 60px);
  bottom: -3px;
  width: auto;
  height: min(100%, 96svh);
  max-width: none;
  pointer-events: none;
  will-change: transform;
}

/* ---------- Footer ---------- */

.footer {
  position: relative;
  z-index: 2;
  margin: 0 clamp(6px, 0.8vw, 14px) clamp(6px, 0.8vw, 14px);
  padding: clamp(28px, 3.4vw, 60px) calc(var(--pad) - clamp(6px, 0.8vw, 14px)) clamp(18px, 2vw, 30px);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.footer__top {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 14rem)) 1fr;
  gap: var(--gap);
  align-items: start;
}
.footer h3 {
  margin-bottom: 14px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(238, 237, 232, 0.5);
}
.footer__col li + li {
  margin-top: 4px;
}
.footer__col a,
.footer__col p {
  font-size: clamp(1.05rem, 1.35vw, 1.4rem);
  letter-spacing: -0.02em;
}
.footer__col a {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.45s var(--ease);
}
.footer__col a:hover {
  background-size: 100% 1px;
}
.footer__col [data-time] {
  font-variant-numeric: tabular-nums;
}
.footer__top-btn {
  justify-self: end;
  display: grid;
  place-items: center;
  width: clamp(52px, 4.4vw, 72px);
  height: clamp(52px, 4.4vw, 72px);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font-size: 1.4rem;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
  will-change: transform;
}
.footer__top-btn:hover {
  background: var(--blue);
  color: #fff;
}
.footer__name {
  margin: clamp(40px, 7vw, 130px) 0 clamp(8px, 1vw, 18px);
  font-size: 15.6vw;
  font-weight: 500;
  line-height: 0.82;
  letter-spacing: -0.065em;
  white-space: nowrap;
  text-align: center;
  margin-left: -0.04em;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--line-light);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(238, 237, 232, 0.55);
}

/* ---------- 404 ---------- */

.lost {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 24px;
  padding: var(--pad);
}
.lost h1 {
  font-size: clamp(5rem, 26vw, 24rem);
  font-weight: 500;
  line-height: 0.8;
  letter-spacing: -0.07em;
}
.lost h1 em {
  color: var(--blue);
}

/* ---------- Smaller screens ---------- */

@media (max-width: 1000px) {
  .hero__top {
    grid-template-columns: 1fr;
  }
  .hero__title {
    max-width: none;
  }
  .hero__aside {
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 14px 28px;
    padding-bottom: 0;
  }
  .about__photo-main {
    grid-column: 1 / span 6;
  }
  .about__copy {
    grid-column: 7 / span 6;
    padding-top: 0;
  }
  .about__photo-side {
    display: none;
  }
  .svc__tags {
    display: none;
  }
  .svc__head {
    grid-template-columns: 2.6em minmax(0, 1fr) 40px;
  }
  .svc__body p {
    margin-left: calc(2.6em + var(--gap));
  }
  .exp__photo {
    grid-column: 1 / span 5;
  }
  .exp__cols {
    grid-column: 6 / span 7;
  }
  .plans {
    grid-template-columns: 1fr;
  }
  .plan {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .plan header,
  .plan .btn,
  .plan__desc {
    grid-column: 1 / -1;
  }
  .footer__top {
    grid-template-columns: 1fr 1fr auto;
  }
  .footer__col--time {
    grid-row: 2;
  }
  .footer__top-btn {
    grid-column: 3;
    grid-row: 1;
  }
}

@media (max-width: 700px) {
  .pill {
    padding: 0 1.1em;
  }
  .hero__aside {
    grid-template-columns: 1fr;
  }
  .hero__stage {
    height: clamp(360px, 62svh, 620px);
  }
  .cross--tl,
  .cross--tr {
    top: 16px;
  }
  .cross--bl,
  .cross--br {
    bottom: 16px;
  }
  .cross--tl,
  .cross--bl {
    left: 16px;
  }
  .cross--tr,
  .cross--br {
    right: 16px;
  }
  .about__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about__photo-main,
  .about__copy {
    grid-column: 1 / -1;
  }
  .svc__item::before {
    inset: 0 -8px;
  }
  .svc__head {
    grid-template-columns: 2em minmax(0, 1fr) 34px;
    gap: 10px;
  }
  .svc__icon {
    width: 34px;
    height: 34px;
  }
  .svc__body p {
    margin-left: calc(2em + 10px);
    padding-right: 8px;
  }
  .work__grid {
    grid-template-columns: 1fr;
  }
  .card--offset {
    margin-top: 0;
  }
  .angles__figure {
    height: min(74svh, 118vw);
    margin-top: -12svh;
  }
  .angles__caption {
    left: var(--pad);
    right: var(--pad);
    width: auto;
  }
  .exp__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .exp__photo,
  .exp__cols {
    grid-column: 1 / -1;
  }
  .exp__photo {
    position: relative;
    top: 0;
    order: 2;
    width: 72%;
  }
  .timeline li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .plan {
    display: flex;
    align-items: stretch;
  }
  .contact__inner {
    min-height: 0;
    padding-bottom: 0;
  }
  .contact__figure {
    position: relative;
    right: auto;
    display: block;
    width: 86%;
    height: auto;
    margin: 28px -8% 0 auto;
  }
  .contact__actions .btn {
    flex: 1 1 auto;
  }
  .footer__top {
    grid-template-columns: 1fr auto;
  }
  .footer__col--time {
    grid-row: auto;
  }
  .footer__top-btn {
    grid-column: 2;
    grid-row: 1;
  }
  .footer__name {
    margin-top: 44px;
  }
}

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