/* ═══════════════════════════════════════
   PROLENS DESIGN SYSTEM — TOKENS
═══════════════════════════════════════ */
@font-face {
  font-family: 'Geist';
  src: url('fonts/Geist-VariableFont_wght.ttf') format('truetype-variations'),
       url('fonts/Geist-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --midnight-black: #000000;
  --pure-white:     #ffffff;
  --medium-gray:    #3b3b3b;
  --mute-gray:      #8d9499;
  --border-gray:    #c1c8c9;
  --surface-soft:   #f5f5f3;
  --surface-warm:   #ebe7df;

  --role-blue:   #58bcd8;
  --role-lime:   #daea56;
  --role-purple: #a875d0;
  --role-accent: #daea56;

  --shadow-btn:  1px 1px 0 rgba(0,0,0,0.15);
  --shadow-card: 0 1px 2px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.04);

  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   30px;
  --radius-full: 9999px;

  /* Type scale */
  --fs-display: 96px;  --lh-display: 1.02; --ls-display: -0.04em;
  --fs-h1:      72px;  --lh-h1:      1.05; --ls-h1:      -0.036em;
  --fs-h2:      56px;  --lh-h2:      1.08; --ls-h2:      -0.032em;
  --fs-h3:      40px;  --lh-h3:      1.12; --ls-h3:      -0.028em;
  --fs-h4:      28px;  --lh-h4:      1.20; --ls-h4:      -0.02em;
  --fs-h5:      22px;  --lh-h5:      1.25; --ls-h5:      -0.015em;
  --fs-body-lg: 20px;  --lh-body-lg: 1.40; --ls-body-lg: -0.01em;
  --fs-body:    16px;  --lh-body:    1.50; --ls-body:     -0.005em;
  --fs-small:   14px;  --lh-small:   1.45; --ls-small:    0;
  --fs-eyebrow: 13px;  --lh-eyebrow: 1.30; --ls-eyebrow:  0.02em;

  /* Motion */
  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft:  cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast:   200ms;
  --dur-med:    400ms;
  --dur-slow:   700ms;

  --s-section: 120px;
}

/* ═══════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Geist', system-ui, -apple-system, sans-serif;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  color: var(--midnight-black);
  background: var(--pure-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { display: block; width: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ═══════════════════════════════════════
   DOT PATTERN BACKGROUNDS
═══════════════════════════════════════ */
.dot-bg {
  background-image: radial-gradient(circle, rgba(0,0,0,.07) 1px, transparent 1px);
  background-size: 24px 24px;
  background-color: #f2f2f0;
}

.dot-bg--dark {
  background-image: radial-gradient(circle, rgba(255,255,255,.18) 1px, transparent 1px);
  background-size: 22px 22px;
  background-color: #111;
}

/* ═══════════════════════════════════════
   TYPOGRAPHY HELPERS
═══════════════════════════════════════ */
.section-title {
  font-size: clamp(2.2rem, 4.5vw, var(--fs-h2));
  font-weight: 500;
  line-height: var(--lh-h2);
  letter-spacing: var(--ls-h2);
  margin-top: .5rem;
  color: var(--midnight-black);
}

.section-title--white { color: #fff; }

/* eyebrow label above section headings */
.pill {
  display: inline-block;
  background: var(--surface-soft);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-full);
  padding: .28rem .85rem;
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: var(--ls-eyebrow);
  color: var(--mute-gray);
  margin-bottom: 1rem;
  text-transform: none;
}

/* White pill variant — for sections with a light gray background */
.pill--white {
  background: #fff;
  border-color: rgba(0,0,0,0.08);
  color: #555;
}

/* ═══════════════════════════════════════
   BADGES & TAGS
═══════════════════════════════════════ */
.badge {
  display: inline-block;
  border-radius: 999px;
  padding: .35rem .9rem;
  font-size: .82rem;
  font-weight: 600;
  white-space: nowrap;
}

