/*
Theme Name: Windward Tree Public
Theme URI: https://windwardtree.com/
Author: Windward Tree, LLC
Description: A restrained, evidence-forward marketing theme for the Windward Tree professional platform.
Version: 0.2.4
Text Domain: windward-tree-public
*/

:root {
  --forest-950: #0d2a1d;
  --forest-900: #143125;
  --forest-800: #1f3b2e;
  --forest-700: #315b45;
  --sage-600: #6a7f6b;
  --moss-500: #8fae8f;
  --charcoal-900: #252b29;
  --charcoal-700: #4d5853;
  --warm-100: #f7f6f1;
  --warm-200: #f0efe8;
  --paper: #fff;
  --line: #d8dfd9;
  --shadow: 0 24px 70px rgba(20, 49, 37, 0.09);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--charcoal-900);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 84% 8%, rgba(143, 174, 143, 0.15), transparent 26rem),
    linear-gradient(180deg, var(--warm-100) 0, var(--paper) 42rem);
  content: "";
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.site-shell {
  width: min(1180px, calc(100% - 64px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--paper);
  background: var(--forest-900);
  transform: translateY(-180%);
}

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

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(31, 59, 46, 0.14);
  background: rgba(247, 246, 241, 0.9);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  width: clamp(238px, 29vw, 360px);
  display: inline-flex;
  align-items: center;
}

.brand img {
  display: block;
  width: 100%;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 2.2vw, 30px);
}

.primary-nav a {
  color: var(--forest-900);
  font-size: 0.84rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.primary-nav .nav-sign-in {
  padding: 10px 15px;
  border: 1px solid rgba(31, 59, 46, 0.35);
  border-radius: 999px;
  white-space: nowrap;
}

.nav-label-compact {
  display: none;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--forest-700);
}

.primary-nav .nav-sign-in:hover,
.primary-nav .nav-sign-in:focus-visible {
  border-color: var(--forest-700);
  background: rgba(143, 174, 143, 0.12);
}

.hero {
  padding: clamp(78px, 10vw, 138px) 0 clamp(86px, 11vw, 150px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.76fr);
  align-items: end;
  gap: clamp(50px, 8vw, 110px);
}

.eyebrow,
.section-kicker,
.card-label {
  margin: 0;
  color: var(--sage-600);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.section-heading,
.beta-panel h2 {
  color: var(--forest-900);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.hero h1 {
  max-width: 880px;
  margin: 20px 0 26px;
  font-size: clamp(3.35rem, 7.2vw, 6.55rem);
  line-height: 0.98;
}

.hero-lede {
  max-width: 720px;
  margin: 0;
  color: var(--charcoal-700);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.28rem, 2.25vw, 1.68rem);
  line-height: 1.5;
}

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

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 21px;
  border: 1px solid var(--forest-900);
  border-radius: 5px;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

.button-primary {
  color: var(--paper);
  background: var(--forest-900);
}

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

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

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(143, 174, 143, 0.14);
}

.hero-visual {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  display: block;
  object-fit: cover;
}

.hero-visual figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 18px 20px;
  border-radius: 5px;
  color: #e9efea;
  background: rgba(13, 42, 29, 0.91);
  font-size: 0.84rem;
  line-height: 1.5;
  backdrop-filter: blur(8px);
}

.hero-visual strong {
  color: var(--paper);
}

