@charset "utf-8";
/* Plus Press site stylesheet.
   Built from the Design System "Plus Press" (tokens.json + components/bundle.css), Graphite theme.
   Plain CSS: no framework, no build step. Class names start with pp-. */

/* ---------- Fonts (self-hosted, SIL Open Font License: see fonts/OFL-*.txt) ---------- */
@font-face { font-family: "Google Sans"; src: url("../fonts/GoogleSans-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Google Sans"; src: url("../fonts/GoogleSans-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Google Sans"; src: url("../fonts/GoogleSans-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Anuphan"; src: url("../fonts/Anuphan-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Anuphan"; src: url("../fonts/Anuphan-SemiBold.woff2") format("woff2"); font-weight: 600 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Noto Sans Thai Looped"; src: url("../fonts/NotoSansThaiLooped-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Noto Sans Thai Looped"; src: url("../fonts/NotoSansThaiLooped-SemiBold.woff2") format("woff2"); font-weight: 600 700; font-style: normal; font-display: swap; }

/* ---------- Tokens (Graphite theme) ---------- */
:root {
	--surface: #333333;
	--surface-panel: #000000;
	--steel: #5f5f5f;
	--line: #5f5f5f;
	--line-strong: #9f9f9f;
	--ink: #d6d6d6;
	--ink-strong: #ffffff;
	--ink-muted: #9f9f9f;
	--on-steel: #ffffff;
	--pink: #ea5160;
	--on-pink: #000000;
	--logo-black: #1d1d1b;
	--wine: #7d1b32;
	--accent: #f28ba5;
	--link: var(--accent);
	--blush: #f9e8eb;
	--on-blush: #333333;
	--rose: #df6a91;
	--chrome: #e4e4dc;
	--chrome-edge: #adada0;
	--on-chrome: #5c5d60;
	--chrome-active: #6e6e6e;
	--on-chrome-active: #ffffff;
	--caution: #dfbf58;
	--on-caution: #333333;

	--font-emphasis: "Google Sans", Anuphan, Thonburi, Tahoma, sans-serif;
	--font-text: "Google Sans", "Noto Sans Thai Looped", Tahoma, sans-serif;
	--font-latin: "Google Sans", Helvetica, Arial, sans-serif;

	--space-1: 4px;
	--space-2: 8px;
	--space-3: 12px;
	--space-4: 16px;
	--space-6: 24px;
	--space-8: 32px;
	--space-12: 48px;
	--space-gutter: 60px;

	--radius-none: 0;
	--radius-panel: 8px;

	--page-max: 1003px;
	--content-max: 883px;
	--measure: 38em;
	--tap-min: 44px;

	--focus-ring: 0 0 0 2px #333333, 0 0 0 4px #f28ba5;
	color-scheme: dark;
}

/* ---------- Base ---------- */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-text); font-size: 16px; line-height: 28px; background: var(--surface); color: var(--ink); overflow-wrap: break-word; }
img { max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid transparent; outline-offset: 2px; box-shadow: var(--focus-ring); }
h1, h2, h3 { text-wrap: balance; }
.pp-page { box-sizing: border-box; max-width: var(--page-max); margin: 0 auto; padding: 0 var(--space-4); }
@media (min-width: 1024px) { .pp-page { padding: 0 var(--space-gutter); } }
.pp-visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Skip link: hidden until focused with the keyboard */
.pp-skip { position: absolute; left: var(--space-4); top: -100px; z-index: 10; padding: var(--space-2) var(--space-4); background: var(--surface-panel); color: var(--ink-strong); }
.pp-skip:focus { top: var(--space-2); }

/* ---------- SiteHeader (Plain variant) ---------- */
.pp-header { container: ppheader / inline-size; background: var(--steel); color: var(--on-steel); }
.pp-header__in { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); padding: 0 var(--space-6) 0 0; }
.pp-header__logo { display: block; flex: 0 1 auto; min-width: 0; line-height: 0; }
.pp-header__motto { margin: 0; flex: none; font-size: 34px; line-height: .82; font-weight: 400; letter-spacing: -.05em; text-align: right; color: var(--on-steel); }
.pp-header__motto span { display: block; }
@container ppheader (max-width: 640px) {
	.pp-header__in { padding-right: var(--space-4); }
	.pp-header__motto { font-size: 20px; }
}
@container ppheader (max-width: 400px) { .pp-header__motto { display: none; } }
.pp-header--plain { background: var(--surface); color: var(--ink-strong); border-bottom: 1px solid var(--line); }
.pp-header--plain .pp-header__in { padding: var(--space-4) 0; }
.pp-header--plain .pp-header__logo { display: flex; align-items: flex-end; gap: var(--space-4); text-decoration: none; color: inherit; line-height: normal; }
.pp-header--plain .pp-header__logo img { display: block; width: 72px; height: auto; }
@container ppheader (max-width: 640px) { .pp-header--plain .pp-header__in { padding: var(--space-3) 0; } }
.pp-header__name { font-size: 15px; line-height: 20px; font-weight: 600; letter-spacing: .08em; color: var(--ink-strong); padding-bottom: 2px; }
.pp-header__name small { display: block; font-size: 13px; line-height: 20px; font-weight: 400; letter-spacing: 0; color: var(--ink-muted); }
.pp-header--plain .pp-header__motto { color: var(--ink-strong); }

/* ---------- NavBar ---------- */
.pp-nav { container: ppnav / inline-size; margin-top: var(--space-4); }
.pp-nav__toggle { display: none; box-sizing: border-box; min-height: var(--tap-min); padding: 0 var(--space-4); font: inherit; font-size: 15px; line-height: 20px; color: var(--ink-strong); background: transparent; border: 1px solid var(--line-strong); border-radius: 0; cursor: pointer; }
.pp-nav__toggle::before { content: ""; display: inline-block; width: 16px; height: 10px; margin-right: var(--space-2); vertical-align: 1px; border-top: 2px solid; border-bottom: 2px solid; background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat; }
.pp-nav__list { display: flex; margin: 0; padding: 0; list-style: none; background: var(--chrome); border-bottom: 2px solid var(--chrome-edge); }
.pp-nav__list li { flex: 1 1 0; border-right: 1px solid var(--chrome-edge); }
.pp-nav__list li:last-child { border-right: 0; }
.pp-nav__list a { display: flex; align-items: center; justify-content: center; box-sizing: border-box; min-height: 32px; height: 100%; padding: var(--space-1) var(--space-2); font-size: 15px; line-height: 20px; color: var(--on-chrome); text-decoration: none; text-align: center; white-space: nowrap; }
.pp-nav__list a:hover, .pp-nav__list a[aria-current] { background: var(--chrome-active); color: var(--on-chrome-active); }
.pp-nav__list a[aria-current] { box-shadow: inset 0 -3px 0 var(--pink); }
.pp-nav__list a:focus-visible { box-shadow: var(--focus-ring); position: relative; z-index: 1; }
/* The seven labels need about 760px in one row, so the bar folds into the phone menu below 800px */
@container ppnav (max-width: 799px) {
	.pp-nav__toggle { display: inline-flex; align-items: center; margin: 0 0 var(--space-3); }
	.pp-nav__list { display: block; border-bottom: 0; }
	.pp-nav.is-js .pp-nav__list { display: none; }
	.pp-nav.is-open .pp-nav__list { display: block; }
	.pp-nav__list li { border-right: 0; border-bottom: 1px solid var(--chrome-edge); }
	.pp-nav__list li:last-child { border-bottom: 0; }
	.pp-nav__list a { justify-content: flex-start; min-height: var(--tap-min); padding: var(--space-3) var(--space-4); font-size: 16px; }
	.pp-nav__list a[aria-current] { box-shadow: inset 4px 0 0 var(--pink); }
}

/* ---------- Page body ---------- */
.pp-main { padding: var(--space-8) 0 var(--space-12); }
.pp-section { margin-top: var(--space-12); }
.pp-section:first-child { margin-top: 0; }
.pp-section--rule { padding-top: var(--space-12); border-top: 1px solid var(--line); }
.pp-more { margin: var(--space-4) 0 0; font-family: var(--font-emphasis); }
.pp-gap-top { margin-top: var(--space-4); }

/* ---------- Hero ---------- */
.pp-hero { container: pphero / inline-size; margin-bottom: var(--space-12); }
.pp-hero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 360px; background: var(--surface-panel); }
.pp-hero__motto { align-self: center; margin: 0; padding: var(--space-8) var(--space-6); font-size: 72px; line-height: .82; font-weight: 400; letter-spacing: -.05em; color: var(--ink-strong); }
.pp-hero__motto span { display: block; }
.pp-hero__photo { position: relative; min-height: 240px; }
.pp-hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@container pphero (max-width: 640px) {
	.pp-hero__in { grid-template-columns: minmax(0, 1fr); min-height: 0; }
	.pp-hero__photo { order: -1; aspect-ratio: 16 / 9; min-height: 0; }
	.pp-hero__motto { font-size: 48px; padding: var(--space-6) var(--space-4); }
}

/* ---------- Home banner with parallax (Dawn's choice, D33) ----------
   The whole 2011 home image (motto and white veil are part of the picture) across the page width.
   The image is taller than its frame by 2 x --travel; js/site.js slides it more slowly than the page.
   No movement for visitors whose device asks for reduced motion, or without JavaScript. */
.pp-banner { position: relative; overflow: hidden; margin: 0 0 var(--space-12); aspect-ratio: 883 / 430; background: var(--surface-panel); --travel: 56px; }
.pp-banner img { position: absolute; left: 0; top: calc(-1 * var(--travel)); width: 100%; height: calc(100% + 2 * var(--travel)); max-width: none; object-fit: cover; object-position: 0% 50%; transform: translate3d(0, calc(var(--parallax, 0) * var(--travel)), 0); will-change: transform; }
@media (max-width: 640px) { .pp-banner { aspect-ratio: 883 / 520; --travel: 28px; } }
@media (prefers-reduced-motion: reduce) { .pp-banner img { transform: none; } }

/* ---------- SectionHeading ---------- */
.pp-eyebrow { margin: 0 0 var(--space-1); font-size: 13px; line-height: 20px; letter-spacing: .01em; color: var(--ink-muted); }
.pp-heading { margin: 0 0 var(--space-4); font-size: 24px; line-height: 34px; font-weight: 600; color: var(--ink-strong); }
.pp-title { margin: 0 0 var(--space-6); font-size: 40px; line-height: 52px; font-weight: 600; color: var(--ink-strong); }
@media (max-width: 480px) { .pp-title { font-size: 30px; line-height: 40px; } }
.pp-subheading { margin: var(--space-6) 0 var(--space-2); font-size: 18px; line-height: 28px; font-weight: 600; color: var(--ink-strong); }

/* ---------- Prose ---------- */
.pp-prose { max-width: var(--measure); font-size: 16px; line-height: 28px; color: var(--ink); }
.pp-prose p { margin: 0 0 var(--space-4); }
.pp-prose--indent p { text-indent: 3em; }
.pp-prose ol, .pp-prose ul { margin: 0 0 var(--space-4); padding-left: 1.75em; }
.pp-prose li { margin-bottom: var(--space-2); padding-left: var(--space-1); }
.pp-prose strong { font-weight: 600; color: var(--ink-strong); }
.pp-brand { font-weight: 600; letter-spacing: .02em; color: var(--accent); white-space: nowrap; }
.pp-statement { margin: 0 0 var(--space-4); font-size: 20px; line-height: 32px; font-weight: 600; color: var(--accent); }
.pp-note { margin: 0 0 var(--space-4); font-size: 14px; line-height: 24px; color: var(--ink-muted); }

/* ---------- ServiceList ---------- */
.pp-services { max-width: var(--measure); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.pp-services li { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: var(--space-3); padding: var(--space-3) 0; border-bottom: 1px solid var(--line); }
.pp-services__th { font-size: 16px; line-height: 28px; color: var(--ink-strong); }
.pp-services__en { font-size: 14px; line-height: 24px; color: var(--ink-muted); }

/* ---------- WorkGallery ---------- */
.pp-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: var(--space-6); margin: 0; padding: var(--space-6); list-style: none; background: var(--surface-panel); }
.pp-gallery figure { margin: 0; }
.pp-gallery a { display: block; line-height: 0; }
.pp-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 800 / 588; object-fit: cover; background: #ffffff; }
.pp-gallery figcaption { margin-top: var(--space-2); font-size: 13px; line-height: 20px; letter-spacing: .01em; color: var(--ink-muted); }
@media (max-width: 480px) { .pp-gallery { padding: var(--space-4); gap: var(--space-4); } }
/* Three photos (home page): one row of three from 600px, one column below */
@media (min-width: 600px) { .pp-gallery--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- AwardYear ---------- */
.pp-awards { margin: 0; padding: var(--space-6); background: var(--surface-panel); }
.pp-awards__row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-6); padding: var(--space-4) 0; border-bottom: 1px solid var(--line); }
.pp-awards__row:last-child { border-bottom: 0; }
.pp-awards__year { flex: 0 0 auto; min-width: 3.2em; margin: 0; font-size: 48px; line-height: 48px; font-weight: 700; letter-spacing: -.01em; color: var(--ink-strong); }
.pp-awards__items { display: flex; flex-wrap: wrap; gap: var(--space-3); margin: 0; padding: 0; list-style: none; }
.pp-awards__items a { display: block; line-height: 0; }
.pp-awards__items img { display: block; width: 64px; height: auto; }
@media (max-width: 480px) { .pp-awards { padding: var(--space-4); } .pp-awards__year { flex-basis: 100%; font-size: 36px; line-height: 40px; } }