.badge--gray   { background: #e8e8e8;       color: #3b3b3b; }
.badge--blue   { background: var(--role-blue);   color: #fff; }
.badge--green  { background: var(--role-lime);   color: #000; }
.badge--purple { background: var(--role-purple); color: #fff; }
.badge--orange { background: #e8905a;       color: #fff; }

.tag {
  display: inline-block;
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.75);
  border-radius: 999px;
  padding: .25rem .7rem;
  font-size: .72rem;
  font-weight: 500;
  white-space: nowrap;
}

/* ═══════════════════════════════════════
   BUTTON SYSTEM — pill + circle-arrow
   One pattern, two colour variants,
   three size modifiers.
═══════════════════════════════════════ */

/* ── Base pill ── */
.btn-pill-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: #0d0d0d;
  border-radius: 9999px;
  padding: 5px 5px 5px 20px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease, transform 0.22s ease, box-shadow 0.22s ease;
}
.btn-pill-arrow:hover {
  background: #252525;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

/* Label */
.btn-pill-arrow__label {
  color: #fff;
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 0 16px 0 0;
  white-space: nowrap;
}

/* Circle */
.btn-pill-arrow__circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: #0d0d0d;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
  line-height: 1;
}
.btn-pill-arrow:hover .btn-pill-arrow__circle { transform: translateX(2px); }

/* ── Light variant: white pill + black circle (dark backgrounds) ── */
.btn-pill-arrow--light {
  background: #fff;
}
.btn-pill-arrow--light:hover {
  background: #f2f2f0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.btn-pill-arrow--light .btn-pill-arrow__label { color: #0d0d0d; }
.btn-pill-arrow--light .btn-pill-arrow__circle { background: #0d0d0d; color: #fff; }

/* ── Hero size modifier: larger, more commanding ── */
.btn-pill-arrow--hero {
  padding: 6px 6px 6px 24px;
}
.btn-pill-arrow--hero .btn-pill-arrow__label {
  font-size: 1rem;
  padding-right: 18px;
}
.btn-pill-arrow--hero .btn-pill-arrow__circle {
  width: 40px;
  height: 40px;
  font-size: 1rem;
}

/* ── Nav size modifier: compact for the header ── */
.btn-pill-arrow--nav {
  padding: 4px 4px 4px 14px;
}
.btn-pill-arrow--nav .btn-pill-arrow__label {
  font-size: 0.82rem;
  padding-right: 12px;
}
.btn-pill-arrow--nav .btn-pill-arrow__circle {
  width: 28px;
  height: 28px;
  font-size: .82rem;
}
.btn-pill-arrow--nav:hover { transform: translateY(-1px); }

/* Legacy alias — keep so nothing else breaks */
.btn--outline { background: #0d0d0d; color: #fff; }

/* ═══════════════════════════════════════
   NAV
═══════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1.1rem 3rem;
  background: transparent;
  border-bottom: none;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

/* Scrolled state — frosted glass so content behind remains readable */
.nav--scrolled {
  background: rgba(250, 250, 248, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.nav__logo {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--midnight-black);
}

.nav__links {
  display: flex;
  gap: 0;
  list-style: none;
}

.nav__links a {
  display: flex;
  align-items: center;
  position: relative;
  padding: .45rem .85rem;
  font-size: .875rem;
  font-weight: 500;
  color: rgba(0,0,0,0.65);
  border-radius: 30px;
  text-decoration: none;
  transition: color .15s, background .15s;
}

.nav__links a:hover {
  color: #000;
  background: rgba(0,0,0,.05);
}

/* Active section indicator — dot below the link */
.nav__links a.nav--active {
  color: #000;
  font-weight: 600;
}

.nav__links a.nav--active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #000;
}

/* Nav CTA — positioned right, uses the compact pill-arrow variant */
.nav__cta { justify-self: end; }

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 3rem 5rem;
  overflow: hidden;
  position: relative;
}


.hero__content {
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero__eyebrow {
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  color: var(--medium-gray);
  margin-bottom: .8rem;
  letter-spacing: var(--ls-eyebrow);
}

.hero__heading {
  font-size: clamp(2.2rem, 4.5vw, var(--fs-h1));
  font-weight: 500;
  line-height: var(--lh-h1);
  letter-spacing: var(--ls-h1);
  margin-bottom: 1.25rem;
  color: var(--midnight-black);
}

.hero__sub {
  font-size: var(--fs-body-lg);
  font-weight: 400;
  color: var(--medium-gray);
  line-height: var(--lh-body-lg);
  letter-spacing: var(--ls-body-lg);
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.hero__availability {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-top: 1.75rem;
  font-size: var(--fs-small);
  color: var(--mute-gray);
  font-weight: 400;
}

.hero__avail-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3ecf6e;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(62,207,110,.2);
  animation: pulse-dot 2.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 2px rgba(62,207,110,.2); }
  50%       { box-shadow: 0 0 0 5px rgba(62,207,110,.1); }
}

/* hero photo */
.hero__photo-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: min(560px, 100%);
  aspect-ratio: 1;
}

/* concentric dashed rings (SVG) */
.hero__rings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  pointer-events: none;
}

@keyframes ring-cw  { to { stroke-dashoffset: -1320; } }
@keyframes ring-ccw { to { stroke-dashoffset:  1748; } }

.hero__ring-inner { animation: ring-cw  50s linear infinite; }
.hero__ring-outer { animation: ring-ccw 70s linear infinite; }

/* floating badges */
.hero__badge {
  position: absolute;
  z-index: 2;
  box-shadow: 0 4px 16px rgba(0,0,0,.13);
  white-space: nowrap;
}
/* 12 o'clock — top center */
.hero__badge--top          { top: 3%;    left: 50%; transform: translateX(-50%); }
/* ~8 o'clock — bottom left */
.hero__badge--bottom-left  { top: 78%; left: 10%; }
/* ~4 o'clock — bottom right */
.hero__badge--bottom-right { top: 78%; right: 10%; }

.hero__circle-img {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  overflow: hidden;
  background: #f5f4f0;
  box-shadow: 0 20px 60px rgba(0,0,0,.14);
  position: relative;
  z-index: 1;
}

.hero__circle-img img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
}

/* ═══════════════════════════════════════
   SERVICES
═══════════════════════════════════════ */
.services {
  background: var(--surface-soft);
  padding: var(--s-section) 3rem;
  border-bottom: 1px solid var(--border-gray);
}

.services__sub {
  color: var(--medium-gray);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 560px;
  margin: .75rem 0 3rem;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: #fff;
  border: 1px solid #c1c8c9;
  border-radius: 8px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-card__top {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.service-card__num {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .02em;
  padding: .3rem .7rem;
}

.service-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #000;
}

.service-card__desc {
  font-size: .875rem;
  color: #3b3b3b;
  line-height: 1.65;
}

.service-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  flex: 1;
}

.service-card__list li {
  font-size: .875rem;
  color: #3b3b3b;
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}

.service-card__list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #8d9499;
  font-size: .82rem;
}

.service-card__fit {
  font-size: .82rem;
  color: #8d9499;
  font-style: italic;
  border-top: 1px solid #c1c8c9;
  padding-top: .75rem;
  margin-top: auto;
}

.services__quote {
  margin-top: 3.5rem;
  font-size: 1rem;
  color: #3b3b3b;
  font-style: italic;
  border-left: 3px solid #daea56;
  padding-left: 1.25rem;
  line-height: 1.75;
  max-width: 600px;
}

/* ═══════════════════════════════════════
   WORK — PROLENS STACKED ITEMS
═══════════════════════════════════════ */
.projects {
  padding: var(--s-section) 0 0;
  overflow: clip; /* clip not hidden — hidden breaks position:sticky */
}

.projects__header {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 3rem;
  margin-bottom: 2.5rem;
}

.projects__sub {
  color: rgba(255,255,255,.65);
  max-width: 600px;
  margin: 1rem 0 0;
  font-size: 1rem;
}

/* ── Sticky wrapper — transparent, dark bg shows through ── */
.work-item {
  position: sticky;
  top: 0;
  height: 580px;
  z-index: var(--item-z, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  padding: 0 16px;
}

/* ── White inner card ── */
.work-item__card {
  position: relative;
  width: 100%;
  max-width: 1080px;
  height: 340px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.08);
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between;
  padding: 36px 48px;
  gap: 36px;
  overflow: visible; /* allow dashed rings to extend beyond card edges */
  transition: box-shadow 0.4s ease, transform 0.3s cubic-bezier(.22,.61,.36,1);
  transform-origin: top center;
}

/* ── Hover: card lifts ── */
.work-item:hover .work-item__card {
  transform: translateY(-4px);
}

/* ── Alternating card backgrounds — creates visible depth in the stack ── */
.work-item:nth-child(odd)  .work-item__card { background: #eeede9; border-color: rgba(0,0,0,0.07); }
.work-item:nth-child(even) .work-item__card { background: #e5e3de; border-color: rgba(0,0,0,0.07); }

/* ── Hover: lift + deeper shadow ── */
.work-item:hover .work-item__card {
  box-shadow: 0 20px 60px rgba(0,0,0,0.13), 0 4px 16px rgba(0,0,0,0.07);
}

/* ── "View project →" CTA — lives inside footer row, fades in on hover ── */
.work-item__cta {
  position: static;
  margin-left: auto;
  flex-shrink: 0;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: -0.2px;
  color: #000;
  background: rgba(0,0,0,0.07);
  padding: 6px 13px;
  border-radius: 20px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 4px;
}
.work-item__cta-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}
.work-item:hover .work-item__cta {
  opacity: 1;
  transform: translateX(0);
}
.work-item:hover .work-item__cta-arrow {
  transform: translateX(4px);
}

/* Left column — project meta */
.work-item__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

/* Eyebrow row: client + industry tag + role badge */
.work-item__eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
/* Scale down the role badge in the eyebrow row */
.work-item__eyebrow .work-pill {
  height: 24px;
  font-size: .75rem;
  padding: 2px 10px;
  line-height: 20px;
}

.work-item__client {
  font-size: .82rem;
  color: rgb(130, 130, 130);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.work-item__industry {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(0,0,0,0.07);
  color: rgb(90, 90, 90);
  padding: 3px 8px;
  border-radius: 4px;
}

.work-item__name {
  font-size: 38px;
  font-weight: 500;
  letter-spacing: -1.5px;
  line-height: 1.08;
  color: #000;
  margin-top: 2px;
}

/* New: one-liner description */
.work-item__desc {
  font-size: .875rem;
  font-weight: 400;
  line-height: 1.55;
  color: rgb(75, 75, 75);
  max-width: 360px;
}

/* ── KPI widget — replaces plain outcome line ── */
.work-item__kpi {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.09);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: .8rem;
  font-weight: 500;
  color: rgb(40, 40, 40);
  align-self: flex-start;
  margin-top: 4px;
}
.work-item__kpi-icon {
  font-size: .9rem;
  flex-shrink: 0;
  opacity: 0.7;
}

/* ── Footer row: tech pills left, year right ── */
.work-item__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,0.07);
}

