@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=IBM+Plex+Sans+Condensed:wght@500;600;700&family=Manrope:wght@400;500;600;700;800&family=Source+Sans+3:wght@400;500;600;700;800&family=Source+Serif+4:opsz,wght@8..60,500;8..60,600;8..60,700&display=swap");

:root {
  --navy: #0b2742;
  --ink: #1e2424;
  --paper: #f7f6f1;
  --white: #ffffff;
  --muted: #63706f;
  --gold: #b99b5f;
  --cedar: #a7653a;
  --stone: #8a9188;
  --green: #243a31;
  --line: rgba(11, 39, 66, 0.14);
  --shadow: 0 24px 70px rgba(11, 39, 66, 0.16);
  --heading: "Source Serif 4", Georgia, serif;
  --body: "Manrope", Avenir Next, Helvetica Neue, Arial, sans-serif;
  --label: "IBM Plex Sans Condensed", Arial Narrow, Arial, sans-serif;
}

.luxury {
  --navy: #071d33;
  --ink: #111417;
  --paper: #f6f3ec;
  --gold: #c7a45a;
  --cedar: #4a3528;
  --green: #23352f;
  --stone: #5f6870;
  --heading: "Cormorant Garamond", Georgia, serif;
}

.heritage {
  --navy: #102a43;
  --ink: #25221d;
  --paper: #f4efe6;
  --gold: #b08a45;
  --cedar: #6b4a2e;
  --green: #314438;
  --stone: #6f665a;
  --heading: "Source Serif 4", Georgia, serif;
  --body: "Source Sans 3", Avenir Next, Helvetica Neue, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(120deg, rgba(255,255,255,0.46), rgba(255,255,255,0)),
    var(--paper);
  font-family: var(--body);
  line-height: 1.55;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.site-shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px clamp(18px, 4vw, 58px);
  color: #fff;
  background: rgba(7, 29, 51, 0.96);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.topbar-title {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  text-decoration: none;
}

.topbar-title img {
  width: 78px;
  height: 54px;
  object-fit: contain;
}

.topbar-title small,
.eyebrow,
.option-number,
.applications span {
  display: block;
  font-family: var(--label);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.topbar-title small {
  color: rgba(255,255,255,0.66);
  font-size: 12px;
}

.topbar-title strong {
  display: block;
  font-family: var(--heading);
  font-size: clamp(17px, 2vw, 23px);
  line-height: 1.05;
}

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

.nav a {
  min-height: 38px;
  padding: 9px 13px;
  color: rgba(255,255,255,0.88);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 4px;
  text-decoration: none;
  font-family: var(--label);
  font-weight: 800;
}

.nav a:hover,
.nav a.active {
  color: #071d33;
  background: var(--gold);
  border-color: var(--gold);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  padding: clamp(46px, 7vw, 92px) clamp(20px, 5vw, 72px);
}

.overview-hero {
  min-height: calc(100vh - 82px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  font-family: var(--heading);
  letter-spacing: 0;
  line-height: 1.02;
}

h1 {
  max-width: 1020px;
  font-size: clamp(48px, 8vw, 106px);
  font-weight: 650;
}

h2 {
  font-size: clamp(34px, 4.6vw, 62px);
  font-weight: 650;
}

h3 {
  font-size: 24px;
  font-weight: 650;
}

.hero-copy,
.lead {
  max-width: 760px;
  margin: 18px 0 0;
  color: #4c5a59;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.48;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  color: #fff;
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 4px;
  text-decoration: none;
  font-family: var(--label);
  font-weight: 800;
}

.button.secondary {
  color: var(--navy);
  background: transparent;
  border-color: rgba(11, 39, 66, 0.28);
}

.identity-board {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 3vw, 28px);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0)),
    var(--navy);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.brand-seal {
  display: grid;
  place-items: center;
  min-height: 340px;
  padding: 30px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.08), rgba(185,155,95,0.16)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 32px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
}

.brand-seal img {
  width: min(310px, 78%);
  max-height: 320px;
  object-fit: contain;
}

.brand-line {
  padding: 20px;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 6px;
  font-family: var(--heading);
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.08;
}

.mini-site {
  min-height: 280px;
  padding: 18px;
  background: var(--paper);
  border-radius: 6px;
}

.mini-nav,
.mini-copy {
  height: 14px;
  background: rgba(11,39,66,0.2);
  border-radius: 999px;
}

.mini-nav {
  width: 72%;
  margin-bottom: 18px;
}

.mini-hero {
  height: 128px;
  background:
    linear-gradient(135deg, rgba(11,39,66,0.86), rgba(36,58,49,0.76)),
    linear-gradient(45deg, var(--cedar), var(--gold));
  border-radius: 6px;
}

