/*
Theme Name: Chef Bogdan Piele
Description: Identitate și prezentare pentru Chef Bogdan Piele.
Version: 1.2.9
Text Domain: chef-bogdan
*/
:root{color-scheme:light;--green:#10281e;--ink:#193126;--cream:#f7f1e4;--gold:#e5c285;--dim:#4d5a50}*,*::before,*::after{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:1.5rem}body{margin:0;background:var(--cream);color:var(--ink);font:1rem/1.6 system-ui,sans-serif}a{color:inherit}img{display:block;max-width:100%}h1,h2,h3{font-family:Georgia,serif;line-height:1.07;font-weight:400;margin:0 0 .45em}h1{font-size:clamp(2.6rem,5.6vw,5.25rem);letter-spacing:-.044em}h2{font-size:clamp(2rem,4.4vw,4.15rem);letter-spacing:-.035em}h3{font-size:clamp(1.35rem,2.1vw,1.9rem)}p{margin:0 0 1.1em}.wrap{width:min(1200px,calc(100% - 3rem));margin-inline:auto}.skip{position:absolute;left:1rem;top:.5rem;transform:translateY(-200%);z-index:10;padding:.6rem 1rem;background:#fff}.skip:focus{transform:none}:focus-visible{outline:2px solid currentColor;outline-offset:4px}.top,.hero,.foot{background:var(--green);color:var(--cream)}.bar{min-height:4.65rem;display:flex;gap:1.5rem;justify-content:space-between;align-items:center;border-bottom:1px solid #ffffff30}.brand{text-decoration:none;font:1.26rem Georgia,serif;color:#f8e9c9}.bar nav{display:flex;flex-wrap:wrap;gap:.45rem 1.5rem}.bar nav a{text-underline-offset:.35em}.hero .wrap{padding-block:clamp(3.2rem,7vw,7.2rem);display:grid;grid-template-columns:1.28fr 1fr;gap:clamp(1.6rem,6vw,6rem);align-items:center}.hero p:not(.kicker){max-width:36rem;color:#ede9db}.kicker{color:#7a5425;font-weight:750;font-size:.75rem;letter-spacing:.13em;text-transform:uppercase}.hero .kicker{color:var(--gold)}.emblem{justify-self:center;width:min(100%,26rem);height:auto;aspect-ratio:1;padding:.45rem;border:1px solid #dbc38f61}.btn{display:inline-block;padding:.72rem 1.05rem;border:1px solid currentColor;text-decoration:none;font-weight:700}.btn.gold{background:var(--gold);border-color:var(--gold);color:#182a1c}.btn:hover{text-decoration:underline;text-underline-offset:.22em}.section{padding-block:clamp(3rem,7.3vw,6.8rem)}.section h2{max-width:21ch}.intro{max-width:54ch;color:var(--dim)}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(1rem,3vw,2.65rem);margin-top:2.5rem}.card{border-top:1px solid #9a7944;padding-top:1rem}.card p{color:var(--dim)}.card .num{color:#7a5425;font-size:.8rem;letter-spacing:.1em}.panel{background:#e8e0cd}.panel .wrap{display:grid;grid-template-columns:1fr 1fr;gap:clamp(1rem,6vw,5rem)}.panel ul{margin:.4rem 0 1.3rem;padding-left:1.2rem}.panel li+li{margin-top:.45rem}.foot .wrap{padding:1.4rem 0;display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap}.foot a{text-underline-offset:.2em}@media(max-width:750px){.hero .wrap,.panel .wrap{grid-template-columns:1fr}.hero .emblem{width:min(100%,19rem);justify-self:start}.cards{grid-template-columns:1fr}}@media(max-width:430px){.wrap{width:calc(100% - 2rem)}.bar{padding-block:.65rem;align-items:start;gap:.45rem;flex-direction:column}.bar nav{font-size:.875rem;gap:.85rem}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.profile{background:#e8e0cd}.profile-layout{display:grid;grid-template-columns:1.04fr .96fr;gap:clamp(2rem,7vw,7.25rem);align-items:start}.profile h2{max-width:none}.profile-lead{font:clamp(1.23rem,2.4vw,1.7rem)/1.34 Georgia,serif}.source-note{font-size:.875rem}.profile a,.profile-projects a{text-underline-offset:.2em;overflow-wrap:anywhere}.milestones{list-style:none;padding:0;margin:1.25rem 0 0}.milestones li{display:grid;grid-template-columns:4rem minmax(0,1fr);column-gap:.6rem;padding:.8rem 0;border-top:1px solid #9a7944}.milestones span{font-weight:750;color:#704d22}.milestones small{grid-column:2;display:block;margin-top:.18rem;color:#37463d}.profile-projects a{font-size:.9rem;font-weight:650}.profile-projects{margin-top:1.7rem}#oferta{border-top:1px solid #c9b68e}@media(max-width:750px){.profile-layout{grid-template-columns:1fr}.profile-layout h3{margin-bottom:0}}

/* Pagini editoriale și rezumatele din prima pagină. */
.top nav [aria-current="page"]{color:var(--gold);text-decoration:underline;text-underline-offset:.36em}
.bp-page-heading{padding:clamp(2rem,6vw,4.2rem) 0;background:var(--green);color:var(--cream)}
.bp-page-heading h1{max-width:23ch;margin:0;font-size:clamp(2.4rem,7vw,5.1rem)}
.bp-page-copy .section{padding-block:clamp(2.6rem,6vw,4.5rem)}
.bp-home-section{padding-block:clamp(2.1rem,5vw,4rem);border-top:1px solid #d5ccbd}
.bp-home-section .btn,.bp-callout .btn{margin-top:.65rem}
.bp-callout{max-width:58ch;margin-top:3rem;padding-top:1rem;border-top:1px solid #d5ccbd}
.bp-page-portrait{margin-block:2rem 0}.bp-page-portrait img{display:block;width:min(100%,36rem);height:auto;max-height:34rem;object-fit:contain;object-position:left center;border-radius:.35rem}
@media (max-width:750px){.top .bar nav{max-width:100%;flex-wrap:wrap;row-gap:.3rem}.top .bar nav a{white-space:normal}.bp-page-heading h1{max-width:100%}}

.brand,.foot-brand{display:inline-flex;align-items:center;gap:.65rem;flex-shrink:0}.brand-mark{width:2.6rem;height:2.6rem;object-fit:contain;border-radius:.28rem}.foot-brand .brand-mark{width:2.12rem;height:2.12rem}.hero-portrait{margin:0;justify-self:center;width:min(100%,28rem);padding:.45rem;border:1px solid #dbc38f61}.hero-portrait img{width:100%;height:auto;aspect-ratio:602/640;object-fit:cover}.foot .wrap{align-items:center}@media(max-width:870px){.bar{flex-wrap:wrap;row-gap:.55rem;padding-block:.65rem}}@media(max-width:750px){.hero-portrait{justify-self:start;max-width:28rem}}@media(max-width:430px){.brand-mark{width:2.15rem;height:2.15rem}}

/* Main navigation: larger links on desktop and a mobile disclosure. */
.top .bar{column-gap:clamp(1rem,3vw,2.4rem)}
.top .bar nav{gap:clamp(.65rem,1.65vw,1.5rem);align-items:center}
.top .bar nav a{display:flex;align-items:center;min-height:44px;font-size:clamp(1.05rem,1.32vw,1.31rem);line-height:1.22}
.top .bar nav a:focus-visible,.bp-menu-toggle:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
.bp-menu-toggle{display:none}
@media (max-width:860px){
 .top .bar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.45rem .7rem;align-items:center;padding-block:.72rem}
 .top .bar .brand{min-width:0;justify-self:start}
 .top .bar .brand img{max-width:100%;height:auto}
 .bp-menu-toggle:not([hidden]){display:inline-flex;align-items:center;justify-content:center;gap:.48rem;min-height:46px;padding:.48rem .7rem;border:1px solid var(--gold);border-radius:.35rem;background:transparent;color:var(--cream);font:inherit;font-weight:650;line-height:1;cursor:pointer}
 .bp-menu-toggle:not([hidden])[aria-expanded="false"] + #bp-main-nav{display:none}
 .bp-menu-toggle .bp-menu-close,.bp-menu-toggle[aria-expanded="true"] .bp-menu-bars{display:none}
 .bp-menu-toggle[aria-expanded="true"] .bp-menu-close{display:initial}
 .top .bar #bp-main-nav{display:grid;grid-column:1 / -1;gap:0;align-items:stretch;width:100%;max-width:none;padding-top:.45rem}
 .top .bar #bp-main-nav a{min-height:49px;justify-content:flex-start;padding:.55rem .32rem;border-top:1px solid rgba(238,233,219,.21);font-size:1.14rem}
 .top .bar #bp-main-nav a:first-child{border-top:0}
}

/* Header monogram and wordmark scale together. Footer/hero marks stay unchanged. */
.top .bar .brand{gap:.65rem;font-size:clamp(1.38rem,1.9vw,1.65rem);line-height:1.04}
.top .bar .brand .brand-mark{width:3.55rem;height:3.55rem;flex:none}
@media (max-width:860px){
 .top .bar .brand{gap:.52rem;font-size:clamp(1.32rem,5.55vw,1.52rem)}
 .top .bar .brand .brand-mark{width:3.15rem;height:3.15rem}
 .top .bar .brand span{min-width:0;text-wrap:balance}
}

@media (max-width:355px){
 .top .bar{column-gap:.45rem}
 .top .bar .brand{gap:.42rem}
 .top .bar .brand>span{text-wrap:wrap}
 .top .bar .brand .bp-brand-name{white-space:nowrap}
 .bp-menu-toggle:not([hidden]){gap:.35rem;padding-inline:.42rem;font-size:.92rem}
 .bp-menu-toggle svg{width:18px;height:18px}
}

/* Shared footer: mirror the header mark and wordmark scale. */
.foot .wrap{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.65rem 1.5rem;padding-block:1.55rem}
.foot .foot-brand{font-family:Georgia,serif;display:inline-flex;align-items:center;justify-self:start;gap:.65rem;font-size:clamp(1.38rem,1.9vw,1.65rem);line-height:1.04}
.foot .foot-brand .brand-mark{width:3.55rem;height:3.55rem;flex:none}
.foot .bp-foot-credit{grid-column:1;grid-row:2;margin:0;font-size:.95rem;line-height:1.5}
.foot .bp-foot-credit a{color:inherit;text-underline-offset:.2em;white-space:nowrap}
.foot .bp-foot-top{grid-column:2;grid-row:1 / 3;display:flex;align-items:center;min-height:44px;white-space:nowrap}
.foot a:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
@media (max-width:860px){
 .foot .foot-brand{gap:.52rem;font-size:clamp(1.32rem,5.55vw,1.52rem)}
 .foot .foot-brand .brand-mark{width:3.15rem;height:3.15rem}
}
@media (max-width:545px){
 .foot .wrap{grid-template-columns:minmax(0,1fr);gap:.6rem}
 .foot .bp-foot-top{grid-row:3;grid-column:1;justify-self:start}
}

/* Variant B: brand lockup, shared across every page. */
:root{--green:#162923;--ink:#1a3027;--gold:#d8b579}
.top .bar{min-height:5.25rem}
.top .bar .brand,.foot .foot-brand{display:inline-flex;align-items:center;gap:.58rem}
.bp-selected-mark{width:4.15rem;height:4.45rem;display:inline-block;position:relative;overflow:hidden;flex:none;vertical-align:middle}
.bp-selected-mark img{position:absolute;display:block;width:13.6rem;max-width:none;height:auto;left:50%;top:-.88rem;transform:translateX(-50%);mix-blend-mode:screen;filter:saturate(.75)}
.top .bar .brand .bp-selected-label,.foot .foot-brand .bp-selected-label{white-space:nowrap;line-height:1.04;text-wrap:nowrap}
.bp-selected-domain{font:500 .72rem/1.26 system-ui,sans-serif;letter-spacing:.13em;color:#e5c992;display:block;padding-top:.32rem}
.chef-gallery .chef-media-emblem .bp-full-lockup{background:var(--green);display:grid;place-items:center;isolation:isolate;min-height:100%;padding:1.25rem 0 2.2rem;border:1px solid #d8b57955;width:100%;margin:auto}
.chef-gallery .chef-media-emblem .bp-full-lockup img{background:transparent;border:0;padding:0;aspect-ratio:auto;box-shadow:none;mix-blend-mode:screen;filter:saturate(.78);width:100%;height:auto;max-height:none;object-fit:contain;display:block}
.chef-gallery .chef-media-emblem .bp-full-lockup span{font:500 clamp(.85rem,2vw,1.15rem)/1.4 Georgia,serif;color:#f6e8cd;letter-spacing:.12em}
@media(max-width:860px){.top .bar{min-height:4.45rem}.top .bar .brand,.foot .foot-brand{gap:.42rem}.bp-selected-mark{width:3.3rem;height:3.65rem}.bp-selected-mark img{width:11.2rem;top:-.73rem}.bp-selected-domain{padding-top:.23rem;font-size:.66rem}}
@media(max-width:390px){.top .bar .brand,.foot .foot-brand{font-size:clamp(1.05rem,5.1vw,1.32rem)}.top .bar .brand{gap:.31rem}.bp-selected-mark{width:2.9rem;height:3.28rem}.bp-selected-mark img{width:9.9rem;top:-.64rem}.bp-selected-domain{font-size:.62rem;letter-spacing:.08em}}

/* Keep the selected monogram crop in the header, not the scaled wordmark. */
.top .bar .brand .bp-selected-mark img{max-width:none}
@media(max-width:860px){.top .bar .brand .bp-selected-mark{width:3.55rem;height:3.95rem}.top .bar .brand .bp-selected-mark img{width:12.15rem;top:-.82rem}}
@media(max-width:420px){.top .bar .brand .bp-selected-mark{width:3.2rem;height:3.65rem}.top .bar .brand .bp-selected-mark img{width:11.2rem;top:-.73rem}}
@media(max-width:360px){.top .bar .brand{font-size:clamp(.97rem,4.7vw,1.08rem)}.top .bar .brand .bp-selected-mark{width:2.9rem;height:3.32rem}.top .bar .brand .bp-selected-mark img{width:10.15rem;top:-.66rem}}
