/* ==========================================================================
   Doble Culinary — base styles
   ========================================================================== */

:root {
  --cream:        #F8F2F2;
  --cream-alt:     #F2EAE3;
  --tan:          #D0BA9A;
  --bronze:       #AD8D67;
  --green:        #1F2E2A;
  --green-soft:   #2A3B36;
  --navy:         #1D2A39;
  --ink:          #262220;
  --ink-soft:     #504A45;
  --cream-70:     rgba(248, 242, 242, 0.7);

  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max-width: 1220px;
  --gutter: clamp(1.5rem, 5vw, 4.5rem);

  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--green);
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}

/* ---- Buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.95em 2em;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), background-color 0.35s var(--ease), color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--green);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--green-soft);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -12px rgba(31, 46, 42, 0.6);
}

.btn-outline {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream-70);
}
.btn-outline:hover {
  background: var(--cream);
  color: var(--green);
  transform: translateY(-2px);
}

.btn-bronze {
  background: var(--bronze);
  color: var(--cream);
}
.btn-bronze:hover {
  background: #96775230;
  background: #97754f;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -12px rgba(173, 141, 103, 0.55);
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.4rem 0;
  transition: background-color 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: var(--cream-70);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0.9rem 0;
  border-color: rgba(31, 46, 42, 0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  position: relative;
  z-index: 95;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.brand img {
  height: 34px;
  width: auto;
}

.brand-word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.18rem;
  color: var(--green);
  letter-spacing: 0.01em;
}

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

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

.nav-links a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--bronze);
  transition: right 0.35s var(--ease);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  right: 0;
}

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

.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--green);
  border: 1px solid rgba(31, 46, 42, 0.18);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.icon-link:hover {
  background: var(--green);
  border-color: var(--green);
  color: var(--cream);
}
.icon-link svg { width: 15px; height: 15px; }

.nav-toggle {
  position: relative;
  z-index: 95;
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin: -8px;
}
.nav-toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--green);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding: clamp(7.5rem, 14vw, 10.5rem) 0 clamp(4rem, 8vw, 6rem);
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream) 70%, var(--cream-alt) 100%);
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.hero-heading {
  font-size: clamp(2.6rem, 4.6vw, 4rem);
  margin: 1.1rem 0 1.5rem;
  max-width: 12ch;
}

.hero-heading em {
  font-style: italic;
  color: var(--bronze);
}

.hero-copy {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 0;
}

.hero-visual {
  position: relative;
}

.hero-visual-frame {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 40px 70px -35px rgba(31, 46, 42, 0.45);
  border: 1px solid rgba(173, 141, 103, 0.35);
  transform: rotate(1.2deg);
}

.hero-visual-frame img {
  width: 100%;
  height: auto;
}

.hero-visual-tag {
  position: absolute;
  bottom: -22px;
  left: -22px;
  background: var(--green);
  color: var(--cream);
  padding: 1rem 1.3rem;
  border-radius: 10px;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.5);
  max-width: 220px;
}

.hero-visual-tag .eyebrow { color: var(--tan); margin-bottom: 0.4rem; }
.hero-visual-tag .eyebrow::before { background: var(--tan); }
.hero-visual-tag p {
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.35;
}

/* ==========================================================================
   Section shells
   ========================================================================== */

section { position: relative; }

.section-pad {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
}

.section-dark {
  background: var(--green);
  color: var(--cream);
}
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--cream); }

.section-navy {
  background: var(--navy);
  color: var(--cream);
}
.section-navy h2, .section-navy h3 { color: var(--cream); }

/* ---- About ---- */

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.about-media {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-copy .section-title { white-space: nowrap; }
.about-copy .section-tagline { max-width: 42ch; margin-bottom: 1.4rem; }

.about-text p {
  color: var(--ink-soft);
  font-size: 1.03rem;
  max-width: 52ch;
}
.about-text p + p { margin-top: 1.1rem; }

/* ---- Section title / tagline (swapped hierarchy: label is the big heading,
   the poetic line becomes a small italic subtitle) ---- */

.section-title {
  font-size: clamp(2.3rem, 4.2vw, 3.2rem);
  color: var(--bronze);
  margin: 0;
}
.section-dark .section-title,
.section-navy .section-title { color: var(--cream); }

.section-tagline {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  color: var(--ink-soft);
  margin-top: 0.6rem;
  line-height: 1.5;
}
.section-dark .section-tagline,
.section-navy .section-tagline { color: var(--cream-70); }

/* ---- Image strip ---- */

.image-strip {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(0.9rem, 2vw, 1.4rem);
  padding: 0 var(--gutter);
  max-width: var(--max-width);
  margin: 0 auto;
}

.image-strip figure {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
}
.image-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease);
}
.image-strip figure:hover img { transform: scale(1.045); }
.image-strip .mini { aspect-ratio: 4/2.85; }

#strip-photos-1 figure:nth-child(1) { grid-column: 1; grid-row: 1 / 3; }
#strip-photos-1 figure:nth-child(2) { grid-column: 2; grid-row: 1; }
#strip-photos-1 figure:nth-child(3) { grid-column: 2; grid-row: 2; }

#strip-photos-2 { grid-template-columns: 1fr 1.2fr; }
#strip-photos-2 figure:nth-child(1) { grid-column: 2; grid-row: 1 / 3; }
#strip-photos-2 figure:nth-child(2) { grid-column: 1; grid-row: 1; }
#strip-photos-2 figure:nth-child(3) { grid-column: 1; grid-row: 2; }

/* ---- Services ---- */

#services {
  position: relative;
  overflow: hidden;
}

