@font-face {
    font-family: 'Noto Sans Thai';
    font-style: normal;
    font-weight: 300 600;
    font-display: swap;
    src: url('assets/fonts/noto-sans-thai-300-600-thai.woff2') format('woff2');
    unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
    font-family: 'Noto Sans Thai';
    font-style: normal;
    font-weight: 300 600;
    font-display: swap;
    src: url('assets/fonts/noto-sans-thai-300-600-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Apollo';
    font-style: normal;
    font-weight: normal;
    font-display: swap;
    src: url('assets/fonts/apollo.woff2') format('woff2'),
         url('assets/fonts/APOLLO.otf') format('opentype');
}

:root {
    --blue-hour: #17283c;
    --blue-deep: #0e1b2b;
    --blue-mid: #233a52;
    --blue-accent: #12368c;
    /* Derived off --blue-accent's own hue (H222), never off the old navy:
       -deep gives orange accents contrast headroom on filled sections,
       -soft keeps paragraph-length copy readable without going gray. */
    --blue-accent-deep: #0c235a;
    --blue-accent-soft: #354f8d;
    --gallery-white: #f0e9e1;
    /* Text cream. --gallery-white is 91% lightness, so as type on a dark
       field it reads as white; this is the same hue carried warmer. */
    --cream-warm: #eddfc9;
    --cool-white: #ffffff;
    --night-ink: #17212d;
    --body-ink: #2e3b49;
    --muted-ink: #5c6975;
    --mist-line: rgba(23, 40, 60, 0.16);
    --mist-line-dark: rgba(237, 223, 201, 0.18);
    --orange: #e35a0a;
    --orange-ink: #a8460f;
    --orange-hover: #e97a2e;
    /* Same hue family as --orange, dark enough to keep cream nav text and the
       orange CTA legible against it. Scrim only — not a palette colour. */
    --orange-deep: #2b1408;
    --error: #a8392f;
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Manrope', sans-serif;
    --radius: 14px;
    --radius-sm: 8px;
    --display: clamp(3.6rem, 7.1vw, 6rem);
    --headline: clamp(3rem, 6vw, 5.5rem);
    --title: clamp(2.2rem, 4.2vw, 4.25rem);
    --lead: clamp(1.06rem, 1.45vw, 1.25rem);
    --shell: min(100% - clamp(40px, 7vw, 112px), 1560px);
    --section-space: clamp(88px, 11vw, 176px);
    --header-height: 78px;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --duration: 700ms;
    --z-header: 100;
    --z-drawer: 200;
    --z-skip: 300;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { font-size: 16px; scroll-behavior: smooth; scroll-padding-top: var(--header-height); overflow-x: clip; -webkit-text-size-adjust: 100%; }
body {
    min-width: 320px;
    overflow-x: hidden;
    background: var(--gallery-white);
    color: var(--blue-accent-soft);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { display: block; width: 100%; height: auto; }
picture { display: contents; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 {
    color: var(--blue-accent);
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.04;
    letter-spacing: -0.01em;
    text-wrap: balance;
}
p { text-wrap: pretty; }
address { font-style: normal; }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
::selection { background: var(--orange); color: var(--blue-deep); }
.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: var(--z-skip);
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    background: var(--orange);
    color: var(--blue-deep);
    font-weight: 600;
    transform: translateY(-160%);
    transition: transform 220ms var(--ease-out);
}
.skip-link:focus { transform: translateY(0); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.section-shell { width: var(--shell); margin-inline: auto; }
.section-marker {
    color: var(--orange-ink);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    line-height: 1.4;
    text-transform: uppercase;
}

/* Site Header */
/* Intro Overlay: wordmark letters arrive one by one on a calm solid field, then fade cleanly into the page. */
.site-intro {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--blue-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    pointer-events: none;
    overflow: hidden;
    opacity: 1;
    transition: opacity 700ms cubic-bezier(0.4, 0, 0.2, 1);
}
.site-intro.is-leaving { opacity: 0; }
.intro-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.intro-wordmark {
    font-family: 'Apollo', var(--font-display);
    font-size: clamp(1.75rem, 6vw, 4.6rem);
    line-height: 1.05;
    color: #ffffff;
    white-space: nowrap;
    text-shadow: 0 4px 30px rgba(18, 54, 140, 0.45);
}
.intro-main { font-weight: 600; letter-spacing: 0.05em; }
.intro-sub { font-weight: 300; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.9); margin-left: 0.22em; }
.intro-letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(0.3em);
    animation: introLetterIn 550ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: calc(var(--intro-letter-index, 0) * 55ms);
}
.intro-tagline {
    font-family: var(--font-body);
    font-size: clamp(0.7rem, 1.1vw, 0.82rem);
    font-weight: 600;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--orange);
    margin-top: 16px;
    opacity: 0;
    animation: introTaglineFade 550ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 750ms;
}

@keyframes introLetterIn {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes introTaglineFade {
    to { opacity: 1; }
}

.home-page #hero {
    animation: heroCinematicReveal 2.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroCinematicReveal {
    0% { transform: scale(1.04); filter: brightness(0.92); }
    65% { transform: scale(1.02); filter: brightness(0.96); }
    100% { transform: scale(1); filter: brightness(1); }
}

/* Site Header */
.site-header,
#header {
    position: fixed;
    inset: 0 0 auto;
    z-index: var(--z-header);
    height: var(--header-height);
    color: var(--gallery-white);
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: background-color 320ms ease, border-color 320ms ease, backdrop-filter 320ms ease;
}
.site-header.header-scrolled,
#header.header-scrolled {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(18, 54, 140, 0.08);
    backdrop-filter: blur(1.5px);
    -webkit-backdrop-filter: blur(1.5px);
}
.header-container {
    width: var(--shell);
    height: 100%;
    margin-inline: auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: clamp(24px, 4vw, 72px);
}
.brand-logo { display: inline-flex; align-items: center; min-height: 44px; color: #ffffff; transition: color 320ms ease; }
.site-header.header-scrolled .brand-logo,
#header.header-scrolled .brand-logo { color: var(--blue-accent); }
.logo-text { font-family: var(--font-display); font-size: 1.22rem; font-weight: 500; letter-spacing: 0.055em; white-space: nowrap; }
.logo-light { font-weight: 300; }
.nav-menu { display: flex; justify-content: center; align-items: center; gap: clamp(22px, 2.7vw, 48px); }
.nav-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 320ms ease;
}
.nav-item::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 7px; height: 2px; background: var(--blue-accent); transition: right 260ms var(--ease-out), background-color 320ms ease; }
.nav-item:hover, .nav-item[aria-current='true'] { color: #ffffff; }
.nav-item:hover::after, .nav-item[aria-current='true']::after { right: 0; }
.site-header.header-scrolled .nav-item,
#header.header-scrolled .nav-item { color: var(--blue-accent); }
.site-header.header-scrolled .nav-item:hover,
.site-header.header-scrolled .nav-item[aria-current='true'],
#header.header-scrolled .nav-item:hover,
#header.header-scrolled .nav-item[aria-current='true'] { color: var(--orange); }
.site-header.header-scrolled .nav-item::after,
#header.header-scrolled .nav-item::after { background: var(--orange); }
.header-right { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.language-switch {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    white-space: nowrap;
    transition: color 320ms ease;
}
.language-switch a { transition: color 180ms ease; }
.language-switch a:hover,
.language-switch a[aria-current='page'] { color: #ffffff; }
.language-switch a[aria-current='page'] { text-decoration: underline; text-decoration-color: var(--blue-accent); text-underline-offset: 5px; }
.language-divider { color: rgba(255, 255, 255, 0.35); transition: color 320ms ease; }
.site-header.header-scrolled .language-switch,
#header.header-scrolled .language-switch { color: var(--blue-accent); }
.site-header.header-scrolled .language-switch a:hover,
.site-header.header-scrolled .language-switch a[aria-current='page'],
#header.header-scrolled .language-switch a:hover,
#header.header-scrolled .language-switch a[aria-current='page'] { color: var(--orange); text-decoration-color: var(--orange); }
.site-header.header-scrolled .language-divider,
#header.header-scrolled .language-divider { color: rgba(18, 54, 140, 0.3); }
.site-header.header-scrolled .hamburger,
#header.header-scrolled .hamburger { color: var(--blue-accent); }
.btn-hire {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 20px;
    border-radius: var(--radius-sm);
    background: var(--blue-accent);
    color: var(--orange);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: background-color 180ms ease, color 180ms ease, transform 180ms var(--ease-out);
}
.btn-hire:hover { background: var(--blue-accent-deep); color: var(--orange-hover); transform: translateY(-2px); }

html[lang='th'] {
    --font-display: 'Noto Sans Thai', Tahoma, sans-serif;
    --font-body: 'Noto Sans Thai', Tahoma, sans-serif;
}
html[lang='th'] body { line-height: 1.8; }
html[lang='th'] h1,
html[lang='th'] h2,
html[lang='th'] h3,
html[lang='th'] h4 {
    line-height: 1.16;
    letter-spacing: 0;
    text-wrap: pretty;
}
html[lang='th'] .section-marker,
html[lang='th'] .nav-item,
html[lang='th'] .btn-hire,
html[lang='th'] .text-action,
html[lang='th'] .step-num,
html[lang='th'] .map-index,
html[lang='th'] .btn-submit,
html[lang='th'] .hire-mobile {
    letter-spacing: 0;
    text-transform: none;
}
html[lang='th'] .hero-title { max-width: 13ch; font-size: clamp(2.3rem, 4.6vw, 4rem); }
html[lang='th'] .statement-grid h2,
html[lang='th'] .projects-header h2,
html[lang='th'] .services-header h2,
html[lang='th'] .process-header h2 { line-height: 1.16; }
html[lang='th'] .work-card-title,
html[lang='th'] .process-copy h3,
html[lang='th'] .map-prompt,
html[lang='th'] .footer-brand,
html[lang='th'] .project-next strong { line-height: 1.2; }
.mobile-language { margin-top: 22px; }
.mobile-language .language-switch { min-height: 48px; font-size: 0.9rem; }
.hamburger { display: none; width: 44px; height: 44px; padding: 10px 7px; border: 0; background: transparent; cursor: pointer; }
.bar { display: block; width: 100%; height: 1px; margin: 6px 0; background: currentColor; transition: transform 260ms var(--ease-out), opacity 200ms ease; }
.hamburger[aria-expanded='true'] .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded='true'] .bar:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded='true'] .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav,
.mobile-nav-backdrop { display: none; }

/* Hero — rotating full-bleed project carousel */
.hero {
    position: relative;
    width: 100%;
    height: 100svh;
    min-height: 560px;
    background: var(--orange-deep);
    color: var(--cream-warm);
    overflow: hidden;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1100ms var(--ease-out); }
.hero-slide.is-active { opacity: 1; }
.hero-slide picture, .hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: clamp(28px, 4vh, 48px);
    padding: calc(var(--header-height) + clamp(20px, 4vh, 48px)) clamp(24px, 5vw, 92px) clamp(28px, 5vh, 64px);
    background:
        linear-gradient(180deg, rgba(8, 16, 26, 0.08) 0%, rgba(8, 16, 26, 0.18) 22%, rgba(43,20,8,0.14) 44%, rgba(43,20,8,0.82) 100%),
        linear-gradient(90deg, rgba(8, 16, 26, 0.42) 0%, rgba(8, 16, 26, 0.08) 36%, rgba(8, 16, 26, 0) 68%);
}
.hero-caption {
    max-width: 720px;
    padding-top: clamp(22px, 3vw, 34px);
    border-top: 1px solid rgba(237, 223, 201, 0.34);
}
.hero-title { font-size: clamp(2.8rem, 5.7vw, 5rem); font-weight: 300; color: var(--cream-warm); text-shadow: 0 2px 20px rgba(0,0,0,0.5); }
.hero-desc { margin-top: 16px; max-width: 42ch; font-size: clamp(1rem, 1.35vw, 1.16rem); line-height: 1.65; color: rgba(237,223,201,0.92); text-shadow: 0 1px 14px rgba(0,0,0,0.6); }
.hero-caption .text-action { margin-top: 20px; }
.hero-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    padding-top: 18px;
    border-top: 1px solid rgba(237, 223, 201, 0.2);
}
.hero-nav { display: flex; align-items: center; gap: 18px; }
.hero-arrow { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(237,223,201,0.14); color: var(--cream-warm); font-size: 1.3rem; line-height: 1; cursor: pointer; transition: background-color 180ms ease; }
.hero-arrow:hover { background: rgba(237,223,201,0.26); }
.hero-counter { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.1em; color: rgba(237,223,201,0.78); }

