/* ==========================================================================
   Lisa Loves Color — site styles
   Palette pulled from the logo: heavy black type on warm paper, with the
   golden script "Color" as the only accent.
   ========================================================================== */

:root {
  --paper: #f7f3ec;
  --paper-2: #eee8dc;
  --ink: #141313;
  --ink-2: #4a4641;
  --night: #1b1b1d;
  --night-2: #252528;
  --cream: #f3eee5;
  --cream-2: #b3ada4;
  --line: rgba(20, 19, 19, 0.16);
  --line-dark: rgba(243, 238, 229, 0.16);

  /* Gold — sampled from the script "Color" in the logo (yellow top, amber bottom) */
  --gold: #fdc300;
  --gold-deep: #f9a800;
  --sun: linear-gradient(180deg, #ffd400 0%, #fdbb00 55%, #f9a500 100%);
  --sun-x: linear-gradient(90deg, #ffd400 0%, #f9a500 100%);

  --paper-grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .05 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");

  --display: "Fraunces", "Cooper Black", Georgia, serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 14px;
}

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

html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background-color: var(--paper);
  background-image: var(--paper-grain);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
a { color: inherit; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

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

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

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--cream); padding: 10px 14px; border-radius: 8px;
}
.skip:focus { top: 12px; }

/* ---------- Type ---------- */

.display, h1, h2, h3 {
  font-family: var(--display);
  font-variation-settings: "SOFT" 100, "WONK" 0;
  font-optical-sizing: auto;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0;
}

h1 { font-size: clamp(2.375rem, 6vw, 5rem); letter-spacing: -0.028em; line-height: 0.92; }
h2 { font-size: clamp(1.875rem, 4vw, 3.25rem); letter-spacing: -0.022em; }
h3 { font-size: clamp(1.25rem, 1.9vw, 1.5rem); line-height: 1.12; letter-spacing: -0.01em; }

.caps { text-transform: uppercase; letter-spacing: -0.012em; }

.label {
  font-family: var(--body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin: 0 0 18px;
}
.on-dark .label { color: var(--cream-2); }

.lede { font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); line-height: 1.5; color: var(--ink-2); max-width: 36ch; }
.on-dark .lede { color: var(--cream-2); }

/* gold-filled text */
.gold {
  background-image: var(--sun);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* gold highlighter swash */
.swash {
  position: relative;
  isolation: isolate;
  white-space: nowrap;
}
.swash::after {
  content: "";
  position: absolute;
  left: -0.04em; right: -0.04em;
  bottom: -0.02em;
  height: 0.16em;
  border-radius: 999px;
  background-image: var(--sun);
  z-index: -1;
}

/* ---------- Buttons ---------- */

.btn {
  --b: var(--ink);
  --t: var(--cream);
  --bd: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius);
  border: 0;
  background: transparent;
  color: var(--t);
  font-family: var(--body);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.005em;
  cursor: pointer;
  position: relative;
  isolation: isolate;
  touch-action: manipulation;
  transition: transform 0.22s cubic-bezier(.2,.8,.2,1);
}
.btn::after {
  /* the face of the button */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--b);
  border: 2px solid var(--bd);
  z-index: -1;
}
.btn::before {
  /* gold slab underneath, revealed as an offset on hover */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: var(--sun);
  z-index: -2;
  transition: transform 0.22s cubic-bezier(.2,.8,.2,1);
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translate(-3px, -3px); }
  .btn:hover::before { transform: translate(6px, 6px); }
}
/* feedback lands on press, not release */
.btn:active { transform: scale(0.97); transition-duration: 0.08s; }
.btn:active::before { transform: none; transition-duration: 0.08s; }

.btn--ghost { --b: var(--paper); --t: var(--ink); }
.btn--light { --b: var(--cream); --t: var(--ink); --bd: var(--cream); }
.btn--ghost-light { --b: var(--night); --t: var(--cream); --bd: var(--cream); }

@media (prefers-reduced-motion: reduce) {
  .btn, .btn::before { transition: opacity 0.12s ease; }
  .btn:hover, .btn:hover::before, .btn:active, .btn:active::before { transform: none; }
  .btn:active { opacity: 0.8; }
}

