:root {
  --bg: #070707;
  --bg-soft: #111111;
  --panel: rgba(20, 20, 20, 0.82);
  --panel-light: rgba(255, 255, 255, 0.08);
  --text: #f5f1e9;
  --muted: rgba(245, 241, 233, 0.72);
  --line: rgba(255, 255, 255, 0.1);
  --accent: #ff5a1f;
  --accent-2: #f0d3a8;
  --radius: 30px;
  --container: min(1240px, calc(100vw - 48px));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(255, 90, 31, 0.12), transparent 22%),
    radial-gradient(circle at left center, rgba(29, 73, 255, 0.1), transparent 28%),
    linear-gradient(180deg, #080808 0%, #060606 100%);
  overflow-x: clip;
}

body.is-loaded .preloader {
  opacity: 0;
  visibility: hidden;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

button,
input,
textarea {
  font: inherit;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  gap: 0.9rem;
  background:
    radial-gradient(circle at center, rgba(92, 58, 26, 0.16), transparent 24%),
    linear-gradient(180deg, #060606 0%, #030303 100%);
  overflow: hidden;
  transition: opacity 0.9s var(--ease), visibility 0.9s var(--ease);
}

.preloader__shader,
.preloader__veil {
  position: absolute;
  inset: 0;
}

.preloader__shader {
  width: 100%;
  height: 100%;
  display: block;
}

.preloader__veil {
  background:
    radial-gradient(circle at center, rgba(215, 173, 112, 0.08) 0%, rgba(0, 0, 0, 0.34) 26%, rgba(0, 0, 0, 0.72) 56%, rgba(0, 0, 0, 0.94) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.26), rgba(0, 0, 0, 0.78));
  pointer-events: none;
}

.preloader__content {
  position: relative;
  z-index: 2;
  width: min(840px, calc(100vw - 32px));
  max-width: 100%;
  display: grid;
  place-items: center;
  gap: 0.9rem;
  padding: 2.4rem 1.6rem 2rem;
}

.preloader__mark {
  font-family: "Syne", sans-serif;
  font-size: clamp(4rem, 10vw, 7.5rem);
  font-weight: 800;
  letter-spacing: -0.07em;
  display: inline-flex;
  align-items: center;
  gap: 0.02em;
  overflow: hidden;
}

.preloader__brand {
  margin: -0.25rem 0 0;
  font-family: "Syne", sans-serif;
  font-size: clamp(1rem, 2vw, 1.45rem);
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(255, 242, 225, 0.9);
  opacity: 0;
  transform: translateY(14px);
  text-shadow: 0 0 30px rgba(216, 173, 116, 0.12);
  animation: preloaderBrand 1s var(--ease) 0.82s forwards;
}

.preloader__letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(120%) scale(0.86) rotate(8deg);
  filter: blur(14px);
  color: rgba(255, 248, 238, 0.98);
  background: linear-gradient(180deg, #fff7ed 0%, #f4dfc0 38%, #d8ad74 68%, #fff3de 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow:
    0 0 20px rgba(255, 179, 92, 0.18),
    0 0 42px rgba(255, 235, 210, 0.16),
    0 0 120px rgba(216, 173, 116, 0.14);
  animation: preloaderLetter 1.15s var(--ease) forwards;
}

.preloader__letter:nth-child(1) {
  animation-delay: 0.08s;
}

.preloader__letter:nth-child(2) {
  animation-delay: 0.22s;
  filter: blur(14px) brightness(1.06);
}

.preloader__letter:nth-child(3) {
  animation-delay: 0.36s;
}

.preloader__letter:nth-child(4) {
  animation-delay: 0.5s;
}

.preloader__label {
  margin: 0;
  max-width: 760px;
  padding: 0 24px;
  text-align: center;
  color: rgba(245, 241, 233, 0.84);
  text-transform: none;
  letter-spacing: 0.1em;
  line-height: 1.9;
  font-size: clamp(0.92rem, 1.45vw, 1.06rem);
  opacity: 0;
  transform: translateY(12px);
  animation: preloaderLabel 1.1s var(--ease) 0.95s forwards;
}

.preloader__enter {
  min-height: 56px;
  padding: 0 1.85rem;
  border: 1px solid rgba(255, 244, 228, 0.2);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
  color: rgba(255, 248, 239, 0.96);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  cursor: pointer;
  backdrop-filter: blur(22px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 12px 40px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translateY(18px);
  transition:
    transform 0.4s var(--ease),
    border-color 0.4s var(--ease),
    background-color 0.4s var(--ease),
    color 0.4s var(--ease);
  animation: preloaderEnter 1s var(--ease) 1.25s forwards;
}

.preloader__enter:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 238, 214, 0.4);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
  color: #ffffff;
}

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  width: var(--container);
  max-width: calc(100vw - 28px);
  margin: 0 auto;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #f7f1e9;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand__mono {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 14px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.brand__text,
