/* =========================================================
   Kites & Threads — editorial site
   Palette: warm ivory, ink, muted gold
   Type: Bodoni Moda (display) / Montserrat (sans)
   ========================================================= */

:root {
  --ivory: #f9f6f3;
  --ivory-2: #f2ece5;
  --ivory-3: #e8e0d6;
  --ink: #121110;
  --ink-soft: #57514a;
  --ink-mute: #8b837a;
  --dark: #17150f;
  --dark-2: #211e17;
  --gold: #a58a5f;
  --line: rgba(18, 17, 16, 0.14);
  --line-light: rgba(249, 246, 243, 0.18);

  --serif: "Bodoni Moda", "Times New Roman", Times, serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --shell: 1440px;
  --pad: clamp(22px, 5vw, 84px);
  --ease: cubic-bezier(0.22, 0.68, 0.16, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }

::selection { background: var(--ink); color: var(--ivory); }

:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 5px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--ivory);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease);
}
.skip:focus { transform: none; }

/* ---------- shared ---------- */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 28px;
}
.eyebrow--light { color: rgba(249, 246, 243, 0.62); }

em { font-style: italic; }

.link-underline {
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: inherit;
}
.link-underline::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.link-underline:hover::after { transform: scaleX(0.35); }
.link-underline--light { color: var(--ivory); }

/* ---------- preloader ---------- */

.loader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: var(--dark);
  color: var(--ivory);
  transition: opacity 0.9s var(--ease), visibility 0.9s;
}
.loader__inner { text-align: center; padding: 0 24px; }
.loader__eyebrow {
  font-size: 10px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(249, 246, 243, 0.55);
  margin-bottom: 20px;
}
.loader__name {
  font-family: var(--serif);
  font-size: clamp(30px, 4.6vw, 58px);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}
.loader__name span { font-size: 0.72em; }
.loader__line {
  display: block;
  width: min(300px, 60vw);
  height: 1px;
  margin: 34px auto 0;
  background: rgba(249, 246, 243, 0.18);
  overflow: hidden;
}
.loader__line i {
  display: block;
  height: 100%;
  background: var(--ivory);
  transform: scaleX(0);
  transform-origin: left;
  animation: load 1.35s var(--ease) forwards;
}
@keyframes load { to { transform: scaleX(1); } }

body.is-loaded .loader { opacity: 0; visibility: hidden; }

/* ---------- navigation ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  color: var(--ivory);
  transition: background 0.5s var(--ease), color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.nav::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: var(--line);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.nav__bar {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  height: clamp(64px, 7vw, 92px);
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.nav__group {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 46px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__group--end { justify-content: flex-end; }

.nav__group a {
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.9;
  transition: opacity 0.3s var(--ease);
}
.nav__group a:hover { opacity: 0.55; }

.nav__logo { display: block; justify-self: center; }
.nav__logo img {
  height: clamp(16px, 1.7vw, 22px);
  width: auto;
  transition: filter 0.5s var(--ease), opacity 0.3s var(--ease);
}

.nav__cta {
  border: 1px solid currentColor;
  padding: 10px 18px;
  border-radius: 999px;
  opacity: 0.85;
}
.nav__cta:hover { opacity: 1 !important; background: rgba(249, 246, 243, 0.1); }

.nav.is-stuck {
  background: rgba(249, 246, 243, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--ink);
}
.nav.is-stuck::after { opacity: 1; }
.nav.is-stuck .nav__logo img { filter: invert(1); }
.nav.is-stuck .nav__cta:hover { background: rgba(18, 17, 16, 0.06); }

.nav__toggle {
  display: none;
  justify-self: end;
  width: 40px; height: 40px;
  position: relative;
}
.nav__toggle span:not(.sr-only) {
  position: absolute;
  left: 8px; right: 8px;
  height: 1px;
  background: currentColor;
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.nav__toggle span:nth-child(1) { top: 16px; }
.nav__toggle span:nth-child(2) { top: 24px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ---------- drawer ---------- */

.drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--ivory);
  color: var(--ink);
  padding: clamp(96px, 16vh, 150px) var(--pad) 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none; /* closed: never swallow clicks on the page beneath */
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
/* display:flex above would otherwise beat the [hidden] attribute */
.drawer[hidden] { display: none; }
.drawer.is-open { opacity: 1; transform: none; pointer-events: auto; }
.drawer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.drawer ul a {
  font-family: var(--serif);
  font-size: clamp(34px, 10vw, 54px);
  line-height: 1.18;
  letter-spacing: -0.01em;
}
.drawer__foot {
  display: grid;
  gap: 6px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 640px;
  height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--ivory);
  background: var(--dark);
}

