/* JomGarden — a quiet, photographic landscape studio. */
:root, [data-theme="dark"] {
  --bg-body: #101815;
  --bg-surface: #18231e;
  --bg-overlay: rgba(16, 24, 21, 0.98);
  --text-main: #eeeae1;
  --text-muted: #b1b8ad;
  --text-accent: #c4a66b;
  --text-gold: #c4a66b;
  --border-color: #344139;
  --btn-primary-bg: #c4a66b;
  --btn-primary-text: #101815;
  --font-main: "Noto Sans Thai", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-heading: var(--font-main);
  --spacing-container: 1280px;
  --header-height: 88px;
  --section-space: clamp(4.5rem, 8vw, 8rem);
  --studio-ink: #101815;
  --studio-ivory: #eeeae1;
  --studio-gold: #c4a66b;
}
[data-theme="light"] {
  --bg-body: #eeeee6;
  --bg-surface: #e0e4d9;
  --bg-overlay: rgba(238, 238, 230, 0.98);
  --text-main: #23362b;
  --text-muted: #596450;
  --text-accent: #726031;
  --text-gold: #8c7541;
  --border-color: #c9d0c1;
  --btn-primary-bg: #23362b;
  --btn-primary-text: #eeeee6;
}
html:lang(zh) { --font-main: "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif; --font-heading: var(--font-main); }
body { font-size: 18px; line-height: 1.8; background: var(--bg-body); }
.container { padding-inline: 2.5rem; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.5;
  color: var(--text-main);
}
h2::after { display: none; }
p { text-wrap: pretty; }
a, button, .card, .portfolio-item img { transition: none; }
.btn {
  gap: 0.8rem;
  min-height: 50px;
  padding: 0.75rem 1.55rem;
  border-radius: 0;
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 600;
  letter-spacing: 0.015em;
  text-transform: none;
}
.btn-primary { background: var(--btn-primary-bg); color: var(--btn-primary-text); border-color: var(--btn-primary-bg); }
.btn-primary:hover { background: #d7bc85; color: #101815; border-color: #d7bc85; }
.btn-outline, .btn-secondary { background: transparent; color: var(--text-main); border: 1px solid var(--border-color); }
.btn-outline:hover, .btn-secondary:hover { background: var(--bg-surface); color: var(--text-main); border-color: var(--text-accent); }
.site-kicker, .eyebrow {
  display: block;
  margin-bottom: 1.15rem;
  font-family: var(--font-main);
  color: var(--text-accent);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Restrained, fixed navigation. */
header { background: var(--bg-body); border-bottom: 1px solid var(--border-color); }
.nav-wrapper { gap: 1.15rem; }
.logo img { width: 188px; height: 43px; }
.nav-links { gap: clamp(0.7rem, 1.3vw, 1.4rem); }
.nav-links > a { font-size: 1rem; font-weight: 600; }
.nav-links > a.active { font-weight: 600; color: var(--text-accent); text-decoration-thickness: 1px; text-underline-offset: 0.6em; }
.controls { margin-left: 0.15rem; }
.header-actions { gap: 0.4rem; }
.theme-toggle, .mobile-menu-btn { border: 0; border-radius: 0; font-size: 1rem; color: var(--text-muted); }
.theme-toggle:hover, .mobile-menu-btn:hover { background: var(--bg-surface); color: var(--text-main); }
.lang-switch { gap: 0; }
.lang-switch > a, .lang-switch > span { min-width: 44px; min-height: 44px; border-radius: 0; }
.language-label { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.035em; }
.lang-switch .active { color: var(--text-accent); }
.lang-switch a:hover { color: var(--text-accent); }
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.45rem 1rem;
  background: transparent;
  border: 1px solid var(--text-accent);
  color: var(--text-accent);
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}
.header-cta:hover { background: var(--btn-primary-bg); color: var(--btn-primary-text); }
.mobile-nav { align-items: stretch; gap: 0; padding: 1.25rem 1.5rem 2rem; }
.mobile-nav > a { justify-content: flex-start; width: 100%; max-width: 600px; min-height: 60px; margin-inline: auto; padding: 0.8rem 0; border-bottom: 1px solid var(--border-color); border-radius: 0; font-family: var(--font-heading); font-size: 1.25rem; font-weight: 600; }
.mobile-nav > a.active, .mobile-nav > a:hover { background: transparent; }
.mobile-nav .lang-switch { justify-content: flex-start; width: 100%; max-width: 600px; margin: 1.3rem auto 0; }
.mobile-nav .lang-switch > a, .mobile-nav .lang-switch > span { min-width: 56px; }

/* The garden fills the first screen; copy sits on a controlled dark gradient. */
.home-hero {
  position: relative;
  isolation: isolate;
  min-height: max(650px, calc(100svh - var(--header-height)));
  background: #101815;
  color: #eeeae1;
}
.hero-media { position: absolute; inset: 0; z-index: -2; margin: 0; width: 100%; height: 100%; }
.hero-media picture, .hero-media img { display: block; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: center 60%; }
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(16,24,21,0.93) 0%, rgba(16,24,21,0.77) 31%, rgba(16,24,21,0.2) 68%, rgba(16,24,21,0.05) 100%), linear-gradient(0deg, rgba(16,24,21,0.7), transparent 30%);
}
.hero-layout { display: flex; flex-direction: column; justify-content: center; min-height: inherit; padding-block: 5rem 7rem; }
.hero-copy { position: relative; max-width: 690px; min-width: 0; }
.home-hero .site-kicker { color: #d6be8e; margin-bottom: 1.6rem; }
.hero-title {
  margin: 0 0 1.35rem;
  padding: 0;
  color: #eeeae1;
  font-size: clamp(3rem, 4.4vw, 3.75rem);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.4;
  text-wrap: balance;
}
.hero-title-accent { display: block; color: #d6be8e; }
.hero-lead { max-width: 490px; margin-bottom: 2rem; color: #d2d7ca; font-size: 1rem; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.home-hero .btn-primary { background: #c4a66b; color: #101815; border-color: #c4a66b; }
.home-hero .btn-primary:hover { background: #ddc592; border-color: #ddc592; }
.home-hero .btn-outline { background: rgba(16,24,21,0.15); color: #eeeae1; border-color: rgba(238,234,225,0.45); }
.home-hero .btn-outline:hover { background: rgba(16,24,21,0.6); border-color: #eeeae1; }
.home-hero :focus-visible { outline-color: #e7d5b1; }
.hero-bottom {
  position: absolute;
  bottom: 1.8rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #d2d7ca;
  font-size: 0.875rem;
  line-height: 1.7;
  letter-spacing: 0.04em;
}
.hero-photo-note { margin: 0; max-width: 75%; font-size: inherit; }
.hero-bottom a { display: inline-flex; align-items: center; gap: 0.7rem; min-height: 44px; white-space: nowrap; }
.hero-bottom a:hover { color: #eeeae1; }

/* An editorial introduction: generous space, restrained service labels. */
.studio-intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(3rem, 7vw, 7rem); align-items: center; padding-block: var(--section-space); }
.intro-title { margin: 0; padding: 0; font-size: clamp(2rem, 3.25vw, 3rem); font-weight: 600; line-height: 1.55; }
.intro-copy { min-width: 0; }
.intro-copy > p { max-width: 550px; color: var(--text-muted); font-size: 1rem; line-height: 1.85; }
.intro-services { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1.7rem; padding: 0; list-style: none; }
.intro-services > * { padding: 0.4rem 0.85rem; border: 1px solid var(--border-color); color: var(--text-main); font-size: 0.875rem; line-height: 1.7; }
.selected-work, .services-section { padding-block: var(--section-space); }
.selected-work { border-top: 1px solid var(--border-color); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem 3rem; margin-bottom: 3rem; }
.section-heading > div { max-width: 760px; }
.section-heading .section-heading-aside { max-width: 26rem; }
.section-heading-aside .section-intro { margin-top: 0; }
.section-heading-aside .section-link { margin-top: 1rem; }
.section-heading .eyebrow { margin-bottom: 0.75rem; }
.section-heading h2 { margin: 0; padding: 0; font-size: clamp(2rem, 3.2vw, 2.75rem); font-weight: 600; line-height: 1.5; }
.section-intro { max-width: 640px; margin-top: 1rem; color: var(--text-muted); font-size: 1rem; line-height: 1.85; }
.section-link { display: inline-flex; align-items: center; gap: 1.25rem; min-height: 44px; padding-bottom: 0.25rem; border-bottom: 1px solid var(--text-accent); color: var(--text-main); font-size: 0.875rem; font-weight: 600; white-space: nowrap; }
.section-link:hover { color: var(--text-accent); }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 2rem; }
.work-card { display: block; min-width: 0; margin: 0; }
.work-card[data-gallery-image] { cursor: zoom-in; }
.work-card:first-child { grid-column: 1 / -1; }
.work-image { display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-surface); }
.work-image picture, .work-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.work-card:first-child .work-image { aspect-ratio: 21 / 9; }
.work-caption { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding-top: 1.1rem; }
.work-arrow { flex-shrink: 0; color: var(--text-accent); font-size: 1.6rem; }
.work-tag { color: var(--text-accent); font-size: 0.875rem; line-height: 1.7; letter-spacing: 0.08em; }
.work-caption h3 { margin: 0.4rem 0 0; padding: 0; font-size: 1.55rem; font-weight: 600; }
.work-caption h3 span { font-family: var(--font-main); font-size: 1rem; margin-left: 0.5rem; color: var(--text-accent); }
.work-caption p { margin-top: 0.4rem; color: var(--text-muted); font-size: 0.875rem; }
a.work-card:hover h3 { color: var(--text-accent); }

.audience-section { position: relative; isolation: isolate; padding-block: var(--section-space); background: var(--bg-surface); }
.audience-section > picture { position: absolute; inset: 0; z-index: -2; }
.audience-section > picture img { width: 100%; height: 100%; object-fit: cover; }
.audience-section:has(> picture)::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(16,24,21,0.85); }
.audience-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem; }
.audience-card { min-width: 0; border-top: 1px solid var(--text-accent); padding-top: 1.5rem; }
.audience-card .eyebrow { margin-bottom: 1rem; }
.audience-card h3 { margin: 0 0 1rem; padding: 0; font-size: 1.65rem; font-weight: 600; }
.audience-card p { max-width: 530px; color: var(--text-muted); font-size: 1rem; line-height: 1.85; }

.service-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; }
.service-card { display: block; min-width: 0; border-bottom: 1px solid var(--border-color); }
.service-card-image { display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-surface); }
.service-card-image picture, .service-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.service-card-copy { padding: 1.5rem 0 1.75rem; }
.service-number { display: block; margin-bottom: 0.65rem; color: var(--text-accent); font-size: 0.875rem; line-height: 1.8; letter-spacing: 0.08em; }
.service-card-copy .eyebrow { margin-bottom: 0.65rem; }
.service-card-copy h3 { margin: 0 0 0.75rem; padding: 0; font-size: 1.55rem; font-weight: 600; }
.service-card-copy p { color: var(--text-muted); font-size: 1rem; line-height: 1.85; }
.service-card-copy a, .service-card-link { display: inline-flex; align-items: center; gap: 1rem; min-height: 44px; margin-top: 0.75rem; color: var(--text-accent); font-size: 0.875rem; }
a.service-card:hover h3 { color: var(--text-accent); }

.approach-section { padding-block: var(--section-space); background: var(--bg-surface); }
.approach-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3rem, 6vw, 6rem); align-items: center; }
.approach-media { min-width: 0; margin: 0; }
.approach-media picture { display: block; }
.approach-media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.approach-media figcaption { margin-top: 0.85rem; color: var(--text-muted); font-size: 0.875rem; line-height: 1.8; }
.approach-copy { min-width: 0; }
.approach-copy h2 { margin: 0 0 1rem; padding: 0; font-size: clamp(2rem, 3.2vw, 3rem); font-weight: 600; }
.approach-copy > p { color: var(--text-muted); font-size: 1rem; line-height: 1.85; }
.process-list { list-style: none; counter-reset: process; margin: 1.8rem 0 0; padding: 0; }
.process-list > li { counter-increment: process; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 1rem; padding: 1.15rem 0; border-top: 1px solid var(--border-color); }
.process-list > li::before { content: counter(process, decimal-leading-zero); padding-top: 0.15rem; font-size: 0.875rem; color: var(--text-accent); }
.process-list h3, .process-list strong { display: block; margin: 0 0 0.3rem; padding: 0; font-family: var(--font-main); font-size: 1rem; font-weight: 600; }
.process-list p { color: var(--text-muted); font-size: 0.875rem; line-height: 1.9; }

