/* ============================================================
   StudioZoubi — architectural black
   ============================================================ */
:root {
  --black: #050505;
  --panel: #0c0b0a;
  --panel-2: #111010;
  --ivory: #f2ede3;
  --bone: #e6ddcd;
  --muted: #9b948a;
  --faint: #6b655d;
  --line: rgba(242, 237, 227, 0.14);
  --line-soft: rgba(242, 237, 227, 0.07);
  --gold: #c9b896;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--bone); color: var(--black); }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 6vw; }

/* ---------- typography ---------- */
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.eyebrow::before { content: ''; width: 44px; height: 1px; background: var(--line); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
.display {
  font-size: clamp(44px, 7vw, 96px);
  line-height: 1.04;
  letter-spacing: 0.01em;
}
.h2 {
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.12;
  margin-bottom: 30px;
}
.lead { font-size: 18px; color: var(--bone); max-width: 56ch; }
p.body { color: var(--muted); max-width: 58ch; margin-bottom: 18px; }
.serif-i { font-family: var(--serif); font-style: italic; color: var(--bone); }

/* ---------- buttons with light sweep ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 42px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ivory);
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.6s var(--ease), color 0.6s var(--ease), background 0.6s var(--ease);
  isolation: isolate;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(242, 237, 227, 0.18) 50%, transparent 70%);
  transform: translateX(-110%);
  transition: transform 1.1s var(--ease);
  z-index: -1;
}
.btn:hover { border-color: rgba(242, 237, 227, 0.5); }
.btn:hover::before { transform: translateX(110%); }
.btn-solid {
  background: var(--ivory);
  color: var(--black);
  border-color: var(--ivory);
}
.btn-solid::before {
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.75) 50%, transparent 70%);
  animation: sheen 4.5s var(--ease) infinite;
}
@keyframes sheen {
  0% { transform: translateX(-110%); }
  38% { transform: translateX(110%); }
  100% { transform: translateX(110%); }
}
.btn-solid:hover { background: #fff; }
.btn .arr { font-family: var(--serif); font-size: 16px; letter-spacing: 0; transition: transform 0.5s var(--ease); }
.btn:hover .arr { transform: translateX(6px); }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.5s, border-color 0.5s, padding 0.5s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5, 5, 5, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line-soft);
  padding: 14px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 24px; width: auto; }
.wordmark { font-family: var(--sans); font-size: 19px; letter-spacing: 0.01em; }
.wordmark b { font-weight: 700; }
.wordmark span { font-weight: 300; }
.nav-links { display: flex; gap: 38px; }
.nav-links a {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  padding: 4px 0;
  transition: color 0.4s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--bone);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.nav-links a:hover { color: var(--ivory); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { display: flex; align-items: center; gap: 26px; }
.nav .btn { padding: 12px 26px; font-size: 10px; }
.langs { display: flex; gap: 2px; }
.langs button {
  background: none;
  border: none;
  color: var(--faint);
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  padding: 6px 8px;
  cursor: pointer;
  transition: color 0.3s;
}
.langs button.active { color: var(--ivory); }
.langs button:hover { color: var(--bone); }
.langs button + button { border-left: 1px solid var(--line-soft); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 140px 6vw 100px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.5;
  animation: slowzoom 30s ease-out forwards;
}
@keyframes slowzoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 42%, transparent 0%, rgba(5,5,5,0.55) 70%, rgba(5,5,5,0.92) 100%),
    linear-gradient(to bottom, rgba(5,5,5,0.35), rgba(5,5,5,0.15) 40%, var(--black) 96%);
}
.hero-content { position: relative; z-index: 2; max-width: 900px; }
.hero-mark {
  width: clamp(180px, 22vw, 260px);
  margin: 0 auto 30px;
  mix-blend-mode: screen;
}
.hero .eyebrow { justify-content: center; }
.hero .eyebrow::after { content: ''; width: 44px; height: 1px; background: var(--line); }
.hero-sub {
  margin: 30px auto 46px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 2.2vw, 24px);
  color: var(--bone);
  max-width: 34ch;
  line-height: 1.5;
}
.hero-ctas { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.scroll-cue {
  position: absolute;
  bottom: 34px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 1px; height: 62px;
  background: var(--line);
  overflow: hidden;
}
.scroll-cue::after {
  content: '';
  position: absolute;
  top: -30%;
  width: 100%; height: 30%;
  background: var(--bone);
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue { 0% { top: -30%; } 100% { top: 130%; } }

/* ---------- sections ---------- */
section { padding: 130px 0; position: relative; }
.section-line { border-top: 1px solid var(--line-soft); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.split.rev > .split-media { order: 2; }

.frame { position: relative; overflow: hidden; }
.frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.6s var(--ease);
}
.frame:hover img { transform: scale(1.045); }
.frame::after {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(242, 237, 227, 0.16);
  pointer-events: none;
}
.caption {
  margin-top: 16px;
  font-size: 10.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--faint);
  display: flex;
  justify-content: space-between;
}

/* ---------- gallery mosaic ---------- */
.mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 90px;
  gap: 14px;
}
.mosaic .frame::after { inset: 10px; }
.m1 { grid-column: 1 / 8; grid-row: span 5; }
.m2 { grid-column: 8 / 13; grid-row: span 7; }
.m3 { grid-column: 1 / 4; grid-row: span 4; }
.m4 { grid-column: 4 / 8; grid-row: span 4; }
.m5 { grid-column: 8 / 13; grid-row: span 2; }
.mosaic-note {
  grid-column: 8 / 13;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 6px;
}