.text-link {
  font-weight: 600;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 2px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 2px;
}
.text-link:hover {
  background-image: var(--sun-x);
  background-size: 100% 3px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  /* solid (not translucent) so iOS Safari tints the status-bar area to match */
  background-color: var(--paper);
}
/* soft scroll edge where content passes under the bar (no hard divider) */
.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 100%;
  height: 16px;
  background: linear-gradient(rgb(20 19 19 / 0.08), rgb(20 19 19 / 0));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.site-header.is-scrolled::after { opacity: 1; }
/* frosted material on desktop; phones keep the solid bar so iOS Safari tints its status bar to match */
@media (hover: hover) and (pointer: fine) {
  @supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .site-header {
      background-color: rgb(247 243 236 / 0.9);
      -webkit-backdrop-filter: blur(20px) saturate(180%);
      backdrop-filter: blur(20px) saturate(180%);
    }
  }
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

.brand { display: block; flex: none; }
.brand img { height: 50px; width: auto; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) {
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  padding: 6px 0;
  background-image: var(--sun-x);
  background-size: 0 3px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.25s ease;
}
.nav a:not(.btn):hover,
.nav a[aria-current="page"] { background-size: 100% 3px; }
.nav .btn { min-height: 2.75rem; padding: 0 1.125rem; font-size: 0.9375rem; }

.menu-toggle {
  display: none;
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  border-radius: 10px;
  height: 44px;
  padding: 0 14px;
  font: 600 0.9375rem/1 var(--body);
  cursor: pointer;
}

@media (max-width: 760px) {
  .site-header .wrap { height: 64px; }
  .brand img { height: 40px; }
  .menu-toggle { display: inline-flex; align-items: center; }
  .nav {
    position: fixed;
    inset: 64px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px -20px rgba(0,0,0,.25);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
    transform-origin: top right;
    transition: opacity 0.18s ease, transform 0.28s cubic-bezier(.2,.8,.2,1), visibility 0s linear 0.28s;
  }
  .nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.2s ease, transform 0.36s cubic-bezier(.2,.8,.2,1), visibility 0s;
  }
  /* dim the page behind the open menu */
  .site-header::before {
    content: "";
    position: fixed;
    inset: 64px 0 0;
    background: rgb(20 19 19 / 0.3);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }
  html.menu-open .site-header::before { opacity: 1; }
  html.menu-open { overflow: hidden; }
  .nav a:not(.btn) {
    font-family: var(--display);
    font-variation-settings: "SOFT" 100;
    font-weight: 800;
    font-size: 1.5rem;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    background: none;
  }
  .nav .btn { margin-top: 1.125rem; min-height: 3.25rem; font-size: 1rem; }
}

/* ---------- Sections ---------- */

.section { padding: clamp(64px, 8vw, 112px) 0; position: relative; }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }

.on-dark {
  background: var(--night);
  color: var(--cream);
}
.on-dark .text-link { color: var(--cream); }
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }

.paper-2 { background: var(--paper-2); }

/* ---------- Home: hero ---------- */

.hero { padding: clamp(28px, 4vw, 56px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero-logo { width: 100%; max-width: 520px; }
.hero-logo img { width: 100%; }
.hero h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.hero-copy { margin-top: clamp(24px, 3vw, 40px); }
.hero-copy .lede { color: var(--ink); max-width: 30ch; font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); }
.hero-copy .lede strong { font-weight: 600; }

.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.where {
  display: inline-flex;
  gap: 10px;
  align-items: baseline;
  margin-top: 26px;
  font-size: 0.875rem;
  color: var(--ink-2);
}
.where .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background-image: var(--sun-x); flex: none; transform: translateY(-1px);
}

/* the photo stack — like snapshots tucked into a station mirror */
.stack {
  position: relative;
  aspect-ratio: 1 / 1.08;
  width: 100%;
  max-width: 540px;
  justify-self: end;
}
.snap {
  position: absolute;
  margin: 0;
  background: #fff;
  padding: 10px 10px 34px;
  box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 18px 40px -18px rgba(20,19,19,.45);
  transition: transform 0.35s cubic-bezier(.2,.7,.2,1);
}
.snap img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.snap figcaption {
  position: absolute;
  left: 12px; right: 12px; bottom: 9px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #6b665f;
}
.snap--a { width: 58%; left: 0; top: 4%; transform: rotate(-5deg); z-index: 2; }
.snap--b { width: 52%; right: 0; top: 0; transform: rotate(4deg); z-index: 1; }
.snap--c { width: 54%; left: 26%; bottom: 0; transform: rotate(-1.5deg); z-index: 3; }
@media (hover: hover) and (pointer: fine) {
.stack:hover .snap--a { transform: rotate(-7deg) translate(-8px, -4px); }
.stack:hover .snap--b { transform: rotate(6deg) translate(8px, -6px); }
.stack:hover .snap--c { transform: rotate(0deg) translateY(6px); }
}

