/* ==========================================================================
   Tribecca & Co. — marketing site
   Type: Cormorant Garamond (display) + Jost (UI/body), matching the portal's
   monochrome, square-cornered language but with a warmer, editorial feel.
   ========================================================================== */

@font-face { font-family: "Cormorant Garamond"; src: url("fonts/cormorant-garamond-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("fonts/cormorant-garamond-latin-300-italic.woff2") format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url("fonts/jost-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --ink: #121211;
  --ink-2: #1b1b19;
  --cream: #f2efe9;
  --paper: #faf8f4;
  --stone: #dcd7cc;
  --sand: #b9a688;
  --muted: #6d6a64;
  --line: rgba(18, 18, 17, .16);
  --line-light: rgba(242, 239, 233, .22);

  --serif: "Cormorant Garamond", "Big Caslon", Georgia, serif;
  --sans: "Jost", "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --max: 1440px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --nav-h: 5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 4rem; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 350;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.1em; }
h1, h2, h3 { margin: 0; font-weight: 300; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--cream); padding: .75rem 1rem; z-index: 200; }
.skip:focus { left: 0; }

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

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .26em;
  text-transform: uppercase;
  margin: 0 0 1.5rem;
}
.h2 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5.2vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -.01em;
  text-transform: uppercase;
}
em { font-family: var(--serif); font-style: italic; font-weight: 300; text-transform: none; letter-spacing: 0; }
.section--ink em, .hero em, .feature em { color: var(--sand); }
.hero em { color: #e0d2b6; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(5rem, 11vw, 10rem); position: relative; }
.section--cream { background: var(--cream); }
.section--stone { background: var(--stone); }
.section--ink { background: var(--ink); color: var(--cream); }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.05rem 2.1rem;
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .24em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  overflow: hidden;
  isolation: isolate;
  transition: color .5s var(--ease), border-color .5s var(--ease);
  white-space: nowrap;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: translateY(101%);
  transition: transform .55s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn--sm { padding: .8rem 1.4rem; }

.btn--light { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn--light::before { background: var(--ink); }
.btn--light:hover { color: var(--cream); }

.btn--ghost { color: var(--cream); border-color: rgba(242,239,233,.6); }
.btn--ghost::before { background: var(--cream); }
.btn--ghost:hover { color: var(--ink); border-color: var(--cream); }

.btn--dark { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn--dark::before { background: var(--cream); }
.btn--dark:hover { color: var(--ink); }

.link {
  display: inline-block;
  font-size: .72rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  padding-bottom: .45rem;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: background-size .5s var(--ease);
}
.link:hover { background-size: 0% 1px; background-position: right bottom; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.reveal--d2 { transition-delay: .12s; }
.reveal--d3 { transition-delay: .24s; }
.reveal.in { opacity: 1; transform: none; }

/* Masked line reveals for display headings */
.line { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.line > span { display: block; transform: translateY(110%); transition: transform 1.2s var(--ease); }
.line:nth-child(2) > span { transition-delay: .1s; }
.line:nth-child(3) > span { transition-delay: .2s; }
.in .line > span, .line.in > span, .is-loaded .hero .line > span { transform: none; }
/* headings that are their own observed element */
h1.in .line > span, h2.in .line > span { transform: none; }

/* Image wipe reveal */
.img-reveal { position: relative; margin: 0; --cover: var(--cream); }
.section--ink .img-reveal { --cover: var(--ink); }
.img-reveal::after { content: ""; position: absolute; inset: -1px; background: var(--cover); transform-origin: top; transition: transform 1.4s var(--ease); z-index: 2; pointer-events: none; }
.img-reveal.in::after { transform: scaleY(0); }
.img-reveal img { transform: scale(1.12); transition: transform 1.8s var(--ease); }
.img-reveal.in img { transform: scale(1); }
[data-parallax] { will-change: transform; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-inline: var(--gutter);
  color: var(--cream);
  transition: background .5s var(--ease), transform .6s var(--ease), height .5s var(--ease), border-color .5s;
  border-bottom: 1px solid transparent;
}
.nav.is-solid { background: rgba(18, 18, 17, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line-light); height: 4.25rem; }
.nav.is-hidden { transform: translateY(-100%); }
.nav__brand { display: inline-flex; align-items: baseline; gap: .45rem; font-family: var(--serif); line-height: 1; }
.brand__name { font-size: 1.7rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 400; }
.brand__co { font-style: italic; font-size: 1.05rem; letter-spacing: .08em; opacity: .85; }
.nav__links { display: flex; gap: clamp(1.25rem, 2.6vw, 2.5rem); margin-left: auto; }
.nav__links a { position: relative; font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; padding-block: .4rem; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__toggle { display: none; width: 2.5rem; height: 2.5rem; position: relative; z-index: 120; }
.nav__toggle span { position: absolute; left: .45rem; right: .45rem; height: 1px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.nav__toggle span:nth-child(1) { top: 1.05rem; }
.nav__toggle span:nth-child(2) { top: 1.5rem; }
.nav-open .nav__toggle span:nth-child(1) { top: 1.28rem; transform: rotate(45deg); }
.nav-open .nav__toggle span:nth-child(2) { top: 1.28rem; transform: rotate(-45deg); }
.nav-open .nav { background: transparent; border-color: transparent; backdrop-filter: none; }

.menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--ink);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 7rem var(--gutter) 2.5rem;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .8s var(--ease), visibility 0s .8s;
}
.nav-open .menu { clip-path: inset(0); visibility: visible; transition: clip-path .8s var(--ease); }
.menu__links { display: grid; gap: .25rem; }
.menu__links a { font-family: var(--serif); font-size: clamp(2.6rem, 11vw, 4rem); line-height: 1.12; font-weight: 300; text-transform: uppercase; opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.nav-open .menu__links a { opacity: 1; transform: none; }
.nav-open .menu__links a:nth-child(2) { transition-delay: .06s; }
.nav-open .menu__links a:nth-child(3) { transition-delay: .12s; }
.nav-open .menu__links a:nth-child(4) { transition-delay: .18s; }
.nav-open .menu__links a:nth-child(5) { transition-delay: .24s; }
.nav-open .menu__links a:nth-child(6) { transition-delay: .3s; }
.menu__foot { display: flex; flex-direction: column; gap: 1.25rem; align-items: flex-start; }
.menu__phone { font-size: .8rem; letter-spacing: .22em; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--cream);
  background: var(--ink);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transform: scale(1.12); animation: heroZoom 2.6s var(--ease) .1s forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(18,18,17,.62) 0%, rgba(18,18,17,.12) 32%, rgba(18,18,17,.35) 62%, rgba(18,18,17,.9) 100%); }
.hero__inner { position: relative; width: 100%; max-width: var(--max); margin: 0 auto; padding: calc(var(--nav-h) + 3rem) var(--gutter) clamp(2.5rem, 6vw, 4.5rem); }
.hero__eyebrow { opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease) .3s, transform 1s var(--ease) .3s; }
.is-loaded .hero__eyebrow { opacity: 1; transform: none; }
.hero__title { font-family: var(--serif); text-transform: uppercase; font-size: clamp(3.4rem, 12.5vw, 11.5rem); line-height: .9; letter-spacing: -.015em; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.hero__title em { text-transform: lowercase; padding-left: .2em; }
.hero .line > span { transition-delay: .35s; }
.hero .line:nth-child(2) > span { transition-delay: .5s; }
.hero .line:nth-child(3) > span { transition-delay: .65s; }
.hero__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; opacity: 0; transform: translateY(20px); transition: opacity 1.1s var(--ease) 1.05s, transform 1.1s var(--ease) 1.05s; }
.is-loaded .hero__foot { opacity: 1; transform: none; }
.hero__lede { max-width: 30rem; margin: 0; font-size: 1.02rem; line-height: 1.65; color: rgba(242,239,233,.88); }
.hero__cta { display: flex; gap: .85rem; flex-wrap: wrap; }
.hero__scroll { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%) rotate(90deg); transform-origin: right center; display: flex; align-items: center; gap: .9rem; font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; opacity: .75; }
.hero__scroll i { display: block; width: 3.5rem; height: 1px; background: currentColor; transform-origin: left; animation: scrollLine 2.4s var(--ease) infinite; }
@keyframes scrollLine { 0% { transform: scaleX(0); } 55% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--ink); color: var(--cream); border-top: 1px solid var(--line-light); overflow: hidden; padding-block: 1.25rem; }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee__track span { font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 2.1rem); text-transform: uppercase; letter-spacing: .12em; font-weight: 300; padding-inline: 1.8rem; position: relative; white-space: nowrap; }
.marquee__track span::after { content: "✦"; position: absolute; right: -.4rem; top: 50%; transform: translateY(-50%); font-size: .6rem; color: var(--sand); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr minmax(0, 24rem) 1fr;
  grid-template-areas: "left fig right" "title title title";
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}
.about__col--left { grid-area: left; padding-top: 5rem; }
.about__col--right { grid-area: right; padding-top: 14rem; }
.about__figure { grid-area: fig; }
.about__frame { aspect-ratio: 3 / 4.2; overflow: hidden; }
.about__frame img { width: 100%; height: 118%; object-fit: cover; margin-top: -9%; }
.about__text { font-size: 1.02rem; color: #3c3a36; max-width: 22rem; }
.about__title { grid-area: title; text-align: center; font-family: var(--serif); text-transform: uppercase; font-size: clamp(2.4rem, 6.4vw, 6.2rem); line-height: 1; margin-top: clamp(1.5rem, 4vw, 3rem); }

/* ---------- Pillars ---------- */
.pillars__head { max-width: 64rem; margin-bottom: clamp(3rem, 7vw, 6rem); }
.pillars__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3rem); }
.pillar { border-top: 1px solid var(--line-light); padding-top: 1.75rem; }
.pillar__img { aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: 1.75rem; }
.pillar__img img { width: 100%; height: 112%; object-fit: cover; }
.pillar__num { display: block; font-size: .72rem; letter-spacing: .26em; color: var(--sand); margin-bottom: .75rem; }
.pillar__title { font-family: var(--serif); font-size: clamp(1.9rem, 2.8vw, 2.6rem); text-transform: uppercase; line-height: 1.05; margin-bottom: 1rem; }
.pillar p { color: rgba(242,239,233,.74); max-width: 25rem; margin: 0; }
.pillars__grid .pillar:nth-child(2) { margin-top: 4rem; }
.pillars__grid .pillar:nth-child(3) { margin-top: 8rem; }

