/* ==========================================================================
   Kinisi Cowork — design system + page styles (shared by / and /book-desk)
   ========================================================================== */

:root {
  /* Brand, sampled from the logo */
  --green:     #8dc63f;
  --green-600: #6d9f2a;
  --green-700: #4f7a1b;
  --orange:    #f47c20;
  --orange-600:#d9600a;
  --orange-700:#a94a06;

  /* Warm neutrals — the oxide floors and lime walls in the photos */
  --bg:      #fbf9f5;
  --surface: #ffffff;
  --sand:    #f2ece2;
  --ink:     #1c1b19;
  --ink-2:   #57524a;
  --ink-3:   #8a8378;
  --line:    #e8e0d3;
  --line-2:  rgba(28, 27, 25, .08);

  /* Type — serif for section titles and the hero, sans for everything else */
  --font-display: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --font-sans: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Fluid scale: body 16→17px, h2 caps at ~2.9× body, h1 at ~4.1× */
  --step--1: clamp(.85rem, .83rem + .1vw, .9rem);
  --step-0:  clamp(1rem, .97rem + .15vw, 1.0625rem);
  --step-1:  clamp(1.1rem, 1.04rem + .3vw, 1.22rem);
  --step-2:  clamp(1.3rem, 1.18rem + .6vw, 1.6rem);
  --step-3:  clamp(1.65rem, 1.35rem + 1.3vw, 2.25rem);
  --step-4:  clamp(2.05rem, 1.55rem + 2.2vw, 3.05rem);
  --step-5:  clamp(2.5rem, 1.7rem + 3.6vw, 4.35rem);

  /* Shape + depth */
  --r-xs: 10px;
  --r-sm: 14px;
  --r:    20px;
  --r-lg: 30px;
  --r-full: 999px;

  --shadow-sm: 0 1px 2px rgba(28, 27, 25, .05), 0 2px 8px rgba(28, 27, 25, .04);
  --shadow:    0 2px 4px rgba(28, 27, 25, .04), 0 12px 32px rgba(28, 27, 25, .07);
  --shadow-lg: 0 4px 8px rgba(28, 27, 25, .05), 0 28px 64px rgba(28, 27, 25, .13);

  --nav-h: 76px;
  --wrap: 1180px;
  --gutter: 1.25rem;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

/* Display headings: serif, restrained weight, tight leading */
h1, h2 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0 0 .55em;
  text-wrap: balance;
}
h1 { font-size: var(--step-5); font-weight: 600; letter-spacing: -.025em; }
h2 { font-size: var(--step-4); }

/* Component headings: sans, so cards and lists read as UI rather than editorial */
h3, h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.012em;
  margin: 0 0 .35em;
}
h3 { font-size: 1.05rem; }

p { margin: 0 0 1rem; text-wrap: pretty; }
strong, b { font-weight: 600; }
p:last-child { margin-bottom: 0; }

a { color: var(--green-700); text-underline-offset: 3px; }

::selection { background: var(--green); color: #14200a; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -120%);
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: .7rem 1.2rem;
  border-radius: 0 0 var(--r-xs) var(--r-xs);
  text-decoration: none;
  font-size: var(--step--1);
  font-weight: 600;
  transition: transform .2s var(--ease);
}
.skip-link:focus-visible { transform: translate(-50%, 0); }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

.section { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section--sand { background: var(--sand); }
.section--tight { padding-top: clamp(1.5rem, 3.5vw, 2.5rem); }
/* Sits directly under a page head, which already carries the breathing room above it */
.section--after-head { padding-top: clamp(.9rem, 1.8vw, 1.35rem); }
/* Content that runs straight into the footer needs less room beneath it */
.section--to-footer { padding-bottom: clamp(1.75rem, 3.5vw, 2.75rem); }
.section--split { padding-block: clamp(2rem, 4vw, 3rem); }
/* The section right before the closing CTA, and the CTA itself: tighter so the two read as a pair */
.section--lead-in { padding-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.section--cta { padding: clamp(.75rem, 2vw, 1.5rem) 0 clamp(2rem, 4vw, 3rem); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
}

.lede { font-size: var(--step-1); color: var(--ink-2); max-width: 56ch; line-height: 1.55; }
.muted { color: var(--ink-2); }

.section__head { max-width: 44rem; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.section__head .lede { margin-top: -.15rem; }

/* --- Motion ------------------------------------------------------------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--delay, 0ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ==========================================================================
   Navbar — a fixed, rounded pill on every page
   ========================================================================== */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: .85rem 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 60px;
  padding: .45rem .45rem .45rem 1.15rem;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, .84);
  backdrop-filter: blur(16px) saturate(170%);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow);
}

