/* Siam Han — siamhan.com */
:root {
  --navy: #10203a;
  --navy-2: #16294a;
  --navy-line: #2b3d5f;
  --navy-deep: #0b1729;
  --gold: #d9b36a;
  --gold-rule: #b8893c;
  --gold-text: #855a1c;
  --ink: #10203a;
  --body: #3b4860;
  --line: #d8dde6;
  --tint: #f3f5f8;
  --on-navy: #d5dbe6;
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans: 'Source Sans 3', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.55; color: var(--ink); background: #fff; }
img { max-width: 100%; }
h1, h2, h3, p, ul, ol { margin: 0; }
a { color: var(--ink); }
a:hover { color: var(--gold-text); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 12px 16px; z-index: 10; }

.wrap { max-width: 1160px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.section { padding-top: 88px; padding-bottom: 88px; }
.tint { background: var(--tint); }
.navy { background: var(--navy); color: #fff; }
.navy p { color: var(--on-navy); }
.navy a:hover { color: var(--gold); }

.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold-text); }
.navy .eyebrow { color: var(--gold); }
h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(36px, 5vw, 60px); line-height: 1.08; letter-spacing: -0.5px; }
h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; }
h3 { font-family: var(--serif); font-weight: 600; font-size: 22px; line-height: 1.2; }
.muted { color: var(--body); }
.head { display: flex; flex-direction: column; gap: 12px; max-width: 720px; margin-bottom: 44px; }

