/* Red Wolves Studio - rws3d.com */

@font-face { font-family: "Big Shoulders Display"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/big-shoulders-display-800.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/hanken-grotesk-400.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/hanken-grotesk-600.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-mono-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2"); }

:root {
  --ink: #14110e;
  --char: #1c1815;
  --char-2: #26211c;
  --bone: #efe8dc;
  --paper: #f3eee5;
  --paper-2: #e8e1d4;
  --red: #dc2c1c;
  --red-deep: #a81d11;
  --wood: #b98a5a;
  --line-dark: rgba(239, 232, 220, .14);
  --line-light: rgba(20, 17, 14, .14);
  --muted-dark: rgba(239, 232, 220, .62);
  --muted-light: rgba(20, 17, 14, .62);

  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --body: "Hanken Grotesk", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;

  --gutter: clamp(18px, 4vw, 64px);
  --max: 1560px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.mono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.display {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: .88;
  letter-spacing: -.005em;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 22px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn::after { content: "\2192"; transition: transform .25s var(--ease); }
.btn:hover::after { transform: translateX(5px); }
.btn--solid { background: var(--red); border-color: var(--red); color: #fff; }
.btn--solid:hover { background: var(--bone); border-color: var(--bone); color: var(--ink); }
.btn--ghost:hover { background: var(--bone); border-color: var(--bone); color: var(--ink); }
.on-paper .btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(20, 17, 14, .86);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line-dark);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 42px; height: 42px; border-radius: 50%; }
.brand b {
  font-family: var(--display);
  font-weight: 800;
  font-size: 23px;
  letter-spacing: .03em;
  text-transform: uppercase;
  line-height: 1;
}
.brand span { display: block; color: var(--muted-dark); font-size: 10px; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 38px); }
.nav a:not(.btn) { position: relative; padding: 6px 0; }
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav .btn { padding: 11px 16px; }
.nav-toggle { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}
.hero-slide.is-active img { animation: drift 9s linear forwards; }
@keyframes drift { to { transform: scale(1.1); } }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(20, 17, 14, .96) 0%, rgba(20, 17, 14, .55) 34%, rgba(20, 17, 14, 0) 62%),
    linear-gradient(to right, rgba(20, 17, 14, .62) 0%, rgba(20, 17, 14, 0) 58%),
    linear-gradient(to bottom, rgba(20, 17, 14, .6) 0%, rgba(20, 17, 14, 0) 22%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: end;
  padding-bottom: clamp(28px, 5vh, 60px);
}
.hero h1 {
  font-size: clamp(58px, 10.4vw, 188px);
  max-width: 11ch;
}
.hero h1 em { font-style: normal; color: var(--red); }
.hero .eyebrow { color: var(--bone); }
.hero .eyebrow::before { background: var(--red); }
.hero-lede {
  max-width: 46ch;
  margin-top: 26px;
  font-size: clamp(16px, 1.25vw, 20px);
  color: rgba(239, 232, 220, .86);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-index { width: min(290px, 26vw); }
.hero-index li {
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: baseline;
  padding: 11px 0 12px;
  border-top: 1px solid var(--line-dark);
  color: var(--muted-dark);
  cursor: pointer;
  position: relative;
  transition: color .3s;
}
.hero-index li::before {
  content: "";
  position: absolute;
  left: 0; top: -1px;
  height: 1px; width: 0;
  background: var(--red);
}
.hero-index li.is-active { color: var(--bone); }
.hero-index li.is-active::before { width: 100%; transition: width 6s linear; }
.hero-index li:hover { color: var(--bone); }

.reveal { opacity: 0; transform: translateY(26px); animation: rise .9s var(--ease) forwards; }
.reveal:nth-child(2) { animation-delay: .12s; }
.reveal:nth-child(3) { animation-delay: .24s; }
.reveal:nth-child(4) { animation-delay: .36s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- ticker ---------- */
.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line-dark);
  background: var(--ink);
  padding: 15px 0;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: slide 46s linear infinite;
}
.ticker span { padding: 0 26px; color: var(--muted-dark); white-space: nowrap; }
.ticker span::after { content: "/"; margin-left: 52px; color: var(--red); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(72px, 10vw, 150px) 0; }
.on-paper { background: var(--paper); color: var(--ink); }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 32px;
  align-items: end;
  margin-bottom: clamp(34px, 5vw, 70px);
}
.section-head h2 { font-size: clamp(46px, 7.4vw, 124px); }
.section-head > p { max-width: 44ch; color: var(--muted-light); justify-self: end; }
.on-dark .section-head > p { color: var(--muted-dark); }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; color: var(--red); }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }

