:root {
  --navy: #041a3d;
  --navy-2: #06132d;
  --blue: #004aad;
  --bright-blue: #3585da;
  --cyan: #5fd9db;
  --aqua: #83f0e8;
  --paper: #f4f2eb;
  --paper-2: #e8e4d9;
  --ink: #071323;
  --line: rgba(7, 19, 35, .16);
  --header-h: 82px;
  --gutter: clamp(22px, 4vw, 72px);
  --radius: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--navy-2); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
::selection { background: var(--cyan); color: var(--ink); }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }

.page-progress { position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 1000; pointer-events: none; }
.page-progress span { display: block; height: 100%; width: 100%; background: var(--cyan); transform-origin: left center; transform: scaleX(0); }

.site-header {
  height: var(--header-h);
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  color: white;
  transition: background .35s ease, color .35s ease, height .35s ease, backdrop-filter .35s ease;
}
.site-header.scrolled { height: 66px; background: rgba(4, 26, 61, .82); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid rgba(255,255,255,.1); }
.brand-logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand-logo img { width: auto; object-fit: contain; }
.brand-logo-header img { height: clamp(31px, 2.7vw, 40px); }
.brand-logo-footer img { height: clamp(40px, 3.7vw, 56px); }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); font-size: 13px; }
.site-nav a { position: relative; opacity: .78; transition: opacity .2s ease; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: currentColor; transition: right .35s var(--ease); }
.site-nav a:hover, .site-nav a.active { opacity: 1; }
.site-nav a:hover::after, .site-nav a.active::after { right: 0; }
.site-nav .nav-contact { opacity: 1; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; padding: 10px 16px; }
.site-nav .nav-contact::after { display: none; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; position: relative; color: inherit; cursor: pointer; }
.menu-toggle span { position: absolute; width: 22px; height: 1px; background: currentColor; left: 11px; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 26px; }
.menu-open .menu-toggle span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 22px; transform: rotate(-45deg); }

.linkedin-rail {
  position: fixed;
  right: 0;
  top: 50%;
  z-index: 95;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 13px;
  color: white;
  background: var(--blue);
  border-radius: 12px 0 0 12px;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(0,0,0,.16);
  transition: padding .3s var(--ease), background .3s ease;
}
.linkedin-rail:hover { padding-right: 18px; background: #0962cc; }
.linkedin-rail span:last-child { writing-mode: horizontal-tb; }

.section-dark { color: white; background: var(--navy); }
.section-light { background: var(--paper); color: var(--ink); }
.section-blue { background: var(--blue); color: white; }
.section-ink { background: var(--navy-2); color: white; }
.pattern-layer { position: absolute; inset: -12%; background-image: url("assets/mycelium-pattern.png"); background-size: 700px 700px; background-repeat: repeat; opacity: .16; pointer-events: none; animation: patternDrift 32s linear infinite; }
@keyframes patternDrift { from { background-position: 0 0; } to { background-position: -700px 700px; } }
.eyebrow { margin: 0 0 22px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3, p { text-wrap: pretty; }
h1, h2 { margin: 0; font-weight: 700; letter-spacing: -.055em; line-height: .98; }
h2 { font-size: clamp(48px, 7.5vw, 112px); }
p { line-height: 1.6; }
.large-copy { font-size: clamp(20px, 2vw, 31px); line-height: 1.38; letter-spacing: -.025em; }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.hero {
  position: relative;
  height: 138svh;
  min-height: 980px;
  --hero-progress: 0;
}
.hero-stage {
  position: sticky;
  top: 0;
  min-height: 100svh;
  height: 100svh;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header-h) + 32px) var(--gutter) 54px;
}
.hero-stage::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(0deg, rgba(4,26,61,.94), rgba(4,26,61,.28), transparent);
  z-index: 0;
  pointer-events: none;
}

.hero-pattern {
  z-index: -4;
  opacity: .14;
  filter: saturate(.7);
  animation-duration: 40s;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(74px);
  pointer-events: none;
  z-index: -3;
}
.glow-one {
  width: 42vw;
  height: 42vw;
  right: -12vw;
  top: -12vw;
  background: rgba(0,102,226,.35);
}
.glow-two {
  width: 32vw;
  height: 32vw;
  left: 26vw;
  bottom: -20vw;
  background: rgba(95,217,219,.14);
}

