:root {
  color-scheme: dark;
  --bg: #050505;
  --bg-soft: #0a0a0d;
  --panel: rgba(255, 255, 255, 0.055);
  --panel-strong: rgba(255, 255, 255, 0.1);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f5f5f0;
  --muted: rgba(240, 243, 245, 0.68);
  --faint: rgb(255, 255, 255);
  --cyan: #50d4ad;
  --lime: #da7c7c;
  --coral: #e2b269;
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1180px;
  --pad: clamp(20px, 4vw, 64px);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 16% 8%, rgba(120, 231, 255, 0.16), transparent 30rem),
    radial-gradient(circle at 88% 28%, rgba(255, 143, 112, 0.12), transparent 28rem),
    linear-gradient(180deg, #050505 0%, #07080b 42%, #050505 100%),
    var(--bg);
  color: var(--text);
  font-family: var(--body);
  text-rendering: geometricPrecision;
}

img,
video {
  display: block;
  max-width: 100%;
}

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

ul {
  list-style: none;
}

::selection {
  background: var(--cyan);
  color: #050505;
}

/* === Loader === */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--bg);
  clip-path: circle(150% at 50% 50%);
}

.loader__inner {
  display: grid;
  place-items: center;
  gap: 28px;
  text-align: center;
}

.loader__logo {
  width: clamp(100px, 16vw, 200px);
  height: auto;
  opacity: 0;
  will-change: transform, opacity;
}

.loader__bar {
  width: 200px;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.loader__bar-fill {
  width: 100%;
  height: 100%;
  background: var(--cyan);
  border-radius: 2px;
  transform-origin: left;
  transform: scaleX(0);
  will-change: transform;
}

.loader__tagline {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0;
  will-change: transform, opacity;
}

body.is-loading {
  overflow: hidden;
}
/* === /Loader === */

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 9999;
  transform: translateY(-140%);
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  padding: 12px 16px;
  font-weight: 700;
  transition: transform 0.25s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px var(--pad);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(5, 5, 5, 0.44);
  backdrop-filter: blur(18px);
  transition: padding 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}

.site-header.is-scrolled {
  padding-block: 10px;
  border-color: rgba(255, 255, 255, 0.11);
  background: rgba(5, 5, 5, 0.76);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 78px;
}

.brand img {
  width: clamp(70px, 8vw, 104px);
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 38px);
}

.main-nav a {
  position: relative;
  color: rgba(245, 245, 240, 0.78);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: currentColor;
  transition: transform 0.25s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--text);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 160px var(--pad) 56px;
  overflow: hidden;
  isolation: isolate;
}

.hero__video,
.hero__shade,
.hero__grid {
  position: absolute;
  inset: 0;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -4;
  opacity: 0.86;
  filter: saturate(1.05) contrast(1.06) brightness(1.08);
}

.hero__shade {
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.74), rgba(5, 5, 5, 0.18) 46%, rgba(5, 5, 5, 0.58)),
    linear-gradient(0deg, var(--bg) 0%, rgba(5, 5, 5, 0.18) 36%, transparent 68%),
    rgba(0, 0, 0, 0.04);
}

.hero__grid {
  z-index: -2;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

section[id] {
  scroll-margin-top: 100px;
}

.hero__content,
.hero__meta,
.section,
.site-footer {
  width: min(100%, var(--max));
  margin-inline: auto;
}

.hero__content {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section__label {
  color: var(--faint);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero__title {
  max-width: 1050px;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  font-family: var(--display);
  font-size: 8.8rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.88;
  overflow-wrap: break-word;
  word-break: break-word;
}

.hero__title span {
  display: block;
  max-width: 100%;
}

.title-accent {
  color: transparent;
  -webkit-text-stroke: 1.5px currentColor;
  text-stroke: 1.5px currentColor;
}

.title-accent--cyan {
  color: var(--cyan);
  text-shadow: 0 0 36px rgba(120, 231, 255, 0.18);
}

.title-soft {
  color: rgba(245, 245, 240, 0.72);
  font-size: 0.72em;
  font-weight: 600;
}

.hero__text {
  max-width: 720px;
  margin-top: 34px;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 14px 22px;
  font-size: 0.86rem;
  font-weight: 800;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--text);
  color: var(--bg);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  backdrop-filter: blur(18px);
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 72px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.08);
}

.hero__meta span {
  min-height: 58px;
  display: grid;
  place-items: center;
  background: rgba(5, 5, 5, 0.54);
  color: rgba(245, 245, 240, 0.62);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section {
  position: relative;
  padding: clamp(92px, 12vw, 180px) var(--pad);
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 112px 112px;
  mask-image: linear-gradient(90deg, transparent, black 18%, black 82%, transparent);
  opacity: 0.24;
}

.section::after {
  content: "";
  position: absolute;
  inset: 12% auto auto 50%;
  z-index: -3;
  width: min(58vw, 760px);
  aspect-ratio: 1;
  pointer-events: none;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(120, 231, 255, 0.08), transparent 58%),
    radial-gradient(circle at 70% 35%, rgba(255, 143, 112, 0.07), transparent 46%);
  filter: blur(4px);
  opacity: 0.78;
}

.intro {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: clamp(32px, 7vw, 96px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.72), rgba(8, 9, 12, 0.82));
}

