/* =================================================
   GOURMAND
   A cinematic, restrained, Paris-bakery aesthetic.
   Inspired by Tartine, Poilâne, Dominique Ansel, Chambelland.
   ================================================= */

:root {
  --cream:        #F5EFE2;   /* warmer than before */
  --paper:        #FAF6EC;
  --paper-soft:   #F1EADB;
  --ink:          #161412;
  --ink-soft:     #3E3A33;
  --muted:        #8C8579;
  --paleline:     #D7CDB7;

  --green:        #1F3826;   /* deeper forest */
  --green-mid:    #2F4A3A;
  --gold:         #8C6B3F;
  --gold-light:   #B79A6A;

  --display: "Cormorant Garamond", "Times New Roman", serif;
  --body:    "Cormorant Garamond", "Times New Roman", serif;
  --ui:      "DM Sans", system-ui, -apple-system, sans-serif;

  --maxw: 1400px;
  --gutter: clamp(1.4rem, 4vw, 3.5rem);

  --ease: cubic-bezier(.2, .65, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 19px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; }

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

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1.4rem var(--gutter);
  transition: background .35s var(--ease), backdrop-filter .35s var(--ease), border-color .35s var(--ease), padding .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(250, 246, 236, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--paleline);
  padding-top: 0.95rem;
  padding-bottom: 0.95rem;
}
.nav.is-hero {
  --nav-color: var(--cream);
}
.nav.is-hero:not(.is-scrolled) a { color: var(--cream); }

.nav__left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color .35s var(--ease);
}
.nav__sub::before { content: "—  "; color: var(--gold); }

.nav__wordmark {
  display: flex;
  justify-content: center;
  text-align: center;
}
.nav__wordmark-img {
  height: 26px;
  width: auto;
  display: block;
  transition: filter .35s var(--ease);
}
/* On hero (dark) — convert green SVG to cream */
.nav.is-hero .nav__wordmark-img {
  filter: brightness(0) saturate(100%) invert(95%) sepia(8%) saturate(412%) hue-rotate(11deg) brightness(99%) contrast(94%);
}

.nav__right {
  display: flex;
  justify-content: flex-end;
  gap: 1.8rem;
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.nav__right a {
  position: relative;
  color: var(--ink-soft);
  padding: 4px 0;
  transition: color .35s var(--ease), opacity .35s var(--ease);
}
.nav__right a::after {
  content: "";
  position: absolute;
  inset: auto 0 -3px 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav__right a:hover::after { transform: scaleX(1); }

.nav__order {
  padding: 8px 16px !important;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 11px !important;
  letter-spacing: 0.18em !important;
}
.nav__order::after { display: none; }
.nav__order:hover {
  background: var(--ink);
  color: var(--paper) !important;
  border-color: var(--ink);
}
.nav.is-hero .nav__order:hover {
  background: var(--cream);
  color: var(--green) !important;
  border-color: var(--cream);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
}
.hero__media {
  position: absolute;
  inset: 0;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: brightness(0.78) contrast(1.05) saturate(0.95);
  animation: heroZoom 18s var(--ease) forwards;
}
.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(22,20,18,0.35) 0%, rgba(22,20,18,0) 30%, rgba(22,20,18,0) 60%, rgba(22,20,18,0.55) 100%),
    radial-gradient(ellipse at center, rgba(22,20,18,0) 30%, rgba(22,20,18,0.45) 100%);
}

@keyframes heroZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}