/* Text action link */
.text-action { display: inline-flex; align-items: center; gap: 8px; color: var(--blue-accent); font-size: 0.76rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: color 180ms ease; }
.text-action:hover { color: var(--orange-ink); }
.text-action--light { color: var(--cream-warm); }
.text-action--light:hover { color: var(--orange); }

/* Shared reveal */
.reveal { opacity: 1; transform: none; }
.reveal.will-reveal { opacity: 0; transform: translateY(28px); }
.reveal.will-reveal.is-visible { opacity: 1; transform: translateY(0); transition: opacity var(--duration) ease, transform var(--duration) var(--ease-out); }

/* Statement */
.studio-statement {
    position: relative;
    overflow: hidden;
    padding: calc(var(--section-space) * 0.82) 0 calc(var(--section-space) * 0.74);
    background: linear-gradient(180deg, rgba(255,255,255,0.52) 0%, var(--gallery-white) 62%);
}
.statement-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 2fr 7fr 3fr; gap: clamp(28px, 4vw, 72px); align-items: start; }
.statement-grid h2 { max-width: 11ch; font-size: var(--title); }
.statement-grid > p:last-child { max-width: 42ch; padding-top: 8px; color: var(--muted-ink); font-size: 0.96rem; }

/* Projects */
.projects-section {
    padding-top: calc(var(--section-space) * 0.78);
    background:
        radial-gradient(circle at top left, rgba(18, 54, 140, 0.06), transparent 30%),
        var(--gallery-white);
    color: var(--blue-accent-soft);
}
.projects-header { display: grid; grid-template-columns: 2fr 7fr 3fr; gap: clamp(28px, 4vw, 72px); align-items: end; padding-bottom: clamp(36px, 5vw, 68px); }
.projects-header .section-marker { color: var(--orange-ink); }
.projects-header h2 { max-width: 10ch; color: var(--blue-accent); font-size: var(--headline); font-weight: 300; }
.projects-header > p:last-child { max-width: 40ch; color: var(--muted-ink); }
/* Category filter. An enhancement: the grid ships with every card visible and
   the control hidden, so script.js failing leaves a complete portfolio behind. */
