/* ==========================================================================
   Home page — Figma frame 69:264 "Asmara — Portfolio · Desktop 1440 · Dark"
   ========================================================================== */

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

/* ==========================================================================
   HERO (69:265)
   ========================================================================== */
.hero {
  position: relative;
  height: calc(1140 * var(--px));
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  isolation: isolate;
}
.hero__top, .hero__bottom { display: contents; }

.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: 55% 40%;
  will-change: transform;
}
.hero__tint {
  position: absolute;
  inset: 0;
  background: var(--lime);
  mix-blend-mode: multiply;
  opacity: 0;
}
.hero__shade {
  position: absolute;
  left: 0;
  top: calc(500 * var(--px));
  width: 100%;
  height: calc(640 * var(--px));
  z-index: -1;
  background: linear-gradient(to bottom, rgba(14, 14, 14, 0) 0%, rgba(14, 14, 14, 0.82) 55%, #0e0e0e 100%);
}

/* Availability card */
.avail {
  position: absolute;
  left: calc(32 * var(--px));
  top: calc(30 * var(--px));
  width: calc(244 * var(--px));
  padding: calc(10 * var(--px));
  border-radius: calc(10 * var(--px));
  display: flex;
  flex-direction: column;
  gap: calc(8 * var(--px));
  color: var(--ink);
  z-index: 2;
  transform-origin: top left;
}
.avail__fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--lime);
  z-index: -1;
  transform-origin: top left;
  transition: transform 0.5s var(--ease-out);
}
.avail:hover .avail__fill { transform: scale(1.03); }
.avail__row { display: flex; justify-content: space-between; align-items: flex-end; }
.avail__row--center { align-items: center; }
.avail__title { display: flex; flex-direction: column; gap: calc(2 * var(--px)); }
.avail__eyebrow { font-size: calc(12 * var(--px)); font-weight: 500; text-transform: uppercase; line-height: normal; }
.avail__big { font-size: calc(40 * var(--px)); font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.avail__mono {
  width: calc(44 * var(--px));
  height: calc(44 * var(--px));
  border-radius: 999px;
  background: var(--ink);
  color: var(--lime);
  display: grid;
  place-items: center;
  font-size: calc(24 * var(--px));
  font-weight: 600;
  transition: transform 0.6s var(--ease-out);
}
.avail:hover .avail__mono { transform: rotate(-360deg); }
.avail__open {
  display: inline-flex;
  align-items: center;
  gap: calc(5 * var(--px));
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: calc(4 * var(--px)) calc(9 * var(--px));
  font-size: calc(12 * var(--px));
  font-weight: 500;
  text-transform: uppercase;
  line-height: normal;
}
.avail__open i {
  width: calc(4 * var(--px));
  height: calc(4 * var(--px));
  min-width: 3px;
  min-height: 3px;
  border-radius: 50%;
  background: var(--ink);
  animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink { 50% { opacity: 0.15; } }
.avail__note {
  font-size: calc(12 * var(--px));
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1.15;
  text-align: right;
}
.avail__thumb {
  display: block;
  height: calc(104 * var(--px));
  border-radius: calc(6 * var(--px));
  overflow: hidden;
}
.avail__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.avail:hover .avail__thumb img { transform: scale(1.08); }

/* Nav (light pills over paper) */
.hero__nav { position: absolute; right: calc(32 * var(--px)); top: calc(34 * var(--px)); z-index: 3; }

/* Right meta */
.hero__meta {
  position: absolute;
  right: calc(40 * var(--px));
  top: calc(300 * var(--px));
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: calc(8 * var(--px));
  color: var(--ink);
}
.hero__meta .micro { letter-spacing: 0.02em; }
.hero__pill {
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: calc(3 * var(--px)) calc(9 * var(--px));
  letter-spacing: 0 !important;
}

/* Arrow chip */
.hero__arrow {
  position: absolute;
  left: calc(40 * var(--px));
  top: calc(536 * var(--px));
  width: calc(40 * var(--px));
  height: calc(40 * var(--px));
  border-radius: calc(8 * var(--px));
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  transition: background-color 0.3s, transform 0.4s var(--ease-out);
}
.hero__arrow img { width: calc(16 * var(--px)); height: calc(16 * var(--px)); transform: rotate(90deg); transition: transform 0.4s var(--ease-out); }
.hero__arrow:hover { background: rgba(255, 255, 255, 0.16); }
.hero__arrow:hover img { transform: rotate(135deg); }

/* Heading + body */
.hero__intro {
  position: absolute;
  left: calc(40 * var(--px));
  top: calc(596 * var(--px));
  width: calc(323 * var(--px));
  display: flex;
  flex-direction: column;
  gap: calc(12 * var(--px));
}
.hero__heading {
  font-size: calc(30 * var(--px));
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--white);
}
.hero__body { font-size: calc(14 * var(--px)); line-height: 1.45; color: rgba(255, 255, 255, 0.7); }

/* Year */
.hero__year {
  position: absolute;
  left: calc(573.5 * var(--px));
  top: calc(650 * var(--px));
  display: flex;
  align-items: flex-end;
  gap: calc(10 * var(--px));
  color: var(--white);
  white-space: nowrap;
}
.hero__year-num { font-size: calc(64 * var(--px)); letter-spacing: -0.04em; line-height: 1; }
.hero__year-loc { font-size: calc(12 * var(--px)); font-weight: 500; text-transform: uppercase; line-height: 1.1; }

/* Hairlines */
.hero__line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  transform-origin: left;
}
.hero__line--1 { top: calc(736 * var(--px)); }
.hero__line--2 { top: calc(940 * var(--px)); }
.hero__line--3 { top: calc(1024 * var(--px)); }

/* Giant title */
.hero__title {
  position: absolute;
  left: calc(28 * var(--px));
  top: calc(740 * var(--px));
  font-size: calc(190 * var(--px));
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--lime);
  white-space: nowrap;
  overflow: hidden;
  padding-bottom: 0.04em;
}
.hero__title-inner { display: inline-block; }
.hero__title .split-char { display: inline-block; white-space: pre; }
/* the title itself is the mask; per-word masks would clip the last letter (negative tracking) */
.hero__title .split-mask { overflow: visible; padding: 0; margin: 0; }
.hero__title { padding-right: 0.1em; }

.hero__sub {
  position: absolute;
  left: calc(128 * var(--px));
  top: calc(960 * var(--px));
  font-size: calc(34 * var(--px));
  letter-spacing: -0.03em;
  color: var(--white);
  white-space: nowrap;
}
.hero__portfolio {
  position: absolute;
  left: calc(1040 * var(--px));
  top: calc(968 * var(--px));
  color: var(--white);
  line-height: 1.2;
  letter-spacing: 0.02em;
}

