:root {
  --bg: #000;
  --fg: #fff;
  --muted: rgba(255, 255, 255, 0.55);
  --faint: rgba(255, 255, 255, 0.32);
  --line: rgba(255, 255, 255, 0.14);
  --nav-h: 84px;
  --container: 1180px;
  --gutter: clamp(28px, 6vw, 96px);

  /* Type */
  --ff-display: "Sora-Variable", "Helvetica Neue", Arial, sans-serif;
  --ff-body: "Sora-Variable", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--fg); }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  font-weight: 200;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: #fff; color: #000; }

/* ---------- Reusable type ---------- */
.display {
  font-family: var(--ff-display);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.92;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--muted);
}
.tag {
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ---------- Nav ---------- */


.nav__contact {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.nav__contact:hover {
  background: #fff; color: #000; border-color: #fff;
}
.nav.scrolled .nav__contact {
  background: #fff;
  color: #000;
  border-color: #fff;
}
.nav__contact .arr {
  display: inline-block;
  transition: transform .3s ease;
}
.nav__contact:hover .arr { transform: translateX(2px); }

/* ---------- Layout ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

main { display: block; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  background: #050505;
}
.hero__media,
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__media {
  background-size: cover;
  background-position: center;
  filter: grayscale(45%) contrast(1.05) brightness(0.78);
  animation: kenburns 22s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1.02) translate(0, 0); }
  to   { transform: scale(1.14) translate(-1.5%, 1%); }
}
.hero__vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 50% 50%, transparent 40%, rgba(0,0,0,0.55) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.45) 0%, transparent 25%, transparent 60%, rgba(0,0,0,0.7) 100%);
  pointer-events: none;
}
.hero__chrome {
  position: absolute; inset: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: calc(var(--nav-h) + 28px) var(--gutter) 36px;
}
.hero__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__top .right { text-align: right; }
.hero__top .right span { display: block; }

.hero__bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 24px;
}
.hero__caption {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__caption .label { display: block; color: #fff; margin-bottom: 6px; font-weight: 500; letter-spacing: 0.32em; }

.hero__scroll {
  justify-self: center;
  display: inline-flex; flex-direction: column; align-items: center; gap: 14px;
  font-size: 10px; letter-spacing: 0.36em; text-transform: uppercase; color: var(--muted);
}
.hero__scroll .line {
  width: 1px; height: 56px;
  background: linear-gradient(180deg, rgba(255,255,255,0.6), rgba(255,255,255,0));
  animation: scrolltick 2.6s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scrolltick {
  0%, 100% { transform: scaleY(1); opacity: 0.4; }
  50% { transform: scaleY(1.3); opacity: 1; }
}

.hero__reel {
  justify-self: end;
  text-align: right;
  font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase;
}
.hero__reel .time { display: block; color: var(--muted); margin-top: 4px; }

/* Hero variant: work pages */
.hero--work .hero__chrome { grid-template-rows: 1fr auto; }
.hero--work .hero__bottom {
  grid-template-columns: 1fr auto;
}
.hero--work .hero__caption .tagline {
  display: block;
  font-family: var(--ff-display);
  font-weight: 200;
  font-style: italic;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #fff;
  font-size: clamp(18px, 1.6vw, 22px);
  margin-top: 10px;
  line-height: 1.2;
  max-width: 28ch;
}

/* Gigantic page-name strip on work hero */
.hero__pagename {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 110px;
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: clamp(72px, 14vw, 220px);
  line-height: 0.85;
  letter-spacing: -0.05em;
  pointer-events: none;
  mix-blend-mode: difference;
  color: #fff;
  opacity: 0.96;
}

/* ---------- Work grid (3-col centred) ---------- */
.work {
  padding: clamp(80px, 14vh, 160px) 0 clamp(80px, 12vh, 140px);
}
.work__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
  gap: 24px;
}
.work__head h2 {
  font-family: var(--ff-display);
  font-weight: 900;
  letter-spacing: -0.04em;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 0.95;
}
.work__head .meta { color: var(--muted); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.grid-3.rows-2 { row-gap: 56px; }

/* ---------- Work grid (single column, breathing room) ---------- */
.grid-1 {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(48px, 8vh, 96px);
  max-width: 840px;
  margin: 0 auto;
}
.grid-1 .card__media,
.grid-1 .card_media_video {
  aspect-ratio: 16 / 9;
}
.grid-1 .card__meta {
  padding-top: 20px;
}
.grid-1 .card__name {
  font-size: 16px;
}


.card {
  position: relative;
  display: block;
  overflow: hidden;
  cursor: pointer;
}
.card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #0a0a0a;
}
.card__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(35%) contrast(1.05) brightness(0.92);
  transition: transform .9s cubic-bezier(.2,.7,.2,1), filter .6s ease;
}
.card_media_video {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5; /* Forces a fixed card shape (or use 4/3, 1/1) */
  overflow: hidden;
}
.card_video{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(35%) contrast(1.05) brightness(0.92);
}

