/* ==========================================================================
   Sandy Fusion Cuisine — theme styles
   ========================================================================== */

:root {
  --cream: #f8f1e5;
  --cream-deep: #f1e6d3;
  --olive: #1f3a28;
  --olive-dark: #16291d;
  --burgundy: #6e1824;
  --burgundy-dark: #4d101a;
  --gold: #c9a24a;
  --gold-light: #e6cd8f;
  --brown: #2a1b12;
  --white: #ffffff;

  --font-display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-body: "Karla", "Helvetica Neue", Arial, sans-serif;
  --font-script: "Parisienne", "Brush Script MT", cursive;

  --radius: 14px;
  --radius-lg: 26px;
  --shadow-soft: 0 18px 45px -22px rgba(42, 27, 18, 0.45);
  --shadow-gold: 0 22px 55px -28px rgba(110, 24, 36, 0.55);
  --wrap: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--brown);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--burgundy); text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.4em;
  color: var(--burgundy);
}

h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); letter-spacing: 0.005em; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }

p { margin: 0 0 1.1rem; }

.sfc-wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.sfc-section { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; }
.sfc-center { text-align: center; }

/* Eyebrows, scripts, dividers ------------------------------------------- */
.sfc-eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.34em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 0.9rem;
}
.sfc-script {
  font-family: var(--font-script);
  font-size: clamp(2rem, 4vw, 3.1rem);
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 0.35rem;
}
.sfc-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin: 1.4rem 0;
}
.sfc-rule::before,
.sfc-rule::after {
  content: "";
  height: 1px;
  width: min(160px, 22vw);
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.sfc-rule span {
  width: 9px; height: 9px;
  transform: rotate(45deg);
  border: 1px solid var(--gold);
}
.sfc-rule--left { justify-content: flex-start; }
.sfc-rule--left::before { display: none; }
.sfc-rule--left::after { width: 210px; }

/* Buttons ---------------------------------------------------------------- */
.sfc-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  cursor: pointer;
}
.sfc-btn::after { content: "›"; font-size: 1.15rem; line-height: 1; transform: translateY(-1px); }
.sfc-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-gold); }

.sfc-btn--burgundy { background: var(--burgundy); color: var(--cream); border-color: var(--gold); }
.sfc-btn--burgundy:hover { background: var(--burgundy-dark); color: var(--white); }
.sfc-btn--olive { background: var(--olive); color: var(--cream); border-color: var(--gold); }
.sfc-btn--olive:hover { background: var(--olive-dark); }
.sfc-btn--gold {
  background: linear-gradient(100deg, var(--gold), var(--gold-light) 55%, var(--gold));
  color: var(--brown);
  border-color: var(--gold-light);
}
.sfc-btn--ghost { border-color: var(--gold); color: var(--gold); background: transparent; }
.sfc-btn--ghost:hover { background: var(--gold); color: var(--brown); }

/* Image placeholders ----------------------------------------------------- */
.sfc-ph {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 160px;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(201, 162, 74, 0.16), rgba(31, 58, 40, 0.1)),
    var(--cream-deep);
  border: 1px solid rgba(201, 162, 74, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sfc-ph img { width: 100%; height: 100%; object-fit: cover; }
.sfc-ph__label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(42, 27, 18, 0.55);
  text-align: center;
  padding: 1rem;
}
.sfc-ph--dark { background: rgba(255, 255, 255, 0.06); border-color: rgba(201, 162, 74, 0.65); }
.sfc-ph--dark .sfc-ph__label { color: rgba(248, 241, 229, 0.6); }
.sfc-ph--round { border-radius: 50%; }

/* Header ----------------------------------------------------------------- */
.sfc-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 162, 74, 0.35);
}
.sfc-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 0;
}
.sfc-brand { display: flex; align-items: center; gap: 0.75rem; }
.sfc-brand img { max-height: 62px; width: auto; }
.sfc-brand__text { font-family: var(--font-display); font-size: 1.35rem; color: var(--olive); }

.sfc-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
}
.sfc-nav a {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brown);
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.sfc-nav a:hover,
.sfc-nav .current-menu-item > a { color: var(--burgundy); border-color: var(--gold); }
.sfc-header__cta { display: flex; align-items: center; gap: 1rem; }