@media (prefers-reduced-motion: reduce) { .snap { transition: none; } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .stack { justify-self: center; max-width: 460px; margin-top: 12px; }
}

/* ---------- Home: about ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}
.about-quote {
  font-size: clamp(2rem, 4.2vw, 3.625rem);
  line-height: 1;
  position: sticky;
  top: 110px;
}
.about-body h2 { font-size: clamp(1.5rem, 2.3vw, 1.875rem); line-height: 1.1; margin-bottom: 1.375rem; }
.about-body p { font-size: 1rem; color: var(--ink-2); max-width: 60ch; }
.about-body p.first { color: var(--ink); font-size: 1.125rem; }

.about-sig {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.about-sig img {
  width: 76px; height: 76px; border-radius: 50%; object-fit: cover;
  outline: 3px solid var(--paper); box-shadow: 0 0 0 5px transparent;
  background-image: var(--sun-x);
  padding: 3px;
}
.about-sig b { display: block; font-family: var(--display); font-variation-settings: "SOFT" 100; font-weight: 800; font-size: 1.125rem; line-height: 1.2; }
.about-sig span { font-size: 0.875rem; color: var(--ink-2); }

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-quote { position: static; }
}

/* ---------- Home: services ---------- */

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px 48px;
  flex-wrap: wrap;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.section-head p { max-width: 40ch; color: var(--ink-2); margin: 0; }
.on-dark .section-head p { color: var(--cream-2); }

.services { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.service {
  padding: clamp(16px, 2vw, 24px) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.service .n {
  font-family: var(--display);
  font-variation-settings: "SOFT" 100;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.service h3 { font-size: clamp(1.375rem, 2.6vw, 2.125rem); line-height: 1; font-weight: 900; }
.service p { margin: 0; color: var(--ink-2); font-size: 0.9375rem; }
.service::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  height: 3px; width: 0;
  background-image: var(--sun-x);
  transition: width 0.45s cubic-bezier(.2,.7,.2,1);
}
.service:hover::after { width: 100%; }


/* ---------- Home: the suite (dark) ---------- */

.suite-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.room-three {
  font-family: var(--display);
  font-variation-settings: "SOFT" 100, "WONK" 0;
  font-weight: 900;
  font-size: clamp(11.25rem, 24vw, 20rem);
  line-height: 0.78;
  letter-spacing: -0.04em;
  margin: 0;
  user-select: none;
}
.room-three small {
  display: block;
  font-family: var(--body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-2);
  -webkit-text-fill-color: var(--cream-2);
  margin-top: 28px;
  line-height: 1.4;
}
.room-three small i { font-style: normal; color: var(--cream); -webkit-text-fill-color: var(--cream); }

.suite h2 { margin-bottom: 24px; }
.suite .lede { max-width: 46ch; }

.perks {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-dark);
}
.perks li {
  padding: 20px 20px 20px 0;
  border-bottom: 1px solid var(--line-dark);
}
.perks li:nth-child(odd) { border-right: 1px solid var(--line-dark); }
.perks li:nth-child(even) { padding-left: 24px; }
.perks b {
  display: block;
  font-family: var(--display);
  font-variation-settings: "SOFT" 100;
  font-weight: 800;
  font-size: 1.125rem;
  line-height: 1.2;
  margin-bottom: 4px;
}
.perks span { color: var(--cream-2); font-size: 0.9375rem; }

.suite .actions { margin-top: 36px; }

@media (max-width: 860px) {
  .suite-grid { grid-template-columns: 1fr; }
  .room-three { font-size: clamp(9.375rem, 44vw, 15rem); }
}
@media (max-width: 520px) {
  .perks { grid-template-columns: 1fr; }
  .perks li:nth-child(odd) { border-right: 0; }
  .perks li:nth-child(even) { padding-left: 0; }
}

/* ---------- Home: work strip (dark) ---------- */

.work {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(90px, 11vw, 150px);
  gap: clamp(8px, 1.2vw, 16px);
}
.work a { display: block; overflow: hidden; border-radius: 6px; position: relative; background: var(--night-2); transition: transform 0.25s cubic-bezier(.2,.8,.2,1); }
.work a:active { transform: scale(0.98); transition-duration: 0.08s; }
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(.2,.7,.2,1); }
@media (hover: hover) and (pointer: fine) { .work a:hover img { transform: scale(1.04); } }
.work a:nth-child(1) { grid-column: 1 / span 5; grid-row: span 3; }
.work a:nth-child(2) { grid-column: 6 / span 4; grid-row: span 2; }
.work a:nth-child(3) { grid-column: 10 / span 3; grid-row: span 2; }
.work a:nth-child(4) { grid-column: 6 / span 3; grid-row: span 2; }
.work a:nth-child(5) { grid-column: 9 / span 4; grid-row: span 2; }
.work a:nth-child(6) { grid-column: 1 / span 5; grid-row: span 1; }

