/* ==========================================================
   Maison Wong — cinematic luxury
   ========================================================== */

:root {
  --ink: #0e0d0c;
  --ink-2: #151311;
  --ink-3: #1c1916;
  --cream: #f3ebe1;
  --cream-2: #e9dfd2;
  --text: #efe7dc;
  --text-dim: #b9ada0;
  --copper: #b98257;
  --copper-soft: rgba(185, 130, 87, 0.55);

  --serif: "EB Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(20px, 4vw, 56px);
  --max: 1240px;
  --nav-h: 84px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.lede {
  font-style: italic;
  font-size: clamp(1.1rem, 1.6vw, 1.45rem);
  color: var(--text);
  opacity: 0.92;
  margin: 0.6rem 0 0;
}

.body {
  color: var(--text-dim);
  font-size: 1.1rem;
  max-width: 34rem;
}

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 1.25rem;
}

.rule {
  display: block;
  width: 84px;
  height: 1px;
  background: var(--copper);
  margin-bottom: 2.25rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--serif);
  font-size: 1.05rem;
  padding: 0.62em 1.9em;
  border: 1.5px solid currentColor;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.btn-outline:hover { background: var(--text); color: var(--ink); border-color: var(--text); }

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

/* ==========================================================
   NAV
   ========================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  transition: background 0.4s ease, height 0.4s ease, box-shadow 0.4s ease;
  background: linear-gradient(to bottom, rgba(10, 9, 8, 0.75), rgba(10, 9, 8, 0));
}
.nav.scrolled {
  --nav-h: 68px;
  background: rgba(12, 11, 10, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(185, 130, 87, 0.25);
}

.brand {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.6vw, 2.4rem);
  font-size: 1.05rem;
}
.nav-links a:not(.btn) { position: relative; }
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }
.nav-links .btn { padding: 0.4em 1.4em; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 40px; height: 40px;
  padding: 0;
  cursor: pointer;
  position: relative;
  z-index: 60;
}
.nav-toggle span {
  position: absolute;
  left: 8px; right: 8px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s ease, top 0.3s ease;
}
.nav-toggle span:first-child { top: 15px; }
.nav-toggle span:last-child { top: 24px; }
.nav-open .nav-toggle span:first-child { top: 20px; transform: rotate(45deg); }
.nav-open .nav-toggle span:last-child { top: 20px; transform: rotate(-45deg); }

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 620px;
  max-height: 1200px;
  overflow: hidden;
  border-bottom: 1px solid var(--copper-soft);
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 12%;
  /* Warmer, brighter grade so the hero feels inviting rather than moody */
  filter: brightness(1.12) saturate(1.15) sepia(0.12) contrast(0.95);
  animation: heroZoom 14s ease-out both;
}
@keyframes heroZoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 40% 45% at 52% 28%, rgba(255, 196, 140, 0.16), rgba(255, 196, 140, 0) 70%),
    linear-gradient(to right, rgba(8, 7, 6, 0.6) 0%, rgba(8, 7, 6, 0.25) 38%, rgba(8, 7, 6, 0) 60%),
    linear-gradient(to top, rgba(8, 7, 6, 0.65) 0%, rgba(8, 7, 6, 0) 40%);
}
.hero-copy {
  position: absolute;
  left: var(--gutter);
  bottom: clamp(56px, 10vh, 120px);
  max-width: 640px;
  animation: fadeUp 1.2s 0.3s ease-out both;
}
.hero h1 {
  font-size: clamp(3rem, 7vw, 6.4rem);
  color: var(--cream);
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.45);
}
.hero .lede { margin: 1.1rem 0 2rem; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

/* ==========================================================
   ABOUT
   ========================================================== */
.about {
  position: relative;
  background: var(--ink-2);
  overflow: hidden;
  padding-top: clamp(80px, 12vw, 160px);
  padding-bottom: clamp(48px, 6vw, 72px);
}
.about-img {
  position: absolute;
  top: 0;
  right: 0;
  width: min(62%, 900px);
  height: 100%;
  object-fit: cover;
  object-position: 30% 25%;
}
.about-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, var(--ink-2) 0%, var(--ink-2) 38%, rgba(21, 19, 17, 0.55) 55%, rgba(21, 19, 17, 0) 75%),
    linear-gradient(to top, var(--ink-2) 0%, rgba(21, 19, 17, 0.3) 30%, rgba(21, 19, 17, 0) 55%);
}
.about-copy { position: relative; z-index: 1; min-height: 420px; }
.about h2 { font-size: clamp(2.6rem, 5.5vw, 5rem); color: var(--cream); }
.about .body { margin-top: 2rem; }