.hero__layout {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 var(--gutter);
  width: 100%;
  max-width: 1200px;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.85;
  margin-bottom: 28px;
  animation: rise 1.2s var(--ease) 0.15s both;
}
.hairline {
  display: inline-block;
  width: 36px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.hero__word {
  margin: 0 auto 32px;
  display: flex;
  justify-content: center;
  animation: rise 1.4s var(--ease) 0.35s both;
}
.hero__word-img {
  width: clamp(280px, 50vw, 720px);
  height: auto;
  display: block;
  /* Convert green SVG to cream for dark hero background */
  filter: brightness(0) saturate(100%) invert(95%) sepia(8%) saturate(412%) hue-rotate(11deg) brightness(99%) contrast(94%);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero__tagline {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(18px, 1.7vw, 26px);
  line-height: 1.45;
  color: var(--cream);
  opacity: 0.9;
  max-width: 640px;
  margin: 0 auto;
  animation: rise 1.4s var(--ease) 0.6s both;
}

.hero__scrollcue {
  position: absolute;
  left: 50%;
  bottom: 38px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: var(--ui);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.7;
  animation: rise 1s var(--ease) 1.2s both, drift 2.6s ease-in-out 1.5s infinite alternate;
}
.hero__scrollline {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, currentColor 0%, transparent 100%);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes drift {
  from { transform: translate(-50%, 0); }
  to   { transform: translate(-50%, 8px); }
}

/* ============ MANIFESTO ============ */
.manifesto {
  padding: clamp(110px, 14vw, 200px) var(--gutter);
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.manifesto__num {
  display: inline-block;
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-right: 14px;
}
.manifesto__label {
  font-family: var(--display);
  font-style: italic;
  font-size: 17px;
  color: var(--ink-soft);
}
.manifesto__intro {
  margin-bottom: 48px;
}

.manifesto__lede {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 44px;
}
.manifesto__lede em {
  font-style: italic;
  color: var(--green);
}

.manifesto__body {
  font-family: var(--display);
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 720px;
  margin: 0 auto 36px;
}
.manifesto__body strong {
  color: var(--green);
  font-weight: 500;
}

.manifesto__sign {
  margin-top: 48px;
}
.manifesto__sig {
  font-family: var(--display);
  font-style: italic;
  font-size: 22px;
  color: var(--gold);
}

/* ============ MARQUEE ============ */
.marquee {
  background: var(--green);
  color: var(--cream);
  overflow: hidden;
  padding: 28px 0;
  border-block: 1px solid rgba(255,255,255,0.08);
}
.marquee__track {
  display: flex;
  gap: 2.5rem;
  white-space: nowrap;
  animation: scroll 50s linear infinite;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 400;
  letter-spacing: 0.005em;
}
.marquee__track > span {
  flex-shrink: 0;
}
.marquee__dot {
  color: var(--gold-light);
  font-style: normal;
  font-size: 0.4em;
  align-self: center;
  opacity: 0.7;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============ PIECES ============ */
.pieces {
  padding: clamp(100px, 12vw, 180px) var(--gutter);
  max-width: var(--maxw);
  margin: 0 auto;
}
.pieces__head {
  max-width: 720px;
  margin: 0 auto clamp(70px, 9vw, 130px);
  text-align: center;
}
.pieces__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(56px, 7vw, 96px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--green);
  margin: 22px 0 28px;
}
.pieces__lede {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(18px, 1.3vw, 22px);
  line-height: 1.55;
  color: var(--ink-soft);
}

.piece {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 7rem);
  align-items: center;
  margin-bottom: clamp(70px, 9vw, 140px);
}
.piece:last-child { margin-bottom: 0; }
.piece--right { direction: rtl; }
.piece--right > * { direction: ltr; }

.piece__image {
  position: relative;
  overflow: hidden;
}
.piece__image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: contrast(1.04) saturate(1.02);
  transition: transform 1.2s var(--ease);
}
.piece:hover .piece__image img { transform: scale(1.03); }

.piece__copy {
  padding: 1rem 0;
}
.piece__num {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(48px, 5.5vw, 88px);
  line-height: 1;
  color: var(--paleline);
  display: block;
  margin-bottom: 8px;
}
.piece__cat {
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 18px;
}
.piece__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--green);
  margin-bottom: 26px;
}
.piece__copy p {
  font-family: var(--display);
  font-size: clamp(17px, 1.2vw, 20px);
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 14px;
  max-width: 480px;
}
.piece__meta {
  font-style: italic;
  font-size: 16px !important;
  color: var(--muted) !important;
  padding-top: 14px;
  border-top: 1px solid var(--paleline);
  margin-top: 22px !important;
}

/* ============ STANDARDS ============ */
.standards {
  background: var(--green);
  color: var(--cream);
  padding: clamp(110px, 14vw, 180px) var(--gutter);
  position: relative;
  overflow: hidden;
}
.standards::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(183,154,106,0.08) 0%, transparent 60%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.standards__inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  text-align: center;
}
.standards__num {
  color: var(--gold-light) !important;
  display: block !important;
  margin: 0 0 32px !important;
}

.standards__quote {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(28px, 4vw, 54px);
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: var(--cream);
  max-width: 1000px;
  margin: 0 auto;
}
.standards__quote em { font-style: italic; }

.standards__cite {
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 32px;
}

