:root{--nav-height:72px}
section[id]{scroll-margin-top:calc(var(--nav-height) + 16px)}
.menu a.is-active{color:var(--brown);border-bottom-color:var(--gold)}
a:focus-visible,button:focus-visible{outline:3px solid var(--gold);outline-offset:5px}
.menu-toggle{display:none;font:inherit;color:var(--brown);background:var(--paper);border:1px solid var(--line);border-radius:8px;padding:8px 12px;cursor:pointer}
.course-zoom{position:relative;display:block;width:100%;padding:0;border:0;background:transparent;cursor:zoom-in;color:var(--brown);font:inherit}
.zoom-hint{position:absolute;right:6px;bottom:6px;background:rgba(255,253,248,.94);border-radius:5px;padding:2px 7px;font-size:12px}
.course-dialog{width:min(1000px,94vw);max-height:94dvh;padding:48px 16px 12px;border:1px solid var(--line);border-radius:18px;background:var(--paper);color:var(--ink);overflow:auto}
.course-dialog::backdrop{background:rgba(20,12,8,.82)}
.dialog-image{max-height:75dvh;width:100%;object-fit:contain}
.dialog-close{position:absolute;right:10px;top:4px;width:40px;height:40px;font-size:32px;border:0;background:transparent;cursor:pointer;color:var(--brown)}
#course-caption{text-align:center;margin:10px 0 0}
body.image-open{overflow:hidden}
.contact-item a,.address-link{text-decoration:underline;text-decoration-color:var(--gold-2);text-underline-offset:4px;overflow-wrap:anywhere}
.contact-item a:hover,.address-link:hover{color:var(--gold)}
.address-link{display:block;margin-bottom:12px}
@media(max-width:1100px){
 .menu-toggle{display:block}
 .nav-inner{position:relative}
 .menu.is-open{display:flex;position:absolute;left:0;right:0;top:100%;padding:12px 20px;flex-wrap:wrap;background:var(--paper);border:1px solid var(--line);box-shadow:var(--shadow);gap:10px 20px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Typography: calm weights, natural Thai wrapping, and compact desktop sections. */
body{font-weight:400;line-height:1.65}
h1,h2,h3,p{overflow-wrap:break-word;word-break:normal}
.title-en,.script-title{letter-spacing:.035em}
.row-line,.lead,.course-card p,.contact-item p,.addresses p,.story-item p,.bullet-list li,.kitchen-block p{font-weight:400}
.row-title,.why-card h3,.course-card h3,.service-title,.service-mini h3{font-weight:600}
.course-card h3{font-family:'Noto Sans Thai',Tahoma,Arial,sans-serif;font-size:17px;line-height:1.4;letter-spacing:0}
.address-text{display:block;margin-bottom:12px}
@media(min-width:1101px){
 :root{--max:1440px}
 .section,.section.compact,.hero{padding:32px 0}
 .section>.container{min-width:0}
 .title-en{font-size:48px;line-height:1.12;margin:6px 0 10px}
 .script-title{font-size:60px;line-height:1.1;margin:6px 0 12px}
 .subtitle-spaced{font-size:17px;letter-spacing:.16em}
 .pill{font-size:12px;letter-spacing:.16em}
 .lead{font-size:18px;line-height:1.65;margin:12px 0}
 .divider{margin:16px auto}
 .panel{padding:28px;border-radius:20px}
 .hero-grid{grid-template-columns:1fr 1fr;gap:48px}
 .hero-copy{padding:0}
 .hero-logo{width:88px;margin-bottom:10px}
 .hero .title-en{font-size:52px}
 .hero-image img{height:min(620px,72vh);object-fit:contain}
 .statement{font-size:21px;line-height:1.5;font-weight:500;margin:16px auto}
 .hero-copy br,.why-highlight br,.story-item br,.kitchen-block br{display:none}
 .feature-box{margin-top:16px;border-width:1px;border-radius:16px}
 .feature{font-size:13px;font-weight:500;padding:14px 8px}
 .feature img{width:36px;height:36px;margin-bottom:8px}
 .chef-grid{grid-template-columns:.8fr 1.2fr;gap:38px}
 .chef-photo img{height:min(610px,72vh);object-fit:contain}
 .profile-list{gap:20px;margin-top:20px}
 .profile-row{grid-template-columns:48px 1fr;gap:14px}
 .profile-icon{width:44px;height:44px;border-radius:12px}
 .profile-icon img{width:26px;height:26px}
 .row-title{font-size:19px;line-height:1.5;margin-bottom:6px}
 .row-line{font-size:17px;line-height:1.7}
 .why-grid{grid-template-columns:1.2fr repeat(4,1fr);gap:18px;margin-top:26px}
 .why-highlight{padding:22px}
 .why-highlight .icon-img{width:46px;height:46px}
 .why-card img{height:220px}
 .why-card h3{font-size:18px;line-height:1.55}
 .courses-grid{gap:20px 22px;margin-top:20px}
 .course-card img{max-height:190px;object-fit:contain}
 .course-card h3{font-size:16px;margin:10px 0 3px;min-height:2.8em}
 .course-card h3 br{display:none}
 .course-card p{font-size:16px}
 .story-card{max-width:1200px}
 .quote{font-size:25px;font-weight:500;margin:18px 0}
 .story-item{grid-template-columns:64px 1fr;gap:24px;padding:20px 0}
 .story-item img{width:48px;height:48px}
 .story-item p{font-size:19px;line-height:1.75}
 /* The four services form a single overview, with all text kept visible. */
 #services>.container{display:grid;grid-template-columns:1fr 1fr;gap:20px}
 .service-head{grid-column:1/-1}
 .service-head .title-th{font-size:38px;line-height:1.3;margin:4px 0 8px;font-weight:600}
 .two-services{display:contents}
 .service-product,.service-mini,.kitchen-grid{display:grid;grid-template-columns:150px minmax(0,1fr);gap:18px;align-items:start;margin:0;padding:22px;border:1px solid var(--line);border-radius:20px;background:var(--paper-soft);box-shadow:var(--shadow)}
 .service-product{grid-column:1;grid-row:2}
 .two-services .service-mini:first-child{grid-column:2;grid-row:2}
 .two-services .service-mini:last-child{grid-column:1;grid-row:3}
 .kitchen-grid{grid-column:2;grid-row:3}
 .service-mini .mini-image,.private-images{grid-column:1;grid-row:1/3;margin:0;height:auto}
 .service-mini h3,.service-mini>.bullet-list{grid-column:2}
 .service-mini h3{align-self:end;margin:0}
 .service-mini>.bullet-list{align-self:start}
 .service-image img,.service-mini .mini-image img{height:175px;object-fit:cover}
 .private-images{display:grid;grid-template-columns:1fr;gap:10px}
 .private-images img{height:110px}
 .service-title,.service-mini h3{font-size:24px;line-height:1.35}
 .service-title .en,.service-mini h3 .en{font-weight:600;color:var(--brown);white-space:normal}
 .service-title .th,.service-mini h3 .th{font-size:17px;font-weight:500;margin-top:4px;line-height:1.5}
 .bullet-list{margin-top:12px;gap:6px}
 .bullet-list li,.service-mini .bullet-list li{font-size:15px;line-height:1.65;padding-left:16px;font-weight:400}
 .bullet-list li:before{width:5px;height:5px}
 .kitchen-card{padding:5px}
 .kitchen-card img{max-height:230px;object-fit:contain}
 .kitchen-blocks{gap:12px;margin-top:12px;text-align:left}
 .kitchen-block{display:grid;grid-template-columns:28px 1fr;gap:10px;align-items:start}
 .kitchen-block img{width:26px;height:26px;margin:0}
 .kitchen-block p{font-size:16px;line-height:1.65;font-weight:400}
 .kitchen-block .em{font-size:1em;font-weight:500}
 .contact-grid{grid-template-columns:1.3fr .7fr;gap:38px}
 .contact-logo{width:80px;margin-bottom:6px}
 .contact-title{font-size:42px;letter-spacing:.08em;font-weight:500;margin-bottom:16px}
 .contact-list{gap:5px}
 .contact-item{grid-template-columns:38px 1fr;gap:12px;padding:6px 0}
 .contact-item img,.addresses img{width:34px;height:34px;padding:7px}
 .contact-item p,.addresses p{font-size:17px;line-height:1.6;font-weight:400}
 .addresses{grid-template-columns:38px 1fr;gap:12px;padding-top:12px}
 .contact-dessert{align-self:center}
 .contact-dessert img{max-height:460px;width:100%;object-fit:contain}
}
/* Narrow desktop windows retain space for text instead of forcing a fixed height. */
@media(min-width:1101px) and (max-width:1399px){
 #services>.container{grid-template-columns:1fr}
 .service-product,.two-services .service-mini:first-child,.two-services .service-mini:last-child,.kitchen-grid{grid-column:1;grid-row:auto;grid-template-columns:180px minmax(0,1fr)}
 .why-grid{grid-template-columns:repeat(4,1fr)}
 .why-highlight{grid-column:1/-1}
}
/* Full bleed photographs and image-only zoom targets. */
.hero-image img{object-fit:cover;object-position:center}
.why-media{height:205px;overflow:hidden}
.why-media img{width:100%;height:100%;object-fit:cover}
.why-media.inset-source img{transform:scale(1.2);object-position:center 28%}
.course-card .course-zoom{overflow:hidden;border-radius:8px;aspect-ratio:1}
.course-card .course-zoom img{width:100%;height:100%;max-height:none;aspect-ratio:1;object-fit:cover;border-radius:0}
.zoom-hint{display:none}
.service-zoom{display:block;width:100%;padding:0;border:0;background:transparent;cursor:zoom-in;overflow:hidden;border-radius:12px}
.service-zoom img{width:100%;display:block}
.story-card{max-width:1440px}
.story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:24px}
.story-grid .story-item{display:block;padding:0;border:1px solid var(--line);border-radius:18px;background:var(--paper);overflow:hidden;text-align:left}
.story-grid .story-item .story-photo{width:100%;height:210px;margin:0;object-fit:cover}
.story-copy{padding:20px}
.story-copy h3{font-size:21px;font-weight:600;line-height:1.5;margin:0 0 10px;color:var(--brown)}
.story-grid .story-item p{font-size:16px;line-height:1.8;font-weight:400;margin:0}
.story-grid .story-item br{display:none}
.course-dialog{width:98vw;max-width:none;height:96dvh;max-height:96dvh;padding:48px 20px 16px}
.course-dialog .dialog-image{width:100%;height:calc(96dvh - 112px);max-height:none;object-fit:contain}
@media(min-width:1101px){
 .hero-image img{height:min(620px,72vh);object-fit:cover}
 .why-media{height:220px}
 .why-media img{height:100%}
 .story-grid .story-item .story-photo{height:210px}
 .private-images .service-zoom img{height:110px}
 .kitchen-card .service-zoom img{max-height:230px;object-fit:contain}
}
@media(max-width:900px){
 .story-grid{grid-template-columns:1fr}
 .story-grid .story-item .story-photo{height:auto;aspect-ratio:3/2}
}

/* Hero follows the attached photograph's native proportions. */
#top .hero-image{align-self:center}
#top .hero-image img{display:block;width:100%;height:auto;max-height:none;aspect-ratio:auto;object-fit:contain}
.chef-bullets{margin:8px 0 0;padding-left:1.25em;list-style:disc;text-align:left}
.chef-bullets li{padding-left:4px;margin:0 0 12px}
.chef-bullets li::marker{color:var(--gold)}
@media(min-width:1101px){
 .chef-grid{align-items:stretch}
 .chef-photo{position:relative;min-height:0;overflow:hidden}
 .chef-photo img{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:cover;object-position:54% 58%;transform:scale(1.3)}
}
@media(max-width:1100px){
 .chef-photo{overflow:hidden;aspect-ratio:4/3}
 .chef-photo img{width:100%;height:100%;object-fit:cover;object-position:54% 58%;transform:scale(1.2)}
}

/* Keep the instructor visible in the first portrait Story photograph. */
.story-grid .story-item:first-child .story-photo{object-position:center 46%}
.service-zoom{position:relative;z-index:1;pointer-events:auto}
