:root {
  --ink: #141414;
  --muted: #6f6b64;
  --paper: #f8f5ef;
  --soft: #e8ded0;
  --gold: #b78a45;
  --wine: #6d2636;
  --green: #2f5d50;
  --night: #080807;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Cairo", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
}

main { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }

img[data-src] {
  background:
    linear-gradient(110deg, rgba(245,245,245,0) 8%, rgba(218,218,218,.95) 18%, rgba(245,245,245,0) 33%),
    #fff;
  background-size: 220% 100%;
  animation: imageLoading 1.35s linear infinite;
  opacity: 1;
}

img.is-loaded {
  animation: none;
  background: transparent;
  opacity: 1;
}

video:not(.hero-video):not(.is-ready) {
  background:
    linear-gradient(110deg, rgba(183,138,69,.08) 8%, rgba(255,255,255,.25) 18%, rgba(183,138,69,.08) 33%),
    #111;
  background-size: 220% 100%;
  animation: imageLoading 1.35s linear infinite;
}

@keyframes imageLoading {
  to { background-position-x: -220%; }
}

.site-header {
  position: fixed;
  inset: 18px 24px auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 14px;
  color: #fff;
  background: rgba(8, 8, 7, .48);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(18px);
}

.site-header.scrolled {
  color: var(--ink);
  background: rgba(248,245,239,.88);
  border-color: rgba(20,20,20,.12);
}

.brand {
  display: grid;
  line-height: 1;
  min-width: 145px;
}

.brand span {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
}

.brand small {
  margin-top: 4px;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 22px;
  font-weight: 700;
  font-size: .92rem;
}

.header-action, .btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid currentColor;
  font-weight: 800;
}

.hero {
  min-height: 96svh;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--night);
}

.hero-video, .hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video { object-fit: cover; opacity: .72; }
.hero-shade {
  background:
    linear-gradient(90deg, rgba(8,8,7,.86), rgba(8,8,7,.2) 55%, rgba(8,8,7,.72)),
    linear-gradient(0deg, rgba(8,8,7,.88), transparent 58%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 150px 0 120px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.eyebrow.dark { color: var(--wine); }

h1, h2 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(4.1rem, 13vw, 11rem);
  max-width: 850px;
}

h2 {
  font-size: clamp(2rem, 4.8vw, 4.9rem);
  max-width: 870px;
}

.hero-copy {
  margin: 20px 0 28px;
  font-size: clamp(1.1rem, 2vw, 1.7rem);
  color: rgba(255,255,255,.82);
}

.hero-actions, .contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn.primary { background: #fff; color: var(--ink); border-color: #fff; }
.btn.ghost { color: #fff; }

.hero-strip {
  position: absolute;
  z-index: 3;
  left: 28px;
  bottom: 28px;
  display: grid;
  grid-template-columns: repeat(3, 86px);
  gap: 10px;
}

.hero-strip img {
  width: 86px;
  height: 116px;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,.5);
}

.motion-wall {
  width: 100%;
  overflow: hidden;
  padding: 18px 0;
  background: var(--night);
}

.marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: drift 44s linear infinite;
}

.marquee-track img {
  width: clamp(140px, 18vw, 280px);
  height: clamp(190px, 25vw, 380px);
  object-fit: cover;
  opacity: .72;
  filter: saturate(.95);
}

@keyframes drift {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}

.intro, .work {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.contact {
  width: 100%;
}

.intro {
  margin-top: 56px;
  margin-bottom: 64px;
  padding: clamp(14px, 2vw, 22px);
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(280px, .9fr);
  gap: clamp(16px, 2.6vw, 30px);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255,250,242,.96), rgba(232,222,208,.72)),
    var(--soft);
  border: 1px solid rgba(20,20,20,.1);
}

.intro-copy {
  display: grid;
  gap: 12px;
  align-content: center;
  padding-inline: clamp(0px, 1.5vw, 16px);
}

.intro-copy h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.5rem, 5vw, 5.2rem);
}

.intro-copy p, .intro-video p, .contact p {
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.9;
}

.intro-role {
  white-space: nowrap;
  font-size: clamp(.86rem, 3.7vw, 1.12rem);
}

.intro-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.intro-links a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid rgba(20,20,20,.22);
  color: var(--ink);
  font-weight: 900;
}