@media (max-width: 700px) {
  .work { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 44vw; }
  .work a:nth-child(n) { grid-column: auto; grid-row: auto; }
  .work a:nth-child(1) { grid-column: 1 / -1; grid-row: span 2; }
  .work a:nth-child(6) { display: none; }
}

/* ---------- Home: testimonials ---------- */

.quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}
.quote {
  margin: 0;
  display: flex;
  flex-direction: column;
  padding-top: 26px;
  border-top: 2px solid var(--ink);
}
.quote .mark {
  font-family: var(--display);
  font-variation-settings: "SOFT" 100;
  font-weight: 900;
  font-size: 6rem;
  line-height: 0.75;
  height: 42px;
  margin-left: -4px;
  display: block;
}
.quote blockquote { margin: 0 0 1.375rem; font-size: 1rem; line-height: 1.55; }
.quote figcaption { margin-top: auto; font-weight: 600; }
.quote figcaption span { color: var(--ink-2); font-weight: 400; }
.quote--big blockquote {
  font-family: var(--display);
  font-variation-settings: "SOFT" 100;
  font-weight: 600;
  font-size: clamp(1.1875rem, 1.6vw, 1.3125rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

@media (max-width: 900px) {
  .quotes { grid-template-columns: 1fr; }
}

/* ---------- CTA ---------- */

.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px 64px;
  align-items: end;
}
.cta h2 { font-size: clamp(2.75rem, 7vw, 6.25rem); line-height: 0.86; }
.cta p { color: var(--ink-2); max-width: 36ch; }
.contact-lines { margin: 1.375rem 0 0; display: grid; gap: 0.375rem; font-size: 1rem; }
.contact-lines a { font-weight: 600; text-decoration: none; }
.contact-lines a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

@media (max-width: 860px) {
  .cta-grid { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--night);
  color: var(--cream);
  padding: 72px 0 32px;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background-image: var(--sun);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.footer-logo img { width: 220px; }
.site-footer h4 {
  margin: 0 0 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-2);
}
.site-footer address, .site-footer ul { font-style: normal; list-style: none; margin: 0; padding: 0; line-height: 1.7; }
.site-footer .hours { margin: 14px 0 0; color: var(--cream-2); line-height: 1.7; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-base {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: var(--cream-2);
}

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-logo { grid-column: 1 / -1; }
}
@media (max-width: 460px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Inner page header ---------- */

.page-head { padding: clamp(48px, 7vw, 100px) 0 clamp(36px, 5vw, 64px); }
.page-head h1 { font-size: clamp(2.75rem, 6.5vw, 5.5rem); line-height: 0.88; }
.page-head .lede { margin-top: 26px; max-width: 44ch; }
.on-dark.page-head .lede { color: var(--cream-2); }

/* ---------- Gallery page ---------- */

.gallery {
  columns: 3 280px;
  column-gap: 16px;
}
.gallery button {
  display: block;
  width: 100%;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  background: var(--night-2);
  border-radius: 6px;
  overflow: hidden;
  cursor: zoom-in;
  break-inside: avoid;
  position: relative;
}
.gallery img { width: 100%; transition: transform 0.6s cubic-bezier(.2,.7,.2,1), opacity .3s; }
@media (hover: hover) and (pointer: fine) { .gallery button:hover img { transform: scale(1.03); } }
.gallery button { transition: transform 0.25s cubic-bezier(.2,.8,.2,1); }
.gallery button:active { transform: scale(0.98); transition-duration: 0.08s; }
.gallery button.is-lifted img { visibility: hidden; }
.gallery button span {
  position: absolute;
  left: 12px; bottom: 12px;
  background: rgba(27,27,29,.82);
  color: var(--cream);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .2s, transform .2s;
}
.gallery button:hover span, .gallery button:focus-visible span { opacity: 1; transform: none; }

.lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cream);
  overflow: hidden;
}
.lightbox::backdrop { background: transparent; }
.lb-scrim { position: absolute; inset: 0; background: rgb(14 14 15 / 0.95); opacity: 0; }
.lb-stage { position: absolute; inset: 0; z-index: 1; touch-action: none; }
.lb-track { position: absolute; inset: 0; will-change: transform; }
.lb-slide {
  position: absolute;
  max-width: none;
  transform-origin: 0 0;
  border-radius: 6px;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  will-change: transform;
}
.lb-caption {
  position: absolute;
  left: 16px; right: 16px; bottom: 26px;
  z-index: 2;
  margin: 0;
  text-align: center;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  color: var(--cream-2);
  pointer-events: none;
  opacity: 0;
}
.lb-btn {
  position: absolute;
  z-index: 3;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: 50%;
  background: rgb(255 255 255 / 0.1);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  color: var(--cream);
  font: 600 1.25rem/1 var(--body);
  cursor: pointer;
  opacity: 0;
  touch-action: manipulation;
  transition: background-color 0.2s ease, transform 0.22s cubic-bezier(.2,.8,.2,1);
}
.lb-btn[hidden] { display: none; }
.lb-btn:active { transform: scale(0.92); transition-duration: 0.08s; }
@media (hover: hover) and (pointer: fine) { .lb-btn:hover { background: rgb(255 255 255 / 0.2); } }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 20px; top: calc(50% - 24px); }
.lb-next { right: 20px; top: calc(50% - 24px); }
.lb-fade { animation: lb-fade 0.2s ease; }
@keyframes lb-fade { from { opacity: 0; } }
@media (max-width: 600px) {
  .lb-prev, .lb-next { top: auto; bottom: 58px; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
}
html.lb-lock { overflow: hidden; }

.gallery-foot {
  margin-top: 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
}
.gallery-foot p { margin: 0; font-family: var(--display); font-variation-settings: "SOFT" 100; font-weight: 800; font-size: clamp(1.25rem, 2vw, 1.625rem); }

/* ---------- Book page ---------- */

.notice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px 22px;
  align-items: start;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 32px);
  position: relative;
  overflow: hidden;
  max-width: 820px;
}
.notice::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 8px;
  background-image: var(--sun);
}
.notice .tag {
  font-family: var(--display);
  font-variation-settings: "SOFT" 100;
  font-weight: 900;
  font-size: 1.1875rem;
  line-height: 1.25;
  padding-left: 8px;
}
.notice p { margin: 0; font-size: 1rem; }
.notice p + p { margin-top: 0.625rem; color: var(--cream-2); font-size: 0.9375rem; }
.notice a { font-weight: 600; }