/* Year — sits in footer row, right-aligned */
.work-item__year {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgb(140, 140, 140);
  white-space: nowrap;
  flex-shrink: 0;
  margin: 0;
}

/* Right — ring + circle visual, flush to right edge */
.work-item__ring-wrap {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  align-self: center;
  margin-right: -12px; /* nudge into right padding for a grounded feel */
}

/* Mockup variant — dark right panel with phone image */
.work-item__ring-wrap--mockup {
  background: #111;
  border-radius: 0 16px 16px 0;
  margin: -46px -56px -46px 0;   /* bleed to card edges */
  width: 420px;
  height: calc(100% + 92px);    /* fill card height (380 + 2×46 padding) */
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex-shrink: 0;
}
.work-item__mockup {
  height: 110%;
  width: auto;
  object-fit: contain;
  object-position: center bottom;
  display: block;
  transition: transform 0.4s var(--ease-out, cubic-bezier(.22,.61,.36,1));
}
.work-item:hover .work-item__mockup {
  transform: translateY(-10px) scale(1.03);
}
/* Image circle variant */
.work-item__circle--img {
  overflow: hidden;
  padding: 0;
  background: #0c0920; /* matches the dark bg of the phone mockup image */
}
.work-item__circle-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  border-radius: 50%;
  transform: translateX(12px) scale(1.07);
}

