/* ==========================================================================
   AFENDI — Puerto Banús
   Design foundation
   --------------------------------------------------------------------------
   Palette is drawn from the venue itself: near-black warmed with brown (the
   timber battens and velvet banquettes), a cream taken from the terrace
   cushions and plates, and the brass gold sampled from the logo artwork
   (#BEAC78). Gold is a signature, not a surface — it appears as rules,
   eyebrows, hovers and one button. Colour comes from the photography.
   ========================================================================== */

/* --- Tokens ------------------------------------------------------------- */
:root {
  /* Surfaces */
  --ink:        #0C0B09;
  --ink-2:      #15120E;
  --ink-3:      #1E1A14;
  --clay:       #1A1410;
  --cream:      #F4EFE7;
  --cream-2:    #EAE2D4;
  --cream-3:    #DED4C2;

  /* Brand gold — sampled from the Afendi mark */
  --gold:       #C2A661;
  --gold-soft:  #DCCBA0;
  --gold-ink:   #6F5726;   /* gold-family text that passes contrast on cream */

  /* Type colours */
  --on-ink:        #F4EFE7;
  --on-ink-dim:    #ABA294;
  --on-ink-faint:  #6E675C;
  --on-cream:      #1A1611;
  --on-cream-dim:  #5B5245;

  /* Hairlines */
  --rule-dark:  rgba(222, 205, 162, .16);
  --rule-light: rgba(26, 22, 17, .14);

  /* Geometry */
  --gutter: clamp(20px, 5vw, 64px);
  --max:    1320px;
  --max-text: 62ch;
  --radius: 2px;
  --radius-lg: 4px;

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --slow: .8s;

  /* Type
     One family, used the way the brand already uses it. The Afendi mark and
     the printed menu are both set in geometric capitals, so headings are too:
     uppercase Jost, tracked open, weight stepping down as size goes up. */
  --sans: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --display: var(--sans);

  --header-h: 76px;
}

/* --- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    animation-iteration-count: 1 !important;
  }
}

body {
  background: var(--ink);
  color: var(--on-ink);
  font-family: var(--sans);
  font-size: clamp(16px, .4vw + 15px, 17.5px);
  font-weight: 300;
  line-height: 1.65;
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
img { height: auto; background: var(--ink-2); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

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

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 1px;
}

.skip-link {
  position: absolute; left: 12px; top: -200px; z-index: 999;
  background: var(--gold); color: var(--ink);
  padding: .7em 1.2em; font-size: .8rem; letter-spacing: .12em;
  text-transform: uppercase; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --- Typography --------------------------------------------------------- */
.display,
h1, h2, h3 {
  font-family: var(--display);
  text-transform: uppercase;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: .055em;
  text-wrap: balance;
}

/* Tracking tightens as the size grows, the way the wordmark is drawn */
h1, .t-xxl {
  font-size: clamp(2.1rem, 5.4vw, 4rem);
  letter-spacing: .045em;
  line-height: 1.08;
}
h2, .t-xl {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  letter-spacing: .06em;
  line-height: 1.16;
}
h3, .t-lg {
  font-size: clamp(1.02rem, 1.4vw, 1.25rem);
  font-weight: 500;
  letter-spacing: .13em;
  line-height: 1.3;
}

.eyebrow {
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
}
.on-cream .eyebrow { color: var(--gold-ink); }

.lede {
  font-size: clamp(1.05rem, 1.1vw + .8rem, 1.3rem);
  line-height: 1.55;
  color: var(--on-ink-dim);
  max-width: 46ch;
  text-wrap: pretty;
}
.on-cream .lede { color: var(--on-cream-dim); }

p { max-width: var(--max-text); text-wrap: pretty; }
p + p { margin-top: 1em; }

.muted { color: var(--on-ink-dim); }
.on-cream .muted { color: var(--on-cream-dim); }

