/* ============================================================
   THE UPSTAIRS STUDIO — SP STUDIO
   Editorial rental / event space site
   Type:  Cormorant Garamond (display)  +  Helvetica Neue (UI/body)
   Color: white, greys, near-black ink — monochrome
   ============================================================ */

:root {
  --paper:      #f4f4f3;
  --paper-2:    #ebebea;
  --paper-3:    #e2e2e1;
  --ink:        #141414;
  --ink-soft:   #555555;
  --ink-faint:  #8c8c8c;
  --line:       #d6d6d4;
  --line-soft:  #e6e6e4;
  --accent:     #6f6f6f;   /* mid grey */
  --accent-2:   #4a4a4a;
  --white:      #ffffff;

  --font-disp:  "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-ui:    "Helvetica Neue", Helvetica, Arial, sans-serif;

  --maxw: 1320px;
  --gut: clamp(20px, 5vw, 72px);

  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

::selection { background: var(--accent); color: var(--white); }

/* ---------- shared type helpers ---------- */
.eyebrow {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: .26em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
}
.eyebrow.muted { color: var(--ink-faint); }

.display {
  font-family: var(--font-disp);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0;
}

h1.display { font-size: clamp(44px, 8vw, 116px); }
h2.display { font-size: clamp(34px, 5.6vw, 76px); }
h3.display { font-size: clamp(26px, 3.4vw, 44px); }

p { margin: 0 0 1.1em; }
p.lead {
  font-size: clamp(19px, 2.1vw, 24px);
  line-height: 1.55;
  color: var(--ink-soft);
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gut);
}

section { position: relative; }

.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink);
  --fg: var(--paper);
  display: inline-flex;
  align-items: center;
  gap: .7em;
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--fg);
  background: var(--bg);
  padding: 16px 26px;
  border: 1px solid var(--bg);
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .35s var(--ease), color .35s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn.ghost {
  --bg: transparent;
  --fg: var(--ink);
  border-color: var(--ink);
}
.btn.ghost:hover { background: var(--ink); color: var(--paper); }

.btn.light {
  --bg: var(--paper);
  --fg: var(--ink);
  border-color: var(--paper);
}
.btn.outline-light {
  --bg: transparent;
  --fg: var(--paper);
  border-color: rgba(255,255,255,.55);
}
.btn.outline-light:hover { background: var(--paper); color: var(--ink); }

.link-underline {
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600;
  border-bottom: 1px solid currentColor; padding-bottom: 3px;
  display: inline-flex; gap: .6em; align-items: center;
  transition: color .3s var(--ease);
}
.link-underline:hover { color: var(--accent); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  padding: 22px var(--gut);
  transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease);
}
.nav.scrolled {
  background: rgba(235,235,234,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-top: 14px; padding-bottom: 14px;
  box-shadow: 0 1px 0 var(--line);
}
.nav__brand {
  font-family: var(--font-ui);
  font-weight: 700; font-size: 15px;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--paper);
  transition: color .4s var(--ease);
  line-height: 1.1;
}
.nav__brand small {
  display: block; font-size: 9.5px; letter-spacing: .3em; font-weight: 500;
  opacity: .8; margin-top: 3px;
}
.nav.scrolled .nav__brand { color: var(--ink); }

.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a:not(.btn) {
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600;
  color: var(--paper); opacity: .92;
  white-space: nowrap;
  transition: color .4s var(--ease), opacity .25s var(--ease);
  position: relative;
}
.nav.scrolled .nav__links a:not(.btn) { color: var(--ink); }
.nav__links a:not(.btn):hover { opacity: 1; color: var(--accent); }
.nav__links .btn { padding: 12px 22px; }
.nav .btn.outline-light { color: var(--paper); }
.nav.scrolled .btn.outline-light { color: var(--ink); border-color: var(--ink); }
.nav.scrolled .btn.outline-light:hover { background: var(--ink); color: var(--paper); }

.nav__toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav__toggle span { width: 26px; height: 2px; background: var(--paper); transition: background .4s var(--ease), transform .35s var(--ease), opacity .25s; }
.nav.scrolled .nav__toggle span { background: var(--ink); }