/* ---------- statement ---------- */
.statement { text-align: center; padding: 160px 0; }
.statement blockquote {
  font-family: var(--serif);
  font-size: clamp(28px, 4.6vw, 54px);
  line-height: 1.28;
  font-weight: 300;
  max-width: 21ch;
  margin: 0 auto;
  color: var(--ivory);
}
.statement blockquote em { font-style: italic; color: var(--gold); }
.statement cite {
  display: block;
  margin-top: 36px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ---------- manifesto ---------- */
.manifesto-list { border-top: 1px solid var(--line-soft); margin-top: 12px; }
.manifesto-list li {
  list-style: none;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-soft);
}
.manifesto-list .n {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--faint);
}
.manifesto-list h3 { font-size: 21px; margin-bottom: 6px; }
.manifesto-list p { color: var(--muted); font-size: 15px; max-width: 52ch; }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 70px; }
.step {
  border: 1px solid var(--line-soft);
  padding: 44px 34px 40px;
  background: linear-gradient(180deg, var(--panel), transparent);
  position: relative;
  overflow: hidden;
  transition: border-color 0.6s;
}
.step:hover { border-color: var(--line); }
.step::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 184, 150, 0.6), transparent);
  transform: translateX(-100%);
  transition: transform 1.2s var(--ease);
}
.step:hover::before { transform: translateX(100%); }
.step .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 46px;
  color: var(--faint);
  display: block;
  margin-bottom: 22px;
  line-height: 1;
}
.step h3 { font-size: 24px; margin-bottom: 12px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* ---------- booking ---------- */
.booking-shell {
  border: 1px solid var(--line-soft);
  background: var(--panel);
  padding: clamp(28px, 5vw, 70px);
  margin-top: 60px;
}
.mode-tabs { display: flex; gap: 0; border: 1px solid var(--line-soft); width: fit-content; margin-bottom: 46px; }
.mode-tabs button {
  background: none;
  border: none;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  padding: 15px 28px;
  cursor: pointer;
  transition: all 0.4s;
}
.mode-tabs button.active { background: var(--ivory); color: var(--black); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 26px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 10.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  padding: 10px 2px 12px;
  outline: none;
  transition: border-color 0.4s;
  border-radius: 0;
}
.field textarea { resize: vertical; min-height: 88px; line-height: 1.6; }
.field input:focus, .field textarea:focus { border-bottom-color: var(--bone); }

/* date & time pickers */
.picker-label { font-size: 10.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); margin: 34px 0 16px; }
.dates {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.date-chip {
  flex: 0 0 auto;
  min-width: 82px;
  border: 1px solid var(--line-soft);
  background: transparent;
  color: var(--muted);
  padding: 14px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.35s;
  font-family: var(--sans);
}
.date-chip .dow { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; display: block; margin-bottom: 6px; }
.date-chip .d { font-family: var(--serif); font-size: 24px; color: var(--bone); display: block; line-height: 1; }
.date-chip .mo { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; display: block; margin-top: 6px; }
.date-chip:hover { border-color: var(--line); }
.date-chip.sel { border-color: var(--bone); background: rgba(242, 237, 227, 0.06); color: var(--ivory); }
.times { display: flex; flex-wrap: wrap; gap: 10px; }
.time-chip {
  border: 1px solid var(--line-soft);
  background: transparent;
  color: var(--bone);
  font-family: var(--serif);
  font-size: 17px;
  padding: 11px 24px;
  cursor: pointer;
  transition: all 0.35s;
}
.time-chip:hover { border-color: var(--line); }
.time-chip.sel { background: var(--ivory); color: var(--black); border-color: var(--ivory); }

/* upload */
.drop {
  border: 1px dashed var(--line);
  padding: 34px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.4s;
}
.drop:hover, .drop.over { border-color: var(--bone); color: var(--bone); background: rgba(242, 237, 227, 0.03); }
.previews { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.previews .pv { position: relative; width: 82px; height: 82px; }
.previews img { width: 100%; height: 100%; object-fit: cover; border: 1px solid var(--line); }
.previews .rm {
  position: absolute;
  top: -8px; right: -8px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--black);
  border: 1px solid var(--line);
  color: var(--bone);
  font-size: 11px;
  cursor: pointer;
  line-height: 1;
}
.hint { font-size: 12px; color: var(--faint); margin-top: 10px; }

.form-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 38px 0 30px;
  padding: 20px 22px;
  border-left: 1px solid var(--gold);
  background: rgba(201, 184, 150, 0.045);
  color: var(--muted);
  font-size: 13.5px;
  max-width: 70ch;
}