.site-nav,
.header-cta {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.site-nav {
  display: flex;
  gap: 2rem;
}

.header-cta {
  padding: 0.9rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.section {
  width: var(--container);
  max-width: 100%;
  margin: 0 auto;
  position: relative;
}

.hero {
  width: 100%;
  min-height: 100svh;
  position: relative;
  padding: 8rem 24px 4rem;
  overflow: clip;
}

.hero__backdrop,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__backdrop img {
  filter: saturate(1.05) contrast(1.04);
}

.hero__overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.76) 0%, rgba(0, 0, 0, 0.36) 42%, rgba(0, 0, 0, 0.78) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.54));
}

.hero__content,
.hero__floating {
  width: var(--container);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero__content {
  min-height: calc(100svh - 12rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 660px;
  z-index: 4;
}

.eyebrow {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.74);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.76rem;
}

.hero__title,
.section__title,
.contact__title {
  margin: 0;
  font-family: "Syne", sans-serif;
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.hero__title {
  font-size: clamp(3rem, 6.4vw, 5.8rem);
  max-width: 740px;
}

.hero__title span {
  display: block;
  color: var(--accent-2);
}

.hero__lead,
.section__text,
.project__body p,
.manifesto-card p,
.sequence-copy p,
.contact__text {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1rem;
}

.hero__lead {
  max-width: 520px;
  margin-top: 1.5rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.75rem;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
  border-radius: 999px;
  transition:
    transform 0.4s var(--ease),
    background-color 0.4s var(--ease),
    border-color 0.4s var(--ease);
}

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

.button--accent {
  background: linear-gradient(135deg, #ff6a1f, #ff3d00);
  color: #fff5ef;
}

.button--ghost {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(20px);
}

.hero__floating {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

.floating-card {
  position: absolute;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.floating-card--top {
  right: 3.5%;
  top: 18%;
  width: min(16vw, 220px);
  aspect-ratio: 4 / 5;
}

.floating-card--bottom {
  right: 5%;
  bottom: 9%;
  width: min(21vw, 310px);
  aspect-ratio: 16 / 10;
}

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

.hero__content::before {
  content: "";
  position: absolute;
  inset: 8% -4% 8% -6%;
  z-index: 1;
  border-radius: 36px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.66) 58%, rgba(0, 0, 0, 0.18) 100%);
  backdrop-filter: blur(6px);
  mask-image: linear-gradient(90deg, #000 0%, #000 75%, transparent 100%);
}

.scroll-cue {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  z-index: 3;
}

.scroll-cue span {
  width: 10px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg) translateY(-2px);
}

.manifesto,
.projects,
.gallery,
.contact {
  padding: 9rem 0;
}

.atelier-story,
.story-arc,
.narrative-showcase,
.split-showcase,
.dark-banner {
  padding: 5rem 0 9rem;
}

.section__intro,
.gallery__intro {
  width: min(760px, 100%);
  margin-bottom: 3rem;
}

.section__intro--narrow {
  width: min(720px, 100%);
}

.section__title,
.contact__title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  margin-bottom: 1rem;
}

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

.manifesto-card,
.project,
.sequence-card,
.contact__form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.manifesto-card {
  padding: 1.6rem;
  min-height: 260px;
}

.manifesto-card__index {
  display: inline-block;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
}

.manifesto-card h3,
.sequence-copy h3,
.project__body h3 {
  margin: 0 0 0.8rem;
  font-size: 1.45rem;
}

.split-showcase,
.dark-banner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.narrative-showcase {
  display: grid;
  gap: 1.5rem;
}

.narrative-showcase__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem;
  align-items: center;
}

.narrative-showcase__row--reverse .narrative-showcase__media {
  order: 2;
}

.narrative-showcase__row--reverse .narrative-showcase__text {
  order: 1;
}

.narrative-showcase__media {
  min-height: 520px;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: rgba(14, 14, 14, 0.82);
}

.narrative-showcase__text {
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top left, rgba(240, 211, 168, 0.06), transparent 24%),
    rgba(14, 14, 14, 0.82);
  box-shadow: var(--shadow);
}

.narrative-showcase__text h3 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-family: "Syne", sans-serif;
}

.narrative-showcase__text p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.story-arc__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
}

