/* =========================================================
   Ajrun Azhim Fawwas — Portfolio
   ========================================================= */

:root {
  --frame: #2a0a0c;
  --night: #170506;
  --red-900: #4f0b10;
  --red-800: #6e0d13;
  --red-700: #8a0f17;
  --red-600: #a5131c;
  --red-500: #b8141e;
  --red-300: #f0656b;
  --white: #ffffff;
  --paper: #ffffff;
  --ink: #1c0b0c;
  --gray: #7a7172;
  --line: #eadede;

  --radius-sheet: 28px;
  --radius-card: 16px;
  --pad-x: clamp(20px, 3.6vw, 52px);
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

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

body {
  margin: 0;
  background: var(--frame);
  color: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }

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

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

.meta {
  font-size: 11px;
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.meta-red { color: var(--red-500); }

/* 4-point star */
.star,
.star-sm {
  display: inline-block;
  width: 34px;
  height: 34px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 0c1.1 8.9 6.2 14.6 16 16-9.8 1.4-14.9 7.1-16 16-1.1-8.9-6.2-14.6-16-16 9.8-1.4 14.9-7.1 16-16z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 0c1.1 8.9 6.2 14.6 16 16-9.8 1.4-14.9 7.1-16 16-1.1-8.9-6.2-14.6-16-16 9.8-1.4 14.9-7.1 16-16z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.star-sm { width: 10px; height: 10px; margin-right: 6px; vertical-align: -1px; }
.star-red { color: var(--red-500); }
.star-white { color: var(--white); }

/* Red photo treatment: grayscale photo blended into a red surface */
.tint {
  filter: grayscale(1) contrast(1.2);
  mix-blend-mode: luminosity;
}

/* ---------- Top bar ---------- */

.topbar {
  position: sticky;
  top: 14px;
  z-index: 50;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: max-content;
  max-width: calc(100% - 32px);
  margin: 26px auto 26px;
  padding: 5px;
  border: 1.5px solid rgba(255, 255, 255, .85);
  border-radius: 999px;
  background: rgba(42, 10, 12, .72);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
}

.handle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px 8px 10px;
  font-size: 14px;
  font-weight: 500;
}
.handle-ig {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  position: relative;
}
.handle-ig::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 2px solid #fff;
  border-radius: 50%;
}

.nav { display: flex; gap: 2px; }
.nav a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, .78);
  transition: color .25s, background .25s;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.nav a.nav-cta { background: var(--white); color: var(--red-700); }
