:root {
  --navy: #071b36;
  --charcoal: #22252b;
  --gold: #a67c3d;
  --muted: #f8f7f3;
  --line: #dedbd3;
  --text: #42464d;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--charcoal);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
}

.header-inner {
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
}

.brand img {
  width: 260px;
  max-height: 82px;
  object-fit: contain;
  display: block;
}

.nav {
  display: flex;
  gap: 56px;
  align-items: center;
  padding-top: 2px;
}

.nav a {
  color: var(--navy);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 750;
}

.nav a:first-child::after {
  content: "";
  display: block;
  width: 42px;
  height: 1px;
  background: var(--gold);
  margin: 12px auto 0;
}

.hero {
  min-height: 500px;
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  padding: 58px 0 62px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 800;
}

.eyebrow.gold { color: var(--gold); }

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3, .market-item h2 {
  font-family: Georgia, "Times New Roman", serif;
}

h1 {
  font-size: clamp(48px, 5.85vw, 72px);
  line-height: 1.06;
  letter-spacing: -0.047em;
  color: var(--navy);
  font-weight: 500;
  margin-bottom: 26px;
}

.gold-rule {
  width: 232px;
  height: 1px;
  background: var(--gold);
  margin: 0 0 27px;
  position: relative;
}

.gold-rule::after {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--gold);
  transform: rotate(45deg);
  position: absolute;
  left: 50%;
  top: -4px;
}