.project-filter { margin: 0 auto clamp(28px, 3.5vw, 48px); display: flex; flex-wrap: wrap; gap: 8px; }
.project-filter[hidden] { display: none; }
.filter-btn {
    padding: 10px 22px;
    border: 1px solid var(--mist-line);
    border-radius: 100px;
    background: none;
    color: var(--muted-ink);
    font-family: var(--font-body);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}
.filter-btn:hover { color: var(--orange-ink); border-color: var(--orange-ink); }
.filter-btn[aria-pressed='true'] { background: var(--orange-ink); border-color: var(--orange-ink); color: var(--gallery-white); }
html[lang='th'] .filter-btn { letter-spacing: 0; text-transform: none; }

.works-grid {
    width: var(--shell);
    margin: 0 auto;
    padding-bottom: var(--section-space);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 24px);
    transition: opacity 180ms ease;
}
.works-grid.is-swapping { opacity: 0; }
.work-card { position: relative; }
.work-card-link { display: block; color: inherit; }
.work-card-media {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: var(--blue-accent);
    box-shadow: 0 24px 44px -34px rgba(23, 40, 60, 0.46);
}
.work-card-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 900ms var(--ease-out), filter 320ms ease; }
.work-card:hover .work-card-media img { transform: scale(1.045); filter: saturate(1.05); }
/* Scrim carries the hover-revealed title over photographs of any brightness. */
.work-card-media::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(8,16,26,0) 34%, rgba(8,16,26,0.1) 52%, rgba(8,16,26,0.78) 100%);
    opacity: 1;
    transition: opacity 260ms ease, background 260ms ease;
}
.work-card-title {
    position: absolute;
    z-index: 2;
    left: clamp(14px, 1.6vw, 24px);
    right: clamp(14px, 1.6vw, 24px);
    bottom: clamp(12px, 1.4vw, 20px);
    color: var(--cream-warm);
    font-size: clamp(1.1rem, 1.6vw, 1.7rem);
    font-weight: 400;
    text-shadow: 0 1px 12px rgba(0,0,0,.45);
    opacity: 1;
    transform: none;
    transition: opacity 220ms ease, transform 220ms var(--ease-out), color 220ms ease;
}
.work-card:hover .work-card-media::after,
.work-card:focus-within .work-card-media::after { background: linear-gradient(180deg, rgba(8,16,26,0.06) 28%, rgba(8,16,26,0.2) 46%, rgba(8,16,26,0.82) 100%); }
.work-card:hover .work-card-title,
.work-card:focus-within .work-card-title { opacity: 1; transform: translateY(0); }
/* Touch devices never hover, so the title would otherwise be unreachable. */
@media (hover: none) {
    .work-card-media::after,
    .work-card-title { opacity: 1; transform: none; }
}

