/* =====================================================================
   LALLA - editorial landing refactor
   ===================================================================== */

:root {
  --wine: #9a1e31;
  --wine-dark: #7d1827;
  --ink: #29231f;
  --muted: #655c55;
  --cream: #f8f1e7;
  --cream-deep: #efe4d6;
  --paper: #fbf7ef;
  --sage: #b8c2b1;
  --line: #d9cbbd;
  --white: #fffaf2;
  --shadow: 0 28px 70px rgba(67, 48, 34, 0.15);
  --radius-pill: 999px;
  --radius-soft: 18px;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', Arial, sans-serif;
  --container: 1720px;
  --header-h: 96px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { border: 0; background: none; color: inherit; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1;
  color: var(--wine);
  letter-spacing: 0;
}
.no-wrap { white-space: nowrap; }

::selection { background: var(--wine); color: var(--cream); }
:focus-visible { outline: 3px solid var(--wine); outline-offset: 4px; }

.skip-link {
  position: fixed;
  top: -100px;
  left: 18px;
  z-index: 3000;
  background: var(--wine);
  color: var(--cream);
  border-radius: var(--radius-pill);
  padding: 10px 16px;
}
.skip-link:focus { top: 18px; }

.container {
  width: min(100% - 96px, var(--container));
  margin-inline: auto;
}

.section {
  min-height: calc(100svh - var(--header-h));
  padding: 72px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 0 38px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.15;
  text-align: center;
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(67, 48, 34, .12), inset 0 1px 0 rgba(255,255,255,.54); }
.btn:active { transform: translateY(0); }
.btn.full { width: 100%; }
.btn-cta {
  background:
    linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.04)),
    rgba(154, 30, 49, .68);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.42), inset 0 -1px 0 rgba(122,23,38,.22), 0 14px 30px rgba(122, 23, 38, .13);
}
.btn-cta:hover {
  background:
    linear-gradient(135deg, rgba(255,255,255,.22), rgba(255,255,255,.06)),
    rgba(154, 30, 49, .76);
  border-color: rgba(255,255,255,.36);
}
.btn-outline {
  background: rgba(255, 250, 242, .18);
  color: var(--wine);
  border: 1.5px solid rgba(154, 30, 49, .48);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 10px 24px rgba(67,48,34,.06);
}
.btn-outline:hover { background: rgba(154, 30, 49, .68); color: var(--white); }
.btn-outline.dark { color: var(--wine); border-color: var(--wine); }
.btn-light {
  background: rgba(255, 250, 242, .62);
  color: var(--wine);
  border: 1px solid rgba(255, 250, 242, .54);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72), 0 12px 28px rgba(67,48,34,.08);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: stretch;
  background: rgba(248, 241, 231, 0.94);
  border-bottom: 1px solid var(--line);
  transition: height .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.site-header[data-state="scrolled"] {
  height: 66px;
  background: rgba(248, 241, 231, 0.98);
  box-shadow: 0 18px 40px rgba(67, 48, 34, 0.08);
}
.header-inner {
  width: min(100% - 72px, 1640px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 190px 1fr 250px;
  align-items: center;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; width: fit-content; }
.brand-logo {
  width: 148px;
  height: auto;
  transition: width .3s var(--ease);
}
.site-header[data-state="scrolled"] .brand-logo { width: 94px; }

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.nav a {
  position: relative;
  padding: 10px 0;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #141414;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--wine);
  transition: width .25s var(--ease);
}
.nav a:hover,
.nav a.active { color: var(--wine); }
.nav a:hover::after,
.nav a.active::after { width: 100%; }
.header-cta { justify-self: end; min-height: 48px; padding-inline: 22px; font-size: .76rem; }

.nav-toggle {
  display: none;
  justify-self: end;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-pill);
  transition: background-color .25s var(--ease);
}
.nav-toggle:hover { background: rgba(154, 30, 49, .08); }
.nav-toggle span {
  display: block;
  width: 30px;
  height: 2px;
  margin: 7px auto;
  background: var(--wine);
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 950;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 48px;
  padding: 130px 32px 48px;
  background: var(--wine);
  color: var(--cream);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
body.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
.mobile-nav { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.mobile-nav a:not(.btn) {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  line-height: 1;
}
.mobile-menu-foot { display: flex; gap: 28px; font-weight: 700; }

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  padding-top: var(--header-h);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: var(--cream);
}
.hero-media {
  position: absolute;
  inset: 0 0 0 auto;
  width: 74%;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}
.hero-wash {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, var(--cream) 0%, rgba(248,241,231,0.97) 25%, rgba(248,241,231,0.58) 48%, rgba(248,241,231,0.05) 70%),
    linear-gradient(180deg, rgba(248,241,231,0.05), rgba(248,241,231,0.18));
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: calc(100svh - var(--header-h));
}
.hero-copy {
  position: relative;
  width: min(620px, 48%);
  padding: 72px 0 104px;
}
.hero-copy h1 {
  font-size: 6rem;
  margin-bottom: 28px;
}
.hero-subtitle {
  color: var(--wine);
  font-family: var(--font-serif);
  font-weight: 500;
  text-transform: none;
  font-size: 2.18rem;
  line-height: 1.02;
  margin-bottom: 54px;
}
.hero-subtitle span { display: block; }
.hero-lead {
  max-width: 600px;
  color: #171717;
  font-size: 1.08rem;
  line-height: 1.55;
}
.hero-actions {
  display: grid;
  gap: 26px;
  width: min(460px, 100%);
  margin-top: 104px;
}
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 32px;
  z-index: 4;
  width: 44px;
  height: 44px;
  transform: translateX(-50%) rotate(45deg);
  border-right: 4px solid var(--white);
  border-bottom: 4px solid var(--white);
  opacity: .9;
}
.hero-scroll span { display: none; }
.leaf-mark {
  position: absolute;
  left: -92px;
  top: 52px;
  width: 145px;
  height: 250px;
  opacity: .42;
  transform: rotate(-18deg);
  background:
    radial-gradient(ellipse at 35% 18%, var(--sage) 0 16px, transparent 17px),
    radial-gradient(ellipse at 68% 30%, var(--sage) 0 17px, transparent 18px),
    radial-gradient(ellipse at 30% 44%, var(--sage) 0 18px, transparent 19px),
    radial-gradient(ellipse at 70% 56%, var(--sage) 0 17px, transparent 18px),
    linear-gradient(103deg, transparent 49%, var(--sage) 50%, transparent 51%);
}
.leaf-mark.small {
  position: relative;
  display: block;
  left: auto;
  top: auto;
  width: 160px;
  height: 210px;
  margin-top: 70px;
}

