﻿:root {
  --bg: #0b1220;
  --bg-soft: #111827;
  --bg-panel: rgba(255, 255, 255, 0.06);
  --bg-panel-strong: rgba(255, 255, 255, 0.1);
  --surface: #182235;
  --text: #f3f4f6;
  --muted: #cbd5e1;
  --subtle: #94a3b8;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.24);
  --bronze: #b08a63;
  --bronze-light: #d7b98e;
  --silver: #d9e2ec;
  --ink: #0b1220;
  --white: #ffffff;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
  --radius: 28px;
}

html[data-theme="light"] {
  --bg: #f5f1ea;
  --bg-soft: #ece5db;
  --bg-panel: rgba(255, 255, 255, 0.62);
  --bg-panel-strong: rgba(255, 255, 255, 0.78);
  --surface: #e4dbcf;
  --text: #2e2a26;
  --muted: #5e564e;
  --subtle: #8a7f72;
  --line: rgba(120, 98, 78, 0.16);
  --line-strong: rgba(120, 98, 78, 0.28);
  --bronze: #9b744f;
  --bronze-light: #b9926a;
  --silver: #6f7b82;
  --ink: #2e2a26;
  --white: #ffffff;
  --shadow: 0 28px 80px rgba(46, 42, 38, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 72% 10%, rgba(176, 138, 99, 0.2), transparent 30%),
    linear-gradient(135deg, var(--bg) 0%, var(--bg-soft) 100%);
  color: var(--text);
  font-family: "Noto Sans Thai", "Tahoma", "Arial", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(11, 18, 32, 0.4);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: background 240ms ease, border-color 240ms ease, padding 240ms ease;
}

html[data-theme="light"] .site-header {
  background: rgba(245, 241, 234, 0.55);
}

.site-header.is-scrolled {
  padding-block: 12px;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  border-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-logo {
  display: grid;
  place-items: center;
  width: 68px;
  height: 52px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 14px 30px rgba(0, 0, 0, 0.14);
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px 7px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  letter-spacing: 0.08em;
  font-size: 14px;
}

.brand small {
  color: var(--subtle);
  font-size: 12px;
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  color: var(--muted);
  font-size: 14px;
}

nav a {
  position: relative;
  padding-block: 8px;
}

nav a::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  content: "";
  background: var(--bronze-light);
  transition: width 180ms ease;
}

nav a:hover::after {
  width: 100%;
}

.header-actions,
.hero-actions,
.contact-row,
.quick-contact,
.result-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.theme-toggle,
.header-cta,
.primary-btn,
.secondary-btn,
.result-actions button,
.result-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 12px 20px;
  border: 1px solid var(--line-strong);
  cursor: pointer;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.theme-toggle,
.secondary-btn,
.result-actions button,
.result-actions a {
  background: var(--bg-panel);
  color: var(--text);
}

.header-cta,
.primary-btn {
  background: linear-gradient(135deg, var(--bronze-light), var(--bronze));
  color: #111827;
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 18px 45px rgba(176, 138, 99, 0.25);
}

.theme-toggle:hover,
.header-cta:hover,
.primary-btn:hover,
.secondary-btn:hover,
.result-actions button:hover,
.result-actions a:hover {
  transform: translateY(-2px);
  border-color: var(--bronze-light);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(410px, 0.88fr);
  gap: clamp(30px, 4vw, 58px);
  align-items: center;
  min-height: calc(100vh - 84px);
  overflow: hidden;
  padding: clamp(24px, 4vw, 56px) clamp(18px, 4vw, 56px) clamp(68px, 7vw, 92px);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -3;
  content: "";
  background:
    linear-gradient(90deg, rgba(11, 18, 32, 0.84) 0%, rgba(11, 18, 32, 0.4) 48%, rgba(11, 18, 32, 0.1) 100%),
    radial-gradient(circle at 88% 40%, rgba(217, 226, 236, 0.14), transparent 34%);
}

