:root {
  --color-navy: #15233f;
  --color-navy-dark: #0f172a;
  --color-orange: #f26a00;
  --color-orange-bright: #ff8f1f;
  --color-white: #ffffff;
  --color-ink: #1f2533;
  --radius-lg: 26px;
  --radius-md: 16px;
  --shadow-1: 0 18px 40px rgba(16, 24, 40, 0.18);
  --space-1: 8px;
  --space-2: 12px;
  --space-3: 18px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  color: var(--color-ink);
  background: radial-gradient(circle at top, #f7f0ea 0%, #e8ded3 70%);
}

main {
  margin-top: 0;
  padding: 0;
}

#root {
  margin: 0;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  margin: 0;
  padding: 0;
}

.content {
  margin: 0;
  padding: 0;
}

.hero-wrapper {
  position: relative;
}

.wrapper-inner {
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.hero-card {
  position: relative;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  background: var(--color-white);
}

.top-bar {
  position: relative;
  height: 64px;
  z-index: 100;
  background: #ffffff;
  padding: 0;
  overflow: visible;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-3);
  position: relative;
  height: 64px;
  padding: 0 12px 0 512px;
}

.header-logo {
  position: absolute;
  left: -32px;
  top: calc(50% + 40px);
  transform: translateY(-50%);
  padding: 0;
  display: inline-block;
}

.header-logo img {
  width: 500px;
  height: auto;
  display: block;
  margin: 0;
  padding: 0;
  filter: drop-shadow(0 6px 10px rgba(6, 10, 24, 0.45));
}

@media (max-width: 900px) {
  .top-bar-inner {
    padding-left: 320px;
  }

  .header-logo img {
    width: 300px;
  }
}

.site-nav {
  display: none;
  gap: 20px;
  font-weight: 700;
  color: var(--color-navy);
}

.site-nav a {
  padding: 6px 2px;
}

.nav-toggle {
  border: none;
  background: var(--color-navy);
  color: var(--color-white);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  right: 0;
  left: auto;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--color-white);
  display: block;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--color-white);
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-cta {
  position: static;
  margin-left: var(--space-2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--color-orange);
  color: var(--color-white);
}

.hero {
  position: relative;
  margin-top: 0;
  background-image: url('/assets/HeroBkg.PNG');
  background-size: cover;
  background-position: center;
  padding: var(--space-5) var(--space-5) var(--space-6);
  overflow: visible;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 10, 22, 0.92) 0%, rgba(6, 10, 22, 0.7) 40%, rgba(6, 10, 22, 0) 64%);
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-5);
  align-items: center;
  min-height: 460px;
}


.hero-copy {
  color: var(--color-white);
  z-index: 2;
}

.hero-headline-panel {
  display: inline-block;
  padding: 18px 22px;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(0, 11, 41, 0.75) 0%, rgba(0, 11, 41, 0.6) 55%, rgba(0, 11, 41, 0) 100%);
  margin-bottom: var(--space-3);
  width: max-content;
  max-width: 100%;
}

.hero-copy h1 {
  margin: 0 0 var(--space-3);
  text-transform: uppercase;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 1.2px;
  font-size: clamp(2.6rem, 4.5vw, 4.1rem);
}

.hero-line {
  display: block;
  margin-bottom: 10px;
}

.hero-mainline {
  white-space: nowrap;
}

.accent {
  color: var(--color-orange-bright);
  font-weight: 900;
}

.hero-white {
  color: var(--color-white);
  font-weight: 900;
  font-size: 1.08em;
}

.hero-welcome {
  font-weight: 600;
  font-size: 1.05em;
  letter-spacing: 2px;
}

.hero-sub {
  margin: 0 0 var(--space-3);
  font-weight: 700;
  font-size: 1.1rem;
}