/* Shared editorial blocks */
.section-title-block h2,
.center-head h2 { font-size: 3.45rem; }
.title-rule {
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 28px;
  background: var(--wine);
}
.center-head {
  display: grid;
  justify-items: center;
  text-align: center;
  margin-bottom: 48px;
}
.center-head p {
  max-width: 760px;
  margin-top: 22px;
  font-size: 1.05rem;
}
.editorial-split {
  display: grid;
  grid-template-columns: 0.9fr 1.5fr;
  gap: 96px;
  align-items: start;
}
.copy-flow {
  display: grid;
  gap: 28px;
  max-width: 760px;
  color: #1f1f1f;
}
.copy-flow p { line-height: 1.62; }

.intro-section { background: var(--cream); }
.experience-words {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin: 88px 0;
}
.experience-words span {
  min-height: 142px;
  display: grid;
  place-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-serif);
  font-size: 2.2rem;
  line-height: 1.05;
  color: var(--wine);
  text-align: center;
}
.menu-note {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 70px;
  padding: 46px 54px;
  background: var(--cream-deep);
}
.menu-note h3 {
  font-size: 2.8rem;
}
.menu-note div { display: grid; gap: 18px; max-width: 900px; }

/* Concept */
.concept-section { background: var(--paper); }
.concept-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.24fr;
  gap: 104px;
  align-items: center;
}
.concept-copy .copy-flow { margin-top: 54px; }
.concept-image {
  min-height: 640px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.concept-image img {
  width: 100%;
  height: 100%;
  min-height: 640px;
  object-fit: cover;
  object-position: 55% center;
}
.quote-band {
  position: relative;
  display: grid;
  grid-template-columns: 120px 1fr 0.78fr;
  gap: 64px;
  align-items: center;
  margin-top: 92px;
  padding: 54px 72px;
  background: var(--cream-deep);
}
.quote-mark {
  font-family: var(--font-serif);
  font-size: 6rem;
  line-height: .7;
  color: #c9ad88;
}
.quote-band p {
  max-width: 720px;
  font-size: 1.2rem;
}
.quote-band strong {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  line-height: .96;
  font-weight: 500;
  color: var(--wine);
  text-transform: uppercase;
}

/* Services */
.services-overview { background: var(--cream); }
.services-overview .center-head { margin-bottom: 42px; }
.service-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 430px));
  justify-content: center;
  gap: 44px;
}
.photo-tile,
.proposal-card {
  position: relative;
  display: block;
  overflow: visible;
  min-height: 380px;
  background: #111;
  border: 3px solid rgba(255,255,255,.7);
  border-radius: var(--radius-soft);
  box-shadow: var(--shadow);
}
.photo-tile {
  aspect-ratio: 4 / 5;
  min-height: auto;
}
.photo-tile img {
  position: absolute;
  inset: 0;
}
.photo-tile img,
.proposal-card img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  border-radius: inherit;
  transition: transform .7s var(--ease), filter .7s var(--ease);
}
.tile-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.78));
  border-radius: inherit;
}
.tile-number {
  position: absolute;
  left: 50%;
  top: -38px;
  z-index: 3;
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--wine);
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 700;
}
.tile-content {
  position: absolute;
  inset: auto 28px 34px;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
  color: var(--white);
}
.tile-content strong {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  line-height: .98;
  font-weight: 500;
}
.tile-content > span,
.proposal-card > span:last-child {
  min-width: 160px;
  padding: 10px 22px;
  border: 1px solid rgba(255,255,255,.74);
  border-radius: var(--radius-pill);
  background: rgba(255, 250, 242, .12);
  backdrop-filter: blur(12px) saturate(1.18);
  -webkit-backdrop-filter: blur(12px) saturate(1.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.32), 0 12px 24px rgba(0,0,0,.14);
  font-weight: 900;
  text-transform: uppercase;
  font-size: .78rem;
}
.photo-tile:hover img,
.proposal-card:hover img {
  transform: scale(1.05);
  filter: saturate(.9);
}

