:root {
  --navy-deep: #0B1829;
  --navy: #0F1F33;
  --navy-light: #1A2E44;
  --teal: #2F6B70;
  --gold: #C9A86A;
  --gold-light: #D9BE85;
  --gold-dark: #8A6D3B;
  --gold-hover: #B8955A;
  --ivory: #F6F3EE;
  --sand: #EDE8DF;
  --line: #DDD5C8;
  --field-border: #CFC7BA;
  --ink: #3B4756;
  --muted: #5B6775;
  --mist: #9FB0C4;
  --mist-light: #D8DCE2;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: Manrope, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--navy);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold-hover); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

.container { max-width: 1240px; margin: 0 auto; }
.serif { font-family: var(--serif); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 3px;
  font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: .02em;
  cursor: pointer; transition: background .25s, color .25s, border-color .25s;
}
.btn-gold { background: var(--gold); color: var(--navy); border: 1px solid var(--gold); }
.btn-gold:hover { background: var(--gold-light); color: var(--navy); border-color: var(--gold-light); }
.btn:disabled { opacity: .6; cursor: progress; }

/* Eyebrow label */
.eyebrow { display: flex; align-items: center; gap: 14px; }
.eyebrow span:first-child {
  font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-dark);
}
.eyebrow .rule { width: 48px; height: 1px; background: var(--gold); }
.on-dark .eyebrow span:first-child { color: var(--gold-light); }

.sec-h2 {
  margin: 0; font-family: var(--serif); font-weight: 500;
  font-size: 52px; line-height: 1.08; color: var(--navy);
}
.lead { margin: 0; font-size: 17px; line-height: 1.7; color: var(--ink); }

.section { padding: 120px 40px; }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: var(--ivory);
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-light) 100%);
}
.hero-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 45% at 78% 92%, rgba(201,168,106,.35) 0%, rgba(201,168,106,.08) 40%, rgba(201,168,106,0) 70%);
}
.hero-edge {
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, rgba(217,190,133,0) 0%, rgba(217,190,133,.6) 50%, rgba(217,190,133,0) 100%);
}

.nav {
  position: relative; padding: 28px 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.logo { display: flex; flex-direction: column; line-height: 1; color: var(--ivory); }
.logo:hover { color: var(--ivory); }
.logo-mark { font-family: var(--serif); font-size: 34px; font-weight: 600; letter-spacing: .14em; }
.logo-sub { font-size: 10px; font-weight: 600; letter-spacing: .32em; color: var(--gold-light); margin-top: 4px; }
.nav nav { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.navlink {
  font-size: 14px; font-weight: 500; letter-spacing: .02em; color: var(--ivory);
  padding: 6px 2px; border-bottom: 1px solid transparent;
}
.navlink:hover { color: var(--gold-light); border-bottom-color: var(--gold-light); }

.hero-body {
  position: relative; padding: 96px 40px 128px;
  display: flex; flex-direction: column; gap: 28px;
  animation: fadeUp .9s ease both;
}
.hero-kicker {
  margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light);
}
.hero h1 {
  margin: 0; max-width: 820px; font-family: var(--serif); font-weight: 500;
  font-size: 76px; line-height: 1.02; letter-spacing: -.01em; color: #fff;
}
.hero-intro { margin: 0; max-width: 620px; font-size: 18px; line-height: 1.65; color: var(--mist-light); }
.hero-ctas { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.text-link {
  font-size: 14px; font-weight: 500; color: var(--mist-light);
  border-bottom: 1px solid rgba(216,220,226,.4); padding-bottom: 2px;
}
.hero-strip { position: relative; border-top: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03); }
.hero-strip .container {
  padding: 22px 40px; display: flex; gap: 40px; flex-wrap: wrap; align-items: center; justify-content: space-between;
  font-size: 13px; color: var(--mist);
}
.hero-strip .caps { letter-spacing: .12em; text-transform: uppercase; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-body { animation: none; }
}

/* What we do */
.wwd .container { display: flex; flex-direction: column; gap: 56px; }
.wwd-head { display: flex; flex-direction: column; gap: 20px; max-width: 720px; }
.services {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.svc { background: var(--ivory); padding: 40px 32px; display: flex; flex-direction: column; gap: 18px; }
.svc-line { display: block; width: 32px; height: 1px; background: var(--gold); transition: width .35s; }
.svc:hover .svc-line { width: 64px; }
.svc h3 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 26px; line-height: 1.2; }
.svc p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--ink); }