.contact-banner { padding-block: clamp(5rem, 9vw, 9rem); text-align: center; }
.contact-banner .eyebrow { margin-bottom: 1.4rem; }
.contact-banner h2 { max-width: 950px; margin: 0 auto 1.5rem; padding: 0; font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 600; line-height: 1.5; }
.contact-banner p { max-width: 650px; margin-inline: auto; color: var(--text-muted); font-size: 1rem; line-height: 1.85; }
.contact-banner-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }
.contact-banner .email-app-note { margin-top: 1rem; font-size: 0.875rem; }

/* Inner pages follow the same palette, type and image treatment. */
.inner-page main.section { padding-block: 4.5rem var(--section-space); }
.page-heading { max-width: 900px; margin-bottom: 3.5rem; text-align: left; }
.page-heading .eyebrow { margin-bottom: 0.9rem; }
.page-heading h1 { margin: 0 0 1.2rem; padding: 0; font-size: clamp(2rem, 4vw, 3.75rem); font-weight: 600; text-align: left; }
.page-heading p { max-width: 740px; color: var(--text-muted); font-size: 1rem; line-height: 1.85; }
.inner-page .grid-3 { gap: 2rem; margin-top: 0; }
.inner-page .grid-3 .card { padding: 0 0 1.5rem; background: transparent; border: 0; border-bottom: 1px solid var(--border-color); border-radius: 0; text-align: left; }
.inner-page .grid-3 .card img { display: block; width: 100%; height: auto !important; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 1.5rem !important; border-radius: 0 !important; }
.services-grid .service-title, .inner-page .grid-3 .card h3 { margin: 0 0 0.75rem; padding: 0; font-size: 1.6rem; font-weight: 600; line-height: 1.6; }
.inner-page .grid-3 .card p { color: var(--text-muted); font-size: 1rem; line-height: 1.85; }
.inner-page .about-grid { align-items: start; }
.about-work-photo { min-width: 0; margin: 0; }
.about-work-photo img { display: block; width: 100%; height: auto; border-radius: 0; }
.about-work-photo figcaption { margin-top: 0.9rem; color: var(--text-muted); font-size: 0.875rem; }
.inner-page .portfolio-grid { column-gap: 1.5rem; }
.inner-page .portfolio-item { border-radius: 0; }
.portfolio-item:hover img { transform: none; }
.inner-page .gallery-intro { text-align: left; }
.contact-grid { gap: 2.5rem; }
.contact-grid h2 { margin-bottom: 1.25rem; padding: 0; font-size: 1.75rem; font-weight: 600; }
.contact-details.card { padding: 2rem; background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 0; }
.contact-details p { font-size: 1rem; line-height: 1.85; }
.contact-details i { margin-right: 0.55rem; color: var(--text-accent); }
.contact-checklist { padding-inline-start: 1.4rem; margin-block: 1rem; }
.contact-checklist li { margin-block: 0.5rem; font-size: 1rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.contact-actions .btn { padding-inline: 1.1rem; }
.form-note { color: var(--text-muted); font-size: 0.875rem; line-height: 1.9; }
.gallery-dialog { border-radius: 0; border-color: var(--border-color); }
.gallery-dialog-close { border-radius: 0; }

.site-footer { padding: 4rem 0 1.5rem; background: #0b120e; border-top: 1px solid #2d392f; color: #eeeae1; text-align: left; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr) minmax(0, 1fr); gap: 3rem; }
.footer-grid > * { min-width: 0; }
.footer-brand img { display: block; width: 195px; height: auto; margin: 0 0 1.5rem; }
.footer-brand > p { max-width: 24rem; color: #aeb8ab; font-size: 0.875rem; line-height: 1.85; }
.site-footer h2, .site-footer h3, .site-footer h4 { margin: 0 0 1.2rem; padding: 0; font-family: var(--font-main); color: #eeeae1; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.04em; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 0.55rem; }
.footer-links h3, .footer-links h4 { margin-bottom: 0.6rem; }
.footer-links a, .footer-links p { color: #aeb8ab; font-size: 0.875rem; overflow-wrap: anywhere; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 0.35rem; }
.footer-links a:hover { color: #d4b782; text-decoration: underline; text-underline-offset: 0.25em; }
.site-footer a:focus-visible { outline-color: #d4b782; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.75rem 2rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid #2d392f; color: #aeb8ab; font-size: 0.875rem; }
.footer-bottom .text-muted { color: inherit; }
.mobile-contact-bar { display: none; }

@media (max-width: 1199px) {
  body:has(> .mobile-contact-bar) { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .mobile-contact-bar { position: fixed; inset: auto 0 0; z-index: 900; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; min-height: 64px; padding: 0.5rem 1rem calc(0.5rem + env(safe-area-inset-bottom)); background: var(--bg-body); border-top: 1px solid var(--border-color); }
  .mobile-contact-bar a { display: flex; align-items: center; justify-content: center; gap: 0.55rem; min-width: 0; min-height: 48px; padding: 0.5rem; border: 1px solid var(--text-accent); font-size: 0.875rem; font-weight: 600; line-height: 1.5; text-align: center; }
  .mobile-contact-bar a:first-child { background: var(--btn-primary-bg); color: var(--btn-primary-text); border-color: var(--btn-primary-bg); }
  .mobile-contact-bar a:last-child { background: transparent; color: var(--text-accent); }
  body.menu-open .mobile-contact-bar, body.gallery-open .mobile-contact-bar { display: none; }
}

@media (min-width: 1025px) and (max-width: 1199px) {
  .header-cta { display: none; }
  .nav-wrapper, .nav-links { gap: 0.75rem; }
}
@media (max-width: 1024px) {
  :root, [data-theme="dark"], [data-theme="light"] { --header-height: 72px; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .header-cta { display: none; }
  .logo img { width: 174px; height: 40px; }
  .home-hero { min-height: calc(100svh - var(--header-height) - 64px); }
  .hero-layout { padding-block: 4rem 6rem; }
  .hero-title { font-size: 3.5rem; }
  .hero-copy { max-width: 580px; }
  .footer-grid { gap: 2rem; }
}
@media (max-width: 899px) {
  .container { padding-inline: 1.75rem; }
  .home-hero::before { background: linear-gradient(0deg, rgba(16,24,21,0.98) 0%, rgba(16,24,21,0.88) 19%, rgba(16,24,21,0.48) 61%, rgba(16,24,21,0.13) 100%); }
  .hero-media img { object-position: center 60%; }
  .hero-layout { justify-content: flex-end; padding-block: 6rem 5rem; }
  .hero-copy { max-width: 620px; }
  .home-hero .site-kicker { margin-bottom: 0.9rem; font-size: 0.875rem; }
  .hero-title { margin-bottom: 1rem; font-size: 2.375rem; line-height: 1.4; }
  .hero-lead { max-width: 490px; margin-bottom: 1.5rem; font-size: 1rem; line-height: 1.85; }
  .hero-bottom { bottom: 0.85rem; font-size: 0.875rem; }
  .hero-bottom a { gap: 0.4rem; }
  .studio-intro { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .intro-copy > p { max-width: 680px; }
  .service-card-grid { gap: 1.25rem; }
  .service-card-copy h3 { font-size: 1.3rem; }
  .approach-grid { grid-template-columns: minmax(0, 1fr); gap: 2.75rem; }
  .approach-media img { aspect-ratio: 16 / 10; }
  .approach-copy { max-width: 720px; }
}
@media (max-width: 820px) {
  .section-heading { margin-bottom: 2.2rem; }
  .audience-grid { gap: 2rem; }
  .contact-grid { gap: 2rem; }
  .inner-page main.section { padding-block: 3rem 4.5rem; }
  .page-heading { margin-bottom: 2.5rem; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand > p { max-width: 38rem; }
}
@media (max-width: 680px) {
  .work-grid { grid-template-columns: minmax(0, 1fr); gap: 2.2rem; }
  .work-card:first-child { grid-column: auto; }
  .work-card:first-child .work-image, .work-image { aspect-ratio: 4 / 3; }
  .service-card-grid { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
  .service-card-image { aspect-ratio: 16 / 11; }
  .service-card-copy h3 { font-size: 1.55rem; }
  .service-card-copy { padding-block: 1.25rem 1.5rem; }
  .audience-grid { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .section-heading { align-items: flex-start; gap: 1.3rem; }
  .section-heading h2, .intro-title, .approach-copy h2 { font-size: 2rem; }
  .contact-banner h2 { font-size: 2.25rem; }
  .contact-banner-actions { max-width: 350px; margin-inline: auto; }
  .contact-banner-actions .btn { flex: 1 0 100%; }
  .site-footer { padding-top: 3rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; margin-top: 2rem; }
}
@media (max-width: 480px) {
  .hero-media img { object-position: 25% 60%; }
  .container { padding-inline: 1.25rem; }
  .logo img { width: 154px; height: 36px; }
  .nav-wrapper { gap: 0.35rem; }
  .header-actions { gap: 0; }
  .hero-title { font-size: 2.25rem; line-height: 1.45; }
  .hero-lead { font-size: 0.875rem; line-height: 1.9; }
  .hero-actions { gap: 0.6rem; }
  .hero-actions .btn { min-height: 48px; padding-inline: 1rem; font-size: 0.875rem; }
  .hero-bottom { gap: 0.5rem; }
  .hero-photo-note { max-width: 78%; }
  .hero-bottom a { font-size: 0.875rem; }
  .hero-bottom a i, .hero-bottom a span[aria-hidden="true"] { font-size: 1rem; }
  .contact-details.card { padding: 1.5rem 1.15rem; }
  .contact-actions { flex-direction: column; }
  .contact-actions .btn { width: 100%; }
  .contact-grid h2 { font-size: 1.55rem; }
  .page-heading h1 { font-size: 2.125rem; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .footer-brand { grid-column: auto; }
  .mobile-contact-bar { padding-inline: 0.75rem; }
}
@media (max-width: 899px) and (max-height: 620px) {
  .hero-layout { padding-block: 2.25rem 4rem; }
  .hero-title { font-size: 2.25rem; line-height: 1.35; margin-bottom: 0.8rem; }
  .home-hero .site-kicker { margin-bottom: 0.6rem; font-size: 0.875rem; }
  .hero-lead { margin-bottom: 1.1rem; font-size: 0.875rem; line-height: 1.75; }
  .hero-actions .btn { min-height: 46px; padding-block: 0.55rem; font-size: 0.875rem; }
  .hero-bottom { bottom: 0.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}


/* Readable type and resilient reflow at enlarged text sizes. */
h1, .hero-title, .page-heading h1 { font-weight: 700; }
h2, h3, h4 { font-weight: 600; }
:lang(th) { letter-spacing: normal; }
.hero-lead, .intro-copy > p, .section-intro, .audience-card p,
.service-card-copy p, .approach-copy > p, .page-heading p,
.inner-page .grid-3 .card p, .contact-details p, .contact-checklist li {
  font-size: 1.0625rem;
  line-height: 1.85;
}
.work-caption p, .process-list p, .contact-banner p, .form-note,
.footer-brand > p, .footer-links p, .footer-links a {
  font-size: 1rem;
  line-height: 1.85;
}
.btn, .header-cta, .nav-links > a, .section-link,
.service-card-copy a, .service-card-link, .mobile-contact-bar a {
  font-size: 1rem;
  letter-spacing: 0;
}
.btn, .hero-actions .btn { min-height: 48px; }
.nav-links > a { display: inline-flex; align-items: center; min-height: 44px; }
.language-label { font-size: 0.875rem; }
.process-list h3, .process-list strong { font-size: 1.0625rem; font-weight: 600; }
.site-footer h2, .site-footer h3, .site-footer h4 { font-size: 1.0625rem; letter-spacing: 0; }
.contact-banner .email-app-note { font-size: 1rem; }
.site-kicker, .eyebrow, .work-tag, .service-number, .intro-services > *,
.approach-media figcaption, .about-work-photo figcaption, .hero-bottom, .footer-bottom {
  font-size: 0.875rem;
  line-height: 1.75;
}
.hero-bottom { flex-wrap: wrap; }
.hero-bottom a { min-width: 44px; }
.breadcrumbs { margin-bottom: 1.5rem; color: var(--text-muted); font-size: 1rem; line-height: 1.75; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 0.5rem; }
.breadcrumbs li + li::before { content: "/"; color: var(--text-muted); }
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 0.2em; }
.breadcrumbs [aria-current="page"] { color: var(--text-main); }
@media (max-width: 1199px) and (min-width: 1025px) {
  .nav-wrapper { gap: 0.65rem; }
  .nav-links { gap: 0.65rem; }
  .logo img { width: 174px; height: 40px; }
}
@media (max-width: 899px) {
  .home-hero { min-height: 0; }
  .hero-layout {
    min-height: min(560px, calc(100svh - var(--header-height) - 64px));
    justify-content: center;
    padding-block: 2rem;
  }
  .home-hero::before {
    background: linear-gradient(0deg, rgba(16,24,21,0.97), rgba(16,24,21,0.88) 38%, rgba(16,24,21,0.8) 72%, rgba(16,24,21,0.72));
  }
  .home-hero .site-kicker { font-size: 0.875rem; margin-bottom: 0.8rem; }
  .hero-title { font-size: 2.375rem; line-height: 1.4; margin-bottom: 1rem; }
  .hero-lead { font-size: 1.0625rem; line-height: 1.8; margin-bottom: 1.5rem; }
  .hero-actions .btn { font-size: 1rem; padding: 0.7rem 1rem; min-height: 48px; }
  .hero-bottom {
    position: relative;
    inset: auto;
    transform: none;
    padding-bottom: 1rem;
    font-size: 0.875rem;
    gap: 0.4rem 1rem;
  }
  .hero-photo-note { max-width: 100%; }
  .hero-bottom a { font-size: 0.875rem; white-space: normal; }
  .section-link { white-space: normal; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 2.25rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-layout { padding-block: 1.75rem; }
  .hero-bottom a { font-size: 0.875rem; }
}
@media (max-width: 899px) and (max-height: 620px) {
  .hero-layout { padding-block: 1.5rem; }
  .hero-title { font-size: 2.125rem; }
}
@media (max-width: 380px) {
  .hero-title { font-size: 2rem; }
  .container { padding-inline: 1rem; }
}
