/* ===== Brand tokens: change colours here ===== */
:root {
  --navy: #0e1d36;
  --navy-2: #172a4a;
  --ink: #1b2433;
  --muted: #5a6476;
  --line: #e2ded5;
  --bg: #faf9f6;
  --bg-alt: #f2efe8;
  --white: #ffffff;
  --accent: #b08a4f;       /* muted brass */
  --accent-dark: #8e6d39;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(14, 29, 54, .04), 0 8px 24px rgba(14, 29, 54, .06);
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--navy); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.25rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 780px; }

.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-dark); margin-bottom: .9rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.4rem; border-radius: 6px; border: 1px solid var(--navy);
  background: var(--navy); color: var(--white); font-weight: 500; font-size: .95rem;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
  font-family: inherit;
}
.btn:hover { background: var(--navy-2); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-small { padding: .55rem 1rem; font-size: .88rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 249, 246, .92); backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--navy); }
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; letter-spacing: -.01em; }
.brand-sub { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: .3rem; }

.site-nav { display: flex; align-items: center; gap: 1.8rem; }
.site-nav a:not(.btn) { text-decoration: none; font-size: .92rem; color: var(--ink); opacity: .85; }
.site-nav a:not(.btn):hover { opacity: 1; color: var(--accent-dark); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; transition: transform .2s, opacity .2s; }

/* ===== Hero ===== */
.hero { padding: 88px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: center; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 36em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }

.hero-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 28px; position: relative; overflow: hidden;
}
.hero-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); }
.hero-card-title { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--navy); margin-bottom: 1rem; }
.tz-list { list-style: none; padding: 0; margin: 0; }
.tz-list li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.tz-list strong { display: block; font-weight: 600; color: var(--navy); }
.tz-list small { display: block; color: var(--muted); font-size: .82rem; }
.tz { font-size: .8rem; font-variant-numeric: tabular-nums; color: var(--navy); background: var(--bg-alt); padding: .3rem .6rem; border-radius: 4px; white-space: nowrap; }
.hero-card-foot { font-size: .85rem; color: var(--muted); margin: 1rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); }

.flag { width: 36px; height: 24px; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,.08); flex: none; }
.flag svg { width: 100%; height: 100%; }
.flag svg { object-fit: cover; }
.flag-lg { width: 48px; height: 32px; }


/* ===== Sections ===== */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-lede { color: var(--muted); font-size: 1.08rem; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature { padding: 28px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.feature p { color: var(--muted); font-size: .95rem; margin: 0; }
.feature-icon { width: 44px; height: 44px; border-radius: 8px; background: var(--bg-alt); display: grid; place-items: center; margin-bottom: 18px; }
.feature-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--navy); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.location-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.location { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow); }
.location header { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.location h3 { margin: 0; font-size: 1.4rem; }
.location-tag { margin: 0; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-dark); font-weight: 600; }
.location > p { color: var(--muted); font-size: .97rem; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; border-top: 1px solid var(--line); padding-top: 18px; }
.checks li { position: relative; padding-left: 26px; margin-bottom: 10px; font-size: .94rem; }
.checks li::before {
  content: ""; position: absolute; left: 2px; top: .45em; width: 11px; height: 6px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}

