:root {
  color-scheme: light dark;
  --font-geist-sans: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-geist-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --bg: #f2f5ef;
  --bg-soft: #e8eee6;
  --surface: #f8faf6;
  --surface-strong: #dce6d9;
  --text: #10231b;
  --text-soft: #4f6259;
  --line: rgba(16, 35, 27, 0.14);
  --accent: #285f3a;
  --accent-strong: #174729;
  --accent-contrast: #f6f8f3;
  --shadow: 0 28px 70px rgba(21, 65, 39, 0.15);
  --radius-card: 28px;
  --radius-control: 999px;
  --page-width: 1280px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #071812;
    --bg-soft: #0b2118;
    --surface: #0e281d;
    --surface-strong: #143426;
    --text: #eef5eb;
    --text-soft: #acc0b2;
    --line: rgba(222, 238, 226, 0.15);
    --accent: #b6e568;
    --accent-strong: #c6f178;
    --accent-contrast: #0b1b13;
    --shadow: 0 30px 80px rgba(0, 10, 6, 0.42);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-geist-sans), Arial, sans-serif;
  text-rendering: optimizeLegibility;
}

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

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

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 20;
  transform: translateY(-160%);
  padding: 10px 16px;
  border-radius: var(--radius-control);
  background: var(--accent);
  color: var(--accent-contrast);
  font-weight: 750;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 72px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(18px) saturate(135%);
}

.header-inner,
.hero-inner,
.credibility-inner,
.section-shell,
.footer-inner {
  width: min(calc(100% - 48px), var(--page-width));
  margin-inline: auto;
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 100%;
  gap: 40px;
}

.wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.wordmark strong {
  font-size: 0.91rem;
  letter-spacing: -0.02em;
}

.wordmark span {
  margin-top: 5px;
  color: var(--text-soft);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.62rem;
  letter-spacing: 0.05em;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 3vw, 42px);
  color: var(--text-soft);
  font-size: 0.88rem;
  font-weight: 620;
}

.desktop-nav a,
.site-footer a,
.text-link {
  transition: color 220ms ease;
}

.desktop-nav a:hover,
.site-footer a:hover,
.text-link:hover {
  color: var(--accent);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  width: max-content;
  max-width: 100%;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  font-size: 0.9rem;
  font-weight: 760;
  line-height: 1;
  white-space: nowrap;
  transition:
    transform 220ms cubic-bezier(0.16, 1, 0.3, 1),
    background-color 220ms ease,
    border-color 220ms ease;
}

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

.button:active {
  transform: translateY(1px) scale(0.98);
}

.button-small {
  min-height: 42px;
  padding-inline: 18px;
  font-size: 0.82rem;
}

.button-primary {
  background: var(--accent);
  color: var(--accent-contrast);
}

.button-primary:hover {
  background: var(--accent-strong);
}

.button-secondary {
  border-color: var(--line);
  background: color-mix(in srgb, var(--surface) 75%, transparent);
  color: var(--text);
}

.button-secondary:hover {
  border-color: color-mix(in srgb, var(--accent) 60%, var(--line));
  background: var(--surface);
}

.mobile-menu {
  display: none;
  position: relative;
}

