/* Akbar Siddqui — portfolio.
   One stylesheet, one breakpoint ladder (1100 / 767 / 360), one token block.
   Replaces the old base.css + portfolio.css + interactive.css stack.
   Plain CSS on purpose: no build step, no preprocessor, no clever abstractions. */

/* ── Tokens ───────────────────────────────────────────── */
:root {
  --bg: #101112;
  --sur: #17191b;
  --sur-2: #1d2023;
  --hair: rgba(255, 255, 255, 0.09);
  --hair-2: rgba(255, 255, 255, 0.16);
  --ink: #eeefeb;
  --ink-2: #c5c7c8;
  --mute: #a3a6aa;
  --dim: #91959a;
  --acc: #9fb9e9;
  --bad: #ff8a8a;
  /* Condensed fallbacks matter: the hero name is set with white-space:nowrap,
     so a proportional fallback would overflow during the font swap. */
  --fd: "Barlow Condensed", "Arial Narrow", "Helvetica Neue Condensed",
    sans-serif;
  --fb: "Manrope", system-ui, -apple-system, sans-serif;
  --fm: ui-monospace, SFMono-Regular, Menlo, monospace;
  --spring: cubic-bezier(0.32, 0.72, 0, 1);
  --out: cubic-bezier(0.16, 1, 0.3, 1);
  --nav: 76px;
  --sat: env(safe-area-inset-top, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
  --sal: env(safe-area-inset-left, 0px);
  --sar: env(safe-area-inset-right, 0px);
}

/* ── Reset ────────────────────────────────────────────── */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--fb);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: none;
}
main {
  overflow: clip;
}
/* Set by the nav sheet and the project dialog via a shared lock counter. */
body.no-scroll {
  overflow: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
::selection {
  background: var(--acc);
  color: var(--bg);
}
:focus-visible {
  outline: 2px solid var(--acc);
  outline-offset: 3px;
  border-radius: 4px;
}
section[id] {
  scroll-margin-top: calc(var(--nav) + var(--sat) + 24px);
}

/* ── Layout primitives ────────────────────────────────── */
.wrap {
  width: min(1400px, calc(100% - 96px));
  margin-inline: auto;
  padding-left: var(--sal);
  padding-right: var(--sar);
}
.sec {
  position: relative;
  padding: 120px 0;
}
.sec-head {
  margin-bottom: clamp(36px, 5vw, 64px);
}
.sec-head .lede {
  margin-top: 14px;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -80px;
  z-index: 100;
  background: var(--ink);
  color: var(--bg);
  padding: 12px 20px;
}
.skip-link:focus {
  top: 12px;
}

.h2 {
  font-family: var(--fd);
  font-weight: 600;
  font-size: clamp(48px, 6.4vw, 88px);
  letter-spacing: -0.035em;
  line-height: 1;
  text-transform: uppercase;
}
.h2 em {
  font-style: normal;
  font-weight: 600;
  color: var(--acc);
}
.accent {
  color: var(--acc);
}
.lede {
  color: var(--mute);
  max-width: 60ch;
  font-size: 15px;
  line-height: 1.65;
}

/* Reveal on scroll. Visible by default so the page reads fine without JS;
   the inline script adds .motion-ready only when motion is allowed. */
.rv {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.9s var(--out),
    transform 0.9s var(--out);
}
.motion-ready .rv:not(.in) {
  opacity: 0;
  transform: translateY(24px);
}
.rv[data-d="1"] {
  transition-delay: 0.08s;
}
.rv[data-d="2"] {
  transition-delay: 0.16s;
}
.rv[data-d="3"] {
  transition-delay: 0.24s;
}

/* ── Buttons and links ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  padding: 8px 8px 8px 22px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  border: 1px solid var(--hair-2);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
  transition:
    transform 0.5s var(--spring),
    background 0.3s,
    border-color 0.3s;
}
.btn .ic {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: none;
  transition: transform 0.5s var(--spring);
}
.btn .ic svg {
  width: 14px;
  height: 14px;
  stroke-width: 1.5;
}
.btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateY(-2px);
}
.btn:hover .ic {
  transform: translate(2px, -1px);
}
.btn:active {
  transform: scale(0.98);
}
.btn.pri {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.btn.pri:hover {
  background: #fff;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 46px;
  font-size: 13px;
  padding: 12px 0;
  border-bottom: 1px solid var(--ink);
}
.text-link span {
  font-size: 24px;
  line-height: 1;
  transition: transform 0.25s;
}
.text-link:hover span {
  transform: translate(3px, -3px);
}

/* ── Nav ──────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding-top: var(--sat);
  background: rgba(16, 17, 18, 0.94);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}
.nav .wrap {
  height: var(--nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav .logo {
  display: flex;
  align-items: center;
  min-height: 44px;
}
.nav .logo img {
  height: 30px;
  width: auto;
  opacity: 0.95;
}
.nav .links {
  display: flex;
  gap: 24px;
}
.nav .links a {
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-2);
  transition: color 0.3s;
}
.nav .links a:hover,
.nav .links a.on {
  color: var(--ink);
}
.nav .right {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav .btn {
  min-height: 40px;
  font-size: 12px;
  padding: 8px 17px;
  background: none;
  color: var(--ink);
  border-color: var(--hair-2);
}
.nav .btn .ic {
  display: none;
}
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  position: relative;
}
.burger span {
  position: absolute;
  left: 14px;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.5s var(--spring);
}
.burger span:nth-child(1) {
  top: 17px;
}
.burger span:nth-child(2) {
  top: 24px;
}
.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(3.5px) rotate(45deg);
}
.burger[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(-3.5px) rotate(-45deg);
}

.sheet {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(16, 17, 18, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: calc(var(--nav) + var(--sat)) 28px var(--sab);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.45s var(--out),
    visibility 0.45s;
}
.sheet.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.sheet a {
  font-family: var(--fd);
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(34px, 8.5vw, 48px);
  line-height: 1.25;
  padding: 6px 0;
  min-height: 44px;
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.6s var(--out),
    transform 0.6s var(--out);
}
.sheet.open a {
  opacity: 1;
  transform: none;
}
.sheet a:nth-child(1) {
  transition-delay: 0.06s;
}
.sheet a:nth-child(2) {
  transition-delay: 0.12s;
}
.sheet a:nth-child(3) {
  transition-delay: 0.18s;
}
.sheet a:nth-child(4) {
  transition-delay: 0.24s;
}
.sheet a:nth-child(5) {
  transition-delay: 0.3s;
}
.sheet a:nth-child(6) {
  transition-delay: 0.36s;
}
.sheet .btn {
  font-family: var(--fb);
  text-transform: none;
  align-self: flex-start;
  margin-top: 24px;
  opacity: 0;
  transition: opacity 0.5s 0.42s;
}
.sheet.open .btn {
  opacity: 1;
}

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  padding: 104px 0 0;
  min-height: 100dvh;
  isolation: isolate;
  overflow: hidden;
}
.hero-stage {
  position: relative;
  min-height: calc(100dvh - 104px);
}
.hero-heading {
  position: relative;
  z-index: 2;
}
.hero-kicker {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: var(--ink-2);
}
.hero h1 {
  font-family: var(--fd);
  font-size: clamp(72px, 15.2vw, 220px);
  letter-spacing: -0.032em;
  line-height: 0.99;
  font-weight: 600;
  white-space: nowrap;
  margin-left: -0.012em;
}
.hero h1 span {
  color: var(--acc);
}
.hero-portrait {
  position: absolute;
  bottom: 0;
  right: 4%;
  width: 67%;
  /* Top edge sits below the headline so the name never runs across his face. */
  height: calc(100% - 230px);
  margin: 0;
  z-index: 0;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    #000 17%,
    #000 86%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    #000 17%,
    #000 86%,
    transparent 100%
  );
}
.hero-portrait picture,
.hero-portrait img {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-portrait img {
  object-fit: cover;
  object-position: center 20%;
  filter: grayscale(1);
  mix-blend-mode: luminosity;
}
.hero-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--bg),
    transparent 23%,
    transparent 78%,
    var(--bg)
  );
}
.hero-intro {
  position: relative;
  z-index: 3;
  padding: clamp(60px, 9vh, 100px) 0 125px;
  max-width: 290px;
}
.hero-intro p {
  font-size: clamp(23px, 2.25vw, 33px);
  line-height: 1.35;
  letter-spacing: -0.035em;
}
.hero-intro strong {
  font-weight: 500;
  color: var(--acc);
}
.hero-description {
  display: block;
  color: var(--mute);
  font-size: 13px;
  line-height: 1.8;
  margin: 22px 0 32px;
  max-width: 230px;
}
.hero-note {
  position: absolute;
  right: 0;
  bottom: 55px;
  z-index: 2;
  font-size: 12px;
  text-align: right;
  display: grid;
  gap: 5px;
}
.hero-note > span {
  color: var(--mute);
}
.hero-note > a {
  font-size: 14px;
}
.hero-note > span:last-child {
  margin-top: 15px;
}