/* ---------- Award detail page ---------- */
.pp-award { margin: 0 0 var(--space-6); background: var(--surface-panel); }
/* The images are 883 x 483 with black bars left and right; the content sits at x = 113-770, centred, so a centred crop drops only the bars */
.pp-award img { display: block; width: 100%; height: auto; aspect-ratio: 658 / 483; object-fit: cover; object-position: 50% 50%; margin: 0 auto; max-width: 658px; }
.pp-pager { display: flex; flex-wrap: wrap; gap: var(--space-3); margin: 0; padding: 0; list-style: none; font-family: var(--font-emphasis); }
.pp-pager a { display: inline-flex; align-items: center; box-sizing: border-box; min-height: var(--tap-min); padding: 0 var(--space-4); border: 1px solid var(--line-strong); color: var(--ink-strong); text-decoration: none; }
.pp-pager a:hover { background: var(--chrome-active); }

/* ---------- ClientWall ---------- */
.pp-clients { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 128px), 1fr)); gap: var(--space-6); margin: 0; padding: var(--space-6); list-style: none; background: var(--surface-panel); }
/* Each tile is a white square made by padding-top: 100%; the logo is placed inside it absolutely,
   so the logo file's own size never changes the grid (Safari on iPhone let 120-240 px logos widen the columns
   and push the last row out of the black panel, reported by Dawn on 2026-10-11). */
