:root {
  --ink: #141817;
  --night: #0f1312;
  --paper: #f4f2ea;
  --chalk: #fffdf7;
  --mist: #e5ece5;
  --muted: #666b66;
  --line: rgba(20, 24, 23, 0.14);
  --line-dark: rgba(255, 253, 247, 0.18);
  --mint: #8ee4bd;
  --mint-strong: #42bd89;
  --gold: #e8b24c;
  --clay: #b45745;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

h1,
h3,
h2,
p,
li,
dd {
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
p,
dl,
dd {
  margin: 0;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 84svh;
  overflow: hidden;
  color: var(--chalk);
  background-color: var(--night);
  background:
    linear-gradient(90deg, rgba(15, 19, 18, 1) 0%, rgba(15, 19, 18, 0.98) 45%, rgba(15, 19, 18, 0.72) 62%, rgba(15, 19, 18, 0.18) 100%),
    linear-gradient(0deg, rgba(15, 19, 18, 0.86) 0%, rgba(15, 19, 18, 0.08) 58%),
    url("assets/ryan-hero.jpg");
  background-repeat: no-repeat;
  background-size: 100% 100%, 100% 100%, auto 122%;
  background-position: center, center, right -4vw center;
  display: grid;
  align-items: center;
  padding: 124px 6vw 44px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 1px;
  background: rgba(255, 255, 255, 0.22);
}

.site-nav {
  position: absolute;
  z-index: 4;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 24px 6vw;
}

.brand-mark {
  display: inline-flex;
  width: 158px;
  height: 40px;
  align-items: center;
}

.brand-logo {
  width: 100%;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(255, 253, 247, 0.76);
  font-size: 0.94rem;
  font-weight: 720;
}

.nav-links a,
.site-footer a {
  transition: color 170ms ease, opacity 170ms ease;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--mint);
}

.nav-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 253, 247, 0.42);
  border-radius: 8px;
  padding: 10px 16px;
  background: rgba(255, 253, 247, 0.1);
  color: var(--chalk);
  font-weight: 800;
}

.hero-inner {
  width: min(740px, 100%);
}

.eyebrow {
  color: var(--clay);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold);
}

h1 {
  margin-top: 18px;
  max-width: 760px;
  font-size: 5.6rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.94;
  overflow-wrap: normal;
  text-wrap: balance;
}

.hero-copy {
  max-width: 640px;
  margin-top: 24px;
  color: rgba(255, 253, 247, 0.84);
  font-size: 1.2rem;
  line-height: 1.55;
}

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

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 14px 20px;
  font-weight: 850;
  line-height: 1.1;
}

.button.primary {
  background: var(--mint);
  color: #062016;
}

.button.secondary {
  border-color: rgba(255, 253, 247, 0.42);
  color: var(--chalk);
  background: rgba(255, 253, 247, 0.07);
}

.button.dark {
  background: var(--ink);
  color: var(--chalk);
}

