/* Runway pass (Bon via HQ, 13.11): attitude below the hero, same tokens, no new colours.
   Decisions (page-patterns / typography / spacing / motion):
   - page-patterns: marketing home = stacked sections (one job each); asymmetric 12-col editorial grid, copy pushed right, fewer elements (no creases, no rounded cards).
   - typography: one family, weights 600/500/400 (none above 600); display headings up to 9.5vw with 0.92 line height (documented marketing-display exception, below 1.1); body 16-19px, secondary 14-15px, meta 12px; Thai stays at 1.3+.
   - spacing: 8pt steps (clamp values land on 8s at the ends), body copy max 60ch, section padding 96-180px, 24px card padding and 8px micro gaps.
   - motion: tokens 100/150/200ms only, ease-out in, transform + opacity only; a hard cut (8px step + opacity) replaces the slow rise; hovers are instant (100ms) flat fills and border changes; reduced motion = still end states.
   Colour: orange fills (LINE) and green markers only, about 10%, one leads per screen; no gradients, no glow. */
:root { --sec: clamp(96px, 11.25vw, 180px); }

/* ---- Headlines: oversized, tight, hard ---- */
html .section-title { font-size: clamp(48px, 9.2vw, 136px); font-weight: 600; line-height: 0.92; letter-spacing: -0.06em; text-wrap: balance; max-width: 9.5em; }
html[lang="th"] .section-title { font-size: clamp(38px, 6.4vw, 104px); line-height: 1.3; letter-spacing: -0.01em; }
html[lang="de"] .section-title { hyphens: manual; overflow-wrap: break-word; }
html .section-title .a-lead { font-weight: 300; }
html .section-title .a-hl { color: var(--muted); }
html .section-header { max-width: none; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 var(--gap); margin-bottom: clamp(40px, 6vw, 88px); }
html .section-header > * { grid-column: 1 / -1; }
html .section-header .section-title { padding-bottom: 0.12em; }
html .section-header .section-intro { grid-column: 1 / -1; max-width: 34ch; margin-top: 32px; font-size: clamp(17px, 0.6vw + 13px, 20px); position: relative; z-index: 0; }
@media (min-width: 900px) { html .section-header .section-intro { grid-column: 8 / -1; margin-top: clamp(24px, 2.4vw, 40px); } }
html .eyebrow { letter-spacing: 0.16em; }
html .sec-open { margin-bottom: 24px; }
html .sec-no { font-weight: 300; }
html .sec-crease { display: none; }

/* ---- Hard edges: no arches, no rounded plates ---- */
html .wk-frame.stage-frame, html .wk-sheetfig img, html .wp-shot, html .wp-sheetfig img, html .wp-id, html .wk-phone-frame, html .cc-shot, html .cc-brand, html .sl-media, html .sl-frame { border-radius: 0; }
html .wp-shot, html .wk-frame.stage-frame { clip-path: inset(0 0 0 0); }
html .price-package, html .svc { border-radius: 0; }

/* ---- Services: fewer lines, quiet cards, sharp hover ---- */
html .svc-grid { gap: clamp(24px, 3vw, 40px); }
html .svc { padding: 32px clamp(16px, 2vw, 24px); }
html .asm-bd, html.asm .asm-bd, html.asm .price-package .asm-bd { border-radius: 0; }
html .svc h3 { font-size: clamp(24px, 2.6vw, 36px); letter-spacing: -0.04em; }
html .svc-visual { border-radius: 0; }

/* ---- Work (home): lean ---- */
html .work .sl-line, html .work .sl-copy p { max-width: 52ch; }

/* ---- Process: big numerals, square marks ---- */
html .studio-intro { margin-bottom: clamp(56px, 8vw, 112px); }
html .studio-intro > p:last-child { grid-column: 1 / 8; font-size: clamp(17px, 0.6vw + 13px, 20px); }
html .process-step { padding-top: 32px; }
html .process-step::before { border-radius: 0; width: 8px; height: 8px; top: -4px; background: var(--accent-acid); }
html .process-step > span { font-size: clamp(56px, 6vw, 96px); font-weight: 300; letter-spacing: -0.06em; color: var(--text); margin-bottom: 24px; }
html .process-step h3 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.03em; }