.proof-strip {
  border-block: 1px solid var(--line);
  background: rgba(240, 239, 232, 0.62);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.proof-item {
  min-height: 120px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 30px;
  border-right: 1px solid var(--line);
}

.proof-item:first-child {
  padding-left: 0;
}

.proof-item:last-child {
  padding-right: 0;
  border-right: 0;
}

.proof-number {
  color: var(--moss-500);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.proof-item strong {
  display: block;
  color: var(--forest-900);
  font-size: 0.97rem;
}

.proof-item span:last-child {
  display: block;
  color: var(--charcoal-700);
  font-size: 0.82rem;
  line-height: 1.45;
}

.section {
  padding: clamp(84px, 10vw, 132px) 0;
}

.section-heading {
  max-width: 760px;
  margin: 15px 0 22px;
  font-size: clamp(2.45rem, 5vw, 4.5rem);
  line-height: 1.06;
}

.section-intro {
  max-width: 690px;
  margin: 0;
  color: var(--charcoal-700);
  font-size: 1.07rem;
}

.context-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 54px;
}

.context-card {
  min-height: 310px;
  padding: 34px 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.context-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 48px;
  border: 1px solid rgba(31, 59, 46, 0.2);
  border-radius: 50%;
  color: var(--forest-700);
  font-family: Georgia, "Times New Roman", serif;
}

.context-card h3 {
  margin: 10px 0 12px;
  color: var(--forest-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 600;
}

.context-card p:last-child {
  margin: 0;
  color: var(--charcoal-700);
  font-size: 0.93rem;
}

.professional {
  color: var(--warm-100);
  background: var(--forest-950);
}

.professional .section-kicker {
  color: #adc0ae;
}

.professional .section-heading {
  color: var(--paper);
}

.professional-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: clamp(56px, 9vw, 120px);
}

.workflow {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.workflow-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding: 25px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.workflow-step {
  color: #adc0ae;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.workflow h3 {
  margin: 0 0 6px;
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.38rem;
  font-weight: 600;
}

.workflow p {
  margin: 0;
  color: #cbd5cd;
  font-size: 0.92rem;
}

.image-study {
  background: var(--warm-100);
}

.image-study-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(48px, 8vw, 108px);
}

.image-study figure {
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
  background: var(--forest-900);
  box-shadow: var(--shadow);
}

.image-study figure img {
  width: 100%;
  aspect-ratio: 16 / 11;
  display: block;
  object-fit: cover;
}

.image-study figcaption {
  padding: 16px 20px 18px;
  color: #d6dfd8;
  font-size: 0.76rem;
  line-height: 1.55;
}

.evidence-list {
  display: grid;
  gap: 0;
  margin: 38px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.evidence-list li {
  display: grid;
  gap: 5px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}

.evidence-list strong {
  color: var(--forest-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
}

.evidence-list span {
  color: var(--charcoal-700);
  font-size: 0.88rem;
}

.limitation {
  padding: clamp(60px, 7vw, 88px) 0;
  border-bottom: 1px solid var(--line);
  background: var(--warm-100);
}

.limitation-inner {
  display: grid;
  grid-template-columns: 0.45fr 1.55fr;
  gap: clamp(36px, 8vw, 100px);
}

.limitation h2 {
  margin: 0;
  color: var(--forest-900);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.limitation p {
  margin: 0;
  color: var(--forest-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.5vw, 1.95rem);
  line-height: 1.48;
}

.field-notes {
  background: var(--paper);
}

.section-lead-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
}

.section-lead-row .section-heading {
  margin-bottom: 0;
}

.text-link {
  flex: 0 0 auto;
  padding-bottom: 8px;
  color: var(--forest-900);
  font-size: 0.86rem;
  font-weight: 800;
  text-underline-offset: 5px;
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.note-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.note-image {
  overflow: hidden;
  display: block;
  background: var(--warm-200);
}

.note-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
  object-fit: cover;
  transition: transform 240ms ease;
}

.note-card:not(.note-card-placeholder) .note-image:hover img {
  transform: scale(1.025);
}

.note-body {
  padding: 28px;
}

.note-body h2,
.note-body h3 {
  margin: 10px 0 12px;
  color: var(--forest-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.18;
}

.note-body h2 a,
.note-body h3 a {
  text-decoration: none;
}

.note-body h2 a:hover,
.note-body h2 a:focus-visible,
.note-body h3 a:hover,
.note-body h3 a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.note-body > p:last-child {
  margin: 0;
  color: var(--charcoal-700);
  font-size: 0.9rem;
}

.article-shell {
  width: min(760px, calc(100% - 64px));
  margin-inline: auto;
}

.article-header {
  padding: clamp(72px, 9vw, 120px) 0 44px;
}

.article-header h1 {
  margin: 16px 0 20px;
  color: var(--forest-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 6vw, 5.1rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.article-deck,
.archive-intro {
  color: var(--charcoal-700);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  line-height: 1.5;
}

.article-figure {
  width: min(1040px, calc(100% - 64px));
  margin: 0 auto 52px;
}

.article-figure img {
  width: 100%;
  max-height: 660px;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.article-figure figcaption {
  margin-top: 10px;
  color: var(--charcoal-700);
  font-size: 0.74rem;
}

.article-content {
  padding-bottom: clamp(84px, 10vw, 132px);
}

.article-content h2 {
  margin: 2.1em 0 0.65em;
  color: var(--forest-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 3.5vw, 2.45rem);
  font-weight: 600;
  line-height: 1.16;
}

.article-content p,
.article-content li {
  color: var(--charcoal-900);
  font-size: 1.03rem;
}

.article-content a {
  color: var(--forest-700);
  font-weight: 700;
  text-underline-offset: 4px;
}

.article-source-note {
  margin-top: 52px;
  padding: 24px;
  border-left: 3px solid var(--moss-500);
  background: var(--warm-100);
}

.archive-header {
  padding-bottom: 54px;
}

.archive-header .section-heading {
  margin-bottom: 18px;
}

.beta-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 38px;
  padding: clamp(42px, 7vw, 74px);
  border-radius: 10px;
  color: var(--paper);
  background: var(--forest-800);
  box-shadow: var(--shadow);
}

.beta-panel::after {
  position: absolute;
  width: 310px;
  height: 310px;
  right: -110px;
  bottom: -170px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  content: "";
}

.beta-panel .section-kicker {
  color: #bed0c0;
}

.beta-panel h2 {
  max-width: 720px;
  margin: 14px 0 14px;
  color: var(--paper);
  font-size: clamp(2.4rem, 4.8vw, 4.1rem);
  line-height: 1.05;
}

.beta-panel p {
  max-width: 700px;
  margin: 0;
  color: #d8e1da;
}

.beta-panel .button-primary {
  color: var(--forest-900);
  border-color: var(--paper);
  background: var(--paper);
}

.beta-panel .button-secondary {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.72);
}

.site-footer {
  padding: 42px 0;
  border-top: 1px solid var(--line);
  color: var(--charcoal-700);
  font-size: 0.78rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
}

.footer-brand {
  display: grid;
  gap: 5px;
}

.footer-brand strong {
  color: var(--forest-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.footer-links a {
  color: var(--forest-900);
  font-weight: 700;
  text-underline-offset: 4px;
}

:focus-visible {
  outline: 3px solid rgba(143, 174, 143, 0.72);
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .header-inner {
    min-height: 94px;
  }

  .primary-nav a:not(.nav-sign-in) {
    display: none;
  }

  .hero-grid,
  .professional-grid,
  .image-study-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 590px;
  }

  .context-grid {
    grid-template-columns: 1fr;
  }

  .notes-grid {
    grid-template-columns: 1fr;
  }

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

  .context-mark {
    margin-bottom: 30px;
  }

  .beta-panel {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 700px) {
  .site-shell {
    width: min(100% - 36px, 1180px);
  }

  .header-inner {
    min-height: 82px;
    gap: 14px;
  }

  .brand {
    width: min(230px, 66vw);
  }

  .primary-nav .nav-sign-in {
    padding: 8px 12px;
    font-size: 0.76rem;
  }

  .nav-label-wide {
    display: none;
  }

  .nav-label-compact {
    display: inline;
  }

  .hero {
    padding-top: 64px;
  }

  .hero h1 {
    font-size: clamp(3rem, 14.5vw, 4.65rem);
  }

  .proof-grid {
    grid-template-columns: 1fr;
  }

  .proof-item,
  .proof-item:first-child,
  .proof-item:last-child {
    min-height: 0;
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-item:last-child {
    border-bottom: 0;
  }

  .limitation-inner,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .section-lead-row {
    display: grid;
    align-items: start;
  }

  .article-shell,
  .article-figure {
    width: min(100% - 36px, 1040px);
  }

  .beta-panel {
    padding: 34px 24px;
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}

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