html[data-theme="light"] .hero::before {
  background:
    linear-gradient(90deg, rgba(245, 241, 234, 0.92) 0%, rgba(245, 241, 234, 0.58) 52%, rgba(245, 241, 234, 0.28) 100%),
    radial-gradient(circle at 88% 40%, rgba(176, 138, 99, 0.16), transparent 34%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

.arc {
  position: absolute;
  display: block;
  border: 1px solid var(--line);
  border-radius: 999px 0 0 999px;
  opacity: 0.8;
}

.arc-one {
  right: -14vw;
  top: 8vh;
  width: 48vw;
  height: 72vh;
  border-right: 0;
}

.arc-two {
  right: 13vw;
  bottom: -28vh;
  width: 48vw;
  height: 48vw;
  border-color: rgba(176, 138, 99, 0.24);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--bronze-light);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 860px;
  font-size: clamp(40px, 4.45vw, 60px);
}

h2 {
  font-size: clamp(34px, 4.6vw, 58px);
}

h3 {
  font-size: 24px;
}

.lead {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.45vw, 20px);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.chip-row span {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-panel);
  color: var(--muted);
  font-size: 13px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.chip-row span:hover {
  transform: translateY(-2px);
  border-color: var(--bronze-light);
}

.hero-actions {
  margin-top: 22px;
}

.contact-row {
  margin-top: 18px;
  color: var(--muted);
  font-weight: 800;
  max-width: 720px;
}

.contact-row a {
  border-bottom: 1px solid var(--bronze);
}

.contact-row .facebook-link,
.quick-contact .facebook-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 13px;
  border: 1px solid rgba(137, 176, 255, 0.42);
  border-radius: 999px;
  background: rgba(31, 91, 194, 0.16);
  color: #dce8ff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}

.hero-visual {
  position: relative;
  min-height: 560px;
  border-radius: 42px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, transparent 20%, rgba(11, 18, 32, 0.68) 100%),
    linear-gradient(90deg, rgba(11, 18, 32, 0.12), rgba(11, 18, 32, 0.42));
}

html[data-theme="light"] .hero-visual::after {
  background:
    linear-gradient(180deg, transparent 28%, rgba(46, 42, 38, 0.36) 100%),
    linear-gradient(90deg, rgba(245, 241, 234, 0.08), rgba(245, 241, 234, 0.28));
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) contrast(1.08);
}

.service-stack {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  display: grid;
  gap: 12px;
  width: min(390px, calc(100% - 48px));
}

.service-mini {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(11, 18, 32, 0.54);
  color: #f8fafc;
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

html[data-theme="light"] .service-mini {
  background: rgba(255, 255, 255, 0.68);
  color: #2e2a26;
}

.service-mini h2 {
  font-size: 17px;
}

.service-mini p {
  margin: 3px 0 0;
  color: color-mix(in srgb, currentColor 72%, transparent);
  font-size: 13px;
}

.mini-icon,
.card-index {
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(176, 138, 99, 0.18);
  color: var(--bronze-light);
  font-weight: 900;
}

.mini-icon {
  width: 46px;
  height: 46px;
}

.material-slabs {
  position: absolute;
  left: clamp(18px, 4vw, 56px);
  right: clamp(18px, 4vw, 56px);
  bottom: 24px;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.1fr 0.85fr 0.6fr;
  gap: 14px;
  pointer-events: none;
}

.slab {
  min-height: 74px;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.2);
}

.slab-water {
  background:
    radial-gradient(circle at 18% 35%, rgba(255, 255, 255, 0.24) 0 2px, transparent 3px),
    radial-gradient(circle at 72% 58%, rgba(255, 255, 255, 0.18) 0 3px, transparent 4px),
    linear-gradient(135deg, rgba(217, 226, 236, 0.2), rgba(176, 138, 99, 0.16));
}

.slab-stone {
  transform: translateY(18px);
  background:
    repeating-linear-gradient(105deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 16px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(176, 138, 99, 0.14));
}

.slab-coat {
  transform: translateY(-10px);
  background: linear-gradient(135deg, rgba(176, 138, 99, 0.42), rgba(217, 226, 236, 0.12));
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 26px clamp(18px, 4vw, 56px);
  background: color-mix(in srgb, var(--bg-soft) 82%, transparent);
  border-block: 1px solid var(--line);
}

.trust-item {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--bg-panel);
}