.sfc-burger {
  display: none;
  background: none;
  border: 1px solid rgba(201, 162, 74, 0.7);
  border-radius: 10px;
  padding: 0.5rem 0.6rem;
  cursor: pointer;
}
.sfc-burger span {
  display: block; width: 22px; height: 2px; margin: 4px 0;
  background: var(--olive); transition: transform 0.25s ease, opacity 0.2s ease;
}
.sfc-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.sfc-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.sfc-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Hero ------------------------------------------------------------------- */
.sfc-hero {
  position: relative;
  background: radial-gradient(120% 90% at 8% 12%, var(--white), var(--cream) 58%);
  padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(5rem, 9vw, 8rem);
  overflow: hidden;
}
.sfc-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.sfc-hero__lead { font-size: 1.05rem; color: rgba(42, 27, 18, 0.85); max-width: 46ch; }
.sfc-hero__sub {
  font-size: 0.95rem;
  font-style: italic;
  color: rgba(42, 27, 18, 0.7);
  max-width: 44ch;
}
.sfc-hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.9rem; }
.sfc-hero__media {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 10px;
  background: linear-gradient(150deg, rgba(201, 162, 74, 0.65), rgba(201, 162, 74, 0.12));
  box-shadow: var(--shadow-soft);
}
.sfc-hero__media .sfc-ph { min-height: 520px; border-radius: calc(var(--radius-lg) - 6px); }

.sfc-curve { display: block; width: 100%; height: clamp(50px, 6vw, 90px); }

/* Services --------------------------------------------------------------- */
.sfc-services {
  background: linear-gradient(180deg, var(--olive), var(--olive-dark));
  color: var(--cream);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}
.sfc-services h2, .sfc-dark h2 { color: var(--cream); }
.sfc-services__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.35rem;
  margin-top: 3rem;
}
.sfc-service {
  border: 1px solid rgba(201, 162, 74, 0.55);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.sfc-service:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 26px 50px -26px rgba(0, 0, 0, 0.75);
}
.sfc-service .sfc-ph { border: 0; border-radius: 0; height: 230px; min-height: 230px; }
.sfc-service:hover .sfc-ph img { transform: scale(1.06); }
.sfc-service .sfc-ph img { transition: transform 0.6s ease; }
.sfc-service__label {
  padding: 0.95rem 0.75rem;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-top: 1px solid rgba(201, 162, 74, 0.45);
}

/* Gallery ---------------------------------------------------------------- */
.sfc-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 165px;
  gap: 1.1rem;
  margin-top: 2.8rem;
}
.sfc-gallery__grid .sfc-ph { box-shadow: var(--shadow-soft); }
.sfc-g1 { grid-area: 1 / 1 / 3 / 2; }
.sfc-g2 { grid-area: 1 / 2 / 3 / 4; }
.sfc-g3 { grid-area: 1 / 4 / 3 / 5; }
.sfc-g4 { grid-area: 3 / 2 / 5 / 5; }
.sfc-g5 { grid-area: 3 / 1 / 4 / 2; }
.sfc-g6 { grid-area: 4 / 1 / 5 / 2; }
.sfc-gallery__cta { margin-top: 2.6rem; text-align: center; }

/* Chef ------------------------------------------------------------------- */
.sfc-chef {
  background:
    linear-gradient(100deg, var(--olive-dark) 0%, var(--olive) 45%, var(--burgundy-dark) 100%);
  color: var(--cream);
}
.sfc-chef__grid {
  display: grid;
  grid-template-columns: 280px 1.1fr 1fr;
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: center;
}
.sfc-chef__portrait {
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 8px;
  background: linear-gradient(140deg, var(--gold), rgba(201, 162, 74, 0.2));
}
.sfc-chef__portrait .sfc-ph { border-radius: 50%; min-height: 0; height: 100%; }
.sfc-chef__name { font-family: var(--font-script); font-size: clamp(2.2rem, 4vw, 3rem); color: var(--gold-light); }
.sfc-chef p { color: rgba(248, 241, 229, 0.86); font-size: 0.98rem; }
.sfc-quote {
  border: 1px solid rgba(201, 162, 74, 0.55);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.24);
  padding: 2rem 2.1rem;
  position: relative;
}
.sfc-quote::before {
  content: "“";
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 0.7;
  color: var(--gold);
  display: block;
  margin-bottom: 0.4rem;
}
.sfc-quote__author {
  font-family: var(--font-script);
  font-size: 1.7rem;
  color: var(--gold-light);
  display: block;
  margin-top: 0.6rem;
}

/* Trust ------------------------------------------------------------------ */
.sfc-trust__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
}
.sfc-trust__col + .sfc-trust__col {
  border-left: 1px solid rgba(201, 162, 74, 0.5);
  padding-left: clamp(1.5rem, 3vw, 3rem);
}
.sfc-trust__col h3 { text-align: center; }
.sfc-trust__col p { text-align: center; font-size: 0.95rem; color: rgba(42, 27, 18, 0.82); }
.sfc-list { list-style: none; margin: 0; padding: 0; }
.sfc-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.55rem;
  font-size: 0.94rem;
  color: rgba(42, 27, 18, 0.85);
}
.sfc-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: rgba(201, 162, 74, 0.35);
}