/* ── Glance strip ─────────────────────────────────────── */
.glance {
  border-top: 1px solid var(--hair);
}
.glance .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 36px 0;
  gap: 40px;
}
.glance b {
  display: block;
  font-family: var(--fd);
  font-weight: 600;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.glance small {
  display: block;
  color: var(--mute);
  font-size: 12px;
  margin-top: 8px;
}

/* ── About ────────────────────────────────────────────── */
.about .wrap {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 80px;
}
.about .h2 {
  position: sticky;
  top: calc(var(--nav) + var(--sat) + 32px);
}
.about p:first-child {
  font-size: clamp(24px, 2.5vw, 36px);
  line-height: 1.45;
  letter-spacing: -0.035em;
  color: var(--ink);
  max-width: 62ch;
}
.about p + p {
  margin-top: 22px;
  color: var(--mute);
  font-size: 15px;
  max-width: 65ch;
}
.about .sign {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.about .sign img {
  height: 54px;
  width: auto;
  opacity: 0.92;
  filter: brightness(1.2);
}
.about .sign span {
  color: var(--mute);
  font-size: 13px;
  line-height: 1.5;
}

/* ── Services ─────────────────────────────────────────── */
.svc {
  border-top: 1px solid var(--hair);
}
.svc .row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 60px;
  padding: 32px 0;
  border-bottom: 1px solid var(--hair);
}
.svc .row::before {
  content: "";
  position: absolute;
  inset: 0 -20px;
  background: linear-gradient(90deg, rgba(159, 185, 233, 0.06), transparent 80%);
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}
.svc .row:hover::before {
  opacity: 1;
}
.svc h3 {
  font-family: var(--fb);
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 36px);
  letter-spacing: -0.035em;
  line-height: 1.2;
  transition: color 0.25s;
}
.svc .row:hover h3 {
  color: var(--acc);
}
.svc h3 small {
  display: block;
  font-size: 12px;
  color: var(--mute);
  margin-top: 13px;
  letter-spacing: 0;
  font-weight: 400;
}
.svc p {
  color: var(--ink-2);
  font-size: 14px;
  max-width: 58ch;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 16px;
}
.tag {
  font-size: 12px;
  color: var(--mute);
}

