@import url("https://fonts.googleapis.com/css2?family=Geologica:wght@300;400;500;650;800&display=swap");

:root {
  --bg: #f7f7f4;
  --paper: #ffffff;
  --text: #151515;
  --muted: #696965;
  --soft: #deded8;
  --line: rgba(18, 18, 18, 0.1);
  --accent: #161616;
  --green: #b6d7aa;
  --red: #d0a4a0;
  --max: 1280px;
  --pad: clamp(18px, 4vw, 56px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 255, 255, 0.95), transparent 34rem),
    linear-gradient(120deg, rgba(0, 0, 0, 0.035), transparent 26rem),
    var(--bg);
  font-family: "Geologica", "Trebuchet MS", sans-serif;
  text-rendering: geometricPrecision;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 50% 20%, black, transparent 78%);
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  display: flex;
  width: min(calc(100% - 28px), var(--max));
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-inline: 16px;
  border-radius: 18px;
  background: rgba(247, 247, 244, 0.76);
  box-shadow: 0 8px 24px rgba(25, 25, 22, 0.055);
  transform: translateX(-50%);
  transition:
    background 240ms var(--ease),
    box-shadow 240ms var(--ease),
    color 240ms var(--ease);
}

.site-header.is-scrolled {
  background: rgba(247, 247, 244, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 28px rgba(25, 25, 22, 0.075);
}

.brand,
.header-identity,
.top-nav,
.mobile-nav,
.software-strip,
.contact-links {
  display: flex;
  align-items: center;
}

.header-identity {
  gap: 14px;
  min-width: 0;
}

.back-to-directory {
  display: inline-flex;
  min-height: 32px;
  padding: 0 10px;
  align-items: center;
  border-radius: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.06em;
  white-space: nowrap;
  transition:
    background-color 180ms var(--ease),
    color 180ms var(--ease),
    transform 180ms var(--ease);
}

.back-to-directory:hover {
  background: var(--text);
  color: var(--paper);
  transform: translateX(-2px);
}

.brand {
  gap: 12px;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.brand__mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 999px;
  background: var(--text);
  color: var(--paper);
  font-size: 12px;
}

.top-nav {
  gap: clamp(14px, 3vw, 36px);
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.top-nav a {
  display: inline-flex;
  min-height: 36px;
  padding: 0 12px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition:
    background-color 180ms var(--ease),
    color 180ms var(--ease),
    transform 180ms var(--ease);
}

.top-nav a:hover {
  background: var(--text);
  color: var(--paper);
  transform: translateY(-1px);
}

.top-nav a:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

.mobile-nav {
  display: none;
}

.hero {
  min-height: 100svh;
  padding: 142px var(--pad) clamp(72px, 9vw, 128px);
}

.hero__inner {
  width: min(100%, 1120px);
  margin: auto;
  text-align: center;
}

.hero__avatar {
  display: grid;
  width: clamp(58px, 8vw, 86px);
  height: clamp(58px, 8vw, 86px);
  margin: 0 auto 28px;
  place-items: center;
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(224, 224, 219, 0.86)),
    var(--paper);
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.08em;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: clamp(11px, 1.4vw, 13px);
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 1100px;
  margin-inline: auto;
  margin-bottom: 24px;
  font-size: clamp(46px, 8vw, 112px);
  line-height: 0.92;
  letter-spacing: -0.09em;
}

h1 span {
  display: block;
}

.hero__lead {
  max-width: 1080px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 24px);
  line-height: 1.55;
}

.hero__lead span {
  display: block;
}

.software-strip {
  width: min(100%, 760px);
  margin: 0 auto clamp(48px, 6vw, 76px);
  padding: 0;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.software-item {
  display: grid;
  min-width: 58px;
  min-height: 34px;
  padding: 0 10px;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #343431;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    background-color 220ms var(--ease),
    border-color 220ms var(--ease),
    box-shadow 220ms var(--ease),
    color 220ms var(--ease),
    transform 220ms var(--ease);
}

.software-item:hover {
  background: var(--tool-fill);
  border-color: var(--tool-fill);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--tool-fill) 28%, transparent);
  color: var(--tool-text, #fff);
  transform: translateY(-3px) scale(1.04);
}