.hero-text {
  margin: 0 0 var(--space-4);
  max-width: 440px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

.social-row {
  display: inline-flex;
  gap: 10px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
}

.social-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.hero-media {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  padding-right: 0;
  align-self: stretch;
  overflow: visible;
}

.hero-media img {
  width: clamp(460px, 56vw, 980px);
  height: auto;
  max-width: none;
  transform: translate(14%, 6%);
  margin-right: 0;
  filter: drop-shadow(0 24px 30px rgba(6, 10, 24, 0.45));
  margin-left: auto;
  display: block;
}

.latest-posts {
  background: #f3f3f3;
  border-top: 50px solid #ffffff;
  padding: 0 0 40px;
}

.latest-posts-inner {
  width: 100%;
  margin: 0 auto;
}

.latest-posts-strip {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 45%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 50%),
    #10295a;
  color: #ffffff;
  box-shadow: none;
  padding: 16px 0 14px;
}

.latest-posts-strip-inner {
  width: min(100% - 48px, 1280px);
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.latest-posts-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 28% 6%, rgba(217, 235, 255, 0.3) 0%, rgba(217, 235, 255, 0.06) 24%, rgba(217, 235, 255, 0) 52%),
    radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0) 45%, rgba(3, 8, 25, 0.28) 100%);
  z-index: 0;
}

.latest-posts-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    repeating-radial-gradient(circle at 20% 40%, rgba(255, 255, 255, 0.35) 0 1px, transparent 1px 3px),
    repeating-radial-gradient(circle at 80% 60%, rgba(0, 0, 0, 0.45) 0 1px, transparent 1px 4px);
  mix-blend-mode: soft-light;
  z-index: 0;
}

.latest-posts-strip > * {
  position: relative;
  z-index: 1;
}

.latest-posts-strip h1 {
  margin: 0 0 1em;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.95;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: "Montserrat", "Segoe UI", sans-serif;
}

.latest-posts-strip p {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.2;
  max-width: 920px;
  font-family: "Montserrat", "Segoe UI", sans-serif;
}

.latest-substack-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-orange);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 12px 22px;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  margin-top: 4px;
}

.latest-posts-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(100% - 48px, 1280px);
  margin-left: auto;
  margin-right: auto;
  padding: 0;
}

.latest-card {
  background: #fff;
  border: 1px solid #d8d8d8;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.08);
}

.latest-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  background: #ffffff;
  border-bottom: 1px solid #cfcfcf;
}

.latest-card-content {
  padding: 10px 12px 12px;
}

.latest-card-meta {
  margin: 0 0 6px;
  color: #7a7a7a;
  font-size: 1.1rem;
  line-height: 1.2;
}

.latest-card h3 {
  margin: 0 0 8px;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-size: 4.2rem;
  line-height: 1;
  color: #121212;
}

.latest-card p {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.28;
  color: #2f2f2f;
}

.latest-card-footer {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 1.4rem;
}

.latest-card-footer span {
  color: #111;
}

.latest-readmore {
  background: var(--color-orange);
  color: #fff;
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 1.1rem;
  line-height: 1;
}

.follow-cone {
  width: 100%;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 45%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 50%),
    #e85a12;
  padding: 16px 0 14px;
  font-family: "Montserrat", "Segoe UI", sans-serif;
}

.follow-cone-inner {
  width: min(100% - 48px, 1280px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 16px;
  align-items: center;
}

.follow-cone-copy h2 {
  margin: 0 0 1em;
  color: #fff;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.95;
  text-transform: uppercase;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.25);
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-weight: 900;
}

.follow-cone-copy p {
  margin: 0;
  color: #fff;
  font-size: 1.15rem;
  line-height: 1.2;
  max-width: 560px;
  font-weight: 600;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.22);
}

.follow-cone-actions {
  display: grid;
  gap: 14px;
}

.follow-cone-form {
  background: #f4f4f4;
  border: 2px solid rgba(44, 44, 44, 0.2);
  border-radius: 12px;
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
}

.follow-cone-form input {
  border: none;
  background: transparent;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-size: 1rem;
  color: #2b2b2b;
  outline: none;
}

.follow-divider {
  width: 1px;
  height: 24px;
  background: #d0d0d0;
}