.work-item__ring-svg {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  pointer-events: none;
  overflow: visible;
}

.work-item__ring-r1 { animation: ring-cw 40s linear infinite; }

.work-item__circle {
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: var(--item-color, #111);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transition: transform var(--dur-med) var(--ease-out);
}

.work-item:hover .work-item__circle {
  transform: scale(1.04);
}

.work-item__initials {
  font-size: 4rem;
  font-weight: 700;
  color: rgba(255,255,255,.14);
  letter-spacing: -0.04em;
  user-select: none;
}

/* .work-item__side removed — role badge moved to eyebrow, tech/year moved to footer */

/* Tech pill group — horizontal row in footer */
.work-item__tech {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

/* Role badge pill — keep prominent */
.work-pill {
  height: 32px;
  border-radius: 20px;
  padding: 5px 14px;
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: -0.2px;
  line-height: 22px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

/* Tech stack pills — smaller, more subtle */
.work-item__tech .work-pill {
  height: 26px;
  font-size: .82rem;
  padding: 3px 10px;
  letter-spacing: 0;
}

.work-pill--gray {
  background: rgba(0,0,0,0.08);
  color: rgb(50, 50, 50);
}

.work-tag {
  background: rgba(0,0,0,.07);
  color: var(--medium-gray);
}

/* ── Side projects card grid ── */
.side-projects {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 3rem var(--s-section);
}

.sp-header {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2rem;
  align-items: start;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 3rem;
  margin-bottom: 2rem;
}

.sp-eyebrow {
  display: block;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: .6rem;
}

.sp-title {
  color: rgba(255,255,255,.92);
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
}

.sp-intro {
  color: rgba(255,255,255,.58);
  font-size: .9rem;
  line-height: 1.65;
  margin: 0;
  padding-top: 3rem;
}

/* 3-column grid — all cards visible at once */
.sp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.sp-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 16px;
  padding: 1.75rem;
  text-decoration: none;
  color: inherit;
  transition: background .2s, border-color .2s, transform .2s;
}

.sp-card:hover {
  background: rgba(255,255,255,.11);
  border-color: rgba(255,255,255,.22);
  transform: translateY(-2px);
}

.sp-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sp-card__num {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(255,255,255,.3);
  line-height: 1;
}

.sp-card__type {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-full);
  padding: .28rem .75rem;
}

.sp-card__title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0;
}