/* Personal chef */
.personal-chef { background: var(--paper); }
.process-head { margin-bottom: 70px; }
.process-label {
  margin-bottom: 44px;
  font-family: var(--font-body);
  font-size: 1.12rem;
  font-weight: 900;
  color: var(--ink);
}
.process-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.process-line::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 36px;
  height: 1px;
  background: var(--line);
}
.process-step {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  text-align: left;
}
.process-step span {
  position: relative;
  z-index: 1;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 50%;
  border: 1px solid var(--wine);
  background: var(--paper);
  color: var(--wine);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
}
.process-step h4 {
  min-height: 52px;
  margin-bottom: 18px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.2;
  font-weight: 900;
  color: var(--ink);
  text-align: center;
}
.process-step p {
  width: 100%;
  padding-left: 18px;
  border-left: 1px solid var(--line);
  margin-bottom: 14px;
  color: #282523;
  font-size: .86rem;
}
.occasion-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  margin-top: 42px;
  padding: 24px 28px;
  background: var(--cream-deep);
  border-radius: var(--radius-soft);
}
.occasion-strip span {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 12px;
  font-size: .86rem;
  font-weight: 900;
  line-height: 1.25;
}
.occasion-strip b {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--wine);
  color: var(--wine);
  background: rgba(255, 250, 242, .62);
}
.occasion-strip svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Proposals */
.proposals-section { background: var(--cream); }
.proposals-layout {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 52px;
  align-items: start;
}
.proposals-copy {
  position: sticky;
  top: 96px;
  min-height: 0;
}
.proposals-copy .copy-flow { margin: 48px 0 46px; gap: 20px; font-size: .94rem; }
.proposal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.proposal-card {
  min-height: 282px;
  display: grid;
  place-items: center;
  text-align: center;
}
.proposal-card img {
  position: absolute;
  inset: 0;
  min-height: 100%;
}
.proposal-card strong {
  position: relative;
  z-index: 2;
  font-family: var(--font-serif);
  font-size: 1.72rem;
  line-height: 1.08;
  font-weight: 500;
  color: var(--white);
  text-transform: uppercase;
  max-width: 82%;
}
/* Cooking */
.cooking-section { background: var(--paper); }
.cooking-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 54px;
  align-items: center;
}
.cooking-copy .copy-flow { margin-top: 44px; gap: 20px; font-size: .95rem; }
.class-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px;
  padding: 38px;
  background: var(--cream-deep);
  box-shadow: var(--shadow);
}
.class-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.class-card .tile-number {
  top: -48px;
  width: 78px;
  height: 78px;
}
.class-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  margin-bottom: 22px;
}
.class-card h3 {
  font-size: 2.35rem;
  color: var(--ink);
}
.class-sub {
  margin-top: 4px;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--ink);
}
.class-card > p:not(.class-sub) {
  margin: 20px 0 20px;
  min-height: 58px;
  font-size: .9rem;
}
.detail-list {
  display: grid;
  gap: 11px;
  margin: 0 0 24px;
  font-size: .9rem;
}
.detail-list li {
  position: relative;
  padding-left: 34px;
}
.detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .35em;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 2px solid var(--wine);
}
.class-card .btn { margin-top: auto; }