/* Clock card */
.clock-card {
  position: absolute;
  left: calc(618 * var(--px));
  top: calc(1042 * var(--px));
  display: flex;
  align-items: center;
  gap: calc(18 * var(--px));
  padding: calc(10 * var(--px)) calc(14 * var(--px));
  border-radius: calc(8 * var(--px));
  background: var(--lime);
  color: var(--ink);
  white-space: nowrap;
}
.clock-card > div { display: flex; flex-direction: column; gap: calc(2 * var(--px)); }
.clock-card__label { font-size: calc(12 * var(--px)); font-weight: 500; text-transform: uppercase; line-height: normal; }
.clock-card__time {
  font-size: calc(34 * var(--px));
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.clock-card__time .dim { color: rgba(14, 14, 14, 0.4); }
.clock-card__star { width: calc(30 * var(--px)); height: calc(30 * var(--px)); animation: spin 10s linear infinite; }

/* ----- Intro timeline — timings measured frame by frame from the reference video ----- */
/* 0.00 full lime screen → 0.1 photo appears zoomed, blurred, lime-tinted → clears by ~0.6
   0.6 nav outline · 0.7 availability card grows as a lime box · 1.05 card content
   1.3 heading words blur in · 1.4 "2026" · 1.55 ASMARA — UIUX letters rise
   1.8 body copy · 2.25 sub row · 2.5 clock card                                           */
.intro-curtain { display: none; }
.js .intro-curtain {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 55% at 50% 42%, #e6f88a 0%, #d9f352 45%, #cfe844 100%);
}
.js body.intro-play .intro-curtain { animation: curtainOut 0.35s ease-out 0.02s both; }

.avail { --thumb-h: calc(104 * var(--px)); }
.avail__thumb { height: var(--thumb-h); }

.js .hero .hero__img { filter: blur(16px); transform: scale(1.22); }
.js .hero .hero__tint { opacity: 0.9; }
.js .hero .hero__shade,
.js .hero .avail,
.js .hero .avail__title,
.js .hero .avail__mono,
.js .hero .avail__row--center > *,
.js .hero .avail__thumb img,
.js .hero .hero__nav,
.js .hero .hero__nav .nav-link,
.js .hero .hero__meta,
.js .hero .hero__arrow,
.js .hero .hero__body,
.js .hero .hero__year,
.js .hero .hero__sub,
.js .hero .hero__portfolio,
.js .hero .clock-card { opacity: 0; }
.js .hero .avail__thumb { height: 0; margin-top: calc(-8 * var(--px)); }
.js .hero .hero__line { transform: scaleX(0); }
.js .hero .hero__title .split-char { transform: translateY(105%); }
.js .hero .hero__heading .split-blur { opacity: 0; filter: blur(10px); }

.hero.play .hero__img { animation: heroImg 1s var(--ease-out) 0.05s both; }
.hero.play .hero__tint { animation: fadeOut 0.4s ease-out 0.05s both; }
.hero.play .hero__shade { animation: fadeIn 0.6s ease 0.55s both; }

.hero.play .hero__nav { animation: fadeIn 0.4s ease 0.6s both; }
.hero.play .hero__nav .nav-link { animation: fadeIn 0.35s ease both; animation-delay: 1s; }
.hero.play .hero__nav .nav-link + .nav-link { animation-delay: 1.06s; }
.hero.play .hero__nav .nav-link--solo { animation-delay: 1.12s; }

.hero.play .avail { animation: fadeIn 0.2s ease 0.7s both; }
.hero.play .avail__fill { animation: boxGrow 0.45s var(--ease-out) 0.7s both; }
.hero.play .avail__title { animation: fadeIn 0.35s ease 1.05s both; }
.hero.play .avail__row--center > * { animation: fadeIn 0.35s ease 1.1s both; }
.hero.play .avail__mono { animation: monoIn 0.5s var(--ease-out) 1.15s both; }
.hero.play .avail__thumb { animation: thumbOpen 0.35s var(--ease-out) 1.3s both; }
.hero.play .avail__thumb img { animation: fadeIn 0.3s ease 1.5s both; }

.hero.play .hero__meta { animation: fadeIn 0.4s ease 1.1s both; }
.hero.play .hero__heading .split-blur { animation: blurWord 0.6s var(--ease-out) both; animation-delay: calc(1.3s + var(--i) * 0.07s); }
.hero.play .hero__year { animation: blurIn 0.5s var(--ease-out) 1.4s both; }
.hero.play .hero__arrow { animation: fadeIn 0.4s ease 1.5s both; }
.hero.play .hero__line--1 { animation: drawX 0.8s var(--ease-in-out) 1.45s both; }
.hero.play .hero__title .split-char { animation: rise 0.7s var(--ease-out) both; animation-delay: calc(1.55s + var(--i) * 0.05s); }
.hero.play .hero__body { animation: blurIn 0.6s var(--ease-out) 1.8s both; }
.hero.play .hero__line--2 { animation: drawX 0.8s var(--ease-in-out) 2.15s both; }
.hero.play .hero__line--3 { animation: drawX 0.8s var(--ease-in-out) 2.25s both; }
.hero.play .hero__sub { animation: fadeIn 0.45s ease 2.25s both; }
.hero.play .hero__portfolio { animation: fadeIn 0.45s ease 2.3s both; }
.hero.play .clock-card { animation: clockIn 0.45s var(--ease-out) 2.5s both; }

@keyframes curtainOut { to { opacity: 0; visibility: hidden; } }
@keyframes heroImg {
  0% { filter: blur(16px); transform: scale(1.22); }
  50% { filter: blur(0); }
  100% { filter: none; transform: scale(1); }
}
@keyframes boxGrow { from { transform: scale(0.82, 0.62); opacity: 0.6; } to { transform: none; opacity: 1; } }
@keyframes monoIn { from { opacity: 0; transform: scale(0.4) rotate(-90deg); } to { opacity: 1; transform: none; } }
@keyframes thumbOpen { from { height: 0; margin-top: calc(-8 * var(--px)); } to { height: var(--thumb-h); margin-top: 0; } }
@keyframes blurWord { from { opacity: 0; filter: blur(10px); } to { opacity: 1; filter: none; } }
@keyframes clockIn { from { opacity: 0; transform: scale(0.88); } to { opacity: 1; transform: none; } }
@keyframes fadeOut { to { opacity: 0; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes blurIn { from { opacity: 0; filter: blur(12px); } to { opacity: 1; filter: none; } }
@keyframes drawX { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }

/* ==========================================================================
   ABOUT (69:319)
   ========================================================================== */
.about {
  display: flex;
  flex-direction: column;
  gap: calc(48 * var(--px));
  padding: calc(140 * var(--px)) calc(200 * var(--px)) calc(120 * var(--px));
}
.about .label-row > :first-child { color: var(--paper); }
.about__headline { padding-left: calc(400 * var(--px)); }
.about__headline h2 {
  width: calc(640 * var(--px));
  font-size: calc(46 * var(--px));
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--paper);
}
.about__headline .dim { color: inherit; }
.about__body { display: flex; align-items: flex-start; padding-top: calc(24 * var(--px)); }
.about__col { width: calc(400 * var(--px)); flex: none; }

.photo-card {
  width: calc(280 * var(--px));
  background: var(--card);
  border-radius: calc(20 * var(--px));
  padding: calc(7 * var(--px)) calc(7 * var(--px)) calc(22 * var(--px));
  transition: transform 0.6s var(--ease-out);
}
.photo-card:hover { transform: rotate(-2deg) translateY(-4px); }
.photo-card__img {
  height: calc(266 * var(--px));
  border-radius: calc(14 * var(--px));
  overflow: hidden;
  background: var(--ink);
}
.photo-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.photo-card__img img { scale: 1.04; } /* crops a 1px light edge in the source image */
.photo-card:hover .photo-card__img img { transform: scale(1.06); }
.photo-card figcaption { display: flex; flex-direction: column; gap: calc(8 * var(--px)); padding: calc(18 * var(--px)) calc(14 * var(--px)) 0; }
.photo-card__title { font-size: calc(16 * var(--px)); font-weight: 500; letter-spacing: -0.02em; }
.photo-card__text { font-size: calc(14 * var(--px)); line-height: 1.5; color: var(--paper-60); }

.stats { display: flex; gap: calc(48 * var(--px)); }
.stat { width: calc(220 * var(--px)); display: flex; flex-direction: column; gap: calc(18 * var(--px)); }
.stat__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: calc(12 * var(--px));
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: calc(12 * var(--px));
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--paper-70);
}
.stat__head img { width: calc(14 * var(--px)); height: calc(14 * var(--px)); }
.stat__num {
  font-size: calc(80 * var(--px));
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}
.stat__text { width: calc(180 * var(--px)); font-size: calc(14 * var(--px)); line-height: 1.5; color: var(--paper-60); }
.stat__text--narrow { width: calc(146 * var(--px)); }