/* About */
.about { background: var(--navy); color: var(--ivory); }
.about .container {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 72px; align-items: start;
}
.about-side { display: flex; flex-direction: column; gap: 28px; }
.portrait {
  margin: 0; position: relative; aspect-ratio: 4 / 5; max-width: 460px; border-radius: 4px; overflow: hidden;
  background: linear-gradient(160deg, var(--navy-light) 0%, var(--teal) 60%, var(--gold) 140%);
}
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portrait-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 35% at 70% 85%, rgba(217,190,133,.4), rgba(217,190,133,0) 70%);
}
.portrait figcaption {
  position: absolute; left: 20px; bottom: 16px;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.75);
}
.facts { margin: 0; max-width: 460px; }
.facts div {
  display: flex; justify-content: space-between; gap: 16px; padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,.12);
}
.facts div:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.facts dt { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--mist); }
.facts dd { margin: 0; font-size: 14px; color: var(--ivory); text-align: right; }
.facts dd a { color: var(--gold-light); }
.facts dd a:hover { color: #fff; }

.about-body { display: flex; flex-direction: column; gap: 24px; }
.about .sec-h2 { color: #fff; }
.role { margin: -8px 0 0; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--mist); }
.about-body > p.lead { color: var(--mist-light); }
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 28px;
  margin-top: 12px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12);
}
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat strong { font-family: var(--serif); font-size: 40px; font-weight: 600; line-height: 1; color: #fff; }
.stat span { font-size: 13px; line-height: 1.5; color: var(--mist); }
.footnote { margin: 0; font-size: 12px; line-height: 1.5; color: #8A9BB0; }

/* Markets */
.markets { background: var(--sand); padding: 96px 40px; }
.markets .container {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; align-items: start;
}
.markets-head { display: flex; flex-direction: column; gap: 20px; }
.markets .sec-h2 { font-size: 44px; line-height: 1.1; }
.markets-head p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--ink); }
.lists { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.list-col { display: flex; flex-direction: column; gap: 14px; padding-top: 18px; border-top: 1px solid var(--navy); }
.list-col h3 { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.list-col ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 16px; color: var(--ink); }

/* Contact */
.contact .container {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 64px; align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-info .lead { max-width: 480px; }
.channels { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 18px; }
.channels li { display: flex; align-items: center; gap: 14px; }
.contact-link { font-size: 16px; border-bottom: 1px solid var(--field-border); padding-bottom: 1px; }
.contact-link:hover { border-bottom-color: var(--gold-hover); }
.contact-link small { font-size: inherit; color: var(--muted); }

.form {
  display: flex; flex-direction: column; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 36px;
}
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.field {
  width: 100%; min-height: 48px; padding: 12px 16px;
  border: 1px solid var(--field-border); border-radius: 3px; background: #FFFDFA;
  font-family: var(--sans); font-size: 15px; color: var(--navy);
}
.field:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
textarea.field { resize: vertical; min-height: 140px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.form-note { font-size: 12px; color: var(--muted); }
.form-status { margin: 0; font-size: 14px; line-height: 1.5; min-height: 1.5em; }
.form-status.ok { color: var(--teal); }
.form-status.err { color: #9B2C2C; }

/* Footer */
.footer { background: var(--navy-deep); color: var(--mist); padding: 40px; }
.footer .container { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-brand { display: flex; flex-direction: column; gap: 6px; }
.footer-brand .serif { font-size: 22px; font-weight: 600; letter-spacing: .14em; color: var(--ivory); }
.footer-brand small { font-size: 12px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; font-size: 13px; align-items: center; }
.footer-links a { color: var(--mist); }
.footer-links a:hover { color: var(--gold-light); }
.footer-links .langs { color: #7F91A6; }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 96px 24px; }
.legal h1 { font-family: var(--serif); font-weight: 500; font-size: 48px; margin: 0 0 24px; }
.legal h2 { font-family: var(--serif); font-weight: 600; font-size: 26px; margin: 40px 0 12px; }
.legal p, .legal li { font-size: 16px; line-height: 1.7; color: var(--ink); }

@media (max-width: 760px) {
  .hide-m { display: none !important; }
  .nav { padding: 24px; }
  .nav nav { gap: 20px; }
  .hero h1 { font-size: 46px; }
  .sec-h2, .markets .sec-h2 { font-size: 38px; }
  .hero-body { padding: 56px 24px 72px; }
  .hero-strip .container { padding: 20px 24px; gap: 12px; }
  .section, .markets { padding: 72px 24px; }
  .about .container, .contact .container { grid-template-columns: 1fr; gap: 48px; }
  .form { padding: 24px; }
  .footer { padding: 32px 24px; }
}