/* Services */
/* Services (Editorial Architectural Style based on Overlay-ref.jpg) */
.services-section {
    padding: calc(var(--section-space) * 0.72) 0 calc(var(--section-space) * 0.92);
    background: linear-gradient(180deg, rgba(248, 243, 236, 1) 0%, rgba(242, 236, 228, 1) 100%);
    scroll-margin-top: var(--header-height);
}
.services-header { display: grid; grid-template-columns: 2fr 7fr 3fr; gap: clamp(28px, 4vw, 72px); align-items: end; margin-bottom: clamp(56px, 7vw, 96px); }
.services-header h2 { max-width: 12ch; font-size: var(--headline); }
.services-header > p:last-child { color: var(--muted-ink); }

/* 4-column structured container with slimmer dividers and stronger editorial contrast */
.service-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    border-radius: 26px;
    background: rgba(18, 54, 140, 0.08);
    overflow: hidden;
    box-shadow: 0 24px 54px -40px rgba(23, 40, 60, 0.26);
}

.service-row {
    position: relative;
    overflow: hidden;
    min-height: clamp(430px, 56vh, 560px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(246, 241, 234, 0.86) 100%);
    cursor: pointer;
    outline: none;
    transition: background-color 350ms ease, transform 350ms var(--ease-out);
}

/* Full-column background photo with scale zoom transition */
.service-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.24;
    transform: scale(1.05);
    transition: opacity 450ms cubic-bezier(0.16, 1, 0.3, 1), transform 650ms cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    overflow: hidden;
}

.service-media picture,
.service-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    display: block;
    filter: grayscale(12%) contrast(1.08) saturate(0.94);
}

/* High-contrast gradient overlay for text readability over photograph */
.service-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.10) 0%, rgba(15, 23, 42, 0.22) 42%, rgba(15, 23, 42, 0.74) 100%);
}

/* Vertical layout holding top giant numeral and bottom metadata */
.service-body {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(24px, 2.8vw, 36px) clamp(22px, 2.4vw, 32px);
    box-sizing: border-box;
}

.service-top {
    width: 100%;
    display: grid;
    gap: 18px;
}
.service-top::after {
    content: '';
    width: 52px;
    height: 1px;
    background: rgba(18, 54, 140, 0.18);
}

.service-num {
    font-family: 'Bebas Neue', var(--font-display), sans-serif;
    font-size: clamp(9rem, 11.4vw, 13.5rem);
    font-weight: 400;
    line-height: 0.82;
    letter-spacing: -0.02em;
    color: var(--orange);
    display: inline-block;
    transition: color 350ms ease, transform 450ms cubic-bezier(0.16, 1, 0.3, 1), text-shadow 350ms ease;
    user-select: none;
}

/* Bottom elements group */
.service-bottom {
    display: flex;
    flex-direction: column;
    gap: clamp(14px, 1.8vw, 22px);
}

/* Pill badge matching reference capsule border style */
.service-pill {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding: 6px 14px;
    border: 1px solid rgba(23, 40, 60, 0.22);
    border-radius: 999px;
    color: var(--blue-accent);
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: color 300ms ease, border-color 300ms ease, background-color 300ms ease, transform 300ms ease;
}