/* ── Experience ───────────────────────────────────────── */
.tl {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 38px;
}
.job {
  padding: 24px 0 0;
  border-top: 1px solid var(--hair-2);
}
.job h3 {
  font-family: var(--fb);
  font-weight: 500;
  font-size: 23px;
  line-height: 1.35;
  letter-spacing: -0.035em;
}
.job h3 span {
  display: block;
  color: var(--mute);
  font-size: 16px;
  margin-top: 10px;
}
.job .meta {
  display: block;
  color: var(--mute);
  font-size: 12px;
  margin: 8px 0 14px;
}
.job ul {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-top: 24px;
  color: var(--ink-2);
  font-size: 13px;
  max-width: 66ch;
}
.job li {
  position: relative;
  padding-left: 18px;
}
.job li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 8px;
  height: 1px;
  background: var(--dim);
}

/* ── Work ─────────────────────────────────────────────── */
.work {
  padding-top: 20px;
}
.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px 42px;
}
.project-image {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--sur-2);
  aspect-ratio: 1.4;
  border-radius: 4px;
  border: 1px solid var(--hair);
  box-shadow: none;
  transition: box-shadow 0.35s;
}
.project-image:hover {
  box-shadow: none;
}
.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  transition: transform 0.65s var(--out);
}
.project-image:hover img {
  transform: scale(1.03);
}
.project-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.12),
    transparent 40%,
    rgba(159, 185, 233, 0.08)
  );
  opacity: 0;
  transition: opacity 0.3s;
}
.project-image:hover::after {
  opacity: 1;
}
.project-open {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  font-size: 28px;
  transition:
    transform 0.25s,
    background 0.25s;
}
.project-image:hover .project-open {
  transform: rotate(-45deg);
  background: var(--acc);
}
.art-caption {
  display: block;
  font-size: 12px;
  color: var(--mute);
  margin-top: 13px;
}
.project-copy {
  padding-top: 18px;
}
.proj .kind,
.project-detail .kind {
  color: var(--acc);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.proj h3 {
  font-family: var(--fb);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.3;
  letter-spacing: -0.04em;
  margin: 10px 0 14px;
}
.proj p {
  color: var(--ink-2);
  font-size: 13px;
  max-width: 56ch;
}
.proj .out {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}
.proj .out b {
  display: block;
  font-size: 13px;
  font-weight: 500;
}
.proj .out small {
  display: block;
  font-size: 12px;
  color: var(--mute);
  margin-top: 4px;
}
.explore-project {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: 100%;
  min-height: 48px;
  padding: 20px 0 12px;
  margin-top: 20px;
  border-bottom: 1px solid var(--hair-2);
  font-size: 13px;
  transition:
    color 0.25s,
    border-color 0.25s;
}
.explore-project span {
  font-size: 23px;
  line-height: 1;
  transition: transform 0.2s;
}
.explore-project:hover {
  color: var(--acc);
  border-color: var(--acc);
}
.explore-project:hover span {
  transform: translateX(5px);
}

.product-portfolio {
  grid-column: 1 / -1;
  margin-top: 44px;
  border-top: 1px solid var(--hair-2);
}
.product-portfolio-head {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) 1.1fr;
  gap: 42px;
  align-items: end;
  padding: 42px 0 32px;
}
.product-portfolio .kind {
  color: var(--acc);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.product-portfolio-head h3 {
  margin-top: 10px;
  font-family: var(--fb);
  font-weight: 500;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -0.045em;
}
.product-portfolio-head p {
  max-width: 55ch;
  color: var(--mute);
  font-size: 13px;
}
.product-index {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--hair-2);
  border-left: 1px solid var(--hair-2);
}
.product-item {
  position: relative;
  display: grid;
  grid-template-columns: 30px 1fr;
  align-content: start;
  gap: 10px 12px;
  padding: 24px 22px 26px;
  border-right: 1px solid var(--hair-2);
  border-bottom: 1px solid var(--hair-2);
  transition: background 0.25s, color 0.25s;
}
.product-item--lead {
  grid-column: span 2;
}
.product-number {
  color: var(--dim);
  font: 12px/1.3 var(--fm);
  font-variant-numeric: tabular-nums;
}
.product-name {
  font-family: var(--fb);
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.product-desc {
  grid-column: 2 / -1;
  max-width: 38ch;
  color: var(--mute);
  font-size: 12px;
  line-height: 1.55;
  transition: color 0.25s;
}
.product-arrow {
  font-size: 20px;
  line-height: 1;
  transition: transform 0.25s;
}
.product-item:hover,
.product-item:focus-visible {
  background: var(--ink);
  color: var(--bg);
}
.product-item:hover .product-desc,
.product-item:focus-visible .product-desc {
  color: color-mix(in srgb, var(--bg) 68%, transparent);
}
.product-item:hover .product-arrow,
.product-item:focus-visible .product-arrow {
  transform: translate(3px, -3px);
}

.project-detail {
  grid-column: 1 / -1;
  border-top: 1px solid var(--hair-2);
  margin-top: -18px;
}
/* Each row is its own .work-grid item; cancel the grid's row gap between
   consecutive rows so they read as one list. */
.project-detail + .project-detail {
  margin-top: -52px;
}
.project-detail summary {
  display: grid;
  grid-template-columns: 160px 1fr 40px;
  align-items: center;
  gap: 20px;
  min-height: 48px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
}
.project-detail summary::-webkit-details-marker {
  display: none;
}
.project-detail h3 {
  font-weight: 500;
  font-size: clamp(18px, 2vw, 26px);
  letter-spacing: -0.035em;
  line-height: 1.4;
}
.expand {
  font-size: 28px;
  text-align: right;
  transition: transform 0.2s;
}
.project-detail[open] .expand {
  transform: rotate(45deg);
}
.project-detail-body {
  max-width: 700px;
  padding: 0 0 28px 180px;
  font-size: 14px;
  color: var(--mute);
}
.project-detail-body .out {
  display: flex;
  gap: 32px;
  margin-top: 18px;
}
.project-detail-body .out b,
.project-detail-body .out small {
  display: block;
  font-size: 12px;
}
.project-detail-body .out b {
  color: var(--ink-2);
  font-weight: 500;
  font-size: 13px;
}

/* ── Project dialog ───────────────────────────────────── */
#project-view {
  color: var(--ink);
  background: #141619;
  border: 1px solid var(--hair-2);
  border-radius: 6px;
  width: min(1280px, calc(100% - 64px));
  max-height: calc(100dvh - 64px);
  padding: 28px 36px;
  margin: auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.53);
}
#project-view::backdrop {
  background: rgba(5, 6, 7, 0.85);
  backdrop-filter: blur(12px);
}
.project-dialog-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--mute);
  margin-bottom: 26px;
}
.dialog-close {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 8px 0 8px 18px;
  min-height: 44px;
  color: var(--ink);
  font-size: 13px;
  transition: color 0.25s;
}
.dialog-close:hover {
  color: var(--acc);
}
.dialog-close span {
  font-size: 26px;
  line-height: 1;
}
.project-dialog-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 42px;
  align-items: center;
}
.project-dialog-visual img {
  width: 100%;
  height: auto;
  border: 1px solid var(--hair);
  border-radius: 3px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.33);
}
.project-dialog-copy h2 {
  font-family: var(--fd);
  font-weight: 600;
  font-size: clamp(38px, 4.6vw, 65px);
  letter-spacing: -0.025em;
  line-height: 1.04;
  text-transform: uppercase;
  margin: 18px 0 22px;
}
.project-dialog-copy > p {
  color: var(--mute);
  font-size: 14px;
  line-height: 1.8;
}
#project-kind {
  font-size: 12px;
  color: var(--acc);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
