/*
  Theme Name: Organicallyrooted
  License: GNU General Public License v2 or later
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
  Text Domain: mytheme
*/

:root {
  --pine: #21301d;
  --green: #4a6337;
  --moss: #8fa77a;
  --sage: #eef2e9;
  --cream: #f7f4ec;
  --white: #fff;
  --muted: #5d6a58;
  --line: rgba(33, 48, 29, 0.13);
  --shadow: 0 28px 84px rgba(31, 45, 27, 0.13);
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--cream);
  color: var(--pine);
  line-height: 1.55;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: auto;
}
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(247, 244, 236, 0.86);
  backdrop-filter: saturate(150%) blur(22px);
  border-bottom: 1px solid rgba(33, 48, 29, 0.1);
  box-shadow: 0 14px 42px rgba(31, 45, 27, 0.08);
  transition: background 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.nav {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  transition: height 0.28s var(--ease);
}
header.is-scrolled .nav {
  height: 74px;
}
.brand {
  display: block;
  width: 220px;
  flex: 0 0 220px;
}
.brand img {
  height: auto;
  width: 220px;
}
.navlinks {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #445f36;
  font-weight: 800;
  font-size: 0.94rem;
}
.navlinks a {
  text-decoration: none;
  position: relative;
  transition: opacity 0.24s var(--ease);
}
.navlinks a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s var(--ease);
}
.navlinks a:hover {
  opacity: 0.78;
}
.navlinks a:hover::after {
  transform: scaleX(1);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--moss);
  color: #fff !important;
  text-decoration: none;
  font-weight: 850;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 18px 38px rgba(31, 45, 27, 0.18);
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease),
    background 0.32s var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 48px rgba(31, 45, 27, 0.24);
}
.btn.secondary {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: none;
}
.btn.secondary:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--pine) !important;
}
.hero {
  position: relative;
  min-height: clamp(720px, 92vh, 930px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #10150d;
  color: #fff;
  padding-top: 86px;
}
.hero-photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-photo video{
	display:block;
	width:100%;
	height:135%;
	object-fit:cover;
	position:absolute;
	left:50%;
	top:50%;
	transform: translate(-50%, -50%);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  transform: translate3d(0, var(--hero-shift, 0px), 0) scale(1.045);
  will-change: transform;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(
      900px 620px at 13% 50%,
      rgba(7, 12, 7, 0.46),
      rgba(7, 12, 7, 0.3) 42%,
      rgba(7, 12, 7, 0.08) 72%,
      rgba(7, 12, 7, 0) 100%
    ),
    linear-gradient(
      90deg,
      rgba(7, 12, 7, 0.54) 0%,
      rgba(7, 12, 7, 0.34) 32%,
      rgba(7, 12, 7, 0.12) 58%,
      rgba(7, 12, 7, 0) 78%
    );
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.1),
    transparent 30%,
    rgba(0, 0, 0, 0.07)
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 690px;
  padding: 90px 0;
}
h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: -0.055em;
}
h1 {
  font-size: clamp(3.05rem, 5.1vw, 5.2rem);
  color: #fff;
  max-width: 670px;
}
.hero-line {
  margin: 30px 0 36px;
  color: #b8cca4;
  font-size: clamp(0.88rem, 1.05vw, 1.05rem);
  font-weight: 900;
  letter-spacing: 0.11em;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.section {
  padding: 108px 0;
  position: relative;
}
.section:not(.dark):not(.cta)::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: min(var(--max), calc(100% - 48px));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(33, 48, 29, 0.13),
    transparent
  );
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 76px;
  align-items: center;
}
.section-title {
  font-size: clamp(2.45rem, 4.25vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: -0.058em;
  color: var(--pine);
  max-width: 980px;
  margin: 0;
}
.section-subhead {
  font-size: clamp(1.18rem, 1.65vw, 1.55rem);
  line-height: 1.38;
  color: var(--muted);
  max-width: 880px;
  margin-top: 20px;
  font-weight: 650;
  letter-spacing: -0.022em;
}
.lead {
  font-size: clamp(1.04rem, 1.35vw, 1.22rem);
  color: var(--muted);
  max-width: 840px;
  margin-top: 24px;
}
.dark {
  background: var(--pine);
  color: #fff;
}
.dark .section-title {
  color: #fff;
}
.dark .section-subhead,
.dark .lead {
  color: rgba(255, 255, 255, 0.74);
}
.visual.media {
  position: relative;
  min-height: clamp(360px, 42vw, 560px);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: transparent;
  transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease);
}
.visual.media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.8s var(--ease);
  filter: saturate(1.02) contrast(1.02);
}
.visual.media:hover {
  transform: translateY(-5px);
  box-shadow: 0 36px 94px rgba(31, 45, 27, 0.18);
}
.ingredient-photo img {
  object-position: center center;
}
.ingredient-photo:hover img {
  transform: scale(1.04);
}
.science-photo img {
  object-position: 18% center;
  transform: scale(1.18);
  transform-origin: 24% 50%;
}
.science-photo:hover img {
  transform: scale(1.225);
}
.preservation-photo img {
  object-position: 58% 30%;
  transform: scale(1.48);
  transform-origin: 62% 30%;
}
.preservation-photo:hover img {
  transform: scale(1.53);
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 34px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 28px;
  min-height: 132px;
  box-shadow: 0 18px 54px rgba(31, 45, 27, 0.06);
  transition: transform 0.38s var(--ease), box-shadow 0.38s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(31, 45, 27, 0.11);
}
.icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: var(--sage);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: var(--pine);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
h3 {
  font-size: 1.22rem;
  letter-spacing: -0.026em;
}
.card h3 {
  line-height: 1.12;
}
.cards .card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.proof-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 34px;
}
.proof-item {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  background: var(--sage);
  border-radius: 18px;
  padding: 16px 18px;
  font-weight: 850;
  color: var(--pine);
  transition: transform 0.38s var(--ease), background 0.38s var(--ease);
}
.proof-item:hover {
  transform: translateY(-2px);
  background: #fff;
}
.check {
  flex: 0 0 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--pine);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.82rem;
}