/* ---------- catalogue ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.filters button {
  padding: 9px 15px;
  border: 1px solid var(--line-light);
  transition: background .2s, color .2s, border-color .2s;
}
.filters button sup { margin-left: 6px; opacity: .55; font-size: 10px; }
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 26px) clamp(12px, 1.4vw, 22px);
}
.card { grid-column: span 4; display: flex; flex-direction: column; }
.card--wide { grid-column: span 8; grid-row: span 2; }
.card--half { grid-column: span 6; }
.card[hidden] { display: none; }
.card-media {
  position: relative;
  overflow: hidden;
  background: var(--paper-2);
  aspect-ratio: 16 / 10;
}
.card--wide .card-media { aspect-ratio: auto; flex: 1; min-height: 320px; }
.card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.card:hover .card-media img { transform: scale(1.06); }
.card-media::after {
  content: "View scene \2192";
  position: absolute;
  left: 0; bottom: 0;
  padding: 10px 14px;
  background: var(--red);
  color: #fff;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  transform: translateY(101%);
  transition: transform .35s var(--ease);
}
.card[data-type="pack"] .card-media::after { content: "View pack \2192"; }
.card[data-type="prop"] .card-media::after { content: "View model \2192"; }
.card:hover .card-media::after { transform: none; }
.card-tags { position: absolute; top: 12px; right: 12px; display: flex; gap: 5px; }
.tag {
  padding: 4px 7px;
  background: rgba(20, 17, 14, .78);
  color: var(--bone);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.card-meta {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: baseline;
  gap: 4px;
  padding: 13px 0 0;
  border-top: 1px solid var(--line-light);
  margin-top: 12px;
}
.card-meta .n { color: var(--red); }
.card-meta h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(24px, 2.1vw, 34px);
  text-transform: uppercase;
  line-height: 1;
}
.card-meta .kind { color: var(--muted-light); }

/* ---------- what's inside ---------- */
.inside {
  background:
    linear-gradient(var(--line-dark) 1px, transparent 1px) 0 0 / 100% 88px,
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px) 0 0 / 88px 100%,
    var(--char);
  background-blend-mode: normal;
  position: relative;
}
.inside::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 0%, rgba(28, 24, 21, 0) 0%, var(--char) 72%);
  pointer-events: none;
}
.inside .wrap { position: relative; }
.specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
  background: rgba(28, 24, 21, .82);
}
.spec {
  padding: clamp(22px, 2.6vw, 40px);
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  min-height: 250px;
  display: flex;
  flex-direction: column;
  transition: background .3s;
}
.spec:hover { background: rgba(220, 44, 28, .09); }
.spec .mono { color: var(--red); }
.spec h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(28px, 2.6vw, 42px);
  text-transform: uppercase;
  line-height: .95;
  margin: auto 0 12px;
  padding-top: 44px;
}
.spec p { color: var(--muted-dark); font-size: 15.5px; }