/* Gallery */
.gallery-section {
  min-height: auto;
  padding: 54px 0 64px;
  background: var(--cream);
}
.gallery-section .center-head { margin-bottom: 24px; }
.gallery-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(230px, 22vw, 360px);
  align-items: end;
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  padding: 4px 0 14px;
}
.g-item {
  position: relative;
  display: block;
  width: 100%;
  margin-bottom: 0;
  scroll-snap-align: start;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--cream-deep);
  border: 0;
  border-radius: var(--radius-soft);
}
.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease), filter .7s var(--ease);
}
.g-item::after {
  content: "Apri";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(27, 16, 16, .52);
  color: var(--white);
  font-weight: 900;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.g-item:hover img { transform: scale(1.06); filter: saturate(.9); }
.g-item:hover::after { opacity: 1; }

/* Contact */
.contact-section {
  background: var(--cream);
  border-top: 1px solid var(--line);
}
.contact-section .reveal {
  opacity: 1;
  transform: none;
}
.contact-layout {
  display: grid;
  grid-template-columns: .58fr 1.12fr;
  gap: 42px;
  align-items: start;
}
.contact-copy > p {
  max-width: 620px;
  margin: 24px 0 22px;
  font-size: .96rem;
}
.contact-list {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  font-size: .94rem;
}
.contact-list a { border-bottom: 1px solid transparent; }
.contact-list a:hover { color: var(--wine); border-color: var(--wine); }
.contact-form-wrap {
  padding: 26px;
  background: var(--cream-deep);
  box-shadow: 0 18px 44px rgba(67, 48, 34, 0.12);
}
.contact-form h3 {
  margin-bottom: 16px;
  font-size: 1.75rem;
}
.field { display: flex; flex-direction: column; margin-bottom: 10px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field label {
  margin-bottom: 5px;
  color: var(--ink);
  font-size: .78rem;
  font-weight: 900;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
}
.field textarea { min-height: 72px; height: 86px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--wine);
  box-shadow: 0 0 0 3px rgba(154, 30, 49, .12);
}
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 2px 0 12px;
  color: var(--muted);
  font-size: .78rem;
}
.checkbox input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--wine);
  flex-shrink: 0;
  border-radius: 6px;
}
.form-error {
  margin-bottom: 16px;
  padding: 12px 14px;
  background: #f8dcd6;
  color: #8d1b1b;
  border-radius: 14px;
}
.form-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.contact-form .btn { min-height: 46px; padding-inline: 14px; }
.form-hint {
  margin-top: 10px;
  color: var(--muted);
  font-size: .75rem;
  text-align: center;
}

/* Footer */
.site-footer {
  padding: 68px 0 24px;
  background: var(--wine);
  color: var(--cream);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.footer-brand {
  display: block;
  font-family: var(--font-serif);
  font-size: 3.4rem;
  line-height: .9;
}
.footer-brand img {
  width: 132px;
  height: auto;
  filter: brightness(0) invert(1);
}
.footer-grid p { margin-top: 14px; font-weight: 900; text-transform: uppercase; }
.footer-nav,
.footer-contacts {
  display: grid;
  gap: 12px;
}
.footer-nav a:hover,
.footer-contacts a:hover { text-decoration: underline; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 54px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.24);
  font-size: .86rem;
}

