/* =========================================================
   Solid Core Digital — Work page
   Loads after styles.css (global tokens, header, footer, buttons).
   Desktop values are 1:1 with the Figma "work page" frame (1440px).
   Breakpoints follow the homepage: 1439 / 1279 / 1199 / 1100 / 1023 / 860 / 767 / 479
   ========================================================= */

/* ---------- Header: current page state ---------- */
.site-nav > a.is-current { color: var(--blue-600); font-weight: 700; }
.site-nav > a.is-current::after {
  left: 8.37px; right: auto; width: 42px; height: 1px; bottom: 4.5px; border-radius: 0;
  background: var(--blue-600); transform: scaleX(1);
}
.site-nav > a.is-current:hover::after { transform: scaleX(1); }

/* =========================================================
   HERO
   ========================================================= */
.whero { position: relative; overflow: hidden; background: #01020a; color: #fff; }
.whero__inner {
  position: relative; max-width: 1440px; min-height: 744px; margin-inline: auto;
  display: grid; grid-template-columns: 512px minmax(0, 1fr); column-gap: 51px; align-items: start;
  padding: 177px 71px 36.06px 108px;
}
.whero__copy { grid-column: 1; grid-row: 1; min-height: 412px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.whero__eyebrow { gap: 7px; letter-spacing: 2.88px; margin-bottom: 28px; }
.whero__title {
  width: 100%; margin-bottom: 20px;
  font-family: var(--f-body); font-weight: 800; font-size: 65px; line-height: 62px; letter-spacing: -1.86px; color: #fff;
}
.whero__title .grad-text { padding-bottom: 0; }
.whero__title-end { display: block; }
.whero__lead { max-width: 576px; margin-bottom: 9px; font-weight: 500; font-size: 18px; line-height: 28px; color: var(--text-soft); }

.scroll-cue { display: inline-flex; align-items: center; }
.scroll-cue__icon {
  width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: #fff; border: 1px solid rgba(51, 65, 85, .8);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  transition: transform .45s var(--ease-spring), box-shadow .3s;
}
.scroll-cue__icon img { animation: cueNudge 2.6s var(--ease-out) infinite; }
.scroll-cue__label { padding-left: 16px; font-weight: 600; font-size: 14px; line-height: 16.5px; letter-spacing: 2.42px; text-transform: uppercase; color: var(--text-soft); white-space: nowrap; transition: color .25s; }
.scroll-cue:hover .scroll-cue__icon { transform: translateY(2px); box-shadow: 0 0 0 6px rgba(59, 130, 246, .2); }
.scroll-cue:hover .scroll-cue__label { color: #fff; }
@keyframes cueNudge { 0%, 55%, 100% { transform: translateY(0); } 25% { transform: translateY(2.5px); } }

.whero__visual { grid-column: 2; grid-row: 1 / span 2; margin-top: 62px; min-width: 0; }
.whero__pillars { grid-column: 1 / -1; grid-row: 2; margin-top: 21px; }

/* ---------- 3D floating project cards ---------- */
/* The stage is drawn at the Figma size (698 x 362) and scaled to fit by work.js (--s). */
.showcase { --s: 1; position: relative; width: 100%; max-width: 698px; aspect-ratio: 698 / 362; }
.showcase__stage {
  --px: 0; --py: 0;
  position: absolute; left: 0; top: 0; width: 698px; height: 362px;
  transform: scale(var(--s)); transform-origin: 0 0;
}

.sc-wrap {
  position: absolute; display: flex; align-items: center; justify-content: center;
  transform: translate3d(calc(var(--px) * var(--d, 1) * 10px), calc(var(--py) * var(--d, 1) * 8px), 0);
  transition: transform .7s var(--ease-out);
}
.sc-wrap--3 { left: 0; top: 0; width: 272.683px; height: 355.168px; --d: .45; }
.sc-wrap--1 { left: 220px; top: 4px; width: 277.085px; height: 357.623px; --d: .75; }
.sc-wrap--2 { left: 420px; top: 4px; width: 277.491px; height: 357.016px; --d: 1; }

.sc-card {
  flex: none; position: relative; display: block; overflow: hidden; color: #fff;
  border: 1px solid var(--blue-600); border-radius: 16px;
  transition: box-shadow .5s var(--ease-out), border-color .4s, filter .5s;
}
.sc-card--3 {
  width: 270.005px; height: 359.995px; opacity: .85;
  background: linear-gradient(180deg, #0b101b 0%, #020306 100%);
  box-shadow: -15px 25px 45px 0 rgba(0, 0, 0, .85);
  rotate: -0.22deg; scale: .92 .98; transform: skewX(-4.06deg);
}
.sc-card--1 {
  width: 269.996px; height: 359.995px;
  background: linear-gradient(180deg, #131b2c 0%, #090d16 50%, #04060b 100%);
  box-shadow: -15px 25px 45px 0 rgba(0, 0, 0, .8), 0 0 30px 0 rgba(30, 107, 255, .15);
  rotate: .5deg; scale: .95 .99; transform: skewX(-2.88deg);
}
.sc-card--2 {
  width: 270.004px; height: 359.997px;
  background: linear-gradient(180deg, #0e1624 0%, #080b13 50%, #030509 100%);
  box-shadow: -15px 25px 45px 0 rgba(0, 0, 0, .8), 0 0 25px 0 rgba(30, 107, 255, .1);
  rotate: .55deg; scale: .94 .99; transform: skewX(-3.46deg);
}
.sc-card:hover, .sc-card:focus-visible { border-color: var(--blue-500); filter: brightness(1.08); }
.sc-card--2:hover { box-shadow: -15px 25px 45px 0 rgba(0, 0, 0, .8), 0 0 36px 0 rgba(30, 107, 255, .35); }
.sc-card--1:hover { box-shadow: -15px 25px 45px 0 rgba(0, 0, 0, .8), 0 0 36px 0 rgba(30, 107, 255, .35); }

.sc-card__count { position: absolute; top: 24px; right: 24.01px; font-family: "Liberation Mono", ui-monospace, Menlo, Consolas, monospace; font-size: 11px; line-height: 16px; color: var(--slate-600); }

/* positioned wrappers + skewed content (values from Figma) */
.sc-pill-wrap, .sc-txt, .sc-art { position: absolute; display: flex; align-items: center; justify-content: center; }
.sc-pill-wrap > *, .sc-txt > *, .sc-art > * { flex: none; }

.sc-pill-wrap--3 { left: 13.77px; top: 12.06px; width: 169.986px; height: 27.831px; }
.sc-pill-wrap--3 .sc-pill { rotate: .82deg; scale: 1.09 1.02; transform: skewX(4.22deg); }
.sc-pill-wrap--1 { left: 13.75px; top: 12.69px; width: 164.807px; height: 26.682px; }
.sc-pill-wrap--1 .sc-pill { rotate: .48deg; scale: 1.05 1.01; transform: skewX(2.96deg); }
.sc-pill-wrap--2 { left: 23.63px; top: 16.49px; width: 166.717px; height: 31.086px; }
.sc-pill-wrap--2 .sc-pill { rotate: 1.98deg; scale: 1.07 1.01; transform: skewX(3.42deg); }
.sc-pill {
  display: flex; align-items: center; gap: 6px; width: 155.19px; height: 25px; padding: 0 17px;
  border-radius: 99px; border: 1px solid rgba(51, 65, 85, .6); background: var(--grad);
  font-family: var(--f-body); font-weight: 700; font-size: 10px; line-height: 16px; color: #e2e8f0; white-space: nowrap;
}
.sc-pill img { flex: none; transition: transform .35s var(--ease-out); }
.sc-card:hover .sc-pill img { transform: translate(1.5px, -1.5px); }

.sc-txt--1t { left: 22.05px; top: 37.33px; width: 189.858px; height: 55.657px; }
.sc-txt--1s { left: 23.21px; top: 87.94px; width: 189.201px; height: 37.478px; }
.sc-txt--1t > *, .sc-txt--1s > * { rotate: 1.26deg; scale: 1.05 1.01; transform: skewX(3.33deg); }
.sc-txt--2t { left: 25.03px; top: 58.66px; width: 192.463px; height: 28.946px; }
.sc-txt--2s { left: 26.1px; top: 92.15px; width: 224.983px; height: 22.658px; }
.sc-txt--2t > *, .sc-txt--2s > * { rotate: 1.39deg; scale: 1.06 1.01; transform: skewX(2.93deg); }
.sc-txt--3t { left: 59.71px; top: 32.03px; width: 174.01px; height: 61.94px; z-index: 2; pointer-events: none; }
.sc-txt--3s { left: 55px; top: 94px; width: 173.834px; height: 22.084px; z-index: 2; pointer-events: none; }
.sc-txt--3t > *, .sc-txt--3s > * { rotate: 1.7deg; scale: .96 1; transform: skewX(1.44deg); }
.sc-txt--3t, .sc-txt--3s { transform: translate3d(calc(var(--px) * .45 * 10px), calc(var(--py) * .45 * 8px), 0); transition: transform .7s var(--ease-out); }

.sc-title { display: block; font-family: var(--f-body); font-weight: 800; font-size: 16px; line-height: 24px; letter-spacing: -.4px; color: #fff; }
.sc-title--alder { width: 179.108px; font-weight: 700; line-height: 25.5px; letter-spacing: -.425px; }
.sc-title--trench { width: 181.113px; }
.sc-title--panel { width: 181.108px; padding-top: 9.005px; white-space: nowrap; }
.sc-title--panel b { font-weight: 700; }
.sc-sub { display: block; font-family: var(--f-body); font-weight: 500; font-size: 11px; line-height: 16.5px; color: var(--text-soft); }
.sc-sub--alder { width: 179.108px; }
.sc-sub--trench { white-space: nowrap; }
.sc-sub--panel { width: 181.108px; }

.sc-art--3 { left: -.99px; right: 11.3px; bottom: 16.05px; height: 225.538px; }
.sc-art--3 .sc-art__in { width: 251.35px; height: 219.21px; rotate: 1.46deg; transform: skewX(-.22deg); }
.sc-art--1 { left: -2.27px; right: 11.99px; bottom: 5.93px; height: 227.401px; }
.sc-art--1 .sc-art__in { width: 248.956px; height: 222.894px; rotate: 1.08deg; transform: skewX(-1.33deg); }
.sc-art--2 { left: 6.45px; right: 7.71px; bottom: 5.14px; height: 222.942px; }
.sc-art--2 .sc-art__in { width: 249.069px; height: 220.632px; rotate: .54deg; transform: skewX(-.7deg); }
.sc-art__in { position: relative; overflow: hidden; display: block; }
.sc-art__in img { position: absolute; width: 100%; max-width: none; transition: transform 1.2s var(--ease-out); }
.sc-art--3 img { height: 556.99%; left: .29%; top: -.22%; }
.sc-art--2 img { height: auto; left: .29%; top: -.22%; }
.sc-art--1 img { height: 342.68%; left: -.63%; top: -.28%; }

/* gentle idle float (independent `translate` so it composes with the pointer parallax) */
.sc-wrap--3 { animation: scFloat 9s ease-in-out infinite; }
.sc-wrap--1 { animation: scFloat 10s ease-in-out -3s infinite; }
.sc-wrap--2 { animation: scFloat 8.5s ease-in-out -5.5s infinite; }
@keyframes scFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }

/* =========================================================
   SELECTED WORK (project grid)
   ========================================================= */
.projects { position: relative; overflow: hidden; padding: 66px 0 67.75px; background: #eef4fd; }
.projects__bg { position: absolute; inset: 0; pointer-events: none; }
.projects__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.projects__inner { position: relative; max-width: calc(1160px + 48px); margin-inline: auto; padding-inline: 24px; }

.projects__head .eyebrow { margin-bottom: 15px; }
.projects__title { max-width: 702px; margin-bottom: 15px; font-family: var(--f-display); font-weight: 700; font-size: 48px; line-height: 60px; letter-spacing: -1.5px; color: var(--ink); }
.projects__title .grad-text { padding-bottom: 0; }
.projects__title .l1 { display: inline-block; }
.projects__lead { max-width: 634px; }

.proj-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 564px)); justify-content: center; column-gap: 32px; row-gap: 31.84px; margin-top: 42px; }
.proj {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; min-height: 652.25px;
  padding: 75.5px 32px 32px; border-radius: 32px;
  background: #dae2ec; border: 1px solid rgba(255, 255, 255, .6);
  box-shadow: 0 12px 30px -6px rgba(15, 23, 42, .1);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.proj:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(15, 23, 42, .3); }

.proj__mock { position: relative; width: 100%; aspect-ratio: 498 / 294.45; border-radius: 14px; overflow: hidden; background: #000; isolation: isolate; }
.proj__mock::after { content: ""; position: absolute; inset: 0; z-index: 2; border: 1px solid #27272a; border-radius: inherit; pointer-events: none; }
.proj__shot { position: absolute; inset: 0; background: #000; }
.proj__shot--inset { bottom: auto; height: 97.64%; }

.proj__pill { position: absolute; left: 32px; top: 51.9px; z-index: 3; padding: 6px 12px; }
.proj--right .proj__pill { left: 39px; top: 53.8px; }
.proj--right .proj__desc { max-width: 486px; }

.proj__title { margin-top: 24px; font-family: var(--f-body); font-weight: 700; font-size: 24px; line-height: 32px; color: var(--ink); }
.proj__desc { margin-top: 11.3px; font-weight: 400; font-size: 16px; line-height: 23px; color: var(--ink); }
.proj__link { margin-top: 22.5px; margin-bottom: 35.5px; }
.proj__tags { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.proj__tags li {
  padding: 4px 12px; border-radius: 9999px; background: #fff; border: 1px solid #e2e8f0;
  font-weight: 500; font-size: 14px; line-height: 16px; color: var(--slate-700); white-space: nowrap;
}

/* =========================================================
   LET'S TALK
   ========================================================= */
.wtalk { position: relative; overflow: hidden; background: #020a1d; color: #fff; isolation: isolate; }
.wtalk__bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("../img/process-bg.webp") no-repeat;
  background-size: max(101.53%, 1462px) auto; background-position: 92.6% 93.3%;
}
.wtalk__inner { position: relative; max-width: 1440px; min-height: 626px; margin-inline: auto; padding: 129px 24px 40px; display: flex; flex-direction: column; align-items: center; }
.wtalk__center { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; }
.wtalk__tracker { padding-bottom: 0; margin-bottom: 25px; gap: 13px; letter-spacing: 2.8px; }
.wtalk__tracker span { width: 25px; background: rgba(36, 123, 255, .45); }
.wtalk__title { display: flex; flex-direction: column; align-items: center; margin-bottom: 35px; font-family: var(--f-display); font-weight: 700; font-size: 48px; line-height: 60px; letter-spacing: -1.5px; color: #fff; }
.wtalk__title .grad-text { padding-bottom: 0; }
.wtalk__sub { margin-bottom: 36px; font-weight: 500; font-size: 18px; line-height: 28px; color: var(--text-soft); }
.wtalk__btn { height: 52px; padding: 0 28px; gap: 10px; font-weight: 600; font-size: 17px; line-height: 20px; }

.wtalk__cards { position: absolute; inset: 0; pointer-events: none; }
.wcard { position: absolute; z-index: 1; pointer-events: auto; animation: bob 7s ease-in-out infinite; }
.wcard--1 { left: calc(50% - 563.6px); top: 139.5px; --rot: -6deg; }
.wcard--2 { left: calc(50% - 563.5px); top: 372.3px; --rot: -6deg; animation-delay: -3.5s; }
.wcard--3 { left: calc(50% + 372.7px); top: 134.9px; --rot: 7deg; animation-delay: -1.8s; }
.wcard--4 { left: calc(50% + 354.8px); top: 369.3px; --rot: 5deg; animation-delay: -5.2s; }
.wcard__box {
  position: relative; width: 190px; height: 190px; padding: 21px; border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  border: 1px solid var(--blue-600);
  background: var(--glass-dark); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 15px 35px 0 rgba(0, 0, 0, .6), inset 0 1px 1px 0 rgba(255, 255, 255, .15), inset 0 0 0 6px rgba(255, 255, 255, .03);
  transform: rotate(var(--rot));
  transition: transform .6s var(--ease-out), box-shadow .5s;
}
.wcard--4 .wcard__box { width: 185px; height: 185px; }
.wcard:hover .wcard__box { transform: rotate(0deg) scale(1.04); box-shadow: 0 22px 44px 0 rgba(0, 0, 0, .65), 0 0 30px -6px rgba(37, 99, 235, .7); }
.wcard__icon { position: relative; width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; background: #2564eb; border: 1px solid rgba(56, 189, 248, .3); }
.wcard h3 { position: relative; margin-bottom: 4px; font-weight: 700; font-size: 16px; line-height: 24px; letter-spacing: -.4px; color: #fff; }
.wcard--2 h3 { line-height: 22px; }
.wcard p { position: relative; font-size: 12px; line-height: 16px; color: var(--text-soft); }

/* =========================================================
   FOOTER (page-specific legal line from the Figma)
   ========================================================= */
.footer-brand > .footer-motto { margin-top: 43.5px; font-weight: 400; font-size: 12px; line-height: 18.281px; }
.footer-legal { font-size: 15.75px; }
.footer-legal__sep { margin: 0 8px 0 6px; }
.footer-legal a { color: var(--blue-500); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color .25s; }
.footer-legal a:hover { color: #60a5fa; }

/* =========================================================
   MOTION PREFERENCES
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .sc-wrap, .wcard, .scroll-cue__icon img { animation: none !important; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* ---- ≥1200: Figma centres the heading copy 8px left of the button ---- */
@media (min-width: 1200px) {
  .projects__title .l1 { translate: -4px 0; }
  .wtalk__title, .wtalk__sub { translate: -12px 0; }
}

/* ---- 1441+ wide screens: keep the moon in frame ---- */
@media (min-width: 1441px) {
  .wtalk__bg { background-position: 92.6% 84%; }
}
@media (min-width: 1700px) {
  .wtalk__bg { background-position: 92.6% 80%; }
}

/* ---- ≤1439: keep the 1440 composition, tighten gutters ---- */
@media (max-width: 1439px) {
  .whero__inner { padding-left: clamp(24px, 7.5vw, 108px); padding-right: clamp(24px, 4.93vw, 71px); column-gap: clamp(28px, 3.54vw, 51px); }
}

/* ---- ≤1279: laptop ---- */
@media (max-width: 1279px) {
  .whero__inner { grid-template-columns: minmax(0, 512px) minmax(0, 1fr); padding-right: 32px; }
  .whero__title { font-size: clamp(50px, 5.1vw, 65px); line-height: .955; letter-spacing: -1.6px; }
  .whero__visual { margin-top: clamp(24px, 4.8vw, 62px); }
  .proj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; row-gap: 28px; }
  .proj { min-height: 0; }
}

/* ---- ≤1199: floating cards go into the flow ---- */
@media (max-width: 1199px) {
  .wtalk__bg { background-size: cover; background-position: 50% 100%; }
  .wtalk__inner { min-height: 0; padding: 112px 24px 96px; }
  .wtalk::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 70%; z-index: -1; pointer-events: none;
    background: linear-gradient(180deg, rgba(2, 10, 29, .7) 0%, rgba(2, 10, 29, .45) 60%, rgba(2, 10, 29, 0) 100%); }
  .wtalk__cards { position: static; display: grid; grid-template-columns: repeat(4, auto); justify-content: center; gap: 28px; margin-top: 64px; }
  .wcard { position: relative; left: auto; top: auto; }
  .wcard--4 { align-self: center; }
}

/* ---- ≤1100: stack the hero ---- */
@media (max-width: 1100px) {
  /* tall section: crop the dark top wave of the artwork so the heading stays on the light area */
  .projects__bg img { position: absolute; left: 0; top: -8%; height: 108%; }
  .whero__inner { min-height: 0; grid-template-columns: minmax(0, 1fr); padding: 150px 40px 72px; }
  .whero__copy { min-height: 0; max-width: 720px; }
  .whero__title { font-size: clamp(46px, 6.6vw, 65px); line-height: .955; }
  .whero__pillars { grid-row: 2; margin-top: 36px; }
  .whero__visual { grid-column: 1; grid-row: 3; margin: 56px auto 0; width: 100%; max-width: 698px; }
  .proj { padding-inline: 24px; }
  .proj__pill { left: 24px; }
  .proj--right .proj__pill { left: 30px; }
}

/* ---- ≤1023: tablet ---- */
@media (max-width: 1023px) {
  .projects__title { font-size: 40px; line-height: 50px; letter-spacing: -1.2px; }
  .proj__title { font-size: 22px; line-height: 30px; }
  .proj__desc { font-size: 16px; line-height: 23px; }
  .wtalk__title { font-size: 40px; line-height: 50px; letter-spacing: -1.2px; }
}

/* ---- ≤899: talk cards 2 × 2 ---- */
@media (max-width: 899px) {
  .wtalk__cards { grid-template-columns: repeat(2, auto); column-gap: 40px; row-gap: 32px; }
}

/* ---- ≤860: single-column project list ---- */
@media (max-width: 860px) {
  .site-nav > a.is-current { color: #60a5fa; }
  .proj-grid { grid-template-columns: minmax(0, 1fr); max-width: 600px; margin-inline: auto; }
}

/* ---- ≤767: mobile ---- */
@media (max-width: 767px) {
  .whero__inner { padding: 116px 20px 56px; }
  .whero__eyebrow { margin-bottom: 20px; font-size: 13px; letter-spacing: 2.4px; }
  .whero__title { font-size: clamp(38px, 11vw, 52px); line-height: 1.02; letter-spacing: -1.2px; margin-bottom: 18px; }
  .whero__lead { font-size: 16px; line-height: 26px; margin-bottom: 22px; }
  .scroll-cue__label { font-size: 13px; letter-spacing: 2px; }
  .whero__pillars { margin-top: 32px; }
  .whero__visual { margin: 40px -10px 0; width: auto; }

  .projects { padding: 56px 0 64px; }
  .projects__inner { padding-inline: 20px; }
  .projects__head .eyebrow { margin-bottom: 14px; }
  .projects__title { font-size: 34px; line-height: 42px; letter-spacing: -1px; margin-bottom: 14px; }
  .proj-grid { margin-top: 36px; row-gap: 24px; }
  .proj { padding: 60px 16px 24px; border-radius: 24px; }
  .proj__mock { border-radius: 12px; }
  .proj__pill, .proj--right .proj__pill { left: 16px; top: 37px; }
  .proj__title { margin-top: 20px; font-size: 21px; line-height: 28px; }
  .proj__desc { margin-top: 8px; font-size: 15px; line-height: 22px; }
  .proj__link { margin-top: 16px; margin-bottom: 24px; font-size: 16px; }
  .proj__tags li { font-size: 13px; padding: 4px 11px; }

  .wtalk__bg { background-image: url("../img/process-bg-mobile.webp"); background-position: 50% 100%; }
  .wtalk__inner { padding: 80px 20px 72px; }
  .wtalk__tracker { margin-bottom: 22px; }
  .wtalk__title { font-size: 34px; line-height: 42px; letter-spacing: -1px; margin-bottom: 20px; }
  .wtalk__sub { font-size: 16px; line-height: 24px; margin-bottom: 28px; }
  .wtalk__btn { font-size: 16px; }
  .wtalk__cards { grid-template-columns: repeat(2, minmax(0, 160px)); column-gap: 22px; row-gap: 34px; margin-top: 52px; }
  .wcard__box, .wcard--4 .wcard__box { width: 100%; height: auto; aspect-ratio: 1; padding: 16px; }
  .wcard__icon { width: 34px; height: 34px; }
  .wcard h3 { font-size: 15px; line-height: 21px; }
  .wcard--2 h3 { line-height: 20px; }
  .wcard p { font-size: 11.5px; }
}

/* ---- ≤479: small phones ---- */
@media (max-width: 479px) {
  .projects__title { font-size: 30px; line-height: 38px; }
  .wtalk__title { font-size: 30px; line-height: 38px; }
  .wtalk__btn { width: 100%; max-width: 340px; }
  .wtalk__cards { column-gap: 14px; }
}
