:root {
  --bg: #f7f4ee;
  --title: #06363a;
  --body: #0b5d63;
  --cta: #b59a6b;
  --cta-hover: #9d8458;
  --cta-ink: #06363a;
  --line: color-mix(in srgb, var(--cta) 38%, transparent);
  --font-title: "Lora", Georgia, "Times New Roman", serif;
  --font-body: "Poppins", system-ui, sans-serif;
  --wrap: 1160px;
  --header: 84px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

h1,
h2,
h3 {
  font-family: var(--font-title);
  color: var(--title);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(2.15rem, 4.6vw, 3.85rem);
}

h1 em {
  display: block;
  margin-top: 0.55rem;
  font-style: italic;
  font-weight: 500;
}

h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.85rem, 3vw, 2.75rem);
}

h3 {
  margin: 0.35rem 0 0.75rem;
  font-size: 1.35rem;
}

p {
  margin: 0 0 1.15rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--title);
  color: var(--bg);
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.wrap {
  width: min(var(--wrap), calc(100% - 3rem));
  margin-inline: auto;
}

.kicker {
  margin: 0 0 1rem;
  color: var(--cta);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.9rem 1.7rem;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.btn-cta {
  background: var(--cta);
  color: var(--cta-ink);
}

.btn-cta:hover {
  background: var(--cta-hover);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--title);
}

.btn:focus-visible {
  outline: 2px solid var(--title);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 100%;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-right: auto;
  text-decoration: none;
  color: var(--title);
}

.wordmark-mark {
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--cta);
  border-radius: 50%;
  box-shadow: 6px 0 0 -1.5px var(--title);
}

.wordmark-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-title);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.15;
}

.wordmark-text small {
  color: var(--cta);
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.header-nav {
  display: flex;
  gap: 1.5rem;
}

.header-nav a {
  color: var(--body);
  font-size: 0.86rem;
  font-weight: 500;
  text-decoration: none;
}

.header-nav a:hover {
  color: var(--title);
}

.site-header .btn {
  min-height: 44px;
  padding: 0.65rem 1.15rem;
  font-size: 0.8rem;
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - var(--header));
  align-items: center;
  padding: 4.5rem 0 5.5rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  right: -12%;
  top: 8%;
  width: 54vw;
  max-width: 720px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, color-mix(in srgb, var(--title) 14%, transparent), transparent 68%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 4rem;
  align-items: center;
}

.lede {
  max-width: 42rem;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.4rem;
  margin-top: 2.1rem;
}

.hero-note {
  margin: 0;
  color: color-mix(in srgb, var(--body) 78%, var(--bg));
  font-size: 0.84rem;
}

.hero-visual {
  position: relative;
  min-height: 420px;
}

.orbit {
  position: absolute;
  inset: 12%;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.orbit-1 {
  inset: 0;
}

.orbit-2 {
  inset: 16%;
  border-color: color-mix(in srgb, var(--cta) 55%, transparent);
}

.orbit-3 {
  inset: 32%;
  border-style: dashed;
}

.core {
  position: absolute;
  inset: 38%;
  display: grid;
  place-content: center;
  background: var(--title);
  color: var(--bg);
  text-align: center;
  border-radius: 50%;
}

.core span {
  font-family: var(--font-title);
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1;
}

.core small {
  margin-top: 0.35rem;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.layer {
  position: absolute;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 82%, white);
  color: var(--title);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.layer-a {
  top: 8%;
  right: 6%;
}

.layer-b {
  right: 0;
  bottom: 14%;
  border-color: var(--cta);
  color: var(--cta);
}

.section,
.hero {
  scroll-margin-top: calc(var(--header) + 0.5rem);
}

.pain {
  border-block: 1px solid var(--line);
}

.pain-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 4rem;
  align-items: start;
}

.stat-value {
  margin: 0;
  color: var(--cta);
  font-family: var(--font-title);
  font-size: clamp(6rem, 12vw, 9.5rem);
  font-weight: 600;
  line-height: 0.85;
  letter-spacing: -0.05em;
}

.stat-label {
  max-width: 14rem;
  margin-top: 1.1rem;
  color: var(--title);
  font-size: 0.95rem;
  font-weight: 500;
}

.pain-copy p + p {
  margin-top: 1.15rem;
}

.section-intro {
  margin-bottom: 2.4rem;
  color: var(--title);
  font-family: var(--font-title);
  font-size: 1.45rem;
}

.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
  margin: 0 0 2.5rem;
  padding: 0;
  list-style: none;
}