.follow-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #ffffff;
  color: #114da8;
  border: 1px solid #d4d4d4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.follow-submit {
  border: none;
  border-radius: 8px;
  padding: 10px 26px;
  background: var(--color-orange);
  color: #fff;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-size: 1.85rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.follow-cone-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.follow-link-chip {
  min-width: 42px;
  height: 34px;
  border-radius: 7px;
  border: 1px solid rgba(33, 33, 33, 0.26);
  background: #fff;
  color: #e55a15;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: "Montserrat", "Segoe UI", sans-serif;
}

.follow-link-chip svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.about-cone {
  background: #ffffff;
  padding: 34px 24px 36px;
  font-family: "Montserrat", "Segoe UI", sans-serif;
}

.about-cone-inner {
  width: min(100%, 1280px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 40px;
  align-items: start;
}

.about-cone-copy h2 {
  margin: 0 0 18px;
  color: #142646;
  font-size: clamp(2.2rem, 3.4vw, 3.4rem);
  line-height: 0.95;
  text-transform: uppercase;
  font-weight: 900;
}

.about-cone-lead {
  margin: 0 0 18px;
  color: #1b2233;
  font-size: 1.15rem;
  line-height: 1.5;
}

.about-cone-bullets {
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  color: #1c2233;
  font-size: 1.1rem;
}

.about-cone-bullets li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.about-cone-bullets li::before {
  content: "✔";
  color: #f26a00;
  font-weight: 900;
  margin-top: 2px;
}

.about-cone-emphasis {
  margin: 0 0 24px;
  color: #111a2b;
  font-weight: 800;
  font-size: 1.15rem;
}

.about-cone-copy > p {
  margin: 0 0 28px;
  color: #1f2433;
  font-size: 1.05rem;
  line-height: 1.45;
  max-width: 760px;
}

.about-cone-feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}

.about-cone-feature h3 {
  margin: 0 0 8px;
  color: #142646;
  font-size: 1.35rem;
  font-weight: 800;
}

.about-cone-feature p {
  margin: 0;
  color: #1f2433;
  font-size: 0.98rem;
  line-height: 1.45;
}

.about-cone-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #f26a00;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
}

.about-cone-card {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(18, 24, 38, 0.12);
  padding: 16px;
}

.about-cone-card img {
  width: 100%;
  display: block;
  border-radius: 16px;
}

.about-cone-card-body {
  padding: 18px 8px 4px;
}

.book-me {
  width: 100%;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 45%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 50%),
    #10295a;
  padding: 24px;
  margin-bottom: 50px;
}

.book-me-inner {
  width: min(100%, 1280px);
  margin: 0 auto;
  font-family: "Montserrat", "Segoe UI", sans-serif;
}

.book-me-inner h2 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: clamp(2rem, 3.6vw, 4rem);
  line-height: 0.95;
  text-transform: uppercase;
  font-weight: 900;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.25);
}

.book-me-inner > p {
  margin: 0 0 24px;
  color: #ffffff;
  font-size: clamp(1rem, 1.4vw, 1.5rem);
  line-height: 1.25;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.22);
}

.book-me-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.book-card {
  background: #f8f8f8;
  border: 2px solid rgba(12, 35, 79, 0.6);
  border-radius: 12px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.12);
}

.book-card-content {
  padding: 16px 18px 18px;
}

.book-card h3 {
  margin: 0 0 10px;
  color: #10295a;
  font-size: clamp(1.9rem, 2.6vw, 3rem);
  line-height: 0.95;
  font-weight: 800;
}

.book-card p {
  margin: 0 0 14px;
  color: #202737;
  font-size: 1.02rem;
  line-height: 1.3;
}

.book-card a {
  display: inline-block;
  background: var(--color-orange);
  color: #ffffff;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 1.25rem;
  line-height: 1;
  font-weight: 800;
}

.nav-open .site-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--color-white);
  padding: 18px;
  border-radius: var(--radius-md);
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  box-shadow: var(--shadow-1);
  z-index: 10;
}

@media (min-width: 860px) {
  .top-bar-inner {
    justify-content: flex-end;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: flex;
  }

  .hero-sub {
    white-space: nowrap;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    min-height: 520px;
  }

  .hero-media img {
    width: clamp(680px, 62vw, 1180px);
    transform: translate(20%, 9%);
    margin-right: 0;
    filter: drop-shadow(0 28px 36px rgba(6, 10, 24, 0.5));
  }
}