.software-item--figma {
  --tool-fill: #f24e1e;
}

.software-item--photoshop {
  --tool-fill: #001e36;
}

.software-item--illustrator {
  --tool-fill: #ff9a00;
  --tool-text: #2b1600;
}

.software-item--lightroom {
  --tool-fill: #31a8ff;
  --tool-text: #001e36;
}

.software-item--indesign {
  --tool-fill: #ff3366;
}

.software-item--after-effects {
  --tool-fill: #9999ff;
  --tool-text: #09002d;
}

.software-item--blender {
  --tool-fill: #ea7600;
}

.software-item--corel {
  --tool-fill: #68b644;
}

.direction-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(28px, 6vw, 88px);
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: left;
}

.direction-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 16px;
  min-height: 156px;
  padding: 28px 4px 30px;
  border-top: 1px solid var(--line);
}

.direction-card:nth-child(n + 3) {
  border-bottom: 1px solid var(--line);
}

.direction-card__icon {
  width: 28px;
  height: 28px;
  margin-top: 4px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.direction-card h2 {
  margin: 0 0 10px;
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 650;
  letter-spacing: -0.05em;
}

.direction-card p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.5;
}

.projects {
  padding: clamp(72px, 11vw, 150px) var(--pad);
}

.section-heading,
.project-row,
.contact {
  width: min(100%, var(--max));
  margin-inline: auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(28px, 6vw, 82px);
  margin-bottom: clamp(56px, 9vw, 120px);
}

.section-heading h2 {
  grid-column: 2;
  margin: 0;
  font-size: clamp(52px, 11vw, 170px);
  line-height: 0.86;
  letter-spacing: -0.1em;
}

.project-row {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(300px, 0.42fr);
  align-items: center;
  gap: clamp(28px, 6vw, 96px);
  min-height: 76vh;
  padding-block: clamp(42px, 7vw, 90px);
}

/* Direct-only projects remain reachable by URL without appearing in the portfolio flow. */
.project-row[hidden] {
  display: none !important;
}

.project-row--reverse .project-visual {
  grid-column: 2;
  grid-row: 1;
}

.project-row--reverse .project-copy {
  grid-column: 1;
  grid-row: 1;
}

.project-visual {
  display: block;
  min-height: clamp(360px, 54vw, 680px);
  transition: transform 420ms var(--ease);
}

.project-visual:hover {
  transform: translateY(-8px);
}

.cube-composition {
  position: relative;
  width: 100%;
  height: clamp(360px, 54vw, 680px);
  overflow: hidden;
  background: #101321;
}

.cube-composition img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}

.project-visual:hover .cube-composition img {
  transform: scale(1.025);
}

.eclat-composition {
  position: relative;
  display: grid;
  width: 100%;
  height: clamp(360px, 54vw, 680px);
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 51% 48%, rgba(245, 209, 167, 0.9), rgba(245, 209, 167, 0) 23%),
    radial-gradient(circle at 22% 20%, rgba(244, 152, 204, 0.72), rgba(244, 152, 204, 0) 28%),
    linear-gradient(145deg, #dfe9eb 0%, #f4f0e9 48%, #d4e1e1 100%);
}

