/* PGS Property and Surface Solution
   Dark CI: charcoal plaster ground, copper accent, warm off-white text. Marble texture only in the hero and before/after. */
:root {
  /* dark: charcoal plaster, copper lettering, warm off-white text */
  --bg: #1E1C1A;
  --bg-2: #242120;
  --paper: #2B2826;
  --deep: #151413;
  --charcoal: #EFE9E2;      /* headings and strong text on the dark ground */
  --ink: #EFE9E2;
  --ink-soft: #B3ABA2;
  --stone: #8F8A83;
  --stone-light: #4A4541;
  --copper: #B8845B;
  --copper-hover: #CC9970;
  --copper-light: #E6D3C4;
  --copper-text: #D3A87F;
  --hairline: #3A3632;
  --error: #F09A86;

  --serif: "Fraunces", "Georgia", "Noto Serif Thai", serif;
  --sans: "Manrope", "Inter", "Noto Sans Thai", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4.5vw, 56px);
  --section: clamp(64px, 9vw, 128px);
  --radius: 4px;

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  touch-action: manipulation;
  padding-bottom: 72px; /* room for the floating contact bar on phones */
}
@media (min-width: 961px) { body { padding-bottom: 0; } }

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 { margin: 0 0 0.5em; font-family: var(--serif); font-weight: 400; line-height: 1.12; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 1.3rem + 4vw, 4.6rem); letter-spacing: -0.02em; line-height: 1.04; }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3.1rem); letter-spacing: -0.015em; }
h3 { font-size: 1.35rem; line-height: 1.25; }
p { margin: 0 0 1em; text-wrap: pretty; }
strong { font-weight: 600; }

a { color: var(--charcoal); text-decoration-color: var(--copper); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--copper-text); }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }

.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; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 12px 16px; background: var(--copper); color: #151413; }
.skip-link:focus { top: 12px; }

