:root {
  color-scheme: light;
  --ink: #151514;
  --muted: #65645f;
  --paper: #f8f8f5;
  --panel: #ffffff;
  --line: rgba(21, 21, 20, 0.14);
  --green: #174c3b;
  --coral: #d94f45;
  --blue: #315fca;
  --gold: #b9923b;
  --shadow: 0 22px 60px rgba(21, 21, 20, 0.14);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(120deg, rgba(49, 95, 202, 0.08), transparent 32%),
    linear-gradient(230deg, rgba(217, 79, 69, 0.1), transparent 38%),
    var(--paper);
  color: var(--ink);
  min-width: 320px;
}

body::selection {
  background: rgba(217, 79, 69, 0.22);
}

img,
svg,
canvas {
  display: block;
}

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

.page-texture {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  opacity: 0.26;
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(21, 21, 20, 0.035) 0,
      rgba(21, 21, 20, 0.035) 1px,
      transparent 1px,
      transparent 7px
    );
  mix-blend-mode: multiply;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 30;
  width: min(calc(100% - 32px), 1120px);
  min-height: 64px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  background: rgba(248, 248, 245, 0.78);
  box-shadow: 0 16px 45px rgba(21, 21, 20, 0.1);
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
  letter-spacing: 0;
}

.brand span,
.footer-brand span {
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 8px;
  color: rgba(21, 21, 20, 0.76);
  font-size: 0.92rem;
  font-weight: 650;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  background: rgba(21, 21, 20, 0.07);
}

.hero {
  position: relative;
  min-height: 82svh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: clamp(118px, 16vh, 168px) max(20px, calc((100vw - 1120px) / 2)) 38px;
  isolation: isolate;
}

#motion-field,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#motion-field {
  z-index: -3;
  background:
    linear-gradient(110deg, rgba(248, 248, 245, 0.97) 0%, rgba(248, 248, 245, 0.62) 58%),
    linear-gradient(24deg, transparent 0 48%, rgba(217, 79, 69, 0.13) 48% 52%, transparent 52%),
    linear-gradient(152deg, transparent 0 58%, rgba(23, 76, 59, 0.14) 58% 63%, transparent 63%);
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(0deg, rgba(248, 248, 245, 1) 0%, rgba(248, 248, 245, 0) 32%),
    linear-gradient(90deg, rgba(248, 248, 245, 0.96) 0%, rgba(248, 248, 245, 0.58) 54%, rgba(248, 248, 245, 0.1) 100%);
}

.hero-content {
  width: min(100%, 740px);
  padding-bottom: clamp(32px, 7vh, 88px);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10.75rem;
  line-height: 0.78;
  font-weight: 500;
  letter-spacing: 0;
}

.hero-copy {
  width: min(100%, 580px);
  margin: clamp(24px, 4vw, 42px) 0 0;
  color: rgba(21, 21, 20, 0.74);
  font-size: 1.36rem;
  line-height: 1.48;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 760;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 14px 34px rgba(21, 21, 20, 0.2);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--green);
}

.button-quiet {
  border-color: rgba(21, 21, 20, 0.18);
  background: rgba(255, 255, 255, 0.58);
}

.button-quiet:hover,
.button-quiet:focus-visible {
  border-color: rgba(21, 21, 20, 0.28);
  background: rgba(255, 255, 255, 0.86);
}

.hero-meta {
  position: absolute;
  right: max(20px, calc((100vw - 1120px) / 2));
  bottom: 34px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: min(46vw, 420px);
}

.hero-meta span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 0 0 14px;
  border-left: 2px solid rgba(21, 21, 20, 0.18);
  color: rgba(21, 21, 20, 0.7);
  font-size: 0.82rem;
  font-weight: 680;
}

.coming-soon {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 35;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(21, 21, 20, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  color: rgba(21, 21, 20, 0.78);
  font-size: 0.8rem;
  font-weight: 840;
  letter-spacing: 0.08em;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(-200px, -200px, 0) scale(0.96);
  transition: opacity 160ms ease;
  box-shadow: 0 18px 42px rgba(21, 21, 20, 0.1);
  backdrop-filter: blur(16px);
  will-change: opacity, transform;
}

.coming-soon.is-visible {
  opacity: 1;
  visibility: visible;
}

.coming-soon.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.status-mark {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
}

.status-mark::after {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(217, 79, 69, 0.36);
  border-radius: 50%;
  animation: statusPulse 1.9s ease-out infinite;
}

@keyframes statusPulse {
  0% {
    opacity: 0.85;
    transform: scale(0.58);
  }

  100% {
    opacity: 0;
    transform: scale(1.45);
  }
}

.section-panel {
  padding: clamp(62px, 9vw, 112px) max(20px, calc((100vw - 1120px) / 2));
}

.story-motion {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 92px max(20px, calc((100vw - 1120px) / 2));
  border-top: 1px solid rgba(21, 21, 20, 0.1);
  border-bottom: 1px solid rgba(21, 21, 20, 0.1);
  background:
    linear-gradient(120deg, rgba(248, 248, 245, 0.94), rgba(248, 248, 245, 0.62)),
    linear-gradient(35deg, rgba(23, 76, 59, 0.14), transparent 42%),
    linear-gradient(145deg, transparent 48%, rgba(217, 79, 69, 0.13) 62%, transparent 76%);
  isolation: isolate;
}

#story-three {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}

.story-motion::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(248, 248, 245, 0.9) 0%, rgba(248, 248, 245, 0.64) 42%, rgba(248, 248, 245, 0.08) 100%),
    repeating-linear-gradient(
      0deg,
      rgba(21, 21, 20, 0.038) 0,
      rgba(21, 21, 20, 0.038) 1px,
      transparent 1px,
      transparent 24px
    );
  pointer-events: none;
}