.platform-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 28px;
}
.platform-lists h3 {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.platform-lists ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-weight: 650;
}
.platform-lists li {
  margin: 0.38rem 0;
}
.why-pipeline {
  grid-template-columns: repeat(4, 1fr);
}
.pipe p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.96rem;
  line-height: 1.35;
}
@media (max-width: 760px) {
  .platform-lists {
    grid-template-columns: 1fr;
  }
  .why-pipeline {
    grid-template-columns: 1fr;
  }
}
.pipeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin-top: 44px;
  border-radius: 30px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.pipe {
  padding: 30px 24px;
  background: rgba(255, 255, 255, 0.07);
  transition: transform 0.38s var(--ease), background 0.38s var(--ease);
}
.pipe:hover {
  background: rgba(255, 255, 255, 0.11);
}
.pipe span {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 900;
  margin-bottom: 18px;
}
.pipe strong {
  display: block;
  font-size: 1.12rem;
  line-height: 1.15;
}
.founder {
  background: #fff;
}
.founder-card {
  display: grid;
  grid-template-columns: 0.48fr 1.52fr;
  gap: 58px;
  align-items: start;
}
.founder-photo {
  min-height: 430px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background-image: url("https://organicallyrooted.com/wp-content/uploads/2026/07/mind.jpg");
  background-size: cover;
  background-position: center 34%;
}
.founder .eyebrow {
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 900;
  color: var(--green);
  margin: 0 0 12px;
}
.founder h2 {
  font-size: clamp(2rem, 3.1vw, 3.45rem);
  max-width: 760px;
  color: var(--pine);
}
.founder-credentials {
  margin: 16px 0 0;
  color: #445f36;
  font-weight: 850;
  letter-spacing: -0.01em;
}
.founder-bio {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.16vw, 1.13rem);
  line-height: 1.75;
  max-width: 850px;
}
.cta {
  padding: 96px 0;
  background: linear-gradient(135deg, #e8dfd0, #f7f4ec);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(
      circle at 20% 30%,
      rgba(255, 255, 255, 0.11),
      transparent 30%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(113, 138, 96, 0.18),
      transparent 34%
    );
}
.cta-box {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 42px;
  align-items: center;
  background: var(--pine);
  color: #fff;
  border-radius: 42px;
  padding: 56px;
  box-shadow: var(--shadow);
}
.cta-box h2 {
  font-size: clamp(2.2rem, 4.1vw, 4.5rem);
  color: #fff;
}
.cta-box p {
  color: rgba(255, 255, 255, 0.74);
  margin-top: 18px;
}
.cta-actions {
  display: grid;
  gap: 12px;
}
footer {
  padding: 32px 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.78s var(--ease), transform 0.78s var(--ease);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 980px) {
  .navlinks {
    display: none;
  }
  .brand {
    width: 190px;
    flex-basis: 190px;
  }
  .brand img {
    width: 190px;
  }
  .hero {
    min-height: 760px;
    align-items: flex-end;
    padding-bottom: 72px;
  }
  .hero::before {
    background: linear-gradient(
      180deg,
      rgba(7, 12, 7, 0.05),
      rgba(7, 12, 7, 0.35) 45%,
      rgba(7, 12, 7, 0.78)
    );
  }
  .hero-photo img {
    object-position: center right 35%;
  }
  .grid-2,
  .cards,
  .proof-list,
  .pipeline,
  .founder-card,
  .cta-box {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 78px 0;
  }
  .founder-photo {
    max-width: 420px;
    width: 100%;
    min-height: 380px;
  }
  .pipeline {
    display: grid;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