.card:hover .card__img {
  transform: scale(1.045);
  filter: grayscale(0%) contrast(1.08) brightness(1);
}
.card__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}
.card__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 16px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.card__name {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: none;
}
.card__cat { color: var(--muted); font-weight: 400; }
.card__num {
  position: absolute;
  top: 14px; left: 14px;
  font-size: 10px; letter-spacing: 0.3em;
  color: #fff;
  mix-blend-mode: difference;
  opacity: 0.85;
}

/* ---------- Footer ---------- */
.footer{
    margin-top:140px;
    /* border-top:1px solid rgba(255,255,255,.08); */
    padding:80px var(--gutter) 35px;
}

.footer__top{

    display:grid;
    grid-template-columns:2fr 1fr 1fr;

    gap:70px;

    margin-bottom:60px;

}

.footer__brand{
    max-width:430px;
}

.footer__title{

    display:block;

    font-family:var(--ff-display);
    font-weight:900;

    font-size:32px;

    margin-bottom:18px;

    letter-spacing:-.03em;

}

.footer__logo{

    width:140px;

    margin-bottom:26px;

}

.footer__description{

    color:var(--muted);

    line-height:1.8;

    font-size:15px;

}

.footer__column{

    display:flex;

    flex-direction:column;

    gap:14px;

}

.footer__column h4{

    font-size:11px;

    letter-spacing:.28em;

    text-transform:uppercase;

    color:#fff;

    margin-bottom:12px;

}

.footer__column a{

    color:var(--muted);

    transition:.25s;

}

.footer__column a:hover{

    color:#fff;

    transform:translateX(4px);

}

.footer__bottom{

    padding-top:28px;

    /* border-top:1px solid rgba(255,255,255,.08); */

    display:flex;

    justify-content:space-between;

    align-items:center;

    flex-wrap:wrap;

    gap:18px;

    color:var(--muted);

    font-size:12px;

}

.footer__legal{

    display:flex;

    gap:26px;

    flex-wrap:wrap;

}

.footer__legal a{

    color:var(--muted);

}

.footer__legal a:hover{

    color:#fff;

}

