/* GW Business International — website v3 ("quiet luxury": deep navy, ivory, champagne gold, serif display).
   One stylesheet. Dark and light sections are a fixed design (not a theme switch). */

[hidden] { display: none !important; }

:root {
  --ink: #0b1220;          /* deep navy, dark sections */
  --ink-2: #121c2e;        /* raised surface on dark */
  --ink-3: #1a263b;
  --ivory: #f5f1e8;        /* light sections */
  --paper: #fbf9f4;        /* cards on light */
  --text: #151c27;         /* body text on light */
  --muted: #5d6571;
  --line: #e2dbcb;         /* hairline on light */
  --gold: #b08d57;         /* champagne gold: lines, fills, large type */
  --gold-text: #85662f;    /* gold for small text on light (contrast) */
  --gold-soft: #cdb384;    /* gold on dark */
  --gold-line: rgba(205, 179, 132, .32);
  --on-dark: #ece6d9;
  --on-dark-muted: #a7a194;
  --serif: "Noto Serif Thai", "Noto Serif", Georgia, serif;
  --sans: "IBM Plex Sans Thai", "IBM Plex Sans", "Leelawadee UI", Tahoma, system-ui, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(84px, 11vw, 148px);
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--ivory); color: var(--text);
  font: 400 17px/1.78 var(--sans); letter-spacing: .005em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
figure { margin: 0; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 500; letter-spacing: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold-soft); color: var(--ink); }

/* language switch: the other language is hidden everywhere inside the page */
html[data-lang="th"] body [lang="en"],
html[data-lang="en"] body [lang="th"] { display: none !important; }

.nw { white-space: nowrap; }
.h-line { display: inline-block; }
.h-block { display: block; }
.num { font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.sr-only { 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: 0 auto; padding: 0 var(--gutter); }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; text-decoration: none; font-weight: 500; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- small type ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font: 500 12.5px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-text);
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .7; }
.dark .eyebrow { color: var(--gold-soft); }
.sec-num { font-family: var(--serif); font-weight: 500; color: var(--gold); }