.success-panel { text-align: center; padding: 60px 20px; }
.success-panel .glyph {
  width: 58px; height: 58px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 24px;
}
.success-panel h3 { font-size: 32px; margin-bottom: 16px; }
.success-panel p { color: var(--muted); max-width: 52ch; margin: 0 auto 8px; }
.err-msg { color: #d9a0a0; font-size: 13.5px; margin-top: 18px; display: none; }

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--line-soft);
  padding: 90px 0 46px;
  background: var(--panel);
}
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px; margin-bottom: 70px; }
.foot-grid h4 {
  font-size: 10.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 20px;
  font-weight: 400;
}
.foot-grid p, .foot-grid a { color: var(--muted); font-size: 14px; display: block; line-height: 2.1; }
.foot-grid a:hover { color: var(--ivory); }
.foot-brand img { height: 36px; width: auto; margin-bottom: 18px; }
.foot-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 30px;
  border-top: 1px solid var(--line-soft);
  color: var(--faint);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  flex-wrap: wrap;
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.12s; }
.reveal.d2 { transition-delay: 0.24s; }
.reveal.d3 { transition-delay: 0.36s; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-inner { gap: 12px; }
  .nav-cta { gap: 12px; }
  .nav .btn { padding: 10px 14px; font-size: 9.5px; letter-spacing: 0.16em; white-space: nowrap; }
  .split { grid-template-columns: 1fr; }
  .split.rev > .split-media { order: 0; }
  .steps { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .mosaic { grid-auto-rows: 70px; }
  .m1 { grid-column: 1 / 13; grid-row: span 4; }
  .m2 { grid-column: 1 / 13; grid-row: span 6; }
  .m3 { grid-column: 1 / 7; grid-row: span 3; }
  .m4 { grid-column: 7 / 13; grid-row: span 3; }
  .m5 { display: none; }
  .mosaic-note { grid-column: 1 / 13; padding: 20px 4px; }
  .form-grid { grid-template-columns: 1fr; }
  section { padding: 90px 0; }
}
@media (max-width: 640px) {
  /* the hero CTA is one swipe away — drop the nav button so brand + languages never collide */
  .nav .btn { display: none; }
  .wordmark { font-size: 16px; }
  .brand { gap: 10px; }
  .brand img { height: 20px; }
  .langs button { padding: 6px 7px; font-size: 10px; letter-spacing: 0.12em; }
}
@media (max-width: 560px) {
  .foot-grid { grid-template-columns: 1fr; gap: 34px; }
  .mode-tabs { width: 100%; }
  .mode-tabs button { flex: 1; padding: 14px 6px; font-size: 10px; letter-spacing: 0.12em; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .manifesto-list li { grid-template-columns: 40px 1fr; gap: 14px; }
}