/* mobile sheet */
.mobile-menu {
  position: fixed; inset: 0; z-index: 58;
  background: var(--paper);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--gut);
  transform: translateY(-100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform .5s var(--ease), visibility .5s var(--ease);
}
.mobile-menu.open { transform: translateY(0); visibility: visible; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--font-disp); font-size: clamp(34px, 9vw, 56px);
  padding: 10px 0; border-bottom: 1px solid var(--line);
}
.mobile-menu a:last-of-type { border-bottom: 0; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; height: 100svh; min-height: 620px; color: var(--paper); }
.hero__img { position: absolute; inset: 0; overflow: hidden; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 62% 58% at 14% 88%, rgba(28,28,28,.44) 0%, rgba(28,28,28,.22) 45%, rgba(28,28,28,0) 100%),
    linear-gradient(180deg, rgba(20,18,15,.42) 0%, rgba(20,18,15,.10) 38%, rgba(20,18,15,.68) 100%);
}
.hero__inner {
  position: relative; z-index: 2; height: 100%;
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut) clamp(48px, 8vh, 96px);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hero .eyebrow { color: var(--paper); opacity: .92; margin-bottom: 22px; }
.hero h1 { max-width: 14ch; }
.hero__sub {
  margin-top: 26px; max-width: 46ch;
  font-size: clamp(17px, 1.7vw, 21px); line-height: 1.55; color: rgba(251,250,246,.9);
}
.hero__cta { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero__meta {
  position: absolute; top: 0; left: var(--gut); right: var(--gut);
  z-index: 2; height: 100svh; min-height: 620px;
  pointer-events: none;
}
.scroll-hint {
  position: absolute; right: 0; bottom: clamp(48px, 8vh, 96px);
  font-size: 11px; letter-spacing: .25em; text-transform: uppercase; writing-mode: vertical-rl;
  color: var(--paper); opacity: .8; display: flex; align-items: center; gap: 14px;
}
.scroll-hint::after { content: ""; width: 9px; height: 64px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='64' viewBox='0 0 9 64'%3E%3Cpath d='M4.5 0V63M1 59.5L4.5 63L8 59.5' fill='none' stroke='%23fff' stroke-width='1'/%3E%3C/svg%3E") no-repeat center / contain; }

/* ============================================================
   reveal animation
   ============================================================ */
/* content is always visible — no opacity/transform tricks that can stick hidden */
.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ============================================================
   INTRO
   ============================================================ */
.section-pad { padding-block: clamp(72px, 12vh, 150px); }

.intro__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 100px);
  align-items: center;
}
.intro__copy h2 { margin: 18px 0 24px; max-width: 16ch; }
.stat-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 40px; padding-top: 34px; border-top: 1px solid var(--line);
}
.stat .n { font-family: var(--font-disp); font-size: clamp(34px, 4vw, 52px); line-height: 1; }
.stat .l { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-faint); margin-top: 8px; }
.intro__media { position: relative; }
.intro__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.intro__tag {
  position: absolute; bottom: -1px; left: -1px;
  background: var(--paper); padding: 16px 22px 0 0;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-faint);
}

/* ============================================================
   IMAGE PLACEHOLDER (striped)
   ============================================================ */
.ph {
  position: relative; overflow: hidden; background: var(--paper-3);
  background-image: repeating-linear-gradient(135deg,
    transparent 0 11px, rgba(29,27,23,.045) 11px 12px);
  display: flex; align-items: flex-end;
}
.ph::before {
  content: ""; position: absolute; inset: 14px; border: 1px solid var(--line);
}
.ph span {
  position: relative; margin: 18px; font-family: var(--font-ui);
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint);
  background: var(--paper); padding: 5px 9px; border: 1px solid var(--line);
}
.ph span::before { content: "▦  "; color: var(--accent); }

/* ============================================================
   AMENITIES GRID
   ============================================================ */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: clamp(40px, 6vh, 72px); flex-wrap: wrap; }
.sec-head h2 { max-width: 18ch; margin: 16px 0 0; }
.sec-head__r { max-width: 38ch; color: var(--ink-soft); }