.trust-item span {
  display: block;
  margin-bottom: 6px;
  color: var(--bronze-light);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.trust-item strong {
  color: var(--text);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.35;
}

.section,
.projects-section,
.brief-section,
.process-section {
  padding: clamp(66px, 9vw, 124px) clamp(18px, 4vw, 56px);
}

.section-heading {
  max-width: 860px;
}

.wide-heading {
  max-width: 980px;
}

.section-heading p:not(.eyebrow),
.process-copy p,
.brief-copy p {
  color: var(--muted);
  font-size: 18px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(210px, 1fr));
  gap: 16px;
  margin-top: 38px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.premium-card,
.project-card,
.lead-form,
.result-panel,
.steps li {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-panel);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset;
}

.premium-card {
  min-height: 290px;
  padding: 24px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.premium-card:hover,
.project-card:hover {
  transform: translateY(-4px);
  border-color: var(--bronze-light);
  background: var(--bg-panel-strong);
}

.card-index {
  width: 48px;
  height: 48px;
  margin-bottom: 34px;
}

.premium-card h3 {
  margin-bottom: 12px;
}

.premium-card p,
.project-copy p,
.steps span,
.note {
  color: var(--muted);
}

.projects-section {
  position: relative;
  background:
    linear-gradient(180deg, transparent, rgba(176, 138, 99, 0.08)),
    var(--bg-soft);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.project-card {
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.featured-project {
  transform: translateY(28px);
}

.project-photo {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  min-height: 230px;
  background:
    linear-gradient(135deg, rgba(217, 226, 236, 0.14), rgba(176, 138, 99, 0.22)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 15px);
  color: var(--bronze-light);
  text-align: center;
  font-weight: 900;
}

.project-photo span {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 65%, transparent);
  backdrop-filter: blur(10px);
}

img.project-photo {
  width: 100%;
  height: 100%;
  min-height: 230px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.project-copy {
  padding: 24px;
}

.project-copy span {
  color: var(--bronze-light);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-copy h3 {
  margin: 10px 0;
}

.process-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(340px, 1.2fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: start;
}

.process-copy {
  position: sticky;
  top: 110px;
}

.steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 22px 22px 22px 78px;
}

.steps li::before {
  position: absolute;
  left: 22px;
  top: 22px;
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  color: var(--bronze-light);
  font-weight: 900;
}

.steps strong,
.steps span {
  display: block;
}

.brief-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(360px, 1.18fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: start;
  background:
    linear-gradient(135deg, rgba(176, 138, 99, 0.12), transparent 45%),
    var(--bg-soft);
}

.brief-copy {
  position: sticky;
  top: 110px;
}

.quick-contact {
  margin-top: 24px;
}

.quick-contact a {
  border-bottom: 1px solid var(--bronze);
  color: var(--muted);
  font-weight: 900;
}

.lead-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 36px);
  background: var(--bg-panel-strong);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 16px;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  color: var(--text);
  font-weight: 500;
}

textarea {
  min-height: 124px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(176, 138, 99, 0.2);
  border-color: var(--bronze-light);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-submit {
  width: 100%;
}

.lead-honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.lead-consent { display: flex !important; align-items: flex-start; gap: .65rem; font-size: .9rem; line-height: 1.5; }
.lead-consent input { width: auto !important; margin-top: .2rem; }
.form-submit:disabled { opacity: .65; cursor: wait; }

.result-panel {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.result-panel[hidden] {
  display: none;
}

.result-panel textarea {
  min-height: 190px;
}

.note {
  margin: 22px 0 0;
  font-size: 14px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  background: var(--bg);
  color: var(--subtle);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--bronze-light);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 1120px) {
  nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    min-height: 520px;
  }

  .hero-visual img {
    min-height: 520px;
  }

  .material-slabs {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    grid-column: 1;
    margin-top: -58px;
  }

  .process-section,
  .brief-section {
    grid-template-columns: 1fr;
  }

  .process-copy,
  .brief-copy {
    position: static;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    padding: 12px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand small,
  .theme-toggle {
    display: none;
  }

  .header-cta {
    min-height: 40px;
    padding: 9px 12px;
    font-size: 13px;
  }

  .hero {
    padding: 34px 16px 56px;
  }

  h1 {
    font-size: 40px;
  }

  .lead {
    font-size: 17px;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 460px;
  }

  .service-stack {
    left: 14px;
    right: 14px;
    width: auto;
  }

  .material-slabs {
    grid-template-columns: 1fr;
  }

  .slab {
    min-height: 52px;
  }

  .trust-band,
  .project-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .featured-project {
    transform: none;
  }

  .section,
  .projects-section,
  .brief-section,
  .process-section {
    padding: 64px 16px;
  }

  .site-footer {
    display: grid;
  }
}

/* Modern architect refresh */
:root {
  --bg: #07090d;
  --bg-soft: #10141b;
  --bg-panel: rgba(255, 255, 255, 0.075);
  --bg-panel-strong: rgba(255, 255, 255, 0.12);
  --surface: #171d25;
  --text: #ffffff;
  --muted: #e3e8ef;
  --subtle: #aab4c2;
  --line: rgba(255, 255, 255, 0.18);
  --line-strong: rgba(255, 255, 255, 0.32);
  --bronze: #b88a52;
  --bronze-light: #f0c681;
  --silver: #e7edf5;
  --ink: #07090d;
  --white: #ffffff;
  --shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
  --radius: 8px;
}

body {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px) 0 0 / 84px 84px,
    linear-gradient(180deg, rgba(255,255,255,0.03) 1px, transparent 1px) 0 0 / 84px 84px,
    linear-gradient(135deg, #07090d 0%, #111820 50%, #07090d 100%);
  color: var(--text);
}

.site-header {
  background: rgba(7, 9, 13, 0.76);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.brand-logo,
.hero-visual,
.premium-card,
.project-card,
.lead-form,
.result-panel,
.steps li,
.trust-item {
  border-radius: var(--radius);
}

.hero {
  align-items: stretch;
  min-height: calc(100vh - 76px);
  padding-top: clamp(42px, 6vw, 82px);
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(7, 9, 13, 0.94) 0%, rgba(7, 9, 13, 0.66) 54%, rgba(7, 9, 13, 0.18) 100%),
    linear-gradient(180deg, rgba(240, 198, 129, 0.12), transparent 46%);
}

.hero-copy {
  align-self: center;
}

.eyebrow {
  color: var(--bronze-light);
  letter-spacing: 0.12em;
}

h1 {
  max-width: 940px;
  font-size: clamp(44px, 5.2vw, 76px);
  font-weight: 950;
  color: #ffffff;
}

h2 {
  max-width: 1040px;
  font-size: clamp(36px, 4.7vw, 64px);
  font-weight: 950;
  color: #ffffff;
}

h3 {
  color: #ffffff;
  font-weight: 950;
}

.lead,
.section-heading p:not(.eyebrow),
.process-copy p,
.brief-copy p,
.project-copy p,
.comparison-copy p,
.process-photo-card p {
  color: #e9eef5;
  font-weight: 650;
}

.primary-btn {
  color: #07090d;
  background: linear-gradient(135deg, #ffd98f, #b88a52);
}

.secondary-btn,
.theme-toggle,
.result-actions button,
.result-actions a {
  background: rgba(255,255,255,0.08);
  color: #ffffff;
}

.hero-visual {
  min-height: 620px;
  border: 1px solid rgba(255,255,255,0.24);
}

.hero-visual img {
  min-height: 620px;
  filter: saturate(0.88) contrast(1.16) brightness(0.88);
}

.service-mini {
  border-radius: 8px;
  background: rgba(7, 9, 13, 0.74);
}

.projects-section {
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(180deg, rgba(255,255,255,0.035) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(180deg, #10141b 0%, #07090d 100%);
}

.project-heading h2 {
  max-width: 1120px;
}

.project-summary {
  display: grid;
  gap: 8px;
  margin-top: 34px;
  padding: 22px 24px;
  border: 1px solid var(--line-strong);
  border-left: 6px solid var(--bronze-light);
  border-radius: 8px;
  background: rgba(255,255,255,0.075);
  box-shadow: var(--shadow);
}

.category-showcase-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px) 0 0 / 84px 84px,
    linear-gradient(180deg, rgba(255,255,255,0.032) 1px, transparent 1px) 0 0 / 84px 84px,
    linear-gradient(135deg, #07090d 0%, #151b23 52%, #090b10 100%);
}

.category-showcase-section::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(240,198,129,0.12), transparent 42%),
    radial-gradient(circle at 82% 18%, rgba(231,237,245,0.08), transparent 34%);
}

.category-showcase-section > * {
  position: relative;
  z-index: 1;
}

.category-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(280px, 1.05fr) minmax(280px, 1.05fr);
  gap: 18px;
  margin-top: 34px;
}

.category-card {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}

.category-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, transparent 28%, rgba(7,9,13,0.9) 100%),
    linear-gradient(90deg, rgba(7,9,13,0.18), rgba(7,9,13,0.28));
  pointer-events: none;
}