@media (max-width: 560px) {
  .notice { grid-template-columns: 1fr; }
}

.book-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.booking-frame {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 8px;
  min-height: 560px;
  position: relative;
}
.booking-frame .vagaro { width: 100% !important; }
.booking-frame .vagaro > a { display: none; }
.booking-frame .vagaro-footer,
.booking-frame .vagaro-noniframe .vagaro-download { display: none !important; }
.booking-frame iframe { width: 100% !important; border: 0; display: block; }
.booking-loading {
  padding: 28px 20px;
  text-align: center;
  color: var(--ink-2);
  font-size: 0.9375rem;
}
.booking-loading .bar {
  height: 4px;
  width: 140px;
  margin: 0 auto 16px;
  border-radius: 999px;
  background-image: var(--sun-x);
  background-size: 200% 100%;
  animation: shimmer 1.6s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .booking-loading .bar { animation: none; } }

.side-card {
  border-top: 2px solid var(--ink);
  padding-top: 22px;
  margin-bottom: 36px;
}
.side-card h3 { margin-bottom: 12px; }
.side-card p { color: var(--ink-2); font-size: 0.9375rem; }
.side-card .actions { margin-top: 18px; }

@media (min-width: 901px) {
  .book-grid aside { position: sticky; top: 100px; }
}
@media (max-width: 900px) {
  .book-grid { grid-template-columns: 1fr; }
}