.hero-brand {
  position: absolute;
  z-index: 4;
  top: clamp(108px, 14vh, 150px);
  left: var(--gutter);
  width: min(46vw, 760px);
}
.hero-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-statement {
  position: absolute;
  z-index: 1;
  left: var(--gutter);
  top: 42%;
  width: min(72vw, 1180px);
  transform:
    translate3d(
      calc(var(--hero-progress) * 7vw),
      calc(var(--hero-progress) * -82px),
      0
    );
  transition: opacity .25s linear;
}
.hero-statement span {
  display: block;
  font-size: clamp(72px, 8.2vw, 142px);
  line-height: .86;
  font-weight: 700;
  letter-spacing: -.064em;
  color: rgba(255,255,255,.92);
}
.hero-statement span:last-child {
  color: rgba(255,255,255,.7);
}

.hero-fungus-full {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  transform:
    translate3d(
      0,
      calc(var(--hero-progress) * -42px),
      0
    )
    scale(calc(1 + var(--hero-progress) * .012));
}
.hero-fungus-full::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 26%;
  background: linear-gradient(0deg, rgba(4,26,61,.48), transparent);
  pointer-events: none;
}
.hero-fungus-full img {
  position: absolute;
  display: block;
  width: min(112vw, 1900px);
  max-width: none;
  height: auto;
  right: -4vw;
  bottom: -1px;
  filter: drop-shadow(0 34px 60px rgba(0,0,0,.24));
}


.hero-copy {
  position: absolute;
  z-index: 4;
  left: var(--gutter);
  bottom: clamp(66px, 8vh, 96px);
  width: min(36vw, 570px);
  transform: translateY(calc(var(--hero-progress) * -22px));
}
.hero-lede {
  max-width: 570px;
  margin: 0;
  font-size: clamp(16px, 1.22vw, 20px);
  color: rgba(255,255,255,.82);
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 28px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 0;
  border-radius: 999px;
  padding: 15px 21px;
  cursor: pointer;
  font-size: 13px;
  transition: transform .25s var(--ease), background .25s ease, color .25s ease;
}
.button:hover { transform: translateY(-2px); }
.button-light { background: white; color: var(--navy); }
.button-dark { background: var(--navy-2); color: white; }
.text-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 5px;
}
.text-link span,
.button span { transition: transform .25s var(--ease); }
.text-link:hover span,
.button:hover span { transform: translate(3px, -2px); }
.button[href^="#"]:hover span { transform: translateY(3px); }

.hero-enter {
  opacity: 0;
  transition:
    opacity 1.05s var(--ease),
    transform 1.05s var(--ease);
  transition-delay: 0s;
}
.hero-brand.hero-enter { transform: translateY(22px); }
.hero-statement.hero-enter {
  transform:
    translate3d(
      calc(var(--hero-progress) * 7vw),
      calc(24px + var(--hero-progress) * -82px),
      0
    );
}

.hero-fungus-full.hero-enter {
  transform:
    translate3d(
      0,
      calc(30px + var(--hero-progress) * -42px),
      0
    )
    scale(calc(.99 + var(--hero-progress) * .012));
}
.hero-copy .hero-enter { transform: translateY(22px); }

.hero.hero-visible .hero-enter {
  opacity: 1;
  transition-delay: var(--delay);
}
.hero.hero-visible .hero-brand.hero-enter { transform: translateY(0); }
.hero.hero-visible .hero-statement.hero-enter {
  transform:
    translate3d(
      calc(var(--hero-progress) * 7vw),
      calc(var(--hero-progress) * -82px),
      0
    );
}

.hero.hero-visible .hero-fungus-full.hero-enter {
  transform:
    translate3d(
      0,
      calc(var(--hero-progress) * -42px),
      0
    )
    scale(calc(1 + var(--hero-progress) * .012));
}
.hero.hero-visible .hero-copy .hero-enter { transform: translateY(0); }

.scroll-cue {
  position: absolute;
  z-index: 5;
  bottom: 24px;
  right: var(--gutter);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: rgba(255,255,255,.52);
}
.scroll-cue span {
  width: 44px;
  height: 1px;
  background: currentColor;
  position: relative;
  overflow: hidden;
}
.scroll-cue span::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 1px;
  background: white;
  left: -16px;
  animation: cue 2s ease-in-out infinite;
}
@keyframes cue { 55%, 100% { left: 44px; } }


.intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(30px, 5vw, 90px); padding: clamp(100px, 13vw, 190px) var(--gutter); border-bottom: 1px solid var(--line); }
.section-heading h2 { font-size: clamp(52px, 7vw, 105px); max-width: 900px; }
.intro-copy { max-width: 650px; padding-top: 44px; }
.intro-copy p:last-child { max-width: 540px; opacity: .72; }

.xylindein { position: relative; isolation: isolate; display: grid; grid-template-columns: 1.05fr .95fr; min-height: 820px; overflow: hidden; }
.xylindein-pattern { opacity: .11; z-index: -1; }
.xylindein-image { min-height: 720px; overflow: hidden; }
.xylindein-image img { height: 100%; object-fit: cover; object-position: 42% center; transform: scale(1.03); }
.xylindein-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 140px) var(--gutter); max-width: 760px; }
.xylindein-copy h2 { font-size: clamp(58px, 7.6vw, 114px); }
.xylindein-copy > p:not(.eyebrow) { margin: 36px 0 0; max-width: 580px; font-size: 17px; color: rgba(255,255,255,.78); }
.color-chip { margin-top: 52px; display: flex; align-items: center; gap: 17px; border-top: 1px solid rgba(255,255,255,.28); padding-top: 18px; max-width: 380px; }
.swatch { width: 54px; height: 54px; border-radius: 50%; flex: 0 0 auto; background: radial-gradient(circle at 35% 30%, #8df8e8, #20a9bb 48%, #073f55 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.45); }
.color-chip strong, .color-chip small { display: block; }
.color-chip strong { font-size: 13px; font-weight: 700; }
.color-chip small { margin-top: 5px; font-size: 11px; opacity: .6; }

.process { padding: clamp(100px, 12vw, 180px) var(--gutter); }
.process-head { display: grid; grid-template-columns: 1fr 2fr; align-items: end; margin-bottom: clamp(75px, 10vw, 140px); }
.process-head .eyebrow { align-self: start; }
.process-head h2 { justify-self: start; }
.process-flow { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 26px; }
.flow-line { position: absolute; left: 0; right: 0; top: 19px; height: 1px; background: rgba(255,255,255,.13); overflow: hidden; }
.flow-line span { display: block; width: 100%; height: 100%; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease); }
.process-flow.in-view .flow-line span { transform: scaleX(1); }
.process-step { position: relative; padding-top: 72px; }
.process-step::before { content: ""; position: absolute; top: 13px; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--navy-2); border: 2px solid var(--cyan); z-index: 2; transition: background .4s ease .3s; }
.process-flow.in-view .process-step::before { background: var(--cyan); }
.process-step h3 { margin: 15px 0 13px; font-size: clamp(24px, 2.1vw, 35px); font-weight: 700; letter-spacing: -.035em; }
.process-step p { margin: 0; color: rgba(255,255,255,.6); font-size: 13px; max-width: 220px; }