.amenities { background: var(--paper-2); }
.amen-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 44px);
}
.amen-card .media { aspect-ratio: 4/3; margin-bottom: 22px; overflow: hidden; }
.amen-card .media img { width: 100%; height: 100%; object-fit: cover; }
.amen-card h3 { font-family: var(--font-disp); font-size: 28px; margin: 0 0 8px; font-weight: 500; }
.amen-card p { color: var(--ink-soft); font-size: 16px; margin: 0; }
.amen-card .num { font-size: 11px; letter-spacing: .2em; color: var(--ink-faint); margin-bottom: 12px; display: block; }

/* ============================================================
   FULL-BLEED BAND
   ============================================================ */
.band { position: relative; height: clamp(420px, 70vh, 720px); overflow: hidden; }
.band img { width: 100%; height: 100%; object-fit: cover; }
.band__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(20,18,15,.62), rgba(20,18,15,0) 62%); }
.band__copy {
  position: absolute; inset: 0; z-index: 2; color: var(--paper);
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut);
  display: flex; flex-direction: column; justify-content: center;
}
.band__copy h2 { max-width: 16ch; }
.band__copy p { max-width: 40ch; color: rgba(251,250,246,.88); margin-top: 18px; }

/* ============================================================
   SPECS + BLUEPRINT
   ============================================================ */
.specs__grid {
  display: grid; grid-template-columns: minmax(0,1fr); gap: clamp(40px, 5vw, 64px); align-items: start;
}
.specs__grid .spec-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); column-gap: clamp(32px, 5vw, 80px); border-top: 0; }
.specs__grid .spec-list .row:nth-child(-n+2) { border-top: 1px solid var(--line); }
@media (max-width: 760px) { .specs__grid .spec-list { grid-template-columns: minmax(0,1fr); } .specs__grid .spec-list .row:nth-child(2) { border-top: 0; } }
.blueprint {
  min-width: 0;
  background: #1c1c1c;
  border: 1px solid #3a3a3a;
  border-radius: 2px;
  padding: 20px;
  position: relative;
}
.blueprint svg { width: 100%; height: auto; display: block; }
.blueprint__cap {
  display: flex; justify-content: space-between; margin-top: 14px;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #9a9a9a;
}
.spec-list { border-top: 1px solid var(--line); }
.spec-list .row {
  display: grid; grid-template-columns: 1fr auto; gap: 20px;
  padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline;
}
.spec-list .k { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); }
.spec-list .v { font-family: var(--font-disp); font-size: 26px; text-align: right; }
.spec-list .v small { font-family: var(--font-ui); font-size: 13px; letter-spacing: .04em; color: var(--ink-soft); }
.specs__note { margin-top: 26px; font-size: 14px; color: var(--ink-faint); }

/* ============================================================
   EVENTS
   ============================================================ */
.events { background: var(--ink); color: var(--paper); }
.events .eyebrow { color: var(--accent); }
.events h2 { color: var(--paper); }
.events__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.events__media { aspect-ratio: 5/4; overflow: hidden; }
.events__media img { width: 100%; height: 100%; object-fit: cover; }
.use-list { list-style: none; padding: 0; margin: 28px 0 0; }
.use-list li {
  display: flex; gap: 18px; align-items: baseline;
  padding: 16px 0; border-top: 1px solid rgba(255,255,255,.14);
  font-size: 17px;
}
.use-list li b { font-family: var(--font-disp); font-size: 24px; font-weight: 500; min-width: 1.4em; color: var(--accent); }
.use-list li span { color: rgba(251,250,246,.78); font-size: 15px; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-grid {
  display: grid; grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 13vw; gap: 14px;
}
.gallery-grid figure { margin: 0; overflow: hidden; cursor: zoom-in; position: relative; }
.gallery-grid figure img { width: 100%; height: 100%; object-fit: cover; transition: scale .8s var(--ease); }
.gallery-grid figure:hover img { scale: 1.05; }
.gallery-grid .ph { cursor: default; }
.g-a { grid-column: span 7; grid-row: span 2; }
.g-b { grid-column: span 5; grid-row: span 2; }
.g-c { grid-column: span 4; }
.g-d { grid-column: span 4; }
.g-e { grid-column: span 4; }
.g-f { grid-column: span 5; grid-row: span 2; }
.g-g { grid-column: span 7; grid-row: span 2; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 90; background: rgba(18,16,13,.92);
  display: none; align-items: center; justify-content: center; padding: 5vw;
  opacity: 0; transition: opacity .35s var(--ease);
}
.lightbox.open { display: flex; opacity: 1; }
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox__close { position: absolute; top: 26px; right: 30px; background: none; border: 0; color: var(--paper); font-size: 30px; cursor: pointer; line-height: 1; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(20,20,20,.45); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .25s var(--ease), border-color .25s var(--ease); }
.lightbox__nav:hover { background: rgba(255,255,255,.16); border-color: #fff; }
.lightbox__prev { left: 24px; }
.lightbox__next { right: 24px; }
.lightbox__count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.75); font-size: 12px; letter-spacing: .2em; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .lightbox__nav { width: 44px; height: 44px; font-size: 18px; top: auto; bottom: 14px; transform: none; } .lightbox__prev { left: 14px; } .lightbox__next { right: 14px; } .lightbox__count { bottom: 28px; } }