.services-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--copper-soft);
  border-bottom: 1px solid var(--copper-soft);
  margin-top: clamp(48px, 8vw, 110px);
}
.service-link {
  padding: clamp(28px, 4vw, 44px) clamp(20px, 6vw, 72px);
  transition: background 0.4s ease;
}
.service-link + .service-link { border-left: 1px solid var(--copper-soft); }
.service-link:hover { background: rgba(185, 130, 87, 0.06); }
.service-link h3 { font-size: clamp(2rem, 3.6vw, 3rem); color: var(--cream); }
.arrow {
  display: block;
  position: relative;
  width: 48px;
  height: 1px;
  background: var(--copper);
  margin-top: 1.6rem;
  transition: width 0.35s ease;
}
.arrow::after {
  content: "";
  position: absolute;
  right: 0; top: -4px;
  width: 9px; height: 9px;
  border-top: 1px solid var(--copper);
  border-right: 1px solid var(--copper);
  transform: rotate(45deg);
}
.service-link:hover .arrow { width: 72px; }

/* ==========================================================
   OFFER SECTIONS (Catering / Private Chef)
   ========================================================== */
.offer {
  background: var(--ink);
  padding: clamp(80px, 11vw, 150px) 0;
  border-bottom: 1px solid rgba(185, 130, 87, 0.2);
}
.offer-alt { background: var(--ink-3); }

.offer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 110px);
  align-items: start;
}
.offer-head h2 { font-size: clamp(2.3rem, 4.4vw, 3.8rem); color: var(--cream); }
.offer-head .body { margin: 1.6rem 0 2.2rem; }

.offer-list, .steps { list-style: none; margin: 0; padding: 0; }

.offer-list li {
  padding: 1.6rem 0;
  border-top: 1px solid rgba(185, 130, 87, 0.3);
}
.offer-list li:last-child { border-bottom: 1px solid rgba(185, 130, 87, 0.3); }

.offer h4 { font-size: 1.6rem; color: var(--cream); margin-bottom: 0.35rem; }
.offer p { margin: 0; color: var(--text-dim); }

.steps li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.25rem;
  padding: 1.8rem 0;
  border-top: 1px solid rgba(185, 130, 87, 0.3);
}
.steps li:last-child { border-bottom: 1px solid rgba(185, 130, 87, 0.3); }
.step-num {
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--copper);
  padding-top: 0.55rem;
}

/* ==========================================================
   CONTACT
   ========================================================== */
.contact {
  background: var(--cream);
  color: var(--ink);
  padding: clamp(80px, 10vw, 130px) 0;
  text-align: center;
}
.contact h2 { font-size: clamp(2.6rem, 6vw, 5rem); }
.contact-sub {
  font-style: italic;
  font-size: 1.25rem;
  color: #5a5047;
  margin: 1rem 0 3.2rem;
}
.contact-inner { max-width: 860px; }

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem 2rem;
  text-align: left;
}
.field { display: flex; flex-direction: column; }
.field-full { grid-column: 1 / -1; }
.field label {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #7a6b5d;
  margin-bottom: 0.4rem;
}
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 1.1rem;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(14, 13, 12, 0.35);
  border-radius: 0;
  padding: 0.5rem 0;
  outline: none;
  transition: border-color 0.25s ease;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%),
                    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.field textarea { resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-bottom-color: var(--copper); }
.field.invalid input { border-bottom-color: #a33b2b; }

.form-actions { text-align: center; margin-top: 1rem; }
.form-actions .btn { padding: 0.7em 3em; font-size: 1.15rem; }
.form-note { min-height: 1.6em; margin: 1rem 0 0; font-style: italic; color: #5a5047; }

/* ==========================================================
   FOOTER
   ========================================================== */
.footer {
  background: var(--ink);
  padding: 56px 0;
  border-top: 1px solid rgba(185, 130, 87, 0.25);
  text-align: center;
  color: var(--text-dim);
}
.footer .brand { display: inline-block; margin-bottom: 0.8rem; color: var(--text); }
.footer p { margin: 0.25rem 0; }
.footer a:hover { color: var(--copper); }
.copyright { font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.08em; margin-top: 1.2rem !important; }

/* ==========================================================
   Scroll reveal
   ========================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-img, .hero-copy { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

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

  .about-img { width: 100%; height: 62%; object-position: 30% 30%; }
  .about-shade {
    background: linear-gradient(to top, var(--ink-2) 0%, var(--ink-2) 42%, rgba(21, 19, 17, 0.5) 60%, rgba(21, 19, 17, 0.15) 100%);
  }
  .about-copy { min-height: 0; padding-top: 38vw; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    font-size: 1.6rem;
    background: rgba(10, 9, 8, 0.97);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
  }
  .nav-open .nav-links { opacity: 1; pointer-events: auto; }
  .nav-links .btn { font-size: 1.2rem; }

  .hero-img { object-position: 52% 20%; }
  .hero-shade {
    background: linear-gradient(to top, rgba(8, 7, 6, 0.9) 0%, rgba(8, 7, 6, 0.45) 40%, rgba(8, 7, 6, 0.1) 70%);
  }

  .services-strip { grid-template-columns: 1fr; }
  .service-link + .service-link { border-left: 0; border-top: 1px solid var(--copper-soft); }

  .contact-form { grid-template-columns: 1fr; }
}