.intro__copy h2,
.section-heading h2,
.pillar__content h2,
.about__content h2,
.contact__content h2 {
  max-width: 980px;
  font-family: var(--display);
  font-size: 5.4rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.98;
  overflow-wrap: break-word;
  word-break: break-word;
}

.text-cyan {
  color: var(--cyan);
}

.text-lime {
  color: var(--lime);
}

.text-coral {
  color: var(--coral);
}

.intro__copy p,
.pillar__content p,
.about__content p,
.contact__content p {
  max-width: 700px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.pillar {
  display: grid;
  grid-template-columns: minmax(240px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: center;
  background:
    linear-gradient(180deg, rgba(7, 8, 11, 0.86), rgba(5, 5, 5, 0.78)),
    radial-gradient(circle at 12% 50%, rgba(255, 255, 255, 0.06), transparent 24rem);
}

.pillar--reverse {
  grid-template-columns: minmax(0, 1.22fr) minmax(240px, 0.78fr);
}

.pillar--reverse .pillar__visual {
  order: 2;
}

.pillar__visual {
  position: relative;
  min-height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), transparent 55%),
    rgba(255, 255, 255, 0.035);
}

.pillar__visual::before {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transform: rotate(-8deg);
}

.pillar__visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(to top, rgba(5, 5, 5, 0.78), transparent);
}

/* === Pillar particles & icon === */
.pillar__visual {
  will-change: transform;
}

.pillar__particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
}

.pillar__particle--a {
  width: 100px;
  height: 100px;
  top: 12%;
  left: 8%;
  animation: float-a 8s ease-in-out infinite;
}

.pillar__particle--b {
  width: 60px;
  height: 60px;
  bottom: 18%;
  right: 10%;
  animation: float-b 10s ease-in-out infinite;
}

[data-accent="cyan"] .pillar__particle {
  background: radial-gradient(circle, rgba(120, 231, 255, 0.12) 0%, transparent 70%);
}

[data-accent="lime"] .pillar__particle {
  background: radial-gradient(circle, rgba(215, 255, 114, 0.12) 0%, transparent 70%);
}

[data-accent="coral"] .pillar__particle {
  background: radial-gradient(circle, rgba(255, 143, 112, 0.12) 0%, transparent 70%);
}

.pillar__icon {
  position: absolute;
  width: 26%;
  height: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.5;
  will-change: transform;
}

[data-accent="cyan"] .pillar__icon {
  color: var(--cyan);
}

[data-accent="lime"] .pillar__icon {
  color: var(--lime);
}

[data-accent="coral"] .pillar__icon {
  color: var(--coral);
}

.pillar__img {
  position: absolute;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  height: auto;
}

.pillar__img--a {
  right: -24px;
  bottom: -24px;
  width: 58%;
  max-width: 340px;
  opacity: 0.8;
  transform: rotate(-3deg);
  z-index: 2;
}

.pillar__img--b {
  top: 14%;
  left: -16px;
  width: 38%;
  max-width: 220px;
  opacity: 0.5;
  transform: rotate(2deg);
  z-index: 1;
}

.pillar__img--c {
  top: 8%;
  right: 10%;
  width: 32%;
  max-width: 190px;
  opacity: 0.35;
  transform: rotate(-5deg);
  z-index: 0;
}

.pillar__com {
  position: absolute;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  height: auto;
}

.pillar__com--a {
  left: -24px;
  bottom: -24px;
  width: 54%;
  max-width: 320px;
  opacity: 0.8;
  transform: rotate(2deg);
  z-index: 2;
}

.pillar__com--b {
  top: 12%;
  right: -16px;
  width: 40%;
  max-width: 230px;
  opacity: 0.5;
  transform: rotate(-3deg);
  z-index: 1;
}

@keyframes float-a {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(18px, -22px); }
  66% { transform: translate(-8px, 14px); }
}

@keyframes float-b {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-16px, 18px); }
}
/* === /Pillar particles === */

[data-accent="cyan"] .pillar__visual {
  box-shadow: inset 0 0 90px rgba(120, 231, 255, 0.13);
}

[data-accent="lime"] .pillar__visual {
  box-shadow: inset 0 0 90px rgba(215, 255, 114, 0.12);
}