.sp-card__desc {
  font-size: .9rem;
  color: rgba(255,255,255,.72);
  line-height: 1.65;
  flex: 1;
  margin: 0;
}

.sp-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: auto;
}

.sp-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
}

.sp-card__tags span {
  font-size: .72rem;
  font-weight: 500;
  color: rgba(255,255,255,.65);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-full);
  padding: .22rem .65rem;
  white-space: nowrap;
}

.sp-card__arrow {
  font-size: 1rem;
  color: rgba(255,255,255,.45);
  flex-shrink: 0;
  display: inline-block;
  transition: color .2s, transform .2s;
}

.sp-card:hover .sp-card__arrow {
  color: #fff;
  transform: translate(2px, -2px);
}

/* ═══════════════════════════════════════
   CREDENTIALS (replaces Social section)
═══════════════════════════════════════ */
/* ═══════════════════════════════════════
   CREDENTIALS / RECOGNITION & TRAINING
═══════════════════════════════════════ */
.social {
  background: var(--pure-white);
  padding: var(--s-section) 0;
  border-top: 1px solid var(--border-gray);
}

.cred-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 3rem;
}

/* ── Header — title left, intro right (matches bento pattern) ── */
.cred-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 3rem;
}

.cred-header__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cred-header__intro {
  font-size: .95rem;
  color: var(--mute-gray);
  line-height: 1.65;
  max-width: 46ch;
  margin: 0;
  padding-bottom: .4rem; /* optical baseline-align with h2 */
}

/* ── Shared logo badge ── */
.cred-logo {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 11px;
  background: var(--logo-bg, #333);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .63rem;
  font-weight: 800;
  letter-spacing: -.01em;
  color: #fff;
  flex-shrink: 0;
  overflow: hidden;
}
.cred-logo--img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 7px;
  display: block;
}

/* ── Single unified credentials grid ── */
.cred-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.cred-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #f7f5f0;
  border: 1px solid #e6e1d9;
  border-radius: 12px;
  padding: 1.25rem 1.4rem;
  transition: border-color .2s;
}

.cred-item:hover {
  border-color: #c8c2b8;
}

.cred-item__body {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.cred-item__inst {
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--mute-gray);
  margin: 0;
}

.cred-item__name {
  font-size: .97rem;
  font-weight: 600;
  color: var(--midnight-black);
  letter-spacing: -.015em;
  line-height: 1.3;
  margin: 0;
}

.cred-item__sub {
  font-size: .79rem;
  color: var(--mute-gray);
  line-height: 1.5;
  margin: 0;
}

/* ═══════════════════════════════════════
   CAREER / TIMELINE
═══════════════════════════════════════ */
.career {
  background: var(--surface-soft);
  padding: var(--s-section) 0;
  border-top: 1px solid rgba(0,0,0,0.06);
}

/* Career section header — matches the site-wide pill → title → sub pattern */
.career__header {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-bottom: 2.5rem;
}

.career__sub {
  font-size: 1rem;
  color: var(--medium-gray);
  max-width: 560px;
  line-height: 1.65;
}

.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  padding: 0 2rem;
}

.timeline__line {
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0,0,0,.12) 4%,
    rgba(0,0,0,.12) 96%,
    transparent 100%
  );
  transform: translateX(-50%);
}

.timeline__row {
  display: grid;
  grid-template-columns: 1fr 48px 1fr;
  align-items: center;
}

.timeline__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #000;
  justify-self: center;
  flex-shrink: 0;
}

.timeline__spacer { /* intentionally empty */ }

