/* ============================================================
   Pâtisserie Royale — Editorial homepage (home.css)
   Bold, cohesive reinvention of the homepage body.
   Fixes the "scattered" feel: ONE warm canvas for every light
   section (no muddy multi-beige), cocoa + full-bleed image +
   gold bands for intentional contrast, real spacing rhythm,
   big edge-to-edge photography. Loaded last so it wins.
   Uses brand fonts (Berita / Ballory) + brand color tokens.
   ============================================================ */
:root{
  --ed-canvas:#F4EEE2;   /* the single warm light room */
}

/* shared editorial bits ----------------------------------- */
.ed-label{
  font-family:var(--font-mono,'Geist',ui-monospace,monospace);
  font-size:12px;letter-spacing:.26em;text-transform:uppercase;
  color:var(--gold-ink);font-weight:600;
  display:inline-flex;align-items:center;gap:12px;
}
.ed-h2{
  font-family:'Berita','Fraunces',Georgia,serif;font-weight:400;
  font-size:clamp(36px,5vw,64px);line-height:1.02;letter-spacing:-.02em;color:var(--ink);
}
.ed-h2 .scr,.ed-eyebrow{font-family:'Ballory','Caveat',cursive}
.ed-cta-row{display:flex;gap:14px;flex-wrap:wrap;align-items:center}
.ed-link{font-weight:600;color:var(--burgundy);text-decoration:none;border-bottom:2px solid var(--gold);padding-bottom:3px;font-size:15px}
.ed-link:hover{color:var(--burgundy-dark)}

/* MENU PREVIEW — categories, favourites, full-menu CTA ----- */
.mp{background:var(--ed-canvas);padding:clamp(72px,9vw,114px) 0}
.mp-head{max-width:66ch}
.mp-head .ed-h2{margin:14px 0 0}
.mp-head .ed-h2 .scr{color:var(--burgundy)}
.mp-sub{color:var(--muted);font-size:17px;line-height:1.7;max-width:52ch;margin-top:16px}

/* A. category gallery — card styles (.mp-cats/.mp-cat/.mp-cat-tag) are shared,
   defined in styles.css so the menu pages can reuse them. */

/* B. featured products ---- */
.mp-feat-head{display:flex;justify-content:space-between;align-items:baseline;gap:24px;
  margin:clamp(54px,6vw,78px) 0 24px}
.mp-feat-title{font-family:'Berita','Fraunces',Georgia,serif;font-weight:400;letter-spacing:-.01em;color:var(--ink);
  font-size:clamp(24px,2.7vw,36px);line-height:1.05}
.mp-feat-title .scr{font-family:'Ballory','Caveat',cursive;color:var(--burgundy)}
.mp-feat-head .ed-link{white-space:nowrap}
.feat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.feat-grid .menu-item{display:flex;flex-direction:column}
.feat-grid .item-body{display:flex;flex-direction:column;flex:1}
.feat-tag{font-family:var(--font-mono,'Geist',monospace);font-size:10.5px;letter-spacing:.16em;
  text-transform:uppercase;color:var(--gold-ink);font-weight:600;display:block;margin-bottom:9px}
.feat-grid .item-foot{margin-top:auto;padding-top:16px}

/* C. full-menu CTA panel ---- */
.mp-more{position:relative;overflow:hidden;margin-top:clamp(46px,5vw,70px);border-radius:24px;
  background:var(--tone-ink);color:var(--cream);text-align:center;padding:clamp(46px,6vw,76px) 24px}
.mp-more::before{content:'';position:absolute;inset:0;background:url('pattern.png');
  background-size:300px;opacity:.06;pointer-events:none}
.mp-more::after{content:'';position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(ellipse 70% 92% at 50% -12%,rgba(216,184,48,.22),transparent 60%)}
.mp-more-inner{position:relative;z-index:2;max-width:42ch;margin:0 auto;
  display:flex;flex-direction:column;align-items:center;gap:18px}
.mp-more-kicker{font-family:var(--font-mono,'Geist',monospace);font-size:12px;letter-spacing:.22em;
  text-transform:uppercase;color:var(--gold)}
.mp-more-title{font-family:'Berita','Fraunces',Georgia,serif;font-weight:400;color:#F8EDDB;
  font-size:clamp(28px,3.7vw,48px);line-height:1.08;letter-spacing:-.02em}
