/* The Right Room
   Brand tokens first. Change a colour here and it changes everywhere. */
:root {
  --black: #080808;
  --ink: #111111;          /* panels and cards */
  --line: #262626;         /* thin rules */
  --white: #f5f3ef;        /* main text, warm white */
  --cream: #ece7df;
  --muted: #a3a09a;        /* body copy */
  --dim: #787570;          /* small print */
  --gold: #9a7b3f;
  --gold-soft: rgba(154, 123, 63, 0.16);

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  --header-h: 68px;
  --gutter: 20px;
  --wide: 1120px;
  --read: 680px;
}
@media (min-width: 768px) { :root { --header-h: 80px; --gutter: 32px; } }

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); color-scheme: dark; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
strong, b { font-weight: 500; color: var(--white); }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 200;
  background: var(--gold); color: var(--black); padding: 12px 18px;
  font-size: 14px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Type */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; color: var(--white); }
h1 { font-size: clamp(38px, 7vw, 68px); letter-spacing: -0.01em; }
h2 { font-size: clamp(30px, 4.6vw, 46px); letter-spacing: -0.005em; }
h3 { font-size: clamp(22px, 2.6vw, 26px); }
h1 em, h2 em { font-style: italic; color: var(--gold); }
p, li { color: var(--muted); }
.lead { font-size: clamp(18px, 2.2vw, 21px); line-height: 1.7; color: var(--cream); }
.eyebrow {
  display: block; font-size: 11px; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 22px;
}
.small { font-size: 14px; line-height: 1.7; color: var(--dim); }
.quote {
  font-family: var(--serif); font-style: italic; font-size: clamp(22px, 3vw, 30px);
  line-height: 1.4; color: var(--cream); border-left: 2px solid var(--gold); padding-left: 24px;
}
.prose { max-width: var(--read); }
.prose > * + * { margin-top: 1.2em; }
.prose h2 { margin-top: 2em; }
.prose h2 + * { margin-top: 0.8em; }
.prose a:not(.btn) { color: var(--gold); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:not(.btn):hover { color: var(--white); }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: 0.4em; }
.center { text-align: center; margin-inline: auto; }
.rule { width: 48px; height: 1px; background: var(--gold); border: 0; margin: 28px 0; }
.center .rule, .rule.center { margin-inline: auto; }

/* Layout */
.container { width: 100%; max-width: calc(var(--wide) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--read { max-width: calc(var(--read) + var(--gutter) * 2); }
.section { padding-block: 80px; }
@media (min-width: 768px) { .section { padding-block: 128px; } }
.section--ink { background: var(--ink); border-block: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { text-align: center; }
.section-head p { margin-top: 18px; }
@media (min-width: 768px) { .section-head { margin-bottom: 64px; } }

.split { display: grid; gap: 40px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 30px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  text-decoration: none; border: 1px solid var(--gold); cursor: pointer;
  background: var(--gold); color: var(--black);
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: transparent; color: var(--gold); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(245,243,239,0.35); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 36px; }
.center .btn-row, .btn-row.center { justify-content: center; }
.text-link {
  font-size: 12px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px;
}
.text-link:hover { color: var(--white); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  background: linear-gradient(to bottom, rgba(8,8,8,0.85), rgba(8,8,8,0));
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, .menu-open .site-header { background: rgba(8,8,8,0.96); border-bottom-color: var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: block; width: 168px; }
@media (min-width: 768px) { .logo { width: 200px; } }
.nav { display: none; }
.nav ul { display: flex; align-items: center; gap: 36px; list-style: none; padding: 0; }
.nav a {
  font-size: 12px; font-weight: 400; letter-spacing: 0.22em; text-transform: uppercase;
  text-decoration: none; color: var(--white); opacity: .8;
}
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; color: var(--gold); }
.nav .nav-apply { opacity: 1; color: var(--gold); border: 1px solid var(--gold); padding: 10px 20px; }
.nav .nav-apply:hover { background: var(--gold); color: var(--black); }
@media (min-width: 860px) { .nav { display: block; } }

.menu-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
  width: 44px; height: 44px; padding: 10px; background: none; border: 0; cursor: pointer;
}
.menu-toggle span { display: block; height: 1px; background: var(--white); transition: transform .25s, opacity .25s; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 860px) { .menu-toggle { display: none; } }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; background: var(--black);
  padding: 48px var(--gutter); display: none;
}
.menu-open .mobile-menu { display: block; }
.menu-open { overflow: hidden; }
.mobile-menu ul { list-style: none; padding: 0; }
.mobile-menu li + li { border-top: 1px solid var(--line); }
.mobile-menu a { display: block; padding: 20px 0; font-family: var(--serif); font-size: 30px; text-decoration: none; color: var(--white); }
.mobile-menu a[aria-current="page"] { color: var(--gold); }
.mobile-menu .btn { display: flex; margin-top: 32px; width: 100%; font-family: var(--sans); font-size: 12px; }
@media (min-width: 860px) { .mobile-menu, .menu-open .mobile-menu { display: none; } }

/* Hero */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 64px) 0 72px; isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, var(--black) 1%, rgba(8,8,8,0.5) 40%, rgba(8,8,8,0.45) 100%),
    linear-gradient(to right, rgba(8,8,8,0.82) 0%, rgba(8,8,8,0.45) 55%, rgba(8,8,8,0) 100%);
}
.hero h1 { max-width: 13em; }
.hero .lead { max-width: 34em; margin-top: 26px; }
@media (min-width: 768px) { .hero { align-items: center; padding-bottom: 96px; } }

