:root {
  --ink: #0b1324;
  --ink-soft: #1a2740;
  --paper: #f3f0e8;
  --paper-bright: #fffdf7;
  --line: rgba(11, 19, 36, 0.18);
  --lime: #c9ff4a;
  --orange: #ff6b35;
  --blue: #4475ff;
  --sans: "Manrope", system-ui, sans-serif;
  --mono: "DM Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button { font: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--lime);
  padding: 0.8rem 1rem;
  font-weight: 800;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: 1rem clamp(1.25rem, 4vw, 4.75rem);
  border-bottom: 1px solid transparent;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 12px 30px rgba(11, 19, 36, 0.05); }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; font-weight: 800; letter-spacing: -0.03em; }
.brand-mark { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--ink); color: var(--lime); font-family: var(--mono); }
nav { display: flex; gap: 2rem; }
nav a { position: relative; text-decoration: none; font-size: 0.84rem; font-weight: 700; }
nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -0.4rem; height: 2px; background: var(--ink); transition: right 180ms ease; }
nav a:hover::after, nav a:focus-visible::after { right: 0; }
.site-header > .button { justify-self: end; }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 1.1rem;
  border: 1px solid var(--ink);
  padding: 1rem 1.2rem;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.button:hover, .button:focus-visible { transform: translate(-3px, -3px); box-shadow: 5px 5px 0 var(--ink); }
.button-small { padding: 0.75rem 1rem; }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover, .button-dark:focus-visible { box-shadow: 5px 5px 0 var(--lime); }
.button-accent { background: var(--lime); }
.button-large { padding: 1.15rem 1.45rem; }

.hero {
  min-height: calc(100vh - 66px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 8rem);
  padding: clamp(4.5rem, 9vw, 8rem) clamp(1.25rem, 6vw, 7.5rem);
  overflow: hidden;
}
.eyebrow { margin: 0 0 1.5rem; font: 500 0.72rem/1.4 var(--mono); letter-spacing: 0.11em; text-transform: uppercase; }
.status-dot { display: inline-block; width: 0.55rem; height: 0.55rem; margin-right: 0.55rem; border-radius: 50%; background: #37d67a; box-shadow: 0 0 0 5px rgba(55, 214, 122, 0.13); }
.hero h1, .section-heading h2, .process-intro h2, .standards-copy h2, .contact h2 { margin: 0; font-size: clamp(3.25rem, 7vw, 7.4rem); line-height: 0.93; letter-spacing: -0.075em; }
.hero h1 em { color: var(--blue); font-style: normal; }
.hero-lede { max-width: 42rem; margin: 2rem 0 0; font-size: clamp(1.05rem, 1.7vw, 1.32rem); line-height: 1.65; color: #3f4a5e; }
.hero-actions { display: flex; align-items: center; gap: 1.5rem; margin-top: 2.2rem; }
.text-link { font-size: 0.86rem; font-weight: 800; text-underline-offset: 0.4rem; }
.proof-list { display: flex; flex-wrap: wrap; gap: 0; padding: 0; margin: 3.2rem 0 0; list-style: none; font: 500 0.72rem var(--mono); text-transform: uppercase; }
.proof-list li { display: flex; align-items: center; gap: 0.65rem; }
.proof-list li:not(:last-child)::after { content: "/"; margin: 0 1rem; color: var(--blue); }

.hero-visual { position: relative; min-height: 34rem; display: grid; place-items: center; }
.orbit { position: absolute; border: 1px solid rgba(68, 117, 255, 0.27); border-radius: 50%; }
.orbit-one { width: 31rem; height: 31rem; }
.orbit-two { width: 24rem; height: 24rem; border-style: dashed; animation: spin 28s linear infinite; }
.project-card { position: relative; z-index: 2; width: min(100%, 32rem); margin: 0; color: white; background: var(--ink); box-shadow: 1.3rem 1.3rem 0 var(--blue); transform: rotate(-2deg); }
.window-bar { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 1rem; padding: 0.85rem 1rem; border-bottom: 1px solid rgba(255,255,255,0.16); font: 0.56rem var(--mono); }
.window-bar p { margin: 0; text-transform: uppercase; }
.window-dots { display: flex; gap: 0.3rem; }
.window-dots span { width: 0.42rem; height: 0.42rem; border: 1px solid rgba(255,255,255,0.45); border-radius: 50%; }
.live-pill { color: var(--lime); }
.project-body { padding: 2.2rem; }
.project-label { margin: 0 0 0.7rem; color: var(--lime); font: 0.65rem var(--mono); letter-spacing: 0.12em; }
.project-body h2 { max-width: 23rem; margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.02; letter-spacing: -0.055em; }
.signal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 2.5rem; background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.16); }
.signal-grid div { padding: 1rem 0.7rem; background: var(--ink); }
.signal-grid strong, .signal-grid span { display: block; }
.signal-grid strong { color: var(--lime); font: 0.76rem var(--mono); }
.signal-grid span { margin-top: 0.8rem; font-size: 0.67rem; color: #b9c2d2; }
.progress-row { margin-top: 2rem; }
.progress-row > div:first-child { display: flex; justify-content: space-between; font: 0.7rem var(--mono); text-transform: uppercase; }
.progress-track { height: 0.4rem; margin-top: 0.6rem; background: rgba(255,255,255,0.14); overflow: hidden; }
.progress-track span { display: block; width: 86%; height: 100%; background: var(--lime); }
.floating-note { position: absolute; z-index: 3; padding: 0.8rem 1rem; background: var(--paper-bright); border: 1px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); font: 500 0.67rem var(--mono); text-transform: uppercase; }
.floating-note span { color: var(--blue); margin-right: 0.5rem; }
.note-one { top: 9%; right: 0; }
.note-two { bottom: 8%; left: -1rem; }