@media (max-width: 540px) {
  .top-bar {
    padding: 0;
  }

  .nav-cta {
    position: static;
  }

  .top-bar-inner {
    justify-content: space-between;
    padding: 0 12px;
    height: 64px;
  }

  .header-logo img {
    width: 220px;
  }

  .hero {
    padding: var(--space-5) var(--space-4) 40px;
  }

  .hero-grid {
    min-height: 0;
  }

  .hero-copy h1 {
    font-size: clamp(1.95rem, 8.2vw, 2.6rem);
  }

  .hero-media img {
    width: clamp(340px, 94vw, 520px);
    transform: translate(10%, 4%);
    margin-right: 0;
  }

  .latest-posts {
    padding: 0 0 24px;
  }

  .latest-posts-strip {
    padding: 12px;
  }

  .latest-posts-strip-inner {
    width: calc(100% - 20px);
    gap: 10px;
    flex-direction: column;
  }

  .latest-posts-strip p {
    font-size: 1.15rem;
  }

  .latest-posts-grid {
    grid-template-columns: 1fr;
    width: calc(100% - 20px);
    padding: 0;
  }

  .latest-card img {
    height: 150px;
  }

  .latest-card h3 {
    font-size: 2rem;
  }

  .latest-card p,
  .latest-card-meta,
  .latest-card-footer {
    font-size: 0.95rem;
  }

  .latest-readmore {
    font-size: 0.82rem;
  }

  .follow-cone {
    padding: 20px 0;
  }

  .follow-cone-inner {
    width: calc(100% - 20px);
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .follow-cone-copy h2 {
    font-size: clamp(2rem, 3vw, 3rem);
  }

  .follow-cone-form {
    grid-template-columns: 1fr auto;
  }

  .follow-divider,
  .follow-icon:nth-of-type(2) {
    display: none;
  }

  .follow-submit {
    font-size: 1rem;
    padding: 10px 14px;
  }

  .about-cone {
    padding: 22px 10px;
  }

  .about-cone-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .about-cone-copy h2 {
    font-size: 2rem;
  }

  .about-cone-copy > p,
  .about-cone-feature p,
  .about-cone-bullets {
    font-size: 0.95rem;
  }

  .about-cone-feature h3 {
    font-size: 1.15rem;
  }

  .book-me {
    padding: 18px 10px;
    margin-bottom: 50px;
  }

  .book-me-grid {
    grid-template-columns: 1fr;
  }

  .book-me-inner > p {
    font-size: 1rem;
  }

  .book-card h3 {
    font-size: 2rem;
  }

  .book-card p {
    font-size: 0.95rem;
  }

  .book-card a {
    font-size: 0.95rem;
  }
}

@media (min-width: 541px) and (max-width: 960px) {
  .latest-posts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .latest-posts-strip p {
    font-size: 1.35rem;
  }

  .latest-card h3 {
    font-size: 2.5rem;
  }

  .about-cone-inner {
    grid-template-columns: 1fr;
  }

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

.footer {
  background: linear-gradient(180deg, #1b3366 0%, #122953 100%);
  color: #f4f7ff;
  padding: 14px 18px 12px;
  border-top: 2px solid rgba(255, 255, 255, 0.15);
}

.footer-inner {
  width: min(100%, 1180px);
  margin: 0 auto;
  display: grid;
  gap: 6px;
  justify-content: center;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  font-weight: 800;
  color: #edf2ff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}

.footer-icon {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.9);
  color: #122953;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 900;
  border: 1px solid rgba(18, 41, 83, 0.3);
}

.footer-handle {
  font-size: 1.65rem;
  line-height: 1;
}

.footer-site {
  font-size: 1.55rem;
  line-height: 1;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.footer-bottom a {
  color: #dbe6ff;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

@media (max-width: 860px) {
  .footer-handle,
  .footer-site {
    font-size: 1.1rem;
  }

  .footer-top {
    gap: 8px;
  }

  .footer-bottom a {
    font-size: 0.82rem;
  }
}