.hero__media { position: absolute; inset: 0; }
.hero__media picture { position: absolute; inset: 0; display: block; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  transform: scale(1.08);
  animation: heroIn 14s var(--ease) forwards;
}
@keyframes heroIn { to { transform: scale(1); } }

/* Intro film: sits over the still and only fades in once it is actually playing. */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.1s var(--ease), transform 18s var(--ease);
}
.hero__video.is-playing { opacity: 1; transform: scale(1); }

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(10, 9, 7, 0.78) 0%, rgba(10, 9, 7, 0.3) 46%, rgba(10, 9, 7, 0.56) 100%),
    radial-gradient(120% 90% at 20% 10%, rgba(10, 9, 7, 0.2), transparent 60%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: 0 var(--pad) clamp(96px, 14vh, 150px);
}

.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(52px, 8.6vw, 138px);
  line-height: 0.94;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  margin: 0 0 clamp(22px, 3vw, 34px);
}
.hero__title span { display: block; }
.hero__title .indent { padding-left: clamp(0px, 5.5vw, 96px); }

.hero__lede {
  max-width: 47ch;
  font-size: clamp(13px, 1.05vw, 15px);
  line-height: 1.85;
  color: rgba(249, 246, 243, 0.82);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(22px, 3vw, 44px);
  margin-top: clamp(28px, 4vw, 46px);
}

.hero__foot {
  position: absolute;
  z-index: 2;
  left: 0; right: 0; bottom: 0;
  max-width: var(--shell);
  margin-inline: auto;
  padding: 0 var(--pad) 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(249, 246, 243, 0.6);
}

.hero__scroll { display: inline-flex; align-items: center; gap: 12px; }
.hero__scroll i {
  display: block;
  width: 42px; height: 1px;
  background: rgba(249, 246, 243, 0.5);
  transform-origin: left;
  animation: scrollLine 2.4s var(--ease) infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleX(0.4); opacity: 0.4; }
  50% { transform: scaleX(1); opacity: 1; }
}

/* ---------- studio ---------- */

.studio { padding: clamp(82px, 12vw, 168px) 0 clamp(60px, 9vw, 120px); }

.studio__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(22px, 3vw, 44px) clamp(20px, 3.4vw, 56px);
  align-items: start;
}

.studio__head { grid-column: 1 / 8; }

.statement {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 3.7vw, 56px);
  line-height: 1.14;
  letter-spacing: -0.012em;
  max-width: 20ch;
}

.studio__copy {
  grid-column: 9 / 13;
  align-self: end;
  padding-bottom: 6px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.9;
}
.studio__copy p + p { margin-top: 18px; }

.studio__figure { position: relative; }
.studio__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.studio__figure--a { grid-column: 2 / 7; margin-top: clamp(36px, 6vw, 96px); }
.studio__figure--b { grid-column: 7 / 11; margin-top: clamp(90px, 15vw, 230px); }
.studio__figure figcaption {
  margin-top: 12px;
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.studio__facts {
  grid-column: 1 / 13;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: clamp(48px, 7vw, 96px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.studio__facts dt {
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 8px;
}
.studio__facts dd { font-size: 13.5px; line-height: 1.7; color: var(--ink-soft); }

/* ---------- marquee ---------- */

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: clamp(20px, 2.6vw, 34px) 0;
  background: var(--ivory-2);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  width: max-content;
  animation: marquee 52s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  font-family: var(--serif);
  font-size: clamp(24px, 2.9vw, 42px);
  line-height: 1;
  white-space: nowrap;
  color: var(--ink);
}
.marquee__track i {
  font-style: normal;
  font-size: 11px;
  color: var(--gold);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- section head ---------- */

.section-head {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px clamp(20px, 3vw, 48px);
  align-items: end;
  margin-bottom: clamp(42px, 6vw, 84px);
}
.section-head .eyebrow { grid-column: 1 / -1; }
.section-head h2 {
  grid-column: 1 / 8;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4.9vw, 76px);
  line-height: 1.06;
  letter-spacing: -0.015em;
}
.section-head__note {
  grid-column: 9 / 13;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--ink-soft);
  padding-bottom: 8px;
}
.section-head--light h2 { color: var(--ivory); }
.section-head--light .section-head__note { color: rgba(249, 246, 243, 0.62); }

/* ---------- stories ---------- */

.stories { padding: clamp(70px, 10vw, 140px) 0 clamp(80px, 11vw, 150px); }

.story-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(26px, 4vw, 64px) clamp(20px, 3vw, 44px);
}