/* Thai: wide letter-spacing and uppercase styling break up tone marks, so labels stay tight in Thai */
html[data-lang="th"] .eyebrow { letter-spacing: .02em; font-size: 14px; }
html[data-lang="th"] .creds dt, html[data-lang="th"] .facts dt, html[data-lang="th"] .field label,
html[data-lang="th"] .serve .who b, html[data-lang="th"] .clist b, html[data-lang="th"] .site-footer h4 { letter-spacing: .02em; font-size: 13.5px; }
html[data-lang="th"] .btn { letter-spacing: .01em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 28px; border-radius: var(--radius);
  font: 500 15px/1 var(--sans); letter-spacing: .06em; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-gold { background: var(--gold); color: #0b1220; border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
.btn-line { border-color: var(--gold-line); color: var(--on-dark); background: transparent; }
.btn-line:hover { border-color: var(--gold-soft); color: #fff; }
.btn-ink { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.btn-ink:hover { background: var(--ink-3); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; color: var(--on-dark);
  transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: rgba(245, 241, 232, .94); color: var(--text);
  border-bottom-color: var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.header-row { display: flex; align-items: center; gap: 28px; height: 80px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; flex-shrink: 0; }
.brand svg { width: 42px; height: 42px; }
.brand .mark-on-light { display: none; }
.site-header.is-solid .brand .mark-on-dark { display: none; }
.site-header.is-solid .brand .mark-on-light { display: block; }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name b { font: 500 19px/1.1 var(--serif); letter-spacing: .01em; }
.brand-name small { font: 500 9.5px/1.4 var(--sans); letter-spacing: .38em; margin-top: 3px; opacity: .75; }
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a { font-size: 14.5px; letter-spacing: .04em; text-decoration: none; opacity: .86; position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--gold); transition: right .35s var(--ease); }
.nav a:hover { opacity: 1; }
.nav a:hover::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.nav + .header-actions { margin-left: 8px; }
.lang-switch { display: flex; border: 1px solid currentColor; border-radius: 999px; padding: 2px; opacity: .9; }
.site-header:not(.is-solid) .lang-switch { border-color: var(--gold-line); }
.site-header.is-solid .lang-switch { border-color: var(--line); }
.lang-switch button {
  border: 0; background: transparent; cursor: pointer; padding: 5px 11px; border-radius: 999px;
  font: 500 12px/1 var(--sans); letter-spacing: .12em;
}
.lang-switch button[aria-pressed="true"] { background: var(--gold); color: var(--ink); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--gold-line); background: transparent; border-radius: var(--radius); cursor: pointer; align-items: center; justify-content: center; }
.site-header.is-solid .menu-toggle { border-color: var(--line); }
.menu-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1020px) {
  .nav {
    position: fixed; inset: 80px 0 auto 0; flex-direction: column; gap: 0; margin: 0;
    background: var(--ink); color: var(--on-dark); padding: 12px var(--gutter) 28px;
    border-top: 1px solid var(--gold-line); transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
    max-height: calc(100vh - 80px); overflow-y: auto;
  }
  .nav.open { opacity: 1; transform: none; visibility: visible; }
  .nav a { font: 400 22px/1.4 var(--serif); padding: 16px 0; border-bottom: 1px solid var(--gold-line); opacity: 1; }
  .nav a::after { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions .btn-contact { display: none; }
  .header-actions { margin-left: auto; }
}

/* ---------- hero ---------- */
.dark { background: var(--ink); color: var(--on-dark); }
.hero { position: relative; overflow: hidden; min-height: min(100vh, 980px); display: flex; flex-direction: column; justify-content: flex-end; padding: 132px 0 0; }
.hero-art { position: absolute; inset: 0; pointer-events: none; }
.hero-art svg { position: absolute; right: -6%; top: 50%; width: min(980px, 95vw); height: auto; transform: translateY(-46%); opacity: .9; }
.hero::after { /* soft vignette so the text side stays calm */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 0% 60%, rgba(11,18,32,.96) 30%, rgba(11,18,32,.55) 62%, rgba(11,18,32,0) 100%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-copy { max-width: 900px; padding-bottom: clamp(56px, 8vw, 96px); }
.hero h1 {
  font-size: clamp(34px, 5.4vw, 70px); line-height: 1.24; font-weight: 500; color: #f7f2e7;
  margin: 26px 0 28px; letter-spacing: -.005em;
}
.hero h1 .accent { color: var(--gold-soft); }
.hero .lead { font-size: clamp(16.5px, 1.6vw, 19px); line-height: 1.8; color: var(--on-dark-muted); max-width: 640px; font-weight: 300; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.creds {
  position: relative; z-index: 1; border-top: 1px solid var(--gold-line);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
}
.creds > div { padding: 26px 24px 30px 0; }
.creds > div + div { padding-left: 24px; border-left: 1px solid var(--gold-line); }
.creds dt { font: 500 11.5px/1.5 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 8px; }
.creds dd { font: 400 17px/1.5 var(--serif); color: #f7f2e7; }
@media (max-width: 860px) {
  .creds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .creds > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .creds > div:nth-child(n+3) { border-top: 1px solid var(--gold-line); }
}
@media (max-width: 520px) {
  .creds { grid-template-columns: 1fr; }
  .creds > div, .creds > div + div { padding: 18px 0; border-left: 0; }
  .creds > div + div { border-top: 1px solid var(--gold-line); }
  .hero-art svg { right: -40%; width: 160vw; opacity: .45; top: 34%; }
}

/* ---------- sections ---------- */
section { position: relative; }
.sec { padding: var(--section) 0; }
.sec-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.sec-head h2 { font-size: clamp(28px, 3.4vw, 46px); line-height: 1.3; margin-top: 22px; }
.sec-head .intro { color: var(--muted); font-size: 17.5px; max-width: 560px; font-weight: 300; }
.dark .sec-head .intro { color: var(--on-dark-muted); }
.dark h2, .dark h3 { color: #f7f2e7; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; align-items: start; gap: 18px; } }

/* services: editorial rows */
.services { border-top: 1px solid var(--line); }
.service {
  display: grid; grid-template-columns: 110px minmax(0, 4fr) minmax(0, 5fr); gap: clamp(20px, 4vw, 56px);
  padding: clamp(36px, 4vw, 52px) 0; border-bottom: 1px solid var(--line); align-items: start;
}
.service .sec-num { font-size: 40px; line-height: 1; padding-top: 4px; }
.service .tag { display: inline-block; font: 500 11.5px/1 var(--sans); letter-spacing: .22em; color: var(--gold-text); border: 1px solid rgba(176,141,87,.45); padding: 7px 10px; margin-bottom: 18px; }
.service h3 { font-size: clamp(23px, 2.3vw, 30px); line-height: 1.38; }
.service p { color: var(--muted); font-weight: 300; }
.service ul { margin-top: 18px; display: grid; gap: 10px; }
.service li { display: flex; gap: 12px; align-items: baseline; font-size: 16px; }
.service li::before { content: ""; flex: 0 0 18px; height: 1px; background: var(--gold); transform: translateY(-5px); }
@media (max-width: 860px) {
  .service { grid-template-columns: 1fr; gap: 14px; }
  .service .sec-num { font-size: 30px; }
}

/* route diagram (dark) */
.route { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; margin-top: 8px; }
.route::before { content: ""; position: absolute; left: 0; right: 0; top: 33px; height: 1px; background: var(--gold-line); }
.stop { position: relative; padding-right: 24px; }
.stop .dot { width: 66px; height: 66px; border-radius: 50%; border: 1px solid var(--gold-line); background: var(--ink); display: grid; place-items: center; color: var(--gold-soft); position: relative; }
.stop .dot svg { width: 26px; height: 26px; }
.stop.is-gw .dot { border-color: var(--gold-soft); box-shadow: 0 0 0 8px rgba(205,179,132,.08); }
.stop h3 { font-size: 21px; line-height: 1.45; margin-top: 26px; }
.stop p { color: var(--on-dark-muted); font-size: 15.5px; margin-top: 8px; font-weight: 300; }
.stop.is-gw h3 { color: var(--gold-soft); }
.scope { margin-top: clamp(56px, 7vw, 88px); padding-top: 36px; border-top: 1px solid var(--gold-line); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px; align-items: start; }
.scope h3 { font-size: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { border: 1px solid var(--gold-line); padding: 9px 16px; font-size: 14.5px; letter-spacing: .03em; color: var(--on-dark); }
@media (max-width: 860px) {
  .route { grid-template-columns: 1fr; gap: 0; }
  .route::before { left: 32px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .stop { display: grid; grid-template-columns: 66px minmax(0, 1fr); gap: 22px; padding: 0 0 34px; }
  .stop h3 { margin-top: 12px; }
  .scope { grid-template-columns: 1fr; }
}

/* how we serve: one row per step, "GW does" next to "You do" */
.serve { border-top: 1px solid var(--line); }
.serve li {
  display: grid; grid-template-columns: 90px minmax(0, 3.2fr) minmax(0, 4fr) minmax(0, 4fr); gap: clamp(18px, 3vw, 44px);
  padding: clamp(28px, 3vw, 38px) 0; border-bottom: 1px solid var(--line); align-items: start;
}
.serve .sec-num { font-size: 38px; line-height: 1; padding-top: 2px; }
.serve h3 { font-size: clamp(20px, 2vw, 24px); line-height: 1.45; }
.serve .who b { display: block; font: 500 11.5px/1.6 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 6px; }
.serve .who:last-child b { color: var(--muted); }
.serve .who p { font-size: 16px; line-height: 1.7; }
.serve .who:last-child p { color: var(--muted); font-weight: 300; }
@media (max-width: 960px) {
  .serve li { grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1fr); }
  .serve h3 { grid-column: 2 / -1; }
  .serve .who:first-of-type { grid-column: 2; }
}
@media (max-width: 600px) {
  .serve li { grid-template-columns: 48px minmax(0, 1fr); gap: 12px 16px; }
  .serve .sec-num { font-size: 28px; grid-row: span 3; }
  .serve h3, .serve .who, .serve .who:first-of-type { grid-column: 2; }
}

/* principles (paper) */
.paper { background: var(--paper); }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.principle { padding: clamp(28px, 3vw, 40px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.principle svg { width: 30px; height: 30px; color: var(--gold); margin-bottom: 22px; }
.principle h3 { font-size: 21px; line-height: 1.45; margin-bottom: 8px; }
.principle p { color: var(--muted); font-size: 16px; font-weight: 300; }
@media (max-width: 960px) { .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .principles { grid-template-columns: 1fr; } }

/* add-on (AI seats) — deliberately secondary */
.addon { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); padding: clamp(40px, 5vw, 64px); background: var(--ink-2); border: 1px solid var(--gold-line); }
.addon h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.35; margin: 20px 0 18px; }
.addon p { color: var(--on-dark-muted); font-weight: 300; }
.addon .note { margin-top: 18px; font-size: 14.5px; color: var(--on-dark-muted); border-left: 1px solid var(--gold); padding-left: 14px; }
.addon .btn { margin-top: 30px; }
.addon ol { counter-reset: s; display: grid; gap: 0; border-top: 1px solid var(--gold-line); align-self: start; }
.addon ol li { counter-increment: s; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--gold-line); }
.addon ol li::before { content: "0" counter(s); font: 500 22px/1.2 var(--serif); color: var(--gold-soft); }
.addon ol b { display: block; font: 500 18px/1.5 var(--serif); color: #f7f2e7; }
.addon ol span { color: var(--on-dark-muted); font-size: 15.5px; font-weight: 300; }
@media (max-width: 860px) { .addon { grid-template-columns: 1fr; } }

/* partners */
.partners { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.partners h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.32; margin: 22px 0 20px; }
.partners p { color: var(--muted); font-weight: 300; }
.partners .btn { margin-top: 30px; }
.plist { border-top: 1px solid var(--line); }
.plist li { padding: 24px 0; border-bottom: 1px solid var(--line); }
.plist b { display: block; font: 500 19px/1.5 var(--serif); margin-bottom: 4px; }
.plist span { color: var(--muted); font-size: 16px; font-weight: 300; }
@media (max-width: 860px) { .partners { grid-template-columns: 1fr; } }

/* company facts */
.facts { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.facts h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.32; margin: 22px 0 20px; }
.facts .intro { color: var(--muted); font-weight: 300; }
.verify { margin-top: 30px; display: grid; gap: 12px; }
.verify a { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-text); text-decoration: none; font-weight: 500; font-size: 15.5px; border-bottom: 1px solid rgba(176,141,87,.35); padding-bottom: 4px; width: fit-content; }
.verify a:hover { border-bottom-color: var(--gold); }
.verify svg { width: 16px; height: 16px; }
.facts dl { border-top: 1px solid var(--ink); }
.facts dl > div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.facts dt { font: 500 12px/1.6 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); padding-top: 3px; }
.facts dd { font-size: 16.5px; }
.facts dd small { display: block; color: var(--muted); font-size: 14.5px; margin-top: 2px; }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .facts dl > div { grid-template-columns: 1fr; gap: 4px; } }

/* FAQ */
.faq { border-top: 1px solid var(--line); max-width: 920px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font: 500 clamp(18px, 1.8vw, 21px)/1.5 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: 0 0 14px; height: 14px; background:
  linear-gradient(var(--gold), var(--gold)) center / 14px 1px no-repeat,
  linear-gradient(var(--gold), var(--gold)) center / 1px 14px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); font-weight: 300; padding: 0 48px 28px 0; }

/* contact (dark) */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact h2 { font-size: clamp(30px, 3.8vw, 50px); line-height: 1.3; margin: 22px 0 20px; }
.contact .intro { color: var(--on-dark-muted); font-weight: 300; }
.clist { margin-top: 40px; border-top: 1px solid var(--gold-line); }
.clist li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--gold-line); }
.clist svg { width: 22px; height: 22px; color: var(--gold-soft); margin-top: 3px; }
.clist b { display: block; font: 500 11.5px/1.6 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 2px; }
.clist a { color: #f7f2e7; text-decoration: none; border-bottom: 1px solid var(--gold-line); }
.clist a:hover { border-bottom-color: var(--gold-soft); }
.clist span { color: var(--on-dark); font-size: 16px; }
.form-card { background: var(--paper); color: var(--text); padding: clamp(28px, 4vw, 52px); border-top: 2px solid var(--gold); }
.form-card h3, .dark .form-card h3 { font-size: 24px; margin-bottom: 6px; color: var(--text); }
.form-card .sub { color: var(--muted); font-size: 15px; margin-bottom: 28px; font-weight: 300; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; margin-bottom: 22px; }
.field label { font: 500 12px/1.6 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 6px; }
.field .opt { text-transform: none; letter-spacing: 0; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  border: 0; border-bottom: 1px solid #cfc6b3; background: transparent; padding: 10px 0 11px; font-size: 16.5px; border-radius: 0;
  transition: border-color .25s var(--ease);
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background: linear-gradient(45deg, transparent 50%, var(--gold) 50%) calc(100% - 10px) 52% / 6px 6px no-repeat,
              linear-gradient(-45deg, transparent 50%, var(--gold) 50%) calc(100% - 4px) 52% / 6px 6px no-repeat; padding-right: 28px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold); box-shadow: 0 1px 0 0 var(--gold); }
.field [aria-invalid="true"] { border-bottom-color: #a33b2b; }
.err { color: #a33b2b; font-size: 13.5px; min-height: 0; margin-top: 4px; }
.err:empty { display: none; }
.form-status { display: none; margin: 4px 0 20px; padding: 16px 18px; font-size: 15px; border-left: 2px solid var(--gold); background: #f3eee2; }
.form-status.show { display: block; }
.form-status.bad { border-left-color: #a33b2b; background: #f7ebe7; }
.form-status pre { white-space: pre-wrap; word-break: break-word; font: 14px/1.6 var(--sans); background: #fff; border: 1px solid var(--line); padding: 12px 14px; margin: 12px 0; }
.form-foot { color: var(--muted); font-size: 13.5px; margin-top: 18px; font-weight: 300; }
.form-card .btn-ink { width: 100%; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* footer */
.site-footer { background: #070c16; color: var(--on-dark-muted); padding: 72px 0 36px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 3fr); gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--gold-line); }
.site-footer .brand { color: var(--on-dark); }
.site-footer p { margin-top: 18px; max-width: 420px; font-weight: 300; }
.site-footer h4 { font: 500 12px/1.6 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 16px; }
.site-footer li { margin: 8px 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--on-dark); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 26px; font-size: 13.5px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }

/* entrance motion (only when JS is on and motion is allowed) */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  html.js .reveal.in { opacity: 1; transform: none; }
  .pulse { animation: pulse 4.5s var(--ease) infinite; }
  @keyframes pulse { 0% { stroke-dashoffset: 520; opacity: 0; } 15% { opacity: 1; } 70% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
}
@media (prefers-reduced-motion: reduce) { .pulse { display: none; } }

@media print {
  .site-header, .hero-art, .menu-toggle, .form-card, .skip-link { display: none !important; }
  .dark { background: #fff !important; color: #000 !important; }
}