.mini-copy {
  width: 86%;
  margin-top: 18px;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.mini-grid span {
  height: 54px;
  background: rgba(11,39,66,0.11);
  border-radius: 6px;
}

.section {
  padding: clamp(44px, 6vw, 78px) clamp(20px, 5vw, 72px);
}

.section.tight {
  padding-top: 36px;
  padding-bottom: 36px;
}

.section.alt {
  background: #fff;
}

.section.dark {
  color: #fff;
  background: var(--navy);
}

.section.dark h2,
.section.dark h3 {
  color: #fff;
}

.section.dark .lead,
.section.dark .card p {
  color: rgba(255,255,255,0.76);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.score-badge {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 160px;
  height: 160px;
  color: #fff;
  background: var(--navy);
  border: 6px solid var(--gold);
  border-radius: 50%;
  text-align: center;
}

.score-badge strong {
  display: block;
  font-family: var(--heading);
  font-size: 54px;
  line-height: 0.95;
}

.score-badge span {
  display: block;
  max-width: 100px;
  font-family: var(--label);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.section.dark .card {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.14);
}

.card p {
  margin: 10px 0 0;
  color: #586564;
}

.option-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.option-card {
  display: flex;
  flex-direction: column;
  min-height: 510px;
  padding: 26px;
  color: #fff;
  background: var(--navy);
  border-radius: 8px;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.modern-card {
  background: linear-gradient(145deg, #0b2742, #243a31);
}

.luxury-card {
  background: linear-gradient(145deg, #071d33, #111417);
}

.heritage-card {
  background: linear-gradient(145deg, #102a43, #6b4a2e);
}

.option-number {
  color: var(--gold);
  font-size: 13px;
}

.option-card h2 {
  margin-top: auto;
  color: #fff;
  font-size: clamp(34px, 3vw, 48px);
}

.option-card p {
  color: rgba(255,255,255,0.76);
}

.option-card strong {
  margin-top: 18px;
  color: #071d33;
  background: var(--gold);
  align-self: flex-start;
  padding: 10px 12px;
  border-radius: 4px;
}

.palette-row {
  display: flex;
  gap: 8px;
  margin: 24px 0;
}

.palette-row i {
  display: block;
  width: 42px;
  height: 42px;
  background: var(--c);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 50%;
}

.comparison-wrap {
  overflow-x: auto;
  margin-top: 28px;
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(11,39,66,0.1);
}

.comparison {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: #fff;
}

.comparison th,
.comparison td {
  padding: 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(11,39,66,0.1);
}

.comparison th {
  color: #fff;
  background: var(--navy);
}

.proof-grid,
.applications,
.score-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.proof-grid article,
.applications article,
.score-grid span {
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
}

.proof-grid strong {
  display: block;
  color: var(--gold);
  font-family: var(--heading);
  font-size: 26px;
  line-height: 1.05;
}

.proof-grid span {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,0.76);
}

.swatches {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.swatch {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.swatch i {
  display: block;
  height: 96px;
  background: var(--color);
}

.swatch strong,
.swatch span {
  display: block;
  padding: 0 12px;
}

.swatch strong {
  padding-top: 12px;
  color: var(--navy);
  font-size: 14px;
}

.swatch span {
  padding-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
}

.type-sample {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.type-sample strong {
  display: block;
  max-width: 780px;
  color: var(--navy);
  font-family: var(--heading);
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1;
}

.type-sample p {
  max-width: 680px;
  color: #53615f;
  font-size: 18px;
}

.website-frame {
  margin: 30px 0;
  padding: 18px;
  background: var(--paper);
  border-radius: 8px;
}

.frame-hero {
  display: grid;
  align-content: end;
  min-height: 280px;
  padding: clamp(22px, 4vw, 42px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(11,39,66,0.94), rgba(36,58,49,0.78)),
    linear-gradient(45deg, var(--cedar), var(--gold));
  border-radius: 6px;
}

.estate .frame-hero {
  background:
    linear-gradient(135deg, rgba(7,29,51,0.96), rgba(17,20,23,0.84)),
    linear-gradient(45deg, var(--gold), var(--stone));
}

.heritage-frame .frame-hero {
  background:
    linear-gradient(135deg, rgba(16,42,67,0.94), rgba(107,74,46,0.78)),
    linear-gradient(45deg, var(--gold), var(--green));
}

.frame-hero span {
  max-width: 760px;
  font-family: var(--heading);
  font-size: clamp(32px, 5vw, 68px);
  line-height: 1.02;
}

.frame-hero b {
  align-self: start;
  justify-self: start;
  margin-top: 20px;
  padding: 12px 14px;
  color: var(--navy);
  background: var(--gold);
  border-radius: 4px;
  font-family: var(--label);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.frame-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.frame-row i,
.frame-proof span {
  display: block;
  min-height: 72px;
  background: rgba(11,39,66,0.1);
  border-radius: 6px;
}

.frame-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.frame-proof span {
  display: grid;
  place-items: center;
  color: var(--navy);
  font-weight: 800;
}

.applications {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.applications article {
  min-height: 170px;
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.applications span {
  color: var(--gold);
  font-size: 13px;
}

.applications strong {
  display: block;
  margin-top: 12px;
  color: var(--navy);
  font-family: var(--heading);
  font-size: 25px;
  line-height: 1.08;
}

.score-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.score-grid span {
  color: var(--navy);
  background: #fff;
  border-color: var(--line);
  font-weight: 800;
}

.score-grid b {
  display: block;
  color: var(--gold);
  font-family: var(--heading);
  font-size: 38px;
}

.recommendation {
  max-width: 880px;
  margin: 24px 0 0;
  font-size: 19px;
  color: #465453;
}

.footer {
  padding: 30px clamp(20px, 5vw, 72px);
  color: rgba(255,255,255,0.72);
  background: #101820;
}

@media (max-width: 1020px) {
  .hero,
  .grid.two,
  .grid.three,
  .option-cards,
  .proof-grid,
  .applications {
    grid-template-columns: 1fr;
  }

  .overview-hero {
    min-height: auto;
  }

  .section-head {
    display: block;
  }

  .score-badge {
    margin-top: 24px;
  }

  .swatches,
  .score-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .topbar {
    position: static;
    display: block;
  }

  .nav {
    justify-content: flex-start;
    margin-top: 14px;
  }

  .topbar-title img {
    width: 64px;
    height: 46px;
  }

  .hero,
  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 {
    font-size: clamp(42px, 15vw, 70px);
  }

  .brand-seal {
    min-height: 250px;
  }

  .frame-row,
  .frame-proof {
    grid-template-columns: 1fr;
  }

  .swatches,
  .score-grid {
    grid-template-columns: 1fr;
  }
}