.about__ruler { padding-top: calc(56 * var(--px)); overflow: hidden; }
.about__ruler img { width: calc(1041 * var(--px)); height: calc(12 * var(--px)); }
.js .about__ruler img { clip-path: inset(0 100% 0 0); transition: clip-path 1.8s var(--ease-in-out); }
.js .about__ruler.is-in img { clip-path: inset(0 0 0 0); }

/* ==========================================================================
   SELECTED WORK (69:393)
   ========================================================================== */
.work {
  position: relative;
  height: calc(var(--work-h, 2300) * var(--px)); /* set by home.js for the number of featured projects */
}
.work > * { position: absolute; }
.work__label { left: calc(40 * var(--px)); top: calc(40 * var(--px)); color: var(--paper-60); }
.work__title { position: static; font-weight: 400; }
.work__word {
  position: absolute;
  font-size: calc(190 * var(--px));
  line-height: 1;
  letter-spacing: -0.06em;
  white-space: nowrap;
  will-change: transform;
}
.work__word--a { left: calc(30 * var(--px)); top: calc(70 * var(--px)); color: var(--paper); }
.work__word--b { left: calc(1040 * var(--px)); top: calc(250 * var(--px)); color: var(--paper-30); }
.work__meta {
  left: calc(835 * var(--px));
  top: calc(150 * var(--px));
  display: flex;
  align-items: center;
  gap: calc(24 * var(--px));
  line-height: 1.4;
  color: var(--paper);
}
.work__meta-line { width: calc(220 * var(--px)); height: 1px; background: var(--ink); }
.work__meta-right { text-align: right; }
.work__row2 { display: contents; }
.work__count { position: absolute; left: calc(960 * var(--px)); top: calc(280 * var(--px)); font-size: calc(20 * var(--px)); font-weight: 500; }
.work__intro {
  left: calc(40 * var(--px));
  top: calc(560 * var(--px));
  width: calc(300 * var(--px));
  font-size: calc(16 * var(--px));
  line-height: 1.5;
  color: rgba(237, 232, 220, 0.65);
}
.work__scroll { left: calc(40 * var(--px)); top: calc(700 * var(--px)); color: var(--paper-50); transition: color 0.3s; }
.work__scroll span { display: inline-block; animation: bob 1.8s ease-in-out infinite; }
.work__scroll:hover { color: var(--lime); }
@keyframes bob { 50% { transform: translateY(4px); } }

.work-card { display: flex; flex-direction: column; gap: calc(12 * var(--px)); }
.work-card--01 { left: calc(480 * var(--px)); top: calc((520 + var(--cy, 0) * 1750) * var(--px)); width: calc(600 * var(--px)); }
.work-card--01 .work-card__img { height: calc(420 * var(--px)); }
.work-card--02 { left: calc(1160 * var(--px)); top: calc((700 + var(--cy, 0) * 1750) * var(--px)); width: calc(240 * var(--px)); }
.work-card--02 .work-card__img { height: calc(320 * var(--px)); }
.work-card--03 { left: calc(40 * var(--px)); top: calc((1100 + var(--cy, 0) * 1750) * var(--px)); width: calc(560 * var(--px)); }
.work-card--03 .work-card__img { height: calc(380 * var(--px)); }
.work-card--04 { left: calc(760 * var(--px)); top: calc((1200 + var(--cy, 0) * 1750) * var(--px)); width: calc(480 * var(--px)); }
.work-card--04 .work-card__img { height: calc(370 * var(--px)); }
.work-card--05 { left: calc(220 * var(--px)); top: calc((1700 + var(--cy, 0) * 1750) * var(--px)); width: calc(300 * var(--px)); }
.work-card--05 .work-card__img { height: calc(410 * var(--px)); }

.work-card__img {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: var(--card);
}
.work-card__img > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}
.work-card:hover .work-card__img > img { transform: scale(1.045); }

/* "View case study" pill — same as the Work page: follows the cursor inside the image */
.work-card__pill {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: calc(8 * var(--px));
  padding: calc(10 * var(--px)) calc(12 * var(--px)) calc(10 * var(--px)) calc(16 * var(--px));
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-size: calc(14 * var(--px));
  font-weight: 500;
  line-height: normal;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  translate: var(--mx, 0px) var(--my, 0px);
  transform: translate(-50%, -50%) scale(0.6);
  transition: opacity 0.3s var(--ease-out), transform 0.4s var(--ease-out), translate 0.35s var(--ease-out);
}
.work-card__pill { width: max-content; }
.work-card__pill img { width: calc(12 * var(--px)); height: calc(12 * var(--px)); flex: none; }
.work-card__img.is-hover .work-card__pill,
.work-card:focus-visible .work-card__pill { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.work-card:focus-visible .work-card__pill { translate: 0 0; }
@media (hover: none) { .work-card__pill { display: none; } }
.work-card:focus-visible { outline: none; }
.work-card:focus-visible .work-card__img { outline: 2px solid var(--lime); outline-offset: 3px; }

/* Caption — same content/style as the Work page, sized for the home grid */
.work-card__cap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: calc(6 * var(--px)) calc(14 * var(--px)); }
.work-card__name {
  display: flex;
  align-items: center;
  gap: calc(10 * var(--px));
  font-size: calc(16 * var(--px));
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--paper);
  white-space: nowrap;
  transition: color 0.3s;
}
.work-card__name span { font-size: calc(12 * var(--px)); color: var(--paper-40); letter-spacing: 0; }
.work-card__meta { display: flex; align-items: center; gap: calc(14 * var(--px)); font-size: calc(12 * var(--px)); color: var(--paper-55); white-space: nowrap; }
.work-card__cat { font-weight: 500; letter-spacing: 0.02em; text-transform: uppercase; }
.work-card__meta img { width: calc(14 * var(--px)); height: calc(14 * var(--px)); transition: transform 0.4s var(--ease-out); }
.work-card:hover .work-card__meta img { transform: rotate(45deg); }
.work-card:hover .work-card__name { color: var(--lime); }

/* Sticker — circle tilted 12° (Figma 69:454) */
.sticker {
  left: calc(614 * var(--px));
  top: calc(var(--sticker-top, 1914) * var(--px));
  width: calc(150 * var(--px));
  height: calc(150 * var(--px));
  border-radius: 50%;
  background: #222;
  display: grid;
  place-items: center;
}
.sticker__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(6 * var(--px));
  transform: rotate(-14deg);
  transition: transform 0.6s var(--ease-out);
}
.sticker::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--lime);
  transform: scale(0);
  transition: transform 0.5s var(--ease-out);
}
.sticker__inner { position: relative; }
.sticker__num { font-size: calc(22 * var(--px)); letter-spacing: -0.03em; color: var(--lime); transition: color 0.4s; }
.sticker__txt { font-size: calc(12 * var(--px)); font-weight: 500; letter-spacing: 0.02em; text-transform: uppercase; color: var(--paper); transition: color 0.4s; }
.sticker:hover::before { transform: scale(1); }
.sticker:hover .sticker__inner { transform: rotate(-4deg); }
.sticker:hover .sticker__num, .sticker:hover .sticker__txt { color: var(--ink); }