.story-step {
  padding: 1.8rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03)),
    rgba(10, 10, 10, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.story-step__index {
  display: inline-block;
  margin-bottom: 1.2rem;
  color: rgba(255, 255, 255, 0.44);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
}

.story-step h3 {
  margin: 0 0 0.85rem;
  font-size: 1.5rem;
}

.story-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.story-quote {
  margin: 2rem 0 0;
  padding: 2.2rem 2.4rem;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at left top, rgba(255, 90, 31, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
}

.story-quote p {
  margin: 0;
  font-family: "Syne", sans-serif;
  font-size: clamp(1.6rem, 3.2vw, 2.7rem);
  line-height: 1.18;
  letter-spacing: -0.04em;
  color: #f7efe3;
}

.atelier-story__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.atelier-story__card {
  padding: 1.8rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top left, rgba(240, 211, 168, 0.08), transparent 28%),
    rgba(14, 14, 14, 0.82);
  box-shadow: var(--shadow);
}

.atelier-story__card h3 {
  margin: 0 0 0.8rem;
  font-size: 1.42rem;
}

.atelier-story__card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.split-showcase__media,
.dark-banner__image {
  overflow: hidden;
  border-radius: 30px;
  min-height: 640px;
}

.sequence {
  padding: 5rem 0 2rem;
}

.sequence-story {
  position: relative;
  min-height: 400svh;
}

.sequence-story__sticky {
  position: sticky;
  top: 9vh;
  height: 82svh;
  display: flex;
  align-items: center;
}

.sequence-card {
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  overflow: hidden;
}

.sequence-card__visual {
  background: #090909;
  padding: 1.3rem;
}

.sequence-scene {
  position: relative;
  width: 100%;
  min-height: 560px;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #000;
}

.sequence-scene__frame {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.sequence-scene__frame.is-active {
  opacity: 1;
  transform: scale(1);
}

.sequence-card__content {
  padding: 2.3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
}

.sequence-card__counter {
  display: flex;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.48);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.sequence-card__copy {
  position: relative;
  min-height: 250px;
}

.sequence-copy {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

.sequence-copy.is-active {
  opacity: 1;
  transform: translateY(0);
}

.sequence-card__progress {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.sequence-card__progress span {
  display: block;
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, #ff4213, #ffcc85);
}

.sequence-steps {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sequence-step {
  height: 25%;
}

.projects__list {
  display: grid;
  gap: 1.35rem;
}

.project {
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 0.95fr;
}

.project__image {
  min-height: 420px;
}

.project__body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project__meta {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.76rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

.gallery-card {
  overflow: hidden;
  border-radius: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  min-height: 260px;
  cursor: zoom-in;
}

.gallery-card--large {
  grid-row: span 2;
  min-height: 680px;
}

.gallery-card img,
.project__image img,
.sequence-scene__frame img,
.split-showcase__media img,
.dark-banner__image img,
.floating-card img {
  transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
  cursor: zoom-in;
}

.gallery-card:hover img,
.project:hover .project__image img,
.split-showcase__media:hover img,
.dark-banner__image:hover img,
.floating-card:hover img {
  transform: scale(1.03);
}

.dark-banner__copy {
  padding: 1rem 0;
}

.contact__inner {
  padding: 3rem;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    radial-gradient(circle at top left, rgba(255, 90, 31, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
}

.contact__title,
.contact__text {
  width: min(820px, 100%);
}

.contact__direct {
  margin-top: 2rem;
  padding: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.contact__direct-item {
  display: grid;
  gap: 0.5rem;
  padding: 1.1rem 1.15rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact__direct-label {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.contact__direct-item a {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.5;
  word-break: break-word;
}

.contact__direct-item a:hover {
  color: var(--accent-2);
}

.contact__form {
  margin-top: 2rem;
  padding: 1.2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.contact__form label {
  display: grid;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact__form label:last-of-type {
  grid-column: 1 / -1;
}

.contact__form input,
.contact__form textarea {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1rem 1.05rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.contact__form textarea {
  min-height: 160px;
  resize: vertical;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 32px;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox__figure {
  margin: 0;
  max-width: min(92vw, 1380px);
  max-height: 88vh;
  display: grid;
  gap: 12px;
}

.lightbox__image {
  width: auto;
  max-width: 100%;
  max-height: calc(88vh - 42px);
  height: auto;
  border-radius: 20px;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.lightbox__caption {
  text-align: center;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.lightbox__close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease),
    filter 0.9s var(--ease);
}

.reveal--text {
  transform: translateY(28px);
}

.reveal--panel {
  transform: translateY(36px) scale(0.985);
}

.reveal--image {
  transform: scale(0.97);
  filter: blur(16px);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

@keyframes preloaderLetter {
  0% {
    opacity: 0;
    transform: translateY(120%) scale(0.86) rotate(8deg);
    filter: blur(14px);
  }

  58% {
    opacity: 1;
    transform: translateY(0) scale(1.02) rotate(0deg);
    filter: blur(0);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
    filter: blur(0);
  }
}

@keyframes preloaderLabel {
  from {
    opacity: 0;
    transform: translateY(12px);
    letter-spacing: 0.14em;
  }

  to {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: 0.08em;
  }
}

@keyframes preloaderBrand {
  from {
    opacity: 0;
    transform: translateY(14px);
    letter-spacing: 0.42em;
  }

  to {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: 0.34em;
  }
}

@keyframes preloaderEnter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .site-nav {
    display: none;
  }

  .manifesto__grid,
  .story-arc__grid,
  .atelier-story__grid,
  .narrative-showcase__row,
  .split-showcase,
  .dark-banner,
  .sequence-card,
  .project,
  .contact__direct,
  .gallery-grid,
  .contact__form {
    grid-template-columns: 1fr;
  }

  .gallery-card--large {
    grid-row: auto;
    min-height: 420px;
  }

  .sequence-story {
    min-height: auto;
  }

  .sequence-story__sticky {
    position: relative;
    top: 0;
    height: auto;
  }

  .sequence-card__visual,
  .sequence-card__content {
    padding: 1rem;
  }

  .sequence-scene {
    min-height: auto;
    display: grid;
    gap: 0.85rem;
    background: transparent;
  }

  .sequence-scene__frame,
  .sequence-scene__frame.is-active {
    position: relative;
    opacity: 1;
    transform: none;
    min-height: 320px;
    border-radius: 20px;
    overflow: hidden;
  }

  .sequence-card__copy {
    min-height: auto;
    display: grid;
    gap: 1rem;
  }

  .sequence-copy,
  .sequence-copy.is-active {
    position: relative;
    inset: auto;
    opacity: 1;
    transform: none;
  }

  .sequence-card__counter,
  .sequence-card__progress {
    display: none;
  }

  .sequence-steps {
    display: none;
  }

  .hero__floating {
    display: none;
  }
}

@media (max-width: 720px) {
  :root {
    --container: min(100vw - 28px, 1000px);
  }

  .site-header {
    padding: 14px 0;
    align-items: center;
    gap: 0.75rem;
    max-width: calc(100vw - 20px);
  }

  .brand {
    gap: 0.65rem;
    min-width: 0;
    flex: 1 1 auto;
  }

  .brand__mono {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 0.72rem;
  }

  .brand__text {
    display: inline;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-cta {
    display: inline-flex;
    flex: 0 0 auto;
    min-height: 42px;
    padding: 0 0.95rem;
    font-size: 0.64rem;
    letter-spacing: 0.12em;
  }

  .hero {
    padding-top: 7.4rem;
    padding-bottom: 3rem;
  }

  .hero__content {
    min-height: auto;
    max-width: 100%;
  }

  .hero__content::before {
    inset: -3% -3% -3% -3%;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.64) 100%);
    mask-image: none;
  }

  .hero__title {
    font-size: clamp(2.55rem, 12vw, 4.2rem);
    line-height: 0.98;
  }

  .hero__lead {
    max-width: none;
    font-size: 0.96rem;
    line-height: 1.7;
  }

  .hero__actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .scroll-cue {
    display: none;
  }

  .split-showcase__media,
  .dark-banner__image,
  .narrative-showcase__media,
  .project__image,
  .gallery-card--large {
    min-height: 320px;
  }

  .gallery-card {
    min-height: 240px;
  }

  .narrative-showcase__text,
  .story-step,
  .atelier-story__card,
  .project__body {
    padding: 1.35rem;
  }

  .narrative-showcase__text h3 {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .preloader__content {
    width: min(100vw - 30px, 360px);
    max-width: calc(100vw - 30px);
    gap: 0.48rem;
    padding: 0.9rem 0.55rem 0.75rem;
  }

  .preloader__mark {
    font-size: clamp(2.55rem, 14vw, 3.8rem);
    letter-spacing: -0.07em;
  }

  .preloader__brand {
    margin-top: -0.18rem;
    font-size: clamp(0.72rem, 3.2vw, 0.88rem);
    letter-spacing: 0.18em;
    text-align: center;
  }

  .preloader__label {
    max-width: 28ch;
    padding: 0;
    letter-spacing: 0.01em;
    line-height: 1.42;
    font-size: 0.78rem;
    color: rgba(245, 241, 233, 0.8);
  }

  .preloader__enter {
    width: min(100%, 250px);
    min-height: 42px;
    padding: 0 0.8rem;
    font-size: 0.66rem;
    letter-spacing: 0.16em;
    border-radius: 999px;
  }

  .contact__form input,
  .contact__form textarea {
    min-height: 52px;
  }

  .contact__inner {
    padding: 1.35rem;
  }

  .story-quote {
    padding: 1.5rem;
  }

  .lightbox {
    padding: 18px;
  }
}