/* Lightbox and floating controls */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px;
  background: rgba(23, 13, 15, .94);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s var(--ease), visibility .25s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lb-figure {
  max-width: min(92vw, 1050px);
  max-height: 88vh;
  display: grid;
  justify-items: center;
  gap: 14px;
}
.lb-img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--radius-soft);
}
.lb-caption {
  color: var(--cream);
  font-family: var(--font-serif);
  font-size: 1.15rem;
}
.lb-close {
  position: absolute;
  top: 24px;
  right: 30px;
  color: var(--cream);
  font-size: 3rem;
  line-height: 1;
  border-radius: var(--radius-pill);
}
.lb-nav {
  position: absolute;
  top: 50%;
  width: 58px;
  height: 58px;
  transform: translateY(-50%);
  border: 1px solid rgba(255,255,255,.48);
  border-radius: var(--radius-pill);
  color: var(--cream);
  font-size: 2.4rem;
}
.lb-prev { left: 24px; }
.lb-next { right: 24px; }
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 800;
  width: 50px;
  height: 50px;
  background: var(--wine);
  color: var(--white);
  border-radius: var(--radius-pill);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 1380px) {
  .header-inner { width: min(100% - 56px, 1280px); grid-template-columns: 170px 1fr 230px; gap: 20px; }
  .brand-logo { width: 132px; }
  .site-header[data-state="scrolled"] .brand-logo { width: 86px; }
  .nav { gap: 24px; }
  .section-title-block h2,
  .center-head h2 { font-size: 3.2rem; }
  .proposals-layout { grid-template-columns: 300px 1fr; gap: 42px; }
  .cooking-layout { grid-template-columns: 300px 1fr; gap: 42px; }
  .class-panel { padding: 34px; gap: 30px; }
}

@media (max-height: 820px) and (min-width: 761px) {
  :root { --header-h: 82px; }
  .site-header { height: var(--header-h); }
  .brand-logo { width: 116px; }
  .site-header[data-state="scrolled"] .brand-logo { width: 78px; }
  .header-cta { min-height: 42px; }
  .hero-copy { padding: 26px 0 46px; }
  .hero-copy h1 { font-size: 4.8rem; margin-bottom: 20px; }
  .hero-subtitle { font-size: 1.72rem; margin-bottom: 28px; }
  .hero-actions { margin-top: 42px; gap: 16px; }
  .hero-actions .btn { min-height: 50px; }
  .section { padding: 52px 0; }
  .center-head { margin-bottom: 34px; }
  .section-title-block h2,
  .center-head h2 { font-size: 2.85rem; }
  .services-overview { padding: 24px 0; }
  .services-overview .center-head { margin-bottom: 20px; }
  .service-tiles { grid-template-columns: repeat(2, minmax(0, 382px)); gap: 34px; }
  .photo-tile { min-height: auto; }
  .tile-number { top: -29px; width: 58px; height: 58px; }
  .tile-content { inset: auto 24px 26px; gap: 14px; }
  .tile-content strong { font-size: 1.85rem; }
  .tile-content > span,
  .proposal-card > span:last-child { min-width: 138px; padding: 8px 16px; font-size: .68rem; }
  .proposals-copy .copy-flow { margin: 28px 0 30px; gap: 12px; font-size: .86rem; }
  .proposals-copy .leaf-mark.small,
  .cooking-copy .leaf-mark.small { display: none; }
  .proposal-grid { gap: 16px; }
  .proposal-card { min-height: 230px; }
  .proposal-card strong { font-size: 1.38rem; line-height: 1.06; transform: translateY(-10px); }
  .proposal-card > span:last-child { bottom: 18px; }
  .cooking-copy .copy-flow { margin-top: 28px; gap: 12px; font-size: .86rem; }
  .class-panel { padding: 26px; gap: 22px; }
  .class-card .tile-number { top: -36px; width: 58px; height: 58px; }
  .class-card img { height: 96px; margin-bottom: 12px; }
  .class-card h3 { font-size: 1.85rem; }
  .class-sub { font-size: 1.02rem; }
  .class-card > p:not(.class-sub) { margin: 10px 0; min-height: auto; font-size: .8rem; line-height: 1.4; }
  .detail-list { gap: 5px; margin-bottom: 14px; font-size: .8rem; }
  .detail-list li { padding-left: 22px; }
  .detail-list li::before { width: 12px; height: 12px; border-width: 1.5px; }
  .class-card .btn { min-height: 44px; padding-inline: 12px; font-size: .68rem; }
  .contact-section { padding: 18px 0; }
  .contact-copy > p { margin: 18px 0 18px; font-size: .9rem; }
  .contact-list { margin-top: 18px; gap: 6px; font-size: .88rem; }
  .contact-form-wrap { padding: 18px; }
  .contact-form h3 { margin-bottom: 10px; font-size: 1.45rem; }
  .field { margin-bottom: 6px; }
  .field input,
  .field select,
  .field textarea { min-height: 38px; padding: 6px 10px; }
  .field textarea { min-height: 54px; height: 54px; }
  .checkbox { margin-bottom: 8px; }
  .contact-form .btn { min-height: 40px; font-size: .68rem; }
  .form-hint { margin-top: 8px; }
}