[data-accent="coral"] .pillar__visual {
  box-shadow: inset 0 0 90px rgba(255, 143, 112, 0.13);
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.service-list li {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  padding: 12px 16px;
  color: rgba(245, 245, 240, 0.78);
  font-size: 0.9rem;
  font-weight: 700;
}

.section-heading {
  margin-top: 24px;
  margin-bottom: clamp(44px, 8vw, 96px);
}

/* === Process Timeline === */
.process__track {
  position: relative;
  overflow: hidden;
}

.process__strip {
  display: flex;
  gap: 24px;
  will-change: transform;
  padding-top: 32px;
  padding-bottom: 16px;
}

.process__card {
  flex: 0 0 auto;
  width: min(340px, 80vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 44px 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  transition: border-color 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}

.process__card.is-active {
  border-color: rgba(120, 231, 255, 0.2);
  background: rgba(120, 231, 255, 0.04);
  box-shadow: inset 0 0 60px rgba(120, 231, 255, 0.06);
}

.process__step {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  margin-bottom: 24px;
  transition: border-color 0.4s ease, background 0.4s ease;
}

.process__card.is-active .process__step {
  border-color: var(--cyan);
  background: rgba(120, 231, 255, 0.1);
}

.process__step-num {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--faint);
  transition: color 0.4s ease;
}

.process__card.is-active .process__step-num {
  color: var(--cyan);
}

.process__card h3 {
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 14px;
}

.process__card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}
/* === /Process Timeline === */

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.project-card {
  position: relative;
  min-height: 520px;
  display: grid;
  align-content: end;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: var(--panel);
}

.project-card--wide {
  grid-column: 1 / -1;
  min-height: 640px;
}

.project-card__media {
  position: absolute;
  inset: 0;
  opacity: 0.92;
  transition: transform 0.8s ease;
}

.project-card:hover .project-card__media {
  transform: scale(1.035);
}

.project-card__media--motion {
  background:
    radial-gradient(circle at 72% 28%, rgba(245, 245, 240, 0.2), transparent 16rem),
    linear-gradient(120deg, rgba(120, 231, 255, 0.24), transparent 52%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 90px),
    linear-gradient(135deg, #111318, #050505);
}

.project-card__media--editorial {
  background:
    radial-gradient(circle at 76% 72%, rgba(245, 245, 240, 0.18), transparent 13rem),
    linear-gradient(160deg, rgba(215, 255, 114, 0.18), transparent 46%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.13) 0 1px, transparent 1px 42px),
    #090a08;
}

.project-card__media--brand {
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 54px),
    radial-gradient(circle at 25% 20%, rgba(255, 143, 112, 0.32), transparent 22rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 42%),
    #0b0808;
}

.project-card__content {
  position: relative;
  z-index: 1;
  padding: clamp(24px, 5vw, 48px);
  background: linear-gradient(to top, rgba(5, 5, 5, 0.9), rgba(5, 5, 5, 0));
}

.project-card__content span {
  color: var(--faint);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.project-card__content h3 {
  max-width: 760px;
  margin-top: 16px;
  font-size: 4.5rem;
  line-height: 0.98;
  overflow-wrap: break-word;
  word-break: break-word;
}

.about,
.contact {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(36px, 7vw, 92px);
  align-items: center;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.72), rgba(9, 10, 13, 0.86));
}

.about__logo {
  display: grid;
  min-height: 360px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle, rgba(245, 245, 240, 0.12), transparent 54%),
    rgba(255, 255, 255, 0.035);
}

.about__logo img {
  width: min(52%, 260px);
  opacity: 0.92;
}

.contact {
  align-items: stretch;
}

.contact__panel {
  display: grid;
  gap: 14px;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  padding: clamp(24px, 5vw, 48px);
}

.contact-link {
  display: flex;
  min-height: 58px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(245, 245, 240, 0.76);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.field {
  position: relative;
}

.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.5;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--faint);
  opacity: 0.7;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(120, 231, 255, 0.35);
  box-shadow: 0 0 0 3px rgba(120, 231, 255, 0.08);
  background: rgba(255, 255, 255, 0.07);
}

.field textarea {
  resize: vertical;
  min-height: 90px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding: 34px var(--pad);
  color: var(--faint);
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--text);
  font-weight: 800;
}