/* ---------- Services ---------- */
.services__head { margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.services__title { font-family: var(--serif); text-transform: uppercase; font-size: clamp(2.6rem, 6.2vw, 5.8rem); line-height: 1; }
.services__layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.svc { border-top: 1px solid var(--line); }
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc__head { width: 100%; display: grid; grid-template-columns: 3.2rem 1fr auto; align-items: center; text-align: left; padding: 1.7rem 0; gap: 1rem; }
.svc__num { font-size: .72rem; letter-spacing: .24em; color: var(--muted); }
.svc__name { font-family: var(--serif); font-size: clamp(1.8rem, 3.4vw, 3rem); text-transform: uppercase; line-height: 1.05; transition: transform .6s var(--ease), letter-spacing .6s var(--ease); }
.svc__head:hover .svc__name { transform: translateX(.6rem); }
.svc__icon { position: relative; width: 1rem; height: 1rem; }
.svc__icon::before, .svc__icon::after { content: ""; position: absolute; background: currentColor; transition: transform .5s var(--ease); }
.svc__icon::before { left: 0; right: 0; top: 50%; height: 1px; }
.svc__icon::after { top: 0; bottom: 0; left: 50%; width: 1px; }
.svc.is-open .svc__icon::after { transform: scaleY(0); }
.svc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
.svc.is-open .svc__body { grid-template-rows: 1fr; }
.svc__body > div { overflow: hidden; padding-left: 4.2rem; }
.svc__body p { max-width: 32rem; color: #3c3a36; }
.svc__body .link { margin-bottom: 2rem; }
.svc__thumb { display: none; }

.svc-visual { position: sticky; top: 6rem; }
.svc-visual__frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-2); }
.svc-visual__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .9s var(--ease), transform 1.6s var(--ease); }
.svc-visual__frame img.is-active { opacity: 1; transform: scale(1); }