.applications { padding: clamp(100px, 13vw, 190px) var(--gutter); }
.applications-title { display: grid; grid-template-columns: .6fr 1.25fr .85fr; align-items: end; gap: 40px; margin-bottom: 78px; }
.applications-title .eyebrow { align-self: start; }
.applications-title h2 { font-size: clamp(55px, 7.6vw, 112px); }
.applications-title > p:last-child { max-width: 400px; opacity: .68; margin: 0 0 8px; }
.application-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.application-card { border-top: 1px solid var(--line); padding-top: 14px; }
.card-image { margin: 0 0 18px; aspect-ratio: 1 / 1.08; overflow: hidden; background: #ddd; }
.card-image img { height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .8s var(--ease); }
.application-card:hover .card-image img { transform: scale(1.045); filter: saturate(1.08); }
.application-card h3 { font-size: clamp(24px, 2.2vw, 36px); font-weight: 700; letter-spacing: -.04em; margin: 12px 0 10px; }
.application-card p { margin: 0; max-width: 390px; opacity: .62; font-size: 13px; }



/* LinkedIn updates */
.updates {
  font-family: "Manrope", sans-serif;
  padding: clamp(98px, 11vw, 150px) var(--gutter) clamp(72px, 8vw, 110px);
  background:
    radial-gradient(circle at 90% 0%, rgba(95,217,219,.16), transparent 32%),
    var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.updates-head {
  display: grid;
  grid-template-columns: 1.4fr .7fr;
  gap: clamp(42px, 7vw, 110px);
  align-items: end;
  margin-bottom: clamp(42px, 5vw, 66px);
}
.updates-head h2 {
  max-width: 820px;
  font-size: clamp(48px, 6vw, 92px);
}
.updates-intro {
  max-width: 430px;
  padding-bottom: 6px;
}
.updates-intro p {
  margin: 0 0 20px;
  opacity: .66;
}
.updates-intro .text-link {
  color: var(--blue);
}

.linkedin-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.linkedin-post-card {
  font-family: "Manrope", sans-serif;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e0dfdc;
  border-radius: 8px;
  color: rgba(0,0,0,.9);
  box-shadow: none;
  transition: box-shadow .28s ease, transform .28s ease;
}
.linkedin-post-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  transform: translateY(-2px);
}
.linkedin-post-body {
  padding: 12px 12px 8px;
}
.linkedin-post-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}
.linkedin-profile {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
}
.linkedin-avatar {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  overflow: hidden;
  background: #0a66c2;
}
.linkedin-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.linkedin-profile > div:last-child {
  min-width: 0;
  padding-top: 1px;
}
.linkedin-profile strong {
  display: block;
  margin-bottom: 2px;
  font-size: 14px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: 0;
}
.linkedin-post-date {
  display: block;
  margin: 0;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0;
  text-transform: none;
  opacity: .58;
}
.linkedin-more {
  padding: 1px 2px 0;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 2px;
  opacity: .72;
}
.linkedin-post-copy {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0;
  opacity: .94;
}
.linkedin-post-copy p,
.linkedin-shared-copy p {
  margin: 0 0 14px;
}
.linkedin-post-copy p:last-child,
.linkedin-shared-copy p:last-child {
  margin-bottom: 0;
}
.linkedin-hashtag {
  color: #0a66c2;
  font-weight: 600;
}

.linkedin-media-single {
  width: 100%;
  background: #eef3f8;
  overflow: hidden;
  border-top: 1px solid #e0dfdc;
}
.linkedin-media-single img {
  display: block;
  width: 100%;
  height: auto;
}

