/* Premium layer for the demonstration sites: cinematic heroes, editorial type, refined motion. Loaded after demo.css. */
:root{--ease:cubic-bezier(.2,.7,.1,1);--serif-accent:'Instrument Serif',Georgia,serif}
body{-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
body::after{content:"";position:fixed;inset:0;pointer-events:none;z-index:90;opacity:.05;mix-blend-mode:overlay;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
body.local::after{opacity:.035;mix-blend-mode:multiply}
::selection{background:var(--accent);color:#111}

/* Sticky header that turns solid on scroll */
body.premium header{position:sticky;top:0;z-index:50;max-width:none;margin:0;padding-inline:max(5%,calc((100vw - 1480px)/2 + 74px));border-bottom-color:transparent;transition:background .4s var(--ease),border-color .4s,height .4s var(--ease),backdrop-filter .4s}
body.premium header.is-scrolled{height:74px;backdrop-filter:blur(18px) saturate(1.4);-webkit-backdrop-filter:blur(18px) saturate(1.4);border-bottom-color:var(--line)}
body.food.premium header.is-scrolled{background:#121110d9}
body.local.premium header.is-scrolled{background:#f3f3ede0}
body.food.premium header:not(.is-scrolled){background:linear-gradient(#0009,#0000)}
body.food.premium header:not(.is-scrolled),body.food.premium header:not(.is-scrolled) a:not(.button){color:#fff}

/* Buttons: pill with a sliding arrow */
body.premium .button{position:relative;overflow:hidden;border-radius:999px;letter-spacing:-.1px;transition:transform .35s var(--ease),box-shadow .35s var(--ease),background .3s}
body.premium .button span{display:inline-grid;place-items:center;transition:transform .35s var(--ease)}
body.premium .button:hover span{transform:translate(3px,-3px)}
body.premium .button:hover{transform:translateY(-2px)}
body.premium .p-actions .button,body.premium .l-hero-actions .button{font-size:15px;font-weight:600;gap:22px;min-height:58px;padding-left:26px}
body.premium .p-actions .p-ghost,body.premium .l-hero-actions .p-ghost{min-height:58px}
body.premium header .header-button{font-size:13px;font-weight:600;min-height:46px;padding:0 22px}
.p-ghost{display:inline-flex;align-items:center;gap:12px;padding:17px 26px;border-radius:999px;border:1px solid currentColor;font-weight:600;font-size:15px;transition:background .3s,color .3s}
.p-ghost:hover{background:#fff;color:#111}

/* Marquee */
.p-marquee{overflow:hidden;white-space:nowrap;-webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
.p-marquee-track{display:inline-flex;align-items:center;gap:48px;padding-right:48px;animation:p-marquee 38s linear infinite}
@keyframes p-marquee{to{transform:translateX(-50%)}}

/* Image reveal and hover zoom */
.p-img{overflow:hidden}
.p-img img{transition:transform 1.2s var(--ease)}
.p-img:hover img{transform:scale(1.045)}
@media(prefers-reduced-motion:no-preference){
 .js .p-reveal{clip-path:inset(12% 0 0 0);opacity:0;transform:translateY(30px);transition:clip-path 1.1s var(--ease),opacity .9s var(--ease),transform 1.1s var(--ease)}
 .js .p-reveal.in{clip-path:inset(0);opacity:1;transform:none}
 .p-hero-img,.l-hero-img img{animation:p-zoom 2.4s var(--ease) both}
 .p-rise{animation:p-rise 1.1s var(--ease) both}
 .p-rise.d1{animation-delay:.12s}.p-rise.d2{animation-delay:.24s}.p-rise.d3{animation-delay:.36s}
}
@keyframes p-zoom{from{transform:scale(1.12)}to{transform:scale(1)}}
@keyframes p-rise{from{opacity:0;transform:translateY(40px)}to{opacity:1;transform:none}}

/* ===== Restaurant: cinematic hero ===== */
.p-hero{position:relative;min-height:min(100svh,980px);margin-top:calc(-1 * var(--hdr,88px));display:flex;flex-direction:column;justify-content:flex-end;color:#fff;overflow:hidden;isolation:isolate}
.p-hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 60%;z-index:-2}
.p-hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#0b0a09d9 0,#0b0a0999 38%,#0000 72%),radial-gradient(ellipse at 70% 30%,transparent 0,#0000 35%,#0008 100%),linear-gradient(180deg,#0006 0,#0000 30%,#0000 45%,#0b0a09f2 92%)}
.p-hero-inner{padding-top:calc(var(--hdr,88px) + 80px);padding-bottom:42px}
.p-kicker{display:inline-flex;align-items:center;gap:12px;font:600 12px/1 Inter,Arial,sans-serif;letter-spacing:2.4px;text-transform:uppercase;padding:11px 16px;border:1px solid #ffffff38;border-radius:999px;background:#0000002e;backdrop-filter:blur(10px);margin:0 0 28px}
.p-hero h1{font-family:'Bricolage Grotesque',Inter,sans-serif;font-weight:800;font-size:clamp(64px,11vw,176px);line-height:.86;letter-spacing:-.055em;margin:0 0 34px;color:#fff;max-width:12ch}
.p-hero h1 em{font-family:var(--serif-accent);font-style:italic;font-weight:400;letter-spacing:-.02em;color:var(--accent);padding-right:.06em}
.p-hero-row{display:flex;justify-content:space-between;align-items:flex-end;gap:40px;flex-wrap:wrap}
.p-hero-row p{max-width:430px;font-size:18px;line-height:1.65;color:#ece6dc;margin:0}
.p-actions{display:flex;gap:12px;flex-wrap:wrap}
.p-hero-meta{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #ffffff26;margin-top:44px}
.p-hero-meta>div{padding:22px 0 26px;display:flex;align-items:center;gap:14px;font-size:14px;color:#d9d2c6}
.p-hero-meta>div+div{padding-left:28px;border-left:1px solid #ffffff1f}
.p-hero-meta b{font:400 34px/1 var(--serif-accent);color:#fff;letter-spacing:-.5px}
.p-stars{color:var(--accent);letter-spacing:2px}
.p-scroll{position:absolute;right:max(5%,calc((100vw - 1480px)/2 + 74px));bottom:150px;writing-mode:vertical-rl;font-size:11px;letter-spacing:3px;color:#ffffffa8;display:flex;align-items:center;gap:14px}
.p-scroll::after{content:"";width:1px;height:70px;background:linear-gradient(#fff,transparent);animation:p-line 2.2s var(--ease) infinite}
@keyframes p-line{0%{transform:scaleY(0);transform-origin:top}50%{transform:scaleY(1);transform-origin:top}51%{transform-origin:bottom}100%{transform:scaleY(0);transform-origin:bottom}}

body.food.premium .food-ticker{display:block;padding:26px 0;font-family:'Bricolage Grotesque',Inter,sans-serif;font-size:clamp(22px,2.6vw,38px);font-weight:800;letter-spacing:-.04em}
body.food.premium .food-ticker b{font-family:var(--serif-accent);font-weight:400;font-size:1.2em}

body.food.premium h2{letter-spacing:-.045em;line-height:.95}
body.food.premium h2 em{font-family:var(--serif-accent);font-style:italic;font-weight:400;letter-spacing:-.01em}
body.food.premium .section{padding-block:clamp(90px,11vw,160px)}
body.food.premium .eyebrow{letter-spacing:2.6px;font-size:12px}

/* Menu cards */
body.food.premium .food-menu-grid{gap:22px}
body.food.premium .food-item{background:linear-gradient(180deg,#1d1c1a,#161514);border:1px solid #2e2c29;border-radius:22px;padding:10px 10px 18px;transition:border-color .4s,transform .5s var(--ease),box-shadow .5s var(--ease)}
body.food.premium .food-item:hover{border-color:#ff6a3266;transform:translateY(-6px);box-shadow:0 30px 60px -30px #ff6a3240}
body.food.premium .food-item-image{border-radius:16px;overflow:hidden;height:auto;width:100%;aspect-ratio:4/3.4}
body.food.premium .food-item-image img{width:100%;height:100%;object-fit:cover;transition:transform 1.1s var(--ease)}
body.food.premium .food-item:hover .food-item-image img{transform:scale(1.06)}
body.food.premium .food-item-head,body.food.premium .food-item>p,body.food.premium .food-item>button{margin-inline:10px}
body.food.premium .food-item-head h3{font-size:24px;letter-spacing:-.6px}
body.food.premium .food-item-head p strong{font:400 34px/1 var(--serif-accent);color:var(--accent)}
body.food.premium .filters button{border-radius:999px;transition:background .3s,color .3s,border-color .3s}

/* Story */
body.food.premium .food-story{background:#0f0e0d;color:var(--text)}
body.food.premium .story-photo{border-radius:24px;overflow:hidden}
body.food.premium .story-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 80%;transform:scale(1.12);will-change:transform}
body.food.premium .story-copy h2{font-size:clamp(46px,6vw,92px)}
body.food.premium .story-copy p,body.food.premium .story-values span{color:#cfc8bc}
.p-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin:34px 0 30px;border-block:1px solid #ffffff1f}
.p-stats div{padding:22px 0}
.p-stats div+div{padding-left:22px;border-left:1px solid #ffffff1f}
.p-stats b{display:block;font:400 clamp(40px,4vw,58px)/1 var(--serif-accent);color:#fff}
.p-stats span{font-size:13px;color:#a9a296}

body.food.premium .food-visit .visit-card,body.food.premium .review{border-radius:22px}
body.food.premium .agency-cta h2{font-size:clamp(56px,8vw,120px)}

/* ===== Woodwork: editorial split hero ===== */
.l-hero{display:grid;grid-template-columns:1.05fr 1fr;min-height:min(calc(100svh - 108px),900px);border-bottom:1px solid var(--line)}
.l-hero-copy{display:flex;flex-direction:column;justify-content:space-between;padding:clamp(40px,6vw,90px) clamp(24px,5vw,80px) 40px max(5vw,calc((100vw - 1480px)/2 + 74px))}
.l-hero-copy .eyebrow{margin-bottom:34px}
.l-hero h1{font-family:Fraunces,Georgia,serif;font-weight:400;font-size:clamp(60px,8.4vw,138px);line-height:.88;letter-spacing:-.055em;margin:0}
.l-hero h1 em{font-style:italic;font-weight:300;color:#3d5a40}
.l-hero-lead{max-width:430px;font-size:18px;line-height:1.7;color:var(--muted);margin:34px 0}
.l-hero-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.l-hero-actions .p-ghost{border-color:#1e272040;color:var(--text)}
.l-hero-actions .p-ghost:hover{background:var(--text);color:#f3f3ed}
.l-hero-stats{display:grid;grid-template-columns:repeat(3,1fr);margin-top:56px;border-top:1px solid var(--line)}
.l-hero-stats div{padding-top:20px}
.l-hero-stats div+div{padding-left:20px;border-left:1px solid var(--line)}
.l-hero-stats b{display:block;font:400 clamp(34px,3.4vw,50px)/1 Fraunces,Georgia,serif;letter-spacing:-1.5px}
.l-hero-stats span{font-size:13px;color:var(--muted)}
.l-hero-img{position:relative;overflow:hidden;background:#d8d4c8}
.l-hero-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.l-hero-card{position:absolute;left:28px;bottom:28px;right:28px;max-width:360px;padding:22px 24px;border-radius:18px;background:#f3f3edd9;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);color:#1e2720;box-shadow:0 20px 50px -20px #0005}
.l-hero-card small{display:block;font-size:11px;letter-spacing:2px;color:#5d6a5c;margin-bottom:8px}
.l-hero-card p{margin:0;font:400 22px/1.25 Fraunces,Georgia,serif;letter-spacing:-.4px}
.l-hero-tag{position:absolute;top:24px;right:24px;font-size:11px;letter-spacing:2px;padding:10px 14px;border-radius:999px;background:#1e2720;color:#f3f3ed}

body.local.premium h2{letter-spacing:-.04em;line-height:.98;font-weight:400}
body.local.premium h2 em{font-style:italic;font-weight:300}
body.local.premium .section{padding-block:clamp(90px,11vw,160px)}
body.local.premium .eyebrow{letter-spacing:2.6px;font-size:12px}
body.local.premium .local-intro h2{font-size:clamp(48px,6.4vw,104px)}
.l-marquee{border-block:1px solid var(--line);padding:30px 0;font:400 clamp(30px,4vw,60px)/1 Fraunces,Georgia,serif;letter-spacing:-1.5px;color:var(--text)}
.l-marquee em{font-style:italic;color:#3d5a40}
.l-marquee i{font-style:normal;color:#9aa596;font-size:.6em}
body.local.premium .agency-cta h2{font-size:clamp(56px,8vw,124px)}

@media(max-width:900px){
 .p-hero-meta{grid-template-columns:1fr 1fr}
 .p-hero-meta>div:nth-child(3){display:none}
 .p-scroll{display:none}
 .l-hero{grid-template-columns:1fr}
 .l-hero-img{min-height:62svh}
 .l-hero-copy{padding:44px 21px 34px}
}
@media(max-width:600px){
 body.premium header{padding-inline:21px}
 .p-hero{min-height:92svh}
 .p-hero-inner{padding-bottom:26px}
 .p-hero h1{font-size:clamp(58px,17vw,84px)}
 .p-hero-row p{font-size:16px}
 .p-hero-meta>div{padding:16px 0;font-size:12px;gap:10px}
 .p-hero-meta>div+div{padding-left:16px}
 .p-hero-meta b{font-size:26px}
 .p-actions{flex-direction:column;align-items:stretch}
 .p-actions .button,.p-actions .p-ghost{justify-content:space-between}
 .p-actions .p-ghost{justify-content:center}
 .p-hero::before{background:linear-gradient(180deg,#0009 0,#0006 30%,#0b0a09b3 55%,#0b0a09f5 90%)}
 .p-hero h1 em{font-size:1.1em}
 .p-kicker{letter-spacing:2px;font-size:10px}
 body.premium header .brand small{display:none}
 body.local.premium .header-contact{font-size:0;gap:0}
 body.local.premium .header-contact span{font-size:18px}
 .p-stats b{font-size:36px}
 .p-stats div+div{padding-left:14px}
 .l-hero h1{font-size:clamp(54px,15vw,80px)}
 .l-hero-stats{margin-top:38px}
 .l-hero-stats div+div{padding-left:12px}
 .l-hero-card{left:16px;right:16px;bottom:16px}
}
@media(prefers-reduced-motion:reduce){.p-marquee-track{animation:none}.p-scroll::after{animation:none}}
body.local.premium .local-project-image{border-radius:20px}
body.local.premium .local-project-image img{transition:transform 1.2s var(--ease)}
body.local.premium .local-project:hover .local-project-image img{transform:scale(1.05)}
body.local.premium .local-wide-image{overflow:hidden}
body.local.premium .local-wide-image img{will-change:transform}
body.local.premium .testimonials figure{border-radius:20px;transition:transform .5s var(--ease),box-shadow .5s var(--ease)}
body.local.premium .testimonials figure:hover{transform:translateY(-4px);box-shadow:0 24px 50px -30px #1e272040}
body.local.premium #demo-form{border-radius:22px}
body.local.premium #demo-form input,body.local.premium #demo-form select,body.local.premium #demo-form textarea,body.local.premium #demo-form label:has(input[type=checkbox]){border-radius:12px}