.eyebrow { margin: 0 0 14px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--copper-text); }
.section-lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 38em; margin-bottom: 44px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }
.section-head h2 { margin: 0; }
.section-cta { margin-top: 44px; display: flex; justify-content: center; }
.text-link { font-weight: 600; }
.empty { color: var(--ink-soft); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 30px;
  border: 1px solid transparent; border-radius: var(--radius);
  font: inherit; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.9rem;
  text-decoration: none; cursor: pointer;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease, transform 200ms ease;
}
.btn:active { transform: translateY(1px); }
.btn-copper { background: var(--copper); color: #fff; }
.btn-copper:hover { background: var(--copper-hover); color: #fff; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--deep); }
.btn-glass { color: #fff; border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.08); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-glass:hover { background: #fff; color: var(--deep); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 0.8rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: progress; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(30, 28, 26, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--hairline); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: flex; align-items: baseline; gap: 12px; text-decoration: none; min-width: 0; color: var(--ink); }
.brand-mark { font-family: var(--serif); font-size: 1.7rem; letter-spacing: 0.06em; color: var(--copper-text); }
.brand-name { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--copper-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand:hover { color: var(--ink); }

.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav > ul { display: flex; gap: 2px; }
.site-nav a { display: block; padding: 10px 12px; color: var(--ink); font-weight: 500; font-size: 0.95rem; text-decoration: none; border-radius: var(--radius); }
.site-nav a:hover { color: var(--copper-text); }
.site-nav a[aria-current] { box-shadow: inset 0 -2px 0 var(--copper); }
.has-sub { position: relative; }
.sub { position: absolute; top: 100%; left: 0; min-width: 260px; padding: 10px !important; background: var(--paper); border: 1px solid var(--hairline); border-radius: var(--radius); box-shadow: 0 12px 30px rgba(0,0,0,.4); opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity 160ms ease, transform 160ms ease, visibility 160ms; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub-head { padding: 10px 12px 2px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--copper-text); }
.sub-head:not(:first-child) { margin-top: 6px; border-top: 1px solid var(--hairline); padding-top: 12px; }
.header-cta { margin-left: auto; }

.nav-toggle { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; margin-left: auto; background: none; border: 1px solid var(--hairline); border-radius: var(--radius); font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

@media (max-width: 1080px) { .brand-name { display: none; } }
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .header-inner { flex-wrap: wrap; gap: 12px; }
  .header-cta { margin-left: 0; order: 2; display: none; }
  .site-nav { order: 3; flex-basis: 100%; display: none; padding-bottom: 16px; }
  .site-nav.is-open { display: block; }
  .site-nav > ul { flex-direction: column; }
  .site-nav a { padding: 12px 4px; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; background: none; padding: 0 0 0 16px !important; min-width: 0; }
}

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; min-height: min(86svh, 820px); display: grid; align-items: end; overflow: hidden; background: var(--deep); }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img, .hero-media .photo-slot { width: 100%; height: 100%; object-fit: cover; }
.hero-media .photo-slot {
  /* stand-in marble texture until the real photograph is added */
  background:
    radial-gradient(120% 70% at 20% 0%, rgba(255,255,255,.14), transparent 55%),
    linear-gradient(112deg, transparent 30%, rgba(255,255,255,.06) 31%, transparent 34%, transparent 58%, rgba(255,255,255,.05) 59%, transparent 61%),
    linear-gradient(160deg, #3A3835, #252525 60%, #1B1A19);
  border: 0; color: rgba(255,255,255,.5); align-content: end; justify-items: end; padding: 24px 32px; font-size: .85rem;
}
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,20,19,.25) 0%, rgba(21,20,19,.15) 40%, rgba(21,20,19,.78) 100%); }
.hero-copy { position: relative; padding-block: 140px clamp(56px, 8vw, 104px); color: #fff; }
.hero-title { color: #fff; font-family: var(--sans); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: clamp(1.7rem, 1rem + 3.2vw, 3.6rem); line-height: 1.1; }
.hero-sub { font-family: var(--serif); font-size: clamp(1.4rem, 1rem + 1.8vw, 2.4rem); line-height: 1.2; color: #fff; max-width: 22ch; margin-bottom: 20px; }
.hero-lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 40em; }
.hero .hero-lede { color: rgba(255,255,255,.82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
@media (max-width: 560px) { .hero-actions .btn { width: 100%; } .hero { min-height: 0; } .hero-copy { padding-top: 96px; } }

.strip { background: var(--deep); color: #fff; border-block: 1px solid var(--hairline); }
.strip-list { list-style: none; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 0; padding-block: 16px; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; }
.strip-list li { padding: 0 clamp(14px, 3vw, 40px); }
.strip-list li + li { border-left: 1px solid var(--copper); }
.strip-list a { color: #fff; text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color 160ms ease, color 160ms ease; }
.strip-list a:hover { color: var(--copper-light); border-bottom-color: var(--copper); }
.anchor-link { text-decoration: none; background-image: linear-gradient(var(--copper), var(--copper)); background-size: 0 2px; background-position: 0 92%; background-repeat: no-repeat; transition: background-size 300ms ease, color 200ms ease; }
.anchor-link:hover { color: var(--copper-text); background-size: 100% 2px; }

/* ---------- sections ---------- */
.section { padding-block: var(--section); }

.why-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.why-cards li { padding: 32px 28px; background: var(--paper); border: 1px solid var(--hairline); border-radius: var(--radius); }
.why-cards .icon { width: 44px; height: 44px; fill: none; stroke: var(--copper); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 22px; }
.why-cards h3 { font-size: 1.2rem; font-family: var(--sans); font-weight: 600; color: var(--ink); }
.why-cards p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }
@media (max-width: 960px) { .why-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .why-cards { grid-template-columns: 1fr; } }

/* services */
.services { background: var(--bg-2); }
.service-group { padding-block: 32px; scroll-margin-top: 100px; }
.service-group + .service-group { border-top: 1px solid var(--hairline); }
.service-group-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 24px; align-items: baseline; margin-bottom: 28px; }
.service-group-head h3 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem); margin: 0; }
.service-group-head p { margin: 0; color: var(--ink-soft); }
.service-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.service-card a { display: block; height: 100%; background: var(--paper); border: 1px solid var(--hairline); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform 250ms ease, box-shadow 250ms ease; }
.service-card a:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,.45); border-color: var(--copper); color: var(--ink); }
.service-card-img, .service-card .photo-slot { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; }
.service-card-body { display: grid; gap: 6px; padding: 20px 22px 22px; }
.service-card-name { font-family: var(--serif); font-size: 1.3rem; line-height: 1.2; }
.service-card-desc { color: var(--ink-soft); font-size: 0.95rem; }
.service-card-more { margin-top: 8px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--copper-text); }
.service-card-more::after { content: " →"; }
@media (max-width: 960px) { .service-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .service-group-head { grid-template-columns: 1fr; gap: 6px; } }
@media (max-width: 560px) { .service-cards { grid-template-columns: 1fr; } }