.mobile-menu summary {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.hero {
  min-height: calc(100dvh - 72px);
  overflow: clip;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  align-items: center;
  min-height: calc(100dvh - 72px);
  gap: clamp(42px, 6vw, 96px);
  padding-block: 40px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 690px;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--accent);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero h1,
.section-intro h2,
.solutions-intro h2,
.content-heading h2,
.cta-panel h2 {
  margin: 0;
  font-weight: 860;
  letter-spacing: -0.07em;
}

.hero h1 {
  font-size: clamp(3.8rem, 5vw, 5rem);
  line-height: 0.89;
}

.hero-line {
  display: block;
  white-space: nowrap;
}

.hero-line-accent,
.cta-panel h2 span {
  color: var(--accent);
}

.hero-lede {
  max-width: 570px;
  margin: 28px 0 0;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.65;
}

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

.hero-media {
  position: relative;
  min-width: 0;
}

.hero-image-frame {
  position: relative;
  height: min(72dvh, 720px);
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-image-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, transparent 58%, rgba(4, 18, 11, 0.3)),
    radial-gradient(circle at 58% 58%, transparent 40%, rgba(2, 14, 8, 0.18));
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-frame:hover img {
  transform: scale(1.025);
}

.profile-orbit {
  position: absolute;
  left: -34px;
  bottom: 42px;
  width: 104px;
  height: 104px;
  padding: 6px;
  border: 1px solid color-mix(in srgb, var(--accent) 65%, transparent);
  border-radius: 50%;
  background: var(--bg);
  box-shadow: 0 18px 45px rgba(1, 18, 9, 0.22);
}

.profile-orbit img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.credibility {
  border-block: 1px solid var(--line);
}

.credibility-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.credibility-inner > div {
  display: flex;
  min-height: 118px;
  flex-direction: column;
  justify-content: center;
  padding: 24px clamp(18px, 3vw, 34px);
}

.credibility-inner > div + div {
  border-left: 1px solid var(--line);
}

.credibility strong {
  font-size: clamp(1.08rem, 1.65vw, 1.42rem);
  letter-spacing: -0.04em;
}

.credibility span {
  margin-top: 7px;
  color: var(--text-soft);
  font-size: 0.78rem;
  line-height: 1.45;
}

.section-shell {
  padding-block: clamp(88px, 10vw, 150px);
}

.section-intro,
.content-heading {
  max-width: 790px;
  margin-bottom: clamp(44px, 6vw, 76px);
}

.section-intro h2,
.solutions-intro h2,
.content-heading h2 {
  font-size: clamp(2.8rem, 5.8vw, 5.8rem);
  line-height: 0.95;
}

.section-intro p,
.solutions-intro > p,
.content-heading p,
.cta-panel > div > p {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--text-soft);
  font-size: 1.04rem;
  line-height: 1.65;
}

.method-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(0, 1fr));
  grid-template-rows: minmax(270px, auto) minmax(230px, auto);
  gap: 16px;
}

.method-visual,
.method-cell {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}

.method-visual {
  position: relative;
  grid-row: 1 / 3;
  min-height: 560px;
  background: #102a1e;
}

.method-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.method-cell {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(28px, 4vw, 48px);
  background: var(--surface);
}

.method-cell h3,
.solution-item h3 {
  margin: 0;
  font-size: clamp(1.42rem, 2vw, 2rem);
  letter-spacing: -0.04em;
}

.method-cell p,
.solution-item p,
.about-copy > p {
  margin: 14px 0 0;
  color: var(--text-soft);
  line-height: 1.65;
}

.method-cell-rigor {
  background:
    radial-gradient(circle at 95% 5%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 48%),
    var(--surface);
}

.method-cell-immersive {
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--accent) 13%, var(--surface)), var(--surface));
}

.method-cell-practice {
  grid-column: 2 / 4;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 0.7fr);
  align-items: end;
  gap: 28px;
  background: var(--surface-strong);
}

.method-cell-practice p {
  max-width: 450px;
}

.method-cell-practice strong {
  justify-self: end;
  max-width: 220px;
  color: var(--accent);
  font-size: clamp(1.16rem, 2vw, 1.65rem);
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.solutions {
  border-top: 1px solid var(--line);
}

.solutions-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(64px, 10vw, 148px);
}

.solutions-intro {
  position: sticky;
  top: 120px;
}

.science-note {
  margin-top: 30px !important;
  padding-left: 18px;
  border-left: 3px solid var(--accent);
  color: var(--text) !important;
  font-weight: 700;
}

.solutions-list {
  border-top: 1px solid var(--line);
}

.solution-item {
  display: grid;
  grid-template-columns: minmax(210px, 0.8fr) minmax(0, 1fr);
  gap: 32px;
  padding: clamp(30px, 4vw, 48px) 0;
  border-bottom: 1px solid var(--line);
}

.solution-item p {
  max-width: 520px;
  margin-top: 0;
}

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