.story__btn { display: block; width: 100%; text-align: left; }
.story__frame {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--ivory-3);
}
.story__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 11, 9, 0.22), transparent 55%);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.story__frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter 0.6s var(--ease);
}
.story__btn:hover .story__frame img { transform: scale(1.045); }
.story__btn:hover .story__frame::after { opacity: 1; }

.story__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding-top: 16px;
}
.story__names {
  font-family: var(--serif);
  font-size: clamp(18px, 1.5vw, 23px);
  letter-spacing: 0.01em;
}
.story__place {
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  white-space: nowrap;
}

.story--w .story__frame { aspect-ratio: 4 / 3; }
.story--tall .story__frame { aspect-ratio: 4 / 5; }

.story:nth-child(1) { grid-column: 1 / 8; }
.story:nth-child(2) { grid-column: 8 / 13; }
.story:nth-child(3) { grid-column: 1 / 6; }
.story:nth-child(4) { grid-column: 6 / 13; }
.story:nth-child(5) { grid-column: 1 / 7; }
.story:nth-child(6) { grid-column: 7 / 13; }
.story--offset { margin-top: clamp(30px, 6vw, 96px); }

.stories__more { margin-top: clamp(46px, 6vw, 84px); }

/* ---------- films ---------- */

.films {
  background: var(--dark);
  color: var(--ivory);
  padding: clamp(78px, 11vw, 150px) 0 clamp(78px, 10vw, 132px);
}

.film-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 46px);
}

.film { display: block; }
.film__frame {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--dark-2);
}
.film__frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease), opacity 0.6s var(--ease);
  opacity: 0.9;
}
.film:hover .film__frame img { transform: scale(1.05); opacity: 1; }

.film__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 62px; height: 62px;
  border: 1px solid rgba(249, 246, 243, 0.7);
  border-radius: 50%;
  transition: background 0.45s var(--ease), transform 0.45s var(--ease);
}
.film__play::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0; height: 0;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent var(--ivory);
  transform: translateX(2px);
}
.film:hover .film__play { background: rgba(249, 246, 243, 0.14); transform: scale(1.08); }

.film__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line-light);
  margin-top: 16px;
}
.film__title { font-family: var(--serif); font-size: clamp(18px, 1.6vw, 24px); }
.film__kind {
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(249, 246, 243, 0.5);
}

.films__more { margin-top: clamp(40px, 5vw, 70px); }

/* ---------- quote ---------- */

.quote {
  background: var(--ivory-2);
  padding: clamp(80px, 12vw, 170px) 0;
  text-align: center;
}
.quote__mark { color: var(--gold); font-size: 13px; display: block; margin-bottom: 30px; }
.quote blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(25px, 3.5vw, 50px);
  line-height: 1.32;
  letter-spacing: -0.01em;
  max-width: 19ch;
  margin: 0 auto;
}
.quote figcaption {
  margin-top: 30px;
  font-size: 9.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ---------- services ---------- */

.services { padding: clamp(74px, 10vw, 140px) 0; }

.services__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(34px, 5vw, 70px) clamp(20px, 3vw, 48px);
}
.services__head { grid-column: 1 / 5; }
.services__head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.14;
  letter-spacing: -0.012em;
  position: sticky;
  top: 120px;
}
.service-list {
  grid-column: 6 / 13;
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.service-list li {
  display: grid;
  grid-template-columns: 54px 1fr 1.1fr;
  gap: 18px;
  align-items: start;
  padding: clamp(22px, 2.6vw, 34px) 0;
  border-bottom: 1px solid var(--line);
}
.service-list__num {
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
  padding-top: 6px;
}
.service-list h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(19px, 1.8vw, 26px);
  line-height: 1.25;
}
.service-list p { font-size: 13.5px; line-height: 1.8; color: var(--ink-soft); }

/* ---------- contact ---------- */

.contact {
  background: var(--ivory-2);
  padding: clamp(76px, 10vw, 150px) 0;
}