.page-hero { padding: calc(var(--header-h) + 72px) 0 56px; border-bottom: 1px solid var(--line); }
.page-hero .lead { margin-top: 22px; max-width: 36em; }
@media (min-width: 768px) { .page-hero { padding: calc(var(--header-h) + 112px) 0 88px; } }

/* Numbered list (who it's for) */
.numbered { list-style: none; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.numbered li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 30px 0; border-bottom: 1px solid var(--line); font-size: clamp(18px, 2vw, 20px); color: var(--cream); }
.numbered li::before { counter-increment: n; content: counter(n, decimal-leading-zero); font-family: var(--serif); color: var(--gold); font-size: 22px; line-height: 1.5; }
.numbered { counter-reset: n; }
@media (min-width: 768px) { .numbered li { grid-template-columns: 96px 1fr; padding: 38px 0; } }

/* Cards (how it works) */
.cards { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 860px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--black); padding: 40px 30px; }
.section--ink .card { background: var(--ink); }
.card .eyebrow { margin-bottom: 26px; }
.card h3 { margin-bottom: 16px; }
@media (min-width: 768px) { .card { padding: 52px 40px; } }

.note-line { margin-top: 40px; text-align: center; color: var(--cream); }
.note-line span { color: var(--gold); }

/* Gallery */
.gallery { columns: 2; column-gap: 10px; }
.gallery__item { display: block; margin-bottom: 10px; break-inside: avoid; overflow: hidden; background: var(--ink); }
.gallery__item img { width: 100%; transition: transform .6s ease, opacity .3s; }
.gallery__item:hover img { transform: scale(1.03); }
@media (min-width: 768px) { .gallery { columns: 3; column-gap: 14px; } .gallery__item { margin-bottom: 14px; } }
.gallery--strip { columns: auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.gallery--strip .gallery__item { margin: 0; aspect-ratio: 4 / 5; }
.gallery--strip .gallery__item img { height: 100%; object-fit: cover; }
@media (min-width: 768px) { .gallery--strip { grid-template-columns: repeat(4, 1fr); gap: 14px; } }

.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(8,8,8,0.96);
  display: none; align-items: center; justify-content: center; padding: 56px 12px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; }
.lightbox button {
  position: absolute; background: none; border: 0; color: var(--white); cursor: pointer;
  width: 52px; height: 52px; font-size: 28px; line-height: 1; opacity: .8;
}
.lightbox button:hover { opacity: 1; color: var(--gold); }
.lightbox__close { top: 8px; right: 8px; }
.lightbox__prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 4px; top: 50%; transform: translateY(-50%); }