html[lang='th'] .service-pill {
    letter-spacing: 0;
    text-transform: none;
    font-size: 0.78rem;
}

/* Row containing description and circular arrow button */
.service-meta {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 22px;
}

.service-desc {
    color: var(--muted-ink);
    font-size: 0.94rem;
    line-height: 1.55;
    font-weight: 400;
    max-width: 18ch;
    margin: 0;
    transition: color 300ms ease, text-shadow 300ms ease;
}

/* Circular arrow button matching bottom-right of reference */
.service-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(23, 40, 60, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-accent);
    flex-shrink: 0;
    text-decoration: none;
    background: rgba(18, 54, 140, 0.04);
    transition: color 300ms ease, border-color 300ms ease, background-color 300ms ease, transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.service-arrow svg {
    transition: transform 300ms ease;
}

/* --- Hover & Focus States (As seen in Column 2 of Overlay-ref.jpg) --- */
.service-row:hover,
.service-row:focus-within,
.service-row:focus-visible,
.service-row.is-active {
    transform: translateY(-4px);
}

.service-row:hover .service-media,
.service-row:focus-within .service-media,
.service-row:focus-visible .service-media,
.service-row.is-active .service-media {
    opacity: 1;
    transform: scale(1);
}

.service-row:hover .service-num,
.service-row:focus-within .service-num,
.service-row:focus-visible .service-num,
.service-row.is-active .service-num {
    color: #ffffff;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
    transform: translateY(-8px);
}

.service-row:hover .service-pill,
.service-row:focus-within .service-pill,
.service-row:focus-visible .service-pill,
.service-row.is-active .service-pill {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.76);
    background: rgba(255, 255, 255, 0.16);
}

.service-row:hover .service-desc,
.service-row:focus-within .service-desc,
.service-row:focus-visible .service-desc,
.service-row.is-active .service-desc {
    color: #f8fafc;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.65);
}

.service-row:hover .service-arrow,
.service-row:focus-within .service-arrow,
.service-row:focus-visible .service-arrow,
.service-row.is-active .service-arrow {
    color: #ffffff;
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transform: scale(1.05);
}

.service-row:hover .service-arrow svg,
.service-row:focus-within .service-arrow svg,
.service-row.is-active .service-arrow svg {
    transform: translateX(2px);
}