.contact__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(40px, 5vw, 80px) clamp(24px, 4vw, 72px);
}
.contact__intro { grid-column: 1 / 6; }
.contact__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5.6vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin-bottom: 26px;
}
.contact__title em { font-style: italic; }
.contact__intro > p { font-size: 14px; line-height: 1.85; color: var(--ink-soft); max-width: 42ch; }

.contact__details {
  display: grid;
  gap: 22px;
  margin-top: clamp(34px, 4vw, 54px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.contact__details > div { display: grid; gap: 3px; }
.contact__label {
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 4px;
}
.contact__details a,
.contact__details p { font-size: 13.5px; line-height: 1.7; color: var(--ink-soft); }
.contact__details a { width: fit-content; }
.contact__details a:hover { color: var(--ink); }

.enquiry {
  grid-column: 7 / 13;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px clamp(20px, 2.4vw, 32px);
  align-content: start;
}

.field { display: grid; gap: 2px; }
.field--full { grid-column: 1 / -1; }

.field label {
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.field input,
.field textarea {
  width: 100%;
  padding: 10px 0 14px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid transparent;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--ink);
  border-radius: 0;
  transition: border-color 0.4s var(--ease);
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(139, 131, 122, 0.8); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--ink);
}
.field textarea { resize: vertical; min-height: 68px; }

.field input:user-invalid { border-bottom-color: #9b3b2f; }

.enquiry__foot {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 17px 34px;
  background: var(--ink);
  color: var(--ivory);
  border: 1px solid var(--ink);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.btn:hover { background: transparent; color: var(--ink); }

.enquiry__note { font-size: 11.5px; color: var(--ink-mute); letter-spacing: 0.02em; }

.enquiry__links {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 4px;
}
.enquiry__links[hidden] { display: none; }
.enquiry__links a {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.enquiry__links a:hover { color: var(--ink-soft); }

.btn[disabled] { opacity: 0.55; cursor: progress; }

/* ---------- footer ---------- */

.footer {
  background: var(--dark);
  color: var(--ivory);
  padding: clamp(56px, 7vw, 84px) 0 30px;
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: clamp(34px, 4vw, 52px);
  border-bottom: 1px solid var(--line-light);
}
.footer__logo img { height: clamp(18px, 2vw, 26px); width: auto; }
.footer__line {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(15px, 1.4vw, 20px);
  color: rgba(249, 246, 243, 0.7);
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(26px, 3vw, 48px);
  padding: clamp(36px, 4.5vw, 60px) 0;
}
.footer__cols > div { display: grid; gap: 4px; align-content: start; }
.footer__label {
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(249, 246, 243, 0.42);
  margin-bottom: 8px;
}
.footer__cols a,
.footer__cols p {
  font-size: 13px;
  color: rgba(249, 246, 243, 0.78);
  width: fit-content;
  transition: color 0.3s var(--ease);
}
.footer__cols a:hover { color: var(--ivory); }
.footer__muted { color: rgba(249, 246, 243, 0.42) !important; }

.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line-light);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(249, 246, 243, 0.42);
}

/* ---------- lightbox ---------- */

.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: none;
  max-height: none;
  width: 100%;
  height: 100%;
  color: var(--ivory);
}
.lightbox::backdrop { background: rgba(10, 9, 7, 0.93); }
.lightbox figure {
  height: 100%;
  display: grid;
  place-content: center;
  gap: 16px;
  padding: 64px 24px;
}
.lightbox img {
  max-height: 78vh;
  width: auto;
  max-width: min(1100px, 92vw);
  object-fit: contain;
  margin-inline: auto;
}
.lightbox figcaption {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(249, 246, 243, 0.65);
  text-align: center;
}
.lightbox__close {
  position: fixed;
  top: 22px; right: 26px;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 10px 4px;
  color: rgba(249, 246, 243, 0.7);
}
.lightbox__close:hover { color: var(--ivory); }

/* ---------- reveal ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
  .nav__cta-wrap { display: none; }
  .studio__head { grid-column: 1 / 8; }
  .studio__copy { grid-column: 8 / 13; }
  .services__head { grid-column: 1 / 5; }
  .service-list { grid-column: 5 / 13; }
}

@media (max-width: 980px) {
  .nav__group { display: none; }
  .nav__bar { grid-template-columns: 1fr auto 1fr; }
  .nav__logo { justify-self: start; grid-column: 1 / 2; }
  .nav__toggle { display: block; grid-column: 3 / 4; }

  .hero__title { font-size: clamp(44px, 11vw, 92px); }
  .hero__foot { font-size: 9px; }

  .studio__head,
  .studio__copy { grid-column: 1 / 13; }
  .studio__copy { margin-top: 8px; }
  .studio__figure--a { grid-column: 1 / 8; }
  .studio__figure--b { grid-column: 6 / 13; margin-top: clamp(50px, 10vw, 120px); }
  .studio__facts { grid-template-columns: 1fr 1fr; }

  .section-head h2 { grid-column: 1 / 13; }
  .section-head__note { grid-column: 1 / 13; max-width: 52ch; }

  .story:nth-child(n) { grid-column: 1 / 13; margin-top: 0; }
  .story--offset { margin-top: 0; }
  .story--w .story__frame,
  .story--tall .story__frame { aspect-ratio: 4 / 3; }

  .film-grid { grid-template-columns: 1fr; gap: 34px; }

  .services__head,
  .service-list { grid-column: 1 / 13; }
  .services__head h2 { position: static; }

  .contact__intro,
  .enquiry { grid-column: 1 / 13; }

  .footer__cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 15px; }

  .hero { min-height: 560px; }
  .hero__title { font-size: clamp(38px, 12.4vw, 62px); }
  .hero__title .indent { padding-left: 0; }
  .hero__lede { font-size: 13px; max-width: 34ch; }
  .hero__actions { gap: 20px; }
  .hero__foot .hero__loc { display: none; }

  .studio__facts { grid-template-columns: 1fr; gap: 18px; }
  .studio__figure--a { grid-column: 1 / 11; }
  .studio__figure--b { grid-column: 3 / 13; }

  .story__meta { flex-direction: column; gap: 4px; }

  .service-list li { grid-template-columns: 32px 1fr; }
  .service-list p { grid-column: 2 / 3; }

  .enquiry { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; gap: 26px; }
  .footer__base { flex-direction: column; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .hero__media img { transform: none; }
  .marquee__track { animation: none; }
}

/* ============================================================
   Galleries, album pages and the studio panel
   ============================================================ */

.subpage { background: var(--ivory); }

.pagebar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 18px var(--pad);
  background: rgba(249, 246, 243, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.pagebar__logo img { height: clamp(16px, 1.6vw, 21px); width: auto; filter: invert(1); }
.pagebar__nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 32px);
}
.pagebar__nav a {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.3s var(--ease);
}
.pagebar__nav a:hover { color: var(--ink); }
.pagebar__nav a[aria-current="page"] { color: var(--ink); }
.pagebar__studio {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
}