.services__cta { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 2rem; }
.services__cta p { margin: 0; max-width: 26rem; }
.services__cta a:not(.btn) { border-bottom: 1px solid currentColor; }

/* ---------- Feature (head spa) ---------- */
.feature { position: relative; min-height: 88svh; display: flex; align-items: center; overflow: hidden; color: var(--cream); padding-block: 6rem; }
.feature__media { position: absolute; inset: -10% 0; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,18,17,.82) 0%, rgba(18,18,17,.5) 55%, rgba(18,18,17,.2) 100%); }
.feature__inner { position: relative; }
.feature__title { font-family: var(--serif); text-transform: uppercase; font-size: clamp(3rem, 9vw, 8.5rem); line-height: .94; margin-bottom: 2rem; }
.feature__title em { text-transform: none; }
.feature__text { max-width: 28rem; font-size: 1.08rem; color: rgba(242,239,233,.85); margin-bottom: 2.25rem; }

/* ---------- Products ---------- */
.products__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.products__img { aspect-ratio: 4 / 4.4; overflow: hidden; }
.products__img img { width: 100%; height: 114%; object-fit: cover; }
.products__copy p { max-width: 28rem; color: #3c3a36; }
.products__copy .h2 { margin-bottom: 1.75rem; }
.brands { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 2.25rem; }
.brands li { border: 1px solid var(--line); padding: .7rem 1.1rem; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; display: inline-flex; align-items: center; min-height: 2.75rem; }
.brands__davines img { height: 1.1rem; width: auto; }

/* ---------- Gallery ---------- */
.gallery { padding-bottom: clamp(4rem, 8vw, 7rem); overflow: hidden; }
.gallery__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.gallery .h2 { max-width: 40rem; font-size: clamp(2rem, 4.4vw, 3.9rem); }
.gallery .h2 em { display: inline-block; }
.gallery__rail { display: flex; gap: clamp(.75rem, 1.6vw, 1.5rem); overflow-x: auto; padding-inline: var(--gutter); scroll-snap-type: x proximity; scrollbar-width: none; cursor: grab; -webkit-overflow-scrolling: touch; }
.gallery__rail::-webkit-scrollbar { display: none; }
.gallery__rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.gallery__rail figure { margin: 0; flex: 0 0 auto; height: clamp(20rem, 46vw, 36rem); scroll-snap-align: start; overflow: hidden; position: relative; }
.gallery__rail img { height: 100%; width: auto; object-fit: cover; transition: transform 1.2s var(--ease); user-select: none; -webkit-user-drag: none; }
.gallery__rail figure:hover img { transform: scale(1.04); }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.faq__head { position: sticky; top: 7rem; }
.faq__sub { margin-top: 1.5rem; color: var(--muted); max-width: 22rem; }
.faq__sub a { border-bottom: 1px solid currentColor; color: var(--ink); }
.faq__list details { border-top: 1px solid var(--line); }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.6rem 0; font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 1.85rem); line-height: 1.2; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary i { position: relative; flex: 0 0 1rem; width: 1rem; height: 1rem; }
.faq__list summary i::before, .faq__list summary i::after { content: ""; position: absolute; background: currentColor; transition: transform .5s var(--ease); }
.faq__list summary i::before { left: 0; right: 0; top: 50%; height: 1px; }
.faq__list summary i::after { top: 0; bottom: 0; left: 50%; width: 1px; }
.faq__list details[open] summary i::after { transform: scaleY(0); }
.faq__list details > div { padding-bottom: 1.6rem; max-width: 36rem; color: #3c3a36; animation: faqIn .6s var(--ease); }
.faq__list details p { margin: 0; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- CTA ---------- */
.cta { text-align: center; padding-block: clamp(6rem, 14vw, 12rem); background:
  radial-gradient(ellipse at 50% 120%, rgba(185,166,136,.16), transparent 60%), var(--ink); }
.cta__title { font-family: var(--serif); text-transform: uppercase; font-size: clamp(3rem, 10vw, 9.5rem); line-height: .92; margin-bottom: 3rem; }
.cta__buttons { display: flex; gap: .85rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Visit ---------- */
.visit__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 7vw, 7rem); align-items: stretch; }
.visit .h2 { margin-bottom: 2.5rem; }
.visit__list { margin: 0 0 2.5rem; }
.visit__list > div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding-block: 1.1rem; border-top: 1px solid var(--line); }
.visit__list > div:last-child { border-bottom: 1px solid var(--line); }
.visit__list dt { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); padding-top: .2rem; }
.visit__list dd { margin: 0; }
.visit__list a { border-bottom: 1px solid var(--line); transition: border-color .3s; }
.visit__list a:hover { border-color: currentColor; }
.visit__map { min-height: 26rem; background: var(--stone); position: relative; }
.visit__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(.95) brightness(1.02); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--cream); padding-top: clamp(3.5rem, 7vw, 6rem); overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-bottom: 3rem; }
.footer__nav { display: flex; gap: 1.75rem; flex-wrap: wrap; }
.footer__nav a, .footer__social a { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; opacity: .8; transition: opacity .3s; }
.footer__nav a:hover, .footer__social a:hover, .footer__meta a:hover { opacity: 1; }
.footer__meta { display: flex; flex-direction: column; gap: .25rem; text-align: right; font-size: .9rem; opacity: .85; }
.footer__mark { display: flex; justify-content: center; align-items: baseline; gap: .8vw; font-family: var(--serif); line-height: .95; white-space: nowrap; padding-inline: var(--gutter); border-top: 1px solid var(--line-light); padding-top: 2.5rem; }
.footer__mark span { font-size: clamp(2.4rem, 12.6vw, 15rem); text-transform: uppercase; letter-spacing: .16em; margin-right: -.16em; font-weight: 300; }
.footer__mark em { font-size: clamp(1.4rem, 5vw, 5rem); }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 2rem 2.5rem; font-size: .75rem; opacity: .65; }
.footer__social { display: flex; gap: 1.5rem; }