/* ---------- Contact page ---------- */
.contact {
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding-top: var(--nav-h);
}
.contact__inner {
  display: grid;
  align-content: center;
  padding: clamp(60px, 10vh, 120px) var(--gutter) clamp(40px, 8vh, 100px);
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}
.contact__eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 40px;
}
.contact__heading {
  font-family: var(--ff-display);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.86;
  font-size: clamp(64px, 11vw, 200px);
  margin-bottom: clamp(56px, 9vh, 100px);
}
.contact__heading em {
  font-style: italic;
  font-weight: 200;
}
.contact__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(48px, 8vw, 120px);
  align-items: end;
}
.contact__list { display: grid; gap: 28px; }
.contact__row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.contact__row .k {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact__row .v {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  transition: color .25s ease;
}
.contact__row .v .sub {
  font-family: var(--ff-body);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}
a.contact__row { transition: opacity .25s ease; }
a.contact__row:hover { opacity: 1; }
a.contact__row:hover .v { color: #fff; }

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 36px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: clamp(20px, 2.2vw, 30px);
  letter-spacing: -0.02em;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), background .3s ease, color .3s ease;
  min-width: 320px;
}
.cta:hover {
  transform: translateY(-2px);
}
.cta .arr {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #000; color: #fff;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.cta:hover .arr { transform: rotate(-45deg); }

.contact__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px var(--gutter);
  border-top: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.slider {
  overflow: hidden;
  width: 100%;
}

.slider-track {
  display: flex;
  gap: 24px;
  transition: transform 0.45s ease;
}

.slider-track .card {
  flex: 0 0 calc((100% - 48px) / 3);
}

.slider-controls {
  display: flex;
  gap: 12px;
  align-items: center;
}

.slider-btn {
  width: 48px;
  height: 48px;
  border: 1px solid #ddd;
  background: black;
  cursor: pointer;
  font-size: 20px;
  transition: 0.2s;
}

.slider-btn:hover {
  background: #111;
  color: #fff;
}

.embla {
  overflow: hidden;
  width: 100%;

}

.embla__container {
  display: flex;
  gap: 24px;
}

.embla__slide {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
  padding-left: 3%;
}

/* ---------------- ABOUT ---------------- */

.about{
    padding: clamp(100px,14vh,170px) 0;
}

.about__header{
    max-width:700px;
    margin-bottom:70px;
}

.about__title{
    font-size:clamp(48px,6vw,92px);
    margin:18px 0 24px;
}

.about__intro{
    max-width:560px;
    color:var(--muted);
    font-size:16px;
    line-height:1.8;
    font-weight:300;
}

.about__content{
    display:grid;
    grid-template-columns:1.1fr .9fr;
    gap:80px;
    align-items:start;
}

.about__services{
    display:flex;
    flex-direction:column;
}

.about__item{
    display:grid;
    grid-template-columns:70px 1fr;
    gap:28px;
    padding:42px 0;
    border-top:1px solid var(--line);
}

.about__item:last-child{
    border-bottom:1px solid var(--line);
}

.about__number{
    font-size:13px;
    letter-spacing:.22em;
    color:var(--muted);
    text-transform:uppercase;
}

.about__text h3{
    font-family:var(--ff-display);
    font-weight:900;
    letter-spacing:-.04em;
    font-size:clamp(34px,3vw,52px);
    line-height:.95;
    margin-bottom:12px;
}

.about__text h4{
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:.22em;
    color:var(--muted);
    margin-bottom:26px;
    font-weight:500;
}

.about__text ul{
    list-style:none;
    display:grid;
    gap:10px;
}

.about__text li{
    color:rgba(255,255,255,.75);
    font-size:15px;
    font-weight:300;
    position:relative;
    padding-left:16px;
}

.about__text li::before{
    content:"•";
    position:absolute;
    left:0;
    color:#fff;
}

.about__image{
    position:sticky;
    top:120px;
    overflow:hidden;
}

.about__image img{
    width:100%;
    aspect-ratio:4/5;
    object-fit:cover;
    filter:grayscale(.7) contrast(1.05);
    transition:transform .8s ease;
}

.about__image:hover img{
    transform:scale(1.04);
}

@media(max-width:900px){

    .about__content{
        grid-template-columns:1fr;
        gap:60px;
    }

    .about__image{
        position:relative;
        top:auto;
        order:-1;
    }

    .about__item{
        grid-template-columns:50px 1fr;
        gap:18px;
    }

    .about__text h3{
        font-size:38px;
    }

}
.work-tabs{
    display:flex;
    gap:50px;
    margin-bottom:60px;
}

.work-tab{

    font-family:var(--ff-display);
    font-size:20px;
    font-weight:900;
    letter-spacing:-0.03em;

    color:var(--faint);

    position:relative;

    transition:.35s;
}

.work-tab:hover{
    color:#fff;
}

.work-tab.active{
    color:#fff;
}

.work-tab.active::after{

    content:"";

    position:absolute;

    left:0;
    bottom:-10px;

    width:100%;
    height:2px;

    background:#fff;

}

.work-content{
    display:none;
    animation:fadeUp .45s ease;
}

.work-content.active{
    display:block;
}

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(20px);
    }

    to{
        opacity:1;
        transform:none;
    }

}