.photo-slot {
  display: grid; place-items: center; padding: 20px; text-align: center;
  color: var(--stone); font-size: 0.85rem;
  background:
    linear-gradient(115deg, transparent 40%, rgba(184,132,91,.16) 41%, transparent 43%),
    linear-gradient(160deg, transparent 55%, rgba(184,132,91,.12) 56%, transparent 58%),
    #343130;
  border-bottom: 1px solid var(--hairline);
}

/* before / after */
.before-after { background: var(--deep); color: #fff; border-block: 1px solid var(--hairline); }
.before-after h2 { color: #fff; }
.before-after .section-lede { color: rgba(255,255,255,.7); }
.before-after .eyebrow { color: var(--copper-light); }
.ba-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.ba-tabs button { min-height: 40px; padding: 0 16px; background: transparent; color: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; font: inherit; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease; }
.ba-tabs button:hover { border-color: var(--copper); color: #fff; }
.ba-tabs button[aria-selected="true"] { background: var(--copper); border-color: var(--copper); color: #fff; }
.ba { position: relative; margin: 0; aspect-ratio: 16 / 9; max-height: 70vh; overflow: hidden; border-radius: var(--radius); user-select: none; --pos: 50%; }
.ba > div { position: absolute; inset: 0; }
.ba img, .ba-fake { width: 100%; height: 100%; object-fit: cover; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-fake--before { background: linear-gradient(115deg, #7E7A74 0%, #8C8882 30%, #6E6A64 31%, #8A8680 60%, #75716B 61%, #8F8B85 100%); filter: contrast(.85); }
.ba-fake--after { background: radial-gradient(120% 60% at 30% 10%, rgba(255,255,255,.55), transparent 50%), linear-gradient(115deg, #D8D4CE 0%, #ECE9E4 30%, #C9C5BF 31%, #EAE7E2 60%, #D2CEC8 61%, #F1EEEA 100%); }
.ba-tag { position: absolute; top: 16px; padding: 6px 12px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #fff; background: rgba(37,37,37,.7); border-radius: 999px; }
.ba-tag--before { left: 16px; }
.ba-tag--after { right: 16px; }
.ba-range-label { position: absolute; inset: 0; margin: 0; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ba-range:focus-visible ~ .ba-handle { outline: 2px solid var(--copper); outline-offset: 4px; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; }
.ba-handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--copper); border: 2px solid #fff; box-shadow: 0 6px 20px rgba(0,0,0,.35); background-image: linear-gradient(#fff, #fff), linear-gradient(#fff, #fff); background-size: 8px 2px, 8px 2px; background-repeat: no-repeat; background-position: 9px 50%, 29px 50%; }
.ba[hidden] { display: none; }
.before-after .btn-copper { background: var(--copper); }

/* industries */
.industry-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--copper); }
.industry-list li { padding: 28px 24px 28px 0; border-bottom: 1px solid var(--hairline); }
.industry-list li + li { border-left: 1px solid var(--hairline); padding-left: 24px; }
.industry-list h3 { font-size: 1.35rem; margin-bottom: 6px; }
.industry-list p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; letter-spacing: 0.02em; }
@media (max-width: 860px) { .industry-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .industry-list li:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 480px) { .industry-list { grid-template-columns: 1fr; } .industry-list li { border-left: 0 !important; padding-left: 0 !important; } }

/* process timeline */
.process { background: var(--bg-2); border-block: 1px solid var(--hairline); }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.steps li { counter-increment: step; position: relative; padding-top: 28px; }
.steps li::before { content: "0" counter(step); display: block; font-family: var(--serif); font-size: 1.6rem; color: var(--copper); margin-bottom: 10px; }
.steps li::after { content: ""; position: absolute; top: 12px; left: 0; right: -20px; height: 1px; background: var(--hairline); }
.steps li:last-child::after { right: 0; }
.steps li span::before, .steps li h3::before { content: ""; position: absolute; top: 8px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--copper); }
.steps h3 { font-family: var(--sans); font-weight: 600; font-size: 1.05rem; margin-bottom: 6px; color: var(--ink); }
.steps p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }
@media (max-width: 1080px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; } .steps li:nth-child(3n)::after { right: 0; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } .steps li { padding: 0 0 0 32px; } .steps li::after { top: 0; bottom: -36px; left: 4px; right: auto; width: 1px; height: auto; } .steps li:last-child::after { display: none; } .steps li h3::before { top: 6px; } .steps li::before { margin-bottom: 4px; } }

/* projects */
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.project { margin: 0; background: var(--paper); border: 1px solid var(--hairline); border-radius: var(--radius); overflow: hidden; }
.project-img, .project .photo-slot { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.project figcaption { padding: 20px 22px 24px; }
.project figcaption strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.3rem; line-height: 1.2; }
.project-type { display: block; color: var(--copper-text); font-size: 0.9rem; margin: 4px 0 14px; }
.project-facts { margin: 0; display: grid; gap: 6px; font-size: 0.92rem; }
.project-facts div { display: grid; grid-template-columns: 72px 1fr; gap: 12px; }
.project-facts dt { color: var(--stone); }
.project-facts dd { margin: 0; }
@media (max-width: 900px) { .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .project-grid { grid-template-columns: 1fr; } }

/* reviews */
.reviews { background: var(--bg-2); border-block: 1px solid var(--hairline); }
.review-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }
.review { margin: 0; padding-left: 20px; border-left: 2px solid var(--copper); }
.review blockquote { margin: 0 0 12px; font-family: var(--serif); font-size: 1.25rem; line-height: 1.4; }
.review figcaption { color: var(--ink-soft); font-size: 0.95rem; }

/* about teaser */
.about-teaser { background: var(--bg-2); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-text { font-size: 1.2rem; line-height: 1.6; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
.about-points { margin: 0 0 40px; display: grid; gap: 0; }
.about-points div { padding: 22px 0; border-top: 1px solid var(--hairline); }
.about-points dt { font-family: var(--serif); font-size: 1.4rem; margin-bottom: 6px; }
.about-points dd { margin: 0; color: var(--ink-soft); }
.industry-list--inline { margin-bottom: 40px; }

/* quote form */
.quote { background: var(--deep); color: #fff; border-top: 1px solid var(--hairline); }
.quote h2 { color: #fff; }
.quote .eyebrow { color: var(--copper-light); }
.quote-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.quote-intro p { color: rgba(255,255,255,.75); font-size: 1.1rem; }
.contact-lines { margin: 32px 0 0; display: grid; }
.contact-lines div { display: grid; grid-template-columns: 76px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.14); }
.contact-lines dt { color: rgba(255,255,255,.55); }
.contact-lines dd { margin: 0; font-variant-numeric: tabular-nums; }
.contact-lines a { color: #fff; text-decoration-color: var(--copper); }
.contact-lines a:hover { color: var(--copper-light); }
.quote-form { background: var(--paper); color: var(--ink); padding: clamp(24px, 3.5vw, 44px); border-radius: var(--radius); border: 1px solid var(--hairline); }
.field { margin-bottom: 18px; min-width: 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; gap: 0; } }
.field label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.92rem; }
.optional { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 10px 14px; font: inherit; font-size: 1rem; color: var(--ink); background-color: var(--bg); border: 1px solid #5A544E; border-radius: var(--radius); transition: border-color 160ms ease, box-shadow 160ms ease; }
.field input[type="file"] { padding: 11px 14px; background: var(--bg-2); border-style: dashed; cursor: pointer; }
.field input[type="file"]::file-selector-button { margin-right: 12px; padding: 6px 12px; font: inherit; font-size: .9rem; font-weight: 600; color: var(--ink); background: var(--paper); border: 1px solid #5A544E; border-radius: var(--radius); cursor: pointer; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--copper); box-shadow: 0 0 0 3px rgba(168,117,79,.3); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { margin: 6px 0 0; color: var(--error); font-size: 0.9rem; font-weight: 600; }
.field-help { margin: 6px 0 0; color: var(--ink-soft); font-size: 0.875rem; }
.form-note { margin: 16px 0 0; font-size: 0.875rem; color: var(--ink-soft); text-align: center; }
.form-note.is-preview { color: var(--copper-text); font-weight: 600; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 900px) { .quote-grid { grid-template-columns: 1fr; } }

/* ---------- floating contact bar ---------- */
.floating { position: fixed; z-index: 60; display: flex; gap: 8px; }
.floating a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; font-weight: 600; font-size: 0.9rem; text-decoration: none; border-radius: 999px; box-shadow: 0 8px 24px rgba(0,0,0,.45); transition: transform 160ms ease, background-color 160ms ease; }
.floating a:hover { transform: translateY(-2px); }
.floating-line { background: #06C755; color: #fff; }
.floating-line:hover { color: #fff; }
.floating-phone { background: var(--paper); color: var(--ink); border: 1px solid #5A544E; }
.floating-quote { background: var(--copper); color: #fff; text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; }
.floating-quote:hover { background: var(--copper-hover); color: #fff; }
@media (min-width: 961px) { .floating { right: 24px; bottom: 24px; flex-direction: column; align-items: flex-end; } .floating-line { padding-right: 22px; } }
@media (max-width: 960px) {
  .floating { left: 0; right: 0; bottom: 0; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(30,28,26,.96); border-top: 1px solid var(--hairline); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .floating a { flex: 1; box-shadow: none; border-radius: var(--radius); padding: 0 8px; }
  .floating-quote { flex: 1.4; }
}

/* ---------- inner pages ---------- */
.page-hero { background: var(--bg-2); padding-block: clamp(36px, 6vw, 88px); border-bottom: 1px solid var(--hairline); }
.page-hero--short { padding-block: clamp(32px, 4vw, 56px); }
.page-hero h1 { max-width: 18ch; }
.page-hero .hero-lede { max-width: 42em; }
.crumbs { margin-bottom: 24px; font-size: 0.9rem; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; color: var(--ink-soft); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--copper); }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.jump a { padding: 10px 16px; border: 1px solid var(--hairline); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.jump a:hover { border-color: var(--copper); }

.prose-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.1em; }
.prose li { margin-bottom: 0.5em; }
.prose li::marker { color: var(--copper); }
.prose p, .prose li { color: #D3CCC3; }
.prose img { border-radius: var(--radius); margin: 1em 0; }
/* service pages: Problem -> Solution -> Process -> Result read as a numbered path */
.prose--steps { counter-reset: part; }
.prose--steps h2 { counter-increment: part; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: baseline; }
.prose--steps h2::before { content: counter(part, decimal-leading-zero); font-size: 0.8rem; font-family: var(--sans); font-weight: 600; letter-spacing: 0.16em; color: var(--copper-text); }
.aside { position: sticky; top: 100px; padding: 30px; background: var(--paper); border: 1px solid var(--hairline); border-top: 3px solid var(--copper); border-radius: var(--radius); }
.aside h2 { font-size: 1.5rem; }
.aside p { color: var(--ink-soft); }
.aside .btn { width: 100%; margin-top: 8px; }
.aside-line { display: block; margin-top: 16px; text-align: center; font-size: 0.95rem; }
@media (max-width: 940px) { .prose-grid { grid-template-columns: 1fr; } .aside { position: static; } }

.faq { background: var(--bg-2); border-top: 1px solid var(--hairline); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-list details { border-top: 1px solid var(--hairline); }
.faq-list details:last-child { border-bottom: 1px solid var(--hairline); }
.faq-list summary { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font-weight: 600; font-size: 1.05rem; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 14px; height: 14px; margin-top: 6px; background: linear-gradient(var(--copper), var(--copper)) center / 14px 1.5px no-repeat, linear-gradient(var(--copper), var(--copper)) center / 1.5px 14px no-repeat; transition: transform 200ms ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: var(--ink-soft); max-width: 62ch; padding-bottom: 10px; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

.related { border-top: 1px solid var(--hairline); }
.related-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.related-list a { display: block; padding: 20px 0; border-top: 1px solid var(--copper); font-family: var(--serif); font-size: 1.25rem; text-decoration: none; }
.related-list a:hover { color: var(--copper-text); }
.related-list span { display: block; font-family: var(--sans); font-size: 0.92rem; color: var(--ink-soft); margin-top: 4px; }
@media (max-width: 760px) { .related-list { grid-template-columns: 1fr; gap: 0; } }

.insight-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.insight-list a { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 24px 0; border-top: 1px solid var(--hairline); text-decoration: none; }
.insight-list time { color: var(--stone); font-size: 0.9rem; }
.insight-list strong { font-family: var(--serif); font-weight: 400; font-size: 1.4rem; display: block; }
.insight-list span { color: var(--ink-soft); }
@media (max-width: 560px) { .insight-list a { grid-template-columns: 1fr; gap: 4px; } }

.areas { padding-block: clamp(48px, 6vw, 80px); }
.areas p { color: var(--ink-soft); }
.center-page { min-height: 55vh; display: grid; place-items: center; text-align: center; }
.center-page h1 { margin-inline: auto; max-width: 18ch; }
.center-page .hero-lede { margin-inline: auto; }
.center-page .hero-actions { justify-content: center; }

/* ---------- footer ---------- */
.site-footer { background: var(--deep); color: #B3ABA2; padding-top: 64px; font-size: 0.95rem; border-top: 1px solid var(--hairline); }
.site-footer a { color: #fff; text-decoration-color: #5A5651; }
.site-footer a:hover { color: var(--copper-light); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 0.8fr; gap: 44px; padding-bottom: 52px; }
.footer-name { color: #fff; font-family: var(--serif); font-size: 1.8rem; letter-spacing: .06em; margin: 0; }
.footer-name-sub { color: var(--copper-light); font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 4px; }
.footer-name-th { margin-bottom: 1em; }
.footer-h { font-family: var(--sans); font-size: 0.8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--copper-light); margin-bottom: 14px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
address { font-style: normal; margin-bottom: 1em; line-height: 1.8; }
.footer-license { font-size: 0.875rem; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 20px; border-top: 1px solid var(--hairline); font-size: 0.875rem; }
.footer-base p { margin: 0; display: flex; gap: 20px; }
@media (max-width: 940px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* reveal on scroll (JS adds .reveal; visible by default without JS) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.7,.2,1); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }

/* ---------- split hero: the logo photograph stays whole beside the headline ---------- */
.hero--split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; min-height: 0; }
.hero--split .hero-media { position: relative; inset: auto; order: 2; min-height: 100%; }
.hero--split .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }
.hero--split .hero-media::after { background: linear-gradient(90deg, var(--deep) 0%, rgba(21,20,19,0) 18%); }
.hero--split .hero-copy { order: 1; padding: clamp(56px, 8vw, 120px) clamp(28px, 4vw, 64px) clamp(56px, 8vw, 120px) max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); align-self: center; }
.hero--split .hero-title { font-size: clamp(1.6rem, 1rem + 2.6vw, 3rem); }
.hero--split .hero-sub { max-width: 18ch; }
@media (max-width: 860px) {
  .hero--split { grid-template-columns: 1fr; }
  .hero--split .hero-media { order: 1; aspect-ratio: 1 / 1; min-height: 0; }
  .hero--split .hero-media::after { background: linear-gradient(180deg, rgba(21,20,19,0) 70%, var(--deep) 100%); }
  .hero--split .hero-copy { order: 2; padding: 8px var(--gutter) 56px; }
}
