/* ---------- Fonts ---------- */
@font-face { font-family: "Clash Display"; src: url("../fonts/ClashDisplay-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Clash Display"; src: url("../fonts/ClashDisplay-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Clash Grotesk"; src: url("../fonts/ClashGrotesk-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Clash Grotesk"; src: url("../fonts/ClashGrotesk-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Clash Grotesk"; src: url("../fonts/ClashGrotesk-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Clash Grotesk"; src: url("../fonts/ClashGrotesk-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --dark: #11100f;
  --dark-2: #1c1a18;
  --cream: #f4f0e8;
  --gold: #c5a568;
  --grey: #afa79c;
  --muted: rgb(93, 87, 80);
  --line: #f4f0e829;

  --display: "Clash Display", Arial, sans-serif;
  --body: "Clash Grotesk", Arial, sans-serif;

  --max: 1200px;
  --gutter: 56px;
  --section-y: 120px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--dark);
  color: var(--cream);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, p, ol, ul { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.section { padding: var(--section-y) 0; }
.section--dark { background: var(--dark); color: var(--cream); }
.section--dark2 { background: var(--dark-2); color: var(--cream); }
.section--cream { background: var(--cream); color: var(--dark); }

/* ---------- Typography ---------- */
.label {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--gold);
}

.h-section {
  font-family: var(--display);
  font-weight: 500;
  font-size: 54px;
  line-height: 1;
  letter-spacing: -1.4px;
}
.section-head .h-section { font-size: 46px; letter-spacing: -1px; }
.h-section--right { text-align: right; }

.body-text {
  font-size: 19px;
  line-height: 1.55;
  color: var(--muted);
}
.body-text--light { color: var(--grey); }

/* ---------- Button ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 2px;
  background: var(--gold);
  color: var(--dark);
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.6px;
  overflow: hidden;
  isolation: isolate;
  transition: color .4s var(--ease), transform .4s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--cream);
  transform: translateY(101%);
  transition: transform .4s var(--ease);
  z-index: -1;
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: 14px 24px; letter-spacing: 1.4px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 860px;
  max-height: 100svh;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px 0 68px;
  background: var(--dark) url("../img/hero.jpg") center / cover no-repeat;
  overflow: hidden;
}
.hero__shade { position: absolute; inset: 0; background: #11100f9e; }
.hero > .container { position: relative; z-index: 1; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__brand, .nav__links a {
  font-family: var(--body);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 2.4px;
  color: var(--cream);
}
.nav__links { display: flex; gap: 24px; }
.nav__links a {
  font-size: 12px;
  letter-spacing: 1.6px;
  position: relative;
  opacity: .85;
  transition: opacity .3s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav__links a:hover { opacity: 1; }
.nav__links a.is-active { color: var(--gold); opacity: 1; }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__toggle { display: none; }

.hero__middle {
  flex: 1;
  display: flex;
  align-items: center;
  padding-top: 40px;
}
.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  max-width: 760px;
}
.hero__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: 88px;
  line-height: .9;
  letter-spacing: -3px;
}
.hero-line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero-line > span { display: inline-block; }
.hero__statement {
  font-size: 22px;
  line-height: 1.4;
  max-width: 400px;
  text-wrap: balance;
}
.hero__index { position: relative; z-index: 1; opacity: .8; }

/* ---------- About ---------- */
.about__inner {
  display: flex;
  align-items: center;
  gap: 72px;
}
.about__label { flex: 0 0 200px; }
.about__content {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 540px;
}

/* ---------- Section head (services/projects) ---------- */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
}

/* ---------- Services ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.service {
  height: 250px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 42px;
  background: var(--dark-2);
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: border-color .4s var(--ease), background-color .4s var(--ease), transform .4s var(--ease);
}
.service__num {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.6px;
  color: var(--gold);
}
.service__name {
  font-family: var(--display);
  font-weight: 500;
  font-size: 25px;
  line-height: 1;
  margin-bottom: 26px;
}
.service__type {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.6px;
  color: var(--gold);
  opacity: .65;
}
.service:hover {
  border-color: var(--gold);
  background: #221f1c;
  transform: translateY(-4px);
}

/* ---------- Projects ---------- */
.projects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 1000px;
}
.project {
  position: relative;
  height: 370px;
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: var(--dark);
}
.project img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.project::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 16, 15, 0) 25%, rgba(17, 16, 15, .88) 100%);
}
.project__body {
  position: relative;
  z-index: 1;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.project__meta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.6px;
  color: var(--gold);
}
.project__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: 36px;
  line-height: 1;
}
.project__title--sm { font-size: 32px; }
.project__desc {
  font-size: 15px;
  line-height: 1.35;
  max-width: 380px;
  opacity: .9;
}
.project:hover img { transform: scale(1.06); }