/* ---------- feature spread ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); background: var(--ink); }
.feature-media { position: relative; min-height: 560px; overflow: hidden; }
.feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-body {
  padding: clamp(32px, 5vw, 84px) var(--gutter) clamp(32px, 5vw, 84px) clamp(28px, 4vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feature-body h2 { font-size: clamp(52px, 6.6vw, 112px); margin-bottom: 22px; }
.feature-body > p { color: var(--muted-dark); max-width: 44ch; }
.sheet { margin: 30px 0 34px; border-top: 1px solid var(--line-dark); }
.sheet div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-dark);
}
.sheet dt { color: var(--muted-dark); }
.sheet dd { text-align: right; }
.on-paper .sheet, .on-paper .sheet div { border-color: var(--line-light); }
.on-paper .sheet dt { color: var(--muted-light); }

/* ---------- reel ---------- */
.reel {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  background: var(--char);
}
.reel img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: transform 1.2s var(--ease), opacity .4s; }
.reel:hover img { transform: scale(1.04); opacity: .66; }
.reel iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.reel-play {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(92px, 10vw, 150px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  transition: transform .4s var(--ease);
}
.reel:hover .reel-play { transform: translate(-50%, -50%) scale(1.1); }
.reel-caption { position: absolute; left: 22px; bottom: 18px; color: var(--bone); }

/* ---------- stores ---------- */
.stores { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line-light); }
.store {
  padding: clamp(22px, 2.8vw, 44px);
  border-right: 1px solid var(--line-light);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 270px;
  transition: background .3s, color .3s;
}
.store:last-child { border-right: 0; }
.store h3 { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 4.6vw, 72px); text-transform: uppercase; line-height: .9; }
.store p { color: var(--muted-light); max-width: 34ch; transition: color .3s; }
.store .mono:last-child { margin-top: auto; }
.store:hover { background: var(--ink); color: var(--paper); }
.store:hover p { color: var(--muted-dark); }

.more { margin-top: clamp(28px, 4vw, 54px); padding-top: 18px; border-top: 1px solid var(--line-light); color: var(--muted-light); }
.more a { color: var(--ink); border-bottom: 1px solid var(--red); padding-bottom: 2px; }
.more a:hover { color: var(--red); }
.stores--single { grid-template-columns: 1fr; }
.stores--single .store { min-height: 0; }
.stores--single .store h3 { font-size: clamp(52px, 8vw, 130px); }
.stores--single .store p { max-width: 52ch; margin-bottom: 18px; }
.reel--inline { aspect-ratio: 16 / 9; }
.p-title h1 { overflow-wrap: anywhere; }