.story-copy {
  width: min(100%, 620px);
}

.story-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5.8rem;
  line-height: 0.94;
  font-weight: 500;
  letter-spacing: 0;
}

.story-copy p:last-child {
  width: min(100%, 440px);
  margin: 24px 0 0;
  color: rgba(21, 21, 20, 0.68);
  font-size: 1.14rem;
  line-height: 1.58;
}

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

.section-heading h2,
.connect-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.2rem;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0;
}

.identity {
  border-top: 1px solid rgba(21, 21, 20, 0.1);
}

.identity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(34px, 5vw, 58px);
}

.identity-item {
  min-height: 226px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.68)),
    linear-gradient(180deg, transparent, rgba(23, 76, 59, 0.04));
}

.identity-item:nth-child(2) {
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.68)),
    linear-gradient(180deg, transparent, rgba(217, 79, 69, 0.05));
}

.identity-item:nth-child(3) {
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.68)),
    linear-gradient(180deg, transparent, rgba(49, 95, 202, 0.05));
}

.item-index {
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 820;
}

.identity-item h3 {
  margin: 0 0 12px;
  font-size: 1.28rem;
  letter-spacing: 0;
}

.identity-item p,
.connect-copy p,
.site-footer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.connect {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(360px, 1.16fr);
  gap: clamp(28px, 6vw, 74px);
  align-items: start;
  border-top: 1px solid rgba(21, 21, 20, 0.1);
  background:
    linear-gradient(135deg, rgba(23, 76, 59, 0.08), transparent 36%),
    linear-gradient(315deg, rgba(185, 146, 59, 0.1), transparent 40%);
}

.connect-copy {
  position: sticky;
  top: 128px;
}

.connect-copy p:last-child {
  max-width: 460px;
  margin-top: 22px;
  font-size: 1.04rem;
}

.form-shell {
  overflow: hidden;
  border: 1px solid rgba(21, 21, 20, 0.12);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.form-top {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(21, 21, 20, 0.1);
  background: #fbfbf8;
  color: rgba(21, 21, 20, 0.62);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.form-top span:last-child {
  color: var(--green);
}

.ghl-frame {
  width: 100%;
  height: clamp(465px, 68vh, 680px);
  background: #fff;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px max(20px, calc((100vw - 1120px) / 2));
  border-top: 1px solid rgba(21, 21, 20, 0.1);
  background: #f1f2ed;
}

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

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

@media (max-width: 820px) {
  .site-header {
    top: 10px;
    width: min(calc(100% - 20px), 1120px);
    min-height: 58px;
  }

  .site-nav a {
    min-height: 36px;
    padding: 0 10px;
    font-size: 0.86rem;
  }

  .hero {
    min-height: 78svh;
    padding-top: 104px;
  }

  .hero h1 {
    font-size: 7.2rem;
  }

  .hero-copy {
    font-size: 1.18rem;
  }

  .section-heading h2,
  .connect-copy h2 {
    font-size: 3.1rem;
  }

  .story-motion {
    min-height: 500px;
    padding: 74px 20px;
  }

  .story-copy h2 {
    font-size: 4.1rem;
  }

  .hero-content {
    padding-bottom: 90px;
  }

  .hero-meta {
    right: auto;
    left: 20px;
    bottom: 24px;
    justify-content: flex-start;
    max-width: calc(100% - 40px);
  }

  .coming-soon {
    display: none;
  }

  .identity-grid,
  .connect {
    grid-template-columns: 1fr;
  }

  .connect-copy {
    position: static;
  }

  .identity-item {
    min-height: 184px;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 8px;
  }

  .brand {
    gap: 8px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .brand span {
    font-size: 0.94rem;
  }

  .site-nav {
    gap: 2px;
  }

  .site-nav a {
    padding: 0 8px;
  }

  .hero {
    min-height: 76svh;
    padding-inline: 18px;
  }

  .hero h1 {
    font-size: 4.6rem;
  }

  .section-heading h2,
  .connect-copy h2 {
    font-size: 2.35rem;
  }

  .story-motion {
    min-height: 430px;
    padding-inline: 18px;
  }

  .story-copy h2 {
    font-size: 3rem;
  }

  .story-copy p:last-child {
    font-size: 1rem;
  }

  .identity-item h3 {
    font-size: 1.16rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .hero-meta span {
    min-height: 31px;
    padding: 0 10px;
    font-size: 0.78rem;
  }

  .coming-soon {
    display: none;
  }

  .section-panel {
    padding-inline: 18px;
  }

  .form-top {
    min-height: 44px;
    padding-inline: 12px;
  }

  .ghl-frame {
    height: 545px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding-inline: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
