/* Restaurant Owners & Managers — shared styles (V2, photo-forward)
   Neutral community brand (not Vivid-branded).
   Motion per Emil Kowalski design-eng standards: transform/opacity only,
   custom easing, UI < 300ms, hover gated, reduced-motion respected. */

:root {
  --cream: #FBF6EE;
  --cream-deep: #F3EBDD;
  --ink: #201A12;
  --ink-soft: #57493A;
  --terracotta: #C2431F;
  --terracotta-deep: #9C3212;
  --sage: #4C6347;
  --sage-soft: #EAEEE2;
  --gold: #E5A43C;
  --card: #FFFFFF;
  --line: rgba(32, 26, 18, 0.14);
  --on-photo: #FFF8EE;

  --shadow-sm: 0 1px 2px rgba(32, 26, 18, 0.07), 0 2px 8px rgba(32, 26, 18, 0.06);
  --shadow-md: 0 1px 2px rgba(32, 26, 18, 0.07), 0 10px 28px rgba(32, 26, 18, 0.11);
  --shadow-lg: 0 2px 4px rgba(32, 26, 18, 0.08), 0 18px 48px rgba(32, 26, 18, 0.16);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --w: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--terracotta); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--w); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; }

/* ── Header ─────────────────────────────────────────────── */

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(251, 246, 238, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  font-family: var(--font-display);
  font-weight: 700; font-size: 19px; color: var(--ink);
  display: flex; align-items: center; gap: 10px;
  white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.brand .mark-img {
  width: 38px; height: 38px; flex: none; display: block;
  filter: drop-shadow(0 1px 2px rgba(32, 26, 18, 0.15));
}
.foot-id { display: flex; align-items: center; gap: 10px; }
.foot-badge { width: 26px; height: 26px; opacity: 0.95; }

.nav { display: flex; align-items: center; gap: 22px; }
.nav a { white-space: nowrap; }
.nav a {
  color: var(--ink-soft); font-size: 15px; font-weight: 500;
  transition: color 150ms ease;
}
.nav a:hover { color: var(--ink); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--ink); }

/* ── Buttons ────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 16px;
  padding: 13px 26px; border-radius: 999px; border: none; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 150ms ease, box-shadow 150ms ease;
  will-change: transform;
}
.btn:active { transform: scale(0.97); }
.btn:hover { text-decoration: none; }

.btn-primary { background: var(--terracotta); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--terracotta-deep); box-shadow: var(--shadow-md); }

.btn-ghost {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px rgba(32, 26, 18, 0.34); }

.btn-light {
  background: var(--on-photo); color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.btn-light:hover { background: #fff; box-shadow: var(--shadow-md); }

.btn-sm { padding: 9px 18px; font-size: 14.5px; }

/* ── Photo hero (index) ─────────────────────────────────── */

.hero-photo {
  position: relative;
  min-height: min(78vh, 680px);
  display: flex; align-items: flex-end;
  background:
    linear-gradient(92deg, rgba(32, 20, 10, 0.7) 0%, rgba(32, 20, 10, 0.55) 36%, rgba(32, 20, 10, 0.28) 64%, rgba(32, 20, 10, 0.1) 88%),
    linear-gradient(180deg, rgba(32, 20, 10, 0.28) 0%, rgba(32, 20, 10, 0.08) 42%, rgba(32, 20, 10, 0.38) 82%, rgba(32, 20, 10, 0.6) 100%),
    url('/assets/hero-dining.jpg') center 42% / cover no-repeat;
  color: var(--on-photo);
}

.hero-photo .wrap { padding-top: 96px; padding-bottom: 140px; width: 100%; }

.hero-photo .kicker { color: var(--gold); }