/* ---------- Mobile book bar ---------- */
.bookbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; text-align: center; background: var(--cream); color: var(--ink); font-size: .74rem; letter-spacing: .26em; text-transform: uppercase; padding: 1.05rem 1rem calc(1.05rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); transform: translateY(101%); transition: transform .6s var(--ease); }
.bookbar.is-visible { transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav__links, .nav__book { display: none; }
  .nav__toggle { display: block; }

  .hero__scroll { display: none; }
  .hero__foot { flex-direction: column; align-items: flex-start; }

  .about__grid { grid-template-columns: 1fr; grid-template-areas: "title" "left" "fig" "right"; }
  .about__title { text-align: left; margin-top: 0; }
  .about__col--left, .about__col--right { padding-top: 0; }
  .about__text { max-width: 34rem; }

  .pillars__grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .pillars__grid .pillar:nth-child(n) { margin-top: 0; }
  .pillar__img { aspect-ratio: 4 / 3.4; }
  .pillar p { max-width: 34rem; }

  .services__layout { grid-template-columns: 1fr; }
  .svc-visual { display: none; }
  .svc__head { grid-template-columns: 2.4rem 1fr auto; padding: 1.4rem 0; }
  .svc__body > div { padding-left: 3.4rem; }
  .svc__thumb { display: block; width: 100%; max-width: 22rem; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 1.25rem; }

  .products__grid, .visit__grid, .faq__grid { grid-template-columns: 1fr; }
  .products__img { aspect-ratio: 4 / 3.4; }
  .faq__head { position: static; }
  .visit__map { min-height: 22rem; }

  .footer__meta { text-align: left; }
  .bookbar { display: block; }
  body { padding-bottom: 0; }
  .footer { padding-bottom: 3.5rem; }
}

@media (max-width: 520px) {
  .hero__title { font-size: 17.5vw; }
  .hero__cta .btn { flex: 1 1 100%; }
  .visit__list > div { grid-template-columns: 1fr; gap: .15rem; }
  .brand__name { font-size: 1.4rem; }
  .brand__co { font-size: .95rem; }
  .cta__buttons .btn { flex: 1 1 100%; }
  .footer__bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .reveal, .line > span, .hero__foot, .hero__eyebrow { opacity: 1 !important; transform: none !important; }
  .img-reveal::after { display: none; }
  .marquee__track { animation: none; }
}
