/* RealBrand Dubai (dubai.realbrand.cz).
   Mobile-first. Logical properties throughout so an Arabic (RTL) layer can switch dir="rtl" without layout changes.
   Palette: two mood colours (haze, dusk) and one accent (bronze), taken from the Dubai Sky Penthouse renders. */

@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-stretch: 100% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 300 700;
  font-stretch: 100% 125%;
  font-display: swap;
  unicode-range: U+0100-017F;
}
@font-face {
  font-family: "Newsreader";
  src: url("../assets/fonts/newsreader-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader";
  src: url("../assets/fonts/newsreader-latin-ext.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-017F;
}
@font-face {
  font-family: "Newsreader";
  src: url("../assets/fonts/newsreader-italic-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Colour */
  --haze: #E6E5E2;
  --haze-2: #D9D7D2;
  --dusk: #2A2127;
  --dusk-2: #352A31;
  --ink: #2A2127;
  --ink-soft: #5C5157;
  --on-dark: #EEEBEA;
  --on-dark-soft: #B9ADB2;
  --bronze: #A86B3E;
  --bronze-deep: #8A5230;
  --bronze-on-dark: #CC9A70;
  --rule-light: rgba(42, 33, 39, 0.16);
  --rule-dark: rgba(238, 235, 234, 0.18);
  --focus-dark: #97C0D9;
  --focus-light: #3B7499;

  /* Type */
  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-text: "Newsreader", Georgia, "Times New Roman", serif;
  --wide: 108%;
  --t-hero: clamp(2.5rem, 1.1rem + 5.4vw, 6rem);
  --t-h2: clamp(2rem, 1.3rem + 2.8vw, 3.75rem);
  --t-h3: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  --t-lead: clamp(1.1875rem, 1.07rem + 0.45vw, 1.4375rem);
  --t-body: 1.125rem;
  --t-ui: 0.9375rem;
  --t-small: 0.875rem;

  /* Space */
  --gutter: clamp(1.25rem, 0.6rem + 3vw, 4rem);
  --section: clamp(4.5rem, 3rem + 6vw, 9rem);
  --max: 86rem;
  --header-h: 4.25rem;
}

@media (min-width: 60em) {
  :root { --wide: 118%; --header-h: 5rem; }
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-block-start: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--haze);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: var(--t-body);
  line-height: 1.6;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-inline-size: 100%; }
img { block-size: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--focus-light); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--focus-dark); }

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  inset-block-start: -6rem;
  z-index: 100;
  padding: 0.75rem 1.1rem;
  background: var(--haze);
  color: var(--ink);
  font: 600 var(--t-small)/1 var(--f-display);
  text-decoration: none;
}
.skip-link:focus { inset-block-start: 1rem; }