.pillar {
  padding: 1.7rem 1.6rem 1.5rem;
  border: 1px solid var(--line);
  border-top: 2px solid var(--cta);
  background: color-mix(in srgb, var(--bg) 70%, white);
}

.pillar-num {
  color: var(--cta);
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: 600;
}

.pillar-expert {
  margin-bottom: 0.65rem;
  color: var(--title);
  font-size: 0.82rem;
  font-weight: 600;
}

.differential {
  padding: 2rem 2.1rem;
  border-left: 2px solid var(--cta);
  background: color-mix(in srgb, var(--title) 4%, var(--bg));
}

.authority-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
  margin-bottom: 1.15rem;
}

.authority-card,
.pullquote {
  padding: 2rem 1.9rem;
  border: 1px solid var(--line);
}

.authority-label {
  margin-bottom: 0.7rem;
  color: var(--cta);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.pullquote {
  margin: 0;
  background: var(--title);
}

.pullquote .authority-label,
.pullquote p {
  color: var(--bg);
}

.pullquote p:last-child {
  max-width: 46rem;
  font-family: var(--font-title);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 500;
  line-height: 1.55;
}

.close {
  padding-top: 0;
}

.close-inner {
  max-width: 740px;
  padding: 4.5rem 0 1rem;
  text-align: center;
}

.close-inner .kicker,
.close-inner h2,
.close-inner p,
.close-inner .btn {
  margin-left: auto;
  margin-right: auto;
}

.close-inner p {
  max-width: 40rem;
}

.close-inner .btn {
  margin-top: 1.6rem;
  margin-bottom: 1.4rem;
}

.selection-note {
  max-width: 36rem;
  color: color-mix(in srgb, var(--body) 82%, var(--bg));
  font-size: 0.92rem;
}

.contact {
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
  margin-top: 2rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.5rem 1.4rem;
  border: 1px solid var(--line);
  border-top: 2px solid var(--cta);
  background: color-mix(in srgb, var(--bg) 70%, white);
  color: var(--title);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-2px);
  border-color: var(--cta);
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  color: var(--cta);
}

.contact-icon svg {
  width: 28px;
  height: 28px;
}

.contact-card strong {
  display: block;
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 600;
}

.contact-card small {
  color: var(--body);
  font-size: 0.88rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 2rem;
  font-size: 0.84rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.footer-inner a {
  color: var(--title);
  text-decoration: none;
}

.form-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: color-mix(in srgb, var(--title) 58%, transparent);
}

.form-overlay[hidden] {
  display: none;
}

.form-panel {
  position: relative;
  width: min(640px, 100%);
  max-height: min(90vh, 760px);
  overflow: auto;
  padding: 2.4rem 2.2rem 2rem;
  background: var(--bg);
  box-shadow: 0 30px 80px color-mix(in srgb, var(--title) 28%, transparent);
}

.form-close {
  position: absolute;
  top: 0.8rem;
  right: 0.9rem;
  border: 0;
  background: none;
  color: var(--title);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
}

.form-progress {
  height: 2px;
  margin: 0 0 1.8rem;
  background: var(--line);
}

.form-progress span {
  display: block;
  width: 16%;
  height: 100%;
  background: var(--cta);
  transition: width 0.25s ease;
}

.form-step {
  display: none;
}

.form-step.is-active {
  display: block;
}

.apply-form label {
  display: block;
  margin-bottom: 1rem;
  color: var(--title);
  font-family: var(--font-title);
  font-size: 1.55rem;
  line-height: 1.3;
}

.apply-form input,
.apply-form textarea {
  width: 100%;
  margin-bottom: 1.5rem;
  padding: 0.9rem 0;
  border: 0;
  border-bottom: 1px solid var(--cta);
  border-radius: 0;
  background: transparent;
  color: var(--title);
  font-family: var(--font-body);
  font-size: 1.05rem;
}

.apply-form input:focus,
.apply-form textarea:focus {
  outline: none;
  border-bottom-width: 2px;
}

.form-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.form-error {
  margin: 0 0 1rem;
  color: #8a2f2f;
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .header-nav {
    display: none;
  }

  .hero-grid,
  .pain-grid,
  .pillars,
  .authority-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 320px;
    margin-top: 1rem;
  }

  .site-header .btn {
    font-size: 0.72rem;
    padding-inline: 0.85rem;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(var(--wrap), calc(100% - 2rem));
  }

  .hero,
  .section {
    padding-block: 3.5rem;
  }

  .wordmark-text {
    font-size: 0.92rem;
  }

  .form-panel {
    padding: 2rem 1.25rem 1.4rem;
  }
}
