:root {
  --ink: #153832;
  --ink-strong: #092820;
  --muted: #5c6761;
  --paper: #fffdfa;
  --soft: #f5f0ea;
  --soft-green: #e7efea;
  --line: #ded8d0;
  --terracotta: #c84e2f;
  --terracotta-dark: #9f3a24;
  --gold: #c48a35;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(21, 56, 50, 0.13);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(231, 239, 234, 0.55), rgba(255, 253, 250, 0) 440px),
    var(--paper);
}

body,
button,
input,
select {
  font: inherit;
}

a {
  color: inherit;
}

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

.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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(255, 253, 250, 0.92);
  border-bottom: 1px solid rgba(222, 216, 208, 0.86);
  backdrop-filter: blur(16px);
}

.brand {
  width: 184px;
  min-width: 184px;
  text-decoration: none;
}

.site-nav {
  justify-self: center;
  display: flex;
  gap: clamp(18px, 3vw, 42px);
  align-items: center;
  font-size: 0.92rem;
  color: var(--ink-strong);
}

.site-nav a,
.site-footer a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--terracotta);
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}

.signin-link,
.nav-signin {
  border: 1px solid var(--line);
  color: var(--ink-strong);
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.signin-link {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 4px;
}

.nav-signin {
  display: none;
}

.signin-link:hover,
.signin-link:focus-visible,
.nav-signin:hover,
.nav-signin:focus-visible {
  color: var(--terracotta);
  border-color: var(--terracotta);
}

.nav-action,
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 4px;
  border: 1px solid var(--terracotta);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

.nav-action,
.button-primary {
  color: var(--white);
  background: var(--terracotta);
}

.nav-action:hover,
.button-primary:hover,
.nav-action:focus-visible,
.button-primary:focus-visible {
  background: var(--terracotta-dark);
}

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

.button-secondary:hover,
.button-secondary:focus-visible {
  background: #fff3ed;
}

.menu-button {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  min-height: min(780px, calc(100vh - 82px));
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  align-self: center;
  padding: clamp(56px, 8vw, 112px) clamp(22px, 6vw, 84px);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6vw, 6.7rem);
  line-height: 0.98;
  letter-spacing: 0;
  color: var(--ink-strong);
}

.hero p {
  max-width: 610px;
  margin: 28px 0 0;
  color: #2e3935;
  font-size: clamp(1.05rem, 1.4vw, 1.34rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
}

.hero-panel {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 253, 250, 0.84), rgba(255, 253, 250, 0.1) 18%, rgba(9, 40, 32, 0.82)),
    linear-gradient(135deg, #d7e2dc 0%, #f1ebe3 42%, #163c34 100%);
}