.nav__logo { display: flex; align-items: center; flex: 0 0 auto; }
.nav__logo img { height: 46px; width: auto; transition: height .35s var(--ease); }
.nav.is-stuck .nav__logo img { height: 40px; }   /* a touch smaller once scrolling */

.nav__menu {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(.25rem, 1.2vw, .9rem);
}

.nav__link {
  position: relative;
  color: var(--ink-2);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .88rem;
  letter-spacing: 0;
  padding: .5rem .7rem;
  border-radius: var(--r-full);
  white-space: nowrap;
  transition: color .25s var(--ease), background-color .25s var(--ease);
}
.nav__link:hover { color: var(--ink); background: rgba(28, 27, 25, .05); }

/* Scroll-spy highlight */
.nav__link[aria-current] { color: var(--green-700); background: rgba(141, 198, 63, .14); }

.nav__toggle {
  margin-left: auto;
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  background: rgba(255, 255, 255, .9);
  border: 1px solid var(--line-2);
  border-radius: var(--r-full);
  cursor: pointer;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.nav__toggle svg { width: 20px; height: 20px; }
.nav__toggle .icon-close { display: none; }
.nav__toggle[aria-expanded="true"] .icon-open { display: none; }
.nav__toggle[aria-expanded="true"] .icon-close { display: block; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  --btn-bg: var(--orange-600);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .82rem 1.5rem;
  border-radius: var(--r-full);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .93rem;
  letter-spacing: 0;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; flex: none; transition: transform .3s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(28, 27, 25, .12); }
.btn:not(.btn--ghost):hover { box-shadow: 0 10px 24px rgba(169, 74, 6, .24); }
.btn:hover svg.arrow { transform: translateX(3px); }
.btn:active { transform: translateY(0); }

/* Primary CTAs a step bolder than secondary ones */
.btn:not(.btn--ghost) { font-weight: 600; }

/* Secondary buttons: one soft warm grey everywhere, light or dark background, footer included */
.btn--ghost {
  --btn-bg: #e7e1d5;
  --btn-fg: var(--ink);
  border-color: transparent;
}
.btn--ghost:hover { background: #dcd5c6; box-shadow: 0 8px 20px rgba(28, 27, 25, .10); }


/* ==========================================================================
   Hero
   ========================================================================== */

/* Light split hero, in the site's own palette: copy on the cream ground, photo in a rounded card.
   The section sizes to the viewport so the whole hero is on the first screen. */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + clamp(1rem, 3vh, 2.5rem)) 0 clamp(1rem, 3vh, 2.5rem);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero__inner { max-width: 36rem; animation: hero-rise .8s var(--ease) both; }
.hero h1 { margin-bottom: .4em; font-size: min(var(--step-5), 8.2vh); }
.hero h1 em { font-style: italic; color: var(--green-600); }
.hero__lede {
  color: var(--ink-2);
  font-size: min(var(--step-1), 2.4vh);
  line-height: 1.6;
  max-width: 32rem;
  margin-bottom: clamp(1rem, 3vh, 1.75rem);
}
.hero .eyebrow { margin-bottom: clamp(.75rem, 2vh, 1.25rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Photo card with a sand backing shape for depth, in step with the rest of the page */
.hero__media {
  position: relative;
  animation: hero-rise .9s var(--ease) .1s both;
}
.hero__media::before {
  content: "";
  position: absolute;
  inset: 8% -4% -6% 6%;
  border-radius: var(--r-lg);
  background: var(--sand);
  z-index: -1;
}
.hero__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  max-height: calc(100svh - var(--nav-h) - 8rem);
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--surface);
}

@keyframes hero-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero__inner, .hero__media { animation: none; } }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: clamp(1rem, 3vh, 1.75rem); }
  .hero__media { order: -1; max-width: 640px; width: 100%; }
  .hero__media::before { inset: 10% -3% -5% 5%; }
  .hero__media img { aspect-ratio: 16 / 9; max-height: clamp(150px, 26vh, 320px); border-width: 4px; }
}

