:root {
  --ink: #11110f;
  --paper: #f2efe6;
  --paper-2: #e8e3d7;
  --lime: #c7ff3d;
  --white: #fffdf7;
  --muted: #6e6b63;
  --line: rgba(17, 17, 15, 0.18);
  --max: 1240px;
  --gutter: clamp(20px, 5vw, 72px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "DM Sans", sans-serif; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }
::selection { background: var(--lime); color: var(--ink); }

.skip-link { position: fixed; left: 1rem; top: -100px; z-index: 100; background: var(--lime); padding: .8rem 1rem; color: var(--ink); }
.skip-link:focus { top: 1rem; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 20; height: 76px; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.18); transition: background .25s ease, color .25s ease, height .25s ease;
}
.site-header.scrolled { height: 66px; background: rgba(17,17,15,.92); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: .7rem; width: fit-content; font: 800 1.04rem/1 "Manrope", sans-serif; text-decoration: none; letter-spacing: -.03em; }
.brand-mark { width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid currentColor; font-size: .78rem; letter-spacing: -.1em; }
.brand-mark span { color: var(--lime); }
.site-header nav { display: flex; gap: 2rem; }
.site-header nav a { text-decoration: none; font-size: .84rem; }
.site-header nav a:hover { color: var(--lime); }
.header-cta { justify-self: end; font-size: .83rem; font-weight: 700; text-decoration: none; padding-bottom: .35rem; border-bottom: 1px solid currentColor; }
.header-cta span { color: var(--lime); }

