:root {
  --pine: #0b2d20;
  --pine-2: #16442f;
  --pine-3: #236244;
  --cream: #f5f1e8;
  --paper: #fffdf8;
  --ink: #17231d;
  --muted: #5e6c64;
  --gold: #d3a95f;
  --gold-soft: #efe0bd;
  --line: rgba(11, 45, 32, .15);
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
  --max: 1180px;
  --shadow: 0 24px 70px rgba(11, 45, 32, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.65; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 200; padding: .7rem 1rem; background: var(--paper); color: var(--pine); }
.skip-link:focus { top: 1rem; }
.container { width: min(var(--max), calc(100% - 2.5rem)); margin-inline: auto; }
.narrow { width: min(820px, calc(100% - 2.5rem)); margin-inline: auto; }
.eyebrow { margin: 0 0 1rem; color: var(--pine-3); font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow.light { color: var(--gold-soft); }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.04; }
h1 { max-width: 950px; font-size: clamp(3.4rem, 7.2vw, 7rem); letter-spacing: -.045em; }
h2 { max-width: 800px; font-size: clamp(2.5rem, 5vw, 4.8rem); letter-spacing: -.035em; }
h3 { font-size: clamp(1.7rem, 2.7vw, 2.5rem); }
h4 { font-size: 1.35rem; }
p { margin: 0; }
.brand-2537m { font-family: "Univers", "Univers LT Std", "Helvetica Neue", Arial, sans-serif; font-weight: 700; font-style: normal; }
.lede { margin-top: 1.5rem; max-width: 760px; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.28rem); }
.section { padding: clamp(5.5rem, 10vw, 9rem) 0; }
.section.cream { background: var(--cream); }
.section.pine { background: var(--pine); color: #fff; }
.section.pine .lede { color: rgba(255,255,255,.68); }
.section-heading { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.02rem; }

.nav { position: fixed; inset: 0 0 auto; z-index: 100; background: rgba(255,253,248,.91); border-bottom: 1px solid transparent; backdrop-filter: blur(16px); transition: border-color .2s ease, box-shadow .2s ease; }
.nav.scrolled { border-color: var(--line); box-shadow: 0 8px 34px rgba(11,45,32,.06); }
.nav-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .85rem; text-decoration: none; }
.brand-mark { width: 64px; height: 44px; border-radius: 5px; object-fit: cover; flex: 0 0 auto; }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { color: var(--pine); font-size: .9rem; letter-spacing: .02em; }
.brand-copy span { margin-top: .28rem; color: var(--muted); font-size: .63rem; letter-spacing: .12em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 1.8rem; margin: 0; padding: 0; list-style: none; }
.nav-links a { color: var(--muted); font-size: .83rem; font-weight: 700; text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--pine); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--pine); }
.button, .nav-cta { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 48px; padding: .82rem 1.25rem; border: 1px solid transparent; border-radius: 999px; font-size: .84rem; font-weight: 700; text-decoration: none; transition: transform .18s ease, background .18s ease; }
.button:hover, .nav-cta:hover { transform: translateY(-2px); }
.nav-cta, .button.primary { background: var(--pine); color: #fff !important; }
.button.secondary { border-color: var(--line); background: rgba(255,255,255,.6); color: var(--pine); }
.button.light { background: var(--paper); color: var(--pine); }
.button.ghost-light { border-color: rgba(255,255,255,.32); color: #fff; }
.arrow { font-size: 1.05rem; }

.page-hero { min-height: 720px; display: grid; align-items: end; position: relative; padding: 11rem 0 6rem; overflow: hidden; color: #fff; background: var(--pine); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,28,19,.98) 0%, rgba(6,28,19,.83) 48%, rgba(6,28,19,.3) 100%), url("misty%20mountian%20road%20.png") center/cover; }
.page-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: rgba(255,255,255,.2); }
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 { max-width: 1000px; }
.page-hero h1 em { color: var(--gold-soft); font-style: normal; }
.page-hero .lede { color: rgba(255,255,255,.75); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.crumb { display: inline-flex; gap: .55rem; margin-bottom: 2rem; color: rgba(255,255,255,.62); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.crumb:hover { color: #fff; }

.signal-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.signal { min-height: 200px; padding: 1.7rem; border-right: 1px solid var(--line); background: #fff; }
.signal:last-child { border-right: 0; }
.signal span { color: var(--pine-3); font-size: .72rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.signal strong { display: block; margin-top: 2.5rem; color: var(--pine); font-family: var(--serif); font-size: 2rem; font-weight: 400; line-height: 1.08; }
.signal p { margin-top: .65rem; color: var(--muted); font-size: .84rem; }

.story-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 9vw, 9rem); align-items: start; }
.story-sticky { position: sticky; top: 118px; }
.story-body { display: grid; gap: 3.2rem; }
.story-block { padding-bottom: 3.2rem; border-bottom: 1px solid var(--line); }
.story-block:last-child { padding-bottom: 0; border-bottom: 0; }
.story-block h3 { color: var(--pine); }
.story-block p { margin-top: 1rem; color: var(--muted); }
.story-block ul { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem 1.4rem; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.story-block li { padding-top: .65rem; border-top: 1px solid var(--line); color: var(--pine); font-size: .82rem; font-weight: 700; }
.story-block li::before { content: "✓"; margin-right: .55rem; color: var(--pine-3); }

.ecosystem-section { background: var(--paper); }
.ecosystem-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 3.5rem; }
.ecosystem-card { min-height: 300px; display: flex; flex-direction: column; padding: 2rem; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.ecosystem-card > span { color: var(--pine-3); font-size: .72rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.ecosystem-card h3 { margin-top: 3.2rem; color: var(--pine); font-size: clamp(2rem, 3.5vw, 3rem); }
.ecosystem-logo { width: 52px; height: auto; margin-top: 1.5rem; }
.ecosystem-card.logo-card h3 { margin-top: 1rem; }
.ecosystem-card p { margin-top: .9rem; color: var(--muted); font-size: .9rem; }
.ecosystem-card small { margin-top: auto; padding-top: 1.5rem; color: var(--pine-3); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ecosystem-card.core { background: var(--pine); color: #fff; }
.ecosystem-card.core > span, .ecosystem-card.core small { color: var(--gold-soft); }
.ecosystem-card.core h3 { color: #fff; }
.ecosystem-card.core p { color: rgba(255,255,255,.68); }
.ecosystem-card.book { background: var(--cream); }
.ecosystem-card.solo { background: #eef5f1; }
.ecosystem-card.connected { border-color: rgba(211,169,95,.55); background: linear-gradient(145deg, #fffdf8, var(--gold-soft)); }

.portfolio-list { display: grid; gap: 1.25rem; margin-top: 4rem; }
.portfolio-project { scroll-margin-top: 110px; display: grid; grid-template-columns: .72fr 1.28fr; min-height: 520px; border: 1px solid var(--line); border-radius: 26px; overflow: hidden; background: #fff; box-shadow: 0 18px 55px rgba(11,45,32,.06); }
.portfolio-visual { display: flex; flex-direction: column; min-height: 520px; padding: 2rem; background: var(--pine); color: #fff; }
.portfolio-visual > span { color: var(--gold-soft); font-size: .75rem; font-weight: 700; letter-spacing: .14em; }
.portfolio-visual strong { margin: auto 0; font-family: var(--serif); font-size: clamp(4rem, 10vw, 8rem); font-weight: 400; line-height: .9; }
.myomesh-logo { width: 118px; height: auto; margin: auto; }
.portfolio-visual small { color: rgba(255,255,255,.62); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.run-project .portfolio-visual { background: var(--gold-soft); color: var(--pine); }
.run-project .portfolio-visual > span, .run-project .portfolio-visual small { color: var(--pine-3); }
.run-project .portfolio-visual strong { font-size: clamp(3.1rem, 8vw, 6.4rem); letter-spacing: -.05em; }
.orbital-project .portfolio-visual { position: relative; background: #071f16; overflow: hidden; }
.orbital-project .portfolio-visual::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(2,7,18,.08), rgba(2,7,18,.58)); }
.orbital-project .portfolio-visual > span, .orbital-project .portfolio-visual > small { position: relative; z-index: 2; }
.orbital-logo { position: absolute; left: 50%; top: 50%; width: min(72%, 300px); height: auto; aspect-ratio: 1; transform: translate(-50%, -50%); object-fit: contain; }
.portfolio-copy { padding: clamp(2rem, 5vw, 4.5rem); }
.portfolio-meta { display: flex; justify-content: space-between; gap: 1rem; color: var(--pine-3); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.portfolio-copy h3 { max-width: 720px; margin-top: 2.2rem; color: var(--pine); font-size: clamp(2.2rem, 4vw, 3.8rem); }
.portfolio-copy > p { max-width: 760px; margin-top: 1.2rem; color: var(--muted); }
.portfolio-tags { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.7rem 0 0; padding: 0; list-style: none; }
.portfolio-tags li { padding: .45rem .7rem; border: 1px solid var(--line); border-radius: 999px; color: var(--pine); font-size: .7rem; font-weight: 700; }
.portfolio-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 2rem; }
.portfolio-actions .text-link { min-width: 180px; }
.portfolio-note { padding-top: 1rem; border-top: 1px solid var(--line); font-size: .76rem; }

.offer-grid { display: grid; gap: 1rem; margin-top: 3rem; }
.offer { display: grid; grid-template-columns: 90px .8fr 1.2fr; gap: 2rem; padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid rgba(255,255,255,.18); border-radius: 22px; }
.offer-number { color: var(--gold); font-size: .78rem; font-weight: 700; letter-spacing: .14em; }
.offer h3 { color: #fff; }
.offer-copy > p { color: rgba(255,255,255,.68); }
.offer ul { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.offer li { padding: .4rem .65rem; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: rgba(255,255,255,.78); font-size: .69rem; font-weight: 700; }

.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 3rem; }
.principle { min-height: 270px; padding: 2rem; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.principle span { color: var(--pine-3); font-size: .72rem; font-weight: 700; letter-spacing: .13em; }
.principle h3 { margin-top: 3.8rem; color: var(--pine); }
.principle p { margin-top: .8rem; color: var(--muted); font-size: .88rem; }

.profile-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(3rem, 9vw, 9rem); align-items: center; }
.monogram { aspect-ratio: 1; display: grid; place-items: center; border-radius: 50% 50% 16px 50%; background: var(--pine); color: #fff; font-family: var(--serif); font-size: clamp(5rem, 12vw, 10rem); box-shadow: var(--shadow); }
.profile-copy p:not(.eyebrow) { margin-top: 1.2rem; color: var(--muted); font-size: 1.02rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.6rem; }
.tag-list span { padding: .45rem .7rem; border: 1px solid var(--line); border-radius: 999px; color: var(--pine); font-size: .7rem; font-weight: 700; }

.experience-list { display: grid; gap: 1px; margin-top: 3rem; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.experience { display: grid; grid-template-columns: .42fr 1fr; gap: 2rem; padding: 2rem; background: var(--paper); }
.experience span { color: var(--pine-3); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.experience p { margin-top: .55rem; color: var(--muted); font-size: .88rem; }

.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 3rem; }
.fit-card { padding: 2rem; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.fit-card h3 { color: var(--pine); }
.fit-card ul { margin: 1.2rem 0 0; padding: 0; list-style: none; }
.fit-card li { padding: .7rem 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.fit-card li::before { content: "—"; margin-right: .6rem; color: var(--gold); }

.faq { margin-top: 3rem; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { padding: 1.4rem 2.5rem 1.4rem 0; position: relative; color: var(--pine); font-weight: 700; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; color: var(--pine-3); font-size: 1.3rem; }
details[open] summary::after { content: "−"; }
details p { max-width: 760px; padding: 0 0 1.4rem; color: var(--muted); font-size: .92rem; }

.next { padding: clamp(5rem, 10vw, 8rem) 0; background: var(--gold-soft); }
.next-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 4rem; align-items: end; }
.next p { margin-top: 1.2rem; max-width: 680px; color: #4c5a52; }
.next-actions { display: flex; flex-direction: column; gap: .75rem; }
.text-link { padding: 1rem 0; border-top: 1px solid rgba(11,45,32,.2); color: var(--pine); font-size: .78rem; font-weight: 700; text-decoration: none; }
.footer { padding: 2rem 0; background: #071f16; color: rgba(255,255,255,.62); }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; align-items: center; font-size: .72rem; }
.footer a { color: #fff; text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links { position: fixed; inset: 79px 0 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 1.25rem; background: var(--paper); }
  .menu-open .nav-links { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links a { display: block; padding: 1.15rem .25rem; font-size: 1rem; }
  .nav-links .nav-cta { margin-top: 1rem; }
  .page-hero { min-height: 650px; }
  .section-heading, .story-grid, .profile-grid, .next-grid, .portfolio-project { grid-template-columns: 1fr; }
  .story-sticky { position: static; }
  .signal-grid { grid-template-columns: 1fr; }
  .signal { min-height: 150px; border-right: 0; border-bottom: 1px solid var(--line); }
  .signal:last-child { border-bottom: 0; }
  .signal strong { margin-top: 1.5rem; }
  .offer { grid-template-columns: 65px 1fr; }
  .offer-copy { grid-column: 2; }
  .portfolio-visual { min-height: 310px; }
  .next-actions { max-width: 430px; }
}

@media (max-width: 600px) {
  .container, .narrow { width: min(100% - 1.5rem, var(--max)); }
  .brand { gap: .6rem; }
  .brand-mark { width: 54px; height: 37px; }
  .brand-copy span { display: none; }
  .brand-copy strong { max-width: 150px; font-size: .75rem; }
  .page-hero { min-height: 620px; padding-top: 9rem; }
  .page-hero::before { background: linear-gradient(180deg, rgba(6,28,19,.72), rgba(6,28,19,.98)), url("misty%20mountian%20road%20.png") center/cover; }
  .story-block ul, .principles, .fit-grid, .ecosystem-grid { grid-template-columns: 1fr; }
  .portfolio-meta { flex-direction: column; gap: .35rem; }
  .offer { grid-template-columns: 1fr; gap: 1rem; }
  .offer-copy { grid-column: auto; }
  .experience { grid-template-columns: 1fr; gap: .8rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