.linkedin-media-mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr;
  height: clamp(250px, 22vw, 420px);
  gap: 2px;
  background: #fff;
  border-top: 1px solid #e0dfdc;
}
.linkedin-media-primary,
.linkedin-media-side,
.linkedin-media-side > div {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}
.linkedin-media-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
}
.linkedin-media-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.linkedin-shared-post {
  margin: 0 10px 10px;
  overflow: hidden;
  border: 1px solid #e0dfdc;
  border-radius: 8px;
  background: #fff;
}
.linkedin-shared-head {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 14px 8px;
}
.linkedin-shared-logo {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  border-radius: 50%;
  background: #102a56;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}
.linkedin-shared-head strong {
  display: block;
  font-size: 14px;
  line-height: 18px;
  font-weight: 600;
}
.linkedin-shared-head span {
  display: block;
  margin-top: 1px;
  font-size: 11px;
  line-height: 14px;
  opacity: .55;
}
.linkedin-shared-copy {
  padding: 4px 14px 14px;
  font-size: 13px;
  line-height: 19px;
  opacity: .94;
}
.linkedin-shared-copy .linkedin-hashtag {
  font-size: 12px;
}

.linkedin-post-link {
  margin: 0;
  padding: 12px 14px;
  border-top: 1px solid #e0dfdc;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  color: #0a66c2;
  font-size: 12px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
.linkedin-post-link span:last-child {
  transition: transform .3s ease;
}
.linkedin-post-card:hover .linkedin-post-link span:last-child {
  transform: translate(2px, -2px);
}

.about { padding: clamp(105px, 13vw, 190px) var(--gutter); }
.about-lead { display: grid; grid-template-columns: .5fr 1.1fr .85fr; gap: 40px; align-items: start; }
.about-lead h2 { font-size: clamp(58px, 7vw, 105px); }
.about-lead > p:last-child { margin-top: 12px; opacity: .68; max-width: 510px; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 88px; }
.team-placeholder { aspect-ratio: 4/5; background: var(--paper-2); border: 1px solid rgba(7,19,35,.09); padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; }
.team-placeholder::before { content: ""; position: absolute; inset: -40%; background-image: url("assets/mycelium-pattern.png"); background-size: 500px; opacity: .06; transform: rotate(12deg); }
.team-placeholder span, .team-placeholder h3, .team-placeholder p { position: relative; }
.team-placeholder span { position: absolute; left: 28px; top: 28px; font-size: 10px; text-transform: uppercase; letter-spacing: .15em; opacity: .45; }
.team-placeholder h3 { margin: 0 0 6px; font-size: clamp(28px, 2.7vw, 42px); font-weight: 700; letter-spacing: -.04em; }
.team-placeholder p { margin: 0; font-size: 12px; opacity: .55; }
.team-note { margin: 18px 0 0; opacity: .45; font-size: 11px; }

.contact { position: relative; isolation: isolate; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(50px, 8vw, 130px); padding: clamp(105px, 12vw, 170px) var(--gutter); overflow: hidden; }
.contact-pattern { opacity: .12; z-index: -1; }
.contact-copy h2 { font-size: clamp(66px, 8.6vw, 128px); }
.contact-copy > p:not(.eyebrow) { max-width: 530px; color: rgba(255,255,255,.76); font-size: 16px; margin-top: 34px; }
.contact-email { display: inline-flex; gap: 14px; align-items: center; margin-top: 30px; border-bottom: 1px solid rgba(255,255,255,.7); padding-bottom: 6px; font-size: 13px; }
.contact-form { align-self: center; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 18px; background: rgba(255,255,255,.96); color: var(--ink); padding: clamp(28px, 4vw, 54px); border-radius: 3px; box-shadow: 0 35px 80px rgba(0,0,0,.2); }
.contact-form label { display: block; }
.contact-form label span { display: block; margin-bottom: 9px; font-size: 10px; text-transform: uppercase; letter-spacing: .11em; opacity: .55; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 0; border-bottom: 1px solid rgba(7,19,35,.25); border-radius: 0; background: transparent; color: var(--ink); padding: 10px 2px 12px; outline: 0; transition: border-color .2s ease; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--blue); }
.contact-form textarea { resize: vertical; min-height: 115px; }
.full-field { grid-column: 1 / -1; }
.form-bottom { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.form-bottom p { margin: 0; font-size: 10px; opacity: .48; max-width: 280px; }

.site-footer { min-height: 210px; background: var(--navy-2); color: white; padding: 58px var(--gutter); display: grid; grid-template-columns: .6fr 1fr 1fr; align-items: end; gap: 30px; }
.brand-logo-footer { align-self: start; }
.site-footer > p { margin: 0; color: rgba(255,255,255,.5); font-size: 12px; }
.site-footer > div { display: flex; justify-content: flex-end; gap: 24px; color: rgba(255,255,255,.55); font-size: 11px; }
.site-footer a:hover { color: var(--cyan); }

[data-reveal] {
  opacity: 0;
  transform: translateY(35px);
  transition:
    opacity .9s var(--ease),
    transform .9s var(--ease);
  transition-delay: 0s;
  will-change: opacity, transform;
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}
.application-card[data-reveal].revealed:nth-child(2) { transition-delay: .08s; }
.application-card[data-reveal].revealed:nth-child(3) { transition-delay: .16s; }
.process-step[data-reveal].revealed:nth-of-type(2) { transition-delay: .05s; }
.process-step[data-reveal].revealed:nth-of-type(3) { transition-delay: .1s; }
.process-step[data-reveal].revealed:nth-of-type(4) { transition-delay: .15s; }
.process-step[data-reveal].revealed:nth-of-type(5) { transition-delay: .2s; }
.process-step[data-reveal].revealed:nth-of-type(6) { transition-delay: .25s; }

@media (max-width: 1100px) {
  .updates-head { grid-template-columns: 1fr .6fr; }
  .linkedin-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .linkedin-media-mosaic { height: 390px; }

  .hero { grid-template-columns: 1fr .82fr; }
  .intro { grid-template-columns: 1fr 1fr; }
  .intro-copy { grid-column: auto; padding-top: 0; }
  .applications-title { grid-template-columns: .3fr 1fr; }
  .applications-title > p:last-child { grid-column: 2; }
  .about-lead { grid-template-columns: .3fr 1fr; }
  .about-lead > p:last-child { grid-column: 2; }
  .process-flow { grid-template-columns: repeat(3, 1fr); row-gap: 60px; }
  .flow-line { display: none; }
  .process-step::before { display: none; }
  .process-step { padding-top: 0; }
}

@media (max-width: 820px) {
  :root { --header-h: 70px; }
  .site-header { height: 70px; }
  .menu-toggle { display: block; z-index: 3; }
  .site-nav { position: fixed; inset: 0; background: rgba(4, 26, 61, .98); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 100px var(--gutter); gap: 22px; visibility: hidden; opacity: 0; transition: opacity .35s ease, visibility .35s ease; }
  .menu-open .site-nav { visibility: visible; opacity: 1; }
  .site-nav a { font-size: clamp(29px, 8vw, 46px); letter-spacing: -.04em; opacity: 1; }
  .site-nav .nav-contact { border: 0; padding: 0; }
  .linkedin-rail { top: auto; bottom: 18px; right: 16px; transform: none; writing-mode: horizontal-tb; border-radius: 999px; padding: 12px 15px; font-size: 10px; gap: 8px; }
  .hero { min-height: 860px; padding-top: 110px; padding-bottom: 64px; }
  .hero-brand { top: 122px; width: min(88vw, 700px); }
  .hero-backdrop-copy { top: 48%; }
  .hero-backdrop-track span { font-size: clamp(100px, 22vw, 170px); }
  .hero-fungus { width: min(108vw, 850px); right: -22vw; bottom: 100px; opacity: .98; }
  .hero-copy { left: var(--gutter); right: var(--gutter); bottom: 72px; width: auto; max-width: 540px; }
  .hero-lede { max-width: 500px; }
  .scroll-cue { display: none; }
  .intro, .xylindein, .contact { grid-template-columns: 1fr; }
  .intro { gap: 25px; }
  .intro-copy { grid-column: auto; padding: 0; }
  .xylindein-image { min-height: 520px; order: 2; }
  .xylindein-copy { padding: 100px var(--gutter) 70px; }
  .process-head { grid-template-columns: 1fr; gap: 25px; }
  .process-flow { grid-template-columns: 1fr 1fr; }
  .applications-title, .about-lead { grid-template-columns: 1fr; gap: 25px; }
  .applications-title > p:last-child, .about-lead > p:last-child { grid-column: auto; }
  .application-grid, .team-grid { grid-template-columns: 1fr; }
  .updates-head { grid-template-columns: 1fr; gap: 28px; }
  .updates-intro { max-width: 560px; }
  .linkedin-post-grid {
    grid-auto-flow: column;
    grid-auto-columns: min(82vw, 430px);
    grid-template-columns: none;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    padding: 4px var(--gutter) 26px;
    margin-left: calc(var(--gutter) * -1);
    margin-right: calc(var(--gutter) * -1);
    scrollbar-width: thin;
  }
  .linkedin-post-card { scroll-snap-align: start; }
  .linkedin-media-mosaic { height: 360px; }
  .linkedin-widget-shell { min-height: 360px; padding: 10px; }
.card-image { aspect-ratio: 4/3; }
  .team-placeholder { aspect-ratio: 5/3; }
  .contact-form { grid-template-columns: 1fr; }
  .full-field { grid-column: auto; }
  .site-footer { grid-template-columns: 1fr; align-items: start; }
  .site-footer > div { justify-content: flex-start; }
}

@media (max-width: 520px) {
  h2 { font-size: clamp(46px, 14vw, 70px); }
  .hero { min-height: 790px; padding-left: 20px; padding-right: 20px; }
  .hero-brand { top: 110px; width: 92vw; }
  .hero-backdrop-copy { top: 43%; }
  .hero-backdrop-track { animation-duration: 34s; }
  .hero-backdrop-track span { font-size: clamp(96px, 28vw, 142px); }
  .hero-fungus { width: 128vw; right: -44vw; bottom: 152px; }
  .hero-copy { left: 20px; right: 20px; bottom: 54px; }
  .hero-lede { font-size: 16px; max-width: 94%; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; margin-top: 24px; }
  .intro, .process, .applications, .updates, .about, .contact { padding-left: 20px; padding-right: 20px; }
  .xylindein-copy { padding-left: 20px; padding-right: 20px; }
  .xylindein-image { min-height: 410px; }
  .process-flow { grid-template-columns: 1fr; gap: 35px; }
  .application-grid { gap: 46px; }
  .linkedin-post-grid {
    grid-auto-columns: min(88vw, 390px);
    padding-left: 20px;
    padding-right: 20px;
    margin-left: -20px;
    margin-right: -20px;
  }
  .team-placeholder { aspect-ratio: 4/3; }
  .form-bottom { align-items: flex-start; flex-direction: column; }
  .contact-form { padding: 26px 20px; }
  .site-footer { padding-left: 20px; padding-right: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-backdrop-track { transform: translateX(-8%); }
  [data-reveal], .hero-enter { opacity: 1; transform: none; }
}




/* Keep MycoDye section headings in the site's Century Gothic language. */
.updates .updates-head h2,
.updates .updates-head .eyebrow {
  font-family: "Manrope", sans-serif;
}


@media (max-width: 560px) {
  .linkedin-media-mosaic { height: 300px; }
  .linkedin-post-card { border-radius: 7px; }
  .linkedin-shared-copy { font-size: 12.5px; line-height: 18px; }
}


/* Repeated scroll animation tuning */
[data-reveal]:not(.revealed) {
  transition-duration: .52s;
}
.hero:not(.hero-visible) .hero-enter {
  transition-duration: .6s;
  transition-delay: 0s;
}
.process-flow:not(.in-view) .flow-line span {
  transition-duration: .65s;
}
.process-flow:not(.in-view) .process-step::before {
  transition-delay: 0s;
}


@media (max-width: 1100px) {
  .hero { height: 128svh; min-height: 900px; }
  .hero-brand { width: min(58vw, 700px); }
  .hero-statement { width: 72vw; top: 40%; }
  .hero-statement span { font-size: clamp(66px, 9vw, 112px); }
  .hero-copy { width: min(42vw, 520px); }
}

@media (max-width: 820px) {
  .hero {
    height: auto;
    min-height: 920px;
  }
  .hero-stage {
    position: relative;
    min-height: 920px;
    height: auto;
    padding-top: 112px;
    padding-bottom: 62px;
  }
  .hero-brand {
    position: relative;
    top: auto;
    left: auto;
    width: min(84vw, 650px);
    margin: 0 auto;
  }
  .hero-statement {
    left: 20px;
    right: 20px;
    top: 310px;
    width: auto;
  }
  .hero-statement span {
    font-size: clamp(58px, 14vw, 96px);
  }
  .hero-copy {
    left: 20px;
    right: 20px;
    bottom: 54px;
    width: auto;
    max-width: 560px;
  }
  .scroll-cue { display: none; }
}

@media (max-width: 560px) {
  .hero { min-height: 870px; }
  .hero-stage { min-height: 870px; padding-top: 104px; }
  .hero-brand { width: 91vw; }
  .hero-statement { top: 260px; }
  .hero-statement span { font-size: clamp(50px, 15.2vw, 78px); }
  .specimen-image img { width: 128%; right: -16%; }
  .hero-copy { bottom: 42px; }
  .hero-lede { font-size: 15px; max-width: 100%; }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-statement,
  .hero-fungus-full,
  .hero-copy {
    transform: none !important;
  }
}


@media (max-width: 1100px) {
  .hero-fungus-full img {
    width: min(126vw, 1650px);
    right: -14vw;
  }
}

@media (max-width: 820px) {
  .hero-fungus-full {
    transform: none !important;
  }
  .hero-fungus-full img {
    width: 150vw;
    right: -43vw;
    bottom: 110px;
  }
}

@media (max-width: 560px) {
  .hero-fungus-full img {
    width: 178vw;
    right: -66vw;
    bottom: 145px;
  }
}


/* v3.0 consolidated fixed hero composition */
.hero {
  position: relative;
  height: clamp(590px, 74svh, 700px) !important;
  min-height: 590px !important;
  z-index: auto !important;
}

.hero-stage {
  position: relative !important;
  top: auto !important;
  height: 100% !important;
  min-height: 590px !important;
  overflow: hidden !important;
  isolation: auto !important;
  z-index: auto !important;
}

.hero-pattern,
.hero-glow {
  z-index: 0 !important;
}

.hero-identity {
  position: absolute;
  inset: 0;
  height: 100%;
  z-index: 10;
  pointer-events: none;
}

.hero-identity .hero-brand {
  top: clamp(106px, 13svh, 142px) !important;
  bottom: auto !important;
  left: calc(var(--gutter) - 6px) !important;
  width: min(43vw, 710px) !important;
  z-index: auto !important;
}

.hero-identity .hero-statement {
  top: auto !important;
  bottom: clamp(175px, calc(27svh - 21px), 215px) !important;
  left: var(--gutter) !important;
  width: min(58vw, 1040px) !important;
  z-index: auto !important;
}

.hero-identity .hero-statement span {
  display: block;
  white-space: nowrap;
  font-family: "Manrope", sans-serif !important;
  font-size: clamp(54px, 5vw, 90px) !important;
  line-height: .96 !important;
  font-weight: 400 !important;
  letter-spacing: -.045em !important;
  color: rgba(255,255,255,.96) !important;
}

.hero-fungus-half {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  overflow: hidden !important;
  pointer-events: none !important;
  z-index: 20 !important;
  opacity: 1 !important;
  transform: none !important;
  translate: none !important;
  transition: none !important;
  animation: none !important;
  will-change: auto !important;
}

.hero-fungus-half img {
  position: absolute !important;
  display: block !important;
  width: 68% !important;
  max-width: none !important;
  height: auto !important;
  right: -3% !important;
  bottom: -6px !important;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,.22));
  transform: none !important;
  translate: none !important;
  transition: none !important;
  animation: none !important;
  will-change: auto !important;
  -webkit-mask-image: none;
  mask-image: none;
}

.hero-copy {
  left: var(--gutter) !important;
  right: auto !important;
  top: auto !important;
  bottom: 30px !important;
  width: min(43vw, 700px) !important;
  z-index: 30 !important;
  opacity: 1 !important;
  transform: none !important;
}

.hero-actions {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
  margin-top: 0 !important;
}

.button-outline {
  background: rgba(255,255,255,.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,.54);
  backdrop-filter: blur(8px);
}

.button-outline:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.8);
}

