/* Chef Jean Lorestil — Fine Dining & Consulting
   Original implementation. Design language: warm noir, ivory, gold. */

:root {
  --ink: #141210;
  --ink-2: #1e1b17;
  --ink-3: #26221c;
  --ivory: #f7f3ea;
  --ivory-2: #efe8d8;
  --gold: #c9a24b;
  --gold-light: #d8bd7f;
  --gold-deep: #a5822f;
  --wine: #5a1f26;
  --muted: #6a6459;
  --line: rgba(201, 162, 75, 0.28);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --max: 1180px;
  --pad: clamp(1.25rem, 4vw, 3rem);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ---------- Typography ---------- */
h1, h2, h3, .display {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h3 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1rem;
  display: block;
}

.on-dark .eyebrow { color: var(--gold-light); }

.lede { font-size: clamp(1.05rem, 2vw, 1.28rem); color: var(--muted); max-width: 44rem; }
.on-dark .lede { color: rgba(247, 243, 234, 0.78); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.86rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 2.2rem;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn:hover { background: transparent; color: var(--gold-deep); border-color: var(--gold-deep); }

.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(247, 243, 234, 0.55);
}

.btn-ghost:hover { border-color: var(--gold-light); color: var(--gold-light); background: rgba(201, 162, 75, 0.08); }

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

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  color: var(--ivory);
}

.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--pad);
  max-width: var(--max);
  margin: 0 auto;
}

.brand {
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  line-height: 1.2;
}

.brand img {
  height: 3.4rem;
  width: auto;
  display: block;
}

.brand small {
  display: block;
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.34em;
  color: var(--gold-light);
  margin-top: 0.15rem;
}

.site-header.scrolled {
  background: rgba(20, 18, 16, 0.96);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(6px);
}

.nav { display: flex; gap: 2rem; align-items: center; }

.nav a {
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.88;
  transition: opacity 0.2s, color 0.2s;
}

.nav a:hover { opacity: 1; color: var(--gold-light); }

.nav .btn { opacity: 1; padding: 0.7rem 1.5rem; }

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--ivory);
  font-size: 1.6rem;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  position: relative;
  color: var(--ivory);
  background: var(--ink);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 18, 16, 0.92) 0%, rgba(20, 18, 16, 0.25) 55%, rgba(20, 18, 16, 0.45) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(3rem, 8vh, 6rem);
  padding-top: 9rem;
  width: 100%;
}

.hero h1 { max-width: 16ch; margin: 0.6rem 0 1.2rem; }

.hero p.lede { color: rgba(247, 243, 234, 0.85); margin-bottom: 2.2rem; }

.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-note {
  margin-top: 2.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-note::before { content: ""; width: 3.2rem; height: 1px; background: var(--gold); display: inline-block; }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }

.on-dark { background: var(--ink); color: var(--ivory); }
.on-ink2 { background: var(--ink-2); color: var(--ivory); }

/* ---------- Trust band ---------- */
.trust {
  background: var(--ink);
  color: var(--ivory);
  border-top: 1px solid var(--line);
  padding: 2.2rem 0;
  text-align: center;
}

.trust p {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  flex-wrap: wrap;
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  opacity: 0.85;
}

/* ---------- Stat strip ---------- */
.stat-strip {
  background: var(--gold);
  color: var(--ink);
  padding: 0.9rem 0;
  text-align: center;
}

.stat-strip .wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(1rem, 4vw, 3rem);
  flex-wrap: wrap;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ---------- At-a-glance spec block ---------- */
.glance {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 2.5rem;
}

.glance div {
  background: var(--ivory);
  padding: 1.25rem 1rem;
}

.glance dt {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.4rem;
}

.glance dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.05rem;
}