.standards__rule {
  width: 1px;
  height: 60px;
  background: var(--gold-light);
  margin: 60px auto;
  opacity: 0.5;
}

.standards__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  text-align: left;
  margin-top: 40px;
}
.standards__grid > div {
  border-top: 1px solid rgba(183,154,106,0.35);
  padding-top: 20px;
}
.standards__label {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(22px, 1.8vw, 28px);
  color: var(--gold-light);
  display: block;
  margin-bottom: 14px;
}
.standards__grid p {
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.6;
  color: rgba(245, 239, 226, 0.78);
}

/* ============ VOICES ============ */
.voices {
  padding: clamp(110px, 14vw, 180px) var(--gutter);
  max-width: var(--maxw);
  margin: 0 auto;
}

.voices__head {
  text-align: center;
  margin-bottom: clamp(60px, 8vw, 100px);
}
.voices__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(56px, 7vw, 96px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--green);
  margin: 22px 0 28px;
}
.voices__rating {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
}
.voices__score {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(44px, 5vw, 64px);
  color: var(--green);
  line-height: 1;
}
.voices__source {
  font-family: var(--ui);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.voices__quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
}

.voices__quotes blockquote {
  position: relative;
  padding-top: 50px;
}
.voices__quotes blockquote::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 32px; height: 1px;
  background: var(--gold);
}
.voices__quotes p {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(20px, 1.5vw, 24px);
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 28px;
  font-weight: 400;
}
.voices__quotes cite {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--ui);
}
.voices__quotes cite {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.voices__quotes cite span {
  font-family: var(--display);
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  font-weight: 400;
}

/* ============ VISIT ============ */
.visit {
  background: var(--paper-soft);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 0;
}
.visit__photo {
  position: relative;
  min-height: 600px;
  overflow: hidden;
}
.visit__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
}
.visit__photo-cap {
  position: absolute;
  bottom: 24px;
  left: 24px;
  font-family: var(--display);
  font-style: italic;
  font-size: 14px;
  color: var(--cream);
  background: rgba(31, 56, 38, 0.85);
  padding: 10px 16px;
  backdrop-filter: blur(8px);
}
.visit__content {
  padding: clamp(80px, 9vw, 130px) var(--gutter);
  max-width: 680px;
}
.visit__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--green);
  margin: 22px 0 28px;
}
.visit__title em {
  font-style: italic;
}
.visit__intro {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 44px;
  max-width: 480px;
}

.visit__table {
  display: grid;
  gap: 0;
  margin-bottom: 44px;
}
.visit__table > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--paleline);
  align-items: baseline;
}
.visit__table dt {
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.visit__table dd {
  font-family: var(--display);
  font-size: 19px;
  color: var(--ink);
}
.visit__table a {
  border-bottom: 1px solid var(--paleline);
  transition: border-color .3s var(--ease);
}
.visit__table a:hover { border-color: var(--green); }
.visit__note {
  font-style: italic;
  font-size: 15px;
  color: var(--muted);
}

.visit__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--green);
  color: var(--cream);
  padding: 18px 32px;
  border-radius: 999px;
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.visit__cta:hover { background: var(--ink); transform: translateY(-1px); }
.visit__cta svg { transition: transform .3s var(--ease); }
.visit__cta:hover svg { transform: translateX(3px); }

/* ============ FAQ ============ */
.faq {
  padding: clamp(80px, 10vw, 140px) var(--gutter);
  background: var(--paper-soft);
}
.faq__inner {
  max-width: 920px;
  margin: 0 auto;
}
.faq__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--green);
  margin: 22px 0 50px;
}
.faq__item {
  border-top: 1px solid var(--paleline);
  padding: 26px 0;
}
.faq__item:last-child {
  border-bottom: 1px solid var(--paleline);
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--display);
  font-size: clamp(20px, 1.7vw, 26px);
  color: var(--ink);
  padding-right: 30px;
  position: relative;
  transition: color .3s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-family: var(--display);
  font-size: 28px;
  color: var(--gold);
  transition: transform .3s var(--ease), color .3s var(--ease);
  line-height: 1;
}
.faq__item[open] summary::after {
  content: "–";
  color: var(--green);
}
.faq__item summary:hover { color: var(--green); }
.faq__item p {
  margin-top: 16px;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(17px, 1.2vw, 19px);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 740px;
}