/* Quick-facts bar riding the bottom of the hero */
.hero__strip {
  margin: clamp(1.1rem, 3.2vh, 3rem) 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--r);
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero__strip div { background: rgba(20, 18, 14, .36); padding: 1.05rem 1.3rem; }
.hero__strip dt {
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
  font-weight: 600;
}
.hero__strip dd {
  margin: .25rem 0 0;
  font-size: clamp(.82rem, .62rem + .28vw, .98rem);
  font-weight: 600;
  letter-spacing: -.012em;
  color: #fff;
  white-space: nowrap;        /* one line per value — released below, where the cells are narrow */
}

/* ==========================================================================
   Split sections
   ========================================================================== */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.split__media { position: relative; }
/* Photo on the left, copy on the right — used to alternate against the hero above */
.split--reverse .split__media { order: -1; }
.split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}

.checks { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: .9rem; }
.checks li { display: flex; gap: .85rem; align-items: flex-start; }
.checks svg {
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: .15rem;
  padding: 3px;
  border-radius: 50%;
  background: rgba(141, 198, 63, .2);
  color: var(--green-700);
}
.checks span { color: var(--ink-2); font-size: .97rem; line-height: 1.55; }
.checks b { color: var(--ink); font-weight: 600; }

.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

/* ==========================================================================
   Amenities — icon + label tiles, three across like the flyer
   ========================================================================== */

.amenities {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .85rem;
}
.amenity {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .95rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: -.01em;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.amenity:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: transparent; }
.amenity__icon {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(140deg, rgba(141, 198, 63, .22), rgba(141, 198, 63, .1));
  color: var(--green-700);
  display: grid;
  place-items: center;
}
.amenity__icon svg { width: 21px; height: 21px; }
.amenity__note { color: var(--orange-600); font-weight: 700; font-size: .95em; margin-left: .06em; line-height: 0; }
.amenities__foot { margin: 1.1rem 0 0; font-size: .88rem; color: var(--ink-2); }
.nowrap { white-space: nowrap; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ==========================================================================
   Bento gallery
   ========================================================================== */

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(150px, 17vw, 215px);
  gap: .9rem;
}

.gallery__item {
  position: relative;
  padding: 0;
  margin: 0;
  border: 0;
  background: var(--sand);
  cursor: zoom-in;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: left;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 18, 14, .55), transparent 50%);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.gallery__cap {
  position: absolute;
  left: 1rem;
  bottom: .9rem;
  z-index: 1;
  color: #fff;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .01em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.gallery__item:hover img,
.gallery__item:focus-visible img { transform: scale(1.06); }
.gallery__item:hover::after,
.gallery__item:focus-visible::after,
.gallery__item:hover .gallery__cap,
.gallery__item:focus-visible .gallery__cap { opacity: 1; transform: none; }

/* No hover on touch — keep the captions on, they are the only labels */
@media (hover: none) {
  .gallery__item::after, .gallery__cap { opacity: 1; transform: none; }
}

.gallery__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery__item:nth-child(2) { grid-column: span 2; }
.gallery__item:nth-child(5) { grid-column: span 2; }
.gallery__item:nth-child(6):last-child { grid-column: span 2; } /* six tiles: fill the last row too */

.gallery__nav { display: none; }

/* Lightbox */
.lightbox {
  outline: none;
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(94vw, 1150px);
  max-height: 94vh;
  overflow: visible;
}
.lightbox::backdrop { background: rgba(18, 16, 13, .92); backdrop-filter: blur(6px); }
.lightbox img {
  border-radius: var(--r);
  max-height: 80vh;
  width: auto;
  margin-inline: auto;
  box-shadow: var(--shadow-lg);
}
.lightbox__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  color: #fff;
}
.lightbox__cap { font-size: .95rem; color: rgba(255, 255, 255, .9); }
.lightbox__controls { display: flex; align-items: center; gap: .6rem; }
.lightbox__count {
  color: rgba(255, 255, 255, .7);
  font-size: .88rem;
  font-variant-numeric: tabular-nums;
  min-width: 3.5rem;
  text-align: center;
}
.lightbox__close { justify-self: end; }
.lightbox__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .1);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color .25s var(--ease);
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .22); }
.lightbox__btn svg { width: 20px; height: 20px; }