.hero { min-height: 100svh; position: relative; overflow: hidden; display: flex; align-items: flex-end; color: var(--white); }
.hero-media, .hero-shade { position: absolute; inset: 0; }
.hero-media { background: url("assets/repeatbit-hero.jpg") center / cover no-repeat; transform: scale(1.025); animation: heroSettle 1.4s cubic-bezier(.2,.8,.2,1) forwards; }
.hero-shade { background: linear-gradient(90deg, rgba(7,8,6,.95) 0%, rgba(7,8,6,.76) 38%, rgba(7,8,6,.12) 70%), linear-gradient(0deg, rgba(7,8,6,.55), transparent 50%); }
.hero-content { position: relative; z-index: 2; width: min(880px, 100%); padding: 112px var(--gutter) clamp(34px, 6vh, 66px); }
.eyebrow { margin: 0 0 1.4rem; color: var(--lime); text-transform: uppercase; font-size: .7rem; font-weight: 700; letter-spacing: .16em; }
.eyebrow.dark { color: var(--ink); }
.hero h1 { margin: 0; max-width: 830px; font: 700 clamp(3rem, 5.2vw, 5.35rem)/.94 "Manrope", sans-serif; letter-spacing: -.075em; }
.hero h1 em { color: var(--lime); font-style: normal; }
.hero-copy { max-width: 620px; margin: 1.5rem 0 0; color: rgba(255,255,255,.78); font-size: clamp(1rem, 1.25vw, 1.14rem); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 1.6rem; margin-top: 1.5rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: .9rem 1.2rem; border: 0; border-radius: 0; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--lime); color: var(--ink); }
.button-primary:hover { background: #d5ff70; }
.text-link { text-decoration: none; font-size: .9rem; border-bottom: 1px solid rgba(255,255,255,.4); padding: .5rem 0; }
.text-link span { color: var(--lime); margin-left: .4rem; }
.hero-note { margin: 1rem 0 0; max-width: 480px; color: rgba(255,255,255,.52); font-size: .76rem; }
.hero-side-note { position: absolute; z-index: 2; right: var(--gutter); bottom: 50%; transform: translate(42%, 50%) rotate(90deg); text-transform: uppercase; letter-spacing: .16em; font-size: .62rem; color: rgba(255,255,255,.6); }
.reveal { opacity: 0; transform: translateY(22px); animation: rise .8s cubic-bezier(.2,.8,.2,1) forwards; }
.reveal:nth-child(2) { animation-delay: .12s; }.reveal:nth-child(3) { animation-delay: .22s; }.reveal:nth-child(4) { animation-delay: .32s; }.reveal:nth-child(5) { animation-delay: .42s; }

.signal-strip { overflow: hidden; background: var(--lime); border-block: 1px solid var(--ink); }
.marquee { width: max-content; display: flex; align-items: center; gap: 1.4rem; padding: 1rem 0; animation: marquee 24s linear infinite; font: 700 .78rem/1 "Manrope", sans-serif; text-transform: uppercase; letter-spacing: .08em; }
.marquee i { font-style: normal; }

.section, .section-dark, .section-accent { padding: clamp(80px, 10vw, 145px) var(--gutter); }
.section { background: var(--paper); }
.section-dark { background: var(--ink); color: var(--white); }
.section-accent { padding: clamp(65px, 8vw, 110px) var(--gutter); background: var(--lime); }
.section-intro { width: min(820px, 100%); margin-bottom: clamp(48px, 7vw, 88px); }
.section-intro h2, .fit h2, .contact h2 { margin: 0; font: 700 clamp(2.4rem, 5vw, 5.2rem)/1 "Manrope", sans-serif; letter-spacing: -.065em; }
.section-intro > p:last-child { width: min(620px, 100%); margin: 1.5rem 0 0; color: var(--muted); font-size: 1.05rem; line-height: 1.65; }
.section-dark .section-intro > p:last-child { color: rgba(255,255,255,.58); }

.offer-flow { border-top: 1px solid var(--line); }
.offer-step { display: grid; grid-template-columns: 80px 1fr 1.3fr; gap: 2rem; align-items: baseline; padding: 2.2rem 0; border-bottom: 1px solid var(--line); }
.offer-step > span { font: 700 .72rem/1 "Manrope", sans-serif; }
.offer-step h3 { margin: 0; font: 700 clamp(1.4rem, 2.5vw, 2.4rem)/1 "Manrope", sans-serif; letter-spacing: -.045em; }
.offer-step p { margin: 0; color: var(--muted); line-height: 1.65; }

.work { display: grid; grid-template-columns: .8fr 1.1fr; column-gap: clamp(40px, 8vw, 120px); align-items: start; }
.work-copy { position: sticky; top: 110px; padding-top: 3rem; }
.work-copy h2 { margin: 0; font: 700 clamp(3rem, 6vw, 6rem)/.95 "Manrope", sans-serif; letter-spacing: -.07em; }
.work-copy > p:not(.eyebrow) { max-width: 520px; color: rgba(255,255,255,.62); line-height: 1.7; }
.work-list { margin-top: 3rem; }
.work-list div { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; padding: 1.2rem 0; border-top: 1px solid rgba(255,255,255,.17); }
.work-list div:last-child { border-bottom: 1px solid rgba(255,255,255,.17); }
.work-list dt { color: var(--lime); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.work-list dd { margin: 0; color: rgba(255,255,255,.78); }
.campaign-visual { position: relative; overflow: hidden; }
.campaign-visual img { width: 100%; min-height: 700px; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.campaign-visual:hover img { transform: scale(1.025); }
.post-overlay { position: absolute; inset: auto 0 0; padding: clamp(24px, 5vw, 64px); background: linear-gradient(transparent, rgba(17,17,15,.88)); }
.post-overlay span { display: block; font: 800 clamp(2.8rem, 6vw, 6.6rem)/.82 "Manrope", sans-serif; letter-spacing: -.08em; color: var(--lime); }
.post-overlay small { display: block; margin-top: 1.4rem; text-transform: uppercase; letter-spacing: .14em; }
.campaign-crops { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 40px); margin-top: clamp(40px, 7vw, 90px); }
.campaign-crops figure { margin: 0; }
.campaign-crops img { width: 100%; height: clamp(260px, 34vw, 500px); object-fit: cover; }
.campaign-crops figure:first-child img { object-position: 10% 20%; }
.campaign-crops figure:last-child img { object-position: 70% 45%; }
.campaign-crops figcaption { padding-top: .9rem; color: rgba(255,255,255,.52); font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; }

.service-lines { border-top: 1px solid var(--line); }
.service-line { display: grid; grid-template-columns: 70px 1fr auto; gap: 2rem; padding: 2.5rem 0; border-bottom: 1px solid var(--line); transition: padding .25s ease; }
.service-line:hover { padding-left: 1rem; }
.service-number { font: 700 .72rem/1 "Manrope", sans-serif; }
.service-line h3 { margin: 0; font: 700 clamp(1.45rem, 2.4vw, 2.2rem)/1.05 "Manrope", sans-serif; letter-spacing: -.045em; }
.service-line p { max-width: 710px; margin: .8rem 0 0; color: var(--muted); line-height: 1.65; }
.service-tag { align-self: center; padding: .45rem .7rem; border: 1px solid var(--line); font-size: .66rem; text-transform: uppercase; letter-spacing: .1em; }

.fit > .eyebrow { margin-bottom: 3rem; }
.fit-grid { display: grid; grid-template-columns: 1fr .85fr; gap: clamp(40px, 8vw, 120px); align-items: end; }
.fit-copy { font-size: 1.04rem; line-height: 1.65; }
.fit-copy > p { margin-top: 0; }
.fit-copy ul { margin: 2rem 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(17,17,15,.3); }
.fit-copy li { padding: 1rem 0 1rem 1.5rem; border-bottom: 1px solid rgba(17,17,15,.3); position: relative; }
.fit-copy li::before { content: "↗"; position: absolute; left: 0; }

.pricing-table { min-width: 940px; border-top: 1px solid var(--line); }
.pricing { overflow: hidden; }
.pricing-table { overflow: visible; }
.pricing-row { display: grid; grid-template-columns: 1.35fr repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.pricing-row > span { padding: 1rem 1.2rem; border-left: 1px solid var(--line); }
.pricing-row > span:first-child { border-left: 0; padding-left: 0; color: var(--muted); }
.pricing-row .featured { background: rgba(199,255,61,.22); }
.pricing-head { font: 700 .92rem/1.2 "Manrope", sans-serif; }
.pricing-head b { display: block; width: fit-content; margin-top: .5rem; padding: .25rem .4rem; background: var(--lime); font-size: .54rem; text-transform: uppercase; letter-spacing: .08em; }
.pricing-price b { display: block; font: 700 clamp(1.5rem, 2.2vw, 2.5rem)/1 "Manrope", sans-serif; letter-spacing: -.05em; }
.pricing-price small { color: var(--muted); }
.pricing-actions a { display: block; width: fit-content; font-weight: 700; text-underline-offset: .25rem; }
.pricing-note { max-width: 820px; margin: 1.25rem 0 0; color: var(--muted); font-size: .74rem; line-height: 1.6; }
@media (max-width: 1000px) {
  .pricing-table { min-width: 0; overflow-x: auto; width: 100%; }
  .pricing-row { min-width: 940px; }
}

.addons .section-intro { margin-bottom: 2.5rem; }
.addon-list { border-top: 1px solid rgba(255,255,255,.17); }
.addon-list div { display: flex; justify-content: space-between; gap: 2rem; padding: 1.6rem 0; border-bottom: 1px solid rgba(255,255,255,.17); }
.addon-list span { font-size: clamp(1.15rem, 2vw, 1.8rem); }
.addon-list b { color: var(--lime); white-space: nowrap; }

.process-list { padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--line); }
.process-list li { display: grid; grid-template-columns: 90px 1fr; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.process-list li > span { width: 42px; height: 42px; display: grid; place-items: center; background: var(--ink); color: var(--lime); }
.process-list h3 { margin: 0; font: 700 1.4rem/1 "Manrope", sans-serif; }
.process-list p { margin: .6rem 0 0; max-width: 650px; color: var(--muted); line-height: 1.6; }

.contact { display: grid; grid-template-columns: .9fr 1fr; gap: clamp(50px, 10vw, 140px); align-items: start; }
.contact-copy { position: sticky; top: 110px; }
.contact-copy > p:not(.eyebrow) { max-width: 520px; color: rgba(255,255,255,.6); line-height: 1.7; }
.contact-copy > a { display: inline-block; margin-top: 2rem; color: var(--lime); text-underline-offset: .35rem; }
.audit-form { display: grid; gap: 1.2rem; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.audit-form label { display: grid; gap: .55rem; color: rgba(255,255,255,.64); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; }
.audit-form input, .audit-form select { width: 100%; min-height: 54px; border: 0; border-bottom: 1px solid rgba(255,255,255,.28); border-radius: 0; padding: .8rem 0; background: transparent; color: var(--white); outline: none; text-transform: none; letter-spacing: 0; }
.audit-form input:focus, .audit-form select:focus { border-bottom-color: var(--lime); }
.audit-form select { color-scheme: dark; }
.audit-form .button { width: 100%; margin-top: .7rem; }
.form-note { margin: 0; color: rgba(255,255,255,.45); font-size: .72rem; }

footer { padding: 3rem var(--gutter); background: #090907; color: var(--white); display: grid; grid-template-columns: 1fr 1fr auto; gap: 2rem; align-items: center; border-top: 1px solid rgba(255,255,255,.12); }
footer p { color: rgba(255,255,255,.5); font-size: .82rem; }
footer > div { display: flex; gap: 1.2rem; font-size: .78rem; }
footer small { grid-column: 1 / -1; color: rgba(255,255,255,.34); }

.reveal-on-scroll { opacity: 1; transform: none; }
.js .reveal-on-scroll { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.js .reveal-on-scroll.in-view { opacity: 1; transform: translateY(0); }

@keyframes rise { to { opacity: 1; transform: translateY(0); } }
@keyframes heroSettle { to { transform: scale(1); } }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (max-width: 820px) {
  .site-header { grid-template-columns: 1fr auto; height: 64px; }
  .site-header nav { display: none; }
  .header-cta { font-size: .72rem; }
  .hero-content { padding-top: 110px; padding-bottom: 50px; }
  .hero-shade { background: linear-gradient(90deg, rgba(7,8,6,.94), rgba(7,8,6,.48)), linear-gradient(0deg, rgba(7,8,6,.65), transparent 50%); }
  .hero-side-note { display: none; }
  .offer-step { grid-template-columns: 45px 1fr; gap: 1rem; }
  .offer-step p { grid-column: 2; }
  .work, .fit-grid, .contact { grid-template-columns: 1fr; }
  .work-copy, .contact-copy { position: static; padding-top: 0; }
  .service-line { grid-template-columns: 45px 1fr; gap: 1rem; }
  .service-tag { grid-column: 2; width: fit-content; }
  footer { grid-template-columns: 1fr; }
  footer small { grid-column: auto; }
}

@media (max-width: 540px) {
  .header-cta { padding: .6rem .75rem; border: 1px solid rgba(255,255,255,.4); }
  .header-cta span { display: none; }
  .hero h1 { font-size: clamp(2.75rem, 14vw, 4.2rem); }
  .hero-copy { font-size: .98rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: .7rem; }
  .hero-actions .button { width: 100%; }
  .campaign-visual img { min-height: 560px; }
  .campaign-crops { grid-template-columns: 1fr; }
  .addon-list div { flex-direction: column; gap: .5rem; }
  .field-pair { grid-template-columns: 1fr; }
  .process-list li { grid-template-columns: 58px 1fr; }
}

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