/* ---------- Contact page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.contact-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.contact-list li {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 6px 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.contact-list .k {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding-top: 6px;
}
.contact-list .v {
  font-family: var(--display);
  font-variation-settings: "SOFT" 100;
  font-weight: 800;
  font-size: clamp(1.1875rem, 1.8vw, 1.4375rem);
  line-height: 1.25;
}
.contact-list .v a { text-decoration: none; }
.contact-list .v a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; }
.contact-list .v small {
  display: block;
  font-family: var(--body);
  font-weight: 400;
  font-size: 0.9375rem;
  color: var(--ink-2);
  margin-top: 6px;
  line-height: 1.5;
}
.contact-list .v .mini { display: flex; gap: 1.125rem; flex-wrap: wrap; margin-top: 0.625rem; font-family: var(--body); font-size: 0.9375rem; font-weight: 600; }

.map {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-2);
  aspect-ratio: 4 / 4.2;
  position: sticky;
  top: 100px;
}
.map > img { width: 100%; height: 100%; object-fit: cover; }
#directions { scroll-margin-top: 96px; }
.map-credit {
  position: absolute;
  top: 10px; right: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgb(247 243 236 / 0.85);
  color: var(--ink-2);
  font-size: 0.6875rem;
  text-decoration: none;
}
.map-actions {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 8px 8px 16px;
  border-radius: 14px;
  background: rgb(247 243 236 / 0.92);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  backdrop-filter: blur(16px) saturate(170%);
  box-shadow: 0 10px 30px -14px rgb(20 19 19 / 0.5), 0 0 0 1px rgb(20 19 19 / 0.08);
}
.map-alt {
  order: -1;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: underline;
  text-decoration-color: rgb(20 19 19 / 0.25);
  text-underline-offset: 3px;
}
@media (hover: hover) and (pointer: fine) { .map-alt:hover { color: var(--ink); text-decoration-color: currentColor; } }
.map-btn {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--cream);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.22s cubic-bezier(.2,.8,.2,1), background-color 0.2s ease;
}
.map-btn:active { transform: scale(0.96); transition-duration: 0.08s; }
@media (hover: hover) and (pointer: fine) {
  .map-btn:hover { background-color: #000; }
}
@media (max-width: 420px) {
  .map-actions { flex-direction: column; align-items: stretch; padding: 10px; gap: 8px; }
  .map-btn { justify-content: center; min-height: 46px; }
  .map-alt { order: 0; text-align: center; padding: 2px 0 4px; }
}

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .map { position: relative; top: auto; aspect-ratio: 1 / 1.08; }
}
@media (max-width: 460px) {
  .contact-list li { grid-template-columns: 1fr; }
  .contact-list .k { padding-top: 0; }
}

/* ---------- Reveal on scroll (progressive; content is visible without JS) ---------- */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Addresses + "Open in Maps" chooser ---------- */

.addr-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}
@media (hover: hover) and (pointer: fine) {
  .addr-link:hover { text-decoration-color: var(--gold-deep); text-decoration-thickness: 2px; }
}
.site-footer address a.addr-link { text-decoration-color: rgb(243 238 229 / 0.3); }

@media (prefers-contrast: more) { .addr-link { text-decoration-color: currentColor; } }

/* ---------- Accessibility preferences ---------- */

@media (prefers-reduced-transparency: reduce) {
  .map-actions { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site-header { background-color: var(--paper) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .lb-btn { background: var(--night-2); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --ink-2: #2b2825; --cream-2: #dcd7ce; --line: rgb(20 19 19 / 0.45); --line-dark: rgb(243 238 229 / 0.45); }
  .site-header { background-color: var(--paper) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; border-bottom: 2px solid var(--ink); }
  .text-link { background-size: 100% 3px; }
  .lb-btn { background: var(--night); border: 2px solid var(--cream); }
}
@media (prefers-reduced-motion: reduce) {
  .nav, .nav.is-open { transform: none !important; }
  .work a, .gallery button, .work a:active, .gallery button:active { transform: none; }
}