.hero-photo h1 {
  font-size: clamp(38px, 5.4vw, 62px);
  max-width: 19ch;
  margin-bottom: 18px;
  color: #fff;
  text-shadow: 0 1px 3px rgba(20, 13, 7, 0.6), 0 4px 28px rgba(20, 13, 7, 0.55);
}
.hero-photo h1 em { font-style: italic; color: #F0B454; display: block; }

.hero-photo .lede {
  font-size: 19px; max-width: 52ch; margin-bottom: 30px;
  color: #FFF8EE;
  text-shadow: 0 1px 2px rgba(20, 13, 7, 0.55), 0 2px 14px rgba(20, 13, 7, 0.4);
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.hero-note { font-size: 14px; margin-top: 14px; color: rgba(255, 248, 238, 0.75); }

/* Hero entrance: marketing surface, seen rarely → can carry a beat. */
.hero-in {
  opacity: 1; transform: translateY(0);
  transition: opacity 550ms var(--ease-out), transform 550ms var(--ease-out);
}
.hero-in:nth-child(2) { transition-delay: 60ms; }
.hero-in:nth-child(3) { transition-delay: 120ms; }
.hero-in:nth-child(4) { transition-delay: 180ms; }
@starting-style {
  .hero-in { opacity: 0; transform: translateY(14px); }
}

/* Plain text hero (inner pages) */
.hero { padding: 84px 0 72px; overflow: hidden; }

/* ── Humanity strip: photos overlapping the hero bottom ─── */

.photo-strip { margin-top: -84px; position: relative; z-index: 5; }
.photo-strip .wrap {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 26px;
}
.snap {
  background: var(--card); border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: 10px 10px 14px; transform: rotate(-1.1deg);
}
.snap:nth-child(2) { transform: rotate(0.8deg) translateY(14px); }
.snap:nth-child(3) { transform: rotate(-0.5deg); }
.snap img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px;
}
.snap figcaption {
  font-size: 13.5px; color: var(--ink-soft); padding: 10px 6px 0;
  display: flex; align-items: baseline; gap: 7px;
}
.snap figcaption::before { content: "●"; color: var(--terracotta); font-size: 8px; }

/* ── Sections ───────────────────────────────────────────── */

.section { padding: 76px 0; }
.section.tint { background: var(--cream-deep); }
.section.sage-tint { background: var(--sage-soft); }

.kicker {
  font-size: 13px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--terracotta); margin-bottom: 12px;
}
.section h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 16px; }
.section .sub { color: var(--ink-soft); font-size: 18px; max-width: 60ch; }

/* Scroll reveal — added by site.js; opacity+transform only, interruptible */
.reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-d1.in { transition-delay: 60ms; }
.reveal-d2.in { transition-delay: 120ms; }
.reveal-d3.in { transition-delay: 180ms; }

/* ── What members get: numbered list beside a kitchen shot ── */

.benefits-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: 56px; align-items: start; margin-top: 44px;
}

.benefit {
  display: flex; gap: 20px; padding: 24px 0;
  border-top: 1px solid var(--line);
}
.benefit .num {
  font-family: var(--font-display); font-size: 26px; font-weight: 600;
  color: var(--terracotta); flex: none; width: 40px; line-height: 1.3;
}
.benefit h3 { font-size: 19px; margin-bottom: 6px; }
.benefit p { color: var(--ink-soft); font-size: 15.5px; }

.benefits-figure { position: sticky; top: 100px; }
.benefits-figure img {
  width: 100%; border-radius: 18px; box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5; object-fit: cover;
}
.benefits-figure figcaption {
  font-size: 13.5px; color: var(--ink-soft); margin-top: 12px;
  display: flex; gap: 7px; align-items: baseline;
}
.benefits-figure figcaption::before { content: "●"; color: var(--terracotta); font-size: 8px; }

/* ── Hosts ──────────────────────────────────────────────── */

.hosts { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 44px; }

.host {
  background: var(--card); border-radius: 20px; box-shadow: var(--shadow-md);
  overflow: hidden; display: grid; grid-template-columns: 168px 1fr;
}
.host.flip { grid-template-columns: 1fr 168px; }
.host.flip .host-photo { order: 2; }

.host-photo { position: relative; min-height: 210px; }
.host-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
}
.host-body { padding: 24px 24px 22px; }
.host-body .role {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 8px;
}
.host:nth-child(1) .role { color: var(--terracotta); }
.host:nth-child(2) .role { color: var(--sage); }
.host-body h3 { font-size: 21px; margin-bottom: 8px; }
.host-body p { color: var(--ink-soft); font-size: 15px; }

/* ── Voyages Services (upsell + request form) ───────────── */

.svc-layout {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: 40px; margin-top: 44px; align-items: start;
}

.svc-pillars { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 18px; }
.svc-pillar {
  background: var(--card); border-radius: 14px; box-shadow: var(--shadow-sm);
  padding: 20px 20px 18px; height: 100%; box-sizing: border-box;
}
.svc-pillar h3 { font-size: 18px; margin-bottom: 6px; }
.svc-pillar p { color: var(--ink-soft); font-size: 14px; line-height: 1.55; }

.svc-layout .form-shell.svc-form { margin-top: 0; max-width: none; }

/* ── Vendor cards (equal tiles — every vendor promoted the same) ─ */

.vendor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 40px 0 20px; align-items: stretch; }