.content-heading {
  display: grid;
  gap: 0;
}

.text-link {
  width: max-content;
  margin-top: 28px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 760;
}

.instagram-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.82fr 0.82fr;
  align-items: end;
  gap: 18px;
}

.instagram-card {
  display: grid;
  gap: 16px;
}

.instagram-image {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: 0 18px 44px color-mix(in srgb, var(--accent) 11%, transparent);
}

.instagram-card-standard .instagram-image {
  aspect-ratio: 0.69;
}

.instagram-card-featured .instagram-image {
  aspect-ratio: 0.86;
}

.instagram-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(0.16, 1, 0.3, 1);
}

.instagram-card:hover .instagram-image img {
  transform: scale(1.035);
}

.instagram-caption {
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  font-weight: 720;
  letter-spacing: -0.025em;
}

.about {
  border-top: 1px solid var(--line);
}

.about-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(54px, 9vw, 120px);
  padding: clamp(34px, 6vw, 72px);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background:
    radial-gradient(circle at 4% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 34%),
    var(--surface);
}

.about-person {
  display: flex;
  align-items: center;
  gap: 22px;
}

.about-person img {
  width: 94px;
  height: 94px;
  border-radius: 50%;
  object-fit: cover;
}

.about-person h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  letter-spacing: -0.05em;
}

.about-person p {
  margin: 9px 0 0;
  color: var(--text-soft);
  font-size: 0.86rem;
  line-height: 1.5;
}

.about-statement {
  max-width: 680px;
  margin-top: 0 !important;
  color: var(--text) !important;
  font-size: clamp(1.65rem, 3.5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.04 !important;
}

.about-copy > p:not(.about-statement) {
  max-width: 580px;
  font-size: 1.02rem;
}

.about-topics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 42px;
  margin-bottom: 0;
  padding-top: 24px;
  padding-left: 0;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 690;
  line-height: 1.45;
  list-style: none;
}

.final-cta {
  padding-top: 0;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 56px;
  padding: clamp(36px, 7vw, 86px);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 14%, var(--surface)), var(--surface));
  box-shadow: var(--shadow);
}

.cta-panel h2 {
  max-width: 820px;
  font-size: clamp(2.7rem, 5.4vw, 5.5rem);
  line-height: 0.96;
}

.cta-actions {
  display: grid;
  gap: 12px;
}

.cta-actions .button {
  width: 100%;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 44px;
  min-height: 150px;
  padding-block: 30px;
  color: var(--text-soft);
  font-size: 0.78rem;
}

.footer-inner > div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer-inner strong {
  color: var(--text);
  font-size: 0.84rem;
}

.footer-inner nav {
  display: flex;
  gap: 24px;
}

.footer-inner p {
  margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-enter {
    animation: hero-rise 800ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  @supports (animation-timeline: view()) {
    .reveal {
      animation: section-rise linear both;
      animation-timeline: view();
      animation-range: entry 5% cover 26%;
    }
  }
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes section-rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1023px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
    gap: 18px;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .mobile-menu {
    display: block;
    grid-column: 3;
  }

  .mobile-menu nav {
    position: absolute;
    top: 42px;
    right: 0;
    display: grid;
    width: min(280px, calc(100vw - 32px));
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .mobile-menu nav a {
    padding: 15px 18px;
    border-bottom: 1px solid var(--line);
    font-size: 0.9rem;
    font-weight: 680;
  }

  .mobile-menu nav a:last-child {
    border-bottom: 0;
    background: var(--accent);
    color: var(--accent-contrast);
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.8fr);
    gap: 42px;
  }

  .hero h1 {
    font-size: clamp(3.25rem, 6vw, 4.2rem);
  }

  .profile-orbit {
    left: -26px;
    width: 88px;
    height: 88px;
  }

  .method-grid {
    grid-template-columns: 1.1fr 0.9fr;
    grid-template-rows: repeat(3, minmax(190px, auto));
  }

  .method-visual {
    grid-row: 1 / 4;
  }

  .method-cell-practice {
    grid-column: 2;
    display: flex;
  }

  .method-cell-practice strong {
    justify-self: auto;
    margin-top: 28px;
  }

  .solutions-layout {
    gap: 60px;
  }

  .solution-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .instagram-grid {
    grid-template-columns: 1.2fr 0.9fr 0.9fr;
  }

  .about-panel,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    display: flex;
    flex-wrap: wrap;
  }

  .cta-actions .button {
    width: max-content;
  }
}