.intro-links a:first-child {
  background: var(--ink);
  color: #fff;
}

.intro-video {
  position: relative;
  display: grid;
  gap: 18px;
  background: #111;
  padding: 8px;
}

.intro-video video {
  width: 100%;
  max-height: 440px;
  background: #111;
  object-fit: contain;
}

.section-head {
  display: flex;
  justify-content: flex-start;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
  text-align: right;
}

.section-head h2 {
  margin-right: 0;
}

.story-flow {
  display: grid;
  gap: clamp(32px, 5vw, 78px);
}

.story-scene {
  min-height: 88svh;
  display: grid;
  grid-template-columns: minmax(190px, .35fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 42px);
  align-items: center;
  padding: clamp(14px, 3vw, 42px);
  background: transparent;
  border: 0;
  overflow: hidden;
  opacity: .55;
  transform: translateY(38px);
  transition: opacity .75s ease, transform .75s ease;
}

.story-scene:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) minmax(190px, .35fr);
  background: transparent;
  color: var(--ink);
}

.story-scene.is-visible,
.video-scene.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.story-scene:nth-child(even) .scene-copy { order: 2; }

.scene-collage {
  min-height: min(86svh, 760px);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(8, minmax(54px, 1fr));
  gap: clamp(8px, 1.2vw, 16px);
  perspective: 1000px;
}

.scene-shot {
  border: 0;
  padding: 0;
  background:
    linear-gradient(110deg, rgba(245,245,245,0) 8%, rgba(218,218,218,.95) 18%, rgba(245,245,245,0) 33%),
    #fff;
  background-size: 220% 100%;
  cursor: zoom-in;
  overflow: hidden;
  min-width: 0;
  box-shadow: 0 24px 80px rgba(20,20,20,.18);
  opacity: .2;
  transform: translateY(46px) rotate(var(--tilt, 0deg)) scale(.96);
  animation: imageLoading 1.35s linear infinite;
  transition: opacity .75s ease, transform .75s ease, box-shadow .45s ease;
}

.scene-shot:nth-child(1) { grid-column: 1 / 7; grid-row: 1 / 7; --tilt: -1.5deg; transition-delay: .04s; }
.scene-shot:nth-child(2) { grid-column: 7 / 10; grid-row: 1 / 4; --tilt: 2deg; transition-delay: .12s; }
.scene-shot:nth-child(3) { grid-column: 10 / 13; grid-row: 1 / 5; --tilt: -2deg; border-radius: 50%; transition-delay: .18s; }
.scene-shot:nth-child(4) { grid-column: 7 / 13; grid-row: 5 / 9; --tilt: 1deg; transition-delay: .24s; }
.scene-shot:nth-child(5) { grid-column: 1 / 4; grid-row: 7 / 9; --tilt: 2.2deg; border-radius: 999px; transition-delay: .3s; }
.scene-shot:nth-child(6) { grid-column: 4 / 7; grid-row: 7 / 9; --tilt: -2.3deg; transition-delay: .36s; }

.story-scene.is-visible .scene-shot {
  opacity: 1;
  transform: translateY(0) rotate(var(--tilt, 0deg)) scale(1);
}

.scene-shot:has(img.is-loaded) {
  animation: none;
  background: #111;
}

.scene-shot::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(255,255,255,0) 8%, rgba(206,206,206,.9) 18%, rgba(255,255,255,0) 33%),
    #fff;
  background-size: 220% 100%;
  animation: imageLoading 1.35s linear infinite;
  z-index: 1;
  pointer-events: none;
}

.scene-shot:has(img.is-loaded)::before {
  opacity: 0;
  animation: none;
}

.scene-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease, opacity .55s ease;
  position: relative;
  z-index: 2;
}

.scene-shot:hover img {
  transform: scale(1.06);
  opacity: .88;
}

.scene-copy {
  display: grid;
  gap: 10px;
  align-content: center;
  position: sticky;
  top: 120px;
  align-self: start;
  padding-top: 10svh;
}

.scene-copy span {
  color: var(--wine);
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.story-scene:nth-child(even) .scene-copy span { color: var(--green); }

.scene-copy h3 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 7rem);
  line-height: 1;
}