/* ============================================================
   LOCATION
   ============================================================ */
.loc { background: var(--paper-2); }
.loc__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.loc__photo { aspect-ratio: 16/11; overflow: hidden; margin-bottom: 16px; }
.loc__photo img { width: 100%; height: 100%; object-fit: cover; }
.loc__map { aspect-ratio: 16/9; position: relative; border: 1px solid var(--line); }
.loc__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.35) sepia(.12) contrast(.95); }
.loc address { font-style: normal; font-family: var(--font-disp); font-size: clamp(30px, 4vw, 48px); line-height: 1.1; margin: 14px 0 24px; }
.loc__list { list-style: none; padding: 0; margin: 26px 0 0; }
.loc__list li { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.loc__list .k { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); padding-top: 3px; }
.loc__list .v { color: var(--ink-soft); }

/* ============================================================
   BOOKING / CONTACT
   ============================================================ */
.book__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.book h2 { margin: 16px 0 22px; }
.book__intro { color: var(--ink-soft); max-width: 34ch; }
.book__contact { margin-top: 34px; }
.book__contact a { display: block; font-family: var(--font-disp); font-size: 24px; margin-bottom: 6px; }
.book__contact a:hover { color: var(--accent); }
.book__contact a { display: flex; align-items: center; gap: 12px; }
.book__contact .ci { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }
.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; }

form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); }
.field input, .field select, .field textarea {
  font-family: var(--font-ui); font-size: 16px; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--line);
  padding: 10px 2px; transition: border-color .3s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--ink); }