.timeline__card {
  background: #fff;
  border-radius: 12px;
  min-height: 84px;
  min-width: 0; /* allow grid column to shrink below content min-width */
  padding: 14px 24px 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.timeline__card--left  { margin-right: 0; }
.timeline__card--right { margin-left: 0; }

/* Logo: dashed ring → gray circle → logo image */
.timeline__logo-wrap {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline__logo-ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1.5px dashed rgba(0,0,0,.22);
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline__logo-inner {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgb(232, 234, 237);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline__logo-inner img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 0;
}

.timeline__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.timeline__info h3 {
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.4px;
  line-height: 1.25;
  color: #000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Role progression — keeps "X → Y" on one line with a muted arrow */
.timeline__role-progression {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.timeline__role-arrow {
  font-size: .82rem;
  color: rgba(0,0,0,0.3);
  flex-shrink: 0;
}

.timeline__info p {
  font-size: .82rem;
  font-weight: 400;
  color: rgb(59, 59, 59);
  letter-spacing: -0.2px;
}

.timeline__date {
  font-size: 1rem;
  font-weight: 400;
  color: rgb(59, 59, 59);
  letter-spacing: -0.3px;
  white-space: nowrap;
  margin-left: auto;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.timeline__arrow { color: #000; }

/* ═══════════════════════════════════════
   SKILLS
═══════════════════════════════════════ */
/* ═══ SKILLS — bento grid ═══ */

.skills {
  background:
    radial-gradient(circle at 1px 1px, rgba(0,0,0,0.055) 1px, transparent 0) 0 0 / 22px 22px,
    #F3F1EA;
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 64px 0;
}

/* ── Header: 2-col grid ── */
.bento-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: end;
  margin-bottom: 32px;
}

.bento-header__left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Bare eyebrow — matches card eyebrow weight, no pill border */
.bento-eyebrow {
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute-gray);
  line-height: 1;
}

/* Inherits weight/tracking/line-height from .section-title,
   overrides only font-size to fit the column context */
.bento-header__title {
  font-size: clamp(2rem, 3.2vw, 2.8rem) !important;
  margin-top: 0;
  margin-bottom: 0;
}

.bento-header__title em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.bento-header__intro {
  font-size: 0.9rem;
  color: #55524A;
  line-height: 1.6;
  max-width: 44ch;
}

/* ── Grid layout — asymmetric Z-stagger 2:2 ──
   5-column base so each row splits differently:
   Row 1 → 3:2  (featured gets 60%, compliance gets 40%)
   Row 2 → 2:3  (discovery gets 40%, architecture gets 60%)
   Creates diagonal visual movement across the grid. */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

/* ── Base card ── */
.bcard {
  position: relative;
  padding: 24px 26px 26px;
  border-radius: 20px;
  background: #F4F1E7;
  border: 1px solid rgba(0,0,0,0.09);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.2,0.8,0.2,1), box-shadow 0.5s ease;
}
.bcard:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px -24px rgba(50,40,20,0.12), 0 2px 8px -4px rgba(50,40,20,0.06);
}

/* ── Per-card accent colours ──
   01 Amber  — execution / delivery
   02 Indigo — compliance / authority
   03 Sage   — discovery / exploration
   04 Violet — AI systems / architecture          */
.bcard:nth-child(1) { background: #EDE8DC; --card-accent: #B8691E; --card-icon-bg: rgba(184,105,30,0.08); --card-icon-border: rgba(184,105,30,0.28); }
.bcard:nth-child(2) { background: #EDE8DC; --card-accent: #2F6494; --card-icon-bg: rgba(47,100,148,0.07); --card-icon-border: rgba(47,100,148,0.22); }
.bcard:nth-child(3) { background: #EDE8DC; --card-accent: #3A7A52; --card-icon-bg: rgba(58,122,82,0.07); --card-icon-border: rgba(58,122,82,0.25); }
.bcard:nth-child(4) { background: #EDE8DC; --card-accent: #6B3FA0; --card-icon-bg: rgba(107,63,160,0.07); --card-icon-border: rgba(107,63,160,0.22); }

/* ── Card top row ── */
.bcard__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.bcard__eyebrow-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Accent icon circle */
.bcard__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--card-icon-bg, rgba(0,0,0,0.05));
  border: 1.5px solid var(--card-icon-border, rgba(0,0,0,0.15));
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--card-accent, #555);
}

.bcard__eyebrow {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--card-accent, #8A877C);
  font-weight: 600;
  opacity: 0.75;
}

/* Italic serif number */
.bcard__number {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--card-accent, #B8B4A6);
  font-weight: 400;
  line-height: 1;
  opacity: 0.35;
}

.bcard__title {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #16140F;
  margin-bottom: 8px;
}

.bcard__desc {
  font-size: 13.5px;
  line-height: 1.68;
  color: #3D3A30;
  max-width: 52ch;
  flex: 1;
}

/* Tool pills */
.bcard__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,0.07);
}
.bcard__tool {
  font-size: 11.5px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.07);
  background: rgba(255,255,255,0.55);
  color: #55524A;
  font-weight: 400;
  transition: background 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}
.bcard__tool:hover { background: rgba(255,255,255,0.9); transform: translateY(-1px); }

.marquee-wrap {
  overflow: hidden;
  position: relative;
}

/* fade edges */
.marquee-wrap::before,
.marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.marquee-wrap::before {
  left: 0;
  background: linear-gradient(to right, #f7f7f5, transparent);
}

.marquee-wrap::after {
  right: 0;
  background: linear-gradient(to left, #f7f7f5, transparent);
}

.marquee {
  display: flex;
  gap: 0;
  width: max-content;
  animation: scroll-left 40s linear infinite;
}

.marquee span {
  display: inline-block;
  padding: .45rem 1.4rem;
  margin: 0 .3rem;
  background: #fff;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0,0,0,.06);
  border: 1px solid rgba(0,0,0,.06);
}

@keyframes scroll-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee:hover { animation-play-state: paused; }

/* ═══════════════════════════════════════
   CONTACT
═══════════════════════════════════════ */
.contact { padding: 6rem 3rem; }

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

.contact__photo-wrap {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px dashed rgba(255,255,255,.3);
  padding: 5px;
  margin: 2rem 0 1rem;
}

.contact__photo-wrap img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
}

.contact__name {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .8rem;
}

.contact__badges { display: flex; gap: .4rem; flex-wrap: wrap; }

/* right side */
.contact__cta-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 1.5rem;
  max-width: 420px;
}

.contact__email {
  display: block;
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 600;
  color: rgba(255,255,255,.75);
  margin-bottom: 1rem;
  transition: color .2s;
}

.contact__email:hover { color: #fff; }

.contact__icons {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
  margin-bottom: 2.5rem;
}

.contact__sep {
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,.12);
  margin: 0 22px;
  flex-shrink: 0;
}

.contact__icon-link {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  transition: opacity .2s;
}

.contact__icon-link:hover {
  opacity: 1;
}

.contact__icon-link:hover .contact__link-value {
  color: rgba(255,255,255,.85);
}

.contact__svg-icon {
  width: 18px;
  height: 18px;
  min-width: 18px;
  flex-shrink: 0;
  color: rgba(255,255,255,.45);
  transition: color .2s;
  /* override global img { width: 100% } reset */
  display: inline-block;
  object-fit: unset;
}

.contact__icon-link:hover .contact__svg-icon {
  color: rgba(255,255,255,.85);
}

.contact__link-label {
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .01em;
  color: rgba(255,255,255,.55);
  transition: color .2s;
}

.contact__icon-link:hover .contact__link-label {
  color: rgba(255,255,255,.85);
}

.contact__form-title {
  color: rgba(255,255,255,.5);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.form-field { margin-bottom: .8rem; }

.form-field input,
.form-field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,.35);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  padding: .7rem 0;
  outline: none;
  transition: border-color .2s;
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(255,255,255,.35); }

