@layer reset, base, layout, components, utilities;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  body, h1, h2, h3, p, figure { margin: 0; }
  img { display: block; max-width: 100%; height: auto; }
  button, input, textarea, select { font: inherit; }
}

@layer base {
  :root {
    --red-primary: #F20F38;
    --red-secondary: #BF0B2C;
    --red-dark: #8C0D24;
    --wine-deep: #59031A;
    --black-base: #0D0D0D;
    --text-main: #f7f2f3;
    --text-muted: #b7adb1;
    --surface: color-mix(in srgb, var(--black-base), var(--wine-deep) 20%);
    --border-red: color-mix(in srgb, var(--red-primary), transparent 62%);
    --container: min(1120px, calc(100% - 32px));
    --header-height: 72px;
    --font-body: "Inter", Arial, Helvetica, sans-serif;
    --font-dark: "League Gothic", Impact, "Arial Narrow", sans-serif;
  }

  html { scroll-behavior: smooth; background: var(--black-base); }
  body {
    min-height: 100vh;
    font-family: var(--font-body);
    color: var(--text-main);
    background: var(--black-base);
    overflow-x: hidden;
  }
  ::selection { color: #fff; background: var(--red-primary); }
  a { color: inherit; text-decoration: none; }
  h1, h2, h3 {
    font-family: var(--font-dark);
    line-height: .9;
    letter-spacing: -.018em;
    text-transform: uppercase;
    text-shadow: 0 0 22px rgba(242,15,56,.18), 0 10px 34px rgba(0,0,0,.62);
  }
  h1 {
    font-size: clamp(4.4rem, 12.6vw, 12.4rem);
    font-weight: 900;
    letter-spacing: -.012em;
  }
  h2 {
    font-size: clamp(2.2rem, 6vw, 5.85rem);
    max-width: 940px;
    font-weight: 800;
    letter-spacing: -.006em;
  }
  h3 { font-size: 1rem; letter-spacing: .03em; }
}

@layer layout {
  .container { width: var(--container); margin-inline: auto; }
  .section { position: relative; padding-block: clamp(88px, 12vw, 150px); scroll-margin-top: var(--header-height); }
  .site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    min-height: var(--header-height);
    background: rgba(7,7,7,.82);
    border-bottom: 1px solid color-mix(in srgb, var(--red-primary), transparent 82%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }
  .site-header::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 132px;
    height: 7px;
    background: var(--red-primary);
  }
  .site-header__inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
  .site-brand img { width: min(172px, 42vw); height: auto; }
  .site-menu { display: flex; align-items: center; gap: clamp(18px, 3vw, 34px); font-size: .78rem; text-transform: uppercase; letter-spacing: .20em; color: var(--text-muted); }
  .site-menu a { transition: color .2s ease, text-shadow .2s ease; }
  .site-menu a:hover, .site-menu a:focus-visible { color: var(--red-primary); text-shadow: 0 0 16px rgba(242,15,56,.45); }
  .language-link { color: var(--red-primary) !important; }
  .menu-button { display: none; }
}

@layer components {
  .skip-link { display: none !important; }

  .site-fixed-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    background: var(--black-base);
  }

  .site-fixed-bg__poster,
  .site-fixed-bg__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center right;
    display: block;
    filter: saturate(.95) contrast(1.08) brightness(.88);
    transform: translateZ(0);
  }

  .site-fixed-bg__poster { z-index: 0; }

  .site-fixed-bg__video {
    z-index: 1;
    opacity: 0;
    transition: opacity 1.25s ease;
  }

  .site-fixed-bg__video.is-loaded { opacity: 1; }