#project-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 28px 0;
}
#project-results b,
#project-results small {
  display: block;
}
#project-results b {
  font-size: 14px;
  font-weight: 500;
}
#project-results small {
  font-size: 12px;
  color: var(--mute);
  margin-top: 5px;
}
.project-dialog-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--hair-2);
  font-size: 12px;
  color: var(--mute);
}
.project-dialog-bottom button {
  padding: 12px 0;
  min-height: 44px;
  color: var(--ink);
  font-size: 13px;
  transition: color 0.25s;
}
.project-dialog-bottom button:hover {
  color: var(--acc);
}
.project-dialog-bottom button[disabled] {
  color: var(--dim);
  cursor: default;
}

/* ── Tools ────────────────────────────────────────────── */
.logos {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
}
.logos a {
  display: grid;
  place-items: center;
  min-height: 80px;
  transition: background 0.25s;
}
.logos a:hover {
  background: var(--sur);
}
.logos img {
  height: 30px;
  width: auto;
  opacity: 0.85;
}
.also {
  margin-top: 22px;
  color: var(--mute);
  font-size: 13px;
  max-width: 70ch;
}
.also b {
  color: var(--ink-2);
  font-weight: 500;
}

/* ── Credentials ──────────────────────────────────────── */
.cred {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: start;
}
.groups,
.side,
.edu {
  display: grid;
  gap: 14px;
}
.box {
  padding: 26px 0;
  border-top: 1px solid var(--hair-2);
}
.box h4 {
  font-family: var(--fb);
  font-weight: 500;
  font-size: 21px;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.box h4 small {
  font-size: 12px;
  color: var(--mute);
  letter-spacing: 0.1em;
  font-weight: 400;
}
.box ul {
  list-style: none;
  display: grid;
  gap: 11px;
}
.box li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: baseline;
  font-size: 13px;
}
.box li span {
  display: block;
  color: var(--mute);
  font-size: 12px;
  margin-top: 1px;
}
.box li small {
  font-size: 12px;
  color: var(--mute);
  white-space: nowrap;
}
.edu > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: baseline;
}
.edu b {
  display: block;
  font-size: 15px;
  font-weight: 500;
}
.edu span {
  display: block;
  color: var(--mute);
  font-size: 12px;
}
.edu > div > small {
  font-size: 12px;
  color: var(--mute);
  white-space: nowrap;
}
.lead {
  list-style: none;
  display: grid;
  gap: 11px;
  font-size: 13px;
  color: var(--ink-2);
}
.lead span {
  display: block;
  color: var(--mute);
  font-size: 12px;
}
.langs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