/* ==========================================================================
   SERVICES (69:458)
   ========================================================================== */
.services { background: var(--ink); padding-bottom: calc(120 * var(--px)); }
.services__tab { position: relative; height: calc(58 * var(--px)); overflow: hidden; }
.services__tab-shape { position: absolute; left: calc(190 * var(--px)); top: 0; width: calc(1060 * var(--px)); height: calc(58 * var(--px)); }
.services__marquee {
  position: absolute;
  left: calc(302 * var(--px));
  width: calc(836 * var(--px));
  top: 0;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.services__marquee-track {
  display: flex;
  align-items: center;
  gap: calc(22 * var(--px));
  padding-right: calc(22 * var(--px));
  flex: none;
}
.services__marquee-track span { font-size: calc(16 * var(--px)); letter-spacing: -0.01em; color: var(--paper); white-space: nowrap; }
.services__marquee-track img { width: calc(14 * var(--px)); height: calc(14 * var(--px)); }
@keyframes marquee { to { transform: translateX(-100%); } }

.services__body { padding: 0 calc(40 * var(--px)); overflow: clip; }
.services__micro {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: calc(56 * var(--px)) 0 calc(24 * var(--px));
  border-bottom: 1px solid var(--line);
  color: var(--paper);
  line-height: 1.5;
  position: relative;
  z-index: 1;
}
.services__micro > :first-child { width: calc(223 * var(--px)); }
.services__micro-right { width: calc(250 * var(--px)); text-align: right; }

.services__stack { position: relative; height: calc(560 * var(--px)); }
.services__stack > * { position: absolute; }
.services__reg {
  left: calc(360 * var(--px));
  top: calc(-260 * var(--px));
  font-size: calc(900 * var(--px));
  line-height: 1;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
  user-select: none;
  will-change: transform;
}
.services__detail { left: 0; top: calc(196 * var(--px)); width: calc(260 * var(--px)); }
.services__num {
  font-size: calc(64 * var(--px));
  letter-spacing: -0.04em;
  color: var(--lime);
  line-height: normal;
  overflow: hidden;
  height: calc(78 * var(--px));
}
.services__num span, .services__desc { display: block; transition: transform 0.5s var(--ease-out), opacity 0.4s; }
.services__num.is-swap span { transform: translateY(-100%); opacity: 0; }
.services__desc {
  margin-top: calc(16 * var(--px));
  width: calc(239 * var(--px));
  font-size: calc(14 * var(--px));
  line-height: 1.5;
  color: var(--paper-55);
}
.services__desc.is-swap { opacity: 0; transform: translateY(8px); }

.services__list { left: calc(400 * var(--px)); top: calc(72 * var(--px)); list-style: none; display: flex; flex-direction: column; gap: calc(4 * var(--px)); }
.service {
  display: inline-flex;
  align-items: flex-start;
  gap: calc(6 * var(--px));
  font-size: calc(100 * var(--px));
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(237, 232, 220, 0.2);
  text-align: left;
  transition: color 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.service sup {
  font-size: calc(18 * var(--px));
  letter-spacing: 0;
  line-height: normal;
  margin-top: calc(6 * var(--px));
  color: var(--paper-30);
  vertical-align: baseline;
  transition: color 0.5s;
}
.service:hover { color: rgba(237, 232, 220, 0.45); }
.service.is-active { color: var(--paper); }
.service.is-active sup { color: var(--lime); }

.services__img {
  left: calc(1060 * var(--px));
  top: calc(150 * var(--px));
  width: calc(300 * var(--px));
  height: calc(360 * var(--px));
  border-radius: calc(18 * var(--px));
  overflow: hidden;
  background: var(--ink2);
}
.js .services__img[data-reveal="grow"] { clip-path: inset(100% 0 0 0 round calc(18 * var(--px))); }
.js .services__img[data-reveal="grow"].is-in { clip-path: inset(0 0 0 0 round calc(18 * var(--px))); }
.services__img img { width: 100%; height: 100%; object-fit: cover; }
.services__tag { left: calc(995.5 * var(--px)); top: calc(400 * var(--px)); animation: floaty 4s ease-in-out infinite; }
.services__caption { left: calc(1064 * var(--px)); top: calc(524 * var(--px)); color: var(--paper); }
@keyframes floaty { 50% { transform: translateY(-6px) rotate(-3deg); } }

.services__divider { display: block; height: 1px; background: var(--line); }

.services__bottom { display: flex; align-items: flex-end; padding-top: calc(64 * var(--px)); }
.services__portrait-col { width: calc(400 * var(--px)); display: flex; flex-direction: column; gap: calc(14 * var(--px)); flex: none; }
.services__portrait-col .micro { color: var(--paper); }
.services__portrait {
  position: relative;
  height: calc(420 * var(--px));
  border-radius: calc(18 * var(--px));
  overflow: hidden;
  background: var(--lime);
}
.js .services__portrait[data-reveal="grow"] { clip-path: inset(100% 0 0 0 round calc(18 * var(--px))); }
.js .services__portrait[data-reveal="grow"].is-in { clip-path: inset(0 0 0 0 round calc(18 * var(--px))); }
.services__portrait > img:first-child { width: 100%; height: 100%; object-fit: cover; }
.services__mark { position: absolute; left: calc(20 * var(--px)); top: calc(20 * var(--px)); width: calc(40 * var(--px)); height: calc(40 * var(--px)); transform: none !important; }
.services__pitch {
  margin-left: auto;
  width: calc(620 * var(--px));
  padding-bottom: calc(40 * var(--px));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: calc(40 * var(--px));
}
.services__pen { width: calc(52 * var(--px)); height: calc(52 * var(--px)); }
.services__pitch-text {
  width: calc(524 * var(--px));
  font-size: calc(44 * var(--px));
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--paper);
}

/* ==========================================================================
   PRICING (69:511 / 69:2942)
   ========================================================================== */
.pricing {
  display: flex;
  flex-direction: column;
  gap: calc(56 * var(--px));
  padding: calc(150 * var(--px)) calc(200 * var(--px));
}
.pricing__head { display: flex; align-items: flex-end; justify-content: space-between; }
.pricing__label { width: calc(440 * var(--px)); align-self: flex-start; }
.pricing__title {
  margin-right: auto;
  font-size: calc(56 * var(--px));
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--paper);
}
.toggle {
  position: relative;
  display: flex;
  gap: calc(2 * var(--px));
  padding: calc(4 * var(--px));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}
.toggle__knob {
  position: absolute;
  top: calc(4 * var(--px));
  bottom: calc(4 * var(--px));
  left: 0;
  width: 0;
  border-radius: 999px;
  background: var(--lime);
  transition: transform 0.5s var(--ease-out), width 0.5s var(--ease-out);
}
.toggle__btn {
  position: relative;
  padding: calc(9 * var(--px)) calc(18 * var(--px));
  border-radius: 999px;
  font-size: calc(14 * var(--px));
  font-weight: 500;
  color: var(--paper-60);
  transition: color 0.4s;
}
.toggle__btn:hover { color: var(--paper); }
.toggle__btn.is-active { color: var(--ink); }
.no-knob .toggle__btn.is-active { background: var(--lime); }