.state {
  padding: 36px 0 60px;
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 52ch;
}
.state--error { color: #8c3323; }
.state--quiet { color: var(--ink-mute); }

.pagefoot { border-top: 1px solid var(--line); margin-top: 80px; }
.pagefoot__inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 26px;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ---------- public gallery directory ---------- */

.listing { padding: clamp(56px, 9vh, 110px) 0 40px; }
.listing__head { max-width: 900px; margin-bottom: clamp(40px, 6vw, 72px); }
.listing__head h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.listing__note {
  margin-top: 24px;
  max-width: 48ch;
  color: var(--ink-soft);
  font-size: 15px;
}

.gallery-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 48px) clamp(18px, 2.4vw, 34px);
}
.gallery-card__link { display: block; }
.gallery-card__frame {
  display: block;
  overflow: hidden;
  background: var(--ivory-2);
  aspect-ratio: 4 / 5;
}
.gallery-card__frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.gallery-card__link:hover .gallery-card__frame img { transform: scale(1.04); }
.gallery-card__meta {
  display: grid;
  gap: 4px;
  padding-top: 14px;
}
.gallery-card__names {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.2;
}
.gallery-card__place,
.gallery-card__count {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ---------- one album ---------- */

.album { padding: clamp(48px, 8vh, 96px) 0 20px; }
.album__head { max-width: 900px; margin-bottom: clamp(32px, 5vw, 56px); }
.crumb {
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.crumb:hover { border-bottom-color: currentColor; }
.album__head h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6.4vw, 86px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.album__meta {
  margin-top: 16px;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.album__story {
  margin-top: 20px;
  max-width: 58ch;
  color: var(--ink-soft);
  font-size: 14.5px;
}
.album__foot {
  margin-top: 30px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.tile-grid {
  columns: 3;
  column-gap: clamp(12px, 1.4vw, 20px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.tile {
  break-inside: avoid;
  margin-bottom: clamp(12px, 1.4vw, 20px);
}
.tile__btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: var(--ivory-2);
  cursor: zoom-in;
}
.tile__btn img,
.tile__btn video {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 1s var(--ease), opacity 0.4s var(--ease);
}
.tile__btn:hover img { transform: scale(1.02); }
.tile__play {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 54px; height: 54px;
  margin: -27px 0 0 -27px;
  border: 1px solid rgba(249, 246, 243, 0.85);
  border-radius: 50%;
  background: rgba(10, 9, 7, 0.28);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.tile__play::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 7px 0 7px 11px;
  border-color: transparent transparent transparent var(--ivory);
}

/* ---------- viewer ---------- */

.viewer {
  width: min(1240px, 94vw);
  max-height: 92vh;
  padding: 0;
  border: 0;
  background: var(--dark);
  color: var(--ivory);
}
.viewer::backdrop {
  background: rgba(10, 9, 7, 0.86);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.viewer__bar,
.viewer__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
}
.viewer__count,
.viewer__close {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(249, 246, 243, 0.7);
}
.viewer__close { border-bottom: 1px solid transparent; }
.viewer__close:hover { border-bottom-color: currentColor; }
.viewer__stage {
  display: grid;
  place-items: center;
  background: #000;
  min-height: 200px;
}
.viewer__stage img,
.viewer__stage video {
  display: block;
  max-width: 100%;
  max-height: 72vh;
  margin: 0 auto;
}
.viewer__caption {
  flex: 1;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(249, 246, 243, 0.72);
}
.viewer__nav {
  width: 40px; height: 40px;
  color: rgba(249, 246, 243, 0.8);
  font-size: 16px;
  transition: color 0.3s var(--ease);
}
.viewer__nav:hover { color: var(--ivory); }

/* ---------- studio panel ---------- */

.studio { padding: clamp(40px, 6vh, 80px) 0 120px; }
.studio-view { max-width: 1180px; margin-inline: auto; padding-inline: var(--pad); }

.login-card {
  max-width: 430px;
  margin: clamp(30px, 8vh, 90px) auto 0;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
  background: #fffdfa;
}
.login-card h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1;
  margin-bottom: 14px;
}
.login-card__note { color: var(--ink-soft); font-size: 13.5px; margin-bottom: 26px; }
.login-card .field { margin-bottom: 22px; }
.login-card__back { margin-top: 22px; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); }

.studio .field > span {
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.studio .field input,
.studio .field textarea {
  width: 100%;
  padding: 10px 0 12px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid transparent;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--ink);
  transition: border-color 0.3s var(--ease);
}
.studio .field input:focus,
.studio .field textarea:focus { outline: none; border-bottom-color: var(--ink); }
.field--wide { grid-column: 1 / -1; }

.studio__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.studio__head h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.02;
}
.studio__note {
  margin-top: 12px;
  max-width: 62ch;
  color: var(--ink-soft);
  font-size: 13.5px;
}
.studio__note a { border-bottom: 1px solid var(--line); }
.studio__headActions { display: flex; gap: 10px; flex-wrap: wrap; }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: rgba(18, 17, 16, 0.05); color: var(--ink); }
.btn--danger { background: transparent; color: #8c3323; border-color: rgba(140, 51, 35, 0.35); }
.btn--danger:hover { background: rgba(140, 51, 35, 0.08); color: #8c3323; }
.btn--full { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: default; }

.panel {
  border: 1px solid var(--line);
  padding: clamp(18px, 2.4vw, 28px);
  margin-bottom: clamp(28px, 4vw, 48px);
  background: #fffdfa;
}
.panel__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 22px;
}
.panel__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-right: auto;
}
.note { font-size: 11px; letter-spacing: 0.1em; color: var(--ink-mute); }
.note--error { color: #8c3323; }

.studio-list {
  list-style: none;
  margin: 0 0 clamp(40px, 6vw, 70px);
  padding: 0;
  display: grid;
  gap: 14px;
}
.studio-item {
  display: grid;
  grid-template-columns: 108px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  background: #fffdfa;
}
.studio-item__thumb {
  display: block;
  width: 108px; height: 72px;
  overflow: hidden;
  background: var(--ivory-2);
}
.studio-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.studio-item__body h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.2;
}
.studio-item__meta { font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); margin-top: 6px; }
.badge {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.badge--live { border-color: rgba(165, 138, 95, 0.5); color: var(--gold); }
.studio-item__actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.studio-item__actions .btn { padding: 10px 14px; font-size: 9.5px; }

.slots__head { margin-bottom: 22px; }
.slots h2,
.uploader h2,
.media-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.15;
}
.slot-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.slot { border: 1px solid var(--line); background: #fffdfa; }
.slot__frame { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ivory-2); }
.slot__frame img { width: 100%; height: 100%; object-fit: cover; }
.slot__body { padding: 12px 14px 14px; display: grid; gap: 6px; }
.slot__label { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; }
.slot__hint { font-size: 11.5px; color: var(--ink-mute); }
.slot__actions { display: flex; gap: 8px; margin-top: 4px; }
.slot__actions .btn { padding: 8px 12px; font-size: 9px; }