.category-card img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.08) brightness(0.9);
  transition: transform 500ms ease, filter 500ms ease;
}

.category-card:hover img {
  transform: scale(1.035);
  filter: saturate(1.02) contrast(1.12) brightness(0.94);
}

.category-before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
  min-height: 560px;
}

.category-before-after figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.26);
}

.category-before-after figure:last-child {
  border-right: 0;
}

.category-before-after img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: center;
}

.category-before-after figcaption {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,0.34);
  border-radius: 999px;
  background: rgba(7,9,13,0.78);
  color: #ffffff;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.category-pair {
  display: grid;
  height: 100%;
  min-height: 560px;
}

.category-pair figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #0b0f14;
}

.category-loft-pair {
  grid-template-rows: 0.95fr 1.05fr;
}

.category-texture-pair,
.category-repair-pair {
  grid-template-rows: 1fr 1fr;
}

.category-pair img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.loft-product-shot img {
  object-fit: contain;
  padding: 10px;
  background: #18181b;
}

.loft-work-shot img {
  object-position: center 45%;
  filter: brightness(1.18) contrast(1.05) saturate(1.06);
}

.category-card:hover .loft-work-shot img {
  filter: brightness(1.22) contrast(1.07) saturate(1.08);
}

.category-texture-pair img {
  object-position: center 48%;
  filter: brightness(1.08) contrast(1.06) saturate(0.96);
}