/* ---------- about / contact ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 110px); }
.about h2 { font-size: clamp(40px, 5.4vw, 88px); }
.about h2 em { font-style: normal; color: var(--red); }
.about-copy p + p { margin-top: 16px; }
.about-copy p { color: var(--muted-dark); }
.about-copy .btn { margin-top: 28px; }
.contact-line {
  display: block;
  margin-top: 30px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(22px, 2.5vw, 40px);
  overflow-wrap: anywhere;
  text-transform: uppercase;
  line-height: 1;
  border-bottom: 1px solid var(--line-dark);
  padding-bottom: 14px;
  transition: color .25s, border-color .25s;
}
.contact-line:hover { color: var(--red); border-color: var(--red); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line-dark); padding: 44px 0 30px; }
.footer-word {
  font-size: clamp(64px, 17.5vw, 330px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(239, 232, 220, .26);
  white-space: nowrap;
  line-height: .8;
  margin-bottom: 34px;
  user-select: none;
}
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 34px; color: var(--muted-dark); }
.footer-row ul { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.footer-row a:hover { color: var(--bone); }

/* ---------- product page ---------- */
.p-hero { padding: 120px 0 0; }
.crumbs { color: var(--muted-dark); margin-bottom: 22px; }
.crumbs a:hover { color: var(--bone); }
.p-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 30px;
  margin-bottom: 30px;
}
.p-title h1 { font-size: clamp(54px, 10vw, 180px); }
.p-title .tagrow { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; padding-bottom: 12px; }
.p-title .tag { background: transparent; border: 1px solid var(--line-dark); backdrop-filter: none; padding: 7px 10px; }
.gallery-main { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--char); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-count { position: absolute; right: 16px; bottom: 14px; padding: 5px 9px; background: rgba(20, 17, 14, .78); }
.gallery-thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.gallery-thumbs button { padding: 0; aspect-ratio: 16 / 10; overflow: hidden; opacity: .5; transition: opacity .25s; position: relative; }
.gallery-thumbs button:hover, .gallery-thumbs button[aria-current="true"] { opacity: 1; }
.gallery-thumbs button[aria-current="true"]::after { content: ""; position: absolute; inset: 0; border: 2px solid var(--red); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.p-body { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.p-copy h2 { font-size: clamp(38px, 4.6vw, 76px); margin-bottom: 24px; }
.p-copy p { color: var(--muted-light); max-width: 60ch; }
.p-copy p + p { margin-top: 16px; }
.p-copy h3 { margin: 44px 0 14px; color: var(--red); }
.contents { columns: 2; column-gap: 34px; }
.contents li { padding: 9px 0 9px 18px; position: relative; border-bottom: 1px solid var(--line-light); break-inside: avoid; display: flex; justify-content: space-between; gap: 12px; }
.contents li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 8px; height: 1px; background: var(--red); }
.buy {
  position: sticky;
  top: 100px;
  padding: clamp(22px, 2.4vw, 34px);
  background: var(--ink);
  color: var(--bone);
}
.buy h3 { font-family: var(--display); font-weight: 800; font-size: 34px; text-transform: uppercase; line-height: 1; }
.buy .sheet { margin: 20px 0 24px; border-color: var(--line-dark); }
.buy .sheet div { border-color: var(--line-dark); }
.buy .sheet dt { color: var(--muted-dark); }
.buy .btn { width: 100%; justify-content: space-between; margin-top: 8px; }
.buy small { display: block; margin-top: 16px; color: var(--muted-dark); font-size: 13px; }
.next {
  position: relative;
  display: block;
  min-height: 420px;
  overflow: hidden;
}
.next img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; transition: opacity .5s, transform 1.2s var(--ease); }
.next:hover img { opacity: .72; transform: scale(1.04); }
.next .wrap { position: relative; padding-top: 110px; padding-bottom: 60px; }
.next h2 { font-size: clamp(56px, 10vw, 170px); }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .card, .card--wide, .card--half { grid-column: span 6; grid-row: auto; }
  .card--wide .card-media { min-height: 0; aspect-ratio: 16 / 10; flex: none; }
  .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature, .about, .p-body { grid-template-columns: 1fr; }
  .feature-media { min-height: 0; aspect-ratio: 16 / 10; }
  .feature-body { padding-left: var(--gutter); }
  .buy { position: static; }
  .hero-index { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-toggle { display: block; padding: 8px 0 8px 12px; }
  .nav {
    position: fixed;
    inset: 76px 0 0 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 26px var(--gutter);
    background: var(--ink);
    transform: translateX(100%);
    transition: transform .35s var(--ease);
  }
  .nav.is-open { transform: none; }
  .nav a:not(.btn) { font-family: var(--display); font-weight: 800; font-size: 44px; letter-spacing: 0; line-height: 1.1; text-transform: uppercase; }
  .nav .btn { margin-top: 20px; }
  .section-head { grid-template-columns: 1fr; }
  .section-head > p { justify-self: start; }
  .card, .card--wide, .card--half { grid-column: span 12; }
  .specs, .stores { grid-template-columns: 1fr; }
  .spec { min-height: 0; }
  .spec h3 { padding-top: 26px; }
  .store { border-right: 0; border-bottom: 1px solid var(--line-light); min-height: 0; }
  .store:last-child { border-bottom: 0; }
  .reel { aspect-ratio: 16 / 10; }
  .p-title { grid-template-columns: 1fr; }
  .p-title .tagrow { justify-content: flex-start; }
  .gallery-thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contents { columns: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