/* Gold emphasis inside a display line, used sparingly */
em.accent { font-style: normal; color: var(--gold-soft); }
.on-cream em.accent { color: var(--gold-ink); }

/* --- Layout ------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap-wide { max-width: 1600px; }

.section { padding-block: clamp(72px, 10vw, 148px); position: relative; }
.section-sm { padding-block: clamp(52px, 6vw, 88px); }

.on-cream { background: var(--cream); color: var(--on-cream); }
.on-clay  { background: var(--clay); }

.rule { height: 1px; background: var(--rule-dark); border: 0; }
.on-cream .rule { background: var(--rule-light); }

.grid { display: grid; gap: clamp(28px, 4vw, 64px); }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .cols-2, .cols-3 { grid-template-columns: minmax(0, 1fr); } }

/* Section heading block */
.sec-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head.split {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: end; gap: clamp(24px, 4vw, 56px);
}
@media (max-width: 860px) { .sec-head.split { grid-template-columns: minmax(0, 1fr); align-items: start; } }

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: .7em;
  font-family: var(--sans);
  font-size: .78rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  padding: 1.05em 1.9em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: background .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease), transform .35s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-gold { background: var(--gold); color: #17130B; }
.btn-gold:hover { background: var(--gold-soft); }

.btn-ghost { border-color: var(--rule-dark); color: var(--on-ink); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-soft); }
.on-cream .btn-ghost { border-color: var(--rule-light); color: var(--on-cream); }
.on-cream .btn-ghost:hover { border-color: var(--gold-ink); color: var(--gold-ink); }

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

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Text link with gold underline that draws in */
.link {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: .78rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  padding-bottom: .5em; position: relative;
  color: var(--on-ink);
}
.on-cream .link { color: var(--on-cream); }
.link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--rule-dark);
}
.on-cream .link::after { background: var(--rule-light); }
.link::before {
  content: ""; position: absolute; left: 0; bottom: 0; z-index: 1;
  width: 0; height: 1px; background: var(--gold);
  transition: width .5s var(--ease);
}
.link:hover::before, .link:focus-visible::before { width: 100%; }
.link .arrow { transition: transform .4s var(--ease); }
.link:hover .arrow { transform: translateX(5px); }

/* --- Header ------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .4s var(--ease), border-color .4s var(--ease),
              backdrop-filter .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck,
.site-header.is-open {
  background: rgba(12, 11, 9, .96);
  border-bottom-color: var(--rule-dark);
}
/* Only thin the backdrop out where the blur can actually do the work */
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .site-header.is-stuck,
  .site-header.is-open {
    background: rgba(12, 11, 9, .94);
    backdrop-filter: blur(18px) saturate(1.4);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
  }
}
/* Pages without a dark hero start solid */
.site-header.solid { background: rgba(12,11,9,.92); backdrop-filter: blur(14px); border-bottom-color: var(--rule-dark); }

.header-inner {
  width: 100%; max-width: var(--max); margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand img { width: 30px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--sans); font-weight: 500;
  font-size: 1.06rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--cream); padding-left: .3em;
}
.brand-sub {
  font-size: .5rem; letter-spacing: .32em; text-transform: uppercase;
  color: var(--on-ink-dim); margin-top: 7px; padding-left: .4em;
}

.nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.nav a {
  font-size: .73rem; font-weight: 400;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--on-ink-dim);
  padding: .5em 0; position: relative;
  transition: color .3s var(--ease);
}
.nav a:hover { color: var(--cream); }
.nav a[aria-current="page"] { color: var(--cream); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--gold);
}

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-actions .btn { padding: .82em 1.5em; font-size: .7rem; }