.category-repair-pair img {
  object-position: center 44%;
  filter: brightness(1.06) contrast(1.08) saturate(0.96);
}

.category-card:hover .category-texture-pair img,
.category-card:hover .category-repair-pair img {
  filter: brightness(1.12) contrast(1.1) saturate(1);
}

.category-pair figcaption {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,0.34);
  border-radius: 999px;
  background: rgba(7,9,13,0.78);
  color: #ffffff;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.category-card-tall img {
  object-position: center 46%;
}

.category-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: grid;
  gap: 10px;
  padding: clamp(22px, 3vw, 34px);
}

.category-copy span {
  width: fit-content;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,0.32);
  border-radius: 999px;
  background: rgba(7,9,13,0.78);
  color: var(--bronze-light);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.category-copy h3 {
  max-width: 560px;
  font-size: clamp(27px, 3vw, 40px);
  line-height: 1.12;
}

.category-copy p {
  max-width: 620px;
  margin: 0;
  color: #eef3f8;
  font-size: 16px;
  font-weight: 700;
}

.project-summary span,
.comparison-copy span,
.process-photo-card span {
  color: var(--bronze-light);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-summary strong {
  color: #ffffff;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.2;
}

.project-summary em {
  color: var(--muted);
  font-style: normal;
  font-weight: 750;
}

.project-summary-secondary {
  margin-top: 34px;
}

.before-after-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.comparison-card,
.process-photo-card {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}

.image-frame {
  position: relative;
  overflow: hidden;
  background: #0b0f14;
}

.image-frame img,
.process-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.08);
}

.image-frame {
  aspect-ratio: 16 / 10;
}

.stage-label {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.36);
  border-radius: 999px;
  background: rgba(7,9,13,0.82);
  color: #ffffff;
  font-size: 15px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.after-card .stage-label {
  background: linear-gradient(135deg, #ffd98f, #b88a52);
  color: #07090d;
}

.prachachuen-before-card .image-frame img {
  object-position: center 42%;
}

.prachachuen-after-card .image-frame img {
  object-position: center 48%;
}

.sisaket-before-card .image-frame img {
  object-position: center 46%;
}

.sisaket-after-card .image-frame img {
  object-position: center 44%;
}

.basement-before-card .image-frame img {
  object-position: center 48%;
  filter: brightness(1.18) contrast(1.08) saturate(0.94);
}

.basement-after-card .image-frame img {
  object-position: center 48%;
  filter: brightness(1.2) contrast(1.08) saturate(0.94);
}

.basement-process-card img {
  object-position: center 48%;
  filter: brightness(1.12) contrast(1.08) saturate(1.02);
}

.comparison-copy {
  padding: clamp(20px, 3vw, 32px);
}

.comparison-copy h3 {
  margin: 10px 0 12px;
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.18;
}

.process-photo-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: stretch;
}