.site-fixed-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
      linear-gradient(
        90deg,
        rgba(13,13,13,.86) 0%,
        rgba(13,13,13,.68) 26%,
        rgba(13,13,13,.38) 51%,
        rgba(13,13,13,.16) 76%,
        rgba(13,13,13,.08) 100%
      ),
      linear-gradient(
        180deg,
        rgba(13,13,13,.04) 0%,
        rgba(13,13,13,.10) 44%,
        rgba(13,13,13,.58) 100%
      );
  }

  .site-fixed-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    opacity: .11;
    mix-blend-mode: screen;
    background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.055) 0 1px, transparent 1px 3px);
  }

  main {
    position: relative;
    z-index: 2;
  }

  .section-eyebrow {
    color: var(--red-primary);
    text-transform: uppercase;
    letter-spacing: .28em;
    font-size: .75rem;
    margin-bottom: 22px;
    font-weight: 800;
    text-shadow: 0 0 18px rgba(242,15,56,.35);
  }
  .section-text { color: var(--text-muted); font-size: clamp(1rem, 1.7vw, 1.2rem); line-height: 1.72; max-width: 720px; margin-top: 26px; }

  .hero.section {
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding-block: calc(var(--header-height) + 28px) 64px;
    overflow: hidden;
    background: transparent;
  }
  .hero__media { display: none !important; }
  .hero::after { content: none; }
  .hero__noise { position: absolute; inset: 0; pointer-events: none; opacity: .07; mix-blend-mode: screen; background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 1px, transparent 1px 3px); }
  .hero__content {
    position: relative;
    z-index: 3;
    padding-bottom: 0;
    transform: translateY(-1vh);
  }
  .hero__subtitle {
    max-width: 880px;
    margin-top: 18px;
    font-family: var(--font-dark);
    font-size: clamp(1.8rem, 3.95vw, 4.35rem);
    line-height: .98;
    text-transform: uppercase;
    letter-spacing: .004em;
    font-weight: 800;
    text-shadow: 0 0 20px rgba(242,15,56,.13), 0 8px 30px rgba(0,0,0,.6);
  }
  .hero__text { max-width: 650px; margin-top: 30px; color: rgba(247,242,243,.72); line-height: 1.75; font-size: 1.05rem; }
  .hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
  .button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 1px solid var(--border-red); text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 800; transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease; }
  .button:hover { transform: translateY(-2px); border-color: var(--red-primary); box-shadow: 0 0 28px rgba(242,15,56,.16); }
  .button--primary { background: var(--red-primary); border-color: var(--red-primary); color: #fff; }
  .button--primary:hover { background: var(--red-secondary); border-color: var(--red-secondary); }
  .button--ghost { color: var(--text-main); background: rgba(0,0,0,.28); }

  .gallery-section,
  .process-section,
  .contact-section {
    background: linear-gradient(180deg, rgba(13,13,13,.64), rgba(13,13,13,.84));
    backdrop-filter: blur(1.5px);
    -webkit-backdrop-filter: blur(1.5px);
  }

  .gallery-section h2 + .section-text { margin-bottom: 30px; }
  .gallery-grid {
    display: block;
    column-count: 2;
    column-gap: 12px;
  }
  .gallery-empty { color: var(--text-muted); border: 1px solid var(--border-red); padding: 24px; background: rgba(255,255,255,.03); }
  .art-card {
    position: relative;
    display: inline-block;
    width: 100%;
    margin: 0 0 12px;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    border: 1px solid color-mix(in srgb, var(--red-primary), transparent 88%);
    background: rgba(255,255,255,.025);
    overflow: hidden;
  }
  .art-card__button { display: block; width: 100%; border: 0; padding: 0; background: transparent; cursor: zoom-in; line-height: 0; }
  .art-card__button img {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    filter: saturate(.9) contrast(1.06);
    transition: filter .35s ease, opacity .35s ease;
  }
  .art-card:hover img { filter: saturate(1.08) contrast(1.12); opacity: .94; }

  .process-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); gap: clamp(28px, 7vw, 88px); align-items: stretch; }
  .process-panel { min-height: 420px; border: 1px solid var(--border-red); background: radial-gradient(circle at 40% 25%, color-mix(in srgb, var(--red-primary), transparent 62%), transparent 16rem), linear-gradient(135deg, rgba(255,255,255,.04), rgba(255,255,255,.01)); display: grid; place-content: center; gap: 12px; overflow: hidden; }
  .process-panel span {
  color: rgba(242, 15, 56, 0.18);
  -webkit-text-stroke: 1px rgba(242, 15, 56, 0.92);
  text-stroke: 1px rgba(242, 15, 56, 0.92);

  font-family: var(--font-dark);
  font-size: clamp(2.6rem, 5.4vw, 5.4rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  text-transform: uppercase;

  opacity: 0.9;

  text-shadow:
    0 0 14px rgba(242, 15, 56, 0.28),
    0 0 34px rgba(191, 11, 44, 0.28);
}

  .contact-card { border: 1px solid var(--border-red); padding: clamp(28px, 6vw, 68px); background: linear-gradient(135deg, rgba(242,15,56,.12), rgba(255,255,255,.025)); position: relative; overflow: hidden; }
  .contact-card::after { content: "STRVNGR"; position: absolute; right: -1rem; bottom: -1.6rem; font-family: var(--font-dark); font-size: clamp(4rem, 18vw, 16rem); line-height: 1; font-weight: 900; letter-spacing: -.08em; color: rgba(242,15,56,.045); pointer-events: none; }

  .lightbox { width: min(96vw, 1400px); max-height: 96svh; border: 1px solid var(--red-primary); padding: 0; background: #050505; color: #fff; overflow: hidden; }
  .lightbox::backdrop { background: rgba(0,0,0,.9); backdrop-filter: blur(10px); }
  .lightbox figure { display: grid; place-items: center; min-height: 220px; }
  .lightbox img { display: block; width: auto; height: auto; max-width: 96vw; max-height: 96svh; object-fit: contain; background: #000; }
  .lightbox__close { position: absolute; top: 12px; right: 12px; width: 42px; height: 42px; border: 1px solid var(--border-red); background: rgba(0,0,0,.76); color: #fff; font-size: 1.8rem; cursor: pointer; z-index: 2; }
}

@layer utilities {
  .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
}

@media (min-width: 720px) {
  .gallery-grid { column-count: 3; column-gap: 16px; }
  .art-card { margin-bottom: 16px; }
}

@media (min-width: 1100px) {
  .gallery-grid { column-count: 3; column-gap: 18px; }
  .art-card { margin-bottom: 18px; }
}

@media (max-width: 760px) {
  :root { --header-height: 64px; }
  .section { padding-block: 78px; }
  .site-fixed-bg__poster,
  .site-fixed-bg__video {
    object-position: 70% center;
    filter: saturate(.95) contrast(1.08) brightness(.76);
  }
  .site-fixed-bg::after {
    background:
      linear-gradient(
        180deg,
        rgba(13,13,13,.42) 0%,
        rgba(13,13,13,.64) 46%,
        rgba(13,13,13,.90) 100%
      );
  }
  .menu-button { display: inline-grid; gap: 5px; width: 44px; height: 44px; place-content: center; background: transparent; border: 1px solid var(--border-red); color: #fff; }
  .menu-button span:not(.sr-only) { width: 18px; height: 2px; background: var(--text-main); }
  .site-menu { position: fixed; top: var(--header-height); left: 16px; right: 16px; display: none; flex-direction: column; align-items: stretch; padding: 18px; background: rgba(13,13,13,.96); border: 1px solid var(--border-red); }
  .site-menu.is-open { display: flex; }
  .site-menu a { padding: 13px 0; }
  .hero.section { min-height: 100svh; padding-block: calc(var(--header-height) + 34px) 44px; align-items: flex-end; }
  .hero__content { transform: none; }
  h1 { font-size: clamp(4rem, 21vw, 7.2rem); }
  .hero__subtitle { font-size: clamp(2rem, 10vw, 3.4rem); }
  .hero__text { font-size: .98rem; }
  .hero__actions, .contact-card .hero__actions { flex-direction: column; }
  .button { width: 100%; }
  .process-grid { grid-template-columns: 1fr; }
  .process-panel { min-height: 260px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; }
  .site-fixed-bg__video { display: none !important; }
}
