/* Sub-pages (work, concepts, lab, privacy, impressum, 404) on the M6 look. Tokens, header, footer and .btn come from /style.css (read-only).
   Ink / cream / orange / lime only, square corners, Inter Tight. Page layouts: pages.css (work, concepts, lab), privacy.css (privacy, impressum). */
:root{--mute:color-mix(in srgb,var(--cream) 74%,var(--base))}
.subpage main{display:block}
.subpage .skip{font-family:var(--sans)}
section.sec{position:relative;padding:clamp(48px,7vw,96px) 0;background:var(--base);color:var(--cream)}
.subpage main>section:first-child,.subpage main>article:first-child,.subpage main.nf{padding-top:clamp(112px,13vw,176px)}
section.sec:not(.wp-intro){max-width:1360px;margin-inline:auto;padding-inline:var(--gut)}
.subpage .section-inner{max-width:1360px;margin:0 auto;padding:0 var(--gut)}
.subpage .section-header{margin-bottom:clamp(32px,5vw,64px);max-width:1100px}
.subpage .section-title{margin:0;font-size:clamp(30px,7vw,96px);font-weight:800;line-height:1.02;letter-spacing:-.04em;text-transform:uppercase;overflow-wrap:break-word;hyphens:auto}
html:lang(th) .subpage .section-title{line-height:1.25;letter-spacing:0;text-transform:none}
.subpage .section-intro{margin:20px 0 0;max-width:62ch;font-size:var(--fs-lead);line-height:var(--lh-body);color:var(--mute)}
.subpage .mono{font-feature-settings:"tnum";font-size:var(--fs-xs);font-weight:600;letter-spacing:.06em;text-transform:uppercase}
html:lang(th) .subpage .mono{letter-spacing:.02em;text-transform:none}
/* links */
.text-link,.cc-link,.lb-link{display:inline-flex;align-items:center;min-height:44px;color:var(--cream);font-weight:600;text-decoration:underline;text-decoration-color:var(--orange);text-decoration-thickness:2px;text-underline-offset:5px}
.text-link:hover,.cc-link:hover,.lb-link:hover,.text-link:focus-visible,.cc-link:focus-visible,.lb-link:focus-visible{color:var(--green);text-decoration-color:var(--green)}
/* contact band: orange, as on the home page */
section.wp-contact,section.cc-contact{position:relative;padding:clamp(56px,8vw,112px) 0;background:var(--orange);color:var(--base)}
section.cc-contact{margin-top:clamp(56px,6.5vw,96px)}
.wp-contact .eyebrow{color:var(--base)}
.wp-contact .eyebrow::before{background:var(--base)}
.wp-contact .section-title,.cc-contact .section-title{max-width:12em;margin-bottom:var(--s-6);font-size:clamp(32px,6.4vw,92px)}
.cc-actions{display:block}
.btn-pair{display:flex;flex-wrap:wrap;gap:var(--s-4);max-width:560px}
.btn-pair .btn{flex:1 1 200px;min-height:56px;white-space:normal;text-align:center;line-height:1.15;padding:10px 20px;font-size:var(--fs-m);background:var(--base);border-color:var(--base);color:var(--cream)}
.btn-pair .btn:hover,.btn-pair .btn:focus-visible{background:var(--green);border-color:var(--green);color:var(--base)}
.wp-contact :focus-visible,.cc-contact :focus-visible{outline-color:var(--base)}
/* 404 */
.subpage main.nf{width:min(960px,100%);margin:0 auto;padding-left:var(--gut);padding-right:var(--gut);padding-bottom:clamp(48px,8vw,96px);min-height:70svh}
.nf-title{margin:0;font-size:clamp(40px,11vw,136px);font-weight:800;line-height:.92;letter-spacing:-.045em;text-transform:uppercase;overflow-wrap:break-word}
.nf p:not(.eyebrow){max-width:46ch;margin:28px 0 0;font-size:var(--fs-xl);line-height:1.6;color:var(--mute)}
.nf nav{display:flex;flex-wrap:wrap;gap:var(--s-3);margin-top:36px}
.nf nav a{display:inline-flex;align-items:center;justify-content:center;min-height:56px;padding:10px 28px;border:1px solid var(--cream);color:var(--cream);font:600 var(--fs-m)/var(--lh-tight) var(--sans);letter-spacing:.08em;text-transform:uppercase;text-decoration:none}
.nf nav a:first-child{background:var(--orange);border-color:var(--orange);color:var(--base)}
.nf nav a:hover,.nf nav a:focus-visible{background:var(--green);border-color:var(--green);color:var(--base)}
@media(max-width:479px){.nf nav{flex-direction:column}}
/* footer: sits on the dark page like the home footer */
.subpage .foot{position:relative}
@media print{.top,.skip{display:none}}
