:root { --home-ink: #1e1727; --home-paper: #f7f4f0; --home-muted: #655e6a; }
html { scroll-behavior: smooth; }
body { color: var(--home-ink); background: var(--home-paper); }
body, button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid #b284f1; outline-offset: 4px; }
.home-skip { position: fixed; top: -100px; left: 18px; z-index: 100; padding: 12px 18px; border-radius: 999px; color: #21172c; background: #fff; text-decoration: none; }
.home-skip:focus { top: 14px; }
.landing { position: relative; min-height: max(720px, 100vh); min-height: max(720px, 100svh); overflow: hidden; color: #fff; background: #0e0a06; }
.landing #glow { pointer-events: none; }
.landing #markwrap, .landing .layer, .landing #scanbar, .landing #flare { pointer-events: none; }
.home-shell { width: min(calc(100% - 48px), 1240px); margin-inline: auto; }

/* Keep the original landing navigation, then condense it while reading the page. */
#sitenav { width: 100%; }
#sitenav .home-brand { display: none; align-items: center; gap: 9px; padding: 0; font-size: 12px; letter-spacing: .18em; white-space: nowrap; }
#sitenav .home-brand img { width: 27px; height: 27px; object-fit: contain; }
#sitenav .home-brand::before, #sitenav .home-brand::after { display: none; }
#sitenav .navlinks { align-items: center; gap: 12px clamp(16px, 2.4vw, 34px); }
#sitenav .navlinks a { font-size: clamp(11px, 1.08vw, 14px); letter-spacing: .13em; white-space: nowrap; }
#sitenav .navlinks .home-nav-cta { padding: 11px 15px; border: 1px solid rgba(255,255,255,.8); border-radius: 999px; opacity: 1; }
#sitenav .navlinks .home-nav-cta::after { display: none; }
.home-menu-toggle { display: none; }
body.home-scrolled #sitenav { top: 0; display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 25px; min-height: 68px; padding: 11px max(24px, calc((100vw - 1240px) / 2)); background: rgba(19, 13, 26, .94); box-shadow: 0 8px 30px rgba(0,0,0,.18); backdrop-filter: blur(14px); }
body.home-scrolled #sitenav .home-brand { display: inline-flex; }
body.home-scrolled #sitenav .navlinks { margin-left: auto; }
body.home-scrolled #sitenav .navlinks a { font-size: 11px; letter-spacing: .1em; }

/* The original contact statement remains, with a clearer path into the page. */
.landing #contact { bottom: 3vh; bottom: calc(3dvh + env(safe-area-inset-bottom, 0px)); }
.landing #contact .statement-lead { margin-bottom: 17px; }
.home-hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 23px; }
.home-pill, .landing #contact a.home-pill { display: inline-flex; align-items: center; justify-content: center; min-height: 45px; padding: 12px 20px; border: 1px solid transparent; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .1em; line-height: 1.2; text-align: center; text-decoration: none; text-transform: uppercase; transition: transform .2s ease, background .2s ease; }
.home-pill:hover, .landing #contact a.home-pill:hover { transform: translateY(-2px); text-shadow: none; }
.home-pill-light, .landing #contact a.home-pill-light { color: #20142c; background: #fff; }
.home-pill-outline, .landing #contact a.home-pill-outline { color: #fff; border-color: rgba(255,255,255,.7); background: transparent; }
.landing #contact a.home-pill { border-bottom-width: 1px; }
.landing #contact a.home-pill::before { display: none; }
.landing #contact .tagline { margin-bottom: 10px; }
.landing #contact .signoff { margin-top: 12px; color: rgba(218, 209, 240, .72); }

.home-proof { color: #fff; background: #201729; }
.home-proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.home-proof p { margin: 0; min-height: 100px; padding: 24px 30px; border-right: 1px solid rgba(255,255,255,.14); }
.home-proof p:first-child { padding-left: 0; }
.home-proof p:last-child { border: 0; }
.home-proof span { display: block; margin-bottom: 7px; color: #b6a7c1; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.home-proof strong { font-size: 15px; line-height: 1.35; }
.home-overview, .home-method, .home-about, .home-book { padding: clamp(76px, 9vw, 130px) 0; scroll-margin-top: 72px; }
.home-overview { background: #fbfaf8; }
.home-eyebrow { margin: 0 0 22px; font-size: 11px; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; }
.home-overview .home-eyebrow { color: #7844a5; }
.home-method .home-eyebrow { color: #7955a0; }
.home-about .home-eyebrow { color: #8053b4; }
.home-book .home-eyebrow { color: #ead0ff; }
.home-section-head { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(40px, 7vw, 100px); align-items: end; margin-bottom: clamp(42px, 6vw, 68px); }
.home-section-head h2, .home-about h2, .home-book h2 { max-width: 800px; margin: 0; font-size: clamp(37px, 5.2vw, 72px); line-height: 1.02; letter-spacing: -.055em; }
.home-section-head > p, .home-about-grid > div:last-child > p { margin: 0; color: var(--home-muted); font-size: clamp(16px, 1.45vw, 19px); line-height: 1.65; }
.home-offerings { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; }
.home-offer { display: flex; flex-direction: column; justify-content: space-between; min-height: 430px; padding: clamp(28px, 4vw, 48px); border-radius: 25px; overflow: hidden; position: relative; isolation: isolate; color: #fff; }
.home-offer::after { content: ''; position: absolute; z-index: -1; width: 300px; height: 300px; right: -85px; top: -80px; border: 46px solid rgba(255,255,255,.11); border-radius: 44% 56% 48% 52%; transform: rotate(22deg); }
.home-offer-enable { grid-row: span 2; min-height: 690px; background: radial-gradient(circle at 90% 10%, rgba(85,210,181,.36), transparent 35%), linear-gradient(145deg, #045852, #078b7c); }
.home-offer-websites { background: radial-gradient(circle at 92% 10%, rgba(208,104,249,.55), transparent 42%), linear-gradient(140deg, #5c22ae, #7b2ee0); }
.home-offer-apprentice { background: radial-gradient(circle at 95% 0%, rgba(178,213,255,.4), transparent 42%), linear-gradient(140deg, #3666ce, #527bf0); }
.home-offer-index { display: block; margin-bottom: 28px; color: rgba(255,255,255,.72); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.home-offer h3 { max-width: 560px; margin: 0 0 22px; font-size: clamp(32px, 4vw, 54px); line-height: 1.05; letter-spacing: -.055em; }
.home-offer:not(.home-offer-enable) h3 { font-size: clamp(32px, 3.3vw, 44px); }
.home-offer p { max-width: 50ch; margin: 0; color: rgba(255,255,255,.88); font-size: clamp(15px, 1.25vw, 18px); line-height: 1.62; }
.home-offer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; padding-top: 32px; }
.home-offer-bottom span { color: rgba(255,255,255,.68); font-size: 11px; font-weight: 700; letter-spacing: .07em; }
.home-offer-bottom a { display: inline-flex; align-items: center; min-height: 42px; padding: 10px 15px; border: 1px solid rgba(255,255,255,.75); border-radius: 999px; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .07em; text-decoration: none; text-transform: uppercase; }
.home-offer-bottom a:hover { color: #261b32; background: #fff; }
.home-offer-note { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 22px; padding: 24px 30px; border: 1px solid #ded5e5; border-radius: 18px; background: #f6f1f8; }
.home-offer-note strong { font-size: 17px; }
.home-offer-note span { flex: 1; min-width: 240px; color: #685f6e; font-size: 14px; line-height: 1.5; }
.home-offer-note a, .home-text-link { color: #63368c; font-size: 12px; font-weight: 700; letter-spacing: .09em; text-decoration-thickness: 1px; text-underline-offset: 5px; text-transform: uppercase; }
.home-method { background: #f2ede7; }
.home-method > .home-shell > .home-text-link { display: inline-block; margin-top: 30px; }
.home-about { background: #fff; }
.home-about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(50px, 8vw, 120px); }
.home-about-grid > div:last-child > p { margin-bottom: 24px; }
.home-about-grid .home-text-link { display: inline-block; margin-top: 12px; }
.home-book { color: #fff; background: radial-gradient(circle at 83% 15%, rgba(108,168,255,.65), transparent 34%), linear-gradient(130deg, #32104d, #6925c5 55%, #a629b7); }
.home-book-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 60px; align-items: end; }
.home-book h2 { max-width: 760px; }
.home-book p:not(.home-eyebrow) { max-width: 620px; margin: 22px 0 0; color: rgba(255,255,255,.82); font-size: 18px; line-height: 1.6; }
.home-book-actions { display: grid; gap: 12px; }
.home-book-actions .home-pill { width: 100%; }
.home-footer { padding: 52px 0 60px; color: #fff; background: #14101a; }
.home-footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.home-footer strong { font-size: 16px; letter-spacing: .16em; }
.home-footer p { margin: 12px 0 0; color: #bcb4c3; font-size: 14px; line-height: 1.6; }
.home-footer span { display: block; margin-bottom: 14px; color: #a99daf; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.home-footer a { display: block; width: fit-content; margin: 9px 0; color: #eee8f0; font-size: 14px; text-decoration: none; }
.home-footer a:hover { text-decoration: underline; }
.home-footer-follow { margin-top: 28px; }
.home-footer-emails { margin-top: 28px; }
.home-footer-emails a { overflow-wrap: anywhere; }

@media (max-width: 1000px) {
  body.home-scrolled #sitenav .navlinks { gap: 15px; }
  body.home-scrolled #sitenav .navlinks a { font-size: 10px; }
  .home-offerings { grid-template-columns: 1fr 1fr; }
  .home-offer-enable { grid-row: auto; grid-column: 1 / -1; min-height: 460px; }
  .home-offer-websites, .home-offer-apprentice { min-height: 450px; }
}
@media (max-width: 860px) {
  #sitenav, body.home-scrolled #sitenav { top: 0; display: flex; flex-direction: row; align-items: center; justify-content: space-between; min-height: 68px; padding: 12px 18px; }
  #sitenav .home-brand, body.home-scrolled #sitenav .home-brand { display: inline-flex; }
  #sitenav .home-menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; margin-left: auto; border: 1px solid rgba(255,255,255,.8); border-radius: 50%; color: #fff; background: transparent; font: 700 18px/1 Montserrat, sans-serif; }
  #sitenav .navlinks, body.home-scrolled #sitenav .navlinks { position: absolute; top: 68px; right: 18px; left: 18px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 18px; background: #21162e; box-shadow: 0 18px 50px rgba(0,0,0,.35); }
  #sitenav .navlinks.open, body.home-scrolled #sitenav .navlinks.open { display: flex; }
  #sitenav .navlinks a, body.home-scrolled #sitenav .navlinks a { display: block; padding: 13px; font-size: 12px; }
  #sitenav .navlinks a::before, #sitenav .navlinks a::after { display: none; }
  #sitenav .navlinks .home-nav-cta { margin-top: 9px; text-align: center; }
}
@media (max-width: 760px) {
  .home-shell { width: min(calc(100% - 36px), 1240px); }
  .landing { min-height: max(760px, 100svh); }
  .landing #contact { bottom: 22px; }
  .landing #contact .statement-lead { margin-bottom: 14px; }
  .home-hero-actions { margin-bottom: 17px; }
  .home-proof-grid { grid-template-columns: 1fr; }
  .home-proof p, .home-proof p:first-child { min-height: auto; padding: 19px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .home-section-head, .home-about-grid, .home-book-grid { grid-template-columns: 1fr; gap: 24px; }
  .home-offerings { grid-template-columns: 1fr; }
  .home-offer-enable, .home-offer-websites, .home-offer-apprentice { grid-column: auto; min-height: 390px; }
  .home-footer-grid { grid-template-columns: 1fr 1fr; }
  .home-footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .landing { min-height: max(740px, 100svh); }
  /* Lift the whole message above mobile browser controls without moving the animated mark. */
  .landing #contact { bottom: calc(clamp(115px, 15svh, 155px) + env(safe-area-inset-bottom, 0px)); }
  .home-hero-actions { gap: 8px; }
  .landing #contact a.home-pill { min-height: 42px; padding: 10px 13px; font-size: 10px; letter-spacing: .045em; }
  .landing #contact .signoff { display: block; }
  .home-overview, .home-method, .home-about, .home-book { padding: 76px 0; }
  .home-offer { padding: 28px; border-radius: 18px; }
  .home-offer-bottom { align-items: start; flex-direction: column; gap: 14px; }
  .home-offer-note { padding: 22px; }
  .home-footer-grid { grid-template-columns: 1fr; }
  .home-footer-grid > div:first-child { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .home-pill { transition: none; } }