.btn { display: inline-block; font-weight: 700; text-decoration: none; padding: 14px 26px; border-radius: 2px; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #e6c583; color: var(--navy); }
.btn-ghost { color: #fff; border: 1px solid #5d6b85; font-weight: 600; padding: 13px 24px; }
.btn-ghost:hover { border-color: var(--gold); }
.btn-line { color: var(--navy); border: 1px solid var(--navy); padding: 13px 24px; }

/* Header */
.site-header { background: var(--navy); color: #fff; }
.site-header .wrap { padding-top: 20px; padding-bottom: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand img { height: 40px; width: auto; display: block; }
.brand span { font-family: var(--serif); font-weight: 700; font-size: 18px; letter-spacing: 3.5px; }
.brand:hover { color: #fff; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; font-size: 15px; font-weight: 600; }
.nav a { color: #fff; text-decoration: none; padding: 12px 0; }
.nav a[aria-current="page"] { color: var(--gold); }
.nav a.btn { padding: 12px 20px; color: var(--navy); }

/* Hero */
.hero .wrap { padding-top: 72px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.hero-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero-copy .lede { font-size: 20px; line-height: 1.5; max-width: 560px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }
.path { flex: 1 1 380px; min-width: 0; background: var(--navy-2); border: 1px solid var(--navy-line); padding: 28px 28px 12px; }
.path ol { list-style: none; padding: 0; margin-top: 8px; }
.path li { display: flex; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--navy-line); }
.path li:last-child { border-bottom: 0; }
.path .n { font-family: var(--serif); font-size: 22px; color: var(--gold); width: 28px; flex-shrink: 0; }
.path strong { display: block; }
.path small { display: block; font-size: 15px; color: #c3cbd9; }
.page-hero .wrap { padding-top: 56px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 18px; }
.page-hero h1 { font-size: clamp(34px, 4.4vw, 52px); max-width: 820px; }
.page-hero p { font-size: 19px; max-width: 680px; }

/* Cards and grids */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.layer { border: 1px solid var(--line); border-top: 4px solid var(--navy); padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; }
.layer.mid { border-top-color: var(--gold-rule); }
.layer .num { font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--gold-text); }
.layer h3 { font-size: 28px; line-height: 1.1; }
.layer .lead { font-weight: 600; }
.layer ul { padding-left: 20px; color: var(--body); display: flex; flex-direction: column; gap: 6px; }
.layer .for { margin-top: auto; padding-top: 14px; font-size: 14px; color: var(--body); border-top: 1px solid #e6e9ef; }
.layer a.more { font-weight: 700; }
.note { margin-top: 28px; font-size: 15px; color: var(--body); }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1px; background: #cfd5df; border: 1px solid #cfd5df; }
.stat { background: #fff; padding: 28px 24px; display: flex; flex-direction: column; gap: 6px; }
.stat b { font-family: var(--serif); font-weight: 600; font-size: 34px; line-height: 1.05; }
.stat span { font-size: 15px; color: var(--body); }
.cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 32px; }
.case { background: #fff; border: 1px solid var(--line); padding: 28px; }
.case h3 { font-size: 21px; margin-bottom: 8px; }
.case p { color: var(--body); }

.split { display: flex; flex-wrap: wrap; gap: 40px 56px; }
.split > .side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.split > .main { flex: 2 1 480px; min-width: 0; }
.rows > div { display: flex; flex-wrap: wrap; gap: 4px 32px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.rows > div:first-child { border-top: 2px solid var(--navy); }
.rows b { flex: 1 1 220px; }
.rows span { flex: 1 1 260px; color: var(--body); }

.timeline { list-style: none; padding: 0; flex: 1 1 420px; min-width: 0; }
.timeline li { display: flex; gap: 24px; padding: 18px 0; border-top: 1px solid var(--navy-line); color: #e6eaf1; }
.timeline li:last-child { border-bottom: 1px solid var(--navy-line); }
.timeline b { width: 110px; flex-shrink: 0; color: var(--gold); }

.insight { border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.insight .tag { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-text); }
.insight p { color: var(--body); }
.insight .soon { margin-top: auto; padding-top: 8px; font-size: 14px; color: var(--body); }

.band .wrap { padding-top: 64px; padding-bottom: 64px; display: flex; flex-wrap: wrap; gap: 24px 56px; align-items: center; }
.band .text { flex: 2 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.band h2 { font-size: 28px; line-height: 1.2; }

.person { display: flex; flex-direction: column; gap: 6px; border-top: 2px solid var(--navy); padding-top: 18px; }
.person .name { font-family: var(--serif); font-weight: 600; font-size: 22px; }
.person .role { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-text); }
.person p { margin-top: 6px; color: var(--body); font-size: 16px; }

.contact .wrap { display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: center; justify-content: space-between; }
.contact .text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.contact .mail { color: var(--gold); font-weight: 700; font-size: 20px; }

.site-footer { background: var(--navy-deep); color: #c3cbd9; font-size: 14px; }
.site-footer .wrap { padding-top: 32px; padding-bottom: 32px; display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; align-items: center; }
.site-footer .id { display: flex; align-items: center; gap: 10px; }
.site-footer img { height: 26px; width: auto; display: block; }

/* Services page */
.svc .side .big { font-family: var(--serif); font-size: 56px; line-height: 1; color: var(--gold-rule); }
.tint .side .big { color: var(--gold-text); }
.svc .side h2 { font-size: 36px; line-height: 1.1; }
.svc .side .sub { font-weight: 600; }
.svc .main { display: flex; flex-direction: column; gap: 24px; }
.list { list-style: none; padding: 0; }
.list li { padding: 14px 0; border-top: 1px solid var(--line); }
.list li:last-child { border-bottom: 1px solid var(--line); }
.receive { background: var(--tint); padding: 20px 24px; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.tint .receive { background: #fff; border: 1px solid var(--line); }
.receive b { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-text); padding-top: 3px; }
.receive span { flex: 1 1 280px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.tile { background: #fff; border: 1px solid var(--line); padding: 22px; }
.tile h3 { font-family: var(--sans); font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.tile p { color: var(--body); font-size: 16px; }
.how { border-top: 2px solid var(--navy); padding-top: 16px; }
.how h3 { font-family: var(--sans); font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.how p { color: var(--body); font-size: 16px; }

@media (max-width: 720px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .hero .wrap { padding-top: 48px; padding-bottom: 64px; gap: 40px; }
  .nav { gap: 0 20px; }
  .timeline li { flex-direction: column; gap: 4px; }
  .timeline b { width: auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* v2: one core service */
.layer.core { border-top: 4px solid var(--gold-rule); background: #fbf8f1; }
.layer .num { text-transform: uppercase; }
.svc .side .eyebrow { margin-bottom: 4px; }