.nav-toggle {
  display: none; width: 42px; height: 42px;
  align-items: center; justify-content: center;
  margin-right: -8px;
}
.nav-toggle span {
  display: block; width: 22px; height: 1px; background: var(--cream);
  position: relative; transition: background .2s var(--ease);
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 1px;
  background: var(--cream); transition: transform .35s var(--ease);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after  { top: 7px; }
.is-open .nav-toggle span { background: transparent; }
.is-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.is-open .nav-toggle span::after  { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--ink);
  padding: clamp(28px, 6vw, 48px) var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 32px; overflow-y: auto;
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.mobile-nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-nav ul { list-style: none; padding: 0; display: grid; gap: 2px; }
.mobile-nav li { border-bottom: 1px solid var(--rule-dark); }
.mobile-nav a.m-link {
  display: flex; align-items: baseline; justify-content: space-between;
  font-family: var(--display); font-size: clamp(1.25rem, 5.4vw, 1.75rem);
  font-weight: 500; text-transform: uppercase; letter-spacing: .1em;
  padding: .62em 0; color: var(--cream);
}
.mobile-nav a.m-link span {
  font-family: var(--sans); font-size: .62rem; letter-spacing: .24em;
  text-transform: uppercase; color: var(--on-ink-faint);
}
.mobile-meta { display: grid; gap: 14px; }
.mobile-meta .btn { justify-content: center; }
.mobile-meta p { font-size: .8rem; letter-spacing: .1em; color: var(--on-ink-faint); text-transform: uppercase; }

@media (max-width: 1040px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-reserve { display: none; }
}
body.nav-open { overflow: hidden; }

/* --- Hero (home) -------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
  background: var(--ink);
}
/* warm pool of light behind the type, echoing the lounge lighting */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(76% 62% at 16% 44%, rgba(194, 166, 97, .13), transparent 62%),
    radial-gradient(50% 40% at 4% 96%, rgba(140, 86, 42, .14), transparent 70%);
}

.hero-copy {
  position: relative; z-index: 3;
  padding: clamp(48px, 7vw, 96px) 0 clamp(48px, 7vw, 80px) var(--gutter);
  padding-right: clamp(24px, 4vw, 64px);
  max-width: 760px;
  justify-self: end;
  width: 100%;
}
.hero-mark { width: clamp(52px, 6vw, 74px); margin-bottom: 26px; }
/* The hero wordmark is the signage, enlarged — caps, open tracking, the
   optical-centring correction that letter-spacing always needs. */
.hero h1 {
  font-size: clamp(2.6rem, 16vw, 7.2rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: .12em;
  text-indent: .12em;
  margin: 16px 0 0;
}
.hero-pillars {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: .5em 1.1em; margin-top: 26px;
  font-size: clamp(.74rem, .9vw, .86rem);
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--on-ink-dim);
}
.hero-pillars .dot { width: 3px; height: 3px; background: var(--gold); border-radius: 50%; }
.hero p.lede { margin-top: 28px; }
.hero .btn-row { margin-top: 38px; }

/* Vertical video panel — the footage is 9:16, so it is shown at its own
   aspect rather than cropped into a letterbox strip. */
.hero-media {
  position: relative; z-index: 2;
  height: 100svh;
  display: flex; align-items: center; justify-content: flex-end;
}
.hero-media-frame {
  position: relative;
  width: min(100%, 560px);
  height: min(84svh, 860px);
  margin-right: calc(var(--gutter) * -1);
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.hero-media video,
.hero-media img.poster {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-media-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, var(--ink) 0%, rgba(12,11,9,.45) 22%, transparent 56%);
}

.hero-strip {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 4;
  border-top: 1px solid var(--rule-dark);
  background: linear-gradient(to top, rgba(12,11,9,.9), rgba(12,11,9,0));
}
.hero-strip .wrap {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px clamp(20px, 4vw, 48px);
  padding-block: 16px;
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--on-ink-dim);
}
.hero-strip .sep { color: var(--on-ink-faint); }
.hero-strip a:hover { color: var(--gold-soft); }