.services-mark {
  position: absolute;
  right: clamp(-20px, -2vw, 10px);
  bottom: -30px;
  width: clamp(200px, 22vw, 280px);
  height: auto;
  color: var(--cream);
  opacity: 0.1;
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
  position: relative;
  z-index: 1;
}

.services-intro .section-title { max-width: 9ch; }
.services-intro .section-tagline { max-width: 28ch; }

.services-copy p {
  font-size: 1.05rem;
  color: var(--cream-70);
  max-width: 54ch;
}
.services-copy p + p { margin-top: 1.3rem; }

.services-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 0;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(248, 242, 242, 0.18);
  position: relative;
  z-index: 1;
}

.services-list li {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--tan);
  display: flex;
  align-items: center;
}

.services-list li:not(:last-child)::after {
  content: "·";
  color: rgba(248, 242, 242, 0.35);
  margin: 0 0.85rem;
  font-style: normal;
}

/* ---- How it works ---- */

.steps-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto clamp(3rem, 6vw, 4.5rem);
}
.steps-head .section-tagline { margin-left: auto; margin-right: auto; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(31, 46, 42, 0.14);
  border-left: 1px solid rgba(31, 46, 42, 0.14);
}

.step {
  padding: 2.6rem clamp(1.5rem, 3vw, 3rem);
  border-right: 1px solid rgba(31, 46, 42, 0.14);
  border-bottom: 1px solid rgba(31, 46, 42, 0.14);
}

.step-num {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--bronze);
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  display: block;
}

.step h3 {
  font-size: 1.4rem;
  margin-bottom: 0.7rem;
}

.step p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  max-width: 34ch;
}

/* ---- CTA band ---- */

.cta-band {
  text-align: center;
  padding: clamp(4.5rem, 9vw, 7rem) 0;
  scroll-margin-top: 6rem;
}

.cta-band .eyebrow { justify-content: center; }

.cta-band h2 {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  margin: 1.1rem auto 1.3rem;
  max-width: 16ch;
  color: var(--cream);
}

.cta-band p {
  color: var(--cream-70);
  max-width: 46ch;
  margin: 0 auto 2.2rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--cream-alt);
  color: var(--ink-soft);
  padding: 3.2rem 0 2.2rem;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.8rem;
  padding-bottom: 2.2rem;
  margin-bottom: 1.8rem;
  border-bottom: 1px solid rgba(31, 46, 42, 0.12);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.footer-brand img { height: 30px; }
.footer-brand span {
  font-family: var(--font-display);
  color: var(--green);
  font-size: 1.05rem;
}

.footer-nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.3s var(--ease);
}
.footer-nav a:hover { color: var(--bronze); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
}

.footer-bottom .icon-link {
  border-color: rgba(31, 46, 42, 0.2);
  color: var(--green);
}
.footer-bottom .icon-link:hover {
  background: var(--green);
  color: var(--cream);
}

/* ==========================================================================
   Chef page
   ========================================================================== */

.chef-hero {
  padding: clamp(8rem, 14vw, 11rem) 0 clamp(3.5rem, 7vw, 5rem);
}

.chef-hero .container {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.chef-hero-heading {
  font-size: clamp(2.7rem, 5vw, 4.4rem);
  margin: 1.1rem 0 0;
}

.chef-hero-underline {
  display: block;
  margin-top: 0.6rem;
}
.chef-hero-underline svg { width: 190px; height: auto; color: var(--bronze); }

.chef-portrait-frame {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 40px 70px -35px rgba(31, 46, 42, 0.5);
}
.chef-portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chef-story {
  padding: clamp(2rem, 6vw, 3rem) 0 clamp(4.5rem, 9vw, 7rem);
}

.chef-story-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(2.2rem, 5vw, 3.5rem);
  border: 1px solid var(--tan);
  border-radius: 16px;
  background: var(--cream-alt);
}

.chef-story-inner p {
  font-size: 1.12rem;
  color: var(--ink-soft);
  line-height: 1.75;
}
.chef-story-inner p + p { margin-top: 1.3rem; }

.pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  color: var(--bronze);
  text-align: center;
  max-width: 20ch;
  margin: 2.6rem auto;
  line-height: 1.4;
  border-top: 1px solid var(--tan);
  border-bottom: 1px solid var(--tan);
  padding: 1.8rem 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 980px) {
  .hero .container,
  .about-grid,
  .services-grid,
  .chef-hero .container {
    grid-template-columns: 1fr;
  }

  .hero-visual { order: -1; }
  .hero-visual-tag { left: 12px; bottom: -18px; }

  .about-media { order: -1; max-width: 420px; }

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

  .image-strip {
    grid-template-columns: 1fr 1fr !important;
  }
  .image-strip figure {
    grid-column: auto !important;
    grid-row: auto !important;
    aspect-ratio: 4/3.2;
  }

  .main-nav .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .nav-open .nav-links {
    justify-content: flex-start;
    padding-top: 7rem;
  }
  .nav-open .nav-links li:last-child a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9em 1.8em;
    border-radius: 999px;
    background: var(--green);
    color: var(--cream);
    font-size: 0.85rem;
  }
}

@media (max-width: 640px) {
  .services-list { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .services-list li:not(:last-child)::after { display: none; }

  .image-strip { grid-template-columns: 1fr; }
  .image-strip figure { aspect-ratio: 4/3 !important; }

  .footer-top, .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---- Mobile nav open state ---- */

.nav-open .nav-links {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0;
  top: 0;
  background: var(--cream);
  align-items: flex-start;
  justify-content: center;
  padding: 0 2.2rem;
  gap: 2rem;
  z-index: 90;
}
.nav-open .nav-links a { font-size: 1.4rem; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