/* ---- Prices: slider (see the 13.11 p12 block at the end) ---- */
html .price-amount { font-size: clamp(52px, 5.6vw, 96px); letter-spacing: -0.06em; margin: 24px 0 16px; }
html .price-head h3 { font-size: clamp(24px, 2.6vw, 36px); letter-spacing: -0.04em; }
html .price-sub { font-size: 16px; max-width: 36ch; }
html .price-features li, html .price-more li { font-size: 16px; }
html .price-delivery { font-size: 14px; }
html .price-index { color: var(--muted); }
html .price-extras { border-radius: 0; }

/* ---- Doing it yourself: staggered, quiet ---- */
html .diy-points { gap: 0 var(--gap); align-items: start; }
@media (min-width: 900px) { html .diy-point:nth-child(2) { margin-top: 64px; } html .diy-point:nth-child(3) { margin-top: 128px; } }
html .diy-point h3 { font-weight: 600; font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -0.04em; }
html .diy-point p { font-size: 17px; max-width: 30ch; }

/* ---- FAQ: warm, readable ---- */
html .faq-item summary { font-size: clamp(18px, 0.5vw + 14px, 22px); letter-spacing: -0.02em; }
html .faq-item p { max-width: 58ch; color: var(--text); opacity: 0.88; font-size: 17px; line-height: 1.7; padding-bottom: 32px; }
html[lang="th"] .faq-item p { line-height: 1.9; }
html .faq-item summary:hover, html .faq-item summary:focus-visible { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent-acid); text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* ---- Contact: LINE + Email side by side, one tap each ---- */
html .contact-copy .section-title { max-width: 8.5em; font-size: clamp(56px, 12vw, 184px); margin-bottom: 40px; }
html[lang="th"] .contact-copy .section-title { font-size: clamp(44px, 8vw, 128px); max-width: 10em; }
html .contact-copy > p:last-child { max-width: 46ch; }
html .contact-actions { margin-top: 48px; }
html .contact-actions .btn-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 720px; }
html .contact-actions .btn-pair .btn { flex: none; }
html .contact .btn-pair .btn-primary:first-child:hover, html .contact .btn-pair .btn-primary:first-child:focus-visible { background: var(--text); }
html .wp-contact .btn-pair { display: grid; grid-template-columns: 1fr 1fr; max-width: 640px; gap: 16px; }
html .wp-contact .btn-pair .btn { flex: none; }
html .wp-contact .section-title { font-size: clamp(48px, 9vw, 120px); max-width: 9em; }
html[lang="th"] .wp-contact .section-title { font-size: clamp(36px, 6vw, 88px); }
html .contact .btn, html .wp-contact .btn { border-radius: 0; }
html .contact-copy-mail { font-size: 15px; }

/* ---- Sharp interaction: flat, instant ---- */
html .btn { transition: background var(--m-100) linear, color var(--m-100) linear, border-color var(--m-100) linear; }
html .btn-secondary:hover, html .btn-secondary:focus-visible { background: var(--text); color: var(--ink); border-color: var(--text); }
html .piece-link:hover, html .cc-link:hover { text-decoration-color: var(--accent-acid); }

/* ---- Work page ---- */
html .work-page .wp-intro { padding-top: clamp(136px, 14vw, 200px); padding-bottom: clamp(56px, 8vw, 120px); }
html .wp-grid { gap: clamp(72px, 9vw, 144px) var(--gap); }
html .wp-card { border-top: 1px solid var(--line2); padding-top: 32px; }
html .wp-name { font-size: clamp(40px, 5.6vw, 88px); letter-spacing: -0.06em; line-height: 0.95; }
html .wp-id { border-radius: 0; }
html .wp-sw { border-radius: 0; }
@media (min-width: 900px) { html .wp-grid > .wp-card:nth-child(even):not(.wp-client) { margin-top: 96px; } }