/* Event cards */
.event-list { display: grid; gap: 24px; }
@media (min-width: 860px) { .event-list { grid-template-columns: repeat(2, 1fr); } }
.event-card {
  display: flex; flex-direction: column; background: var(--ink); border: 1px solid var(--line);
  text-decoration: none; transition: border-color .2s;
}
a.event-card:hover { border-color: var(--gold); }
.event-card__img { aspect-ratio: 3 / 2; overflow: hidden; background: #151515; }
.event-card__img img { width: 100%; height: 100%; object-fit: cover; }
.event-card__body { padding: 30px 28px 34px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.event-card__meta { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.event-card__body .text-link { align-self: flex-start; margin-top: auto; padding-top: 12px; }
.event-card--feature { grid-column: 1 / -1; }
@media (min-width: 860px) {
  .event-card--feature { flex-direction: row; }
  .event-card--feature .event-card__img { flex: 1.2; aspect-ratio: auto; min-height: 380px; }
  .event-card--feature .event-card__body { flex: 1; padding: 52px 48px; justify-content: center; }
}
.empty-state { border: 1px solid var(--line); padding: 48px 28px; text-align: center; }
.empty-state h3 { margin-bottom: 14px; }
.empty-state p { max-width: 32em; margin-inline: auto; }

/* Event detail facts */
.facts { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 48px; }
@media (min-width: 700px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.facts div { background: var(--black); padding: 26px 24px; }
.facts dt { font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.facts dd { margin: 0; font-family: var(--serif); font-size: 21px; color: var(--white); }

/* Founder */
.founder-photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink); }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.founder-name { margin-top: 28px; font-family: var(--serif); font-size: 22px; color: var(--white); }
.founder-role { font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); margin-top: 4px; }

/* Closing CTA band */
.closing { text-align: center; }
.closing h2 { max-width: 14em; margin-inline: auto; }
.closing p { max-width: 32em; margin: 22px auto 0; }

/* Forms */
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-size: 14px; font-weight: 400; color: var(--cream); }
.field .hint { font-size: 13px; color: var(--dim); margin-top: -4px; }
.input, .form input[type="text"], .form input[type="email"], .form input[type="tel"], .form input[type="number"], .form select, .form textarea {
  width: 100%; min-height: 52px; padding: 13px 16px;
  background: var(--ink); border: 1px solid #333; border-radius: 0; color: var(--white); font-size: 16px;
  transition: border-color .2s;
}
.form textarea { min-height: 128px; resize: vertical; line-height: 1.6; }
.form 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; padding-right: 44px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold); }
.form ::placeholder { color: #5f5c58; }
.form .btn { justify-self: start; }
.form-row { display: grid; gap: 22px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-panel { background: var(--ink); border: 1px solid var(--line); padding: 32px 22px; }
@media (min-width: 768px) { .form-panel { padding: 52px 52px; } }
.form-panel .input, .form-panel input[type], .form-panel select, .form-panel textarea { background: var(--black); }
.form-small { font-size: 13px; color: var(--dim); }
.form-small a { color: var(--muted); }
.inline-form { display: grid; gap: 12px; max-width: 520px; margin-inline: auto; }
@media (min-width: 640px) { .inline-form { grid-template-columns: 1fr 1fr auto; } .inline-form .btn { justify-self: stretch; } }

/* Honeypot: moved off-screen with CSS (not the hidden attribute) */
.hp { position: absolute !important; left: -10000px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Multi-step application. Without JavaScript every step shows and it is one long form. */
.steps { display: flex; gap: 8px; margin-bottom: 40px; list-style: none; padding: 0; }
.steps li { flex: 1; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); padding-top: 14px; border-top: 2px solid #2c2c2c; }
.steps li.is-current, .steps li.is-done { color: var(--gold); border-top-color: var(--gold); }
.steps li span { display: none; }
@media (min-width: 640px) { .steps li span { display: inline; } }
.js .step { display: none; }
.js .step.is-active { display: grid; }
.step { display: grid; gap: 22px; }
html:not(.js) .step + .step { margin-top: 48px; }
.step-head h2 { font-size: clamp(26px, 3.4vw, 34px); }
.step-head p { margin-top: 8px; }
.step-nav { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-top: 10px; }
.no-js-only { display: block; }
.js .no-js-only { display: none; }
.js .js-only { display: inline-flex; }
.js-only { display: none; }
.field-error { font-size: 13px; color: #e0a68a; }
.form [aria-invalid="true"] { border-color: #b8775a; }

/* Process steps (apply page) */
.process { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); counter-reset: p; }
@media (min-width: 768px) { .process { grid-template-columns: repeat(3, 1fr); } }
.process li { list-style: none; background: var(--black); padding: 30px 26px; }
.process li::before { counter-increment: p; content: counter(p, decimal-leading-zero); display: block; font-family: var(--serif); color: var(--gold); font-size: 22px; margin-bottom: 12px; }
.process h3 { font-size: 21px; margin-bottom: 8px; }
.process p { font-size: 15px; }

/* Retreat teaser */
.teaser { position: relative; isolation: isolate; overflow: hidden; border: 1px solid var(--line); padding: 64px 26px; text-align: center; }
.teaser::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 0%, var(--gold-soft), transparent 70%); }
.teaser p { max-width: 32em; margin: 18px auto 0; }
@media (min-width: 768px) { .teaser { padding: 96px 48px; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 40px; }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer .logo { width: 180px; }
.footer-tag { margin-top: 18px; font-size: 15px; max-width: 22em; }
.footer-heading { font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 15px; }
.footer-links a:hover { color: var(--white); }
.footer-base { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.footer-base a { color: var(--dim); text-decoration: none; }
.footer-base a:hover { color: var(--white); }

/* Gentle reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto !important; }
}
.page-hero h1 { max-width: 15em; }

/* Phones: show the whole hero photo above the headline instead of a tall crop behind it,
   so group shots keep everyone in frame. */
@media (max-width: 767px) {
  .hero { display: block; min-height: 0 !important; padding: var(--header-h) 0 56px; }
  .hero::before { display: none; }
  .hero__bg { position: relative; inset: auto; z-index: 0; aspect-ratio: 3 / 2; margin-bottom: 8px; }
  .hero__bg img { object-position: center; }
  .hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(8,8,8,0.15) 0%, rgba(8,8,8,0) 40%, rgba(8,8,8,0.35) 75%, var(--black) 100%); }
  .hero .eyebrow { margin-bottom: 16px; }
}

/* Event preview mosaic (Home): the group shot leads, scene shots around it */
.mosaic { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.mosaic .gallery__item { margin: 0; aspect-ratio: 1 / 1; }
.mosaic .gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.mosaic__lead, .mosaic__wide { grid-column: 1 / -1; aspect-ratio: 3 / 2 !important; }
@media (min-width: 768px) {
  .mosaic { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 1fr); gap: 14px; aspect-ratio: 2 / 1; }
  .mosaic .gallery__item { aspect-ratio: auto !important; }
  .mosaic__lead { grid-column: 1 / 3; grid-row: 1 / 3; }
  .mosaic__wide { grid-column: 3 / 5; grid-row: 1; }
}

/* Keep the Home event preview short */
.gallery--talk { margin-top: 10px; }
.gallery--talk .gallery__item { aspect-ratio: 1 / 1; }
@media (max-width: 767px) {
  .mosaic { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .mosaic__wide { grid-column: auto; aspect-ratio: 1 / 1 !important; }
  .gallery--talk { grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 6px; }
  .gallery--talk .gallery__item:nth-child(n+4) { display: none; }
}
@media (min-width: 768px) { .gallery--talk { margin-top: 14px; } }
@media (min-width: 768px) { .mosaic { aspect-ratio: 12 / 5; } }