/* Touch devices never hover, so the reveal would otherwise be undiscoverable before the arrow link navigates away. */
@media (hover: none) {
    .service-media { opacity: 1; transform: scale(1); }
    .service-num { color: #ffffff; text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45); transform: translateY(-4px); }
    .service-pill { color: #ffffff; border-color: rgba(255, 255, 255, 0.7); background: rgba(255, 255, 255, 0.16); }
    .service-desc { color: #f8fafc; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.65); }
    .service-arrow { color: #ffffff; border-color: #ffffff; background: rgba(255, 255, 255, 0.22); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
}

/* Process */
.process-section {
    padding: calc(var(--section-space) * 0.72) 0 var(--section-space);
    background:
        linear-gradient(180deg, rgba(18, 54, 140, 0.03), transparent 28%),
        var(--gallery-white);
    color: var(--blue-accent-soft);
    scroll-margin-top: var(--header-height);
}
.process-header { display: grid; grid-template-columns: 2fr 10fr; gap: clamp(28px, 4vw, 72px); margin-bottom: clamp(70px, 9vw, 124px); }
.process-header .section-marker { color: var(--orange-ink); }
.process-header h2 { max-width: 12ch; color: var(--blue-accent); font-size: var(--headline); font-weight: 400; }
.process-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(18px, 2vw, 24px);
}
.process-step {
    min-height: 100%;
    padding: clamp(28px, 3vw, 40px);
    display: grid;
    grid-template-columns: minmax(140px, 220px) 1fr;
    align-items: center;
    gap: clamp(18px, 2vw, 32px);
    border: 1px solid var(--mist-line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 22px 44px -34px rgba(23, 40, 60, 0.3);
}
.process-step:nth-child(2),
.process-step:nth-child(4) { margin-top: clamp(22px, 3vw, 52px); }
.process-figure { margin: 0; min-height: 0; display: grid; place-items: center; }
.process-figure img { width: min(100%, 320px); height: auto; object-fit: contain; }
.process-copy { display: grid; gap: 12px; }
.process-copy > span { color: var(--orange); font-family: var(--font-display); font-size: .88rem; font-weight: 700; letter-spacing: .14em; }
.process-copy h3 { max-width: 10ch; color: var(--blue-accent); font-family: var(--font-display); font-size: clamp(1.8rem, 2.5vw, 2.6rem); font-weight: 400; }
.process-copy p { max-width: 30ch; color: var(--blue-accent-soft); font-size: .92rem; }

/* Studio */
.studio-section { display: grid; grid-template-columns: 1fr 1fr; min-height: min(780px, 88svh); background: var(--gallery-white); }
.studio-identity { min-height: 620px; display: grid; place-items: center; overflow: hidden; background: var(--blue-accent); }
.studio-identity img { width: min(84%, 720px); height: auto; }
.studio-copy { padding: clamp(72px, 10vw, 166px) clamp(34px, 8vw, 132px); display: flex; flex-direction: column; justify-content: center; }
.studio-copy h2 { max-width: 10ch; margin-top: 30px; font-size: var(--title); }
.studio-copy > p:not(.section-marker) { max-width: 52ch; margin-top: 32px; color: var(--muted-ink); }
.studio-copy address { margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--mist-line); color: var(--blue-accent-soft); font-size: .88rem; line-height: 1.8; }

/* Contact */
#contact {
    scroll-margin-top: calc(-1 * var(--header-height));
}
.contact-section {
    position: relative;
    overflow: hidden;
    padding: calc(var(--header-height) + 28px) 0 var(--section-space);
    background: linear-gradient(180deg, rgba(255,255,255,0.58) 0%, var(--gallery-white) 18%, var(--gallery-white) 100%);
    color: var(--blue-accent-soft);
}

/* Studio-sourced isometric line art, kept as a quiet architectural texture behind the cream sections. */
.section-decor-art {
    position: absolute;
    z-index: 0;
    right: -6%;
    width: min(46%, 620px);
    height: auto;
    opacity: 0.1;
    pointer-events: none;
    user-select: none;
}
.studio-statement .section-decor-art { bottom: -8%; }
.contact-section .section-decor-art { top: 6%; }
.section-decor-art--left { right: auto; left: -6%; }
@media (max-width: 700px) {
    .section-decor-art { width: min(64%, 420px); opacity: 0.08; }
}
.contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 5fr 7fr; gap: clamp(56px, 10vw, 150px); align-items: start; }
.contact-copy .section-marker { color: var(--orange-ink); }
.contact-copy h2 { max-width: 8ch; margin-top: 32px; color: var(--blue-accent); font-size: var(--headline); font-weight: 300; }
.contact-copy > p:not(.section-marker) { max-width: 44ch; margin-top: 34px; color: var(--muted-ink); }
.contact-direct { margin-top: 40px; display: grid; gap: 24px; }
.contact-form-wrapper {
    padding: clamp(28px, 3.2vw, 40px);
    border: 1px solid rgba(18, 54, 140, 0.12);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 24px 54px -42px rgba(23, 40, 60, 0.42);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.contact-links { display: grid; gap: 8px; }
.contact-links a { display: inline-block; color: var(--blue-accent); border-bottom: 1px solid var(--mist-line); }
.contact-links a:hover { color: var(--orange-ink); border-bottom-color: var(--orange-ink); }
.contact-qr-block { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.contact-qr-link { display: inline-block; line-height: 0; transition: opacity 180ms ease, transform 180ms ease; }
.contact-qr-link:hover { opacity: 0.82; transform: translateY(-1px); }
.contact-qr-img { width: 120px; height: 120px; display: block; object-fit: contain; }
.contact-qr-caption { font-family: var(--font-body); font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-accent-soft); }
.contact-social { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.contact-social-label { font-family: var(--font-body); font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-accent-soft); }
.contact-social-links { display: flex; align-items: center; gap: 4px; margin-left: -12px; }
.contact-social-link { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--blue-accent); transition: color 180ms ease, opacity 180ms ease, transform 180ms ease; }
.contact-social-link:hover { color: var(--orange-ink); opacity: 0.82; transform: translateY(-1px); }
.contact-form { display: grid; gap: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-group { display: grid; gap: 10px; }
.form-group label { color: var(--blue-accent); font-size: .72rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    min-height: 54px;
    padding: 14px 0;
    color: var(--blue-accent);
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--mist-line);
    border-radius: 0;
    outline: none;
    transition: border-color 180ms ease;
}
.form-group select { color-scheme: light; }
.form-group textarea { min-height: 146px; resize: vertical; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted-ink); opacity: 1; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-bottom-color: var(--orange-ink); }
.form-group [aria-invalid='true'] { border-bottom-color: var(--error); }
.field-error { min-height: 18px; color: var(--error); font-size: .78rem; }
.form-note, .form-status, .noscript-note { max-width: 60ch; color: var(--muted-ink); font-size: .8rem; }
.form-status a, .noscript-note a { color: var(--orange-ink); text-decoration: underline; }
.btn-submit {
    width: fit-content;
    min-height: 54px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    gap: 18px;
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--orange);
    color: var(--blue-deep);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 180ms ease, transform 180ms var(--ease-out);
}
.btn-submit:hover { background: var(--orange-hover); transform: translateY(-2px); }
.map-block { margin-top: clamp(64px, 8vw, 120px); }
.map-facade {
    width: 100%;
    min-height: 230px;
    padding: clamp(26px, 4vw, 58px);
    display: grid;
    grid-template-columns: 2fr 5fr 5fr;
    gap: 28px;
    align-items: end;
    text-align: left;
    border: 0;
    border-radius: var(--radius);
    background: var(--blue-accent-deep);
    color: var(--cream-warm);
    cursor: pointer;
    transition: background-color 180ms ease;
}
.map-facade:hover { background: var(--blue-accent); }
.map-index { color: var(--orange); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.map-prompt { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 4rem); line-height: .95; }
.map-note { max-width: 48ch; color: rgba(237,223,201,.62); font-size: .82rem; }
.map-block iframe { display: block; width: 100%; height: 480px; border: 0; border-radius: var(--radius); }