.portrait-card {
  position: absolute;
  inset: 64px 58px 64px 82px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.portrait-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.insight-card {
  position: absolute;
  right: 32px;
  width: min(244px, 32vw);
  padding: 16px;
  color: var(--white);
  background: rgba(9, 40, 32, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.insight-card span,
.section-label {
  display: block;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.insight-card strong {
  display: block;
  margin-top: 5px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  line-height: 1.2;
}

.insight-card small {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
}

.insight-main {
  top: 118px;
}

.insight-card:nth-of-type(3) {
  top: 316px;
}

.insight-card:nth-of-type(4) {
  top: 462px;
}

.insight-card svg {
  width: 100%;
  height: 82px;
  margin-top: 14px;
}

.insight-card polyline {
  fill: none;
  stroke: var(--gold);
  stroke-width: 4;
}

.insight-card circle {
  fill: var(--soft-green);
}

.section {
  padding: clamp(58px, 8vw, 106px) clamp(20px, 5vw, 72px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(280px, 1fr);
  gap: clamp(24px, 5vw, 90px);
  align-items: end;
  margin-bottom: 44px;
}

.section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4.4vw, 4.5rem);
  line-height: 1.04;
  color: var(--ink-strong);
}

.section-heading p,
.podcast-copy p,
.contact-section > div p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.75;
}

.section-label {
  margin: 0 0 14px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-card {
  min-height: 330px;
  padding: 36px 34px;
  border-right: 1px solid var(--line);
}

.service-card:last-child {
  border-right: 0;
}

.service-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  color: var(--gold);
}

.service-icon svg {
  width: 64px;
  height: 64px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3,
.journey-grid h3,
.episode-meta h3,
.contact-section h2 {
  margin: 24px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink-strong);
  font-size: 1.72rem;
  line-height: 1.15;
}

.service-card p,
.journey-grid p,
.workflow p,
.episode-meta p,
.site-footer p {
  color: var(--muted);
  line-height: 1.65;
}

.service-card a {
  display: inline-block;
  margin-top: 18px;
  color: var(--terracotta);
  font-weight: 800;
  text-decoration: none;
}

.podcast-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(420px, 1.3fr);
  align-items: center;
  gap: clamp(28px, 6vw, 96px);
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.podcast-copy h2 {
  margin: 0 0 20px;
}

.podcast-copy .button {
  margin-top: 28px;
}

.podcast-player {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 30px;
  padding: 28px;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 18%, rgba(196, 138, 53, 0.26), transparent 24%),
    linear-gradient(135deg, #123b32, #061d18);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.podcast-player img {
  width: 220px;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
}

.episode-meta span {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.episode-meta h3 {
  margin-top: 12px;
  color: var(--white);
  max-width: 570px;
}

.episode-meta p {
  color: rgba(255, 255, 255, 0.8);
}

.audio-line {
  height: 5px;
  margin: 28px 0 22px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
}

.audio-line span {
  display: block;
  width: 42%;
  height: 100%;
  background: var(--gold);
  border-radius: inherit;
}

.player-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.round-control,
.play-control {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.round-control {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 0.76rem;
}

.play-control {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-size: 1.2rem;
}

.evidence-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.evidence-rail div {
  min-height: 160px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  padding: 26px 18px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.evidence-rail div:last-child {
  border-right: 0;
}

.evidence-rail strong {
  color: var(--ink-strong);
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 1;
}

.evidence-rail span {
  max-width: 150px;
  color: var(--muted);
  line-height: 1.45;
}

.sectors-section {
  background: var(--white);
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.journey-grid article {
  min-height: 250px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.journey-grid span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: var(--ink);
  border-radius: 50%;
  font-weight: 800;
}

.workflow-section {
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.workflow div {
  position: relative;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.workflow span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 20px;
  color: var(--white);
  background: var(--terracotta);
  border-radius: 50%;
  font-weight: 800;
}

.workflow strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(340px, 1fr);
  gap: clamp(28px, 6vw, 96px);
  background: var(--ink);
  color: var(--white);
}

.contact-section h2 {
  color: var(--white);
  font-size: clamp(2.5rem, 4vw, 4.8rem);
}

.contact-section > div p {
  color: rgba(255, 255, 255, 0.76);
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  font-weight: 800;
}

.lead-form input,
.lead-form select {
  min-height: 48px;
  width: 100%;
  padding: 0 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid transparent;
  border-radius: 4px;
}

.lead-form button {
  grid-column: 1 / -1;
  width: fit-content;
}

.form-result {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  color: #f7d9bd;
  font-weight: 800;
}

body.modal-open {
  overflow: hidden;
}

.signin-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 37, 31, 0.68);
}

.signin-modal[hidden] {
  display: none;
}

.signin-dialog {
  position: relative;
  width: min(100%, 480px);
  padding: clamp(28px, 5vw, 44px);
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.signin-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink-strong);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.signin-dialog h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink-strong);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.05;
}

.signin-dialog p {
  color: var(--muted);
  line-height: 1.7;
}

.signin-form {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.signin-form label {
  display: grid;
  gap: 8px;
  color: var(--ink-strong);
  font-size: 0.88rem;
  font-weight: 800;
}

.signin-form input {
  min-height: 48px;
  width: 100%;
  padding: 0 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.signin-form .button {
  width: fit-content;
}

.signin-note {
  min-height: 24px;
  margin: 0;
  color: var(--terracotta);
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) repeat(2, minmax(180px, 0.7fr));
  gap: 32px;
  padding: 42px clamp(20px, 5vw, 72px) 28px;
  color: rgba(255, 255, 255, 0.86);
  background: #08251f;
}

.site-footer img {
  width: 180px;
  margin-bottom: 16px;
  filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.24));
}

.site-footer h2 {
  margin: 0 0 14px;
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer a {
  display: block;
  margin: 8px 0;
}

.footer-note {
  grid-column: 1 / -1;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.88rem;
}

:focus-visible {
  outline: 3px solid rgba(196, 138, 53, 0.8);
  outline-offset: 3px;
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 560px;
  }

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

  .service-card:nth-child(2) {
    border-right: 0;
  }

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

  .evidence-rail div:nth-child(3) {
    border-right: 0;
  }

  .podcast-section,
  .contact-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .brand {
    width: 152px;
    min-width: 152px;
  }

  .menu-button {
    justify-self: end;
    display: grid;
    width: 44px;
    height: 44px;
    gap: 5px;
    place-content: center;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--white);
  }

  .menu-button span:not(.sr-only) {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
  }

  .site-nav,
  .header-actions {
    display: none;
  }

  .site-nav.is-open {
    grid-column: 1 / -1;
    display: grid;
    justify-self: stretch;
    gap: 0;
    padding: 10px 0;
  }

  .site-nav.is-open a {
    padding: 14px 0;
    border-top: 1px solid var(--line);
  }

  .site-nav.is-open .nav-signin {
    display: block;
    min-height: 48px;
    padding: 14px 0;
    text-align: left;
    border-width: 1px 0 0;
    border-radius: 0;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 10.5vw, 3.7rem);
    line-height: 1.03;
  }

  .hero-panel {
    min-height: 560px;
  }

  .portrait-card {
    inset: 32px 24px 118px;
  }

  .insight-card {
    right: 24px;
    width: calc(100% - 48px);
  }

  .insight-main {
    top: auto;
    bottom: 210px;
  }

  .insight-card:nth-of-type(3) {
    top: auto;
    bottom: 112px;
  }

  .insight-card:nth-of-type(4) {
    top: auto;
    bottom: 16px;
  }

  .section-heading,
  .podcast-player,
  .lead-form,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .journey-grid,
  .workflow,
  .evidence-rail {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card:nth-child(2),
  .evidence-rail div,
  .evidence-rail div:nth-child(3) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-card:last-child,
  .evidence-rail div:last-child {
    border-bottom: 0;
  }

  .podcast-player img {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
