/* The 360 Booth Co. — shared system
   ------------------------------------------------------------------ */

:root {
  --ink: #060309;
  --ink-2: #0c0612;
  --midnight: #15082a;
  --midnight-2: #240f44;
  --midnight-3: #311557;
  --gold: #c9a961;
  --gold-bright: #e9d59a;
  --gold-deep: #8c733f;
  --cream: #f5ede1;
  --cream-dim: rgba(245, 237, 225, 0.72);
  --cream-mute: rgba(245, 237, 225, 0.52);
  --line: rgba(201, 169, 97, 0.22);
  --line-soft: rgba(245, 237, 225, 0.08);
  --shadow-lg: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 10px 30px -10px rgba(21, 8, 42, 0.6);

  --f-display: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --f-body: "Inter", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --maxw: 1280px;
  --pad-x: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--f-body);
  background: var(--ink);
  color: var(--cream);
  line-height: 1.6;
  font-size: 16px;
  font-weight: 400;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }

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

/* Subtle film grain to lift dark surfaces ----------------------------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.95 0 0 0 0 0.92 0 0 0 0 0.85 0 0 0 1 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* Type scale ---------------------------------------------------------- */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--cream);
  margin: 0;
}
h1 { font-size: clamp(40px, 7.2vw, 104px); }
h2 { font-size: clamp(32px, 4.6vw, 64px); line-height: 1.08; }
h3 { font-size: clamp(22px, 2.4vw, 32px); line-height: 1.2; }
h4 { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.3; }

.italic { font-style: italic; color: var(--gold-bright); font-weight: 400; }

p { margin: 0 0 1em; color: var(--cream-dim); max-width: 64ch; }
.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--cream-dim); max-width: 60ch; }

/* Layout -------------------------------------------------------------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad-x); }
section { position: relative; }

/* Sticky nav ---------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  padding: 18px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 400ms ease, border-color 400ms ease, padding 300ms ease, backdrop-filter 400ms ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(6, 3, 9, 0.78);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom-color: var(--line-soft);
  padding-top: 12px;
  padding-bottom: 12px;
}
.nav__brand {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--f-display);
  font-size: 18px;
  letter-spacing: 0.02em;
}
.nav__brand img { width: 44px; height: 44px; object-fit: contain; }
.nav__brand strong { font-weight: 500; color: var(--cream); }
.nav__brand small {
  display: block;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}
.nav__links {
  display: flex; align-items: center; gap: 32px;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.nav__links a {
  color: var(--cream-dim);
  position: relative;
  padding: 6px 0;
  transition: color 200ms ease;
}
.nav__links a::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  height: 1px;
  width: 0;
  background: var(--gold);
  transition: width 300ms ease;
}
.nav__links a:hover, .nav__links a.active { color: var(--cream); }
.nav__links a:hover::after, .nav__links a.active::after { width: 100%; }
.nav__cta { display: flex; gap: 10px; align-items: center; }

.nav__burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.nav__burger span { display: block; width: 18px; height: 1px; background: var(--gold); position: relative; }
.nav__burger span::before, .nav__burger span::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 1px; background: var(--gold);
}
.nav__burger span::before { top: -6px; }
.nav__burger span::after { top: 6px; }

@media (max-width: 880px) {
  .nav__links { display: none; }
  .nav__cta .btn--ghost { display: none; }
  .nav__burger { display: inline-flex; }
}

/* Mobile menu drawer */
.menu-drawer {
  position: fixed; inset: 0; z-index: 70;
  background: rgba(6, 3, 9, 0.96);
  backdrop-filter: blur(20px);
  display: none;
  flex-direction: column;
  padding: 100px var(--pad-x) 40px;
}
.menu-drawer.open { display: flex; }
.menu-drawer a {
  font-family: var(--f-display);
  font-size: 32px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--cream);
}
.menu-drawer__close {
  position: absolute; top: 22px; right: var(--pad-x);
  width: 44px; height: 44px;
  border-radius: 999px; border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 22px;
}

/* Buttons ------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 26px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: transform 240ms ease, background 240ms ease, color 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }

.btn--gold {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold) 60%, var(--gold-deep));
  color: var(--ink);
  box-shadow: 0 14px 30px -14px rgba(201, 169, 97, 0.55), inset 0 1px 0 rgba(255,255,255,0.4);
}
.btn--gold:hover {
  box-shadow: 0 18px 40px -14px rgba(201, 169, 97, 0.7), inset 0 1px 0 rgba(255,255,255,0.5);
}
.btn--ghost {
  border: 1px solid var(--line);
  color: var(--cream);
  background: rgba(245, 237, 225, 0.02);
}
.btn--ghost::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--gold);
  transform: translateX(-101%);
  transition: transform 360ms cubic-bezier(.7,0,.2,1);
  z-index: -1;
}
.btn--ghost:hover { color: var(--ink); border-color: var(--gold); }
.btn--ghost:hover::before { transform: translateX(0); }

.btn--whatsapp {
  background: #15082a;
  color: var(--cream);
  border: 1px solid var(--line);
}
.btn--whatsapp:hover {
  background: #1f0a3d;
  border-color: var(--gold);
  color: var(--gold-bright);
}
.btn .arr { transition: transform 240ms ease; }
.btn:hover .arr { transform: translateX(4px); }

/* Sections / generic -------------------------------------------------- */
.section {
  padding: clamp(72px, 10vw, 140px) 0;
  position: relative;
}
.section--dark { background: var(--ink); }
.section--midnight {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(49, 21, 87, 0.6), transparent 60%),
    radial-gradient(ellipse at 80% 100%, rgba(49, 21, 87, 0.4), transparent 55%),
    var(--ink);
}
.section__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 80px);
}
.section__head h2 { max-width: 14ch; }
@media (max-width: 760px) {
  .section__head { grid-template-columns: 1fr; align-items: start; }
}