.form-field input:focus,
.form-field textarea:focus { border-color: rgba(255,255,255,.6); }

.form-field textarea { resize: none; }

.contact__form-footer {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.contact__privacy {
  color: rgba(255,255,255,.35);
  font-size: .82rem;
  max-width: 240px;
  line-height: 1.5;
}

/* Form feedback messages */
.form-msg {
  display: none;
  align-items: center;
  gap: .6rem;
  margin-top: 1rem;
  padding: .75rem 1rem;
  border-radius: 10px;
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.4;
}
.form-msg span:first-child {
  font-size: 1rem;
  flex-shrink: 0;
}
.form-msg--success {
  background: rgba(200, 229, 73, 0.15);
  color: #c8e549;
  border: 1px solid rgba(200, 229, 73, 0.3);
}
.form-msg--error {
  background: rgba(255, 100, 80, 0.12);
  color: #ff9980;
  border: 1px solid rgba(255, 100, 80, 0.25);
}
.form-msg--error a {
  color: #ff9980;
  text-decoration: underline;
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.footer {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 2rem 3rem;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copy {
  font-size: .82rem;
  color: rgba(255,255,255,.35);
}

.footer__contact {
  display: flex;
  align-items: center;
  gap: 0;
}

.footer__contact-sep {
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,.12);
  margin: 0 20px;
  flex-shrink: 0;
}

.footer__contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: opacity .2s;
}
.footer__contact-link:hover { opacity: 1; }
.footer__contact-link:hover .footer__contact-value { color: rgba(255,255,255,.8); }

.footer__contact-label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.28);
}

