/* ============================================================
   Host Restaurants — Group Landing Page
   ============================================================ */

:root {
  --green: #535b52;
  --green-deep: #3c423b;
  --green-soft: #6d766a;
  --cream: #f3f1ed;
  --cream-dim: #eae7e0;
  --cream-line: rgba(83, 91, 82, 0.16);
  --paper: #faf9f6;

  --font-display: "Fraunces", "Iowan Old Style", ui-serif, Georgia, serif;
  --font-body: "Karla", -apple-system, "Segoe UI", sans-serif;

  --max-w: 1180px;
  --edge: clamp(24px, 6vw, 96px);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--green-deep);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

::selection {
  background: var(--green);
  color: var(--cream);
}

/* -------------------------------------------------------------
   Grain overlay — quiet texture so cream doesn't read flat
------------------------------------------------------------- */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* -------------------------------------------------------------
   Header
------------------------------------------------------------- */
.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(20px, 3.5vw, 40px) var(--edge) 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--green-deep);
}

.brand__wordmark {
  width: 128px;
  height: auto;
}

.site-header__meta {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-soft);
}

/* -------------------------------------------------------------
   Hero
------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 14vw, 168px) var(--edge) clamp(64px, 10vw, 120px);
}

.hero__mark {
  position: absolute;
  top: 50%;
  right: clamp(-140px, -4vw, -20px);
  transform: translateY(-50%);
  width: clamp(360px, 46vw, 640px);
  pointer-events: none;
}

.hero__mark svg {
  width: 100%;
  height: auto;
  fill: var(--cream);
  filter: drop-shadow(-1px -1px 1px rgba(61, 67, 60, 0.3))
    drop-shadow(1px 1px 1px rgba(255, 255, 255, 0.9));
}

.hero__inner {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-soft);
  margin: 0 0 28px;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--green-soft);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 480;
  font-optical-sizing: auto;
  letter-spacing: -0.01em;
  font-size: clamp(2.6rem, 6vw, 5.1rem);
  line-height: 1.06;
  max-width: 15ch;
  margin: 0 0 32px;
  color: var(--green-deep);
}

.hero h1 em {
  font-style: italic;
  color: var(--green);
}

.hero__lede {
  max-width: 46ch;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--green-soft);
  margin: 0 0 44px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
}

/* -------------------------------------------------------------
   Buttons / links
------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  background: var(--green-deep);
  color: var(--cream);
  text-decoration: none;
  font-size: 0.86rem;
  letter-spacing: 0.03em;
  transition: background 0.25s ease, transform 0.25s ease;
}

.btn:hover {
  background: var(--green);
  transform: translateY(-1px);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--green-deep);
  font-size: 0.86rem;
  border-bottom: 1px solid var(--cream-line);
  padding-bottom: 3px;
  transition: border-color 0.25s ease, color 0.25s ease, gap 0.25s ease;
}

.link-arrow:hover {
  color: var(--green);
  border-color: var(--green);
  gap: 12px;
}

.link-arrow svg {
  width: 14px;
  height: 14px;
}

/* -------------------------------------------------------------
   Section scaffolding
------------------------------------------------------------- */
.section {
  padding: clamp(56px, 9vw, 108px) var(--edge);
}

.section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.rule {
  border: none;
  border-top: 1px solid var(--cream-line);
  margin: 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section-head__index {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--green-soft);
  font-size: 0.95rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 460;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  letter-spacing: -0.01em;
  margin: 6px 0 0;
  max-width: 20ch;
}

/* -------------------------------------------------------------
   Pillars
------------------------------------------------------------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 32px);
}

.pillar {
  background: var(--cream);
  border-radius: 18px;
  padding: clamp(30px, 3.2vw, 46px) clamp(26px, 3vw, 38px);
  position: relative;
  box-shadow:
    inset 2px 2px 5px rgba(61, 67, 60, 0.16),
    inset -2px -2px 5px rgba(255, 255, 255, 0.8),
    inset 0 0 0 1px rgba(61, 67, 60, 0.04);
}

.pillar:nth-child(2) {
  transform: translateY(clamp(0px, 2vw, 28px));
}

.pillar__num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--green-soft);
  font-size: 0.9rem;
  display: block;
  margin-bottom: 24px;
}

.pillar h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.35rem;
  margin: 0 0 14px;
}

.pillar p {
  margin: 0;
  color: var(--green-soft);
  font-size: 0.95rem;
}

/* -------------------------------------------------------------
   Statement / about strip
------------------------------------------------------------- */
.statement {
  background: var(--cream-dim);
}

.statement__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.statement__mark {
  width: clamp(120px, 14vw, 180px);
  opacity: 0.9;
}

.statement p {
  font-family: var(--font-display);
  font-weight: 420;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.35;
  letter-spacing: -0.005em;
  margin: 0;
  color: var(--green-deep);
}

/* -------------------------------------------------------------
   Footer
------------------------------------------------------------- */
.site-footer {
  background: var(--green-deep);
  color: var(--cream);
  padding: clamp(48px, 7vw, 72px) var(--edge) clamp(28px, 4vw, 36px);
}

.site-footer__top {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-bottom: clamp(28px, 4vw, 40px);
  border-bottom: 1px solid rgba(243, 241, 237, 0.15);
}

.site-footer .brand {
  color: var(--cream);
}

.site-footer .brand__wordmark {
  filter: brightness(0) invert(1);
}

.site-footer__bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: clamp(20px, 3vw, 28px);
  font-size: 0.78rem;
  color: rgba(243, 241, 237, 0.55);
}

/* -------------------------------------------------------------
   Reveal-on-load animation
------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: reveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-on-scroll.in-view {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* -------------------------------------------------------------
   Responsive
------------------------------------------------------------- */
@media (max-width: 900px) {
  .statement__inner {
    grid-template-columns: 1fr;
  }

  .statement__mark {
    width: 96px;
  }

  .pillars {
    grid-template-columns: 1fr;
  }

  .pillar:nth-child(2) {
    transform: none;
  }
}

@media (max-width: 600px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .site-footer__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__mark {
    display: none;
  }
}