@media (max-width: 1040px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 92svh; }
  .hero-media {
    position: absolute; inset: 0; height: 100%;
    justify-content: center; z-index: 1;
  }
  .hero-media-frame {
    width: 100%; height: 100%; margin: 0; border-radius: 0;
  }
  .hero-media-frame::after {
    background:
      linear-gradient(to top, var(--ink) 1%, rgba(12,11,9,.62) 38%, rgba(12,11,9,.72) 100%),
      linear-gradient(to right, rgba(12,11,9,.5), rgba(12,11,9,.1) 70%);
  }
  .hero-copy {
    padding: clamp(80px, 18vw, 140px) var(--gutter) 108px;
    justify-self: center; max-width: 640px;
  }
  .hero p.lede { max-width: 38ch; }
}
@media (max-width: 560px) {
  .hero h1 { font-size: clamp(3.6rem, 22vw, 5.6rem); }
  .hero .btn-row .btn { flex: 1 1 auto; justify-content: center; }
}

/* --- Page hero (inner pages) -------------------------------------------- */
.page-hero {
  position: relative;
  min-height: clamp(460px, 62svh, 680px);
  display: flex; align-items: flex-end;
  padding-top: var(--header-h);
  overflow: hidden;
}
.page-hero .bg { position: absolute; inset: 0; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--ink) 1%, rgba(12,11,9,.72) 38%, rgba(12,11,9,.42) 100%);
}
.page-hero .wrap { position: relative; z-index: 2; padding-bottom: clamp(44px, 6vw, 76px); }
.page-hero h1 { margin-top: 18px; font-size: clamp(1.75rem, 4.6vw, 3.4rem); letter-spacing: .05em; }
.page-hero .lede { margin-top: 22px; }

/* --- Figures & media ---------------------------------------------------- */
figure { margin: 0; }
.fig { position: relative; overflow: hidden; border-radius: var(--radius); }
.fig img { width: 100%; height: 100%; object-fit: cover; }
.fig-cap {
  margin-top: 14px; font-size: .7rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--on-ink-faint);
}
.on-cream .fig-cap { color: var(--on-cream-dim); }

.ar-portrait { aspect-ratio: 3 / 4; }
.ar-tall     { aspect-ratio: 2 / 3; }
.ar-square   { aspect-ratio: 1 / 1; }
.ar-land     { aspect-ratio: 4 / 3; }
.ar-wide     { aspect-ratio: 16 / 9; }
.ar-band     { aspect-ratio: 21 / 9; }
@media (max-width: 700px) { .ar-band { aspect-ratio: 16 / 10; } }

/* Zoom on hover for linked images */
.fig-zoom img { transition: transform 1.1s var(--ease); }
a:hover .fig-zoom img, .card:hover .fig-zoom img { transform: scale(1.045); }

/* --- Pillar cards ------------------------------------------------------- */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
@media (max-width: 860px) { .pillars { grid-template-columns: minmax(0, 1fr); } }

.card { position: relative; display: block; overflow: hidden; border-radius: var(--radius); }
.card .fig { aspect-ratio: 3 / 4; }
@media (max-width: 860px) { .card .fig { aspect-ratio: 4 / 3; } }
.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top,
    rgba(10,9,7,.95) 0%, rgba(10,9,7,.86) 24%, rgba(10,9,7,.5) 48%,
    rgba(10,9,7,.16) 72%, rgba(10,9,7,0) 100%);
  transition: background .5s var(--ease);
}
.card:hover::after {
  background: linear-gradient(to top,
    rgba(10,9,7,.96) 0%, rgba(10,9,7,.9) 26%, rgba(10,9,7,.6) 52%,
    rgba(10,9,7,.24) 76%, rgba(10,9,7,.04) 100%);
}
.card-body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: clamp(22px, 2.4vw, 34px);
}
.card-body h3 {
  color: var(--cream);
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
  letter-spacing: .15em;
}
.card-body p {
  margin-top: 10px; font-size: .92rem; line-height: 1.55;
  color: var(--on-ink-dim); max-width: 34ch;
}
.card-body .go {
  display: inline-flex; align-items: center; gap: .5em; margin-top: 18px;
  font-size: .7rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-soft);
}
.card:hover .go .arrow { transform: translateX(5px); }
.card .go .arrow { transition: transform .4s var(--ease); }