.hero-facts {
  width: min(650px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 44px;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.hero-facts div {
  padding: 18px 18px 18px 0;
}

.hero-facts div + div {
  padding-left: 22px;
  border-left: 1px solid var(--line-dark);
}

.hero-facts dt {
  color: rgba(255, 253, 247, 0.5);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-facts dd {
  margin-top: 6px;
  color: var(--chalk);
  font-size: 1rem;
  font-weight: 850;
}

.ticker {
  background: #1a1f1d;
  color: var(--chalk);
  overflow: hidden;
}

.ticker-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 auto;
  padding: 14px 0;
  flex-wrap: wrap;
}

.ticker span {
  border-left: 3px solid var(--mint);
  border-radius: 2px;
  padding: 8px 12px;
  background: rgba(255, 253, 247, 0.06);
  color: rgba(255, 253, 247, 0.82);
  font-size: 0.9rem;
  font-weight: 760;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.section-kicker span {
  height: 1px;
  flex: 1;
  background: var(--line);
}

h2 {
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.05;
  text-wrap: balance;
}

h3 {
  font-size: 1.28rem;
  font-weight: 880;
  letter-spacing: 0;
  line-height: 1.12;
}

.problem-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(300px, 0.62fr);
  gap: 72px;
  align-items: start;
}

.problem-copy {
  border-left: 3px solid var(--mint);
  padding-left: 28px;
}

.problem-copy p,
.packages-header > p,
.rhythm-copy p,
.about-copy p {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.65;
}

.problem-copy p + p,
.about-copy p + p {
  margin-top: 18px;
}

.work-section {
  background: var(--chalk);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.work-heading h2 {
  max-width: 900px;
}

.work-grid {
  width: min(1180px, calc(100% - 40px));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  gap: 14px;
  padding-bottom: 96px;
}

.work-grid article {
  min-height: 248px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.68);
}

.work-index {
  margin-bottom: 42px;
  color: var(--mint-strong);
  font-size: 0.82rem;
  font-weight: 900;
}

.work-grid h3 {
  margin-bottom: 16px;
}

.work-grid article p:last-child,
.package-card li,
.package-intro,
.rhythm-list p {
  color: var(--muted);
  line-height: 1.58;
}

.packages-header {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.55fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 42px;
}

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

.package-card {
  position: relative;
  display: flex;
  min-height: 0;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.82);
}

.package-card.featured {
  background: var(--night);
  color: var(--chalk);
  border-color: var(--night);
  box-shadow: 0 28px 80px rgba(20, 24, 23, 0.16);
}

.package-badge {
  width: fit-content;
  margin-bottom: 24px;
  border-radius: 8px;
  padding: 8px 10px;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 900;
}

.package-label {
  margin-bottom: 12px;
  color: var(--clay);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.featured .package-label {
  color: var(--mint);
}

.price {
  margin-top: 24px;
  color: var(--ink);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}

.featured .price {
  color: var(--chalk);
}

.price span {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 850;
}

.featured .price span {
  color: rgba(255, 253, 247, 0.58);
}

.package-intro {
  min-height: 86px;
  margin-top: 18px;
}

.featured .package-intro,
.featured li {
  color: rgba(255, 253, 247, 0.74);
}

.package-card ul {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.package-card li {
  position: relative;
  padding: 13px 0 13px 22px;
  border-top: 1px solid var(--line);
}

.featured li {
  border-top-color: rgba(255, 255, 255, 0.14);
}

.package-card li::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint-strong);
}

.package-link {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  background: var(--chalk);
  color: var(--ink);
  font-weight: 850;
}

.featured .package-link {
  background: var(--mint);
  border-color: var(--mint);
  color: #062016;
}

.rhythm-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1fr);
  gap: 70px;
  padding: 104px max(20px, calc((100vw - 1180px) / 2));
  background: var(--mist);
}

.rhythm-copy {
  align-self: start;
  position: sticky;
  top: 28px;
}

.rhythm-copy h2 {
  margin-bottom: 22px;
}

.rhythm-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.rhythm-list article {
  display: grid;
  grid-template-columns: 70px minmax(0, 0.42fr) minmax(0, 1fr);
  gap: 22px;
  align-items: baseline;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.rhythm-list span {
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1fr);
  min-height: 700px;
  background: var(--night);
  color: var(--chalk);
}

.about-image {
  min-height: 720px;
  background:
    linear-gradient(0deg, rgba(22, 19, 16, 0.16), rgba(22, 19, 16, 0.16)),
    url("assets/ryan-side.jpg");
  background-size: cover;
  background-position: 53% 34%;
}

.about-copy {
  align-self: center;
  max-width: 760px;
  padding: 76px max(40px, calc((100vw - 1180px) / 2)) 76px 76px;
}

.about-copy .eyebrow {
  color: var(--mint);
}

.about-copy h2 {
  margin: 16px 0 24px;
}