.pp-clients li { position: relative; min-width: 0; background: #ffffff; }
.pp-clients li::before { content: ""; display: block; padding-top: 100%; }
.pp-clients img { position: absolute; top: var(--space-2); left: var(--space-2); width: calc(100% - 2 * var(--space-2)); height: calc(100% - 2 * var(--space-2)); object-fit: contain; }
@media (max-width: 480px) { .pp-clients { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); padding: var(--space-4); } }

/* Client names under the logo wall: plain text so search engines and AI tools can read them */
.pp-namelist { columns: 2 260px; column-gap: var(--space-8); margin: 0; padding: 0; list-style: none; font-size: 15px; line-height: 24px; color: var(--ink); }
.pp-namelist li { break-inside: avoid; padding: var(--space-1) 0; border-bottom: 1px solid var(--line); }

/* ---------- ContactCard ---------- */
.pp-contact { box-sizing: border-box; max-width: 440px; padding: var(--space-6); background: var(--blush); color: var(--on-blush); border-radius: var(--radius-panel); font-style: normal; }
.pp-contact a { color: var(--wine); }
.pp-contact a:focus-visible { box-shadow: 0 0 0 2px var(--blush), 0 0 0 4px var(--wine); }
.pp-contact__name { margin: 0; font-size: 24px; line-height: 34px; font-weight: 600; color: var(--on-blush); }
.pp-contact__name-en { margin: 0 0 var(--space-4); font-size: 16px; line-height: 24px; color: var(--on-blush); }
.pp-contact dl { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-2) var(--space-4); font-size: 16px; line-height: 26px; }
.pp-contact dt { font-weight: 600; color: var(--wine); }
.pp-contact dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.pp-contact__en { display: block; margin-top: var(--space-1); }
.pp-contact__call { display: inline-flex; align-items: center; min-height: var(--tap-min); margin-top: var(--space-4); padding: 0 var(--space-4); background: var(--wine); color: #ffffff !important; text-decoration: none; font-weight: 600; }
@media (max-width: 400px) { .pp-contact { padding: var(--space-4); } .pp-contact dl { grid-template-columns: minmax(0, 1fr); gap: 0; } .pp-contact dd { margin-bottom: var(--space-2); } }

/* Contact page: card and map side by side on wide screens */
.pp-contact-layout { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: var(--space-6); align-items: start; }
@media (max-width: 860px) { .pp-contact-layout { grid-template-columns: minmax(0, 1fr); } }
.pp-map { margin: 0; }
.pp-map a { display: block; line-height: 0; }
.pp-map img { display: block; width: 100%; height: auto; background: #ffffff; }
.pp-map figcaption { margin-top: var(--space-2); font-size: 13px; line-height: 20px; color: var(--ink-muted); }

/* ---------- FAQ ---------- */
.pp-faq { max-width: var(--measure); margin: 0; }
.pp-faq dt { margin: var(--space-6) 0 var(--space-2); font-size: 18px; line-height: 28px; font-weight: 600; color: var(--ink-strong); }
.pp-faq dt:first-child { margin-top: 0; }
.pp-faq dd { margin: 0; padding-bottom: var(--space-6); border-bottom: 1px solid var(--line); }
.pp-faq dd p { margin: 0 0 var(--space-2); }
.pp-faq dd p:last-child { margin-bottom: 0; }

/* ---------- Notice ---------- */
.pp-notice { padding: var(--space-4); background: repeating-linear-gradient(-45deg, var(--caution) 0 24px, var(--on-caution) 24px 48px); }
.pp-notice__plate { padding: var(--space-6); background: var(--surface); text-align: center; }
.pp-notice__title { margin: 0; font-size: 24px; line-height: 34px; font-weight: 600; color: var(--ink-strong); }
.pp-notice__text { margin: var(--space-1) 0 0; font-size: 15px; line-height: 20px; letter-spacing: .01em; color: var(--ink-muted); }

/* ---------- Footer ---------- */
.pp-footer { border-top: 1px solid var(--line); background: var(--surface-panel); color: var(--ink-muted); font-size: 14px; line-height: 24px; }
.pp-footer__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-4) var(--space-8); padding: var(--space-8) 0; }
.pp-footer__links { margin: 0; padding: 0; list-style: none; }
.pp-footer address { font-style: normal; max-width: 34em; }
.pp-footer__name { display: block; margin-bottom: var(--space-1); font-family: var(--font-emphasis); font-weight: 600; color: var(--ink-strong); }
.pp-footer a { color: var(--ink); }

/* ---------- Font roles (last, so they win over the component rules above) ---------- */
a, .pp-title, .pp-heading, .pp-subheading, .pp-statement, .pp-eyebrow, .pp-brand, .pp-nav__toggle, .pp-header__name,
.pp-contact__name, .pp-contact dt, .pp-gallery figcaption, .pp-notice__title, .pp-notice__text, .pp-faq dt, .pp-map figcaption { font-family: var(--font-emphasis); }
.pp-header__motto, .pp-hero__motto, .pp-awards__year { font-family: var(--font-latin); }

/* ---------- Print: the site is a printing house, so pages print cleanly ---------- */
@media print {
	:root { --surface: #ffffff; --surface-panel: #ffffff; --ink: #000000; --ink-strong: #000000; --ink-muted: #333333; --accent: #7d1b32; --line: #999999; }
	.pp-nav, .pp-skip, .pp-pager { display: none; }
	a { color: inherit; }
}