.hero-subtitle {
  max-width: 660px;
  color: var(--text);
  font-size: 16px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.button {
  min-width: 218px;
  padding: 15px 24px;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 800;
  border: 1px solid var(--navy);
}

.button.primary {
  background: var(--navy);
  color: white;
}

.button.secondary {
  color: var(--navy);
  background: transparent;
}

.market-band {
  background: var(--muted);
  border-bottom: 1px solid var(--line);
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.market-item {
  min-height: 225px;
  padding: 38px 48px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.market-item:first-child {
  border-left: 1px solid var(--line);
}

.icon {
  width: 38px;
  height: 38px;
  margin: 0 auto 16px;
  color: var(--gold);
}

.icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.market-item h2 {
  color: var(--navy);
  font-weight: 500;
  font-size: 31px;
  line-height: 1.12;
  margin-bottom: 12px;
}

.kicker {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 10px;
}

.mini-rule {
  width: 34px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 14px;
}

.market-item p:last-child {
  color: var(--text);
  font-size: 14px;
  max-width: 270px;
  margin: 0 auto;
}

.section { padding: 84px 0; }

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1px 1fr;
  gap: 58px;
  align-items: start;
}

.vertical-rule {
  width: 1px;
  height: 100%;
  min-height: 210px;
  background: var(--gold);
  opacity: 0.72;
  position: relative;
}

.vertical-rule::after {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
  position: absolute;
  top: 50%;
  left: -3.5px;
}

.section-title h2,
.section-heading h2,
.contact-section h2 {
  color: var(--navy);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 500;
  margin-bottom: 0;
}

.section-copy p,
.contact-section p {
  color: var(--text);
  font-size: 15px;
  margin-bottom: 18px;
}

.muted {
  background: var(--muted);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 46px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.card {
  background: var(--white);
  padding: 30px 26px 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-height: 300px;
}

.card-number {
  display: block;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.14em;
  font-weight: 800;
  margin-bottom: 54px;
}

.card h3 {
  color: var(--navy);
  font-size: 24px;
  line-height: 1.14;
  font-weight: 500;
  margin-bottom: 18px;
}

.card p {
  color: var(--text);
  font-size: 14px;
  margin: 0;
}

.focus-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 88px;
  align-items: start;
}

.contact-section {
  background: var(--navy);
  color: white;
}

.contact-section h2,
.contact-section .eyebrow { color: white; }

.contact-section .eyebrow.gold { color: #c8a46b; }

.contact-section p { color: rgba(255,255,255,0.78); }

.contact-panel {
  border-top: 1px solid rgba(255,255,255,0.28);
  padding-top: 8px;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 34px;
  row-gap: 24px;
}

.contact-form label {
  display: grid;
  gap: 10px;
  color: rgba(255,255,255,0.72);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  font-weight: 800;
}

.contact-form .full { grid-column: 1 / -1; }

input,
textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.35);
  background: transparent;
  color: white;
  padding: 12px 0 14px;
  font: inherit;
  outline: none;
  transition: border-color 200ms ease;
}

input:focus,
textarea:focus { border-bottom-color: #c8a46b; }

textarea { resize: vertical; }

.hidden { display: none; }

.contact-form button {
  grid-column: 1 / -1;
  justify-self: start;
  border: 1px solid white;
  background: white;
  color: var(--navy);
  padding: 14px 24px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: opacity 200ms ease, transform 200ms ease;
}

.contact-form button:hover { transform: translateY(-1px); }

.contact-form button:disabled {
  opacity: 0.58;
  cursor: wait;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  font-size: 14px;
  color: rgba(255,255,255,0.82);
}

.form-status.success { color: #d9c08c; }
.form-status.error { color: #ffd2d2; }

.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.72);
  padding: 38px 0 30px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.footer-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  grid-template-areas:
    "logo desc"
    "logo nav"
    "logo copy";
  gap: 14px 58px;
  align-items: center;
}

.footer-brand {
  grid-area: logo;
  border-right: 1px solid rgba(255,255,255,0.28);
  padding-right: 42px;
}

.footer-brand img {
  width: 190px;
  filter: brightness(0) invert(1);
  opacity: 0.94;
}

.footer-description {
  grid-area: desc;
  max-width: 560px;
  margin: 0;
  font-size: 14px;
  color: rgba(255,255,255,0.76);
}

.footer-nav {
  grid-area: nav;
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin-top: 6px;
}

.footer-nav a {
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 700;
}

.copyright {
  grid-area: copy;
  margin: 0;
  font-size: 13px;
  color: rgba(255,255,255,0.62);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .header-inner {
    height: auto;
    padding: 20px 0;
    align-items: center;
    gap: 22px;
  }

  .brand img { width: 235px; }

  .nav {
    gap: 22px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .about-grid,
  .focus-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .vertical-rule { display: none; }

  .market-grid,
  .cards {
    grid-template-columns: 1fr;
  }

  .market-item,
  .market-item:first-child {
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "logo"
      "desc"
      "nav"
      "copy";
  }

  .footer-brand {
    border-right: none;
    padding-right: 0;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 30px, 1180px);
  }

  .header-inner {
    justify-content: center;
  }

  .brand img { width: 215px; }

  .nav { display: none; }

  .hero-inner { padding: 54px 0 58px; }

  .button { width: 100%; }

  .contact-form { grid-template-columns: 1fr; }

  .contact-form .full,
  .contact-form button,
  .form-status {
    grid-column: auto;
  }

  .footer-nav {
    gap: 18px;
  }
}


/* V8: real image logo restored */
.brand img {
  width: 255px !important;
  height: auto !important;
  max-height: 86px !important;
  object-fit: contain !important;
  display: block !important;
}

.footer-brand img {
  width: 190px !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
  filter: brightness(0) invert(1);
  opacity: 0.94;
}

.header-inner {
  height: 112px !important;
  align-items: center !important;
}

.site-header {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

.nav {
  align-items: center !important;
}


/* V9: use the new transparent logo, keep same overall display size */
.brand img {
  width: 255px !important;
  height: auto !important;
  max-height: 86px !important;
  display: block !important;
  object-fit: contain !important;
  background: transparent !important;
}

.footer-brand img {
  width: 190px !important;
  height: auto !important;
  display: block !important;
  object-fit: contain !important;
  background: transparent !important;
  filter: brightness(0) invert(1);
  opacity: 0.94;
}


/* V10: Bigger header logo */
.brand img {
  width: 390px !important;
  height: auto !important;
  max-height: 112px !important;
  object-fit: contain !important;
  display: block !important;
  background: transparent !important;
}

.header-inner {
  height: 145px !important;
  align-items: center !important;
}

.site-header {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

.footer-brand img {
  width: 230px !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
  background: transparent !important;
  filter: brightness(0) invert(1);
  opacity: 0.94;
}

@media (max-width: 980px) {
  .brand img {
    width: 310px !important;
    max-height: 100px !important;
  }

  .header-inner {
    height: auto !important;
    padding: 22px 0 !important;
  }
}

@media (max-width: 640px) {
  .brand img {
    width: 245px !important;
    max-height: 86px !important;
  }
}


/* V11: true cropped transparent logo, no invisible canvas */
.brand img {
  width: 320px !important;
  height: auto !important;
  max-height: 112px !important;
  object-fit: contain !important;
  display: block !important;
  background: transparent !important;
}

.header-inner {
  height: 138px !important;
  align-items: center !important;
}

.site-header {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

.footer-brand img {
  width: 235px !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
  background: transparent !important;
  filter: brightness(0) invert(1);
  opacity: 0.94;
}

@media (max-width: 980px) {
  .brand img {
    width: 270px !important;
    max-height: 100px !important;
  }

  .header-inner {
    height: auto !important;
    padding: 22px 0 !important;
  }
}

@media (max-width: 640px) {
  .brand img {
    width: 225px !important;
    max-height: 86px !important;
  }
}


/* V12: dynamic active navigation state */
.nav a {
  position: relative;
  transition: transform 180ms ease, color 180ms ease;
}

.nav a:first-child::after {
  display: none !important;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -13px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transform: translateX(-50%);
  transition: width 220ms ease;
}

.nav a.active {
  transform: translateY(-3px);
  color: var(--navy);
}

.nav a.active::after {
  width: 42px;
}


/* V13: stable active navigation, no flicker */
.nav a {
  position: relative !important;
  display: inline-block !important;
  padding-bottom: 18px !important;
  transform: none !important;
  transition: color 180ms ease, transform 180ms ease !important;
}

.nav a:first-child::after {
  display: block !important;
}

.nav a::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  bottom: 0 !important;
  width: 0 !important;
  height: 1px !important;
  background: var(--gold) !important;
  transform: translateX(-50%) !important;
  transition: width 240ms ease !important;
}

.nav a.active {
  transform: translateY(-3px) !important;
  color: var(--navy) !important;
}

.nav a.active::after {
  width: 44px !important;
}