.footer__contact-value {
  font-size: .82rem;
  color: rgba(255,255,255,.45);
  transition: color .2s;
}

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .projects__other--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .services__grid { grid-template-columns: 1fr; }
  .bento-header { grid-template-columns: 1fr; gap: 20px; }
  /* 2-col already — no overrides needed at tablet */

  .hero__content,
  .social__inner,
  .contact__inner {
    grid-template-columns: 1fr;
  }

  .hero__photo-wrap { order: -1; width: min(420px, 100%); }
  .hero__circle-img { width: 220px; height: 220px; }
  .hero__rings { width: 420px; height: 420px; }

  .work__grid {
    grid-template-columns: 1fr;
  }

  .projects__other,
  .projects__other--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Strip left padding from the container so both line and dot
     can share the same fixed-pixel x reference */
  .timeline { padding-left: 0; }

  .timeline__row {
    display: flex;
    flex-direction: column;
    position: relative;
    padding-left: 48px;   /* dot centre (20px) + 28px gap to card */
    margin-bottom: 1.5rem;
    align-items: flex-start;
  }

  /* Dot centre = 20px from timeline left edge.
     Dot left edge = 20 - 4 = 16px (dot is 8px wide). */
  .timeline__dot {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
  }

  /* Line passes through every dot centre.
     left: 19.5px = 20px centre - 0.5px (half of 1px line width).
     top/bottom: 0 → spans full .timeline height, touching every row. */
  .timeline__line {
    left: 19px;
    top: 0;
    bottom: 0;
    transform: none;
  }

  .timeline__spacer { display: none; }

  .timeline__card--left,
  .timeline__card--right {
    margin: 0;
    width: 100%;
    order: 1;
  }

  .nav { padding: 1rem 1.5rem; grid-template-columns: 1fr auto; }
  .nav__contact { display: none; }
  .nav__links { gap: 0; }

  .footer__inner { flex-direction: column; gap: 1.25rem; text-align: center; }
  .footer__contact { flex-wrap: wrap; justify-content: center; gap: 0; }
  .footer__contact-sep { display: none; }
  .footer__contact-link { padding: .25rem .75rem; }
  .footer__contact-link + .footer__contact-link { border-left: 1px solid rgba(255,255,255,.1); }
}

@media (max-width: 600px) {
  .hero { padding: 7rem 1.5rem 4rem; }
  .services, .skills, .projects, .social, .career, .contact { padding: 3rem 1.5rem; }
  /* Single column at mobile */
  .bento-grid { grid-template-columns: 1fr; }

  .about__photos { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 1rem; }
  .polaroid { width: 150px; flex-shrink: 0; }

  .projects__other,
  .projects__other--4 { grid-template-columns: 1fr; }

  .other-card { height: 160px; }

  .work__testimonial { padding: 1.8rem; }

  .contact__cta-text { font-size: 1.1rem; }

  .nav__links { display: none; }
  .nav { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════
   PULL QUOTE
═══════════════════════════════════════ */
.pullquote {
  background: var(--pure-white);
  padding: var(--s-section) 3rem;
  border-top: 1px solid var(--border-gray);
}

.pullquote__mark {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 5rem;
  line-height: .8;
  color: var(--role-lime);
  margin-bottom: 1.5rem;
  display: block;
}

.pullquote__text {
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.022em;
  color: var(--midnight-black);
  max-width: 820px;
  margin: 0 auto 2.5rem;
  font-style: normal;
  text-align: center;
}

.pullquote__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .85rem;
}

.pullquote__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
}

.pullquote__name {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--midnight-black);
}

.pullquote__role {
  font-size: .82rem;
  color: var(--mute-gray);
}

/* GSAP handles all scroll reveal — no CSS initial-state needed */

/* ═══════════════════════════════════════
   LETTER-FLIP HOVER
   Signature Prolens effect on nav links
═══════════════════════════════════════ */
.lf-char {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  line-height: inherit;
  height: 1.1em;
}

.lf-inner {
  display: flex;
  flex-direction: column;
  transition: transform 200ms var(--ease-out);
  transition-delay: calc(var(--ci, 0) * 20ms);
}

.lf-inner > span {
  display: block;
  height: 1em;
  line-height: 1;
  padding-top: .07em; /* fine-tune vertical alignment */
}

a:hover .lf-inner,
button:hover .lf-inner {
  transform: translateY(-50%);
}