.mp-more-title em{font-style:normal;color:var(--gold)}
.mp-more .btn-primary{background:var(--gold);color:#2E1A0F;border-color:var(--gold);margin-top:6px;
  padding:16px 22px 16px 28px;font-size:15px;box-shadow:0 14px 30px -14px rgba(0,0,0,.55)}
.mp-more .btn-primary:hover{background:var(--gold-soft);border-color:var(--gold-soft);color:var(--burgundy-dark)}
.mp-more .btn .btn-icon{background:rgba(46,26,15,.16)}
.mp-more .btn:hover .btn-icon{background:rgba(46,26,15,.26)}

/* STATEMENT band ------------------------------------------ */
.ed-statement{position:relative;min-height:62vh;display:flex;align-items:center;overflow:hidden}
.ed-statement>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ed-statement::after{content:'';position:absolute;inset:0;
  background:linear-gradient(90deg,rgba(20,12,8,.88),rgba(20,12,8,.52) 58%,rgba(20,12,8,.34))}
.ed-statement .container{position:relative;z-index:2}
.ed-statement .ed-label{color:var(--gold)}
.ed-statement h2{font-family:'Berita','Fraunces',Georgia,serif;font-weight:400;color:var(--cream);
  font-size:clamp(38px,5.5vw,76px);line-height:1.03;letter-spacing:-.02em;margin:18px 0 0;max-width:16ch}
.ed-statement h2 em{font-style:normal;color:var(--gold)}

/* STORY --------------------------------------------------- */
.ed-story{background:var(--ed-canvas);padding:clamp(76px,9vw,116px) 0}
.ed-story-grid{display:grid;grid-template-columns:.95fr 1.05fr;gap:64px;align-items:center}
.ed-story-img{aspect-ratio:5/6;border-radius:20px;overflow:hidden;box-shadow:0 36px 64px -34px rgba(72,40,24,.4)}
.ed-story-img img{width:100%;height:100%;object-fit:cover}
.ed-story .ed-h2{margin:14px 0 20px}
.ed-story p{color:var(--muted);font-size:17px;line-height:1.75;max-width:48ch;margin-bottom:18px}
.ed-stats{display:flex;gap:40px;margin:30px 0 30px;flex-wrap:wrap}
.ed-stat .n{font-family:'Berita','Fraunces',Georgia,serif;font-size:30px;color:var(--burgundy);line-height:1}
.ed-stat .l{font-family:var(--font-mono,'Geist',monospace);font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);margin-top:9px}

/* BISTRO dark room ---------------------------------------- */
.ed-bistro{background:var(--tone-ink);color:#F5EBE2;padding:clamp(84px,10vw,120px) 0;position:relative;overflow:hidden}
.ed-bistro::before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse 60% 50% at 82% 28%,rgba(216,184,48,.14),transparent 60%);pointer-events:none}
.ed-bistro .container{position:relative;z-index:2}
.ed-bistro-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}
.ed-bistro .ed-label{color:var(--gold)}
.ed-bistro h2{font-family:'Berita','Fraunces',Georgia,serif;font-weight:400;color:#F8EDDB;
  font-size:clamp(34px,4.4vw,56px);line-height:1.05;letter-spacing:-.02em;margin:16px 0 20px}