.about-copy p {
  color: rgba(255, 253, 247, 0.78);
}

.text-link {
  display: inline-flex;
  margin-top: 28px;
  color: var(--mint);
  font-weight: 850;
  border-bottom: 2px solid var(--mint);
  padding-bottom: 5px;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.final-cta h2 {
  max-width: 800px;
}

.site-footer {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 6vw;
  background: var(--ink);
  color: rgba(255, 253, 247, 0.72);
  font-size: 0.92rem;
}

.footer-brand {
  width: 144px;
}

@media (max-width: 1040px) {
  .hero {
    background:
      linear-gradient(90deg, rgba(12, 16, 15, 0.98) 0%, rgba(12, 16, 15, 0.88) 48%, rgba(12, 16, 15, 0.52) 100%),
      linear-gradient(0deg, rgba(12, 16, 15, 0.88) 0%, rgba(12, 16, 15, 0.12) 52%),
      url("assets/ryan-hero.jpg");
    background-size: cover;
    background-position: 62% 34%;
  }

  h1 {
    font-size: 4.55rem;
  }

  .problem-grid,
  .packages-header,
  .rhythm-section,
  .about-section {
    grid-template-columns: 1fr;
  }

  .problem-copy {
    max-width: 760px;
  }

  .work-grid,
  .package-grid {
    grid-template-columns: 1fr 1fr;
  }

  .package-card {
    min-height: 0;
  }

  .rhythm-copy {
    position: static;
  }

  .about-image {
    min-height: 620px;
  }

  .about-copy {
    padding: 64px 40px 72px;
  }
}

@media (max-width: 760px) {
  .site-nav {
    padding: 18px 20px;
  }

  .brand-mark {
    width: 138px;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    min-height: 40px;
    padding: 9px 12px;
    font-size: 0.9rem;
  }

  .hero {
    min-height: 92svh;
    align-items: end;
    padding: 96px 20px 30px;
    background:
      linear-gradient(0deg, rgba(12, 16, 15, 0.95) 0%, rgba(12, 16, 15, 0.68) 48%, rgba(12, 16, 15, 0.24) 100%),
      url("assets/ryan-hero.jpg");
    background-size: cover;
    background-position: 54% 20%;
  }

  h1 {
    max-width: 11ch;
    font-size: 3.1rem;
    line-height: 0.98;
  }

  h2 {
    font-size: 2.18rem;
  }

  .hero-copy {
    margin-top: 20px;
    font-size: 1rem;
    line-height: 1.52;
  }

  .button,
  .package-link {
    width: 100%;
  }

  .hero-facts {
    display: none;
  }

  .ticker-inner,
  .section,
  .work-grid {
    width: calc(100% - 32px);
  }

  .section {
    padding: 68px 0;
  }

  .problem-grid {
    gap: 34px;
  }

  .problem-copy {
    padding-left: 18px;
  }

  .work-heading {
    padding-bottom: 48px;
  }

  .work-grid,
  .package-grid {
    grid-template-columns: 1fr;
  }

  .work-grid {
    padding-bottom: 68px;
  }

  .work-grid article {
    min-height: 0;
    padding: 24px;
  }

  .work-index {
    margin-bottom: 34px;
  }

  .packages-header {
    gap: 24px;
  }

  .package-card {
    padding: 24px;
  }

  .package-intro {
    min-height: 0;
  }

  .price {
    font-size: 2.55rem;
  }

  .rhythm-section {
    padding: 76px 16px;
    gap: 40px;
  }

  .rhythm-list article {
    grid-template-columns: 42px 1fr;
    gap: 10px 16px;
  }

  .rhythm-list p {
    grid-column: 2;
  }

  .about-section {
    min-height: 0;
  }

  .about-image {
    min-height: 500px;
    background-position: 50% 28%;
  }

  .about-copy {
    padding: 48px 20px 58px;
  }

  .final-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