.eclat-composition::before {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: linear-gradient(rgba(63, 83, 84, 0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(63, 83, 84, 0.12) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
}

.eclat-orbit,
.eclat-prism {
  position: absolute;
  z-index: 1;
  display: block;
}

.eclat-orbit {
  width: min(88%, 540px);
  aspect-ratio: 1;
  border: 1px solid rgba(46, 55, 58, 0.25);
  border-radius: 50%;
}

.eclat-orbit--one { transform: rotateX(62deg) rotateZ(20deg); }
.eclat-orbit--two { transform: rotateX(62deg) rotateZ(-46deg) scale(0.72); }

.eclat-prism {
  width: clamp(86px, 15vw, 180px);
  aspect-ratio: 0.7;
  filter: drop-shadow(20px 25px 22px rgba(44, 47, 52, 0.22));
  transform: skewY(-21deg) rotate(16deg);
}

.eclat-prism--pink {
  top: 14%;
  right: 13%;
  background: linear-gradient(135deg, #ffe4ee 4%, #f49bd0 50%, #bc68b1 100%);
}

.eclat-prism--gold {
  bottom: 7%;
  left: 15%;
  background: linear-gradient(135deg, #fff8d6 4%, #e2b463 52%, #b77b39 100%);
  transform: skewY(-21deg) rotate(196deg) scale(0.72);
}

.eclat-sheet {
  position: relative;
  z-index: 3;
  display: grid;
  width: min(72%, 460px);
  min-height: 46%;
  padding: clamp(24px, 4vw, 50px);
  align-content: center;
  border: 1px solid rgba(47, 54, 55, 0.18);
  background: rgba(255, 253, 249, 0.77);
  color: #202326;
  box-shadow: 22px 28px 0 rgba(47, 54, 55, 0.08);
  backdrop-filter: blur(12px);
  transform: rotate(-4deg);
}

.eclat-sheet__eyebrow,
.eclat-sheet__caption {
  color: #697377;
  font-size: clamp(10px, 1.1vw, 13px);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eclat-sheet strong {
  margin: 14px 0 5px;
  font-size: clamp(54px, 10vw, 130px);
  line-height: 0.78;
  letter-spacing: -0.11em;
}

.planner-composition {
  position: relative;
  width: 100%;
  height: clamp(360px, 54vw, 680px);
}

.ean-composition {
  position: relative;
  display: grid;
  width: 100%;
  height: clamp(360px, 54vw, 680px);
  place-items: center;
  overflow: hidden;
}

.ean-sheet {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(78%, 500px);
  min-height: 62%;
  padding: clamp(24px, 4vw, 48px);
  align-content: center;
  background: #fdfdf9;
  color: #151515;
  transform: rotate(5deg);
}

.ean-sheet__eyebrow,
.ean-sheet__caption,
.ean-code {
  font-size: clamp(10px, 1.1vw, 13px);
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ean-sheet__eyebrow,
.ean-sheet__caption {
  color: #777770;
}

.ean-sheet strong {
  margin: 14px 0 2px;
  font-size: clamp(56px, 10vw, 132px);
  line-height: 0.8;
  letter-spacing: -0.1em;
}

.ean-bars {
  height: clamp(80px, 12vw, 150px);
  margin: clamp(26px, 4vw, 48px) 0 12px;
  background:
    linear-gradient(90deg, #161616 0 3%, transparent 3% 5%, #161616 5% 7%, transparent 7% 9%, #161616 9% 13%, transparent 13% 15%, #161616 15% 16%, transparent 16% 19%, #161616 19% 24%, transparent 24% 26%, #161616 26% 27%, transparent 27% 29%, #161616 29% 32%, transparent 32% 35%, #161616 35% 40%, transparent 40% 42%, #161616 42% 43%, transparent 43% 46%, #161616 46% 50%, transparent 50% 53%, #161616 53% 56%, transparent 56% 59%, #161616 59% 61%, transparent 61% 65%, #161616 65% 70%, transparent 70% 72%, #161616 72% 73%, transparent 73% 76%, #161616 76% 81%, transparent 81% 83%, #161616 83% 86%, transparent 86% 89%, #161616 89% 94%, transparent 94% 96%, #161616 96% 100%);
}

.ean-code {
  justify-self: center;
  letter-spacing: 0.3em;
}

.qr-composition {
  position: relative;
  display: grid;
  width: 100%;
  height: clamp(360px, 54vw, 680px);
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 22%, rgba(115, 80, 255, 0.42), transparent 24%),
    linear-gradient(145deg, #1e1c28 0%, #31265a 52%, #8d6bf0 160%);
}

.qr-sheet {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(76%, 500px);
  min-height: 70%;
  padding: clamp(24px, 4vw, 48px);
  align-content: center;
  overflow: hidden;
  background: #faf9ff;
  color: #201b36;
  box-shadow: 20px 28px 0 rgba(19, 15, 37, 0.2);
  transform: rotate(-5deg);
}

.qr-sheet::before {
  position: absolute;
  inset: 0;
  opacity: 0.65;
  background-image: linear-gradient(rgba(40, 28, 83, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(40, 28, 83, 0.06) 1px, transparent 1px);
  background-size: 20px 20px;
  content: "";
}

.qr-sheet > * { position: relative; }

.qr-sheet__eyebrow,
.qr-sheet__caption {
  color: #6f6496;
  font-size: clamp(10px, 1.1vw, 13px);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.qr-sheet strong {
  margin: 15px 0 4px;
  font-size: clamp(48px, 8.3vw, 112px);
  line-height: 0.72;
  letter-spacing: -0.11em;
}

.qr-symbol {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  width: min(100%, 265px);
  aspect-ratio: 1;
  margin: clamp(26px, 4vw, 46px) 0 5px;
  padding: 12px;
  background:
    linear-gradient(#241a55 0 0) 0 0 / 30% 30% no-repeat,
    linear-gradient(#241a55 0 0) 100% 0 / 30% 30% no-repeat,
    linear-gradient(#241a55 0 0) 0 100% / 30% 30% no-repeat,
    #dcd6fb;
}

.qr-symbol::after {
  position: absolute;
  inset: 16% 16%;
  border: 9px solid #dcd6fb;
  content: "";
}

.qr-symbol i {
  z-index: 1;
  min-width: 0;
  background: #463785;
}

.qr-symbol i:nth-child(2n),
.qr-symbol i:nth-child(5n) { background: transparent; }

.planner-card,
.planner-phone {
  position: absolute;
  overflow: hidden;
  background: #191b18;
}

.planner-card--wide {
  right: 0;
  bottom: 8%;
  width: 76%;
  height: 46%;
  border-radius: 24px;
  transform: rotate(-5deg);
}

.planner-phone {
  width: 29%;
  min-width: 118px;
  height: 70%;
  border-radius: 32px;
}

.planner-phone--front {
  left: 26%;
  top: 4%;
  z-index: 3;
  transform: rotate(-6deg);
}

.planner-phone--back {
  left: 6%;
  top: 16%;
  z-index: 2;
  background: #f3f3ee;
  transform: rotate(8deg);
}

.phone-bar,
.phone-title,
.task,
.planner-date,
.planner-line,
.planner-progress {
  position: absolute;
  display: block;
}

.phone-bar {
  top: 14px;
  left: 50%;
  width: 34%;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  transform: translateX(-50%);
}

.phone-title {
  top: 48px;
  left: 18px;
  color: #f3f3ee;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.planner-phone--back .phone-title {
  color: #171717;
}

.task {
  left: 18px;
  right: 18px;
  height: 13%;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
}

.task:nth-of-type(3) {
  top: 29%;
}

.task:nth-of-type(4) {
  top: 46%;
}

.task:nth-of-type(5) {
  top: 63%;
}

.task--green {
  background: rgba(182, 215, 170, 0.72);
}

.task--red {
  background: rgba(208, 164, 160, 0.74);
}

.planner-date {
  top: 12%;
  left: 8%;
  color: #f3f3ee;
  font-size: clamp(18px, 3vw, 42px);
  font-weight: 800;
  letter-spacing: -0.06em;
}

.planner-line {
  top: 42%;
  left: 8%;
  width: 64%;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.planner-line--short {
  top: 52%;
  width: 46%;
}

.planner-progress {
  right: 8%;
  bottom: 16%;
  width: 34%;
  height: 12px;
  border-radius: 999px;
  background: var(--green);
}

.project-copy {
  align-self: center;
}

.project-meta {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-copy h3 {
  margin-bottom: 22px;
  font-size: clamp(54px, 9vw, 132px);
  line-height: 0.84;
  letter-spacing: -0.1em;
}

.project-copy p:not(.project-meta) {
  max-width: 520px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.58;
}

.project-link {
  display: inline-flex;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-action {
  display: inline-flex;
  min-height: 42px;
  padding: 0 14px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    background-color 180ms var(--ease),
    border-color 180ms var(--ease),
    color 180ms var(--ease),
    transform 180ms var(--ease);
}

.project-action:hover {
  border-color: var(--text);
  background: var(--text);
  color: var(--paper);
  transform: translateY(-2px);
}

.project-action--primary {
  border-color: var(--text);
  background: var(--text);
  color: var(--paper);
}

.project-action--primary:hover {
  background: transparent;
  color: var(--text);
}

.future-note {
  width: min(100%, var(--max));
  margin: clamp(34px, 8vw, 90px) auto 0;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 22px);
}

.anchor-fix {
  position: relative;
  top: -120px;
}

.contact {
  min-height: 64vh;
  padding: clamp(76px, 12vw, 160px) var(--pad);
  text-align: center;
}

.contact h2 {
  margin-bottom: 24px;
  font-size: clamp(48px, 10vw, 150px);
  line-height: 0.9;
  letter-spacing: -0.1em;
}

.contact p {
  max-width: 660px;
  margin: 0 auto 32px;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.58;
}

.contact-links {
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-links a:hover {
  color: var(--text);
}

@media (max-width: 760px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    padding-inline: 12px;
  }

  .brand__text {
    max-width: 126px;
    line-height: 1.05;
  }

  .header-identity {
    width: 100%;
    gap: 6px;
    justify-content: space-between;
  }

  .back-to-directory {
    min-height: 30px;
    padding-inline: 7px;
    font-size: 10px;
    letter-spacing: 0.03em;
  }

  .brand {
    margin-left: auto;
    gap: 8px;
    text-align: right;
  }

  .brand__mark {
    width: 32px;
    height: 32px;
    font-size: 10px;
  }

  .brand__text {
    max-width: 112px;
    font-size: 12px;
  }

  .top-nav {
    display: none;
  }

  .mobile-nav {
    position: fixed;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 10px;
    z-index: 20;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 56px;
    overflow: hidden;
    border-radius: 15px;
    background: rgba(247, 247, 244, 0.9);
    box-shadow: 0 10px 28px rgba(25, 25, 22, 0.09);
    isolation: isolate;
  }

  .mobile-nav::before,
  .mobile-nav::after {
    position: absolute;
    left: 0;
    content: "";
    pointer-events: none;
  }

  .mobile-nav::before {
    top: 0;
    bottom: 0;
    z-index: 0;
    width: var(--scroll-progress, 0%);
    background: rgba(21, 21, 21, 0.08);
    transition: width 120ms linear;
  }

  .mobile-nav::after {
    bottom: 0;
    z-index: 1;
    width: var(--scroll-progress, 0%);
    height: 2px;
    background: var(--text);
    transition: width 120ms linear;
  }

  .mobile-nav a {
    position: relative;
    z-index: 2;
    display: grid;
    min-width: 0;
    padding: 0 12px;
    place-items: center;
    color: var(--text);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .mobile-nav a + a {
    border-left: 1px solid rgba(21, 21, 21, 0.1);
  }

  .mobile-nav a:active {
    background: rgba(21, 21, 21, 0.08);
  }

  .hero {
    padding-top: 108px;
  }

  .hero__lead span {
    display: inline;
  }

  h1 {
    font-size: clamp(42px, 12.1vw, 58px);
    letter-spacing: -0.08em;
  }

  .software-strip {
    margin-bottom: 42px;
  }

  .software-item {
    min-width: 44px;
    min-height: 28px;
    font-size: 10px;
  }

  .direction-cards {
    grid-template-columns: 1fr;
  }

  .direction-card {
    min-height: 0;
    padding: 22px 2px;
  }

  .direction-card:nth-child(n + 3) {
    border-bottom: 0;
  }

  .direction-card:last-child {
    border-bottom: 1px solid var(--line);
  }

  .section-heading,
  .project-row {
    grid-template-columns: 1fr;
  }

  .project-row--reverse .project-visual,
  .project-row--reverse .project-copy {
    grid-column: auto;
    grid-row: auto;
  }

  .section-heading h2 {
    grid-column: auto;
  }

  .project-row {
    min-height: auto;
    gap: 24px;
  }

  .project-visual,
  .planner-composition,
  .ean-composition,
  .cube-composition {
    min-height: 420px;
    height: 420px;
  }

  .project-copy {
    order: -1;
  }

  .contact {
    padding-bottom: calc(112px + env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