/* ---------- Split (artists / culture) ---------- */
.split {
  display: flex;
  align-items: center;
  gap: 48px;
}
.split__media {
  flex: 0 0 520px;
  max-width: 100%;
  height: 500px;
  border-radius: 2px;
  overflow: hidden;
}
.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.split__media:hover img { transform: scale(1.04); }
#culture .split { justify-content: space-between; }
#culture .split__content { max-width: 380px; }
.split__content {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.h-split {
  font-family: var(--display);
  font-weight: 500;
  font-size: 48px;
  line-height: .98;
  letter-spacing: -1.2px;
}

/* ---------- Manifesto ---------- */
.manifesto {
  background: var(--gold);
  color: var(--dark);
  min-height: 480px;
  display: flex;
  align-items: center;
  padding: 120px 0;
}
.manifesto__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.manifesto .label { letter-spacing: 2px; }
.manifesto__text {
  font-family: var(--display);
  font-weight: 500;
  font-size: 54px;
  line-height: .98;
  letter-spacing: -1.6px;
  max-width: 1000px;
  text-wrap: balance;
}

/* ---------- Approach ---------- */
.approach {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.h-approach {
  font-family: var(--display);
  font-weight: 500;
  font-size: 52px;
  line-height: 1;
  letter-spacing: -1.3px;
  margin-top: 24px;
}
.process {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 24px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: .5px;
  line-height: 1;
}
.process__arrow {
  position: relative;
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.process__arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 6px;
  height: 6px;
  border-top: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
  transform: rotate(45deg);
}

/* ---------- Experience ---------- */
.experience {
  position: relative;
  height: 440px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}
.experience__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.experience__shade { position: absolute; inset: 0; background: #11100f66; }
.experience__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.experience__value {
  font-family: var(--display);
  font-weight: 500;
  font-size: 156px;
  line-height: .8;
  letter-spacing: -6px;
  color: var(--gold);
}
.experience__label {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--cream);
}

/* ---------- Contact + footer ---------- */
.contact { background: var(--dark); padding: 120px 0 64px; }
.contact__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 34px;
}
.contact__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: 68px;
  line-height: .95;
  letter-spacing: -2px;
}
.contact__subtitle {
  font-size: 22px;
  line-height: 1.4;
  color: var(--grey);
}
.footer__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.4px;
  color: var(--gold);
  border-top: 1px solid #f4f0e82e;
  padding-top: 28px;
}

/* ---------- Animations ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--delay, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

.hero-in {
  opacity: 0;
  transform: translateY(40px);
  animation: heroIn 1.1s var(--ease) forwards;
  animation-delay: calc(.15s + var(--d, 0) * .12s);
}
.hero-line .hero-in { transform: translateY(105%); opacity: 1; }
@keyframes heroIn { to { opacity: 1; transform: none; } }


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .hero-in { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  .project img, .split__media img { transition: none; }
}

/* ---------- Tablet (810–1199) ---------- */
@media (max-width: 1199.98px) {
  html { font-size: 93.75%; }
  :root { --gutter: 40px; }
  .hero__title { font-size: 72px; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split__media { flex-basis: 420px; height: 440px; }
  .process { font-size: 14px; }
  .process__arrow { width: 18px; }
}

/* ---------- Mobile (<810) ---------- */
@media (max-width: 809.98px) {
  html { font-size: 87.5%; }
  :root { --gutter: 24px; --section-y: 80px; }

  .hero { height: 620px; min-height: 0; padding: 22px 0 40px; }
  .nav__brand { position: relative; z-index: 3; }
  .nav__toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    width: 40px;
    height: 40px;
    padding: 8px;
    margin-right: -8px;
    background: none;
    border: 0;
    cursor: pointer;
    position: relative;
    z-index: 3;
  }
  .nav__toggle span {
    display: block;
    height: 1.5px;
    background: var(--cream);
    transition: transform .4s var(--ease);
  }
  .nav.is-open .nav__toggle span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .nav.is-open .nav__toggle span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .nav__links {
    position: fixed;
    inset: 0;
    z-index: 2;
    flex-direction: column;
    justify-content: center;
    gap: 22px;
    padding: 0 var(--gutter);
    background: var(--dark);
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s var(--ease), visibility .4s;
  }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; }
  .nav__links a { font-family: var(--display); font-weight: 500; font-size: 36px; letter-spacing: -1px; opacity: 1; }
  .nav__links a::after { display: none; }
  body.menu-open { overflow: hidden; }

  .hero__title { font-size: 42px; letter-spacing: -1.2px; line-height: .98; }
  .hero__statement { font-size: 18px; }

  .about__inner { flex-direction: column; align-items: flex-start; gap: 32px; }
  .about__label { flex: none; }
  .h-section { font-size: 36px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 40px; }
  .section-head .h-section { font-size: 34px; }
  .h-section--right { text-align: left; }

  .services { grid-template-columns: 1fr; gap: 12px; }
  .service { height: auto; padding: 24px; gap: 24px; }
  .service__name { font-size: 26px; }

  .projects { grid-template-columns: 1fr; gap: 16px; }
  .project { height: 280px; }
  .project__body { padding: 22px; }
  .project__title, .project__title--sm { font-size: 28px; }

  .split { flex-direction: column; align-items: flex-start; gap: 28px; }
  #culture .split { flex-direction: column-reverse; }
  .split__media { flex: none; width: 100%; height: 340px; }
  .h-split { font-size: 36px; }

  .manifesto { min-height: 0; padding: 90px 0; }
  .manifesto__text { font-size: 36px; }

  .approach { gap: 36px; }
  .h-approach { font-size: 36px; }
  .process { flex-direction: column; align-items: flex-start; gap: 14px; font-size: 22px; padding-bottom: 0; }
  .process__arrow { width: 1px; height: 18px; margin-left: 10px; }
  .process__arrow::after { right: auto; left: -3px; top: auto; bottom: 0; transform: rotate(135deg); }
  .experience { height: 330px; }
  .experience__value { font-size: 112px; }
  .experience__label { font-size: 12px; }

  .contact { padding: 80px 0 40px; }
  .contact__title { font-size: 40px; letter-spacing: -1px; }
  .contact__subtitle { font-size: 18px; }
  .footer__row { flex-direction: column; align-items: flex-start; }
}