.process-photo-card img {
  min-height: 360px;
  aspect-ratio: 16 / 8;
}

.process-photo-card div {
  display: grid;
  align-content: center;
  padding: clamp(24px, 4vw, 46px);
}

.process-photo-card h3 {
  margin: 12px 0;
  font-size: clamp(28px, 3.5vw, 46px);
}

.project-grid {
  display: none;
}

@media (max-width: 980px) {
  .category-grid,
  .before-after-showcase,
  .process-photo-card {
    grid-template-columns: 1fr;
  }

  .category-card,
  .category-before-after,
  .category-before-after img,
  .category-pair,
  .category-card img {
    min-height: 520px;
  }

  .process-photo-card img {
    aspect-ratio: 16 / 10;
    min-height: 280px;
  }
}

@media (max-width: 760px) {
  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 430px;
  }

  .comparison-copy h3,
  .category-copy h3,
  .process-photo-card h3 {
    font-size: 28px;
  }

  .project-summary,
  .comparison-copy,
  .category-copy,
  .process-photo-card div {
    padding: 20px;
  }

  .category-card,
  .category-before-after,
  .category-before-after img,
  .category-pair,
  .category-card img {
    min-height: 430px;
  }
}

/* Premium, clearer company logo */
.brand {
  gap: 20px;
  min-width: 390px;
  padding: 7px 16px 7px 7px;
  border: 1px solid rgba(255, 217, 143, 0.2);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.03)),
    rgba(255,255,255,0.04);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.brand-logo {
  position: relative;
  width: 178px;
  height: 120px;
  border: 1px solid rgba(255, 217, 143, 0.72);
  border-radius: 24px;
  overflow: visible;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(242, 238, 229, 0.98));
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.38),
    0 0 0 7px rgba(255, 217, 143, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.brand-logo::before {
  position: absolute;
  inset: -10px;
  z-index: -1;
  content: "";
  border-radius: 30px;
  background: radial-gradient(circle at 50% 20%, rgba(255, 217, 143, 0.32), transparent 62%);
}

.brand-logo img {
  position: relative;
  z-index: 1;
  padding: 6px 10px;
  border-radius: 18px;
}

.brand strong {
  color: #ffffff;
  font-size: 22px;
  letter-spacing: 0.12em;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.brand small {
  margin-top: 2px;
  color: #fff3d7;
  font-size: 16px;
  font-weight: 900;
}

@media (max-width: 1120px) {
  .brand {
    min-width: 0;
    padding-right: 12px;
  }

  .brand-logo {
    width: 138px;
    height: 94px;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: center;
  }

  .brand {
    gap: 12px;
    padding: 6px 10px 6px 6px;
  }

  .brand-logo {
    width: 112px;
    height: 78px;
    border-radius: 18px;
  }

  .brand strong {
    font-size: 17px;
  }

  .brand small {
    font-size: 13px;
  }
}
/* AI SEO entity hub */
.hero-subtitle{margin:.65rem 0 0;font-size:clamp(1rem,1.5vw,1.3rem);font-weight:700;letter-spacing:.04em;color:var(--muted,#b7b7b7)}
.seo-hub-home{padding:clamp(3rem,7vw,7rem) clamp(1.2rem,6vw,7rem);background:#f3f1ec;color:#131516}
.seo-hub-home h2{max-width:900px;font-size:clamp(2rem,4.5vw,4.8rem);line-height:1.05}
.seo-hub-links{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;margin-top:2.5rem}
.seo-hub-links a{display:grid;gap:.8rem;min-height:180px;padding:1.5rem;background:#fff;border:1px solid #d6d3cc;color:#131516;text-decoration:none}
.seo-hub-links strong{font-size:1.35rem}.seo-hub-links span{line-height:1.6;color:#65686b}
@media(max-width:900px){.seo-hub-links{grid-template-columns:1fr 1fr}}@media(max-width:560px){.seo-hub-links{grid-template-columns:1fr}}