.video-scene {
  min-height: 72svh;
  display: grid;
  grid-template-columns: minmax(190px, .35fr) minmax(0, 1fr);
  gap: clamp(16px, 3vw, 34px);
  align-items: center;
  padding: clamp(14px, 2.5vw, 28px);
  background: var(--night);
  color: #fff;
  overflow: hidden;
  opacity: .55;
  transform: translateY(38px);
  transition: opacity .75s ease, transform .75s ease;
}

.video-frame {
  position: relative;
  background: #111;
  overflow: hidden;
}

.video-frame video {
  width: 100%;
  height: min(70svh, 720px);
  object-fit: contain;
}

.video-play {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 76px;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 999px;
  background: rgba(12,12,12,.58);
  backdrop-filter: blur(12px);
  cursor: pointer;
  z-index: 2;
}

.video-play::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 52%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 19px solid #fff;
}

.video-frame.is-loading-video .video-play,
.video-frame.is-playing-video .video-play,
.intro-video.is-loading-video .video-play,
.intro-video.is-playing-video .video-play {
  opacity: 0;
  pointer-events: none;
}

.video-info {
  display: grid;
  gap: 10px;
}

.video-info span {
  color: var(--gold);
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.video-info h3 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.8rem);
  line-height: 1;
}

.gallery {
  columns: 3 260px;
  column-gap: 16px;
}

.shot {
  width: 100%;
  margin: 0 0 16px;
  border: 0;
  padding: 0;
  background: #fff;
  cursor: zoom-in;
  break-inside: avoid;
  position: relative;
  overflow: hidden;
}

.shot img {
  width: 100%;
  min-height: 230px;
  object-fit: cover;
  transition: transform .55s ease, opacity .55s ease;
}

.shot:hover img { transform: scale(1.045); opacity: .86; }
.shot span {
  position: absolute;
  inset: auto 12px 12px;
  color: #fff;
  text-align: right;
  font-weight: 800;
  text-shadow: 0 2px 18px rgba(0,0,0,.6);
}

.contact {
  margin-top: 94px;
  margin-bottom: 0;
  padding: clamp(34px, 6vw, 86px) clamp(20px, 6vw, 92px);
  display: grid;
  grid-template-columns: minmax(250px, 380px) minmax(0, 1fr);
  grid-template-areas:
    "visual main"
    "visual panel";
  gap: clamp(16px, 3vw, 30px) clamp(34px, 6vw, 86px);
  align-items: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(183,138,69,.24), transparent 34%),
    linear-gradient(135deg, rgba(8,8,7,.96), rgba(47,93,80,.68)),
    var(--night);
  color: #fff;
  overflow: hidden;
  position: relative;
}

.contact::before {
  content: "";
  position: absolute;
  right: 7%;
  bottom: 18%;
  width: min(560px, 68vw);
  height: 1px;
  background: rgba(255,255,255,.22);
  transform: rotate(-7deg);
  pointer-events: none;
}

.contact-main,
.contact-panel,
.contact-visual {
  position: relative;
  z-index: 1;
}

.contact-visual {
  grid-area: visual;
  min-height: 470px;
  display: grid;
  place-items: center;
}

.contact-visual img {
  width: min(100%, 330px);
  height: 430px;
  object-fit: cover;
  border-radius: 999px 999px 8px 8px;
  box-shadow: 0 34px 120px rgba(0,0,0,.42);
  transform: rotate(-3deg);
}

.contact-visual span {
  position: absolute;
  bottom: 44px;
  right: 8px;
  min-width: 96px;
  padding: 10px 16px;
  background: rgba(255,255,255,.94);
  color: var(--ink);
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  text-align: center;
  box-shadow: 0 18px 60px rgba(0,0,0,.28);
}

.contact-main { grid-area: main; }
.contact-panel { grid-area: panel; }

.contact .eyebrow { color: var(--gold); }

.contact h2 {
  max-width: 680px;
  font-size: clamp(3.4rem, 8vw, 8.4rem);
}

.contact-main p:not(.eyebrow) {
  max-width: 560px;
  margin: 14px 0 24px;
  color: rgba(255,255,255,.72);
  font-size: 1.14rem;
  line-height: 1.9;
}

.contact-actions a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  font-weight: 900;
}

.contact-actions .contact-primary {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.contact-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 0 34px;
  max-width: 760px;
  background: transparent;
  border: 0;
}