main > section:not(.hero),
.site-footer {
  position: relative;
  z-index: 40;
}

@media (max-width: 820px) {
  .hero,
  .hero-stage {
    height: 760px !important;
    min-height: 760px !important;
  }

  .hero-identity {
    position: absolute;
    height: 760px;
  }

  .hero-identity .hero-brand {
    top: 104px !important;
    left: 20px !important;
    width: min(76vw, 560px) !important;
  }

  .hero-identity .hero-statement {
    top: 28% !important;
    bottom: auto !important;
    left: 20px !important;
    width: min(70vw, 520px) !important;
  }

  .hero-identity .hero-statement span {
    font-size: clamp(46px, 10vw, 72px) !important;
  }

  .hero-fungus-half img {
    width: 150% !important;
    right: -42% !important;
    bottom: -1px !important;
  }

  .hero-copy {
    left: 20px !important;
    right: 20px !important;
    bottom: 52px !important;
    width: auto !important;
  }

  .hero-actions {
    flex-wrap: wrap !important;
  }
}

@media (max-width: 560px) {
  .hero,
  .hero-stage,
  .hero-identity {
    height: 700px !important;
    min-height: 700px !important;
  }

  .hero-identity .hero-brand {
    width: 88vw !important;
  }

  .hero-identity .hero-statement {
    top: 27% !important;
    width: 76vw !important;
  }

  .hero-identity .hero-statement span {
    font-size: clamp(43px, 12vw, 63px) !important;
  }

  .hero-fungus-half img {
    width: 172% !important;
    right: -60% !important;
    bottom: -1px !important;
  }

  .hero-actions {
    gap: 9px !important;
  }

  .hero-actions .button {
    padding: 13px 16px !important;
    font-size: 12px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-fungus-half,
  .hero-fungus-half img,
  .hero-copy {
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}