/* --- Editorial split ---------------------------------------------------- */
.split {
  display: grid; align-items: center;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 86px);
}
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }
.split-copy { max-width: 52ch; }
.split.reverse .split-copy { order: 2; }
@media (max-width: 900px) { .split.reverse .split-copy { order: 0; } }

/* Stacked/overlapping image pair */
.img-pair { position: relative; }
.img-pair .a { width: 82%; }
.img-pair .b {
  position: absolute; right: 0; bottom: -14%;
  width: 44%; border: 6px solid var(--ink);
  border-radius: var(--radius);
}
.on-cream .img-pair .b { border-color: var(--cream); }
@media (max-width: 560px) {
  .img-pair .a { width: 88%; }
  .img-pair .b { width: 46%; bottom: -10%; border-width: 4px; }
}

/* --- Signature dish list ------------------------------------------------ */
.sig-list { list-style: none; padding: 0; display: grid; gap: 0; }
.sig-list li { border-top: 1px solid var(--rule-dark); }
.on-cream .sig-list li { border-top-color: var(--rule-light); }
.sig-list li:last-child { border-bottom: 1px solid var(--rule-dark); }
.on-cream .sig-list li:last-child { border-bottom-color: var(--rule-light); }
.sig-list .row {
  display: flex; align-items: baseline; gap: 16px;
  padding: 1.05em 0;
}
.sig-list .name {
  font-family: var(--display); font-size: clamp(.9rem, 1.1vw, 1.02rem);
  font-weight: 500; text-transform: uppercase; letter-spacing: .1em; line-height: 1.3;
}
.sig-list .dots { flex: 1; border-bottom: 1px dotted rgba(222,205,162,.26); transform: translateY(-.28em); }
.on-cream .sig-list .dots { border-bottom-color: rgba(26,22,17,.24); }
.sig-list .price { font-size: .92rem; letter-spacing: .06em; color: var(--gold-soft); font-variant-numeric: tabular-nums; }
.on-cream .sig-list .price { color: var(--gold-ink); }
.sig-list .note { display: block; font-size: .85rem; color: var(--on-ink-dim); margin-top: -.5em; padding-bottom: 1.05em; max-width: 46ch; }
.on-cream .sig-list .note { color: var(--on-cream-dim); }

