@font-face {
  font-family: "Raleway";
  src: url("fonts/raleway.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Oswald";
  src: url("fonts/oswald.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
}

:root {
  --ink: #111;
  --paper: #f5f3ee;
  --white: #fff;
  --accent: #e61f2d;
  --max: 1240px;
  --pad: clamp(20px, 4vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Raleway", sans-serif;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
img, video { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 50;
  padding: 10px 14px;
  background: #fff;
  color: #000;
}
.skip-link:focus { top: 12px; }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: #14212d;
}
.hero video,
.hero::before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero video { object-fit: cover; }
.hero::before {
  content: "";
  z-index: 1;
  background: linear-gradient(180deg, rgba(6, 13, 21, .2), rgba(6, 13, 21, .42));
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: min(92vw, 920px);
  text-align: center;
}
.wordmark {
  margin: 0;
  font-size: clamp(66px, 13.7vw, 190px);
  font-weight: 900;
  line-height: .8;
  letter-spacing: -.02em;
  text-transform: uppercase;
  white-space: nowrap;
  font-family: "Oswald", sans-serif;
}
.wordmark span {
  color: transparent;
  -webkit-text-stroke: 1px #fff;
  text-stroke: 1px #fff;
}
.tagline {
  margin: clamp(24px, 4vw, 40px) 0 0;
  font-family: "Oswald", sans-serif;
  font-size: clamp(13px, 1.55vw, 22px);
  font-weight: 300;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* Homepage fidelity: original visual language and section sequence. */
.identity-section {
  padding: clamp(92px, 12vw, 165px) var(--pad);
  text-align: center;
}
.identity-section.light { background: #fff; color: #2e2e2e; }
.identity-section.dark { background: #000; color: #fff; }
.identity-inner { width: min(100%, 1180px); margin: 0 auto; }
.mask-title {
  width: 100%;
  background-position: center calc(50% + var(--parallax-y, 0px));
  background-repeat: no-repeat;
  background-size: 112% auto;
  will-change: background-position;
}
.mask-text {
  position: relative;
  margin: -20px 0 -6px;
  overflow: hidden;
  color: #2e2e2e;
  background: #fff;
  mix-blend-mode: lighten;
  font-family: "Oswald", sans-serif;
  font-size: clamp(65px, 12.5vw, 160px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.08em;
  text-align: center;
  text-transform: uppercase;
}
.dark .mask-text {
  color: #fff;
  background: #000;
  mix-blend-mode: darken;
}
.identity-rule {
  width: 1px;
  height: 100px;
  margin: clamp(66px, 8vw, 110px) auto;
  background: currentColor;
  opacity: .75;
}
.identity-copy {
  max-width: 1140px;
  margin: 0 auto;
  font-size: clamp(18px, 1.75vw, 22px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .05em;
}
.identity-copy p { margin: 0; }
.identity-copy p + p { margin-top: 30px; }

.campaign { background: #000; color: #fff; text-align: center; }
.campaign-image { width: 100%; max-height: none; }
.campaign-copy { padding: clamp(68px, 9vw, 118px) var(--pad); }
.campaign-copy .brand,
.campaign-copy .date {
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.campaign-copy .date { margin-top: 42px; color: #ff264a; }
.campaign-copy h2 {
  margin: 42px auto 0;
  font-family: "Oswald", sans-serif;
  font-size: clamp(40px, 5vw, 66px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.04em;
  text-transform: uppercase;
}
.campaign-copy .summary {
  margin: 48px auto 0;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.65;
  letter-spacing: .02em;
}
.campaign-copy .button { margin-top: 32px; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  background: #000;
}
.portfolio-grid .work-card { min-height: auto; aspect-ratio: 1 / .66; }
.portfolio-grid .work-card div {
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  opacity: 0;
  transition: opacity .35s ease;
}
.portfolio-grid .work-card::after { background: rgba(0,0,0,.58); opacity: 0; transition: opacity .35s ease; }
.portfolio-grid .work-card:hover div,
.portfolio-grid .work-card:focus-visible div,
.portfolio-grid .work-card:hover::after,
.portfolio-grid .work-card:focus-visible::after { opacity: 1; }
.portfolio-grid .work-card h3 {
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-size: clamp(25px, 3.1vw, 50px);
  font-weight: 700;
}

.email-band {
  padding: clamp(70px, 9vw, 120px) var(--pad);
  color: #fff;
  background: #000;
  text-align: center;
}
.email-band a {
  font-family: "Oswald", sans-serif;
  font-size: clamp(30px, 5vw, 65px);
  font-weight: 700;
  letter-spacing: -.04em;
  text-transform: uppercase;
  text-decoration: none;
}
.map { position: relative; height: min(58vw, 520px); min-height: 360px; background: #ddd; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-link {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 18px;
  padding: 11px 16px;
  color: #fff;
  background: #000;
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
}

.video-modal {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: none;
  place-items: center;
  padding: clamp(12px, 4vw, 56px);
  background: rgba(0,0,0,.94);
}
.video-modal.open { display: grid; }
.video-modal-frame { width: min(94vw, 1280px); aspect-ratio: 16 / 9; background: #000; }
.video-modal iframe { width: 100%; height: 100%; border: 0; }
.video-modal-close {
  position: absolute;
  top: 14px;
  right: 20px;
  border: 0;
  color: #fff;
  background: transparent;
  font: 300 46px/1 "Oswald", sans-serif;
  cursor: pointer;
}
.identity-footer {
  padding: 34px var(--pad);
  color: #fff;
  background: #000;
  text-align: center;
  font-size: 11px;
}
.identity-footer p { margin: 5px 0; }

@media (max-width: 900px) {
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portfolio-grid .work-card div,
  .portfolio-grid .work-card::after { opacity: 1; }
}

@media (max-width: 620px) {
  .identity-section { padding-right: 0; padding-left: 0; }
  .identity-section .identity-copy { padding-right: 22px; padding-left: 22px; }
  .mask-text { letter-spacing: -.055em; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-grid .work-card { aspect-ratio: 1 / .78; }
}
.hero-bottom {
  position: absolute;
  z-index: 2;
  right: var(--pad);
  bottom: 28px;
  left: var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.socials { display: flex; align-items: center; gap: 14px; }
.socials a { display: grid; width: 18px; height: 18px; place-items: center; text-decoration: none; }
.socials svg { width: 15px; height: 15px; fill: currentColor; }

.section { padding: clamp(76px, 11vw, 150px) var(--pad); }
.section-inner { width: min(100%, var(--max)); margin: 0 auto; }
.eyebrow {
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.display {
  max-width: 980px;
  margin: 0;
  font-size: clamp(42px, 7.5vw, 112px);
  font-weight: 900;
  line-height: .92;
  letter-spacing: -.055em;
  text-transform: uppercase;
}
.lead {
  max-width: 800px;
  margin: 34px 0 0 auto;
  font-size: clamp(20px, 2.4vw, 34px);
  line-height: 1.25;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  min-height: 78vh;
  background: #111;
  color: #fff;
}
.split-media { min-height: 520px; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(54px, 8vw, 110px) var(--pad);
}
.split-copy h2 {
  margin: 0;
  font-size: clamp(42px, 6vw, 86px);
  line-height: .95;
  letter-spacing: -.045em;
  text-transform: uppercase;
}
.split-copy p { max-width: 560px; font-size: clamp(17px, 1.5vw, 22px); }
.meta { opacity: .65; font-size: 12px !important; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  margin-top: 20px;
  padding: 13px 0;
  border-bottom: 2px solid currentColor;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .15em;
  text-decoration: none;
  text-transform: uppercase;
}
.button::after { content: "↗"; font-size: 16px; }

.works { background: #fff; }
.works-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}
.works-head h2 {
  margin: 0;
  font-size: clamp(52px, 9vw, 136px);
  line-height: .8;
  letter-spacing: -.06em;
  text-transform: uppercase;
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  background: #fff;
}
.work-card {
  position: relative;
  min-height: min(36vw, 510px);
  overflow: hidden;
  color: #fff;
  background: #222;
}
.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s cubic-bezier(.2,.65,.2,1);
}
.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.72));
}
.work-card:hover img { transform: scale(1.035); }
.work-card div { position: absolute; z-index: 2; right: 24px; bottom: 22px; left: 24px; }
.work-card small { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.work-card h3 { margin: 6px 0 0; font-size: clamp(21px, 2.2vw, 36px); line-height: 1; text-transform: uppercase; }

.contact {
  position: relative;
  overflow: hidden;
  background: #e82331 url("images/paper.jpg") center/cover;
  color: #fff;
  text-align: center;
}
.contact::before { content: ""; position: absolute; inset: 0; background: rgba(215, 10, 28, .84); mix-blend-mode: multiply; }
.contact .section-inner { position: relative; }
.contact h2 { margin: 0; font-size: clamp(58px, 11vw, 160px); line-height: .85; letter-spacing: -.065em; text-transform: uppercase; }
.contact p { font-size: clamp(18px, 2vw, 27px); }
.contact-email { display: inline-block; margin-top: 36px; font-size: clamp(23px, 4vw, 58px); font-weight: 800; text-decoration-thickness: 2px; text-underline-offset: 8px; }

.footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  padding: 34px var(--pad);
  color: #fff;
  background: #111;
  font-size: 11px;
  letter-spacing: .03em;
}
.footer p { margin: 0; max-width: 760px; }

/* Project pages */
.project-header {
  position: absolute;
  z-index: 4;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  padding: 24px var(--pad);
  color: #fff;
}
.project-header a { font-family: "Oswald", sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.project-hero {
  position: relative;
  min-height: 72svh;
  background: #111 center/cover no-repeat;
}
.project-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.4)); }
.project-copy { text-align: center; }
.project-copy .eyebrow { margin-bottom: 14px; }
.project-copy h1 {
  max-width: 1100px;
  margin: 0 auto;
  font-size: clamp(49px, 9vw, 138px);
  font-weight: 900;
  line-height: .88;
  letter-spacing: -.06em;
  text-transform: uppercase;
  font-family: "Oswald", sans-serif;
}
.project-copy .date { margin: 26px 0; font-size: 12px; font-weight: 700; letter-spacing: .16em; }
.project-copy .description { max-width: 760px; margin: 0 auto; font-size: clamp(18px, 2.1vw, 28px); }
.project-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; margin-top: 24px; }
.gallery-data { display: none !important; }
.lightbox {
  position: fixed;
  z-index: 300;
  inset: 0;
  display: none;
  place-items: center;
  padding: clamp(18px, 4vw, 60px);
  background: rgba(0,0,0,.96);
}
.lightbox.open { display: grid; }
.lightbox img { max-width: 90vw; max-height: 86vh; object-fit: contain; }
.lightbox button { position: absolute; border: 0; color: #fff; background: transparent; font-family: "Oswald", sans-serif; cursor: pointer; }
.lightbox-close { top: 14px; right: 22px; font-size: 44px; }
.lightbox-arrow { top: 50%; padding: 18px; font-size: clamp(46px, 6vw, 82px); line-height: 1; transform: translateY(-50%); }
.lightbox-prev { left: 8px; }
.lightbox-next { right: 8px; }
.lightbox-counter { position: absolute; right: 0; bottom: 16px; left: 0; color: #fff; font: 400 13px/1 "Oswald", sans-serif; letter-spacing: .08em; text-align: center; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split-media { min-height: 62vw; }
  .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-card { min-height: 55vw; }
}

@media (max-width: 620px) {
  .hero-bottom { align-items: end; }
  .hero-bottom > span { max-width: 130px; text-align: right; }
  .works-head { display: block; }
  .works-head .eyebrow { margin-top: 24px; }
  .works-grid { grid-template-columns: 1fr; }
  .work-card { min-height: 82vw; }
  .footer { grid-template-columns: 1fr; }
  .project-hero { min-height: 58svh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