.plans-wrap { display: grid; grid-template-columns: minmax(0, 1fr); } /* both panels share one cell; never wider than the section */
.plans { grid-area: 1 / 1; display: flex; gap: calc(12 * var(--px)); }
.plans[hidden] { display: flex !important; visibility: hidden; pointer-events: none; }
/* Video: cards rise as empty panels, then name → price (counting) → copy → features one by one → button */
.plans .plan { transition: opacity 0.6s var(--ease-out), transform 0.9s var(--ease-out); }
.js .plans:not(.is-active) .plan { opacity: 0; transform: translateY(90px); }
.plans.is-active .plan { transition-delay: calc(var(--k, 0) * 0.12s); }
.js .plan__name-row, .js .plan__price, .js .plan__desc, .js .plan__features li, .js .plan > .btn { opacity: 0; transition: opacity 0.45s ease; }
.js .plans.is-active .plan__name-row { opacity: 1; transition-delay: calc(var(--k, 0) * 0.12s + 0.35s); }
.js .plans.is-active .plan__price { opacity: 1; transition-delay: calc(var(--k, 0) * 0.12s + 0.4s); }
.js .plans.is-active .plan__desc { opacity: 1; transition-delay: calc(var(--k, 0) * 0.12s + 0.5s); }
.js .plans.is-active .plan__features li { opacity: 1; }
.js .plans.is-active .plan__features li:nth-child(1) { transition-delay: calc(var(--k, 0) * 0.12s + 0.6s); }
.js .plans.is-active .plan__features li:nth-child(2) { transition-delay: calc(var(--k, 0) * 0.12s + 0.7s); }
.js .plans.is-active .plan__features li:nth-child(3) { transition-delay: calc(var(--k, 0) * 0.12s + 0.8s); }
.js .plans.is-active .plan__features li:nth-child(4) { transition-delay: calc(var(--k, 0) * 0.12s + 0.9s); }
.js .plans.is-active .plan > .btn { opacity: 1; transition: opacity 0.45s ease, color 0.35s, border-color 0.35s; transition-delay: calc(var(--k, 0) * 0.12s + 1.05s), 0s, 0s; }
.plan__price span { font-variant-numeric: tabular-nums; }
/* features past the 4th (CMS plans) keep the same 0.1s rhythm through --f */
.js .plans.is-active .plan__features li:nth-child(n+5) { transition-delay: calc(var(--k, 0) * 0.12s + 0.6s + var(--f, 4) * 0.1s); }
/* plan counts from the CMS: 1–4 per project, 1–3 monthly (design: 3 and 2) */
@media (min-width: 1200px) {
  /* min-height (design: 595 fixed) so CMS plans can list up to 10 features */
  .plans .plan { min-height: calc(595 * var(--px)); }
  .plans[data-n="1"] { justify-content: center; }
  .plans[data-n="1"] .plan { flex: 0 1 calc(520 * var(--px)); }
  .plans--project[data-n="4"] .plan { padding: calc(28 * var(--px)); }
  .plans--project[data-n="4"] .plan__price span { font-size: calc(52 * var(--px)); }
  .plans--project[data-n="4"] .plan__price { flex-wrap: wrap; row-gap: calc(6 * var(--px)); white-space: normal; }
  .plans--project[data-n="4"] .plan__name-row { flex-wrap: wrap; gap: calc(8 * var(--px)); }
  .plans--monthly[data-n="3"] .plan__price span { font-size: calc(64 * var(--px)); }
}