.nav a.nav-cta:hover { background: #ffe9ea; }

/* ---------- Sheet ---------- */

.sheet {
  max-width: 1440px;
  margin: 0 auto 28px;
  border-radius: var(--radius-sheet);
  overflow: clip;
  width: calc(100% - 2 * clamp(12px, 2.4vw, 36px));
}

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

.hero {
  position: relative;
  height: clamp(620px, 96vh, 940px);
  padding: 26px var(--pad-x);
  background:
    radial-gradient(120% 90% at 22% 18%, #b3151e 0%, #8a0f17 38%, #5a0b10 78%, #45080c 100%);
  overflow: hidden;
  isolation: isolate;
}

.hero-photo {
  position: absolute;
  left: 50%;
  bottom: -2%;
  height: 168%;
  width: auto;
  max-width: none;
  transform: translateX(-62%);
  filter: grayscale(1) contrast(1.35) brightness(1.15);
  mix-blend-mode: luminosity;
  -webkit-mask-image: radial-gradient(ellipse 36% 54% at 62% 60%, #000 30%, rgba(0, 0, 0, .45) 62%, transparent 98%);
          mask-image: radial-gradient(ellipse 36% 54% at 62% 60%, #000 30%, rgba(0, 0, 0, .45) 62%, transparent 98%);
  z-index: -1;
}

.hero-meta {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.4fr 1fr;
  gap: 16px;
}
.meta-right { text-align: right; justify-self: end; }

.hero-years {
  position: absolute;
  left: var(--pad-x);
  top: 34%;
}

.hero-pitch {
  position: absolute;
  left: 61%;
  top: 23%;
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
}

.hero-tags {
  position: absolute;
  left: 61%;
  right: var(--pad-x);
  top: 39%;
  display: flex;
  justify-content: space-between;
}
.hero-tags .meta { font-size: 9.5px; }

.hero-word {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -.075em;
  font-size: min(21vw, 300px);
  font-weight: 800;
  font-stretch: 125%;
  line-height: .9;
  letter-spacing: -.03em;
  text-align: center;
  overflow: hidden;
}
.hero-word-in { display: block; }

/* ---------- Intro (white) ---------- */

.intro {
  position: relative;
  display: grid;
  grid-template-columns: 17% 1fr;
  background: var(--paper);
  color: var(--red-500);
  padding: clamp(56px, 6vw, 88px) var(--pad-x) clamp(48px, 5vw, 72px);
}

.intro-star { position: absolute; left: var(--pad-x); top: clamp(64px, 6.5vw, 96px); width: 26px; height: 26px; }
.intro-corner { position: absolute; right: var(--pad-x); top: clamp(60px, 6.3vw, 92px); }

.intro-body { grid-column: 2; max-width: 980px; }

.intro-title {
  display: inline-block;
  font-size: clamp(28px, 4.1vw, 60px);
  font-weight: 500;
  font-stretch: 100%;
  line-height: 1.01;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.intro-title span { display: block; }
.intro-title .l1 { text-align: right; }
.intro-title .muted { color: #6b6b6b; }

.arrow-chip {
  display: inline-block;
  width: .74em;
  height: .74em;
  margin: 0 .06em;
  vertical-align: -.02em;
  border-radius: .16em;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7l10 10M17 8v9H8'/%3E%3C/svg%3E") center / 62% no-repeat,
    var(--red-500);
}

.intro-sub {
  margin: 18px 0 40px;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 500;
  text-transform: uppercase;
  color: #6b6b6b;
  letter-spacing: .01em;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(10px, 2vw, 28px);
}

.card {
  position: relative;
  aspect-ratio: 3 / 3.9;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--red-700);
  isolation: isolate;
}
.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.25) brightness(1.08);
  mix-blend-mode: luminosity;
  transition: transform .8s var(--ease), filter .5s, opacity .5s;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(40, 4, 6, .55));
  pointer-events: none;
}
.card figcaption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 1;
  color: #fff;
  font-size: 10px;
  line-height: 1.15;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.card:hover img {
  filter: none;
  mix-blend-mode: normal;
  transform: scale(1.05);
}

.intro-play { grid-column: 1; grid-row: 1; align-self: end; margin-bottom: 4px; }

.stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: clamp(56px, 6vw, 88px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.stat strong {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(38px, 4.8vw, 70px);
  font-weight: 700;
  font-stretch: 118%;
  line-height: .9;
  letter-spacing: -.03em;
  color: var(--red-500);
  font-variant-numeric: tabular-nums;
}
.stat .meta { display: block; color: #6b6b6b; }

/* ---------- Services (red + photo) ---------- */

.services {
  position: relative;
  min-height: clamp(700px, 62vw, 900px);
  padding: clamp(48px, 5vw, 72px) var(--pad-x);
  background: radial-gradient(110% 100% at 70% 30%, #a3131b 0%, #7a0e15 45%, #4d0a0e 100%);
  overflow: hidden;
  isolation: isolate;
}
.services-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
  filter: grayscale(1) contrast(1.3) brightness(1.05);
  mix-blend-mode: luminosity;
  z-index: -2;
}
.services::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(90, 8, 13, .88) 0%, rgba(90, 8, 13, .45) 38%, rgba(90, 8, 13, 0) 60%),
    linear-gradient(0deg, rgba(60, 6, 9, .6) 0%, rgba(60, 6, 9, 0) 40%);
}

.services-title {
  font-size: clamp(32px, 4.4vw, 64px);
  font-weight: 500;
  line-height: 1.01;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.services-title span { display: block; }
.services-title .indent { padding-left: 1.45em; }

.services-star { position: absolute; right: var(--pad-x); top: clamp(60px, 6vw, 88px); width: 30px; height: 30px; }

.service {
  position: absolute;
  width: min(23%, 290px);
  font-size: 12.5px;
  line-height: 1.16;
  font-weight: 500;
  text-transform: uppercase;
  text-align: justify;
  text-shadow: 0 1px 14px rgba(40, 4, 6, .45);
}
.service b { display: block; margin-bottom: 4px; font-weight: 700; }
.service.s1 { left: var(--pad-x); top: 58%; }
.service.s2 { left: 22%; bottom: 8%; }
.service.s3 { right: var(--pad-x); top: 22%; }
.service.s4 { right: var(--pad-x); bottom: 8%; }

/* ---------- Marquee ---------- */

.marquee {
  overflow: hidden;
  background: var(--paper);
  color: var(--red-500);
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee span {
  font-size: clamp(22px, 2.6vw, 36px);
  font-weight: 600;
  font-stretch: 120%;
  text-transform: uppercase;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.marquee i {
  width: 18px;
  height: 18px;
  flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 0c1.1 8.9 6.2 14.6 16 16-9.8 1.4-14.9 7.1-16 16-1.1-8.9-6.2-14.6-16-16 9.8-1.4 14.9-7.1 16-16z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 0c1.1 8.9 6.2 14.6 16 16-9.8 1.4-14.9 7.1-16 16-1.1-8.9-6.2-14.6-16-16 9.8-1.4 14.9-7.1 16-16z'/%3E%3C/svg%3E") center / contain no-repeat;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Work (dark) ---------- */

.work {
  background: var(--night);
  padding: clamp(64px, 7vw, 104px) var(--pad-x);
}

.work-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.work-title {
  font-size: clamp(54px, 9.4vw, 140px);
  font-weight: 800;
  font-stretch: 125%;
  line-height: .86;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.work-title sup {
  font-size: .2em;
  font-weight: 500;
  font-stretch: 100%;
  letter-spacing: 0;
  vertical-align: top;
  position: relative;
  top: .35em;
  color: var(--red-300);
}
.work-note { color: rgba(255, 255, 255, .6); text-align: right; }

.projects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(48px, 5vw, 72px) clamp(20px, 2.6vw, 36px);
}

.project-img {
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #fff;
}
.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease);
}
.project:hover .project-img img { transform: scale(1.035); }

.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 20px 0 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
}
.project-meta span:first-child { color: #fff; }

.project h3 {
  font-size: clamp(22px, 2.1vw, 30px);
  font-weight: 600;
  font-stretch: 112%;
  line-height: 1.04;
  letter-spacing: -.015em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.project p {
  max-width: 54ch;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .7);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 20px;
}
.chips li {
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.3;
  color: rgba(255, 255, 255, .78);
}
.chips b { color: var(--red-300); font-weight: 600; margin-right: 3px; }

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(255, 255, 255, .4);
  transition: border-color .25s, color .25s, gap .25s;
}
.project-link::after { content: "↗"; }
.project-link:hover { color: var(--red-300); border-color: var(--red-300); gap: 12px; }

.project-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
}
.project-wide .project-meta { margin-top: 0; }
.project-wide h3 { font-size: clamp(26px, 2.8vw, 40px); }

/* ---------- Experience (white) ---------- */

.experience {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(64px, 7vw, 104px) var(--pad-x);
}
.exp-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.exp-title {
  font-size: clamp(48px, 9.4vw, 140px);
  font-weight: 800;
  font-stretch: 125%;
  line-height: .86;
  letter-spacing: -.035em;
  text-transform: uppercase;
  color: var(--red-500);
}

.exp-list li {
  display: grid;
  grid-template-columns: 20% 1fr auto;
  gap: 20px;
  align-items: baseline;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  transition: padding .4s var(--ease);
}
.exp-list li:last-child { border-bottom: 1px solid var(--line); }
.exp-list li:hover { padding-left: 12px; }
.exp-list li:hover .exp-co { color: var(--red-500); }

.exp-date,
.exp-role {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.exp-date { color: var(--red-500); }
.exp-role { color: var(--gray); text-align: right; }
.exp-co {
  font-size: clamp(20px, 2.5vw, 36px);
  font-weight: 500;
  font-stretch: 108%;
  line-height: 1.05;
  letter-spacing: -.02em;
  text-transform: uppercase;
  transition: color .3s;
}

.exp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: clamp(48px, 5vw, 72px);
}
.exp-col h3 { margin-bottom: 14px; }
.exp-col p { font-size: 15px; line-height: 1.55; color: #4c3d3e; }
.exp-col p + p { margin-top: 14px; }
.exp-col b { color: var(--ink); font-weight: 600; }

/* ---------- Contact (red) ---------- */

.contact {
  position: relative;
  padding: clamp(48px, 5vw, 72px) var(--pad-x) 28px;
  background: radial-gradient(120% 100% at 80% 20%, #a3131b 0%, #7a0e15 45%, #4d0a0e 100%);
  overflow: hidden;
  isolation: isolate;
}
.contact-photo {
  position: absolute;
  right: -4%;
  top: 0;
  height: 100%;
  width: 52%;
  object-fit: cover;
  object-position: 40% 62%;
  filter: grayscale(1) contrast(1.25) brightness(.78);
  mix-blend-mode: luminosity;
  opacity: .85;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
  z-index: -1;
}
.contact-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.contact-top .star { width: 30px; height: 30px; }

.contact-word {
  margin: clamp(40px, 6vw, 96px) 0 clamp(32px, 4vw, 56px);
  font-size: min(15.4vw, 222px);
  font-weight: 800;
  font-stretch: 125%;
  line-height: .84;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.contact-word span { display: block; }
.contact-word span + span { padding-left: .5em; }

.contact-links {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 88px);
}
.contact-mail {
  font-size: clamp(22px, 3.3vw, 48px);
  font-weight: 500;
  font-stretch: 105%;
  letter-spacing: -.02em;
  line-height: 1.1;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .18em;
  word-break: break-all;
  transition: opacity .25s;
}
.contact-mail:hover { opacity: .8; }

.contact-list { display: grid; gap: 10px; }
.contact-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 12px;
  background: rgba(60, 6, 9, .28);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  transition: background .25s, border-color .25s;
}
.contact-list li:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .6); }
.contact-list .meta { color: rgba(255, 255, 255, .7); align-self: center; }
.contact-list a { font-size: 15px; font-weight: 500; }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .25);
  color: rgba(255, 255, 255, .75);
}
.footer a:hover { color: #fff; }

/* ---------- Motion ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

.js .hero-word-in { transform: translateY(105%); transition: transform 1.2s var(--ease) .15s; }
.js .hero-photo { opacity: 0; transition: opacity 1.6s ease .1s; }
.js .hero-meta,
.js .hero-years,
.js .hero-pitch,
.js .hero-tags { opacity: 0; transition: opacity 1s ease .7s; }
.js.loaded .hero-word-in { transform: none; }
.js.loaded .hero-photo,
.js.loaded .hero-meta,
.js.loaded .hero-years,
.js.loaded .hero-pitch,
.js.loaded .hero-tags { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .js .reveal,
  .js .hero-word-in { opacity: 1; transform: none; transition: none; }
  .js .hero-photo,
  .js .hero-meta,
  .js .hero-years,
  .js .hero-pitch,
  .js .hero-tags { opacity: 1; transition: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .hero-meta { grid-template-columns: 1fr 1fr; row-gap: 14px; }
  .hero-meta .meta:nth-child(2) { display: none; }
  .hero-meta .meta:nth-child(3) { display: none; }
  .hero-pitch { left: auto; right: var(--pad-x); top: 20%; text-align: right; }
  .hero-tags { display: none; }
  .hero-years { top: 20%; }

  .intro { grid-template-columns: 1fr; }
  .intro-body { grid-column: 1; padding-top: 28px; }
  .intro-play { display: none; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }

  .services { min-height: 0; padding-bottom: 56px; }
  .services::before {
    background: linear-gradient(180deg, rgba(90, 8, 13, .55) 0%, rgba(90, 8, 13, .25) 30%, rgba(70, 7, 11, .9) 62%, rgba(60, 6, 9, .96) 100%);
  }
  .services-photo { height: 70%; object-position: 50% 25%; }
  .services-title { margin-bottom: clamp(220px, 46vw, 420px); }
  .service {
    position: static;
    width: auto;
    max-width: 520px;
    margin-top: 22px;
    font-size: 13px;
    text-align: left;
  }
  .service b { display: block; margin-bottom: 4px; }

  .project-wide { grid-template-columns: 1fr; }
  .project-wide .project-meta { margin-top: 20px; }

  .exp-grid { grid-template-columns: 1fr 1fr; }
  .contact-links { grid-template-columns: 1fr; }
  .contact-photo { width: 70%; opacity: .55; }
}

@media (max-width: 640px) {
  .topbar { top: 10px; margin: 16px auto; }
  .handle { padding: 7px 10px 7px 8px; font-size: 13px; }
  .nav a { padding: 7px 10px; font-size: 12.5px; }
  .nav a[href="#services"],
  .nav a[href="#experience"] { display: none; }

  .sheet { width: calc(100% - 16px); --radius-sheet: 20px; }

  .hero { height: clamp(560px, 88vh, 760px); padding-top: 20px; }
  .hero-photo { height: 140%; transform: translateX(-62%); }
  .hero-years { top: auto; bottom: calc(23.2vw + 28px); }
  .hero-pitch { top: auto; bottom: calc(23.2vw + 28px); font-size: 10.5px; }
  .hero-word { bottom: -.06em; }

  .intro-corner { display: none; }
  .intro-star { top: 34px; width: 20px; height: 20px; }
  .intro-title { display: block; font-size: clamp(25px, 7.4vw, 36px); }
  .intro-title .l1 { text-align: left; }
  .intro-sub br { display: none; }
  .cards { gap: 10px; }
  .card figcaption { left: 10px; bottom: 9px; font-size: 9px; }
  .stats { gap: 28px 16px; }

  .services-star { width: 22px; height: 22px; top: 52px; }

  .work-head { flex-direction: column; align-items: flex-start; }
  .work-title { font-size: 12.6vw; }
  .exp-title { font-size: 12.2vw; }
  .services-title .indent { padding-left: .8em; }
  .work-note { text-align: left; }
  .projects { grid-template-columns: 1fr; }
  .project p { font-size: 14.5px; }

  .exp-list li { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
  .exp-role { text-align: left; }
  .exp-grid { grid-template-columns: 1fr; gap: 28px; }

  .contact-photo { width: 100%; right: 0; opacity: .4; -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 85%); mask-image: linear-gradient(180deg, #000 30%, transparent 85%); }
  .contact-word { font-size: 15.2vw; }
  .contact-word span + span { padding-left: .3em; }
  .footer { flex-direction: column; gap: 8px; }
}