/* Footer */
.site-footer {
    padding: clamp(50px, 7vw, 80px) 0 0;
    background: var(--blue-accent);
    color: var(--gallery-white);
    font-family: 'Apollo', var(--font-body);
    position: relative;
    overflow: hidden;
}
.footer-top {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: clamp(32px, 4vw, 50px);
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px 32px;
    font-family: 'Apollo', var(--font-display);
    font-size: .78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.footer-links a { color: var(--cream-warm); transition: color 180ms ease; }
.footer-links a:hover { color: var(--orange); }
.footer-content {
    padding: 20px 0 clamp(20px, 3vw, 32px);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(240, 233, 225, 0.12);
    color: rgba(240, 233, 225, 0.72);
    font-size: .7rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}
/* Width comes from .section-shell so it lines up with the copyright/location row above; script.js stretches the span with scaleX to reach edge-to-edge exactly. */
.footer-hero-wordmark {
    overflow: hidden;
    margin-top: clamp(14px, 2.6vw, 30px);
    height: clamp(30px, 4.4vw, 54px);
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding-top: 8px;
    pointer-events: none;
    user-select: none;
}
.footer-hero-wordmark span {
    display: inline-block;
    font-family: 'Apollo', var(--font-display);
    font-size: clamp(1.5rem, 5.8vw, 6rem);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--orange);
    opacity: 1;
    line-height: 1.0;
    transform: scaleY(1.32);
    transform-origin: top left;
    white-space: nowrap;
}