@media (max-width: 860px) {
  .glance { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Service cards ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: #fff;
  border: 1px solid rgba(20, 18, 16, 0.09);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -20px rgba(20, 18, 16, 0.28); }

.service-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

.service-card .body { padding: 1.8rem; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }

.service-card .num {
  font-family: var(--serif);
  color: var(--gold-deep);
  font-size: 1rem;
  letter-spacing: 0.2em;
}

.service-card h3 { margin: 0; }

.service-card p { color: var(--muted); font-size: 0.98rem; flex: 1; }

.service-card .more {
  font-size: 0.8rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-top: 0.6rem;
}

/* ---------- Split feature ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.split img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.split .frame { position: relative; }
.split .frame::before {
  content: "";
  position: absolute;
  inset: 1.2rem -1.2rem -1.2rem 1.2rem;
  border: 1px solid var(--gold);
  z-index: -1;
}

.split h2 { margin: 0.6rem 0 1.2rem; }
.split p + p { margin-top: 1rem; }

.checks { list-style: none; margin: 1.6rem 0; display: grid; gap: 0.7rem; }
.checks li { display: flex; gap: 0.8rem; align-items: baseline; }
.checks li::before { content: "✦"; color: var(--gold-deep); font-size: 0.85rem; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: step; }

.step {
  border-top: 1px solid var(--line);
  padding-top: 1.6rem;
}

.step .n {
  font-family: var(--serif);
  font-size: 2.6rem;
  color: var(--gold);
  line-height: 1;
}

.step h3 { margin: 0.8rem 0 0.5rem; }
.step p { color: var(--muted); font-size: 0.98rem; }
.on-dark .step p { color: rgba(247, 243, 234, 0.72); }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-grid figure { position: relative; overflow: hidden; margin: 0; }
.gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-grid figure:hover img { transform: scale(1.05); }
.gallery-grid figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.4rem 1.2rem 1.1rem;
  background: linear-gradient(to top, rgba(20,18,16,0.85), transparent);
  color: var(--ivory);
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* ---------- Testimonials ---------- */
.quote {
  max-width: 52rem;
  margin: 0 auto;
  text-align: center;
}

.quote blockquote {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.45;
  font-style: italic;
}

.quote cite {
  display: block;
  margin-top: 1.4rem;
  font-style: normal;
  font-size: 0.82rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.stars { color: var(--gold); letter-spacing: 0.3em; margin-bottom: 1.2rem; font-size: 1.05rem; }

/* ---------- Areas ---------- */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.area {
  background: var(--ink-2);
  padding: 2.2rem;
  text-decoration: none;
  transition: background 0.25s ease;
}

.area:hover { background: var(--ink-3); }

.area h3 { color: var(--ivory); margin-bottom: 0.5rem; }
.area p { color: rgba(247, 243, 234, 0.65); font-size: 0.95rem; }
.area .more { color: var(--gold-light); font-size: 0.78rem; letter-spacing: 0.24em; text-transform: uppercase; display: inline-block; margin-top: 1rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 46rem; margin: 0 auto; }

.faq-item { border-bottom: 1px solid rgba(20, 18, 16, 0.14); }
.faq-item:first-child { border-top: 1px solid rgba(20, 18, 16, 0.14); }

.faq-q {
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  font-family: var(--serif);
  font-size: 1.3rem;
  padding: 1.3rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--ink);
}

.faq-q::after { content: "+"; font-family: var(--sans); color: var(--gold-deep); font-size: 1.5rem; flex-shrink: 0; }
.faq-item.open .faq-q::after { content: "–"; }

.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a p { padding: 0 0 1.4rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--wine);
  color: var(--ivory);
  text-align: center;
  padding: clamp(4rem, 9vw, 7rem) var(--pad);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 1.4rem;
  border: 1px solid rgba(216, 189, 127, 0.4);
  pointer-events: none;
}

.cta-band h2 { margin: 0.6rem 0 1rem; }
.cta-band p { color: rgba(247, 243, 234, 0.8); max-width: 38rem; margin: 0 auto 2rem; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }

.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field.full { grid-column: 1 / -1; }

.field label {
  font-size: 0.76rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input, .field select, .field textarea {
  font-family: var(--sans);
  font-size: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(20, 18, 16, 0.22);
  background: #fff;
  color: var(--ink);
  border-radius: 0;
  width: 100%;
}

.field textarea { min-height: 8rem; resize: vertical; }

.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: -1px;
  border-color: var(--gold);
}

.form-note { font-size: 0.9rem; color: var(--muted); margin-top: 1.2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--ivory); padding: 4rem 0 2rem; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-grid h4 {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.2rem;
}

.footer-grid ul { list-style: none; display: grid; gap: 0.6rem; }
.footer-grid a { text-decoration: none; opacity: 0.8; font-size: 0.95rem; }
.footer-grid a:hover { opacity: 1; color: var(--gold-light); }

.footer-brand { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 0.8rem; }
.footer-tag { color: rgba(247, 243, 234, 0.65); font-size: 0.95rem; max-width: 22rem; }

.footer-base {
  border-top: 1px solid rgba(247, 243, 234, 0.14);
  padding-top: 1.6rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(247, 243, 234, 0.55);
}

/* ---------- Page hero (interior) ---------- */
.page-hero {
  background: var(--ink);
  color: var(--ivory);
  padding: 10rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}

.page-hero h1 { max-width: 18ch; }
.page-hero .lede { color: rgba(247, 243, 234, 0.78); margin-top: 1.2rem; }

.crumbs { font-size: 0.78rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1.2rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- Prose ---------- */
.prose { max-width: 46rem; }
.prose h2 { margin: 2.4rem 0 1rem; }
.prose h3 { margin: 1.8rem 0 0.8rem; }
.prose p { margin-bottom: 1.1rem; color: #3d3830; }
.prose ul { margin: 0 0 1.2rem 1.2rem; color: #3d3830; display: grid; gap: 0.5rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .services-grid { grid-template-columns: 1fr; max-width: 34rem; margin: 0 auto; }
  .split { grid-template-columns: 1fr; }
  .split .frame { max-width: 30rem; }
  .steps { grid-template-columns: 1fr; max-width: 34rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .areas-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(20, 18, 16, 0.98);
    flex-direction: column;
    justify-content: center;
    gap: 1.8rem;
    z-index: 99;
  }
  .nav.open { display: flex; }
  .nav a { font-size: 1.05rem; }
  .menu-toggle { display: block; z-index: 101; position: relative; }
  .form-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 88vh; }
}