@media (max-width: 820px) {
  html {
    scroll-padding-top: 72px;
  }

  .header-inner,
  .hero-inner,
  .credibility-inner,
  .section-shell,
  .footer-inner {
    width: min(calc(100% - 32px), var(--page-width));
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: calc(100dvh - 72px);
    gap: 28px;
    padding-block: 28px;
  }

  .hero-copy {
    max-width: none;
  }

  .eyebrow {
    margin-bottom: 18px;
    font-size: 0.64rem;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 10.7vw, 3.75rem);
  }

  .hero-lede {
    max-width: 32rem;
    margin-top: 17px;
    font-size: 0.94rem;
    line-height: 1.52;
  }

  .hero-actions {
    margin-top: 20px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-image-frame {
    height: 38dvh;
    min-height: 250px;
    max-height: 340px;
  }

  .profile-orbit {
    left: 18px;
    bottom: 14px;
    width: 76px;
    height: 76px;
  }

  .credibility-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .credibility-inner > div {
    min-height: 108px;
    padding: 22px 18px;
  }

  .credibility-inner > div + div {
    border-left: 0;
  }

  .credibility-inner > div:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .credibility-inner > div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .section-shell {
    padding-block: 82px;
  }

  .section-intro,
  .content-heading {
    margin-bottom: 42px;
  }

  .section-intro h2,
  .solutions-intro h2,
  .content-heading h2 {
    font-size: clamp(2.75rem, 13vw, 4.2rem);
  }

  .method-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .method-visual {
    grid-row: auto;
    min-height: 560px;
  }

  .method-cell,
  .method-cell-practice {
    grid-column: auto;
    min-height: 220px;
  }

  .solutions-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .solutions-intro {
    position: static;
  }

  .solution-item {
    padding-block: 30px;
  }

  .instagram-grid {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 34px;
  }

  .instagram-card-featured .instagram-image,
  .instagram-card-standard .instagram-image {
    aspect-ratio: 0.78;
  }

  .instagram-card:nth-child(2),
  .instagram-card:nth-child(3) {
    width: 88%;
  }

  .instagram-card:nth-child(2) {
    justify-self: end;
  }

  .about-panel {
    gap: 44px;
    padding: 28px;
  }

  .about-person {
    align-items: flex-start;
    flex-direction: column;
  }

  .about-topics {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .cta-panel {
    gap: 38px;
    padding: 30px;
  }

  .cta-panel h2 {
    font-size: clamp(2.65rem, 12vw, 4.1rem);
  }

  .cta-actions {
    display: grid;
  }

  .cta-actions .button {
    width: 100%;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 28px;
    padding-block: 46px;
  }
}

@media (max-width: 410px) {
  .wordmark span {
    display: none;
  }

  .hero h1 {
    font-size: clamp(1.95rem, 9.8vw, 2.35rem);
  }

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

  .credibility-inner > div:nth-child(even) {
    border-left: 0;
  }

  .credibility-inner > div + div {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 820px) and (max-height: 700px) {
  .hero-inner {
    gap: 12px;
    padding-block: 12px;
  }

  .eyebrow {
    margin-bottom: 8px;
  }

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

  .hero-lede {
    margin-top: 10px;
    font-size: 0.8rem;
    line-height: 1.35;
  }

  .hero-actions {
    gap: 8px;
    margin-top: 12px;
  }

  .hero-actions .button {
    min-height: 44px;
    padding-block: 10px;
  }

  .hero-image-frame {
    height: 100px;
    min-height: 100px;
    max-height: 100px;
  }

  .profile-orbit {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: var(--bg);
    backdrop-filter: none;
  }
}