.plan {
  flex: 1 1 0;
  min-width: 0;
  padding: calc(32 * var(--px));
  border-radius: calc(20 * var(--px));
  background: var(--card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid transparent;
}
.plan--featured { background: var(--card-2); }
.plan__top { display: flex; flex-direction: column; gap: calc(28 * var(--px)); }
.plan__name-row { display: flex; align-items: center; justify-content: space-between; min-height: calc(29 * var(--px)); }
.plan__name { font-size: calc(22 * var(--px)); font-weight: 500; letter-spacing: -0.02em; }
.plan__price { display: flex; align-items: flex-end; gap: calc(10 * var(--px)); white-space: nowrap; }
.plan__price span { font-size: calc(72 * var(--px)); line-height: 1; letter-spacing: -0.05em; }
.plan__price small { font-size: calc(14 * var(--px)); color: var(--paper-50); }
.plan__desc { font-size: calc(14 * var(--px)); line-height: 1.5; color: rgba(237, 232, 220, 0.62); max-width: calc(360 * var(--px)); }
.plan__features { list-style: none; }
.plan__features li {
  display: flex;
  align-items: center;
  gap: calc(12 * var(--px));
  padding: calc(11 * var(--px)) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: calc(14 * var(--px));
}
.plan--featured .plan__features li { border-top-color: rgba(255, 255, 255, 0.14); }
.plan__features img { width: calc(20 * var(--px)); height: calc(20 * var(--px)); flex: none; }
.plan { transition: transform 0.5s var(--ease-out), border-color 0.4s; }


.pricing__note { display: flex; justify-content: space-between; align-items: center; padding-top: calc(4 * var(--px)); font-size: calc(14 * var(--px)); }
.pricing__note-text { color: var(--paper-55); }
.pricing__custom { font-weight: 500; color: var(--paper); transition: color 0.3s; }
.pricing__custom:hover { color: var(--lime); }

/* ==========================================================================
   TESTIMONIALS (69:625)
   ========================================================================== */
.testimonials {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(64 * var(--px));
  padding: calc(40 * var(--px)) calc(40 * var(--px)) calc(150 * var(--px));
}
.testimonials__head { display: flex; flex-direction: column; align-items: center; gap: calc(24 * var(--px)); text-align: center; }
.testimonials__title { font-size: calc(60 * var(--px)); font-weight: 400; line-height: 1; letter-spacing: -0.04em; }
.testimonials__proof { display: flex; align-items: center; gap: calc(12 * var(--px)); padding-top: calc(6 * var(--px)); font-size: calc(14 * var(--px)); color: var(--paper-60); }
.testimonials__proof > img { width: calc(82 * var(--px)); height: calc(14 * var(--px)); }
.avatars { display: flex; }
.avatars img { width: calc(32 * var(--px)); height: calc(32 * var(--px)); border-radius: 50%; }
.avatars img + img { margin-left: calc(-10 * var(--px)); }

.slider { width: 100%; display: flex; flex-direction: column; align-items: center; gap: calc(64 * var(--px)); }
.slider__track {
  width: 100%;
  display: flex;
  gap: calc(16 * var(--px));
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  cursor: grab;
  border-radius: calc(22 * var(--px));
}
.slider__track::-webkit-scrollbar { display: none; }
.js .slider__track [data-reveal="rise"]:not(.is-in) { transform: translateY(70px); }
.slider__track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.slider__track.is-dragging a { pointer-events: none; }
.slider__nav { display: flex; align-items: center; gap: calc(24 * var(--px)); }
.slider__btn {
  width: 40px;
  height: 40px;
  margin: -8px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  transition: background-color 0.3s, opacity 0.3s;
}
.slider__btn img { width: 24px; height: 24px; }
.slider__btn:hover { background: rgba(255, 255, 255, 0.08); }
.slider__btn:disabled { opacity: 0.3; cursor: default; background: none; }

.t-card {
  flex: 0 0 calc((100% - 32 * var(--px)) / 3);
  height: calc(420 * var(--px));
  padding: calc(32 * var(--px));
  border-radius: calc(22 * var(--px));
  background: var(--card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  scroll-snap-align: start;
  user-select: none;
}
.t-card--rating { background: var(--card-2); }
.t-card__top { display: flex; flex-direction: column; gap: calc(20 * var(--px)); }
.t-card__top .micro { color: var(--paper-55); }
.t-card__top > img { width: calc(102 * var(--px)); height: calc(18 * var(--px)); }
.t-rating { display: flex; align-items: flex-end; gap: calc(4 * var(--px)); }
.t-rating span { font-size: calc(112 * var(--px)); line-height: 1; letter-spacing: -0.06em; }
.t-rating small { font-size: calc(26 * var(--px)); color: var(--paper-45); }
.t-card__bottom { display: flex; flex-direction: column; align-items: flex-start; gap: calc(24 * var(--px)); }
.t-card__muted { width: calc(260 * var(--px)); font-size: calc(14 * var(--px)); line-height: 1.5; color: var(--paper-60); }
.t-card__quote-wrap { display: flex; flex-direction: column; gap: calc(24 * var(--px)); }
.t-card__stars { display: flex; justify-content: space-between; align-items: center; font-size: calc(14 * var(--px)); font-weight: 500; color: var(--paper-60); }
.t-card__stars img { width: calc(92 * var(--px)); height: calc(16 * var(--px)); }
.t-card__quote { font-size: calc(22 * var(--px)); line-height: 1.32; letter-spacing: -0.02em; color: var(--paper); }
.t-person { display: flex; align-items: center; gap: calc(12 * var(--px)); padding-top: calc(20 * var(--px)); border-top: 1px solid var(--line); }
.t-person img { width: calc(44 * var(--px)); height: calc(44 * var(--px)); border-radius: 50%; object-fit: cover; flex: none; }
.t-person__initials {
  width: calc(44 * var(--px));
  height: calc(44 * var(--px));
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  background: var(--lime);
  color: var(--ink);
  font-size: calc(15 * var(--px));
  font-weight: 600;
}
.t-person__name { font-size: calc(14 * var(--px)); font-weight: 500; letter-spacing: -0.01em; }
.t-person__role { font-size: calc(12 * var(--px)); color: var(--paper-55); margin-top: calc(2 * var(--px)); }
.t-card { transition: background-color 0.4s; }
.t-card:not(.t-card--rating):hover { background: #1c1c1c; }

/* ==========================================================================
   RESPONSIVE — Mobile 390 (Figma 122:6403) is the base for < 1200px;
   Tablet 768 (Figma 121:6149) overrides follow in the 768–1199 block.
   ========================================================================== */
@media (max-width: 1199px) {
  /* ---------- Hero (122:6404) ---------- */
  .hero {
    height: auto;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    padding: 20px 20px 22px;
  }
  .hero__img { object-position: 50% 50%; }
  .hero__shade { top: auto; bottom: 0; height: 70%; }

  .hero__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
  .hero__top > * { position: static !important; }
  .hero__top > .avail { position: relative !important; left: auto; top: auto; }
  .hero__nav { margin-top: 4px; }
  .hero__meta { display: none !important; }

  .avail { width: 195px; padding: 8px; gap: 6.4px; border-radius: 8px; --thumb-h: 83px; }
  .avail__title { gap: 1.6px; }
  .avail__eyebrow, .avail__open, .avail__note { font-size: 9.6px; }
  .avail__big { font-size: 32px; }
  .avail__mono { width: 35px; height: 35px; font-size: 19px; }
  .avail__open { padding: 3px 7px; gap: 4px; }
  .avail__open i { width: 3px; height: 3px; }
  .avail__thumb { border-radius: 5px; }

  .hero__bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    margin-top: auto;
    padding-top: 48px;
  }
  .hero__bottom > * { position: static !important; }
  .hero__arrow { grid-area: 1 / 1; align-self: center; width: 40px; height: 40px; border-radius: 8px; }
  .hero__arrow img { width: 16px; height: 16px; }
  .hero__year { grid-area: 1 / 2; align-self: center; gap: 10px; }
  .hero__year-num { font-size: 40px; }
  .hero__year-loc { font-size: 12px; }
  .hero__intro { grid-area: 2 / 1 / 3 / -1; width: 100%; max-width: 323px; gap: 12px; margin-top: 20px; }
  .hero__heading { font-size: 22px; }
  .hero__body { font-size: 14px; }

  .hero__line { width: auto; margin: 0 -20px; }
  .hero__line--1 { grid-area: 3 / 1 / 4 / -1; margin-top: 23px; }
  .hero__title {
    grid-area: 4 / 1 / 5 / -1;
    justify-self: start;
    margin: 6px 0 6px -2px;
    font-size: min(22.5vw, 150px);
    white-space: normal;
    padding-bottom: 0;
  }
  /* two lines here: mask each word so the rising letters stay on their own line */
  .hero__title .split-mask { overflow: hidden; padding-right: 0.08em; margin-right: -0.08em; }
  .hero__line--2 { grid-area: 5 / 1 / 6 / -1; }
  .hero__sub { grid-area: 6 / 1 / 7 / -1; justify-self: start; align-self: start; max-width: calc(100% - 96px); margin-top: 16px; font-size: 15px; white-space: normal; }
  .hero__portfolio { grid-area: 6 / 1 / 7 / -1; justify-self: end; align-self: start; margin: 16px 0 0; font-size: 12px; }
  .hero__line--3 { grid-area: 7 / 1 / 8 / -1; margin-top: 15px; }
  .clock-card { grid-area: 8 / 1 / 9 / -1; justify-self: center; gap: 18px; padding: 10px 14px; border-radius: 8px; margin-top: 16px; }
  .clock-card > div { gap: 2px; }
  .clock-card__label { font-size: 12px; }
  .clock-card__time { font-size: 34px; }
  .clock-card__star { width: 30px; height: 30px; }

  /* ---------- About (122:6459) ---------- */
  .about { padding: 63px 20px 54px; gap: 24px; }
  .about .label-row > :last-child { display: none; }
  .about__headline { padding-left: 0; }
  .about__headline h2 { width: auto; font-size: 25px; }
  .about__body { flex-direction: column; gap: 40px; padding-top: 24px; }
  .about__col { width: 100%; }
  .photo-card { width: 280px; max-width: 100%; border-radius: 20px; padding: 7px 7px 22px; }
  .photo-card__img { height: 266px; border-radius: 14px; }
  .photo-card figcaption { gap: 8px; padding: 18px 14px 0; }
  .photo-card__title { font-size: 15px; }
  .photo-card__text { font-size: 14px; }
  .stats { flex-direction: column; gap: 24px; width: 100%; }
  .stat { width: auto; gap: 18px; }
  .stat__head { font-size: 12px; padding-bottom: 12px; }
  .stat__head img { width: 14px; height: 14px; }
  .stat__num { font-size: 36px; }
  .stat__text, .stat__text--narrow { width: auto; font-size: 14px; }
  .about__ruler { padding-top: 25px; }
  .about__ruler img { width: 100%; height: 12px; object-fit: fill; }

  /* ---------- Selected work (122:6533) ---------- */
  .work {
    height: auto;
    padding: 25px 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 16px;
    row-gap: 16px;
    align-items: start;
  }
  .work > * { position: static !important; }
  .work__label { grid-area: 1 / 1; }
  .work__meta { display: contents; }
  .work__meta-right { grid-area: 1 / 1 / 2 / -1; justify-self: end; text-align: right; white-space: nowrap; }
  .work__meta > p:first-child { grid-area: 3 / 1 / 4 / -1; justify-self: start; }
  .work__meta-line { grid-area: 3 / 1 / 4 / -1; justify-self: end; align-self: center; width: calc(100% - 142px); }
  .work__title { grid-area: 2 / 1 / 3 / -1; display: flex; flex-direction: column; gap: 8px; margin-top: -8px; }
  .work__word { position: static !important; font-size: 18.97vw; }
  .work__row2 { display: flex; justify-content: flex-end; align-items: flex-start; gap: 12px; }
  .work__count { position: static !important; font-size: 16px; line-height: normal; }
  .work__intro { grid-area: 4 / 1 / 5 / -1; width: 300px; max-width: 100%; font-size: 15px; }
  .work__scroll { grid-area: 5 / 1 / 6 / -1; justify-self: start; margin-top: 8px; }
  .work-card { grid-column: 1 / -1; width: 100% !important; gap: 12px; transform: none !important; }
  .work-card .work-card__img { height: auto !important; aspect-ratio: 4 / 3; }
  .work-card__name { font-size: 15px; gap: 10px; white-space: normal; }
  .work-card__name span, .work-card__meta { font-size: 12px; }
  .work-card__meta { gap: 12px; }
  .work-card__meta img { width: 14px; height: 14px; }
  .work-card__pill { gap: 8px; padding: 10px 12px 10px 16px; font-size: 14px; }
  .work-card__pill img { width: 12px; height: 12px; }
  .sticker { grid-column: 1 / -1; justify-self: center; position: relative !important; left: auto; top: auto; width: 150px; height: 150px; margin: 30px 0; }
  .sticker__inner { gap: 6px; }
  .sticker__num { font-size: 22px; }
  .sticker__txt { font-size: 12px; }

  /* ---------- Services (122:6598) — workshop image hidden on responsive ---------- */
  .services { padding-bottom: 54px; }
  .services__tab { height: 58px; }
  .services__tab-shape { display: none; }
  .services__marquee { left: 0; width: 100%; }
  .services__marquee-track { gap: 22px; padding-right: 22px; }
  .services__marquee-track span { font-size: 16px; }
  .services__marquee-track img { width: 14px; height: 14px; }
  .services__body { padding: 0 20px; }
  .services__micro { padding: 65px 0 20px; }
  .services__micro > :first-child { width: auto; max-width: 318px; }
  .services__micro-right { display: none; }
  .services__stack { height: auto; display: flex; flex-direction: column; gap: 24px; padding: 24px 0; }
  .services__stack > * { position: static !important; left: auto !important; top: auto !important; }
  .services__reg { position: absolute !important; font-size: 315px; left: 81px !important; top: -63px !important; }
  .services__img, .services__tag, .services__caption { display: none !important; }
  .services__detail { width: auto; order: 1; }
  .services__num { font-size: 31px; line-height: 1.2; height: 1.2em; }
  .services__desc { width: auto; max-width: 360px; margin-top: 8px; font-size: 14px; }
  .services__list { order: 2; gap: 20px; }
  .service { font-size: 43px; gap: 8px; }
  .service sup { font-size: 15px; margin-top: 0; }
  .services__bottom { flex-direction: column; align-items: stretch; gap: 40px; padding-top: 64px; }
  .services__portrait-col { width: 100%; gap: 14px; }
  .services__portrait { height: auto; aspect-ratio: 350 / 368; border-radius: 18px; }
  .services__mark { width: 40px; height: 40px; left: 18px; top: 18px; }
  .services__pitch { width: auto; margin-left: 0; padding-bottom: 40px; gap: 20px; }
  .services__pen { width: 52px; height: 52px; }
  .services__pitch-text { width: auto; max-width: 312px; font-size: 24px; }

  /* ---------- Pricing (122:6651) ---------- */
  .pricing { padding: 68px 20px; gap: 28px; }
  .pricing__head { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; }
  .pricing__label { width: auto; }
  .pricing__title { margin: 16px 0 0; font-size: 28px; }
  .toggle { justify-self: center; margin-top: 16px; padding: 4px; gap: 2px; }
  .toggle__knob { top: 4px; bottom: 4px; }
  .toggle__btn { font-size: 14px; padding: 9px 18px; }
  .plans { flex-direction: column; gap: 12px; }
  .plans[hidden] { display: none !important; }
  .plan { height: auto; padding: 32px 20px; gap: 32px; border-radius: 20px; justify-content: flex-start; }
  .plan__top { gap: 14px; }
  .plan__name-row { min-height: 28px; }
  .plan__name { font-size: 17px; }
  .plan__price span { font-size: 34px; }
  .plan__price small, .plan__desc, .plan__features li { font-size: 14px; }
  .plan__desc { max-width: none; }
  .plan__features li { gap: 12px; padding: 11px 0; }
  .plan__features img { width: 20px; height: 20px; }
  .pricing__note { flex-direction: column; align-items: flex-start; gap: 16px; padding-top: 0; font-size: 14px; }

  /* ---------- Testimonials (122:6756) ---------- */
  .testimonials { padding: 40px 0 68px; gap: 32px; }
  .testimonials__head { gap: 24px; padding: 0 20px; }
  .testimonials__title { font-size: 30px; }
  .testimonials__proof { flex-wrap: wrap; justify-content: center; gap: 12px; padding-top: 6px; font-size: 14px; }
  .testimonials__proof > img { width: 82px; height: 14px; }
  .avatars img { width: 32px; height: 32px; }
  .avatars img + img { margin-left: -10px; }
  .slider { gap: 32px; }
  .slider__track { gap: 16px; padding: 0 20px; scroll-padding: 0 20px; border-radius: 0; align-items: stretch; }
  .t-card { flex: 0 0 100%; height: auto; padding: 32px 20px; gap: 32px; border-radius: 22px; }
  .t-card__top { gap: 16px; }
  .t-card__top > img { width: 102px; height: 18px; }
  .t-rating { gap: 4px; }
  .t-rating span { font-size: 80px; }
  .t-rating small { font-size: 22px; }
  .t-card__muted { width: auto; font-size: 14px; }
  .t-card__bottom, .t-card__quote-wrap { gap: 24px; }
  .t-card__stars { font-size: 14px; }
  .t-card__stars img { width: 92px; height: 16px; }
  .t-card__quote { font-size: 17px; }
  .t-person { gap: 12px; padding-top: 20px; }
  .t-person img, .t-person__initials { width: 44px; height: 44px; font-size: 15px; }
  .t-person__name { font-size: 14px; }
  .t-person__role { font-size: 12px; margin-top: 2px; }
  .slider__nav { gap: 24px; }
}

/* Rating card: inside the slider from tablet up; on phones it sits above
   the quote slider (Figma 122:6772 stacks it first). */
.t-card--solo { display: none; }
@media (max-width: 767px) {
  .t-card--solo { display: flex; flex: none; margin: 0 20px -16px; }
  .slider__track .t-card--rating { display: none; }
}

/* ==========================================================================
   TABLET (768–1199) — Figma 121:6149; giant type scales from the 768 frame
   ========================================================================== */
@media (min-width: 768px) and (max-width: 1199px) {
  /* Hero (121:6150) */
  .hero { min-height: max(100svh, 900px); padding: 40px 40px 40px; }
  .hero__shade { height: 60%; }
  .hero__nav { margin-top: 6px; }
  .avail { width: 244px; padding: 10px; gap: 8px; border-radius: 10px; --thumb-h: 104px; }
  .avail__title { gap: 2px; }
  .avail__eyebrow, .avail__open, .avail__note { font-size: 12px; }
  .avail__big { font-size: 40px; }
  .avail__mono { width: 44px; height: 44px; font-size: 24px; }
  .avail__open { padding: 4px 9px; gap: 5px; }
  .avail__open i { width: 4px; height: 4px; }
  .avail__thumb { border-radius: 6px; }

  .hero__arrow { grid-area: 1 / 1; }
  .hero__intro { grid-area: 2 / 1; }
  .hero__heading { font-size: 26px; }
  .hero__year { grid-area: 2 / 2; align-self: end; }
  .hero__year-num { font-size: 48px; }
  .hero__line { margin-left: -40px; margin-right: -40px; }
  .hero__title { justify-self: center; margin: 6px 0; font-size: 12.24vw; white-space: nowrap; }
  .hero__title .split-mask { overflow: visible; padding-right: 0; margin-right: 0; }
  .hero__sub { font-size: 22px; }
  .hero__line--3 { margin-top: 16px; }

  /* About (121:6205) */
  .about { padding: 84px 40px 72px; gap: 34px; }
  .about .label-row > :last-child { display: block; }
  .about__headline h2 { font-size: 33px; }
  .about__body { flex-direction: row; align-items: flex-start; gap: 32px; }
  .about__col { width: 260px; flex: none; }
  .photo-card { width: 100%; }
  .stats { flex: 1; flex-direction: row; gap: 16px; }
  .stat { flex: 1 1 0; min-width: 0; }
  .stat__num { font-size: 54px; }
  .about__ruler { padding-top: 34px; }

  /* Selected work (121:6279) */
  .work { padding: 43px 40px; row-gap: 28px; }
  .work__title { margin-top: -20px; }
  .work__word { font-size: 15.625vw; }
  .work__count { font-size: 18px; }
  .work__scroll { margin-top: -4px; }
  .work-card { grid-column: auto; }
  .sticker { margin: 14px 0; }

  /* Services (121:6344) */
  .services { padding-bottom: 72px; }
  .services__body { padding: 0 40px; }
  .services__micro { flex-direction: row; justify-content: space-between; padding: 34px 0 24px; }
  .services__micro > :first-child { width: 223px; max-width: none; }
  .services__micro-right { display: block; width: 250px; text-align: right; }
  .services__stack { gap: 34px; }
  .services__reg { font-size: 546px; left: 182px !important; top: -109px !important; }
  .services__num { font-size: 44px; }
  .services__desc { margin-top: 12px; }
  .services__list { gap: 14px; }
  .service { font-size: 66px; }
  .service sup { font-size: 16px; }
  .services__bottom { gap: 24px; padding-top: 38px; }
  .services__portrait-col { width: 400px; max-width: 100%; }
  .services__portrait { aspect-ratio: 400 / 420; }
  .services__mark { left: 20px; top: 20px; }
  .services__pitch { gap: 28px; }
  .services__pitch-text { max-width: 524px; font-size: 32px; }

  /* Pricing (121:6397) — plans become a swipeable row */
  .pricing { padding: 90px 40px; gap: 39px; }
  .pricing__head { grid-template-columns: 64% minmax(0, 1fr); }
  .pricing__title { margin: 0; font-size: 39px; }
  .toggle { grid-column: 1 / -1; margin-top: 24px; }
  .plans {
    flex-direction: row;
    gap: 12px;
    margin: 0 -40px;
    padding: 0 40px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 40px;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }
  .plans::-webkit-scrollbar { display: none; }
  .plans .plan { flex: 1 0 300px; min-height: 524px; padding: 32px; gap: 32px; justify-content: space-between; scroll-snap-align: start; }
  .plan__top { gap: 20px; }
  .plan__name { font-size: 19px; }
  .plan__price span { font-size: 49px; }
  .pricing__note { gap: 12px; }

  /* Testimonials (121:6502) */
  .testimonials { padding: 40px 0 90px; gap: 45px; }
  .testimonials__head { padding: 0 40px; }
  .testimonials__title { font-size: 42px; }
  .slider { gap: 45px; }
  .slider__track { padding: 0 40px; scroll-padding: 0 40px; }
  .t-card { flex: 0 0 300px; height: 370px; padding: 32px; gap: 0; }
  .t-card__top { gap: 20px; }
  .t-rating span { font-size: 73px; }
  .t-rating small { font-size: 21px; }
  .t-card__quote { font-size: 19px; }
}

/* Hide hero text until it has been split for the intro (prevents a flash) */
.js .hero:not(.split-ready) .hero__title,
.js .hero:not(.split-ready) .hero__heading { visibility: hidden; }

/* ==========================================================================
   Services — pinned while scrolling: the active service follows scroll
   (01 → 04) before the page moves on. Hover / focus also activates.
   ========================================================================== */
.services__scroll { position: relative; }
.services__pin { position: relative; }
@media (min-width: 1200px) {
  .services__scroll { height: calc(var(--pin-h, 820px) + 3 * var(--svc-step, 50vh)); }
  .services__pin { position: sticky; top: max(0px, calc((100vh - var(--pin-h, 820px)) / 2)); }
}
/* Tablet / mobile: same pinned walk-through whenever the block fits the screen
   (JS adds .is-pinned and sets --pin-top from the real viewport height) */
@media (max-width: 1199px) {
  .services__scroll.is-pinned { height: calc(var(--pin-h, 600px) + 3 * var(--svc-step, 50vh)); }
  .services__scroll.is-pinned .services__pin { position: sticky; top: var(--pin-top, 0px); }
}
.services__img { isolation: isolate; }
.services__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.6s var(--ease-out), transform 0.9s var(--ease-out);
}
.services__slide.is-active { opacity: 1; transform: none; }
.services__slide img { width: 100%; height: 100%; object-fit: cover; }
.services__slide.ph { text-align: center; line-height: 1.5; padding: 16px; }
.service { cursor: pointer; }

/* ==========================================================================
   Monitor (≥1440): content stays at the 1440 design size, centred;
   the hero photo, shade and hairlines run full-bleed.
   ========================================================================== */
@media (min-width: 1441px) {
  .hero { overflow: visible; }
  .hero__media,
  .hero__shade,
  .hero__line { left: calc(-1 * var(--gutter)); right: auto; width: calc(100% + 2 * var(--gutter)); }
  .hero__line { transform-origin: var(--gutter) 0; }
  .hero::before {
    content: "";
    position: absolute;
    inset: 0 calc(-1 * var(--gutter));
    background: var(--paper);
    z-index: -3;
  }
  .services__micro, .services__divider { margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .services__divider { width: auto; }
}

/* Pricing note follows the cards (not its own scroll trigger) */
.js .pricing__note { opacity: 0; transition: opacity 0.5s ease; }
.js .pricing.cards-in .pricing__note { opacity: 1; transition-delay: 0.3s; }

/* Testimonial ratings below 5: dim full row under the lit (clipped) stars */
.t-stars { position: relative; display: inline-flex; flex: none; }
.t-stars__dim { position: absolute; inset: 0; opacity: 0.22; }