/* ── Contact ──────────────────────────────────────────── */
.contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-top: 1px solid var(--hair);
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.5;
  /* Plain url() first: if a browser cannot parse image-set() it drops the whole
     declaration, gradient and all, so the fallback has to be its own rule. */
  background:
    linear-gradient(90deg, var(--bg) 10%, rgba(16, 17, 18, 0.75)),
    url("sculpture.jpg") center / cover;
  background:
    linear-gradient(90deg, var(--bg) 10%, rgba(16, 17, 18, 0.75)),
    image-set(
        url("sculpture.webp") type("image/webp"),
        url("sculpture.jpg") type("image/jpeg")
      )
      center / cover;
}
.contact .wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.contact .h2 {
  font-size: clamp(80px, 10vw, 145px);
}
.contact .lede {
  font-size: 14px;
  margin-top: 14px;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 24px;
}
.status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acc);
}
.contacts {
  display: grid;
  margin-top: 28px;
}
.contacts a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 15px 0;
  border-bottom: 1px solid var(--hair);
  font-size: 13px;
  transition:
    color 0.3s,
    border-color 0.3s;
}
.contacts a:hover {
  color: var(--acc);
  border-color: var(--hair-2);
}
.contacts a span {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}
.contacts .whatsapp-chat {
  justify-content: center;
  justify-self: start;
  margin-top: 22px;
  padding: 14px 24px;
}
.contacts a {
  flex-wrap: wrap;
  overflow-wrap: anywhere;
}

form {
  display: grid;
  gap: 22px;
}
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.f {
  display: grid;
  gap: 7px;
}
.f label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
}
.f input,
.f textarea {
  width: 100%;
  min-height: 48px;
  padding: 13px 15px;
  border-radius: 2px;
  border: 1px solid #51565e;
  background: rgba(16, 17, 18, 0.6);
  color: var(--ink);
  font: inherit;
  /* 16px keeps iOS Safari from zooming the viewport on focus. */
  font-size: 16px;
  outline: 0;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
  -webkit-appearance: none;
  appearance: none;
}
.f textarea {
  min-height: 140px;
  resize: vertical;
}
.f input::placeholder,
.f textarea::placeholder {
  color: var(--mute);
}
.f input:focus,
.f textarea:focus {
  border-color: var(--acc);
  box-shadow: 0 0 0 4px rgba(159, 185, 233, 0.15);
}
.f .err {
  font-size: 12px;
  color: var(--bad);
  display: none;
}
.f.bad .err {
  display: block;
}
.f.bad input,
.f.bad textarea {
  border-color: var(--bad);
}
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  color: var(--mute);
  min-height: 44px;
}
.consent input {
  margin-top: 3px;
  accent-color: var(--acc);
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}
.form-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.msg {
  font-size: 13px;
  color: var(--mute);
  min-height: 1em;
}
.msg.ok {
  color: var(--acc);
}
.msg.err {
  color: var(--bad);
}
.msg a {
  color: inherit;
  text-decoration: underline;
}