/* ---------------- PROJECT DETAIL PAGE ---------------- */

.project{
    padding-top:calc(var(--nav-h) + 40px);
    padding-bottom:clamp(80px,12vh,140px);
}

.project__row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:28px;
    font-size:11px;
    letter-spacing:.28em;
    text-transform:uppercase;
    color:var(--muted);
}

.project__row span strong{
    color:#fff;
    font-weight:500;
    margin-left:8px;
    letter-spacing:.1em;
}

.project__media{
    position:relative;
    width:100%;
    aspect-ratio:16/9;
    overflow:hidden;
    background:#0a0a0a;
    margin-bottom:64px;
}

.project__media video,
.project__media img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
}

.project__heading{
    display:flex;
    flex-wrap:wrap;
    align-items:baseline;
    gap:16px;
    margin-bottom:clamp(56px,9vh,96px);
    border-bottom:1px solid var(--line);
    padding-bottom:40px;
}

.project__heading .label{
    font-family:var(--ff-display);
    font-weight:900;
    letter-spacing:-.03em;
    text-transform:uppercase;
    font-size:clamp(24px,2.6vw,36px);
}

.project__heading .value{
    font-family:var(--ff-display);
    font-weight:200;
    font-style:italic;
    letter-spacing:-.01em;
    font-size:clamp(24px,2.6vw,36px);
    color:var(--muted);
}

.project__sections{
    max-width:760px;
    display:grid;
    gap:clamp(40px,6vh,64px);
}

.project__section h3{
    font-size:11px;
    letter-spacing:.3em;
    text-transform:uppercase;
    color:var(--muted);
    font-weight:500;
    margin-bottom:18px;
}

.project__section p{
    font-size:16px;
    line-height:1.85;
    font-weight:300;
    color:rgba(255,255,255,.85);
}

.project__back{
    display:inline-flex;
    align-items:center;
    gap:10px;
    margin-top:clamp(56px,9vh,96px);
    font-size:11px;
    letter-spacing:.28em;
    text-transform:uppercase;
    color:var(--muted);
    transition:color .25s ease;
}

.project__back:hover{ color:#fff; }
.project__back .arr{ transition:transform .3s ease; display:inline-block; }
.project__back:hover .arr{ transform:translateX(-4px); }

/* Responsive */

@media (max-width: 900px) {
  .embla__slide {
    flex: 0 0 calc((100% - 24px) / 2);
  }
}

@media (max-width: 640px) {
  .embla__slide {
    flex: 0 0 100%;
  }
}
/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .nav { grid-template-columns: 1fr auto; }
  .nav__links { display: none; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-1 { max-width: 100%; }
  .hero__bottom { grid-template-columns: 1fr; gap: 32px; }
  .hero__scroll { justify-self: start; }
  .hero__reel { justify-self: start; text-align: left; }
  .contact__grid { grid-template-columns: 1fr; }
  .cta { width: 100%; min-width: 0; }
  .contact__row { grid-template-columns: 100px 1fr; }
  .work__head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero__pagename { font-size: clamp(56px, 18vw, 96px); bottom: 160px; }
  .project__heading{ padding-bottom:28px; }
}