.visually-hidden {
  position: absolute !important;
  inline-size: 1px; block-size: 1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* Layout helpers */
.wrap { inline-size: 100%; max-inline-size: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.on-dark { background: var(--dusk); color: var(--on-dark); }

/* Type roles */
.h2 {
  font-family: var(--f-display);
  font-stretch: var(--wide);
  font-weight: 400;
  font-size: var(--t-h2);
  line-height: 1.06;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
.h2--sub { font-size: clamp(1.75rem, 1.25rem + 1.9vw, 2.75rem); line-height: 1.1; }
.nowrap { white-space: nowrap; }
.header-sentinel { position: absolute; inset-block-start: 0; inset-inline-start: 0; inline-size: 1px; block-size: 18vh; pointer-events: none; }
@media (min-width: 60em) { .header-sentinel { block-size: 45vh; } }

.h3 {
  font-family: var(--f-display);
  font-stretch: 112%;
  font-weight: 500;
  font-size: var(--t-h3);
  line-height: 1.2;
  letter-spacing: -0.005em;
}
.lead { font-size: var(--t-lead); line-height: 1.45; max-inline-size: 34em; }
.prose p + p { margin-block-start: 1em; }
.prose { max-inline-size: 36em; }
.muted { color: var(--ink-soft); }
.on-dark .muted { color: var(--on-dark-soft); }
.caption { font-style: italic; font-size: 0.9375rem; line-height: 1.45; color: var(--ink-soft); }
.on-dark .caption { color: var(--on-dark-soft); }

.ui {
  font-family: var(--f-display);
  font-size: var(--t-ui);
  font-weight: 500;
  letter-spacing: 0.005em;
  line-height: 1.3;
}

.tag {
  display: inline-block;
  font-family: var(--f-display);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.45em 0.8em 0.5em;
  border: 1px solid currentColor;
  border-radius: 999px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-block-size: 3rem;
  padding: 0.75rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--f-display);
  font-size: var(--t-ui);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn--primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, #9C5F37 0%, #8A5230 55%, #7A4626 100%);
  color: #F6F2EE;
  box-shadow: inset 0 1px 0 rgba(255, 228, 200, 0.18);
}
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 226, 190, 0.28) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.btn--primary:hover::after, .btn--primary:focus-visible::after { transform: translateX(120%); }
.btn--primary:hover { background: linear-gradient(135deg, #A1643B 0%, #8E5532 55%, #7A4626 100%); }
.btn--line { border-color: currentColor; background: transparent; }
.btn--line:hover { background: rgba(238, 235, 234, 0.1); }
.btn--large { min-block-size: 3.5rem; padding-inline: 1.8rem; font-size: 1rem; }

.text-link {
  font-family: var(--f-display);
  font-size: var(--t-ui);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.35em;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 50;
  padding-block-start: env(safe-area-inset-top, 0px);
  color: var(--on-dark);
  transition: background-color 0.3s ease, transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-solid,
.site-header--solid {
  background: rgba(42, 33, 39, 0.94);
}
@supports (backdrop-filter: blur(1px)) {
  .site-header.is-solid,
  .site-header--solid { background: rgba(42, 33, 39, 0.82); backdrop-filter: blur(14px) saturate(1.2); }
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  block-size: var(--header-h);
}
.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  color: inherit;
  text-decoration: none;
  font-family: var(--f-display);
  white-space: nowrap;
}
.wordmark__name { font-stretch: 112%; font-weight: 600; font-size: 1.125rem; letter-spacing: -0.01em; }
.wordmark__place {
  font-stretch: 112%;
  font-weight: 400;
  font-size: 1.125rem;
  padding-inline-start: 0.55rem;
  border-inline-start: 1px solid currentColor;
  opacity: 0.85;
}
.site-nav { display: none; }
.site-header__cta { display: none; }

@media (min-width: 60em) {
  .site-nav { display: block; margin-inline-start: auto; }
  .site-nav ul { display: flex; gap: clamp(1rem, 2vw, 2.25rem); }
  .site-nav a {
    font-family: var(--f-display);
    font-size: var(--t-ui);
    font-weight: 500;
    text-decoration: none;
    padding-block: 0.5rem;
    border-block-end: 1px solid transparent;
  }
  .site-nav a:hover { border-block-end-color: currentColor; }
  .site-header__cta { display: inline-flex; margin-inline-start: clamp(1rem, 2vw, 2rem); min-block-size: 2.75rem; padding-block: 0.6rem; }
}

/* Mobile dock: menu and email in the thumb zone */
.dock {
  position: fixed;
  inset-inline: 0.75rem;
  inset-block-end: calc(0.75rem + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 0.5rem;
  padding: 0.4rem;
  border-radius: 999px;
  background: rgba(42, 33, 39, 0.9);
  color: var(--on-dark);
  box-shadow: 0 10px 30px rgba(20, 14, 18, 0.28);
}
@supports (backdrop-filter: blur(1px)) {
  .dock { background: rgba(42, 33, 39, 0.78); backdrop-filter: blur(14px) saturate(1.2); }
}
.dock .btn { min-block-size: 2.9rem; padding-inline: 1rem; }
@media (min-width: 60em) { .dock { display: none; } }

/* Menu overlay (dialog) */
.menu {
  inline-size: 100%;
  max-inline-size: 100%;
  block-size: 100%;
  max-block-size: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--dusk);
  color: var(--on-dark);
}
.menu::backdrop { background: rgba(20, 14, 18, 0.6); }
.menu__inner {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-block-size: 100%;
  padding: var(--gutter);
  padding-block-end: calc(1.25rem + env(safe-area-inset-bottom, 0px));
}
.menu__brand { margin-block-end: auto; padding-block-start: 0.5rem; }
.menu__links { display: grid; gap: 0.25rem; margin-block: 2rem 2.5rem; }
.menu__links a {
  display: block;
  padding-block: 0.6rem;
  font-family: var(--f-display);
  font-stretch: var(--wide);
  font-size: clamp(1.75rem, 1.2rem + 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.1;
  text-decoration: none;
  border-block-end: 1px solid var(--rule-dark);
}
.menu__foot { display: grid; grid-template-columns: 1fr 1.6fr; gap: 0.5rem; }
.menu__note { margin-block-end: 1rem; font-size: var(--t-small); color: var(--on-dark-soft); font-family: var(--f-display); }
@media (prefers-reduced-motion: no-preference) {
  .menu[open] .menu__inner { animation: menu-in 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); }
}
@keyframes menu-in { from { transform: translateY(1.5rem); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-block-size: 100vh;
  min-block-size: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    radial-gradient(70% 55% at 75% 105%, rgba(204, 154, 112, 0.42), rgba(204, 154, 112, 0) 70%),
    radial-gradient(60% 50% at 0% 0%, rgba(110, 82, 104, 0.45), rgba(110, 82, 104, 0) 70%),
    linear-gradient(180deg, #241c22 0%, #2A2127 55%, #33251f 100%);
  color: var(--on-dark);
  overflow: hidden;
}
.hero__frame {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  clip-path: inset(0 0 0 0 round 0px);
  will-change: clip-path;
}
.hero__media, .hero__media img, .hero__video {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}
.hero__glow {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(42% 38% at 82% 18%, rgba(255, 196, 140, 0.42), rgba(255, 196, 140, 0) 70%),
    radial-gradient(50% 45% at 10% 95%, rgba(168, 107, 62, 0.35), rgba(168, 107, 62, 0) 70%);
  mix-blend-mode: soft-light;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .hero__glow { animation: glow-drift 18s ease-in-out infinite alternate; }
}
@keyframes glow-drift {
  from { transform: translate3d(-3%, 2%, 0) scale(1); }
  to { transform: translate3d(3%, -2%, 0) scale(1.08); }
}
.js-motion:not(.motion-ready):not(.motion-failsafe) .hero__title { visibility: hidden; }
.hero__video { opacity: 0; transition: opacity 0.8s ease; }
.hero__video.is-playing { opacity: 1; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom, rgba(42, 33, 39, 0.6) 0%, rgba(42, 33, 39, 0) 20%),
    linear-gradient(to top, rgba(42, 33, 39, 0.94) 0%, rgba(42, 33, 39, 0.78) 45%, rgba(42, 33, 39, 0.35) 75%, rgba(42, 33, 39, 0.2) 100%);
}
@media (min-width: 60em) {
  .hero::after {
    background:
      linear-gradient(to bottom, rgba(42, 33, 39, 0.55) 0%, rgba(42, 33, 39, 0) 18%),
      linear-gradient(to top, rgba(42, 33, 39, 0.9) 0%, rgba(42, 33, 39, 0.55) 40%, rgba(42, 33, 39, 0.12) 72%, rgba(42, 33, 39, 0) 100%),
      linear-gradient(to right, rgba(42, 33, 39, 0.35) 0%, rgba(42, 33, 39, 0) 60%);
  }
  [dir="rtl"] .hero::after {
    background:
      linear-gradient(to bottom, rgba(42, 33, 39, 0.55) 0%, rgba(42, 33, 39, 0) 18%),
      linear-gradient(to top, rgba(42, 33, 39, 0.9) 0%, rgba(42, 33, 39, 0.55) 40%, rgba(42, 33, 39, 0.12) 72%, rgba(42, 33, 39, 0) 100%),
      linear-gradient(to left, rgba(42, 33, 39, 0.35) 0%, rgba(42, 33, 39, 0) 60%);
  }
}
.hero__title, .hero__sub { text-shadow: 0 1px 24px rgba(42, 33, 39, 0.35); }
.hero__content {
  padding-block: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 3rem) 6.5rem;
}
@media (min-width: 60em) {
  .hero__content { padding-block-end: clamp(3rem, 2rem + 3vw, 5rem); }
}
.hero__title {
  font-family: var(--f-display);
  font-stretch: var(--wide);
  font-weight: 400;
  font-size: var(--t-hero);
  line-height: 1.02;
  letter-spacing: -0.015em;
  max-inline-size: 13em;
  text-wrap: balance;
}
.hero__sub {
  margin-block-start: 1.25rem;
  font-size: var(--t-lead);
  line-height: 1.45;
  max-inline-size: 33em;
  color: rgba(238, 235, 234, 0.92);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-block-start: 2rem;
}
.hero__cred {
  font-family: var(--f-display);
  font-size: var(--t-small);
  line-height: 1.45;
  color: var(--on-dark-soft);
  max-inline-size: 34em;
  text-wrap: balance;
}
.hero__meta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem 2rem;
  margin-block-start: 2.25rem;
  padding-block-start: 1.25rem;
  border-block-start: 1px solid var(--rule-dark);
}
.hero__credit { font-style: italic; font-size: 0.875rem; line-height: 1.45; color: var(--on-dark-soft); max-inline-size: 40em; }
.film-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  min-block-size: 2.75rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--rule-dark);
  border-radius: 999px;
  background: transparent;
  font-family: var(--f-display);
  font-size: var(--t-small);
  font-weight: 600;
  cursor: pointer;
}
.film-toggle.is-ready { display: inline-flex; }
.film-toggle svg { inline-size: 0.75rem; block-size: 0.75rem; }
.film-toggle .i-play { display: none; }
.film-toggle[aria-pressed="true"] .i-play { display: block; }
.film-toggle[aria-pressed="true"] .i-pause { display: none; }
@media (max-width: 59.99em) {
  .film-toggle { inline-size: 2.75rem; padding: 0; justify-content: center; }
  .film-toggle__label { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* ---------- Section heads ---------- */
.section-head { display: grid; gap: 1.25rem; margin-block-end: clamp(2.5rem, 2rem + 3vw, 5rem); }
@media (min-width: 60em) {
  .section-head { grid-template-columns: 5fr 7fr; align-items: end; gap: 3rem; }
}

/* ---------- Work: penthouse feature ---------- */
.feature__image { position: relative; }
.feature__image img { inline-size: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.feature__label {
  position: absolute;
  inset-block-start: 1rem;
  inset-inline-start: 1rem;
  color: var(--on-dark);
  background: rgba(42, 33, 39, 0.55);
  border-color: rgba(238, 235, 234, 0.5);
}
.feature__body {
  display: grid;
  gap: 2.5rem;
  margin-block-start: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}
@media (min-width: 60em) {
  .feature__body { grid-template-columns: 7fr 5fr; gap: 4rem; }
}
.feature__title { margin-block: 0.9rem 1rem; }
.feature__links { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-block-start: 1.75rem; }

/* A gold light that circles the project site link, with a warm pulse behind it */
@property --ring { syntax: "<angle>"; inherits: false; initial-value: 30deg; }
.glow-ring {
  position: relative;
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  isolation: isolate;
  background: rgba(168, 107, 62, 0.28);
  box-shadow: 0 0 22px 2px rgba(214, 160, 110, 0.38);
}
.glow-ring::before,
.glow-ring::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: conic-gradient(from var(--ring),
    transparent 0 22%, #D9A273 36%, #FFEBD2 46%, transparent 50%,
    transparent 72%, #D9A273 86%, #FFEBD2 96%, transparent 100%);
}
.glow-ring::after {
  inset: -4px;
  z-index: -2;
  filter: blur(10px);
  opacity: 0.9;
}
.glow-ring:hover,
.glow-ring:focus-within { box-shadow: 0 0 30px 6px rgba(214, 160, 110, 0.55); }
@media (prefers-reduced-motion: no-preference) {
  .glow-ring { animation: ring-breathe 2.8s ease-in-out infinite alternate; }
  .glow-ring::before,
  .glow-ring::after { animation: ring-spin 3.2s linear infinite; }
}
@keyframes ring-spin { to { --ring: 390deg; } }
@keyframes ring-breathe {
  from { box-shadow: 0 0 14px 0 rgba(214, 160, 110, 0.22); }
  to { box-shadow: 0 0 34px 6px rgba(214, 160, 110, 0.55); }
}
.kit__list p a { color: var(--on-dark); }

.data { display: grid; border-block-start: 1px solid var(--rule-light); }
.data > div {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1rem;
  padding-block: 0.85rem;
  border-block-end: 1px solid var(--rule-light);
}
.data dt { font-family: var(--f-display); font-size: var(--t-small); font-weight: 600; line-height: 1.5; padding-block-start: 0.15rem; }
.data dd { line-height: 1.5; }
.on-dark .data, .on-dark .data > div { border-color: var(--rule-dark); }

/* Horizontal still strip */
.strip-block { margin-block-start: clamp(3rem, 2rem + 3vw, 5rem); }
.strip-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-block-end: 1.25rem; }
.strip-controls { display: none; gap: 0.5rem; }
@media (hover: hover) and (pointer: fine) { .strip-controls { display: flex; } }
.icon-btn {
  display: inline-grid;
  place-items: center;
  inline-size: 2.75rem;
  block-size: 2.75rem;
  border: 1px solid var(--rule-light);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.icon-btn:hover { border-color: var(--ink); }
.icon-btn svg { inline-size: 1rem; block-size: 1rem; }
[dir="rtl"] .icon-btn svg { transform: scaleX(-1); }
.strip {
  display: flex;
  gap: clamp(0.75rem, 0.5rem + 1vw, 1.25rem);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  --strip-pad: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  scroll-padding-inline: var(--strip-pad);
  padding-inline: var(--strip-pad);
  padding-block-end: 1rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(42, 33, 39, 0.35) transparent;
}
.strip > li {
  flex: 0 0 auto;
  inline-size: clamp(17rem, 78vw, 38rem);
  scroll-snap-align: start;
}
.strip img { inline-size: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--haze-2); }
.strip figcaption { margin-block-start: 0.6rem; }
.strip--full { max-inline-size: none; }
.credit-line { margin-block-start: 0.75rem; }

/* ---------- Work: brokerage concept ---------- */
.concept {
  display: grid;
  gap: 2.5rem;
  margin-block-start: var(--section);
  padding-block-start: var(--section);
  border-block-start: 1px solid var(--rule-light);
}
@media (min-width: 60em) {
  .concept { grid-template-columns: 4fr 8fr; gap: 4rem; align-items: start; }
  .concept__text { position: sticky; inset-block-start: calc(var(--header-h) + 2rem); }
}
.concept__title { margin-block: 0.9rem 1rem; }
.concept__text .caption { margin-block-start: 1.5rem; padding-inline-start: 1rem; border-inline-start: 2px solid var(--bronze); }
.shots { display: grid; gap: 1.5rem; }
@media (min-width: 40em) {
  .shots { grid-template-columns: 1fr 1fr; }
  .shots > :first-child { grid-column: 1 / -1; }
}
.shot img {
  inline-size: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
  outline: 1px solid var(--rule-light);
  box-shadow: 0 18px 40px -24px rgba(42, 33, 39, 0.45);
  background: #fff;
}
.shot figcaption { margin-block-start: 0.6rem; }

/* ---------- Work: selected work ledger ---------- */
.ledger-block { margin-block-start: var(--section); padding-block-start: var(--section); border-block-start: 1px solid var(--rule-light); }
.ledger-head { display: grid; gap: 1rem; margin-block-end: 2.5rem; }
@media (min-width: 60em) { .ledger-head { grid-template-columns: 4fr 8fr; gap: 4rem; align-items: end; } }
.ledger { border-block-start: 1px solid var(--rule-light); }
.ledger li {
  display: grid;
  gap: 0.35rem;
  padding-block: 1.25rem;
  border-block-end: 1px solid var(--rule-light);
}
@media (min-width: 48em) {
  .ledger li { grid-template-columns: 4fr 8fr; gap: 4rem; align-items: baseline; padding-block: 1.6rem; }
}
.ledger__name {
  font-family: var(--f-display);
  font-stretch: var(--wide);
  font-size: clamp(1.375rem, 1.1rem + 1.2vw, 2.125rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.ledger p { max-inline-size: 38em; }

/* ---------- Launch kit ---------- */
.kit { display: grid; gap: 2.5rem; }
@media (min-width: 60em) {
  .kit { grid-template-columns: 5fr 7fr; gap: clamp(3rem, 5vw, 6rem); align-items: start; }
  .kit__figure { position: sticky; inset-block-start: calc(var(--header-h) + 1.5rem); }
  .kit__figure img { block-size: calc(100vh - var(--header-h) - 6rem); max-block-size: 52rem; inline-size: 100%; object-fit: cover; object-position: 55% 50%; }
}
.kit__figure img { inline-size: 100%; aspect-ratio: auto; }
.kit__figure figcaption { margin-block-start: 0.75rem; }
.kit__intro .lead { margin-block-start: 1.25rem; }
.kit__list { margin-block-start: clamp(2.5rem, 2rem + 2vw, 4rem); border-block-start: 1px solid var(--rule-dark); }
.kit__list li {
  display: grid;
  gap: 0.5rem;
  padding-block: 1.5rem;
  border-block-end: 1px solid var(--rule-dark);
}
@media (min-width: 40em) {
  .kit__list li { grid-template-columns: 2fr 3fr; gap: 2rem; padding-block: 1.75rem; }
}
.kit__list p { color: var(--on-dark-soft); }
.kit__note { margin-block-start: 2rem; font-family: var(--f-display); font-size: var(--t-ui); color: var(--on-dark-soft); max-inline-size: 34em; line-height: 1.5; }

/* ---------- Process ---------- */
.steps { display: grid; gap: 0; }
@media (min-width: 45em) { .steps { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; } }
@media (min-width: 70em) { .steps { grid-template-columns: repeat(3, 1fr); column-gap: 3rem; } }
.steps li {
  position: relative;
  padding-block: 1.5rem 2rem;
}
@media (min-width: 45em) { .steps li { padding-block: 1.75rem 2.5rem; } }
.step__rule {
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  block-size: 1px;
  background: linear-gradient(90deg, var(--bronze) 0%, rgba(42, 33, 39, 0.28) 60%);
  transform-origin: left center;
}
[dir="rtl"] .step__rule { transform-origin: right center; background: linear-gradient(270deg, var(--bronze) 0%, rgba(42, 33, 39, 0.28) 60%); }
.step__no {
  display: block;
  margin-block-end: 1rem;
  font-family: var(--f-display);
  font-stretch: var(--wide);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  font-weight: 300;
  line-height: 1;
  color: var(--bronze-deep);
  font-variant-numeric: tabular-nums;
}
.steps .h3 { margin-block-end: 0.6rem; }
.steps p { color: var(--ink-soft); max-inline-size: 30em; }
.process-note { margin-block-start: 2.5rem; max-inline-size: 40em; }

/* ---------- Commercial model ---------- */
.terms-grid { display: grid; gap: 2.5rem; }
@media (min-width: 60em) { .terms-grid { grid-template-columns: 5fr 7fr; gap: clamp(3rem, 5vw, 6rem); } }
.terms-grid .lead { margin-block-start: 1.25rem; }
.terms > div {
  display: grid;
  gap: 0.4rem;
  padding-block: 1.4rem;
  border-block-end: 1px solid var(--rule-dark);
}
.terms { border-block-start: 1px solid var(--rule-dark); }
@media (min-width: 40em) { .terms > div { grid-template-columns: 2fr 3fr; gap: 2rem; } }
.terms dt { font-family: var(--f-display); font-stretch: 112%; font-weight: 500; font-size: 1.125rem; line-height: 1.35; }
.terms dd { color: var(--on-dark-soft); }
.permit-note {
  margin-block-start: 2rem;
  padding: 1.25rem 1.4rem;
  border-inline-start: 2px solid var(--bronze);
  background: var(--dusk-2);
}
.permit-note p + p { margin-block-start: 0.6rem; }
.permit-note strong { font-family: var(--f-display); font-weight: 600; font-size: 1rem; }

/* ---------- Studio ---------- */
.studio { display: grid; gap: 3rem; }
@media (min-width: 60em) { .studio { grid-template-columns: 7fr 5fr; gap: clamp(3rem, 6vw, 7rem); } }
.studio .h2 { margin-block-end: 1.75rem; }

/* ---------- Contact ---------- */
.contact {
  position: relative;
  isolation: isolate;
  min-block-size: 80vh;
  min-block-size: 80svh;
  display: flex;
  align-items: flex-end;
  background: var(--dusk);
  color: var(--on-dark);
  overflow: hidden;
}
.contact__bg, .contact__bg img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; object-position: 50% 40%; z-index: -2; }
.contact::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(42, 33, 39, 0.94) 0%, rgba(42, 33, 39, 0.7) 45%, rgba(42, 33, 39, 0.25) 100%);
}
.contact .wrap { padding-block: var(--section); }
.contact__title {
  font-family: var(--f-display);
  font-stretch: var(--wide);
  font-weight: 400;
  font-size: clamp(2.25rem, 1.2rem + 4.2vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  max-inline-size: 12em;
  text-wrap: balance;
}
.contact .lead { margin-block-start: 1.25rem; }
.contact__actions { margin-block-start: 2rem; display: grid; gap: 1rem; justify-items: start; }
.contact__note { font-family: var(--f-display); font-size: var(--t-small); color: var(--on-dark-soft); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dusk);
  color: var(--on-dark-soft);
  font-family: var(--f-display);
  font-size: var(--t-small);
  line-height: 1.6;
  padding-block: 3.5rem calc(6.5rem + env(safe-area-inset-bottom, 0px));
  border-block-start: 1px solid var(--rule-dark);
}
@media (min-width: 60em) { .site-footer { padding-block-end: 3.5rem; } }
.site-footer .wordmark { color: var(--on-dark); margin-block-end: 1.5rem; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 48em) { .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.footer-grid h2 { font-size: var(--t-small); font-weight: 600; color: var(--on-dark); margin-block-end: 0.6rem; }
.footer-grid a { color: var(--on-dark); }
.footer-grid li + li { margin-block-start: 0.35rem; }
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-block-start: 2.5rem;
  padding-block-start: 1.5rem;
  border-block-start: 1px solid var(--rule-dark);
}

/* ---------- Simple page (privacy) ---------- */
.simple { padding-block: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 4rem) var(--section); }
.simple .h2 { margin-block-end: 2rem; }
.simple h2.h3 { margin-block: 2.5rem 0.75rem; }