/* Cards / cells ------------------------------------------------------- */
.card {
  position: relative;
  padding: 36px 32px;
  background: linear-gradient(180deg, rgba(36, 15, 68, 0.4), rgba(12, 6, 18, 0.4));
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  transition: border-color 300ms ease, transform 400ms ease, background 400ms ease;
}
.card:hover {
  border-color: var(--line);
  transform: translateY(-4px);
  background: linear-gradient(180deg, rgba(49, 21, 87, 0.5), rgba(12, 6, 18, 0.5));
}
.card__num {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.2em;
}
.card__icon {
  width: 56px; height: 56px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  align-items: center; justify-content: center;
  color: var(--gold);
  margin-bottom: 24px;
}
.card h3 { margin-bottom: 12px; }
.card p { font-size: 15px; }

/* Hairlines ----------------------------------------------------------- */
.hr-gold {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.4;
  border: 0;
  margin: 0;
}

/* Image placeholder --------------------------------------------------- */
.placeholder {
  position: relative;
  background:
    repeating-linear-gradient(135deg, rgba(201,169,97,0.06) 0 2px, transparent 2px 14px),
    linear-gradient(180deg, var(--midnight-2), var(--midnight));
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-align: center;
  aspect-ratio: 4/3;
  padding: 24px;
}
.placeholder::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid var(--line);
  pointer-events: none;
}
.placeholder span { position: relative; z-index: 1; }
.placeholder--tall { aspect-ratio: 3/4; }
.placeholder--wide { aspect-ratio: 16/9; }
.placeholder--square { aspect-ratio: 1/1; }

/* Reveal animations --------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 900ms cubic-bezier(.2,.7,.2,1), transform 900ms cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.in { opacity: 1; transform: none; }

.reveal-words {
  display: inline-block;
}
.reveal-words .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(40%);
  transition: opacity 800ms ease, transform 800ms cubic-bezier(.2,.8,.2,1);
}
.reveal-words.in .w { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .reveal-words .w { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Footer -------------------------------------------------------------- */
.footer {
  padding: 100px var(--pad-x) 40px;
  background: var(--ink-2);
  border-top: 1px solid var(--line-soft);
  position: relative;
}
.footer__top {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line-soft);
}
.footer__brand img { width: 80px; }
.footer__brand h4 { font-family: var(--f-display); font-size: 24px; margin: 18px 0 12px; }
.footer__brand p { font-size: 14px; max-width: 32ch; }
.footer__col h5 {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--gold); margin: 0 0 18px;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer__col a { color: var(--cream-dim); font-size: 14px; transition: color 200ms ease; }
.footer__col a:hover { color: var(--gold-bright); }
.footer__bottom {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--cream-mute);
  text-transform: uppercase;
}
@media (max-width: 760px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; gap: 18px; text-align: center; }
}

/* Form elements ------------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.field input, .field select, .field textarea {
  background: rgba(12, 6, 18, 0.7);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  padding: 14px 16px;
  color: var(--cream);
  font-size: 15px;
  transition: border-color 200ms ease, background 200ms ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(36, 15, 68, 0.5);
}
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}

/* Page header (subpages) --------------------------------------------- */
.page-header {
  padding: 180px var(--pad-x) 80px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(ellipse at 70% 30%, rgba(49, 21, 87, 0.45), transparent 55%),
    var(--ink);
  position: relative;
  overflow: hidden;
}
.page-header__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  align-items: end;
}
.page-header h1 { font-size: clamp(48px, 7vw, 88px); }
.page-header p { font-size: 17px; }
.page-header__breadcrumb {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.page-header__breadcrumb a { color: var(--cream-mute); }
@media (max-width: 760px) {
  .page-header__inner { grid-template-columns: 1fr; align-items: start; }
}

/* Legal page typography ---------------------------------------------- */
.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px var(--pad-x) 120px;
  font-size: 16px;
}
.prose h2 { font-size: clamp(26px, 3vw, 36px); margin: 56px 0 16px; }
.prose h3 { font-size: 20px; margin: 32px 0 12px; }
.prose p, .prose li { color: var(--cream-dim); }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--cream); font-weight: 500; }
.prose a { color: var(--gold-bright); border-bottom: 1px solid var(--line); }

/* Subtle disclaimer beneath section leads ----------------------------- */
.gallery-note {
  margin: 14px 0 0;
  max-width: 60ch;
  font-family: var(--f-mono);
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--cream-mute);
  font-style: italic;
  padding-left: 14px;
  border-left: 1px solid rgba(201, 169, 97, 0.22);
}
.gallery-note::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.45;
  margin-right: 10px;
  vertical-align: middle;
  transform: translateY(-1px);
}
@media (max-width: 720px) {
  .gallery-note { font-size: 10.5px; padding-left: 12px; }
}