/* Final CTA -------------------------------------------------------------- */
.sfc-cta {
  background: linear-gradient(105deg, var(--burgundy-dark), var(--burgundy) 55%, #7d1d2a);
  color: var(--cream);
}
.sfc-cta__grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.sfc-cta h2 { color: var(--cream); }
.sfc-cta p { color: rgba(248, 241, 229, 0.88); }
.sfc-cta__sub {
  font-family: var(--font-body);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-light);
}
.sfc-cta .sfc-ph { min-height: 320px; }

/* Footer ----------------------------------------------------------------- */
.sfc-footer {
  background: var(--olive-dark);
  color: rgba(248, 241, 229, 0.82);
  padding: clamp(3.5rem, 6vw, 5rem) 0 0;
  border-top: 4px solid var(--burgundy);
}
.sfc-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
}
.sfc-footer h4 {
  font-family: var(--font-body);
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.sfc-footer ul { list-style: none; margin: 0; padding: 0; }
.sfc-footer li { margin-bottom: 0.5rem; font-size: 0.92rem; }
.sfc-footer a { color: rgba(248, 241, 229, 0.82); transition: color 0.2s ease; }
.sfc-footer a:hover { color: var(--gold-light); }
.sfc-footer__brand img { max-height: 70px; margin-bottom: 1rem; }
.sfc-footer__tag { font-family: var(--font-display); font-size: 1.05rem; color: rgba(248, 241, 229, 0.9); max-width: 32ch; }
.sfc-footer__bottom {
  margin-top: 3rem;
  border-top: 1px solid rgba(201, 162, 74, 0.4);
  padding: 1.3rem 0;
  font-size: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
}

/* Inner pages ------------------------------------------------------------ */
.sfc-page { padding: clamp(3rem, 6vw, 5rem) 0; }
.sfc-page__header { text-align: center; margin-bottom: 2.5rem; }
.sfc-entry { max-width: 780px; margin-inline: auto; }
.sfc-entry img { border-radius: var(--radius); }

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

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1080px) {
  .sfc-services__grid { grid-template-columns: repeat(3, 1fr); }
  .sfc-chef__grid { grid-template-columns: 220px 1fr; }
  .sfc-chef__quote { grid-column: 1 / -1; }
  .sfc-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .sfc-burger { display: block; }
  .sfc-nav {
    position: absolute;
    inset: 100% 0 auto 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(201, 162, 74, 0.4);
    display: none;
    padding: 1rem 1.25rem 1.5rem;
    box-shadow: var(--shadow-soft);
  }
  .sfc-nav.is-open { display: block; }
  .sfc-nav ul { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .sfc-header__cta .sfc-btn { display: none; }
  .sfc-nav .sfc-btn { display: inline-flex; }

  .sfc-hero__grid { grid-template-columns: 1fr; }
  .sfc-hero__media .sfc-ph { min-height: 340px; }
  .sfc-services__grid { grid-template-columns: repeat(2, 1fr); }
  .sfc-gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .sfc-g1, .sfc-g2, .sfc-g3, .sfc-g4 { grid-area: auto / span 2 / auto / auto; grid-row: span 2; }
  .sfc-g5, .sfc-g6 { grid-area: auto; grid-column: span 1; grid-row: span 1; }
  .sfc-chef__grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .sfc-chef__portrait { max-width: 260px; }
  .sfc-trust__grid { grid-template-columns: 1fr; }
  .sfc-trust__col + .sfc-trust__col {
    border-left: 0;
    border-top: 1px solid rgba(201, 162, 74, 0.5);
    padding-left: 0;
    padding-top: 2rem;
  }
  .sfc-cta__grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .sfc-services__grid { grid-template-columns: 1fr; }
  .sfc-footer__grid { grid-template-columns: 1fr; }
  .sfc-btn { width: 100%; justify-content: center; }
  .sfc-hero__actions { flex-direction: column; }
}

/* Accessibility & nav helpers -------------------------------------------- */
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}
.screen-reader-text:focus {
  position: static !important;
  width: auto; height: auto; clip: auto;
  display: inline-block;
  margin: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--burgundy);
  color: var(--cream);
  border-radius: 999px;
}
.sfc-nav__cta { display: none; margin-top: 1rem; }
@media (max-width: 900px) { .sfc-nav__cta { display: block; } }