/* --- Facts strip -------------------------------------------------------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--rule-dark); border-block: 1px solid var(--rule-dark); }
.on-cream .facts { background: var(--rule-light); border-block-color: var(--rule-light); }
.facts > div { background: var(--ink); padding: clamp(22px, 3vw, 34px) clamp(16px, 2vw, 28px); }
.on-cream .facts > div { background: var(--cream); }
.facts dt { font-size: .64rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.on-cream .facts dt { color: var(--gold-ink); }
.facts dd {
  margin: 10px 0 0; font-family: var(--display);
  font-size: clamp(.92rem, 1.1vw, 1.05rem); font-weight: 500;
  text-transform: uppercase; letter-spacing: .09em; line-height: 1.45;
}
.facts dd small { display: block; font-family: var(--sans); font-size: .78rem; letter-spacing: .04em; color: var(--on-ink-dim); margin-top: 6px; }
.on-cream .facts dd small { color: var(--on-cream-dim); }
@media (max-width: 860px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .facts { grid-template-columns: minmax(0, 1fr); } }

/* --- Reveal on scroll --------------------------------------------------- */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* --- Footer ------------------------------------------------------------- */
.site-footer { background: var(--ink); border-top: 1px solid var(--rule-dark); padding-block: clamp(56px, 7vw, 92px) 34px; }
.footer-grid {
  display: grid; gap: clamp(32px, 4vw, 56px);
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
}
@media (max-width: 1000px) { .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 620px)  { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

.footer-brand img { width: 44px; margin-bottom: 20px; }
.footer-brand p { font-size: .95rem; color: var(--on-ink-dim); max-width: 32ch; }
.f-title { font-size: .64rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 11px; }
.site-footer li a, .site-footer address a, .site-footer address {
  font-size: .9rem; font-style: normal; color: var(--on-ink-dim); line-height: 1.6;
  transition: color .3s var(--ease);
}
.site-footer li a:hover, .site-footer address a:hover { color: var(--gold-soft); }
.footer-bottom {
  margin-top: clamp(44px, 5vw, 68px); padding-top: 24px;
  border-top: 1px solid var(--rule-dark);
  display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between;
  font-size: .72rem; letter-spacing: .12em; color: var(--on-ink-faint);
}

/* --- Reserve drawer ----------------------------------------------------- */
.reserve-backdrop {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(6, 5, 4, .72);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none; transition: opacity .35s var(--ease);
}
.reserve-backdrop.is-open { opacity: 1; pointer-events: auto; }

.reserve-panel {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 201;
  width: min(460px, 100%);
  background: var(--ink-2);
  border-left: 1px solid var(--rule-dark);
  padding: clamp(26px, 4vw, 40px);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .45s var(--ease);
}
.reserve-panel.is-open { transform: none; }
.reserve-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 8px; }
.reserve-close { font-size: 1.5rem; line-height: 1; color: var(--on-ink-dim); padding: 4px 6px; }
.reserve-close:hover { color: var(--cream); }
.reserve-panel h2 { font-size: clamp(1.15rem, 2.4vw, 1.4rem); letter-spacing: .09em; }
.reserve-panel .lede { font-size: .95rem; margin-top: 10px; }

.quick-actions { display: grid; gap: 10px; margin: 26px 0; }
.quick-actions a {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 18px; border: 1px solid var(--rule-dark);
  border-radius: var(--radius);
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.quick-actions a:hover { border-color: var(--gold); background: rgba(194,166,97,.05); }
.quick-actions .qa-label { font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); display: block; }
.quick-actions .qa-value { font-size: .98rem; color: var(--cream); }
.quick-actions svg { flex-shrink: 0; width: 20px; height: 20px; stroke: var(--gold); fill: none; stroke-width: 1.4; }

.field { display: grid; gap: 7px; margin-bottom: 15px; }
.field label { font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--on-ink-dim); }
.field input, .field select, .field textarea {
  background: var(--ink); border: 1px solid var(--rule-dark);
  border-radius: var(--radius); padding: .82em .9em;
  font-size: .95rem; font-weight: 300; color: var(--cream);
  transition: border-color .3s var(--ease);
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); outline: none; }
.field textarea { resize: vertical; min-height: 76px; }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.reserve-panel .btn-gold { width: 100%; justify-content: center; margin-top: 8px; }
.reserve-note { font-size: .78rem; color: var(--on-ink-faint); margin-top: 16px; line-height: 1.6; }

/* --- Shared: chips ------------------------------------------------------ */
.chips { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; padding: 0; }
.chip {
  display: inline-flex; align-items: center; gap: .6em;
  border: 1px solid var(--rule-dark); border-radius: 100px;
  padding: .52em 1em .52em .85em;
  font-size: .8rem; letter-spacing: .04em; color: var(--on-ink);
}
.on-cream .chip { border-color: var(--rule-light); }
.chip .swatch { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.chip small { color: var(--on-ink-dim); font-size: .74rem; }
.on-cream .chip small { color: var(--on-cream-dim); }

/* --- Utilities ---------------------------------------------------------- */
.mt-s { margin-top: 18px; } .mt-m { margin-top: 30px; } .mt-l { margin-top: 48px; }
.center { text-align: center; }
.max-sm { max-width: 56ch; }
.nowrap { white-space: nowrap; }