/* ============ SIGNUP ============ */
.signup {
  background: var(--green);
  color: var(--cream);
  padding: clamp(100px, 12vw, 160px) var(--gutter);
  text-align: center;
}
.signup__inner {
  max-width: 640px;
  margin: 0 auto;
}
.signup__inner .manifesto__num {
  color: var(--gold-light);
  display: block;
  margin: 0 0 24px;
}
.signup__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--cream);
  margin-bottom: 20px;
}
.signup p {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.55;
  color: rgba(245, 239, 226, 0.78);
  margin-bottom: 36px;
}

.signup__form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(183,154,106,0.4);
  padding-bottom: 12px;
}
.signup__form input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  padding: 14px 0;
  font-family: var(--display);
  font-size: 18px;
  color: var(--cream);
}
.signup__form input::placeholder {
  color: rgba(245, 239, 226, 0.5);
  font-style: italic;
}
.signup__form button {
  background: transparent;
  border: 0;
  color: var(--gold-light);
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 14px 8px;
  transition: color .3s var(--ease);
}
.signup__form button:hover { color: var(--cream); }

/* ============ AREAS WE SERVE ============ */
.areas {
  padding: clamp(80px, 10vw, 130px) var(--gutter);
  background: var(--paper);
}
.areas__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.areas__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--green);
  margin: 18px 0 22px;
}
.areas__lede {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 780px;
  margin-bottom: 50px;
}
.areas__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 3vw, 3rem);
  list-style: none;
  margin-bottom: 40px;
}
.areas__list li {
  border-top: 1px solid var(--paleline);
  padding-top: 16px;
}
.areas__list h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(20px, 1.6vw, 24px);
  color: var(--green);
  margin-bottom: 8px;
  letter-spacing: -0.005em;
}
.areas__list p {
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.areas__foot {
  font-family: var(--display);
  font-style: italic;
  font-size: 16px;
  color: var(--muted);
  padding-top: 28px;
  border-top: 1px solid var(--paleline);
}

@media (max-width: 760px) {
  .areas__list { grid-template-columns: 1fr 1fr; gap: 1.6rem; }
}
@media (max-width: 480px) {
  .areas__list { grid-template-columns: 1fr; }
}

/* ============ FOOTER ============ */
.foot {
  background: var(--ink);
  color: rgba(245, 239, 226, 0.7);
  padding: 70px var(--gutter) 50px;
  font-family: var(--ui);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.foot__nap {
  max-width: var(--maxw);
  margin: 0 auto 50px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(245, 239, 226, 0.1);
}
.foot__nap-col {
  font-family: var(--display);
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(245, 239, 226, 0.85);
}
.foot__nap-col p {
  margin: 0;
}
.foot__label {
  display: block;
  font-family: var(--ui);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 12px;
}
.foot__nap-col a {
  color: rgba(245, 239, 226, 0.85);
  border-bottom: 1px solid rgba(245, 239, 226, 0.15);
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.foot__nap-col a:hover {
  color: var(--gold-light);
  border-bottom-color: var(--gold-light);
}
.foot__nap-col em {
  font-style: italic;
  color: rgba(245, 239, 226, 0.55);
  font-size: 14px;
}
@media (max-width: 760px) {
  .foot__nap { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 480px) {
  .foot__nap { grid-template-columns: 1fr; gap: 1.6rem; }
}
.foot__line {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 2rem;
  flex-wrap: wrap;
}
.foot__line + .foot__line {
  padding-top: 36px;
  margin-top: 36px;
  border-top: 1px solid rgba(245, 239, 226, 0.1);
}
.foot__wordmark-img {
  height: 36px;
  width: auto;
  display: block;
  /* Convert green to cream for dark footer */
  filter: brightness(0) saturate(100%) invert(95%) sepia(8%) saturate(412%) hue-rotate(11deg) brightness(99%) contrast(94%);
}
.foot__tag {
  font-size: 11px;
  opacity: 0.75;
}
.foot__line--bottom {
  font-size: 11px;
  opacity: 0.55;
}

/* ============ MOBILE STICKY CTA ============ */
.mobile-cta {
  position: fixed;
  bottom: 16px;
  left: 50%;
  z-index: 60;
  display: none;
  align-items: center;
  gap: 10px;
  background: var(--green);
  color: var(--cream);
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 24px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
  box-shadow: 0 10px 28px rgba(22,20,18,0.22);
}
.mobile-cta.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.mobile-cta svg { stroke: currentColor; }
@media (max-width: 760px) {
  .mobile-cta { display: inline-flex; }
}
@supports (padding: env(safe-area-inset-bottom)) {
  .mobile-cta { bottom: calc(16px + env(safe-area-inset-bottom)); }
}

/* ============ REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 920px) {
  .nav { grid-template-columns: auto 1fr auto; padding: 1rem var(--gutter); }
  .nav__left { display: none; }
  .nav__wordmark { text-align: left; font-size: 22px; }
  .nav__right { gap: 1rem; font-size: 10.5px; letter-spacing: 0.14em; }
  .nav__right a:not(.nav__order) { display: none; }

  .hero { min-height: 100svh; }

  .piece { grid-template-columns: 1fr; gap: 2rem; margin-bottom: 70px; }
  .piece--right { direction: ltr; }
  .piece__image img { aspect-ratio: 4 / 3; }

  .standards__grid { grid-template-columns: 1fr 1fr; gap: 1.8rem; }

  .voices__quotes { grid-template-columns: 1fr; gap: 3rem; }

  .visit { grid-template-columns: 1fr; }
  .visit__photo { min-height: 380px; }
  .visit__content { padding: 60px var(--gutter); }
  .visit__table > div { grid-template-columns: 110px 1fr; gap: 16px; }

  .foot__line { flex-direction: column; gap: 12px; }
}

@media (max-width: 560px) {
  body { font-size: 17px; }
  .standards__grid { grid-template-columns: 1fr; }
  .signup__form { flex-direction: column; border: 0; padding: 0; }
  .signup__form input { border-bottom: 1px solid rgba(183,154,106,0.4); padding: 16px 0; }
  .signup__form button { border: 1px solid rgba(183,154,106,0.4); padding: 14px; border-radius: 999px; }
  .visit__table > div { grid-template-columns: 1fr; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .marquee__track { animation: none; }
  .hero__media img { animation: none; transform: none; }
}

/* ============ RTL OVERRIDES (Arabic) ============ */
html[dir="rtl"] body { font-family: 'Amiri', 'Cormorant Garamond', serif; }

/* Nav: put wordmark on the right (where Arabic reading starts), nav items in middle, Est 2020 tag on the left */
html[dir="rtl"] .nav {
  grid-template-columns: auto 1fr 1fr;
}
html[dir="rtl"] .nav__wordmark { grid-column: 1; }
html[dir="rtl"] .nav__right { grid-column: 2; justify-content: flex-start; gap: 1.6rem; }
html[dir="rtl"] .nav__left { grid-column: 3; justify-self: end; }

/* Marquee: keep LTR scroll direction (animation is LTR-based) */
html[dir="rtl"] .marquee__track { direction: ltr; }

/* Standards grid: right-align text */
html[dir="rtl"] .standards__grid { text-align: right; }

/* Visit caption: move from left to right corner */
html[dir="rtl"] .visit__photo-cap { left: auto; right: 24px; }

/* FAQ summary "+": move from right to left */
html[dir="rtl"] .faq__item summary {
  padding-right: 0;
  padding-left: 30px;
}
html[dir="rtl"] .faq__item summary::after {
  right: auto;
  left: 0;
}

/* Newsletter signup form: input on right, button on left in RTL */
html[dir="rtl"] .signup__form { flex-direction: row-reverse; }

/* Pieces: ensure copy text aligns right */
html[dir="rtl"] .piece__copy { text-align: right; }

/* Visit table dt label: align right; dd value: align left for clean column look */
html[dir="rtl"] .visit__table dt { text-align: right; }

/* CTA arrows: flip horizontally to point in the reading direction */
html[dir="rtl"] .visit__cta svg,
html[dir="rtl"] .mobile-cta svg { transform: scaleX(-1); }
html[dir="rtl"] .visit__cta:hover svg { transform: scaleX(-1) translateX(3px); }

/* Nav left brand intro (Est 2020): in RTL, ensure spacing on left side */
html[dir="rtl"] .nav__sub::before { content: " — "; }

/* Hero scroll cue line: flip the diagonal direction */
html[dir="rtl"] .hero__scrollline { transform: scaleX(-1); }

/* Areas list grid: ensure right-aligned text */
html[dir="rtl"] .areas__list { text-align: right; }

/* Mobile sticky CTA: position on left in RTL since reading starts right */
html[dir="rtl"] .mobile-cta {
  right: auto;
  left: 1rem;
}