.uploader { margin-bottom: clamp(34px, 5vw, 56px); }
.uploader__head { margin-bottom: 18px; }
.drop {
  display: grid;
  place-items: center;
  gap: 10px;
  padding: clamp(26px, 4vw, 44px);
  border: 1px dashed rgba(18, 17, 16, 0.28);
  background: #fffdfa;
  text-align: center;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
  cursor: pointer;
}
.drop.is-over { border-color: var(--ink); background: var(--ivory-2); }
.drop__title { font-family: var(--serif); font-size: clamp(20px, 2.2vw, 26px); }

.uploads { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.upload {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) 160px auto;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: var(--ink-soft);
}
.upload__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload__bar { height: 2px; background: var(--line); display: block; }
.upload__bar i { display: block; height: 100%; width: 0; background: var(--gold); transition: width 0.2s linear; }
.upload__status { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); }
.upload--error .upload__status { color: #8c3323; }
.upload--done .upload__status { color: var(--gold); }

.media-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.media-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.media-tile { border: 1px solid var(--line); background: #fffdfa; }
.media-tile__frame { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--ivory-2); }
.media-tile__frame img { width: 100%; height: 100%; object-fit: cover; }
.media-tile__kind,
.media-tile__cover {
  position: absolute;
  top: 8px;
  padding: 3px 7px;
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(10, 9, 7, 0.72);
  color: var(--ivory);
}
.media-tile__kind { right: 8px; }
.media-tile__cover { left: 8px; background: var(--gold); }
.media-tile__actions { display: flex; gap: 6px; padding: 8px; flex-wrap: wrap; }
.chip {
  padding: 6px 8px;
  border: 1px solid var(--line);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.chip:hover { background: rgba(18, 17, 16, 0.06); color: var(--ink); }
.chip--danger { color: #8c3323; border-color: rgba(140, 51, 35, 0.3); }
.chip--danger:hover { background: rgba(140, 51, 35, 0.08); color: #8c3323; }

.link-back {
  display: inline-block;
  margin-bottom: 22px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.link-back:hover { color: var(--ink); }

@media (max-width: 980px) {
  .gallery-cards { grid-template-columns: repeat(2, 1fr); }
  .slot-grid { grid-template-columns: repeat(3, 1fr); }
  .media-grid { grid-template-columns: repeat(3, 1fr); }
  .panel__grid { grid-template-columns: 1fr; }
  .field--wide { grid-column: auto; }
  .studio-item { grid-template-columns: 88px 1fr; }
  .studio-item__thumb { width: 88px; height: 62px; }
  .studio-item__actions { grid-column: 1 / -1; justify-content: flex-start; }
}

@media (max-width: 700px) {
  .tile-grid { columns: 2; }
  .gallery-cards { grid-template-columns: 1fr; }
  .slot-grid { grid-template-columns: repeat(2, 1fr); }
  .media-grid { grid-template-columns: repeat(2, 1fr); }
  .pagebar { padding: 14px var(--pad); }
  .pagebar__nav { gap: 14px; font-size: 9px; }
  .upload { grid-template-columns: 1fr; gap: 6px; }
  .viewer { width: 100vw; max-height: 100vh; }
  .viewer__stage img,
  .viewer__stage video { max-height: 78vh; }
  .studio__headActions { width: 100%; }
}