/* ── Footer ───────────────────────────────────────────── */
footer {
  padding: 48px 0 calc(40px + var(--sab));
  border-top: 1px solid var(--hair);
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
footer img {
  height: 35px;
  width: auto;
  opacity: 0.9;
}
footer .fl {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
footer .fl a {
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--mute);
  min-height: 44px;
}
footer .fl a:hover {
  color: var(--ink);
}
footer .cp {
  width: 100%;
  color: var(--dim);
  font-size: 12px;
  margin-top: 8px;
}

/* ── Hero entrance ────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .hero-heading {
    animation: hero-in 1s var(--out) both;
  }
  .hero-intro {
    animation: hero-in 1s 0.15s var(--out) both;
  }
  .hero-portrait {
    animation: portrait-in 1.3s 0.1s var(--out) both;
  }
  @keyframes hero-in {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
  @keyframes portrait-in {
    from {
      opacity: 0;
      transform: scale(1.035);
    }
    to {
      opacity: 1;
      transform: scale(1);
    }
  }
}

/* ── Tablet and below ─────────────────────────────────── */
@media (max-width: 1100px) {
  .product-index {
    grid-template-columns: repeat(2, 1fr);
  }
  .wrap {
    width: calc(100% - 56px);
  }
  .nav .links {
    display: none;
  }
  .burger {
    display: block;
  }
  .hero h1 {
    font-size: 15.2vw;
  }
  .hero-portrait {
    right: -5%;
    width: 78%;
  }
  .hero-intro {
    max-width: 240px;
  }
  .hero-note {
    bottom: 30px;
  }
  .tl {
    gap: 24px;
  }
  .contact .wrap {
    gap: 40px;
  }
  .project-detail summary {
    grid-template-columns: 120px 1fr 30px;
  }
  .project-detail-body {
    padding-left: 140px;
  }
  .logos {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* ── Phone ────────────────────────────────────────────── */
@media (max-width: 767px) {
  .product-portfolio {
    margin-top: 18px;
  }
  .product-portfolio-head {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 34px 0 26px;
  }
  .product-index {
    grid-template-columns: 1fr;
  }
  .product-item--lead {
    grid-column: auto;
  }
  .product-item {
    padding: 21px 18px;
  }
  .wrap {
    width: calc(100% - 40px);
  }
  .sec {
    padding: 76px 0;
  }
  .h2 {
    font-size: 64px;
  }
  .nav .logo img {
    height: 26px;
  }
  .nav .right {
    gap: 14px;
  }
  .nav .btn {
    font-size: 12px;
    padding: 6px 12px;
  }
  .sheet a {
    font-size: 40px;
  }

  .hero {
    padding-top: 102px;
    min-height: 0;
  }
  .hero-stage {
    min-height: 740px;
  }
  .hero-kicker {
    font-size: 12px;
    letter-spacing: 0.12em;
  }
  .hero h1 {
    font-size: 14.8vw;
    line-height: 1.1;
  }
  .hero-portrait {
    width: 120%;
    right: -10%;
    height: 470px;
    bottom: 140px;
    -webkit-mask-image: linear-gradient(
      transparent,
      #000 12%,
      #000 70%,
      transparent
    );
    mask-image: linear-gradient(transparent, #000 12%, #000 70%, transparent);
  }
  .hero-portrait img {
    object-position: center top;
  }
  .hero-intro {
    position: absolute;
    bottom: 34px;
    padding: 0;
    max-width: 280px;
  }
  .hero-intro p {
    font-size: 28px;
  }
  .hero-description,
  .hero-note {
    display: none;
  }
  .hero-intro .text-link {
    margin-top: 18px;
    gap: 70px;
  }

  .glance .wrap {
    grid-template-columns: 1fr 1fr;
    gap: 30px 20px;
    padding: 28px 0;
  }
  .glance b {
    font-size: 38px;
  }
  .glance small {
    max-width: 145px;
  }

  .about .wrap {
    display: block;
  }
  .about .h2 {
    position: static;
    margin-bottom: 32px;
  }
  .about p:first-child {
    font-size: 25px;
  }
  .about p + p {
    font-size: 14px;
  }
  .about .sign {
    align-items: flex-start;
  }
  .about .sign img {
    height: 38px;
  }
  .about .sign span {
    font-size: 12px;
  }

  .svc .row {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 28px 0;
  }
  .svc h3 {
    font-size: 26px;
  }
  .svc h3 small {
    margin-top: 8px;
  }
  .svc p {
    font-size: 13px;
  }

  .tl {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .job {
    padding-top: 22px;
  }
  .job h3 {
    font-size: 24px;
  }
  .job ul {
    margin-top: 16px;
  }

  .work-grid {
    display: block;
  }
  .featured {
    margin-bottom: 48px;
  }
  .project-image {
    aspect-ratio: 1.3;
  }
  .project-open {
    width: 42px;
    height: 42px;
  }
  .proj h3 {
    font-size: 24px;
  }
  .project-detail,
  .project-detail + .project-detail {
    margin-top: 0;
  }
  .project-detail summary {
    grid-template-columns: 1fr 28px;
    gap: 8px;
    padding: 22px 0;
  }
  .project-detail .kind,
  .project-detail h3 {
    grid-column: 1;
  }
  .project-detail h3 {
    font-size: 20px;
  }
  .expand {
    grid-column: 2;
    grid-row: 1 / 3;
  }
  .project-detail-body {
    padding: 0 0 24px;
    font-size: 13px;
  }

  #project-view {
    width: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
    padding: 16px 20px;
  }
  .project-dialog-bar {
    margin-bottom: 18px;
  }
  .project-dialog-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .project-dialog-copy h2 {
    font-size: 38px;
    margin: 12px 0 18px;
  }
  .project-dialog-copy > p {
    font-size: 13px;
  }
  .project-dialog-bottom {
    gap: 8px;
    flex-wrap: wrap;
  }
  .project-dialog-bottom button {
    max-width: 140px;
    text-align: left;
  }

  .logos a {
    min-height: 65px;
  }
  .logos img {
    height: 24px;
  }

  .cred {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .box {
    padding: 23px 0;
  }

  .contact .wrap {
    grid-template-columns: 1fr;
    gap: 46px;
  }
  .contact .h2 {
    font-size: 92px;
  }

  footer .wrap {
    gap: 22px;
  }
  footer .fl a {
    font-size: 12px;
    padding: 8px;
  }
}

/* ── Small phone ──────────────────────────────────────── */
@media (max-width: 360px) {
  /* The eyebrow cannot fit 280px on one line at 12px, and 12px is the floor,
     so let it break into two balanced lines rather than shrink. */
  .hero-kicker {
    letter-spacing: 0.08em;
    text-wrap: balance;
  }
  .hero-stage {
    min-height: 720px;
  }
  .hero h1 {
    font-size: 14.6vw;
  }
  .hero-portrait {
    height: 410px;
  }
  .hero-intro p {
    font-size: 25px;
  }
  .contact .row {
    grid-template-columns: 1fr;
  }
}

/* ── Reduced motion ───────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .rv,
  .motion-ready .rv:not(.in) {
    opacity: 1;
    transform: none;
  }
  .project-image img {
    transform: none !important;
  }
  #project-view::backdrop {
    backdrop-filter: none;
  }
}

/* Creative motion: typography leads, images respond to the viewer. */
.hero h1 .name-word { display: inline-block; color: var(--ink); }
.hero h1 .name-stop { color: var(--acc); }
.creative-ribbon { padding: 28px 0 20px; border-block: 1px solid var(--hair-2); }
.ribbon-window { overflow: hidden; }
.ribbon-track { display: flex; width: max-content; }
.ribbon-track p { flex: none; padding-right: 48px; font: 600 clamp(32px, 5vw, 72px)/1.2 var(--fd); text-transform: uppercase; letter-spacing: -.02em; }
.ribbon-track span { display: inline-block; margin: 0 24px; color: var(--acc); }
.motion-toggle { display: block; margin: 16px 28px 0 auto; padding: 8px 12px; min-height: 44px; border: 1px solid var(--hair-2); border-radius: 3px; background: transparent; color: var(--ink-2); font: 12px var(--fb); cursor: pointer; }
.motion-toggle[hidden] { display: none; }
.motion-toggle:hover { border-color: var(--acc); color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .hero-heading { animation: none; }
  .hero .name-word { animation: name-arrive 1.1s var(--out) both; }
  .hero .name-word:nth-child(2) { animation-delay: .13s; }
  .motion-enabled .ribbon-track { animation: capabilities-travel 28s linear infinite; }
  .creative-ribbon:hover .ribbon-track, .creative-ribbon:focus-within .ribbon-track,
  .motion-paused .ribbon-track { animation-play-state: paused; }
  .project-image { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .45s var(--out), box-shadow .35s; }
  .btn { box-shadow: 0 4px 0 #08090a; }
  .btn:active { box-shadow: 0 1px 0 #08090a; transform: translateY(3px); }
  @keyframes name-arrive { from { opacity: 0; transform: translateY(55px) rotateX(-35deg); } to { opacity: 1; transform: none; } }
  @keyframes capabilities-travel { to { transform: translateX(-50%); } }
  @supports (animation-timeline: view()) {
    .hero-portrait picture { animation: portrait-depth linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
    @keyframes portrait-depth { to { transform: translateY(48px) scale(1.06); } }
  }
}
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation-play-state: paused !important; }
.motion-paused .project-image { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .ribbon-track { width: auto; }
  .ribbon-track p { white-space: normal; padding: 0 24px; font-size: 32px; }
  .ribbon-track p[aria-hidden] { display: none; }
}

/* Cinematic tools reel: widescreen frames, sprocket edges and a seamless loop. */
.logos {
  --film-hole: rgba(238, 240, 244, 0.23);
  position: relative;
  display: block;
  overflow: hidden;
  padding-block: 30px;
  border-block: 1px solid var(--hair-2);
  background:
    linear-gradient(90deg, rgba(255,255,255,.018), transparent 24%, transparent 76%, rgba(255,255,255,.018)),
    #0b0c0d;
  white-space: nowrap;
  isolation: isolate;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.logos::before,
.logos::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  height: 11px;
  pointer-events: none;
  background: repeating-linear-gradient(
    90deg,
    transparent 0 12px,
    var(--film-hole) 12px 27px,
    transparent 27px 39px
  );
  opacity: .72;
}
.logos::before { top: 8px; }
.logos::after { bottom: 8px; }
.tools-track {
  position: relative;
  z-index: 1;
  display: flex;
  width: max-content;
  will-change: transform;
}
.tools-group {
  display: flex;
  flex: none;
  counter-reset: tool-frame;
}
.logos > a {
  display: inline-grid;
  vertical-align: top;
}
.logos a {
  counter-increment: tool-frame;
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 clamp(190px, 20vw, 278px);
  width: clamp(190px, 20vw, 278px);
  min-height: 142px;
  margin-right: 8px;
  border: 1px solid rgba(238, 240, 244, 0.12);
  background:
    radial-gradient(circle at 50% 28%, rgba(159, 185, 233, .09), transparent 44%),
    linear-gradient(145deg, #111315, #0b0c0d);
  box-shadow: inset 0 0 28px rgba(0, 0, 0, .34);
  transition:
    background 220ms ease,
    border-color 220ms ease,
    transform 220ms var(--out);
}
.logos a::before {
  content: counter(tool-frame, decimal-leading-zero);
  position: absolute;
  top: 13px;
  left: 15px;
  color: var(--dim);
  font: 10px/1 var(--fm);
  letter-spacing: .12em;
  pointer-events: none;
}
.logos a::after {
  content: attr(aria-label);
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--acc);
  font: 500 11px/1.2 var(--fb);
  letter-spacing: .035em;
  white-space: nowrap;
  pointer-events: none;
  transition: color 220ms ease;
}
.logos img {
  height: 38px;
  width: auto;
  opacity: .82;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, .45));
  transform: translateY(-7px);
  transition: opacity 220ms ease, transform 220ms var(--out);
}
.logos a:hover,
.logos a:focus-visible {
  z-index: 2;
  border-color: rgba(159, 185, 233, .55);
  background:
    radial-gradient(circle at 50% 28%, rgba(159, 185, 233, .18), transparent 48%),
    linear-gradient(145deg, #15181c, #0c0d0f);
  transform: translateY(-3px);
}
.logos a:hover img,
.logos a:focus-visible img {
  opacity: 1;
  transform: translateY(-9px) scale(1.08);
}
.logos a:hover::after,
.logos a:focus-visible::after { color: var(--ink); }
.tools-motion-toggle { margin-right: 0; }
@media (prefers-reduced-motion: no-preference) {
  .motion-enabled .tools-track {
    animation: tools-filmstrip 44s linear infinite;
    animation-play-state: paused;
  }
  .motion-enabled .tools-visible .tools-track { animation-play-state: running; }
  .motion-enabled .logos:hover .tools-track,
  .motion-enabled .logos:focus-within .tools-track { animation-play-state: paused; }
  @keyframes tools-filmstrip {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
  }
}
@media (max-width: 767px) {
  .logos {
    margin-inline: -20px;
    padding-block: 27px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  }
  .logos a {
    flex-basis: 180px;
    width: 180px;
    min-height: 125px;
  }
  .logos img { height: 31px; }
}
@media (prefers-reduced-motion: reduce) {
  .logos { overflow-x: auto; mask-image: none; -webkit-mask-image: none; }
  .tools-track { width: max-content; }
  .tools-group { display: flex; width: auto; }
  .tools-group[aria-hidden] { display: none; }
}

/* Editorial finishing: quiet navigation, measured type and a consistent rhythm. */
.creative-ribbon {
  padding: 26px 0;
  border-bottom: 0;
}
.creative-ribbon .ribbon-track {
  width: min(1400px, calc(100% - 96px));
  margin-inline: auto;
  animation: none;
}
.creative-ribbon .ribbon-track p {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 0;
  font: 500 clamp(12px, 1.1vw, 14px)/1.5 var(--fb);
  letter-spacing: .13em;
  white-space: normal;
}
.creative-ribbon .ribbon-track span { margin: 0; color: var(--mute); }
.text-link { min-height: 44px; letter-spacing: .025em; }
.text-link:hover { color: var(--acc); border-color: var(--acc); }
.explore-project { justify-content: flex-start; letter-spacing: .035em; }
.proj h3, .project-detail h3, .product-name { text-wrap: balance; }
.proj p { font-size: 14px; line-height: 1.8; text-wrap: pretty; }
.product-portfolio-head h3 { line-height: 1.12; }
.product-item { gap: 10px 14px; }
.product-desc { font-size: 13px; line-height: 1.65; }
.product-number { padding-top: 4px; }
.product-item:hover, .product-item:focus-visible { background: var(--sur); color: var(--ink); }
.product-item:hover .product-desc, .product-item:focus-visible .product-desc { color: var(--ink-2); }
.project-detail summary { padding-block: 22px; }
.motion-enabled .project-image { transform: none; }
.motion-toggle { border: 0; border-bottom: 1px solid var(--hair-2); border-radius: 0; padding-inline: 0; color: var(--mute); }
.btn { box-shadow: none; }
.btn:active { box-shadow: none; transform: translateY(1px); }
@media (max-width: 767px) {
  .h2 { font-size: clamp(42px, 10vw, 64px); }
  .creative-ribbon .ribbon-track { width: calc(100% - 40px); }
  .creative-ribbon .ribbon-track p { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
  .project-detail summary { padding-block: 18px; }
}