/* ==========================================================================
   Rule book — a document card, not another room photo
   ========================================================================== */

.rulebook {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 4vw, 3.25rem);
  box-shadow: var(--shadow);
}

.doc {
  position: relative;
  max-width: 380px;
  margin-inline: auto;
  padding: 1.5rem 1.5rem 0;
}
.doc::before,
.doc__paper {
  aspect-ratio: 1 / 1.3;
  border-radius: var(--r-sm);
  background: var(--bg);
  border: 1px solid var(--line);
}
.doc::before {
  content: "";
  position: absolute;
  inset: 0 1.5rem 1.5rem 1.5rem;
  transform: rotate(-4deg) translate(-8px, 6px);
  transform-origin: bottom left;
  opacity: .8;
}
.doc__paper {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  box-shadow: var(--shadow-lg);
}
.doc__paper img { width: 84px; height: auto; margin-bottom: auto; }
.doc__kicker {
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
  margin-top: 2rem;
}
.doc__title {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--step-3);
  line-height: 1.05;
  letter-spacing: -.015em;
  margin: .4rem 0 .6rem;
}
.doc__meta { font-size: .82rem; color: var(--ink-3); }
.doc__lines { display: grid; gap: .55rem; margin-top: 1.5rem; }
.doc__lines span { height: 6px; border-radius: 3px; background: var(--line); }
.doc__lines span:nth-child(2) { width: 82%; }
.doc__lines span:nth-child(3) { width: 64%; }

/* Compact band used on the home page; the topic list itself lives in the footer */
.section--slim { padding: clamp(1.75rem, 3.5vw, 2.5rem) 0; }
.rulebook--compact {
  grid-template-columns: 220px 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.5rem, 4vw, 3rem);
}
.rulebook--compact h2 { font-size: var(--step-3); }
.rulebook--compact .doc { max-width: 200px; padding: 1rem 1rem 0; }
.rulebook--compact .doc::before { inset: 0 1rem 1rem 1rem; }
.rulebook--compact .doc__paper { padding: 1.15rem; }
.rulebook--compact .doc__paper img { width: 56px; }
.rulebook--compact .doc__kicker { font-size: .58rem; margin-top: 1rem; }
.rulebook--compact .doc__title { font-size: 1.25rem; margin: .3rem 0 .35rem; }
.rulebook--compact .doc__meta { font-size: .72rem; }
.rulebook--compact .actions { margin-top: 1.4rem; }

/* ==========================================================================
   Location
   ========================================================================== */

.deflist { margin: 1.75rem 0 0; display: grid; gap: 1.25rem; }
.deflist dt {
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
  margin-bottom: .25rem;
}
.deflist dd { margin: 0; color: var(--ink); font-size: .97rem; }

/* ==========================================================================
   Campus wayfinding map (inline SVG, redrawn from the printed site map)
   ========================================================================== */

.wayfinding {
  margin-top: clamp(1.75rem, 3.5vw, 2.75rem);
  display: grid;
  grid-template-columns: 440px 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  box-shadow: var(--shadow);
}
.wayfinding h2 { font-size: var(--step-3); }
.wayfinding .steps { margin-top: 1.5rem; gap: 1.1rem; }
.wayfinding .steps b { font-size: .96rem; }
.wayfinding .actions { margin-top: 1.5rem; }