/* Project detail pages */
.inner-page { background: var(--gallery-white); }
.inner-page #header { background: rgba(227, 90, 10, 0.98); border-bottom-color: rgba(255, 255, 255, 0.15); }
.project-detail-hero { min-height: 88svh; padding: calc(var(--header-height) + 56px) 0 0; display: grid; grid-template-columns: 4fr 8fr; background: var(--cream-warm); color: var(--blue-accent-soft); }
.project-detail-intro { padding: clamp(52px, 8vw, 120px) clamp(28px, 6vw, 96px); display: flex; flex-direction: column; justify-content: flex-start; }
.project-detail-intro h1 { margin-top: 32px; color: var(--blue-accent); font-size: var(--headline); font-weight: 300; }
.project-detail-intro p { max-width: 34ch; margin-top: 28px; color: var(--muted-ink); }
.project-detail-media { min-height: calc(88svh - var(--header-height)); }
.project-detail-media img { width: 100%; height: 100%; object-fit: cover; }
/* Isometric renders are transparent line art, not full-bleed photography: show the whole drawing on the section's own background instead of cropping it. */
.project-detail-media--iso { display: flex; align-items: center; justify-content: center; padding: clamp(24px, 4vw, 64px); }
.project-detail-media--iso img { width: 100%; height: 100%; object-fit: contain; }
.project-note { padding: var(--section-space) 0; background: var(--gallery-white); }
.project-note-grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.project-specs { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.project-specs li { display: grid; gap: 4px; }
.spec-label { font-family: var(--font-body); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-ink); }
.spec-value { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; color: var(--blue-accent); }
.project-palette { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--mist-line); }
.palette-chips { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.palette-swatch { width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(18, 54, 140, 0.15); box-shadow: 0 2px 8px rgba(0,0,0,.08); display: inline-block; transition: transform 180ms ease; }
.palette-swatch:hover { transform: scale(1.15); }
.project-note-copy h2 { font-size: var(--title); color: var(--blue-accent); line-height: 1.18; margin-bottom: 24px; font-weight: 400; }
.project-note-copy p { font-size: 1.02rem; line-height: 1.8; color: var(--muted-ink); margin-bottom: 18px; }
.project-gallery { width: var(--shell); margin: 0 auto var(--section-space); display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2vw, 30px); }
.project-gallery figure { grid-column: span 6; }
.project-gallery figure:first-child { grid-column: span 12; }
.project-gallery img { width: 100%; height: 100%; max-height: 900px; object-fit: cover; }
.project-gallery figcaption { margin-top: 10px; color: var(--muted-ink); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.project-next { padding: clamp(80px, 10vw, 150px) 0; background: var(--blue-accent-deep); color: var(--cream-warm); }
.project-next a { width: var(--shell); margin: auto; display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.project-next span { color: var(--orange); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.project-next strong { color: var(--cream-warm); font-family: var(--font-display); font-size: var(--title); font-weight: 300; }
.project-next a:hover strong { color: var(--orange); }

/* Legal pages */
.legal-page { width: min(100% - 40px, 820px); margin: 0 auto; padding: calc(var(--header-height) + 90px) 0 120px; }
.legal-page h1 { font-size: var(--title); }
.legal-updated { margin: 18px 0 60px; color: var(--muted-ink); font-size: .82rem; }
.legal-page h2 { margin: 58px 0 18px; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.legal-page p, .legal-page li { max-width: 72ch; margin-bottom: 16px; }
.legal-page ul { padding-left: 1.25rem; list-style: square; }
.legal-page a { color: var(--blue-accent); text-decoration: underline; text-underline-offset: 3px; }
.legal-note { padding: 20px; border-radius: var(--radius); background: #e9edf0; }

@media (max-width: 1040px) {
    .nav-menu { gap: 22px; }
    .nav-item { font-size: .69rem; }
    .header-container { gap: 24px; }
    .header-right { gap: 10px; }
    .language-switch { font-size: .64rem; }
    .btn-hire { padding-inline: 14px; }
    .works-grid { grid-template-columns: repeat(4, 1fr); }
    .process-list { grid-template-columns: 1fr; }
    .process-step,
    .process-step:nth-child(2),
    .process-step:nth-child(4) { margin-top: 0; }
    .service-list { grid-template-columns: 1fr 1fr; }
    .service-row { min-height: 420px; }
}

@media (max-width: 860px) {
    :root { --header-height: 68px; --shell: min(100% - 40px, 1560px); }
    .header-container { grid-template-columns: 1fr auto; }
    .header-container > nav, .header-right { display: none; }
    .hamburger { display: block; color: var(--gallery-white); }
    .hamburger[aria-expanded='true'] { position: fixed; top: 12px; right: 20px; z-index: calc(var(--z-drawer) + 1); }
    body.menu-open #header { z-index: calc(var(--z-drawer) + 1); background: transparent; border-color: transparent; pointer-events: none; }
    body.menu-open #header .brand-logo { visibility: hidden; }
    body.menu-open #header .hamburger { visibility: visible; pointer-events: auto; }
    .mobile-nav-backdrop { position: fixed; inset: 0; z-index: calc(var(--z-drawer) - 1); display: block; visibility: hidden; opacity: 0; background: rgba(8,16,26,.68); transition: opacity 260ms ease, visibility 260ms; }
    .mobile-nav-backdrop.active { visibility: visible; opacity: 1; }
    .mobile-nav { position: fixed; inset: 0 0 0 auto; z-index: var(--z-drawer); width: min(88vw, 420px); padding: calc(var(--header-height) + 42px) 34px 34px; display: block; visibility: hidden; overflow-y: auto; transform: translateX(100%); background: var(--blue-accent); color: var(--cream-warm); transition: transform 380ms var(--ease-out), visibility 380ms; }
    .mobile-nav.active { visibility: visible; transform: translateX(0); }
    .mobile-menu { display: grid; }
    .mobile-item { display: flex; align-items: center; min-height: 58px; border-bottom: 1px solid var(--mist-line-dark); font-family: var(--font-display); font-size: 1.8rem; font-weight: 300; }
    .hire-mobile { margin-top: 26px; padding: 0 18px; justify-content: center; border-radius: var(--radius-sm); background: var(--gallery-white); color: var(--blue-accent); font-family: var(--font-body); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
    .hero-overlay { gap: 22px; padding: calc(var(--header-height) + 24px) 20px 30px; }
    .hero-title { font-size: clamp(2.1rem, 9vw, 3rem); }
    .hero-desc { font-size: 0.9rem; line-height: 1.5; }
    .hero-footer { flex-direction: column-reverse; align-items: flex-start; gap: 16px; }
    .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .work-card:first-child,
    .work-card:nth-child(6) { grid-column: auto; }
    .work-card-media { border-radius: 14px; }
    .work-card-media::after,
    .work-card-title { opacity: 1; transform: none; }
    .work-card-title,
    .work-card:first-child .work-card-title,
    .work-card:nth-child(6) .work-card-title { left: 12px; right: 12px; bottom: 10px; font-size: .85rem; line-height: 1.2; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
    .statement-grid, .projects-header, .services-header, .process-header, .project-note-grid { grid-template-columns: 1fr; }
    .statement-grid h2, .projects-header h2, .services-header h2, .process-header h2 { max-width: 12ch; }
    .contact-grid { grid-template-columns: 1fr; }
    .studio-section { grid-template-columns: 1fr; }
    .studio-identity { min-height: 62svh; }
    .studio-copy { padding-inline: 20px; }
    .process-step { grid-template-columns: 1fr; }
    .service-list { grid-template-columns: 1fr 1fr; }
    .service-row { min-height: 440px; }
    .map-facade { grid-template-columns: 1fr; min-height: 290px; }
    .map-prompt { align-self: end; }
    .project-detail-hero { min-height: auto; grid-template-columns: 1fr; }
    .project-detail-intro { min-height: 52svh; }
    .project-detail-media { min-height: 62svh; }
    .project-gallery figure, .project-gallery figure:first-child { grid-column: span 12; }
    html[lang='th'] .mobile-item { font-size: 1.45rem; line-height: 1.35; }
    html[lang='th'] .hero-title { max-width: 13ch; font-size: clamp(2rem, 8vw, 3.4rem); }
}

@media (max-width: 560px) {
    :root { --shell: calc(100% - 40px); --section-space: 92px; }
    .form-row { grid-template-columns: 1fr; }
    .process-list { grid-template-columns: 1fr; }
    .process-step { min-height: 250px; padding: 24px; }
    .service-list { grid-template-columns: 1fr; }
    .service-row { min-height: 380px; }
    .service-num { font-size: clamp(6.5rem, 24vw, 8.5rem); }
    .footer-top { justify-content: flex-start; }
    .footer-links { justify-content: flex-start; gap: 8px 24px; }
    .footer-content { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
    .hero-slide { transition: none; }
    .reveal, .reveal.will-reveal { opacity: 1; transform: none; }
}