@media (max-width: 980px) {
  .main-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .hero__title {
    font-size: 5.2rem;
  }

  .intro__copy h2,
  .section-heading h2,
  .pillar__content h2,
  .about__content h2,
  .contact__content h2 {
    font-size: 3.8rem;
  }

  .pillar__visual {
    min-height: 420px;
  }

  .process__track {
    overflow: visible;
  }

  .process__strip {
    flex-direction: column;
    gap: 0;
    padding-top: 0;
  }

  .process__card {
    width: 100%;
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 20px;
    padding: 36px 0;
    border: none;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: none;
  }

  .process__card.is-active {
    box-shadow: none;
    border-color: var(--line);
    background: none;
  }

  .process__step {
    margin-bottom: 0;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
  }

  .process__step-num {
    font-size: 1.05rem;
  }

  .process__card h3 {
    font-size: 1.5rem;
    margin-bottom: 6px;
  }

  .project-card__content h3 {
    font-size: 3.2rem;
  }

  .intro,
  .pillar,
  .pillar--reverse,
  .about,
  .contact {
    grid-template-columns: 1fr;
  }

  .pillar--reverse .pillar__visual {
    order: 0;
  }

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

@media (max-width: 640px) {
  .hero {
    padding-top: 160px;
    padding-bottom: 40px;
  }

  .hero__title {
    font-size: 3rem;
    line-height: 0.92;
    gap: 0;
  }

  .hero__title span {
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .hero__text {
    font-size: 0.95rem;
    margin-top: 22px;
  }

  .eyebrow {
    font-size: 0.7rem;
  }

  .intro__copy h2,
  .section-heading h2,
  .pillar__content h2,
  .about__content h2,
  .contact__content h2 {
    font-size: 2.1rem;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .pillar__visual {
    min-height: 300px;
  }

  .pillar__img--a {
    right: -12px;
    bottom: -12px;
    width: 48%;
    transform: rotate(-2deg);
  }

  .pillar__img--b {
    top: 18%;
    left: -10px;
    width: 30%;
  }

  .pillar__img--c {
    display: none;
  }

  .pillar__com--a {
    left: -12px;
    bottom: -12px;
    width: 44%;
  }

  .pillar__com--b {
    display: none;
  }

  .process__card {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 12px;
    padding: 28px 0;
  }

  .process__step {
    margin-bottom: 0;
  }

  .process__card h3 {
    font-size: 1.4rem;
  }

  .process__card p {
    font-size: 0.9rem;
  }

  .hero__meta {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 44px;
  }

  .button {
    width: 100%;
  }

  .project-card,
  .project-card--wide {
    min-height: 400px;
  }

  .project-card__content h3 {
    font-size: 2rem;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 380px) {
  .hero__title {
    font-size: 2.4rem;
  }

  .intro__copy h2,
  .section-heading h2,
  .pillar__content h2,
  .about__content h2,
  .contact__content h2 {
    font-size: 1.7rem;
  }

  .hero__text {
    font-size: 0.88rem;
  }
}

/* === Modal === */
.modal {
  position: fixed;
  inset: 0;
  z-index: -1;
  display: none;
  place-items: center;
  padding: var(--pad);
  opacity: 0;
}

.modal.is-open {
  z-index: 500;
  transition: z-index 0s;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.88);
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.modal__panel {
  position: relative;
  width: min(100%, 720px);
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  transform: translateY(40px) scale(0.96);
  opacity: 0;
}

.modal.is-open .modal__panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(5, 5, 5, 0.6);
  color: var(--text);
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.modal__close:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.modal__media {
  width: 100%;
  height: 240px;
  border-radius: 12px 12px 0 0;
}

.modal__media--motion {
  background: radial-gradient(circle at 72% 28%, rgba(245, 245, 240, 0.2), transparent 16rem),
    linear-gradient(120deg, rgba(120, 231, 255, 0.24), transparent 52%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 90px),
    linear-gradient(135deg, #111318, #050505);
}

.modal__media--editorial {
  background: radial-gradient(circle at 76% 72%, rgba(245, 245, 240, 0.18), transparent 13rem),
    linear-gradient(160deg, rgba(215, 255, 114, 0.18), transparent 46%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.13) 0 1px, transparent 1px 42px),
    #090a08;
}

.modal__media--brand {
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 54px),
    radial-gradient(circle at 25% 20%, rgba(255, 143, 112, 0.32), transparent 22rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 42%),
    #0b0808;
}

.modal__body {
  padding: 32px clamp(24px, 5vw, 40px);
}

.modal__tag {
  display: inline-block;
  color: var(--faint);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.modal__title {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.modal__desc {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.project-card {
  cursor: pointer;
  will-change: transform;
}
/* === /Modal === */

/* === Back to top === */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: clamp(20px, 4vw, 48px);
  z-index: 300;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(5, 5, 5, 0.7);
  backdrop-filter: blur(12px);
  color: var(--text);
  cursor: pointer;
  opacity: 0;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.back-to-top:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 640px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
}
/* === /Back to top === */

/* === Lenis === */
html.lenis {
  scroll-behavior: auto;
}

.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