.signal-strip { display: flex; justify-content: space-around; gap: 1.5rem; overflow: hidden; padding: 1.15rem clamp(1rem, 5vw, 5rem); color: white; background: var(--ink); font: 0.72rem var(--mono); letter-spacing: 0.12em; text-transform: uppercase; }
.signal-strip i { color: var(--lime); font-style: normal; }

.section { padding: clamp(5rem, 10vw, 10rem) clamp(1.25rem, 6vw, 7.5rem); }
.section-heading { max-width: 64rem; }
.section-heading h2, .process-intro h2, .standards-copy h2 { font-size: clamp(2.8rem, 5.6vw, 6rem); }
.section-heading > p:last-child { max-width: 42rem; margin: 2rem 0 0; font-size: 1.05rem; line-height: 1.65; color: #4d576a; }

.services { background: var(--paper-bright); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 4.5rem; background: var(--ink); border: 1px solid var(--ink); }
.service-card { position: relative; display: flex; min-height: 32rem; flex-direction: column; padding: 2rem; background: var(--paper-bright); }
.service-card-featured { color: white; background: var(--blue); }
.featured-label { position: absolute; right: 1rem; top: 1rem; padding: 0.45rem 0.6rem; color: var(--ink); background: var(--lime); font: 0.58rem var(--mono); letter-spacing: 0.1em; text-transform: uppercase; }
.service-number { width: 2.2rem; height: 2.2rem; display: grid; place-items: center; border: 1px solid currentColor; font: 0.66rem var(--mono); }
.service-kicker { margin: 3.7rem 0 0.75rem; font: 0.67rem var(--mono); text-transform: uppercase; }
.service-card h3 { margin: 0; font-size: 2rem; line-height: 1.05; letter-spacing: -0.045em; }
.service-card > p:not(.service-kicker) { margin: 1.4rem 0 0; line-height: 1.65; color: #4d576a; }
.service-card-featured > p:not(.service-kicker) { color: rgba(255,255,255,0.78); }
.service-card ul { display: grid; gap: 0.8rem; padding: 0; margin: 2rem 0; list-style: none; font-size: 0.86rem; }
.service-card li::before { content: "↗"; margin-right: 0.65rem; color: var(--orange); }
.service-card-featured li::before { color: var(--lime); }
.service-footer { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1.5rem; border-top: 1px solid currentColor; }
.service-footer strong { font-size: 1.25rem; }
.service-footer span { font: 0.61rem var(--mono); text-transform: uppercase; opacity: 0.65; }
.pricing-note { margin: 1rem 0 0; font: 0.65rem/1.5 var(--mono); color: #626a79; }

.work { background: #dfe6ff; }
.split-heading { max-width: none; display: grid; grid-template-columns: 1.4fr 0.6fr; align-items: end; gap: 4rem; }
.split-heading > p { margin: 0 0 0.5rem; }
.concept-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 1.5rem; margin-top: 5rem; }
.concept { min-width: 0; background: var(--paper-bright); border: 1px solid var(--ink); transition: transform 180ms ease, box-shadow 180ms ease; }
.concept:hover, .concept:focus-visible { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--ink); outline: none; }
.concept-founder { grid-column: 1 / -1; }
.concept-top, .concept-caption { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; font: 0.62rem var(--mono); text-transform: uppercase; }
.concept-top { border-bottom: 1px solid var(--ink); }
.concept-caption { align-items: end; border-top: 1px solid var(--ink); }
.concept-caption h3 { margin: 0; font: 800 1.1rem var(--sans); text-transform: none; letter-spacing: -0.03em; }
.concept-caption p { margin: 0; }
.mini-site { position: relative; min-height: 25rem; overflow: hidden; padding: 1.2rem; }
.mini-nav { position: relative; z-index: 2; display: flex; justify-content: space-between; font-size: 0.68rem; }
.roofing-site { color: #f7e7cf; background: #231c18; }
.roofing-site > p { position: relative; z-index: 2; margin: 6rem 0 1.5rem; font-size: clamp(2.8rem, 5vw, 5rem); font-weight: 800; line-height: 0.88; letter-spacing: -0.065em; }
.roofing-site button, .wellness-site button { position: relative; z-index: 2; border: 0; padding: 0.8rem 1rem; background: #ff6b35; font-size: 0.68rem; font-weight: 800; }
.roof-lines { position: absolute; right: -6rem; bottom: -8rem; width: 28rem; height: 28rem; border: 5rem solid #3b78ff; transform: rotate(45deg); }
.wellness-site { color: #214537; background: #e0efd9; }
.wellness-circle { display: grid; place-items: center; width: 19rem; height: 19rem; margin: 2.5rem auto 1rem; border-radius: 50%; background: #f6bea4; box-shadow: inset 0 0 0 4rem rgba(255,255,255,0.22); }
.wellness-circle span { text-align: center; font-family: Georgia, serif; font-size: 3rem; font-style: italic; line-height: 0.9; }
.wellness-site button { display: block; margin: 0 auto; background: #214537; color: white; }
.founder-site { min-height: 22rem; color: white; background: #101019; }
.founder-chip { display: inline-block; margin-top: 4rem; padding: 0.35rem 0.55rem; border: 1px solid #8d6bff; color: #b49eff; font: 0.55rem var(--mono); }
.founder-site > p { position: relative; z-index: 2; margin: 1.2rem 0; font-size: clamp(3rem, 7vw, 6.5rem); font-weight: 800; line-height: 0.9; letter-spacing: -0.075em; }
.founder-ui { position: absolute; right: 5%; bottom: -4rem; width: 36%; height: 19rem; padding: 1rem; border: 1px solid rgba(255,255,255,0.25); background: #1d1d2d; transform: rotate(5deg); }
.founder-ui i { display: block; height: 2rem; margin-bottom: 0.8rem; background: linear-gradient(90deg, #8d6bff 25%, rgba(255,255,255,0.08) 25%); }

.founder {
  display: grid;
  grid-template-columns: minmax(19rem, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(3rem, 9vw, 9rem);
  background: var(--paper-bright);
}
.founder-portrait {
  position: relative;
  width: min(100%, 36rem);
  aspect-ratio: 1;
  padding: 0.7rem;
  background: var(--lime);
  border: 1px solid var(--ink);
  box-shadow: 1rem 1rem 0 var(--blue);
  transform: rotate(-1.5deg);
}
.founder-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 33%;
  filter: saturate(0.88) contrast(1.04);
}
.portrait-stamp {
  position: absolute;
  right: -1.2rem;
  bottom: 1.7rem;
  padding: 0.75rem 0.9rem;
  color: white;
  background: var(--ink);
  border: 1px solid var(--paper-bright);
  font: 0.62rem var(--mono);
  letter-spacing: 0.08em;
}
.founder-copy h2 {
  max-width: 50rem;
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}
.founder-copy > p:not(.eyebrow) {
  max-width: 42rem;
  margin: 2rem 0;
  color: #4d576a;
  font-size: 1.05rem;
  line-height: 1.7;
}
.founder-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  margin: 2.4rem 0 2rem;
  font: 0.72rem var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.founder-steps i { color: var(--blue); font-style: normal; }

.process { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(3rem, 9vw, 9rem); background: var(--ink); color: white; }
.process-intro { position: sticky; top: 8rem; align-self: start; }
.process-intro > p:last-child { max-width: 32rem; margin-top: 2rem; color: #b7c0d0; line-height: 1.65; }
.timeline { padding: 0; margin: 0; list-style: none; }
.timeline li { display: grid; grid-template-columns: 4rem 1fr; gap: 1.5rem; padding: 2.2rem 0; border-top: 1px solid rgba(255,255,255,0.18); }
.timeline li:last-child { border-bottom: 1px solid rgba(255,255,255,0.18); }
.timeline > li > span { color: var(--lime); font: 0.74rem var(--mono); }
.timeline h3 { margin: 0; font-size: 2rem; letter-spacing: -0.04em; }
.timeline p { max-width: 38rem; margin: 0.75rem 0 0; line-height: 1.65; color: #b7c0d0; }

.standards { background: var(--lime); }
.standards-copy { max-width: 58rem; }
.standards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 4rem; background: var(--ink); border: 1px solid var(--ink); }
.standards-grid article { min-height: 18rem; padding: 1.5rem; background: var(--lime); }
.standards-grid span { font: 0.65rem var(--mono); }
.standards-grid h3 { margin: 5rem 0 0.8rem; font-size: 1.3rem; line-height: 1.08; }
.standards-grid p { margin: 0; font-size: 0.86rem; line-height: 1.55; }

.contact { padding: clamp(5rem, 12vw, 11rem) 1.25rem; color: white; background: var(--blue); text-align: center; }
.contact-inner { max-width: 74rem; margin: 0 auto; }
.contact h2 { font-size: clamp(3.1rem, 7vw, 7.5rem); }
.contact-inner > p:not(.eyebrow) { max-width: 42rem; margin: 2rem auto; font-size: 1.1rem; line-height: 1.65; color: rgba(255,255,255,0.82); }
.contact .button { color: var(--ink); }
.contact-note { display: block; margin-top: 1.2rem; font: 0.65rem var(--mono); text-transform: uppercase; }

footer { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 2rem clamp(1.25rem, 6vw, 7.5rem); color: white; background: var(--ink); font-size: 0.72rem; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { min-height: 31rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .concept-grid, .split-heading, .process { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; }
  .founder-portrait { width: min(80vw, 32rem); }
  .concept-founder { grid-column: auto; }
  .process-intro { position: static; }
  .standards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .site-header { padding: 0.85rem 1rem; }
  .site-header > .button { display: none; }
  .hero { min-height: auto; padding-top: 4rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .text-link { padding: 0.4rem 0; }
  .proof-list { display: grid; gap: 0.8rem; }
  .proof-list li:not(:last-child)::after { display: none; }
  .hero-visual { min-height: 27rem; }
  .orbit-one { width: 25rem; height: 25rem; }
  .orbit-two { width: 19rem; height: 19rem; }
  .project-card { box-shadow: 0.7rem 0.7rem 0 var(--blue); }
  .project-body { padding: 1.4rem; }
  .signal-grid span { font-size: 0.56rem; }
  .floating-note { display: none; }
  .signal-strip { justify-content: flex-start; }
  .signal-strip span:nth-of-type(n+4), .signal-strip i:nth-of-type(n+4) { display: none; }
  .section { padding-left: 1rem; padding-right: 1rem; }
  .mini-site { min-height: 21rem; }
  .wellness-circle { width: 15rem; height: 15rem; }
  .wellness-circle span { font-size: 2.4rem; }
  .founder-ui { display: none; }
  .founder-portrait { width: calc(100% - 0.8rem); box-shadow: 0.7rem 0.7rem 0 var(--blue); }
  .portrait-stamp { right: -0.5rem; }
  .standards-grid { grid-template-columns: 1fr; }
  .standards-grid article { min-height: 14rem; }
  .standards-grid h3 { margin-top: 3rem; }
  footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
