@font-face{font-family:PalaceBrush;src:url('ma-shan-zheng-home.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
body[data-page="home"]{-webkit-user-select:none;user-select:none}
body[data-page="home"] input,body[data-page="home"] textarea,body[data-page="home"] [contenteditable="true"]{-webkit-user-select:text;user-select:text}
body[data-page="home"] img{-webkit-user-drag:none}
.home-hero-title .hero-letter{display:inline-block;white-space:pre;background-image:inherit;background-size:inherit;background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}
/* The small shrink and upward reframing are baked into this seamless photo. */
body[data-page="home"] .home-hero{--hero-image-scale:1;--hero-image-offset-y:0px;height:100svh;min-height:650px;max-height:none;overflow:hidden}
body[data-page="home"] .home-hero:after{content:'';position:absolute;inset:0;z-index:-4;pointer-events:none;background:url('../img/home-scallop-sharp.webp') 50% 85%/cover no-repeat;filter:saturate(.85)}
.home-content{position:relative;z-index:1;background:var(--paper);isolation:isolate}
body[data-page="home"] #book-by-phone{scroll-margin-top:48px}
body[data-page="home"] .photo-grid .photo:last-child img{object-position:center center}
body[data-page="home"] .feature-food>img,body[data-page="home"] .depth-ready.feature-food>img{top:0;height:100%;object-position:center 25%;transform:none;will-change:auto}
body[data-page="home"] .story-image>img{box-shadow:19px 19px 0 -7px #decba3;outline:1px solid #9a71313b;outline-offset:7px}
@media(max-width:600px){body[data-page="home"] .story-image>img{outline-offset:5px;box-shadow:13px 13px 0 -5px #decba3}}
body[data-page="home"] .story{position:relative;isolation:isolate;overflow:hidden}
body[data-page="home"] .story:before{content:'';position:absolute;inset:0 0 0 45%;z-index:-1;pointer-events:none;background:url('../img/story-clouds-cranes-gold.webp') center/cover no-repeat;mix-blend-mode:multiply;opacity:.18;mask-image:linear-gradient(90deg,transparent,#000 28%)}
@media(max-width:600px){body[data-page="home"] .story:before{inset:0;background-size:auto 100%;background-position:55% center;mask-image:none;opacity:.13}}
@media(prefers-reduced-motion:no-preference){
 body[data-page="home"] .home-hero{position:sticky;top:var(--home-sticky-top,0px);z-index:0}
}
body[data-page="home"] .home-hero>.hero-image{top:0;left:0;width:100%;height:100%;object-fit:cover;object-position:50% 85%;transform:translateY(var(--hero-image-offset-y)) scale(var(--hero-image-scale));will-change:auto;filter:saturate(.85)}
@media(min-width:1181px) and (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
 body[data-page="home"] .home-hero>.hero-image{transform:perspective(1400px) translate3d(var(--pointer-x,0px),calc(var(--pointer-y,0px) + var(--hero-image-offset-y)),0) rotateX(var(--pointer-rx,0deg)) rotateY(var(--pointer-ry,0deg)) scale(var(--hero-image-scale));will-change:transform}
}
@media(max-width:1180px),(hover:none),(pointer:coarse),(prefers-reduced-motion:reduce){.home-hero-title .hero-letter{transform:none!important}}
body[data-page="home"] .home-hero>.hero-shade{background:linear-gradient(180deg,transparent 0%,transparent 65%,#17171180 100%)}
.home-hero-title{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:110px 70px 150px;text-align:center;z-index:1}
body[data-page="home"] .home-hero h1{font-family:PalaceBrush,'Kaiti SC',KaiTi,serif;font-size:clamp(65px,7.7vw,148px);line-height:1.35;letter-spacing:.04em;font-weight:400;color:#a02419;background-image:url('../img/gold-wave-ink.svg'),linear-gradient(145deg,#c2422c,#a82e20 48%,#8d251b);background-size:240px auto,auto;background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;filter:drop-shadow(-.6px -.8px 0 #ffe7b2a6) drop-shadow(1px 1px 0 #782017) drop-shadow(1px 2px 0 #6c1e16) drop-shadow(0 4px 3px #32140e40)}
.home-hero-title>p{font-size:clamp(28px,3vw,54px);line-height:1.3;letter-spacing:.18em;text-transform:uppercase;color:#8c241c;margin:13px 0 12px;text-indent:0;white-space:nowrap;background-image:url('../img/gold-wave-ink.svg'),linear-gradient(145deg,#b33625,#882116);background-size:200px auto,auto;background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;filter:drop-shadow(-.5px -.5px 0 #ffe4a8b3) drop-shadow(.8px 1px 0 #681b14) drop-shadow(0 3px 2px #32140e40)}
.home-hero-title>span{font-size:12px;line-height:1.5;letter-spacing:.28em;color:#78291f}
body[data-page="home"] .home-hero h1{background-size:72px auto,auto}
.home-hero-title>p{background-size:58px auto,auto}
/* Flat printed lettering, lifted only by a soft ambient shadow. */
body[data-page="home"] .home-hero h1{filter:drop-shadow(0 1px 1.5px #0000001f)}
body[data-page="home"] .home-hero h1{-webkit-text-stroke:.5px #d8b66e}
.home-hero-title>p{filter:drop-shadow(0 1px 1px #0000001a);-webkit-text-stroke:.3px #d8b66e}
.home-hero-actions{position:absolute;left:44px;bottom:50px;z-index:2;display:flex;flex-direction:column;align-items:flex-start;gap:5px}
.home-hero-actions>a{font-size:clamp(23px,2vw,32px);line-height:1.4;color:#f5eddc;text-decoration:underline;text-underline-offset:7px;text-decoration-thickness:1px;transition:color .2s}
.home-hero-actions>a:hover,.home-hero-address>a:hover{color:#edcf90}
.home-hero-address{position:absolute;right:90px;bottom:45px;z-index:2;color:#f5eddc;font-size:17px;line-height:1.6;display:flex;flex-direction:column;gap:12px;text-align:left}
.home-hero-address>a{transition:color .2s}
.home-scroll{position:absolute;bottom:40px;left:50%;transform:translateX(-50%);z-index:2;width:44px;height:55px;display:flex;align-items:center;justify-content:center}
.home-scroll>span{display:block;height:40px;width:1px;background:#f5eddcaa;position:relative}
.home-scroll>span:after{content:'';position:absolute;bottom:0;left:-3px;border-right:1px solid #f5eddc;border-bottom:1px solid #f5eddc;width:6px;height:6px;transform:rotate(45deg)}
@media(min-width:1181px){
 body[data-page="home"] .site-header{position:fixed;inset:0 0 auto;background:transparent;border-bottom-color:transparent;transition:background .3s,border-color .3s;color:#f7efdf}
 body[data-page="home"] .site-header:before{opacity:0;transition:opacity .3s}
 body[data-page="home"] .site-header .main-nav>a{color:#f7efdf;text-shadow:0 1px 7px #0005}
 body[data-page="home"] .site-header .main-nav>.nav-call{border:0;padding:14px 0;font-size:18px;color:#f7efdf}
 body[data-page="home"] .site-header .main-nav>.nav-call:after{display:block}
 body[data-page="home"] .site-header .main-nav>.nav-call:hover{background:none;color:#fff4dc}
 body[data-page="home"]:not(.home-past-hero) .site-header .main-nav>a,
 body[data-page="home"]:not(.home-past-hero) .site-header .main-nav>a:hover{color:#8c3329;text-shadow:none}
 body[data-page="home"].home-past-hero .site-header{background:#8c3329;border-bottom-color:#edcf9059}
 body[data-page="home"].home-past-hero .site-header:before{opacity:.15}
 body[data-page="home"] .site-header>.social-links{position:fixed;top:50%;right:0;transform:translateY(-50%);flex-direction:column;gap:1px;padding:12px 8px;background:#8c3329e8;border:1px solid #edcf9066;border-right:0;border-radius:12px 0 0 12px;box-shadow:0 5px 20px #0002}
 body[data-page="home"] .site-header>.social-links:before{content:'';position:absolute;inset:0;z-index:-1;border-radius:inherit;pointer-events:none;background:url('../img/gold-wave-texture.webp') center/230px auto repeat;filter:invert(1) grayscale(1) sepia(1) saturate(2);mix-blend-mode:screen;opacity:.43}
 body[data-page="home"] .site-header>.social-links a{position:relative;z-index:1}
 body[data-page="home"] .site-header>.social-links a{width:34px;height:42px;min-height:42px}
 body[data-page="home"] .site-header>.social-links img{width:19px;height:19px}
}
@media(max-width:1180px){
 body[data-page="home"]{--home-sticky-top:88px}
 body[data-page="home"] .home-hero{height:calc(100svh - 88px);min-height:600px}
 .home-hero-title{padding:60px 35px 130px}
 body[data-page="home"] .home-hero h1{font-size:clamp(51px,8.4vw,95px)}
 .home-hero-address{right:35px;bottom:40px;font-size:15px}
 .home-hero-actions{left:35px;bottom:40px}
}
@media(max-width:600px){
 body[data-page="home"]{--home-sticky-top:calc(80px + env(safe-area-inset-top,0px))}
 body[data-page="home"] .gallery-section .photo-grid>.photo:last-child{display:none}
 body[data-page="home"] .mobile-book{bottom:calc(12px + env(safe-area-inset-bottom,0px) + var(--viewport-bottom,0px))}
 body[data-page="home"] .home-hero{height:calc(100vh - 80px - env(safe-area-inset-top,0px));height:calc(100svh - 80px - env(safe-area-inset-top,0px));min-height:0;background:#f6f2ef}
 body[data-page="home"] .home-hero:after{background-image:url('../img/home-scallop-mobile-food-raised.jpg');background-size:auto 150%;background-position:center 37%}
 body[data-page="home"] .home-hero>.hero-image{top:0;left:0;width:100%;height:100%;object-fit:cover;object-position:54% center;transform:none;opacity:0}
 body[data-page="home"] .home-hero>.hero-shade{background:linear-gradient(180deg,transparent 0%,#f6eee94d 48%,#21180e66 100%)}
 .home-hero-title{inset:0;justify-content:center;padding:0 18px 75px}
 body[data-page="home"] .home-hero h1{font-size:calc((100vw - max(18px,env(safe-area-inset-left,0px)) - max(18px,env(safe-area-inset-right,0px))) / 6);letter-spacing:0;white-space:nowrap;-webkit-text-stroke:0}
 .home-hero-title>p{font-size:clamp(17px,5.1vw,23px);letter-spacing:.11em;margin:8px 0 8px;-webkit-text-stroke:0}
 .home-hero-title>span{font-size:8px;letter-spacing:.17em}
 .home-hero-actions{left:23px;bottom:125px;gap:10px}
 .home-hero-actions>a{font-size:22px}
 .home-hero-address{display:none}
 body[data-page="home"] .site-header>.social-links{position:fixed;top:50%;right:0;transform:translate(100%,-50%);opacity:0;visibility:hidden;pointer-events:none;transition:transform .35s ease,opacity .35s ease,visibility 0s linear .35s;display:flex;flex-direction:column;gap:0;padding:8px 5px;background:#8c3329ee;border:1px solid #edcf9066;border-right:0;border-radius:10px 0 0 10px;box-shadow:0 5px 20px #0002;isolation:isolate}
 body[data-page="home"].home-past-hero .site-header>.social-links{transform:translate(0,-50%);opacity:1;visibility:visible;pointer-events:auto;transition-delay:0s}
 body[data-page="home"] .site-header>.social-links:before{content:'';position:absolute;inset:0;z-index:-1;border-radius:inherit;pointer-events:none;background:url('../img/gold-wave-texture.webp') center/230px auto repeat;filter:invert(1) grayscale(1) sepia(1) saturate(2);mix-blend-mode:screen;opacity:.43}
 body[data-page="home"] .site-header>.social-links a{width:36px;min-height:42px}
 body[data-page="home"] .site-header>.social-links img{width:18px;height:18px}
 .home-scroll{display:none}
}
/* Static hero image with a soft, light field behind the existing red wordmark. */
body[data-page="home"] .home-hero>.hero-image{transform:none!important;will-change:auto}
body[data-page="home"] .home-hero>.hero-shade{background:radial-gradient(ellipse 48% 29% at 50% 47%,rgba(255,250,240,.70) 0%,rgba(255,250,240,.58) 49%,rgba(255,250,240,0) 100%),linear-gradient(180deg,transparent 0%,transparent 65%,#17171180 100%)}
@media(max-width:600px){body[data-page="home"] .home-hero>.hero-shade{background:radial-gradient(ellipse 75% 26% at 50% 43%,rgba(255,250,240,.76) 0%,rgba(255,250,240,.62) 49%,rgba(255,250,240,0) 100%),linear-gradient(180deg,transparent 0%,transparent 58%,#21180e66 100%)}}
/* Center the complete plate in a clear, overhead composition. */
body[data-page="home"] .home-hero:after{background-image:url('../img/home-scallop-low-angle.webp');background-position:center center}
body[data-page="home"] .home-hero>.hero-image{object-position:center center}
body[data-page="home"] .home-hero>.hero-shade{background:linear-gradient(180deg,transparent 0%,transparent 65%,#17171180 100%)}
@media(max-width:600px){body[data-page="home"] .home-hero:after{background-image:url('../img/home-scallop-low-angle.webp');background-size:auto 100%;background-position:center center}body[data-page="home"] .home-hero>.hero-shade{background:linear-gradient(180deg,transparent 0%,transparent 58%,#21180e77 100%)}}
@media(max-width:600px){body[data-page="home"] .home-hero:after{background-image:url('../img/home-scallop-low-angle-mobile.webp');background-size:cover;background-position:center center}}
/* Manual comparison controls for the four homepage image candidates. */
body[data-page="home"] .home-hero:after{background-image:var(--hero-desktop-image,url('../img/hero-options/scallop-lower.webp'))}
.hero-compare{position:absolute;z-index:4;top:105px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:4px;padding:5px 7px;background:#f8f1e9e8;border:1px solid #b98d6b80;border-radius:5px;white-space:nowrap}
.hero-compare-label{font-size:10px;letter-spacing:.14em;color:#7c5143;padding:0 7px}
.hero-compare button{border:0;border-radius:3px;background:transparent;color:#713a2d;padding:7px 9px;font:11px/1.2 var(--serif);letter-spacing:.04em}
.hero-compare button[aria-pressed="true"]{background:#8c3329;color:#fff7e9}
.hero-compare button:focus-visible{outline:2px solid #7b3025;outline-offset:2px}
@media(max-width:1180px){.hero-compare{top:14px}}
@media(max-width:600px){body[data-page="home"] .home-hero:after{background-image:var(--hero-mobile-image,url('../img/hero-options/scallop-mobile.webp'));background-size:cover;background-position:center}.hero-compare{top:12px;gap:1px;padding:4px}.hero-compare-label{display:none}.hero-compare button{font-size:10px;padding:8px 6px}}
/* Subtle story motif on the mobile hero, fading before the food. */
@media(max-width:600px){
 body[data-page="home"] .home-hero:before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:url('../img/story-clouds-cranes-gold.webp') 50% top / 115% auto no-repeat;mix-blend-mode:multiply;opacity:.16;-webkit-mask-image:linear-gradient(#000 0%,#000 46%,transparent 72%);mask-image:linear-gradient(#000 0%,#000 46%,transparent 72%)}
}

/* Raise the mobile picture slightly while keeping the frame filled. */
@media(max-width:600px){body[data-page="home"] .home-hero:after{background-size:auto 106%;background-position:center bottom}}
/* Cover the entire mobile hero on both wide and tall phone screens. */
@media(max-width:600px){body[data-page="home"] .home-hero:after{inset:-3% 0 0;background-size:cover;background-position:center bottom}}
/* Lift the desktop wordmark without changing mobile placement. */
@media(min-width:1181px){body[data-page="home"] .home-hero-title{transform:translateY(-48px)}}

@media(max-width:600px){body[data-page="home"] .home-hero-title{transform:translateY(-20px)}}

/* Mobile carousel: three food photos fade every eight seconds. */
@media(max-width:600px){
 body[data-page="home"] .home-hero:after{background-image:url('../img/hero-options/lobster-mobile.webp')}
 body[data-page="home"] .home-hero-title{transform:translateY(-40px)}
 .hero-compare [data-hero-choice="scallop"]{display:none}
 .hero-mobile-slide{position:absolute;inset:-3% 0 0;z-index:-3;pointer-events:none;background-position:center bottom;background-size:cover;background-repeat:no-repeat;opacity:0;transition:opacity 1s ease}
 .hero-mobile-slide.is-active{opacity:1}
}
@media(min-width:601px){.hero-mobile-slide{display:none}}
@media(prefers-reduced-motion:reduce){.hero-mobile-slide{transition:none}}

/* Homepage carousel shared by desktop and mobile. */
body[data-page="home"] .home-hero:after{background-image:url('../img/hero-options/lobster-lower.webp')}
body[data-page="home"] .home-hero.carousel-ready>.hero-image{opacity:0}
.hero-carousel-slide{position:absolute;inset:0;z-index:-3;pointer-events:none;background-image:var(--slide-desktop);background-position:center;background-size:cover;background-repeat:no-repeat;opacity:0;transition:opacity 1s ease}
.hero-carousel-slide.is-active{opacity:1}
@media(max-width:600px){
 body[data-page="home"] .home-hero:after{background-image:url('../img/hero-options/lobster-mobile.webp')}
 body[data-page="home"] .home-hero-title{transform:translateY(-48px)}
 .hero-carousel-slide{inset:-3% 0 0;background-image:var(--slide-mobile);background-position:center bottom}
}
@media(prefers-reduced-motion:reduce){.hero-carousel-slide{transition:none}}

/* Move the mobile composition upward together; keep full-bleed coverage. */
@media(max-width:600px){
 body[data-page="home"] .home-hero-title{transform:translateY(-58px)}
 .hero-carousel-slide{inset:-3% 0 -10px;transform:translateY(-10px)}
}

/* Keep fading images in one fixed compositing stage. */
.hero-carousel-stage{position:absolute;inset:0;z-index:-3;pointer-events:none;isolation:isolate}
.hero-carousel-stage .hero-carousel-slide{inset:0;z-index:0;opacity:0;transition:none;transform:none;will-change:opacity}
.home-hero-title>span .hero-letter{-webkit-text-fill-color:currentColor;background:none}
@media(max-width:600px){
 body[data-page="home"] .home-hero{position:relative;top:auto}
 .hero-carousel-stage{inset:calc(-3% - 10px) 0 0}
}

/* iOS: keep all hero layers inside a positive stacking context. */
@media(max-width:600px){
 body[data-page="home"]{padding-top:calc(80px + env(safe-area-inset-top,0px))}
 body[data-page="home"] .site-header{position:fixed;top:0;left:0;right:0}
 body[data-page="home"] .home-hero{height:var(--mobile-hero-height,calc(100svh - 80px - env(safe-area-inset-top,0px)));position:relative;isolation:isolate}
 body[data-page="home"] .home-hero:after{z-index:0}
 body[data-page="home"] .hero-carousel-stage{z-index:1;transform:translateZ(0)}
 body[data-page="home"] .home-hero>.hero-shade{z-index:2;pointer-events:none}
 body[data-page="home"] .home-hero:before{z-index:3;mix-blend-mode:normal}
 body[data-page="home"] .home-hero-title{z-index:4}
 body[data-page="home"] .mobile-book{bottom:calc(12px + env(safe-area-inset-bottom,0px))}
}

/* One shared linen surface for all three transparent dish photographs. */
body[data-page="home"] .home-hero{background:#efe4d5 url('../img/hero-options/linen-shared.webp') center top/cover no-repeat}
body[data-page="home"] .home-hero:after{background-image:none}
body[data-page="home"] .photo-grid .photo:first-child img,body[data-page="home"] .photo-grid .photo:last-child img{object-position:center}
@media(min-width:1181px){
 body[data-page="home"] .home-hero{position:sticky;top:calc(100svh - max(133.333svh,75vw));height:max(133.333svh,75vw)}
 body[data-page="home"] .home-hero-title{height:100svh;bottom:auto}
 body[data-page="home"] .home-hero-address{bottom:auto;top:calc(100svh - 140px)}
}
@media(max-width:600px){
 body[data-page="home"] .gallery-section .photo-grid>.photo:last-child{display:block;grid-column:1/-1}
}
/* Give food cards a full square photo above a separate caption strip. */
body[data-page="home"] .gallery-section .photo-grid>.photo{display:grid;grid-template-rows:auto auto;height:auto}
body[data-page="home"] .gallery-section .photo-grid>.photo:after{content:none}
body[data-page="home"] .gallery-section .photo-grid>.photo>img{width:100%;height:auto;aspect-ratio:1;object-fit:contain}
body[data-page="home"] .gallery-section .photo-grid>.photo:first-child>img{height:100%;object-fit:cover}
body[data-page="home"] .gallery-section .photo-grid>.photo>figcaption{position:static;background:var(--red);min-height:68px}

/* Keep the approved mobile hero photographs and backdrop. */
@media(max-width:600px){
 body[data-page="home"] .home-hero{background:#f6f2ef}
 body[data-page="home"] .home-hero:after{background-image:url('../img/hero-options/lobster-mobile.webp')}
}