.campus-map { width: 100%; height: auto; display: block; font-family: var(--font-sans); }
.map-bg { fill: var(--bg); stroke: var(--line); }
.map-dot { fill: var(--line); }
.map-road { fill: none; stroke: var(--green); stroke-width: 34; stroke-linecap: round; stroke-linejoin: round; }
.map-road--alt { stroke: #dcd6cb; }
.map-centre { fill: none; stroke: #fff; stroke-width: 2; stroke-dasharray: 10 8; stroke-linecap: round; opacity: .9; }
.map-baseline { stroke: var(--green); stroke-width: 6; stroke-linecap: round; }
.map-leader { stroke: var(--ink-3); stroke-width: 1.5; stroke-dasharray: 3 4; }
.map-stop circle { fill: #fff; stroke: var(--green-600); stroke-width: 4; }
.map-stop--alt circle { stroke: #b5ad9f; }
.map-here circle { fill: #fff; stroke: var(--green-600); stroke-width: 4; filter: drop-shadow(0 6px 12px rgba(28, 27, 25, .16)); }
.map-here path, .map-gate path { fill: var(--green-600); }
.map-label { font-size: 17px; font-weight: 600; fill: var(--ink); letter-spacing: -.01em; }
.map-label--big { font-size: 22px; }
.map-label--sub { font-size: 15px; font-weight: 500; fill: var(--ink-2); }
.map-label--hint { font-size: 14px; font-style: italic; font-weight: 500; fill: var(--ink-3); }

/* ==========================================================================
   FAQ page
   ========================================================================== */

.qa-list { max-width: 46rem; display: grid; gap: .75rem; margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem); }
.qa {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 1.25rem 1.4rem 1.3rem;
}
.qa h2 { font-family: var(--font-sans); font-size: 1.08rem; font-weight: 600; letter-spacing: -.012em; line-height: 1.3; margin-bottom: .45rem; }
.qa p { color: var(--ink-2); font-size: .96rem; line-height: 1.6; margin: 0; }
.qa__link { display: inline-block; margin-top: .6rem; font-weight: 600; color: var(--green-700); text-decoration: none; }
.qa__link:hover { text-decoration: underline; }
.qa:target { border-color: var(--green-600); box-shadow: 0 0 0 4px rgba(141, 198, 63, .18); }

/* ==========================================================================
   Closing CTA
   ========================================================================== */

.cta {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-lg);
  padding: clamp(2.75rem, 7vw, 4.75rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
}
.cta::before {
  content: "";
  position: absolute;
  top: -55%;
  left: 50%;
  translate: -50% 0;
  width: 120%;
  aspect-ratio: 2 / 1;
  background: radial-gradient(ellipse at center, rgba(141, 198, 63, .26), transparent 62%);
  pointer-events: none;
}
.cta > * { position: relative; }
.cta--slim { padding-block: clamp(2.25rem, 5vw, 3.5rem); }
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, .72); max-width: 42ch; margin-inline: auto; font-size: var(--step-1); line-height: 1.55; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 1.9rem; }

/* ==========================================================================
   Footer — dark, matching the closing CTA block
   ========================================================================== */

.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, .88);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
  font-size: .92rem;
}
.footer h4 {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer a {
  color: rgba(255, 255, 255, .9);
  text-decoration: none;
  transition: color .2s var(--ease);
}
.footer a:hover { color: var(--green); }
.footer .btn { text-decoration: none; }

.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1.2fr .9fr .9fr;
  gap: 2.5rem;
  padding: 2.75rem 0 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.footer__brand img { height: 62px; width: auto; margin-bottom: 1rem; }
.footer__brand p { color: rgba(255, 255, 255, .88); max-width: 26ch; }

.footer__social {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 400;
  font-size: .9rem;
  color: #fff !important;
  transition: color .2s var(--ease);
}
/* Plain white icon and handle, no hover treatment */
.footer__social svg { width: 18px; height: 18px; }
.footer__social:hover { color: #fff !important; }

.footer__address { font-style: normal; color: rgba(255, 255, 255, .88); line-height: 1.55; margin-bottom: .9rem; }
.footer__hours { display: inline-block; margin-top: .35rem; color: #fff; font-weight: 600; }

.footer__base {
  padding-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: space-between;
  color: rgba(255, 255, 255, .6);
  font-size: .84rem;
}

/* Reviews widget */
.reviews { padding-bottom: 2.5rem; }
.reviews__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
}
.reviews__head h4 { margin-bottom: .35rem; }
.reviews__summary { margin: 0; display: flex; align-items: center; gap: .6rem; color: rgba(255, 255, 255, .88); }
.reviews__summary b { color: #fff; font-size: 1.05rem; }
.reviews__links { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 1rem 1.25rem; }
/* Both lines share one left edge: the Google link is indented by the Instagram icon's width */
.reviews__more { display: grid; gap: .5rem; justify-items: start; }
/* Google and Instagram lines share the .footer__social treatment: white, no hover change */

.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 15px; height: 15px; fill: rgba(255, 255, 255, .18); }
.stars svg.is-on { fill: var(--orange); }

.reviews__list {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem !important;
  margin-top: 1.5rem !important;
}
.review {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r-sm);
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.review__text { margin: 0; color: rgba(255, 255, 255, .88); font-size: .93rem; line-height: 1.5; text-wrap: pretty; }
.review__meta { margin: auto 0 0; font-size: .82rem; color: rgba(255, 255, 255, .45); }
.review__meta a { color: rgba(255, 255, 255, .75); font-weight: 600; }

/* ==========================================================================
   Booking page
   ========================================================================== */

.page-head { padding: calc(var(--nav-h) + clamp(2.5rem, 6vw, 4.25rem)) 0 0; }
/* Pages that lead straight into their content, so the head sits closer under the navbar */
.page-head--tight { padding-top: calc(var(--nav-h) + clamp(1rem, 2.4vw, 1.6rem)); }
.page-head .wrap > :last-child { margin-bottom: 0; }
.page-head h1 { font-size: var(--step-4); font-weight: 500; max-width: 20ch; }

.booking {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.booking__side { display: grid; gap: 1.1rem; position: sticky; top: calc(var(--nav-h) + 20px); }

.price-card {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r);
  padding: 1.5rem 1.6rem 1.4rem;
  box-shadow: var(--shadow);
}
.price-card h2 { font-size: var(--step-2); color: #fff; margin-bottom: .9rem; }
.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: .7rem 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.price-list__label { font-weight: 500; color: rgba(255, 255, 255, .92); }
.price-list__label small { display: block; font-size: .78rem; color: rgba(255, 255, 255, .55); }
.price-list__amount {
  text-align: right;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.price-list__amount small {
  display: block;
  font-family: var(--font-sans);
  font-size: .74rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .5);
  letter-spacing: 0;
}
.price-list__extra { margin-top: .35rem; border-top-style: dashed !important; }
.price-card__note { margin: 1rem 0 0; font-size: .84rem; color: rgba(255, 255, 255, .6); }

.steps-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
}
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.35rem; }
.steps li { display: grid; grid-template-columns: 30px 1fr; gap: .85rem; align-items: start; }
.steps__n {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(141, 198, 63, .2);
  color: var(--green-700);
  font-weight: 600;
  font-size: .85rem;
  display: grid;
  place-items: center;
}
.steps b { display: block; font-weight: 600; font-size: .98rem; letter-spacing: -.01em; }
.steps p { margin: .15rem 0 0; color: var(--ink-2); font-size: .89rem; line-height: 1.5; }

.form-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
}