.vcard {
  background: var(--card); border-radius: 18px; box-shadow: var(--shadow-md);
  padding: 30px 28px;
  display: flex; flex-direction: column; align-items: flex-start;
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .vcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
}
.vcard .vlogo { height: 52px; width: auto; max-width: 260px; object-fit: contain; object-position: left center; margin-bottom: 16px; }
.vcard .vlogo-wide { height: 40px; }
.vcard .vlogo-text {
  font-family: var(--font-display); font-size: 23px; font-weight: 700; color: var(--ink);
  line-height: 52px; height: 52px; margin-bottom: 16px; white-space: nowrap;
}
.vcard .vlogo-text em { color: var(--terracotta); font-weight: 600; }
.vcard .cat { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 10px; }
.vcard h3 { font-size: 23px; margin-bottom: 10px; }
.vcard p { color: var(--ink-soft); font-size: 15.5px; margin-bottom: 20px; }
.vcard .btn { margin-top: auto; }

/* ── Compact vendor callout ─────────────────────────────── */

.callout {
  background: var(--card); border-radius: 16px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  padding: 22px 26px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.callout p { color: var(--ink-soft); font-size: 15.5px; max-width: 62ch; }
.callout p strong { color: var(--ink); }

/* ── CTA band (photo background) ────────────────────────── */

.cta-band {
  position: relative; overflow: hidden;
  color: var(--on-photo);
  border-radius: 24px; padding: 64px 52px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
  background:
    linear-gradient(100deg, rgba(24, 16, 9, 0.88) 20%, rgba(24, 16, 9, 0.6) 100%),
    url('/assets/cafe-crowd.jpg') center 30% / cover no-repeat;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 8px; }
.cta-band p { color: rgba(255, 248, 238, 0.8); max-width: 46ch; }

/* ── Forms ──────────────────────────────────────────────── */

.form-shell {
  background: var(--card); border-radius: 20px; box-shadow: var(--shadow-md);
  padding: 40px; max-width: 720px; margin-top: 40px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 7px; }
.field .hint { font-weight: 400; color: var(--ink-soft); }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--font-body); font-size: 16px; color: var(--ink);
  background: var(--cream); border: 1.5px solid var(--line); border-radius: 10px;
  padding: 12px 14px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(194, 67, 31, 0.16);
}
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink-soft); }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--terracotta); flex: none; }

/* ── Footer ─────────────────────────────────────────────── */

.site-footer { border-top: 1px solid var(--line); padding: 40px 0 48px; margin-top: 40px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; align-items: center; }
.site-footer p { color: var(--ink-soft); font-size: 14px; }
.site-footer nav { display: flex; gap: 22px; }
.site-footer nav a { color: var(--ink-soft); font-size: 14px; }

/* ── Responsive ─────────────────────────────────────────── */

@media (max-width: 1023px) {
  .nav .nav-hide-sm { display: none; }
}

@media (max-width: 880px) {
  .hero { padding: 56px 0 48px; }
  .hero-photo { min-height: 70vh; }
  .hero-photo .wrap { padding-top: 72px; padding-bottom: 120px; }
  .photo-strip { margin-top: -64px; }
  .photo-strip .wrap { grid-template-columns: 1fr 1fr; }
  .snap:nth-child(3) { display: none; }
  .benefits-grid { grid-template-columns: 1fr; gap: 8px; }
  .benefits-figure { position: static; max-width: 480px; }
  .benefits-figure img { aspect-ratio: 4 / 3; }
  .hosts { grid-template-columns: 1fr; }
  .vendor-grid { grid-template-columns: 1fr; }
  .svc-layout { grid-template-columns: 1fr; }
  .cta-band { padding: 44px 28px; }
  .form-shell { padding: 28px 22px; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .brand { font-size: 16px; }
  .site-header .btn { white-space: nowrap; }
  .photo-strip .wrap { grid-template-columns: 1fr; }
  .snap:nth-child(2) { transform: rotate(0.8deg); }
  .snap:nth-child(3) { display: block; }
}

@media (max-width: 480px) {
  .brand .brand-name { display: none; }
}

@media (max-width: 520px) {
  .host, .host.flip { grid-template-columns: 1fr; }
  .host.flip .host-photo { order: 0; }
  .host-photo { min-height: 240px; }
}

/* ── Reduced motion: keep opacity, drop movement ────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-in, .reveal { transition: opacity 200ms ease; transform: none; }
  @starting-style { .hero-in { transform: none; } }
  .reveal { transform: none; }
  .btn:active { transform: none; }
  .vcard { transition: box-shadow 150ms ease; }
  @media (hover: hover) and (pointer: fine) {
    .vcard:hover { transform: none; }
  }
}
