:root {
  --ink: #0b0f12;
  --ink-2: #1b232b;
  --text: #2a2f35;
  --muted: #69717b;
  --line: #e7e2da;
  --tint: #f8f5f0;
  --peach: #f4a27e;
  --peach-2: #f7b896;
  --coral: #b4532f;
  --white: #fff;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(11, 15, 18, .08);
  --head: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --body: "Quicksand", "Helvetica Neue", Arial, sans-serif;
  --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font: 500 16px/1.65 var(--body); color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--coral); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.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; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--peach); outline-offset: 2px; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 13px 24px; border: 2px solid transparent; border-radius: var(--radius); font: 700 .95rem/1 var(--head); cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-peach { background: var(--peach); color: var(--ink); }
.btn-peach:hover { background: var(--peach-2); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--ink-2); }
.btn-ghost { border-color: rgba(255, 255, 255, .7); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--ink); }
.btn-sm { padding: 10px 18px; font-size: .85rem; }
.btn-block { width: 100%; padding-block: 15px; }

/* Brand */
/* Stacked like the original logo: tower spans HIGH / RISE / market line. */
.brand { --wm: 21px; display: inline-flex; align-items: stretch; gap: calc(var(--wm) * .45); color: var(--white); }
.brand:hover { text-decoration: none; }
.brand img { width: auto; height: calc(var(--wm) * 2.62); }
.wordmark { display: flex; flex-direction: column; justify-content: space-between; font: 800 var(--wm)/.86 var(--head); text-transform: uppercase; letter-spacing: .01em; }
/* RISE is drawn as wide as HIGH, as in the logo: half glyph width, half tracking. */
.wordmark span:nth-child(2) { align-self: flex-start; transform: scaleX(1.065); transform-origin: left; letter-spacing: .041em; margin-right: -.041em; }
.wordmark span:last-child { font-size: calc(var(--wm) * .363); font-weight: 700; letter-spacing: .085em; line-height: 1; }
.site-footer .brand { --wm: 18px; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); border-bottom: 1px solid rgba(255, 255, 255, .16); transition: background .25s, box-shadow .25s; }
.site-header.is-solid { background: var(--ink); box-shadow: 0 6px 20px rgba(0, 0, 0, .2); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { color: var(--white); font: 600 .9rem/1 var(--head); }
.nav a:hover { color: var(--peach); text-decoration: none; }

/* Hero */
.hero { position: relative; min-height: min(92vh, 820px); display: grid; align-items: center; color: var(--white); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(11, 15, 18, .88) 0%, rgba(11, 15, 18, .6) 48%, rgba(11, 15, 18, .25) 100%), url("/assets/img/hero.webp") center / cover; }
.hero-inner { position: relative; padding-block: calc(var(--header-h) + 40px) 80px; max-width: 760px; margin-left: max(20px, (100% - 1200px) / 2); }
.hero h1 { color: var(--white); font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 800; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 600px; color: rgba(255, 255, 255, .88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.eyebrow { font: 700 .78rem/1 var(--head); text-transform: uppercase; letter-spacing: .22em; color: var(--peach); margin-bottom: 18px; }
.eyebrow.dark { color: var(--coral); }

/* Sections */
.section { padding-block: clamp(64px, 9vw, 112px); position: relative; }
.section.tint { background: var(--tint); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head > p:last-child { color: var(--muted); font-size: 1.05rem; }

.markets { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; }
.market { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--white); color: var(--text); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.market-live:hover { text-decoration: none; transform: translateY(-3px); box-shadow: 0 20px 50px rgba(11, 15, 18, .14); }
.market-live { transition: transform .25s, box-shadow .25s; }
.market img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.market-body { padding: 28px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.market-body p { color: var(--muted); }
.market-next { background: var(--ink); border-color: var(--ink); justify-content: center; }
.market-next .market-body { flex: none; padding: clamp(28px, 4vw, 48px); }
.market-next .link-arrow { margin-top: 12px; }
.market-next h3 { color: var(--white); font-size: 1.6rem; }
.market-next p { color: rgba(255, 255, 255, .72); }
.badge { align-self: flex-start; background: var(--peach); color: var(--ink); font: 700 .7rem/1 var(--head); text-transform: uppercase; letter-spacing: .14em; padding: 7px 10px; border-radius: 999px; margin-bottom: 8px; }
.badge-muted { background: rgba(255, 255, 255, .12); color: var(--peach); }
.link-arrow { font: 700 .92rem/1 var(--head); color: var(--coral); margin-top: auto; }
.link-arrow::after { content: " →"; }
.market-next .link-arrow { color: var(--peach); }

.band { color: var(--white); background: var(--ink); overflow: hidden; }
.band-bg { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 15, 18, .86), rgba(11, 15, 18, .94)), url("/assets/img/band.webp") center / cover; }
.band .container { position: relative; }
.band h2, .band h3 { color: var(--white); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pillars article { border-top: 3px solid var(--peach); padding-top: 22px; }
.pillars p { color: rgba(255, 255, 255, .75); }

.careers { display: flex; align-items: center; justify-content: space-between; gap: 40px; border: 1px solid var(--line); border-radius: 14px; padding: clamp(28px, 4vw, 52px); box-shadow: var(--shadow); background: linear-gradient(120deg, #fff 55%, #fdf0e8); }
.careers > div { max-width: 720px; }
.careers p:last-child { margin: 0; color: var(--muted); }

.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; font-weight: 600; }
.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; background: var(--white); padding: 28px; border-radius: 14px; box-shadow: var(--shadow); }
.field-full { grid-column: 1 / -1; }
.field input, .field select, .field textarea { width: 100%; font: 500 1rem/1.4 var(--body); color: var(--text); padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.field textarea { resize: vertical; }
.field .is-invalid, .is-invalid { border-color: #c0392b !important; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 3px; flex: none; }
.form-status { margin: 0; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: #2e7d32; }
.form-status.err { color: #c0392b; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .7); padding-block: 48px 32px; font-size: .9rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-inner nav { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer a { color: rgba(255, 255, 255, .85); }
.footer-legal { padding-top: 24px; }
.footer-legal p { margin: 0 0 8px; }

@media (max-width: 900px) {
  .nav { display: none; }
  .header-cta { margin-left: auto; }
  .markets, .contact { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .careers { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .lead-form { grid-template-columns: 1fr; padding: 20px; }
  .wordmark { font-size: .92rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .market-live { transition: none; }
}