/* --- Booking form --------------------------------------------------------- */

/* Six-column grid so fields can be halves (name, email) or thirds (phone, date, pass) */
.form__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.15rem 1rem;
}
.field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; margin: 0; padding: 0; border: 0; grid-column: span 3; }
.field--third { grid-column: span 2; }
.field--full { grid-column: 1 / -1; }

.field label,
.field legend {
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.005em;
  padding: 0;
}
.field legend { margin-bottom: .45rem; }
.field__opt { font-weight: 500; color: var(--ink-3); margin-left: .35rem; }

.field input:not([type="radio"]):not([type="checkbox"]),
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  padding: .68rem .85rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 5.5rem; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:hover, .field textarea:hover { border-color: #d6ccbb; }
.field input:focus, .field textarea:focus {
  outline: none;
  background: var(--surface);
  border-color: var(--green-600);
  box-shadow: 0 0 0 4px rgba(141, 198, 63, .22);
}
.field input[type="date"] { min-height: 2.85rem; }

.select { position: relative; }
.select select {
  width: 100%;
  min-height: 2.85rem;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  padding: .68rem 2.4rem .68rem .85rem;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.select select:invalid { color: var(--ink-3); }   /* the placeholder option */
.select select:hover { border-color: #d6ccbb; }
.select select:focus {
  outline: none;
  background: var(--surface);
  border-color: var(--green-600);
  box-shadow: 0 0 0 4px rgba(141, 198, 63, .22);
}
.select svg {
  position: absolute;
  right: .9rem;
  top: 50%;
  width: 18px;
  height: 18px;
  translate: 0 -50%;
  color: var(--ink-3);
  pointer-events: none;
}
.was-validated .field select:invalid,
.field.has-error select { border-color: #d9463b; box-shadow: 0 0 0 4px rgba(217, 70, 59, .14); }
.field input[type="date"]::-webkit-calendar-picker-indicator { opacity: .55; cursor: pointer; }

/* Errors only appear after a submit attempt, never while someone is still typing */
.field__error {
  display: none;
  font-size: .84rem;
  color: #b3261e;
  line-height: 1.4;
}
.was-validated .field:has(:invalid) .field__error,
.field.has-error .field__error { display: block; }
.was-validated .field input:invalid:not([type="radio"]),
.was-validated .field textarea:invalid,
.field.has-error input:not([type="radio"]),
.field.has-error textarea {
  border-color: #d9463b;
  box-shadow: 0 0 0 4px rgba(217, 70, 59, .14);
}

/* Duration as a segmented set of radio chips */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; }
.chip input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.chip span {
  display: inline-flex;
  align-items: center;
  padding: .6rem 1rem;
  border-radius: var(--r-full);
  border: 1px solid var(--line);
  background: var(--bg);
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.chip:hover span { border-color: #d6ccbb; color: var(--ink); }
.chip input:checked + span {
  background: rgba(141, 198, 63, .16);
  border-color: var(--green-600);
  color: var(--green-700);
  font-weight: 600;
}
.chip input:focus-visible + span { box-shadow: 0 0 0 4px rgba(141, 198, 63, .22); border-color: var(--green-600); }

/* Conference-room checkbox — small, with a footnote under it */
.field--compact { gap: .35rem; }
.tick {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  width: fit-content;
}
.tick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tick__box {
  flex: none;
  width: 19px;
  height: 19px;
  border-radius: 5px;
  border: 1.5px solid #c9c0b1;
  background: var(--surface);
  color: #fff;
  display: grid;
  place-items: center;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.tick__box svg { width: 12px; height: 12px; opacity: 0; transform: scale(.6); transition: opacity .15s var(--ease), transform .15s var(--ease); }
.tick:hover .tick__box { border-color: var(--green-600); }
.tick input:checked + .tick__box { background: var(--green-600); border-color: var(--green-600); }
.tick input:checked + .tick__box svg { opacity: 1; transform: none; }
.tick input:focus-visible + .tick__box { box-shadow: 0 0 0 4px rgba(141, 198, 63, .22); border-color: var(--green-600); }
.tick__note { font-size: .82rem; color: var(--ink-2); line-height: 1.45; padding-left: calc(19px + .6rem); }

.form__honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form__foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 1.75rem;
}
.form__note { font-size: .86rem; color: var(--ink-3); max-width: 34ch; line-height: 1.45; }
.form__note a { color: var(--ink-2); }

.form.is-sending .btn { opacity: .7; pointer-events: none; }
.form.is-sending .btn svg { animation: nudge 1s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(4px); } }

.form__status { display: none; margin-top: 1.25rem; font-size: .92rem; line-height: 1.5; }
.form__status.is-error {
  display: block;
  color: #7a1c15;
  background: #fbeceb;
  border: 1px solid #f3cfcb;
  border-radius: var(--r-xs);
  padding: .85rem 1rem;
}

/* Success state swaps in for the whole form */
.form-done { text-align: center; padding: clamp(1rem, 3vw, 2rem) 0; }
.form-done:focus { outline: none; } /* focused programmatically for screen readers; no ring needed */
.form-done h2 { font-size: var(--step-3); }
.form-done p { color: var(--ink-2); max-width: 40ch; margin-inline: auto; }
.form-done b { color: var(--ink); font-weight: 600; }
.form-done__icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  background: rgba(141, 198, 63, .2);
  color: var(--green-700);
  display: grid;
  place-items: center;
}
.form-done__icon svg { width: 26px; height: 26px; }
.form-done__actions { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; margin-top: 1.6rem; }
/* WhatsApp green, so the way forward is unmistakable if the pop-up was blocked */
.form-done__wa { --btn-bg: #1faa54; --btn-fg: #fff; font-weight: 600; }
.form-done__wa:hover { background: #18913f; }

/* ==========================================================================
   Kickers and small uppercase labels — Poppins, tracked out
   ========================================================================== */

.eyebrow, .hero__strip dt, .deflist dt, .footer h4, .doc__kicker, .lightbox__count, .gallery__count {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: .18em;
}
.footer h4 { font-weight: 600; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1000px) {
  .split, .rulebook, .booking { grid-template-columns: 1fr; }
  .split__media { order: -1; }
  .booking__side { position: static; display: contents; }
  .price-card { order: -1; }
  .steps-card { order: 3; margin-top: .25rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .doc { max-width: 320px; }
  .amenities { grid-template-columns: repeat(2, 1fr); }
  .rulebook--compact { grid-template-columns: 1fr; }
  .wayfinding { grid-template-columns: 1fr; }
  .campus-map { max-width: 440px; margin-inline: auto; }
  .rulebook--compact .doc { display: none; }
  .reviews__list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .hero__strip { grid-template-columns: repeat(2, 1fr); }
  .hero__strip dd { white-space: normal; }
}

@media (max-width: 760px) {
  .field--third { grid-column: span 3; }
}

/* Six links plus the CTA stop fitting the pill well before the phone sizes */
@media (max-width: 960px) {
  .nav__toggle { display: inline-flex; }
  .nav__inner { padding-right: .45rem; }

  .nav__menu {
    position: fixed;
    top: calc(var(--nav-h) + .25rem);
    left: 1.25rem;
    right: 1.25rem;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: .15rem;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--line-2);
    border-radius: var(--r);
    padding: .75rem;
    box-shadow: var(--shadow-lg);
    max-height: calc(100dvh - var(--nav-h) - 2rem);
    overflow-y: auto;
  }
  .nav__menu[hidden] { display: none; }

  .nav__link {
    color: var(--ink);
    padding: .85rem 1rem;
    font-size: 1rem;
    border-radius: var(--r-xs);
    background: none;
  }
  .nav__link[aria-current] { color: var(--green-700); background: rgba(141, 198, 63, .12); }
  .nav__menu .btn { margin-top: .6rem; width: 100%; }
}

/* Phones and small tablets: the bento becomes a swipeable, edge-to-edge carousel */
@media (max-width: 720px) {
  .gallery {
    display: flex;
    gap: .75rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter));
    padding: .25rem var(--gutter) .5rem;
    scroll-padding-inline: var(--gutter);
  }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery__item {
    flex: 0 0 min(84%, 360px);
    aspect-ratio: 4 / 3;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    border-radius: var(--r);
  }
  .gallery__item::after, .gallery__cap { opacity: 1; transform: none; }
  .gallery__cap { font-size: .9rem; left: 1.1rem; bottom: 1rem; }
  .gallery__item:hover img { transform: none; }

  .gallery__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: .9rem;
  }
  .gallery__dots { display: flex; gap: 6px; }
  .gallery__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: var(--line);
    cursor: pointer;
    transition: width .3s var(--ease), background-color .3s var(--ease);
  }
  .gallery__dot.is-active { width: 22px; background: var(--green-600); }
  .gallery__count { font-size: .85rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }

  /* Amenities: stacked tiles, two across, equal heights per row */
  .amenities { grid-template-columns: repeat(2, 1fr); gap: .7rem; }
  .amenity {
    flex-direction: column;
    align-items: flex-start;
    gap: .8rem;
    padding: 1rem 1rem .95rem;
    font-size: .92rem;
    line-height: 1.3;
  }
  .amenity__icon { width: 40px; height: 40px; border-radius: 11px; }
  .amenity__icon svg { width: 20px; height: 20px; }
  .amenity:hover { transform: none; box-shadow: none; border-color: var(--line); }
  .amenities__foot { font-size: .86rem; }

  .lightbox__bar { grid-template-columns: 1fr auto; }
  .lightbox__cap { grid-column: 1 / -1; order: -1; text-align: center; }
}

/* Short phones: pull the hero in further so the facts strip still clears the fold */
@media (max-width: 620px) and (max-height: 720px) {
  .hero h1 { font-size: min(var(--step-5), 6.4vh); }
  .hero__media img { max-height: 22vh; }
  .hero__strip { margin-top: .75rem; }
  .hero__lede { font-size: .95rem; }
  .hero__strip div { padding: .6rem .85rem; }
  .hero__strip dt { font-size: .62rem; }
  .hero__strip dd { font-size: .85rem; margin-top: .15rem; }
  .hero__actions .btn { padding-block: .78rem; }
}

@media (max-width: 560px) {
  :root { --gutter: 1rem; }
  .hero__actions .btn, .cta__actions .btn, .form-done__actions .btn, .actions .btn { width: 100%; }
  .field, .field--third { grid-column: 1 / -1; }
  .form__foot .btn { width: 100%; }
  .hero__strip div { padding: .9rem 1rem; }
  .hero__strip dd { font-size: .92rem; }
  .reviews__list { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
}