.contact-panel a {
  display: inline-grid;
  gap: 4px;
  min-width: 0;
  padding: 14px 0;
  border: 0;
  border-top: 1px solid rgba(255,255,255,.18);
  background: transparent;
}

.contact-panel span {
  color: var(--gold);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.contact-panel strong {
  font-size: clamp(1rem, 2vw, 1.25rem);
  overflow-wrap: anywhere;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0,0,0,.88);
}

.lightbox[hidden] { display: none; }
.lightbox img {
  max-height: 82svh;
  width: auto;
  object-fit: contain;
}
.lightbox p {
  color: #fff;
  margin: 12px 0 0;
  font-weight: 800;
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.4);
  background: transparent;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

@media (max-width: 820px) {
  .site-header {
    top: 10px;
    right: 10px;
    bottom: auto;
    left: 10px;
    padding: 10px;
  }
  .nav-links { display: none; }
  .header-action { padding-inline: 12px; min-width: 104px; }
  .hero-content {
    width: min(100% - 28px, 700px);
    padding: 130px 0 170px;
  }
  h1 { font-size: clamp(3.4rem, 18vw, 6.6rem); }
  .hero-strip {
    left: 14px;
    right: 14px;
    bottom: 18px;
    grid-template-columns: repeat(3, 1fr);
  }
  .hero-strip img { width: 100%; height: 96px; }
  .intro, .contact, .section-head {
    grid-template-columns: 1fr;
  }
  .contact {
    grid-template-areas:
      "visual"
      "main"
      "panel";
    align-items: stretch;
  }
  .intro-video { order: -1; }
  .intro-copy { order: 1; }
  .story-scene,
  .story-scene:nth-child(even),
  .video-scene {
    grid-template-columns: 1fr;
    min-height: auto;
    opacity: 1;
    transform: none;
  }
  .story-scene:nth-child(even) .scene-copy { order: 0; }
  .scene-copy {
    position: relative;
    top: auto;
    padding-top: 0;
  }
  .scene-collage {
    min-height: 560px;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(7, 70px);
  }
  .scene-shot { opacity: 1; transform: none; }
  .video-frame video { height: 56svh; }
  .intro { margin-bottom: 52px; }
  .contact {
    margin-top: 62px;
    padding: 42px 20px;
  }
  .contact-visual {
    min-height: auto;
    order: -1;
  }
  .contact-visual img {
    width: min(100%, 260px);
    height: 310px;
  }
  .contact-visual span {
    right: calc(50% - 144px);
    bottom: 18px;
  }
  .contact::before {
    right: 14px;
    left: 14px;
    bottom: 54%;
    width: auto;
  }
}

@media (max-width: 480px) {
  .brand { min-width: 116px; }
  .brand span { font-size: 1rem; }
  .brand small { font-size: .58rem; }
  .header-action { font-size: .82rem; }
  .btn { width: 100%; }
  .contact h2 { font-size: clamp(2.4rem, 15vw, 4.2rem); }
  .contact-panel {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .contact-actions a {
    min-width: 0;
    padding-inline: 8px;
    white-space: nowrap;
  }
  .intro-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .intro-links a {
    min-width: 0;
    padding-inline: 8px;
    font-size: .88rem;
    white-space: nowrap;
  }
  .intro-copy h2 { font-size: clamp(2.4rem, 13vw, 4.2rem); }
  .intro-video video { max-height: 430px; }
  .gallery { columns: 1; }
  .shot img { min-height: 250px; }
  .scene-collage {
    min-height: 520px;
    gap: 8px;
    grid-template-rows: repeat(7, 64px);
  }
  .scene-shot:nth-child(1) { grid-column: 1 / 7; grid-row: 1 / 4; }
  .scene-shot:nth-child(2) { grid-column: 1 / 4; grid-row: 4 / 6; }
  .scene-shot:nth-child(3) { grid-column: 4 / 7; grid-row: 4 / 6; border-radius: 50%; }
  .scene-shot:nth-child(4) { grid-column: 1 / 7; grid-row: 6 / 8; }
  .scene-shot:nth-child(5) { grid-column: 1 / 4; grid-row: 8 / 9; }
  .scene-shot:nth-child(6) { grid-column: 4 / 7; grid-row: 8 / 9; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .shot img, .scene-shot, .scene-shot img { animation: none; transition: none; }
}