.field textarea { resize: vertical; min-height: 90px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field.error input, .field.error select, .field.error textarea { border-color: var(--accent); }
.field .err { font-size: 11px; color: var(--accent); letter-spacing: .04em; text-transform: none; min-height: 0; }
.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.form-note { font-size: 13px; color: var(--ink-faint); }
.form-success {
  grid-column: 1/-1; display: none; padding: 26px; border: 1px solid var(--accent);
  background: rgba(110,110,110,.07);
}
.form-success.show { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* date picker */
.field.has-cal { position: relative; }
.field input#date { cursor: pointer; padding-right: 30px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23555' stroke-width='1.4'%3E%3Crect x='1.5' y='3' width='13' height='11.5' rx='1'/%3E%3Cpath d='M1.5 6.5h13M5 1v3.5M11 1v3.5'/%3E%3C/svg%3E") no-repeat right 4px center; }
.cal { position: absolute; top: calc(100% + 8px); left: 0; z-index: 40; width: 320px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0,0,0,.14); padding: 18px; display: none; font-family: var(--font-ui); }
.cal.open { display: block; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal__title { font-family: var(--font-disp); font-size: 22px; }
.cal__nav { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: none; cursor: pointer; font-size: 15px; color: var(--ink); display: flex; align-items: center; justify-content: center; }
.cal__nav:hover:not(:disabled) { border-color: var(--ink); }
.cal__nav:disabled { opacity: .3; cursor: default; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal__dow { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); text-align: center; padding: 6px 0; }
.cal__day { aspect-ratio: 1; border: 0; background: none; font: inherit; font-size: 14px; color: var(--ink); cursor: pointer; border-radius: 50%; }
.cal__day:hover:not(:disabled) { background: var(--paper-2); }
.cal__day:disabled { color: var(--line); cursor: default; }
.cal__day.today { box-shadow: inset 0 0 0 1px var(--line); }
.cal__day.in-range { background: var(--paper-2); border-radius: 0; }
.cal__day.sel { background: var(--ink); color: var(--white); border-radius: 50%; }
.cal__hint { font-size: 12px; color: var(--ink-faint); margin: 12px 0 0; min-height: 1.2em; }
.cal__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.cal__clear { background: none; border: 0; font: inherit; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); cursor: pointer; padding: 6px 0; }
.cal__clear:hover { color: var(--ink); }
.cal__done { padding: 11px 20px; }
.cal__backdrop { display: none; }
@media (max-width: 760px) {
  .cal { position: fixed; left: 0; right: 0; bottom: 0; top: auto; width: auto; padding: 22px 20px calc(22px + env(safe-area-inset-bottom)); border: 0; box-shadow: 0 -10px 40px rgba(0,0,0,.2); }
  .cal__backdrop.open { display: block; position: fixed; inset: 0; z-index: 39; background: rgba(0,0,0,.35); }
  .cal__day { font-size: 16px; }
}
.form-success h3 { font-family: var(--font-disp); font-size: 30px; margin: 0 0 8px; }
.form-success p { margin: 0; color: var(--ink-soft); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: var(--paper); padding-block: clamp(56px, 9vh, 96px) 40px; }
.footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer__top > div:last-child { grid-column: -2 / -1; }
.footer__brand .logo { font-family: var(--font-disp); font-size: clamp(40px, 6vw, 80px); line-height: .95; }
.footer__brand p { color: rgba(251,250,246,.6); max-width: 34ch; margin-top: 18px; }
.footer h4 { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin: 0 0 18px; font-weight: 600; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 12px; }
.footer ul a { color: rgba(251,250,246,.78); font-size: 15px; transition: color .25s; }
.footer ul a:hover { color: var(--paper); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: clamp(48px, 8vh, 80px); padding-top: 26px; border-top: 1px solid rgba(255,255,255,.14); font-size: 12px; letter-spacing: .04em; color: rgba(251,250,246,.5); flex-wrap: wrap; }
.footer__bottom a { color: inherit; transition: color .25s; }
.footer__bottom a:hover { color: var(--paper); }
.legal { padding-top: clamp(130px, 18vh, 180px); }
.legal .wrap { max-width: 820px; }
.legal h1 { margin: 16px 0 10px; }
.legal .updated { color: var(--ink-faint); font-size: 14px; margin-bottom: 48px; }
.legal h2 { font-family: var(--font-disp); font-weight: 500; font-size: 30px; line-height: 1.15; margin: 44px 0 12px; }
.legal p, .legal li { color: var(--ink-soft); font-size: 17px; }
.legal ul { padding-left: 1.2em; margin: 0 0 1.1em; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--ink); border-bottom: 1px solid var(--line); }
.legal a:hover { border-color: var(--ink); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .intro__grid, .specs__grid, .events__grid, .loc__grid, .book__grid { grid-template-columns: minmax(0,1fr); }
  .specs__grid { gap: 48px; }
  .book__grid { gap: 40px; }
  .amen-grid { grid-template-columns: 1fr 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .amen-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  form { grid-template-columns: 1fr; }
  .gallery-grid { grid-auto-rows: 30vw; }
  .g-a, .g-b, .g-c, .g-d, .g-e, .g-f, .g-g { grid-column: span 12; grid-row: span 1; }
  .g-a, .g-f, .g-g { grid-row: span 1; }
  .footer__top { grid-template-columns: 1fr; }
  .intro__media img { aspect-ratio: 3/4; }
}

.stat-note{margin:6px 0 0;font-size:11px;line-height:1.4;color:var(--ink-faint);letter-spacing:.02em}

/* ============================================================
   MOBILE
   ============================================================ */
html { -webkit-tap-highlight-color: transparent; }
.blueprint__hint { display: none; }
.nav.menu-open { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav.menu-open .nav__brand { color: var(--ink); }
.nav.menu-open .nav__toggle span { background: var(--ink); }
.nav.menu-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.menu-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.menu-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu__book { margin-top: 28px; align-self: flex-start; font-family: var(--font-ui) !important; font-size: 13px !important; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; background: var(--ink); color: var(--paper); border-radius: 999px; padding: 18px 28px !important; border: 0 !important; }
.lightbox__close { padding: 10px 14px; top: 14px; right: 14px; }

@media (max-width: 760px) {
  .nav { padding: 16px var(--gut); }
  .nav.scrolled { padding-top: 12px; padding-bottom: 12px; }
  .nav__brand { font-size: 14px; letter-spacing: .18em; }
  .nav__toggle { padding: 14px 9px; margin-right: -9px; }
  .mobile-menu { justify-content: flex-start; padding-top: 104px; overflow-y: auto; }
  .mobile-menu a { font-size: clamp(32px, 9vw, 44px); padding: 12px 0; }

  .hero { min-height: 560px; }
  .hero__img img { object-position: 62% 40% !important; transform-origin: 62% 40% !important; transform: scale(1.08) !important; }
  .hero__scrim { background: linear-gradient(180deg, rgba(20,18,15,.45) 0%, rgba(20,18,15,.08) 30%, rgba(20,18,15,.35) 55%, rgba(20,18,15,.78) 100%); }
  .hero__inner { translate: none !important; padding-bottom: 40px; }
  .hero h1 { font-size: clamp(48px, 13.5vw, 72px); }
  .hero .eyebrow { margin-bottom: 14px; font-size: 11px; letter-spacing: .22em; }
  .hero__sub { font-size: 17px !important; margin-top: 16px; }
  .hero__cta { margin-top: 26px; }
  .hero__cta .btn { width: 100%; justify-content: center; padding: 18px 26px; }

  .section-pad { padding-block: 64px; }
  .sec-head { margin-bottom: 32px; gap: 12px; }
  .sec-head__r:empty { display: none; }
  .intro__grid { gap: 40px; }
  .intro__copy h2 { margin-top: 0; }
  p.lead { font-size: 18px; }
  .stat-row { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin-top: 32px; padding-top: 26px; }
  .stat .n { font-size: 30px; }
  .stat .l { font-size: 10px; letter-spacing: .12em; }

  .amen-grid { gap: 40px; }
  .amen-card .media { margin-bottom: 16px; }
  .band { height: 56vh; min-height: 320px; }

  .blueprint { padding: 12px; margin-inline: calc(var(--gut) * -1 + 8px); }
  .blueprint__scroll { min-width: 0; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; scrollbar-width: thin; }
  .blueprint__scroll svg { width: 820px; max-width: none; }
  .blueprint__hint { display: block; margin: 10px 0 0; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #9a9a9a; }
  .blueprint__cap { margin-top: 6px; }
  .spec-list .row { padding: 15px 0; }
  .spec-list .v { font-size: 24px; }

  .events__grid { gap: 32px; }
  .use-list li { padding: 14px 0; }

  .gallery-grid { grid-template-columns: repeat(2, minmax(0,1fr)); grid-auto-rows: 46vw; gap: 8px; }
  .g-a, .g-b, .g-c, .g-d, .g-e, .g-f, .g-g { grid-column: span 1; grid-row: span 1; }
  .g-a { grid-column: 1 / -1; grid-row: span 1; }
  .gallery-grid figure:hover img { scale: 1; }

  .loc__grid { gap: 32px; }
  .loc__list li { grid-template-columns: 112px minmax(0,1fr); gap: 12px; }
  .loc__photo { aspect-ratio: 4/3 !important; }

  .book__contact a { font-size: 20px; overflow-wrap: anywhere; padding: 4px 0; }
  .form-actions .btn { width: 100%; justify-content: center; padding: 18px 26px; }
  form { gap: 20px; }
  .field select { -webkit-appearance: none; appearance: none; border-radius: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23555' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 4px center; padding-right: 22px; }

  .footer__top { gap: 32px; }
  .footer ul a { display: inline-block; padding: 6px 0; }
  .footer ul li { margin-bottom: 4px; }
  .footer__bottom { flex-direction: column; gap: 10px; }
  .footer__bottom a { padding: 6px 0; }

  .legal { padding-top: 110px; }
  .legal h2 { font-size: 26px; margin-top: 36px; }
}
@media (max-width: 380px) {
  .stat .n { font-size: 26px; }
  .loc__list li { grid-template-columns: minmax(0,1fr); gap: 2px; }
}