/* Reduced motion: no autoplay, no transitions */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* =================================================================
   Motion layer and gradients (second design pass)
   GSAP + ScrollTrigger + SplitText, Lenis smooth scroll on desktop.
   Everything is visible without JavaScript and with reduced motion:
   motion.js only adds states inside a no-preference media query.
   ================================================================= */

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }
html.lenis.lenis-smooth { scroll-behavior: auto !important; }

/* Film grain on dark sections */
.grain { position: relative; isolation: isolate; }
.grain::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Gradient fields */
.glow-section {
  background:
    radial-gradient(70% 55% at 90% 105%, rgba(204, 154, 112, 0.30), rgba(204, 154, 112, 0) 70%),
    radial-gradient(55% 45% at 0% 0%, rgba(110, 82, 104, 0.40), rgba(110, 82, 104, 0) 70%),
    linear-gradient(180deg, #2A2127 0%, #251d22 100%);
}
.sheen-section {
  background:
    linear-gradient(115deg, rgba(204, 154, 112, 0) 30%, rgba(204, 154, 112, 0.16) 48%, rgba(204, 154, 112, 0) 66%) 0 0 / 250% 100%,
    radial-gradient(60% 60% at 100% 0%, rgba(110, 82, 104, 0.45), rgba(110, 82, 104, 0) 70%),
    linear-gradient(160deg, #2A2127 0%, #30242a 60%, #3a2a24 100%);
}
@media (prefers-reduced-motion: no-preference) {
  .sheen-section { animation: sheen 16s ease-in-out infinite alternate; }
}
@keyframes sheen { from { background-position: 100% 0, 0 0, 0 0; } to { background-position: 0% 0, 0 0, 0 0; } }

.has-orb { position: relative; overflow-x: clip; }
.has-orb > .wrap, .has-orb > .strip-block { position: relative; z-index: 1; }
.orb {
  position: absolute;
  z-index: 0;
  inline-size: min(70vw, 60rem);
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(242, 201, 160, 0.55), rgba(242, 201, 160, 0.18) 55%, rgba(242, 201, 160, 0) 100%);
}
.orb--work { inset-block-start: -12rem; inset-inline-end: -18rem; }
.orb--process {
  inset-block-end: -20rem;
  inset-inline-start: -16rem;
  background: radial-gradient(closest-side, rgba(204, 154, 112, 0.38), rgba(204, 154, 112, 0.12) 55%, rgba(204, 154, 112, 0) 100%);
}

/* Marquee band */
.marquee {
  display: grid;
  gap: clamp(0.5rem, 0.3rem + 1vw, 1.25rem);
  padding-block: clamp(2.5rem, 2rem + 3vw, 5rem);
  overflow: hidden;
  background:
    radial-gradient(60% 120% at 50% 120%, rgba(204, 154, 112, 0.35), rgba(204, 154, 112, 0) 70%),
    linear-gradient(90deg, #241c22 0%, #3a2a26 50%, #241c22 100%);
  color: var(--on-dark);
}
.marquee__row {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 0.8rem + 2vw, 3rem);
  inline-size: max-content;
  white-space: nowrap;
  font-family: var(--f-display);
  font-stretch: 125%;
  font-weight: 400;
  font-size: clamp(2.25rem, 1rem + 6vw, 7rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  will-change: transform;
}
.marquee__row--quiet {
  font-size: clamp(1.25rem, 0.8rem + 2vw, 2.5rem);
  color: var(--bronze-on-dark);
  font-weight: 400;
}
.marquee__row i {
  flex: none;
  inline-size: 0.28em;
  block-size: 0.28em;
  background: linear-gradient(135deg, #e3b58a, #8A5230);
  transform: rotate(45deg);
}
.marquee__row--quiet i { inline-size: 0.35em; block-size: 0.35em; opacity: 0.7; }

/* Stills: media wrapper, pinned mode, progress */
.strip__media { display: block; overflow: hidden; }
.strip__media img { transform-origin: 50% 50%; }
.strip-progress { display: none; }
.strip-block.is-scrubbed { overflow: hidden; padding-block: 2rem; }
.strip-block.is-scrubbed .strip {
  overflow: visible;
  scroll-snap-type: none;
  padding-block-end: 0;
}
.strip-block.is-scrubbed .strip > li { inline-size: clamp(22rem, 38vw, 42rem); }
.strip-block.is-scrubbed .strip-controls { display: none; }
.strip-block.is-scrubbed .strip-progress {
  display: block;
  block-size: 2px;
  margin-block-start: 1.5rem;
  background: var(--rule-light);
}
.strip-block.is-scrubbed .strip-progress span {
  display: block;
  block-size: 100%;
  background: linear-gradient(90deg, #8A5230, #e3b58a);
  transform-origin: left center;
  transform: scaleX(0);
}
[dir="rtl"] .strip-block.is-scrubbed .strip-progress span { transform-origin: right center; }

/* Ledger name mask */
.ledger__name { display: block; overflow: hidden; padding-block-end: 0.08em; }
.ledger__name > span { display: inline-block; }

/* Launch kit: the item in view lights up */
.kit__list li { position: relative; }
.kit__list li .h3, .kit__list li p { transition: color 0.5s ease; }
.kit__list li::before {
  content: "";
  position: absolute;
  inset-block: -1px;
  inset-inline-start: calc(-1 * clamp(0.9rem, 1.6vw, 1.5rem));
  inline-size: 2px;
  background: linear-gradient(180deg, #e3b58a, #8A5230);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
/* Dimmed items keep AA contrast: headings #B9ADB2, text #978C91 on dusk */
.kit-motion .kit__list li .h3 { color: var(--on-dark-soft); }
.kit-motion .kit__list li p { color: #978C91; }
.kit-motion .kit__list li.is-active .h3 { color: var(--on-dark); }
.kit-motion .kit__list li.is-active p { color: #DDD5D8; }
.kit-motion .kit__list li.is-active::before { transform: scaleY(1); }
.kit__figure picture { display: block; overflow: hidden; }

/* Studio statement */
.statement {
  font-size: clamp(1.375rem, 1.05rem + 1.3vw, 2.125rem);
  line-height: 1.35;
  letter-spacing: -0.005em;
  max-inline-size: 26em;
}
.prose .statement + p { margin-block-start: 1.75em; }

/* Contact iris */
.contact__bg { will-change: clip-path; }

@media (prefers-reduced-motion: reduce) {
  .hero__glow, .sheen-section { animation: none !important; }
}
.feature__image { overflow: hidden; }
/* SplitText line masks: room for descenders and the hero text shadow */
.split-line-mask { padding-block: 0.06em 0.18em; margin-block: -0.06em -0.18em; }
/* Slide-in content in the commercial block must not widen the page while it waits */
.sheen-section { overflow-x: clip; }