.role-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.role-grid li { padding: 26px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); transition: background .2s; }
.role-grid li:hover { background: #fdfcf9; }
.role-grid strong { display: block; font-family: var(--serif); font-size: 1.08rem; color: var(--navy); margin-bottom: 4px; font-weight: 600; }
.role-grid span { font-size: .88rem; color: var(--muted); }

.section-dark { background: var(--navy); color: #c9d1de; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .eyebrow { color: #d2b27f; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: none; }
.steps li { border-top: 1px solid rgba(255,255,255,.18); padding-top: 22px; }
.step-num { display: block; font-family: var(--serif); font-size: 1rem; color: #d2b27f; margin-bottom: 10px; }
.steps p { font-size: .95rem; margin: 0; }

/* ===== FAQ ===== */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative;
  font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--muted); padding-right: 40px; margin-bottom: 20px; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
.contact-points { list-style: none; padding: 0; margin: 28px 0 0; }
.contact-points li { position: relative; padding-left: 26px; margin-bottom: 10px; }
.contact-points li::before {
  content: ""; position: absolute; left: 2px; top: .45em; width: 11px; height: 6px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}
.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.field { margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label, .field legend { display: block; font-size: .85rem; font-weight: 500; margin-bottom: 6px; color: var(--navy); padding: 0; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"] {
  width: 100%; padding: .75rem .9rem; font: inherit; font-size: .95rem; color: var(--ink);
  border: 1px solid #d3cec3; border-radius: 6px; background: var(--white); transition: border-color .2s, box-shadow .2s;
}
.field input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(14, 29, 54, .12); }
.field input.invalid { border-color: #b3261e; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; padding: .45rem .85rem; font-size: .85rem; border: 1px solid #d3cec3;
  border-radius: 999px; background: var(--white); transition: all .15s; user-select: none;
}
.chip:hover span { border-color: var(--navy); }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(14, 29, 54, .2); }
.chips.invalid .chip span { border-color: #b3261e; }
.hp { display: none !important; }
.form-status { margin: 14px 0 0; font-size: .92rem; min-height: 1.4em; }
.form-status.ok { color: #1e6b3a; }
.form-status.err { color: #b3261e; }

/* ===== Footer ===== */
.site-footer { background: var(--navy); color: #9aa6ba; padding: 48px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.brand-footer { color: var(--white); }
.brand-footer .brand-sub { color: #9aa6ba; }
.footer-meta { margin: 0; font-size: .85rem; }

/* ===== Responsive ===== */
@media (max-width: 1000px) {
  .feature-grid, .role-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .location-grid { grid-template-columns: 1fr; max-width: 640px; }
  .hero-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 24px 20px; display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 16px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .hero { padding: 56px 0 48px; }
  .section { padding: 64px 0; }
  .feature-grid, .role-grid, .steps, .field-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 20px; }
  .tz-list li { grid-template-columns: auto 1fr; }
  .tz { grid-column: 2; justify-self: start; }
}

.role-group { font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.role-grid + .role-group { margin-top: 40px; }

/* ===== Services ===== */
.model-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 56px; }
.model { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; display: flex; flex-direction: column; }
.model p { color: var(--muted); font-size: .96rem; }
.model-featured { border-color: var(--navy); box-shadow: var(--shadow); position: relative; }
.model-featured::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; background: var(--accent); border-radius: var(--radius) var(--radius) 0 0; }
.model-tag { font-size: .74rem !important; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-dark) !important; margin-bottom: .6rem; }
.model-fit { margin: auto 0 0 !important; padding-top: 16px; border-top: 1px solid var(--line); font-size: .86rem !important; color: var(--navy) !important; }
.service-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 40px; }
.service-list li { display: flex; gap: 16px; align-items: flex-start; }
.service-list svg { width: 22px; height: 22px; flex: none; margin-top: 2px; fill: none; stroke: var(--accent-dark); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service-list strong { display: block; font-family: var(--serif); font-size: 1.08rem; color: var(--navy); font-weight: 600; margin-bottom: 4px; }
.service-list span { font-size: .92rem; color: var(--muted); }
@media (max-width: 1000px) {
  .model-grid { grid-template-columns: 1fr; max-width: 640px; }
  .service-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) { .service-list { grid-template-columns: 1fr; } }

/* ===== Rates ===== */
.rate-table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.rate-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 520px; }
.rate-table th, .rate-table td { padding: 16px 24px; text-align: left; border-bottom: 1px solid var(--line); }
.rate-table tbody tr:last-child th, .rate-table tbody tr:last-child td { border-bottom: 0; }
.rate-table thead th { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.rate-table tbody th { font-family: var(--serif); font-weight: 600; color: var(--navy); font-size: 1.02rem; }
.rate-table td { font-size: .98rem; color: var(--ink); white-space: nowrap; }
.rate-table .hl { background: #fbf6ec; }
.rate-table thead .hl { color: var(--accent-dark); }
.rate-table td.hl { font-weight: 600; color: var(--navy); }
.rate-note { font-size: .88rem; color: var(--muted); margin: 16px 0 0; max-width: 760px; }
.rate-note a { color: var(--accent-dark); }
@media (max-width: 600px) {
  .rate-table { min-width: 0; }
  .rate-table th, .rate-table td { padding: 10px 8px; font-size: .8rem; }
  .rate-table tbody th { font-size: .84rem; }
  .rate-table thead th { font-size: .62rem; letter-spacing: .06em; }
}
.rate-table .rate-group th { background: var(--bg-alt); font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 10px; padding-bottom: 10px; }

/* ===== Logo lockup: Escala. | TALENT / PARTNERS ===== */
.brand { gap: 14px; }
.brand-name { font-family: var(--serif); font-size: 1.75rem; font-weight: 600; letter-spacing: -.01em; line-height: 1; color: inherit; }
.brand-dot { color: var(--accent); }
.brand-rule { width: 1px; height: 30px; background: #c9c3b6; flex: none; }
.brand .brand-sub { font-family: var(--sans); font-size: .6rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; line-height: 1.55; color: var(--muted); margin: 0; }
.brand-footer .brand-dot { color: #d2b27f; }
.brand-footer .brand-rule { background: #3a4a66; }
.brand-footer .brand-sub { color: #9aa6ba; }

.hero + .section { border-top: 1px solid var(--line); }