/* ---- Concepts page ---- */
html .cc-name { letter-spacing: -0.06em; }

/* ---- Motion: hard cut in, tokens only; still when reduced ---- */
@keyframes cut { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
html.motion.reveal-ready .reveal.is-visible { animation: cut var(--m-150) var(--ease-out) calc(var(--i, 0) * 40ms) backwards; }
@media (prefers-reduced-motion: reduce) {
  html .reveal, html .reveal.is-visible { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
  html .btn, html .faq-item summary span:last-child { transition: none !important; }
}
html #process-title { line-height: 1.02; }
html #work-title { max-width: 7em; }
html .contact-actions { border: 0; border-radius: 0; background: none; padding: 0; box-shadow: none; }
html .cc-contact .section-title { font-size: clamp(48px, 9vw, 120px); max-width: 9em; }
html[lang="th"] .cc-contact .section-title { font-size: clamp(36px, 6vw, 88px); }
html .cc-contact .btn-pair { display: grid; grid-template-columns: 1fr 1fr; max-width: 640px; gap: 16px; }
html .cc-contact .btn-pair .btn { flex: none; border-radius: 0; }


/* ---- 13.11 p12: buttons, price slider, fewer lines (Bon 13.11) ---- */
/* One button size everywhere: label 18px / 700 on a 56px button (Ink on orange 6.9:1; the header and sticky buttons are 44px with 15px / 700). */
html .btn, html .btn-large { min-height: 56px; padding: 12px 28px; font-size: 18px; font-weight: 700; letter-spacing: 0; line-height: 1.2; }
html .header-line, html .sticky-btn { font-size: 15px; font-weight: 700; }
html[lang="th"] .btn { line-height: 1.35; }

/* Price slider: native scroll-snap, the middle package starts centred, its neighbours peek. From 1100px all three sit side by side. No frames: a lighter ground groups each card. */
html .pricing-grid { --cw: min(72vw, 360px); --gp: 12px; display: flex; gap: var(--gp); max-width: none; margin-inline: calc(var(--pad) * -1); padding: 8px calc(50% - var(--cw) / 2) 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: calc(50% - var(--cw) / 2); overscroll-behavior-x: contain; scrollbar-width: none; scroll-behavior: auto; }
html .pricing-grid::-webkit-scrollbar { display: none; }
html .pricing-grid:focus-visible { outline: 2px solid var(--focus); outline-offset: -4px; }
html .price-package { flex: 0 0 var(--cw); scroll-snap-align: center; scroll-snap-stop: always; display: flex; flex-direction: column; padding: 32px 24px; border: 0; border-radius: 0; background: color-mix(in srgb, var(--cream) 5%, var(--ink)); }
html .price-featured { background: color-mix(in srgb, var(--cream) 10%, var(--ink)); }
html .price-amount { margin: 20px 0 16px; font-size: clamp(40px, 11vw, 56px); letter-spacing: -0.05em; }
html .price-head h3 { margin: 12px 0 8px; font-size: clamp(22px, 6vw, 28px); letter-spacing: -0.03em; }
html .price-sub { max-width: none; }
html .price-cta { margin-top: 16px; }
html .price-dots { display: flex; justify-content: center; gap: 4px; margin-top: 8px; }
html .price-dot { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; background: transparent; cursor: pointer; }
html .price-dot::before { content: ""; width: 12px; height: 12px; background: color-mix(in srgb, var(--cream) 45%, var(--ink)); }
html .price-dot[aria-current="true"]::before { background: var(--cream); }
html .price-dot:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
@media (min-width: 640px) { html .pricing-grid { --cw: 360px; --gp: 20px; margin-inline: calc(var(--pad) * -1); } }
@media (min-width: 1100px) {
  html .pricing-grid { --gp: clamp(20px, 2vw, 32px); margin-inline: 0; padding: 16px 0; overflow: visible; scroll-snap-type: none; }
  html .price-package { flex: 1 1 0; min-width: 0; padding: clamp(32px, 3vw, 44px) clamp(24px, 2.4vw, 36px); }
  html .price-featured { scale: 1.04; }
  html .price-amount { font-size: clamp(44px, 4vw, 60px); }
  html .price-head h3 { font-size: clamp(24px, 2.2vw, 30px); }
  html .price-dots { display: none; }
}
@media (prefers-reduced-motion: reduce) { html .pricing-grid { scroll-behavior: auto; } }

/* ---- 13.11 p12 lines audit (Bon 13.11: no hairlines or borders without a reason). Full table: STUDIO/LINES_AUDIT_2026-11-13.md.
   Kept on purpose: button outlines, focus rings, form fields, the active-language and active-tab marks, nav hover underline, the add-on price rows, palette chips, the phone mockup bezel.
   Removed: section/crease/step/footer rules, card and media frames, dimension/corner/ring marks, blueprint overlay lines, list rules. Cards group by a flat fill instead. ---- */
html .section::before, html .sec-open::before, html .sec-open::after, html .sec-crease, html .process-list::before, html .process-step::before,
html .faq-item::after, html .site-footer::before, html .svc::before, html .svc::after, html .asm-bd, html .asm-tab, html .asm-top,
html .dim, html .wf, html .dm::before, html .dm .dl, html .dm .ring, html .construct, html .xhair, html .measure, html .lock,
html .title-block span::before, html .title-block span::after, html .contact-actions::before, html .contact-actions::after { display: none !important; }
html .site-header, html .site-header.is-scrolled, html .site-footer, html .title-block, html .title-block span, html .title-block span:last-child,
html .work, html .wk + .wk, html .wk-tabs, html .wp-card, html .pn h2, html .diy-point, html .case-more, html .notes, html .notes li,
html .delivered-list, html .delivered-list li, html .cm-dl > div, html .cm-dl > div:last-child, html .care-dl > div, html .care-line, html .add-ons, html .svc-eg,
html .process-step, html .process-step:last-child, html .faq-list, html .faq-item, html.motion.wow .faq-item, html .svc, html.asm .svc, html .price-package, html.asm .price-package,
html .stage-frame, html .svc-visual, html .wk-sheet-scroll, html .chosen, html.motion.reveal-ready .svc { border-color: transparent !important; border-width: 0 !important; }
html .wk-tabs [role="tab"] { border-bottom: 2px solid transparent !important; }
html .wk-tabs [role="tab"][aria-selected="true"] { border-bottom-color: var(--fg) !important; }
html .add-ons li { border-bottom: 1px solid var(--line) !important; }
html .hero-clip { box-shadow: none; }
html .svc { background: var(--surface); }
html .svc-visual { background: color-mix(in srgb, var(--cream) 10%, var(--ink)); }
html .svc-eg span { border: 0; background: color-mix(in srgb, var(--cream) 10%, var(--ink)); }
html .chosen { padding: 20px 24px; background: var(--surface); }
html .process-step { padding: 8px 0 0; }
@media (max-width: 767px) { html .process-step { padding: 0 0 28px 0; } }
html .faq-item { margin: 0; }
html .faq-item summary { padding-block: 20px; }
html .cm-dl > div, html .care-dl > div, html .notes li, html .delivered-list li { padding-block: 10px; }
html .sl-media { border: 0; }
html .sl-tag { border: 0; background: color-mix(in srgb, var(--cream) 10%, var(--ink)); color: var(--text); }
html .wp-id, html .wp-sheetfig img { border: 0; }
html .wp-tag { border: 0; background: color-mix(in srgb, var(--cream) 10%, var(--ink)); color: var(--text); }

/* Services, 13.11 p12 point 6: compact rows (number, headline, one short line, +) that open in place into the full card. Native details, no pinning. */
html { interpolate-size: allow-keywords; }
html .svc-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
html .svc, html .svc-1, html .svc-2, html .svc-3, html .svc-4, html .svc-5 { grid-column: 1 / -1; padding: 0; gap: 0; }
.svc-d { display: block; }
.svc-sum { display: grid; grid-template-columns: 44px minmax(0, 20rem) minmax(0, 1fr) 44px; align-items: center; column-gap: 16px; min-height: 72px; padding: 14px clamp(16px, 2vw, 24px); cursor: pointer; list-style: none; }
.svc-sum::-webkit-details-marker { display: none; }
.svc-sum:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.svc-sum .svc-num { color: var(--ac); }
html .svc-sum h3 { font-size: clamp(20px, 2vw, 28px); margin: 0; }
.svc-short { color: var(--fg2); font-size: 15px; line-height: 1.45; }
html[lang="th"] .svc-short { line-height: 1.7; }
.svc-pm { grid-column: 4; justify-self: end; display: grid; place-items: center; width: 44px; height: 44px; background: color-mix(in srgb, var(--cream) 10%, var(--ink)); color: var(--cream); font: 400 28px/1 var(--font-mono, monospace); }
.svc-pm::before { content: "+"; }
.svc-d[open] .svc-pm::before { content: "\2212"; }
.svc-sum:hover .svc-pm { background: var(--cream); color: var(--ink); }
.svc-d[open] .svc-short { display: none; }
.svc-body { display: flex; flex-direction: column; gap: 16px; padding: 8px clamp(16px, 2vw, 24px) 28px; }
@media (max-width: 767px) {
  .svc-sum { grid-template-columns: 32px minmax(0, 1fr) 44px; row-gap: 4px; }
  .svc-sum h3 { grid-column: 2; }
  .svc-short { grid-column: 2; grid-row: 2; }
  .svc-sum .svc-num { grid-row: 1; align-self: start; padding-top: 6px; }
  .svc-pm { grid-column: 3; grid-row: 1 / span 2; }
}
@supports selector(::details-content) {
  .svc-d::details-content { block-size: 0; opacity: 0; overflow: clip; transition: block-size 260ms ease, opacity 200ms ease, content-visibility 260ms allow-discrete; }
  .svc-d[open]::details-content { block-size: auto; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .svc-d::details-content { transition: none !important; } }

/* ---- Pass 12 points 8 and 9 (13.11): compact process, DIY points above the price slider, space for the sticky bar ---- */
html #process.studio { padding-block: clamp(32px, 5vw, 56px); }
html .studio-intro { margin-bottom: clamp(16px, 2.5vw, 28px); gap: 8px var(--gap); }
html .studio-intro .section-title { font-size: clamp(26px, 4.2vw, 44px); }
html .studio-intro > p:last-child { margin-top: 0; font-size: 16px; }
html .process-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px var(--gap); }
html .process-step { padding: 0; }
html .process-step > span { margin-bottom: 4px; font-size: 14px; font-weight: 600; letter-spacing: .04em; line-height: 1.2; color: var(--ac); }
html .process-step h3 { margin-bottom: 4px; font-size: clamp(17px, 1.6vw, 20px); }
html .process-step p { font-size: 14px; line-height: 1.4; max-width: none; }
@media (max-width: 767px) { html .process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 16px; } html .process-step { padding: 0; } }
html .diy-points { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px var(--gap); margin: 0 0 clamp(20px, 3vw, 32px); }
html .diy-point { padding: 0; margin: 0 !important; }
html .diy-point h3 { margin-bottom: 4px; font-size: clamp(17px, 1.4vw, 20px); font-weight: 600; }
html .diy-point p { font-size: 14px; line-height: 1.4; max-width: none; }
@media (max-width: 767px) { html .diy-points { grid-template-columns: 1fr; gap: 12px; } }
html { scroll-padding-bottom: 88px; }
@media (max-width: 1199px) { html body { padding-bottom: calc(52px + env(safe-area-inset-bottom)); } }

/* Pass 12 QA fix (13.11): 768 to 899px, the logo animation, h1 and CTAs come first and sit in the first viewport; the clip follows below */
@media (min-width: 768px) and (max-width: 899px) {
  html .hero-inner { order: -1; padding: 96px 0 24px; }
  html .hero-clip { order: 1; margin-top: 0; }
}