@media (max-width: 1080px) {
  :root { --header-h: 86px; }
  .site-header,
  .site-header[data-state="scrolled"] { height: var(--header-h); }
  .header-inner { grid-template-columns: 1fr auto; width: min(100% - 42px, 100%); }
  .brand-logo,
  .site-header[data-state="scrolled"] .brand-logo { width: 104px; }
  .nav,
  .header-cta { display: none; }
  .nav-toggle { display: block; }
  .container { width: min(100% - 42px, var(--container)); }
  .hero-media { width: 100%; }
  .hero-wash {
    background:
      linear-gradient(90deg, rgba(248,241,231,.96), rgba(248,241,231,.76) 54%, rgba(248,241,231,.18)),
      linear-gradient(180deg, rgba(248,241,231,.35), rgba(248,241,231,.65));
  }
  .hero-copy { width: min(620px, 78%); }
  .hero-copy h1 { font-size: 5rem; }
  .editorial-split,
  .concept-grid,
  .proposals-layout,
  .cooking-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .proposals-copy { position: relative; top: auto; min-height: 0; }
  .service-tiles,
  .proposal-grid,
  .class-panel { grid-template-columns: 1fr 1fr; }
  .process-line { grid-template-columns: 1fr 1fr; }
  .process-line::before { display: none; }
  .occasion-strip { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 68px 0; min-height: auto; }
  .hero-copy { width: 100%; padding: 56px 0 92px; }
  .hero-copy h1 { font-size: 4rem; }
  .hero-subtitle { font-size: 1.82rem; margin-bottom: 40px; }
  .hero-actions { margin-top: 54px; }
  .section-title-block h2,
  .center-head h2 { font-size: 3rem; }
  .experience-words,
  .service-tiles,
  .proposal-grid,
  .class-panel,
  .process-line,
  .occasion-strip,
  .field-row,
  .form-actions {
    grid-template-columns: 1fr;
  }
  .menu-note,
  .quote-band {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 34px 28px;
  }
  .photo-tile { min-height: 380px; }
  .proposal-card { min-height: 300px; }
  .tile-content strong { font-size: 2.25rem; }
  .concept-image,
  .concept-image img { min-height: 440px; }
  .class-panel { padding: 42px 24px; }
  .class-card img { height: 220px; }
  .gallery-grid { grid-auto-columns: minmax(210px, 72vw); gap: 14px; }
  .contact-form-wrap { padding: 32px 22px; }
  .footer-bottom { flex-direction: column; }
  .leaf-mark { display: none; }
}

@media (max-width: 480px) {
  :root { --header-h: 78px; }
  .brand-logo,
  .site-header[data-state="scrolled"] .brand-logo { width: 90px; }
  .hero-copy h1 { font-size: 3.3rem; }
  .hero-subtitle { font-size: 1.55rem; }
  .section-title-block h2,
  .center-head h2 { font-size: 2.45rem; }
  .btn { min-height: 56px; padding-inline: 22px; }
  .gallery-grid { grid-auto-columns: minmax(210px, 82vw); }
  .lb-nav { width: 44px; height: 44px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