.ed-bistro p{color:rgba(245,235,226,.82);font-size:17px;line-height:1.75;max-width:44ch;margin-bottom:16px}
.ed-bistro .hours{font-family:var(--font-mono,'Geist',monospace);font-size:13px;letter-spacing:.03em;color:rgba(245,235,226,.6);margin-bottom:30px}
.ed-bistro .btn-primary{background:var(--gold);color:#2E1A0F;border-color:var(--gold)}
.ed-bistro .btn-primary:hover{background:var(--gold-soft);border-color:var(--gold-soft);color:var(--burgundy-dark)}
.ed-bistro .btn-outline{background:transparent;color:#F8EDDB;border:1.5px solid rgba(248,237,219,.42)}
.ed-bistro .btn-outline:hover{background:rgba(248,237,219,.1);color:#fff;border-color:rgba(248,237,219,.7)}
.ed-bistro-imgs{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:14px;aspect-ratio:1/1}
.ed-bistro-imgs .bi{overflow:hidden;border-radius:16px}
.ed-bistro-imgs img{width:100%;height:100%;object-fit:cover}
.ed-bistro-imgs .bi:first-child{grid-row:span 2}

/* TESTIMONIALS -------------------------------------------- */
.ed-testi{background:var(--ed-canvas);padding:clamp(80px,9vw,120px) 0}
.ed-testi-head{max-width:60ch;margin-bottom:clamp(34px,4.5vw,52px)}
.ed-testi-head .ed-h2{margin-top:14px}
.ed-testi-head .ed-h2 .scr{color:var(--burgundy)}

.ed-testi-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:22px;align-items:stretch}
.testi{position:relative;display:flex;flex-direction:column;border-radius:20px;padding:32px 32px 30px;
  background:var(--surface);border:1px solid var(--line);overflow:hidden}
.testi::before{content:'\201C';position:absolute;top:6px;right:24px;font-family:'Berita','Fraunces',Georgia,serif;
  font-size:96px;line-height:1;color:var(--gold);opacity:.22;pointer-events:none}
.testi-quote{font-family:'Berita','Fraunces',Georgia,serif;font-weight:400;color:var(--ink);
  font-size:18px;line-height:1.55;letter-spacing:-.005em;margin:0;flex:1;position:relative;z-index:1}
.testi-by{display:flex;align-items:center;gap:13px;margin-top:24px;position:relative;z-index:1}
.testi-avatar{flex:0 0 auto;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;
  font-family:'Berita','Fraunces',Georgia,serif;font-size:19px;color:var(--cream);background:var(--burgundy)}
.testi-meta{display:flex;flex-direction:column;line-height:1.3;min-width:0}
.testi-meta b{font-weight:600;font-size:15px;color:var(--ink)}
.testi-meta span{font-family:var(--font-mono,'Geist',monospace);font-size:10.5px;letter-spacing:.14em;
  text-transform:uppercase;color:var(--muted);margin-top:4px}

/* featured dark card — focal point, spans both rows on the left */
.testi-lead{grid-row:span 2;background:var(--tone-ink);border-color:transparent;color:var(--cream);
  padding:clamp(34px,3.6vw,48px);justify-content:center}
.testi-lead::after{content:'';position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(ellipse 72% 60% at 86% 10%,rgba(216,184,48,.16),transparent 60%)}
.testi-lead::before{color:var(--gold);opacity:.32;font-size:128px;top:10px}
.testi-lead .testi-quote{color:#F6ECDB;font-size:clamp(21px,1.9vw,27px);line-height:1.45;flex:0 1 auto}
.testi-lead .testi-by{margin-top:28px}
.testi-lead .testi-avatar{background:var(--gold);color:#2E1A0F}
.testi-lead .testi-meta b{color:#F8EDDB}
.testi-lead .testi-meta span{color:rgba(246,236,219,.62)}

@media (max-width:860px){
  .ed-testi-grid{grid-template-columns:1fr;gap:16px}
  .testi-lead{grid-row:auto}
}

/* CTA gold band ------------------------------------------- */
.ed-cta{background:var(--gold);padding:clamp(80px,9vw,104px) 0;text-align:center}
.ed-cta h2{font-family:'Berita','Fraunces',Georgia,serif;font-weight:400;color:#2E1A0F;
  font-size:clamp(34px,4.8vw,60px);line-height:1.04;letter-spacing:-.02em}
.ed-cta p{color:#5A3A12;font-size:17px;line-height:1.7;max-width:46ch;margin:18px auto 32px}
.ed-cta .btn-primary{background:var(--burgundy);color:var(--cream);border-color:var(--burgundy)}
.ed-cta .btn-primary:hover{background:var(--burgundy-dark);border-color:var(--burgundy-dark)}

/* RESPONSIVE ---------------------------------------------- */
/* (.mp-cats / .mp-cat-tag responsive rules live in styles.css, shared) */
@media (max-width:900px){
  .ed-story-grid,.ed-bistro-grid{grid-template-columns:1fr;gap:34px}
  .feat-grid{grid-template-columns:repeat(2,1fr);gap:18px}
  .ed-story-img{order:2;max-width:440px;margin:0 auto;width:100%}
  .ed-bistro-imgs{max-width:460px;margin:0 auto;width:100%}
  .ed-statement{min-height:52vh}
}
@media (max-width:560px){
  .mp-feat-head{flex-direction:column;align-items:flex-start;gap:8px}
  .ed-stats{gap:26px}
}
