:root {
  --ink: #102233;
  --muted: #587083;
  --paper: #f8fbfd;
  --white: #fff;
  --line: rgba(48, 94, 114, .18);
  --emerald: #087d70;
  --cyan: #24b5d8;
  --violet: #7657d7;
  --night: #071724;
  --radius: 22px;
  --shadow: 0 24px 70px rgba(22, 76, 95, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Manrope, sans-serif; line-height: 1.65; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(circle at 8% 5%, rgba(56, 233, 190, .1), transparent 25%), radial-gradient(circle at 94% 16%, rgba(118, 87, 215, .12), transparent 28%), linear-gradient(115deg, transparent 40%, rgba(36, 181, 216, .045) 41%, transparent 43%); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Space Grotesk", sans-serif; line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(3rem, 6.5vw, 6.8rem); max-width: 12ch; margin-bottom: 28px; }
h2 { font-size: clamp(2rem, 4vw, 3.75rem); margin-bottom: 18px; }
h3 { font-size: 1.42rem; }
.skip { position: fixed; top: -80px; left: 20px; z-index: 100; padding: 12px 18px; background: #fff; border-radius: 8px; }
.skip:focus { top: 16px; }
.site-header { width: min(1440px, calc(100% - 48px)); margin: 0 auto; height: 92px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: "Space Grotesk"; font-weight: 600; font-size: 1.05rem; text-decoration: none; letter-spacing: -.02em; }
.brand svg { width: 31px; fill: none; stroke: var(--emerald); stroke-width: 1.6; }
nav { display: flex; align-items: center; gap: 32px; }
nav a { text-decoration: none; font-weight: 600; font-size: .88rem; }
nav a:hover, .text-link:hover { color: var(--emerald); }
.nav-cta { padding: 11px 17px; border: 1px solid var(--line); border-radius: 100px; background: rgba(255,255,255,.6); }
.nav-toggle { display: none; }
.hero, .section, .evidence-section, .testimonial, .page-hero, .detail-hero, .detail-content, .contact-layout, .article, .prose-section { width: min(1280px, calc(100% - 48px)); margin-left: auto; margin-right: auto; }
.home-hero { min-height: 720px; display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center; padding: 60px 0 100px; }
.eyebrow { color: var(--emerald); font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 17px; }
.lede { color: var(--muted); font-size: clamp(1.1rem, 1.8vw, 1.38rem); line-height: 1.6; max-width: 650px; }
.actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 36px; }
.button { position: relative; display: inline-flex; justify-content: center; border: 0; border-radius: 10px 22px 10px 22px; padding: 14px 22px; overflow: hidden; color: #fff; background: linear-gradient(120deg, #087d70, #2c9bb4); box-shadow: 0 12px 30px rgba(8,125,112,.2); font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.button::after { content: ""; position: absolute; inset: -80% -20%; transform: translateX(-130%) rotate(20deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); transition: transform .7s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(8,125,112,.28); }
.button:hover::after { transform: translateX(130%) rotate(20deg); }
.button.secondary { color: var(--ink); background: rgba(255,255,255,.72); border: 1px solid var(--line); box-shadow: none; }
.text-link { font-weight: 700; text-decoration: none; }
.text-link span, .service-card a span { display: inline-block; transition: transform .2s; }
.text-link:hover span, .service-card a:hover span { transform: translateX(4px); }
.crystal-stage { position: relative; min-height: 530px; perspective: 900px; }
.crystal { position: absolute; display: grid; place-items: center; color: #075a63; font-weight: 700; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; border: 1px solid rgba(255,255,255,.7); box-shadow: inset 0 0 35px rgba(255,255,255,.55), 0 30px 60px rgba(55,92,119,.18); backdrop-filter: blur(9px); clip-path: polygon(50% 0, 94% 23%, 82% 84%, 50% 100%, 15% 83%, 5% 25%); animation: float 7s ease-in-out infinite; }
.crystal::after { content: ""; position: absolute; inset: 8% 24%; border-left: 1px solid rgba(255,255,255,.8); transform: skew(-12deg); }
.crystal-one { width: 180px; height: 360px; top: 72px; left: 10%; background: linear-gradient(145deg, rgba(134,255,221,.5), rgba(75,207,242,.15) 50%, rgba(255,255,255,.7)); transform: rotate(-12deg); }
.crystal-two { width: 210px; height: 450px; top: 15px; left: 34%; background: linear-gradient(135deg, rgba(255,255,255,.75), rgba(103,215,239,.24) 45%, rgba(154,103,240,.25)); animation-delay: -2s; }
.crystal-three { width: 150px; height: 310px; top: 120px; right: 2%; background: linear-gradient(150deg, rgba(183,150,255,.42), rgba(255,255,255,.67) 55%, rgba(77,238,196,.28)); transform: rotate(13deg); animation-delay: -4s; }
@keyframes float { 0%,100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.signal-card { position: absolute; right: 4%; bottom: 4%; z-index: 3; width: 290px; padding: 22px; border: 1px solid rgba(255,255,255,.9); border-radius: 12px 30px 12px 30px; background: rgba(255,255,255,.75); box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.signal-card small { color: var(--violet); font-weight: 700; letter-spacing: .12em; }
.signal-card strong { display: block; margin: 8px 0; line-height: 1.35; }
.signal-card p { margin: 0; color: var(--muted); font-size: .8rem; }
.problem-band { padding: 100px max(24px, calc((100% - 1040px)/2)); color: #eefcff; background: var(--night); text-align: center; position: relative; overflow: hidden; }
.problem-band::before { content: ""; position: absolute; width: 700px; height: 300px; top: -170px; left: 20%; background: radial-gradient(ellipse, rgba(39,226,182,.38), rgba(73,111,245,.2) 40%, transparent 70%); filter: blur(20px); }
.problem-band .eyebrow { color: #74edcf; }
.problem-band blockquote { position: relative; margin: 0 auto 26px; max-width: 890px; font: 500 clamp(2rem, 4vw, 4rem)/1.18 "Space Grotesk"; letter-spacing: -.04em; }
.problem-band > p:last-child { max-width: 700px; margin: auto; color: #a8c0cc; }
.section { padding-top: 120px; padding-bottom: 120px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 50px; }
.section-heading h2 { max-width: 670px; margin-bottom: 0; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card, .post-card { overflow: hidden; border: 1px solid rgba(255,255,255,.86); border-radius: var(--radius); background: rgba(255,255,255,.66); box-shadow: 0 12px 40px rgba(57,100,120,.08); }
.image-wrap { overflow: hidden; }
.service-card img { width: 100%; height: 225px; object-fit: cover; transition: transform .5s; }
.service-card:hover img { transform: scale(1.035); }
.card-body { padding: 28px; }
.card-body p:not(.eyebrow) { color: var(--muted); }
.card-body a { color: var(--emerald); font-weight: 700; text-decoration: none; font-size: .9rem; }
.evidence-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; padding: 110px 80px; border: 1px solid rgba(255,255,255,.8); border-radius: 35px 80px 35px 80px; background: linear-gradient(135deg, rgba(255,255,255,.83), rgba(222,250,247,.55), rgba(238,231,255,.5)); box-shadow: var(--shadow); }
.evidence-section > div:first-child p:last-child, .evidence-list p { color: var(--muted); }
.evidence-list article { position: relative; padding: 0 0 28px 60px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.evidence-list article:last-child { border: 0; margin: 0; }
.evidence-list span { position: absolute; left: 0; color: var(--violet); font-family: "Space Grotesk"; }
.testimonial { padding: 130px 0; text-align: center; }
.testimonial blockquote { max-width: 980px; margin: auto; font: 500 clamp(1.8rem, 3.3vw, 3.4rem)/1.35 "Space Grotesk"; letter-spacing: -.035em; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.post-card { padding-bottom: 26px; }
.post-card img { width: 100%; height: 200px; object-fit: cover; margin-bottom: 25px; filter: saturate(.8); }
.post-card > :not(img) { margin-left: 25px; margin-right: 25px; }
.post-card h3 a, .post-card h2 a { text-decoration: none; }
.post-card p:not(.eyebrow) { color: var(--muted); }
.final-cta { position: relative; overflow: hidden; padding: 110px 24px; color: white; text-align: center; background: #071724; }
.final-cta::before { content: ""; position: absolute; inset: -100px 20% auto; height: 300px; background: radial-gradient(ellipse, rgba(32,220,184,.48), rgba(111,69,220,.2) 50%, transparent 72%); filter: blur(25px); }
.final-cta > * { position: relative; }
.final-cta .eyebrow { color: #69eecb; }
.final-cta h2 { max-width: 800px; margin: 0 auto 35px; }
.final-cta.compact { margin-top: 100px; padding: 80px 24px; }
.page-hero { padding: 110px 0 80px; }
.page-hero h1 { max-width: 900px; }
.split-hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: end; }
.prose-section { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; padding-bottom: 120px; }
.prose-section article { padding: 40px; background: rgba(255,255,255,.68); border: 1px solid rgba(255,255,255,.9); border-radius: 16px 40px 16px 40px; }
.prose-section article p { color: var(--muted); margin-bottom: 0; }
.prose-section article h2 { font-size: 1.7rem; }
.process-grid { grid-template-columns: repeat(4, 1fr); }
.process-grid article { padding: 30px; }
.service-list { padding-top: 30px; }
.service-list article { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: center; padding: 55px 0; border-bottom: 1px solid var(--line); }
.service-list article:nth-child(even) .image-wrap { order: 2; }
.service-list img { width: 100%; height: 380px; object-fit: cover; border-radius: 20px 70px 20px 70px; }
.service-list ul, .detail-content ul { padding: 0; list-style: none; }
.service-list li, .detail-content li { padding: 8px 0 8px 24px; border-bottom: 1px solid var(--line); }
.service-list li::before, .detail-content li::before { content: "◇"; margin-left: -24px; margin-right: 10px; color: var(--emerald); }
.timing { color: var(--violet); font-weight: 700; font-size: .85rem; margin: 22px 0; }
.detail-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 630px; gap: 70px; align-items: center; padding: 70px 0; }
.detail-hero img { width: 100%; height: 510px; object-fit: cover; border-radius: 35px 100px 35px 100px; }
.detail-content { display: grid; grid-template-columns: 1.3fr .7fr; gap: 80px; padding: 100px 0; }
.detail-content aside { padding: 35px; background: rgba(255,255,255,.72); border: 1px solid white; border-radius: var(--radius); }
.post-index { padding-top: 20px; }
.article { padding: 100px 0 130px; }
.article header { max-width: 900px; margin-bottom: 60px; }
.article-cover { width: 100%; height: min(54vw, 600px); object-fit: cover; border-radius: 30px 90px 30px 90px; }
.article-body { max-width: 760px; margin: 60px auto 0; font-size: 1.08rem; }
.article-body p { margin-bottom: 28px; }
.article-body aside { margin-top: 55px; padding: 32px; border-left: 3px solid var(--emerald); background: #fff; }
.article-body aside p { margin: 8px 0; color: var(--muted); }
.article-body aside a { color: var(--emerald); font-weight: 700; }
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; padding: 100px 0 130px; }
.contact-layout h1 { font-size: clamp(2.8rem,5vw,5rem); }
.contact-details { margin-top: 50px; }
.contact-details div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-details small { display: block; color: var(--emerald); font-weight: 700; letter-spacing: .12em; }
.contact-details a { text-decoration: none; }
address { font-style: normal; color: var(--muted); }
.contact-form { padding: 42px; background: rgba(255,255,255,.8); border: 1px solid white; border-radius: 25px 70px 25px 70px; box-shadow: var(--shadow); }
.contact-form label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 21px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
input, textarea { width: 100%; margin-top: 8px; padding: 13px 14px; color: var(--ink); background: #f8fbfc; border: 1px solid var(--line); border-radius: 8px 16px 8px 16px; outline: 0; }
input:focus, textarea:focus { border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(8,125,112,.12); }
.checkbox { display: grid !important; grid-template-columns: 20px 1fr; gap: 10px; font-weight: 500 !important; }
.checkbox input { width: 18px; margin-top: 4px; }
.checkbox .field-error { grid-column: 2; }
.field-error { display: block; color: #a43a57; font-weight: 500; font-size: .78rem; margin-top: 4px; }
.invalid { border-color: #b54261; }
.form-status { min-height: 25px; margin: 18px 0 0; font-weight: 700; }
.form-status.success { color: var(--emerald); }
.form-status.error, .inline-error { color: #b23d5e; }
.not-found { min-height: 680px; display: grid; place-content: center; justify-items: center; text-align: center; padding: 60px 24px; }
.not-found h1 { font-size: clamp(2.5rem,5vw,5rem); }
.error-crystal { width: 170px; height: 190px; display: grid; place-items: center; margin-bottom: 25px; color: var(--violet); background: linear-gradient(135deg, rgba(85,234,201,.3), rgba(255,255,255,.7), rgba(129,82,230,.3)); clip-path: polygon(50% 0, 95% 25%, 80% 88%, 50% 100%, 15% 85%, 5% 25%); font: 600 2rem "Space Grotesk"; }
.site-footer { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 50px; padding: 75px max(24px, calc((100% - 1280px)/2)) 35px; color: #b5c7d0; background: #06121d; }
.site-footer strong { display: block; color: #fff; font-family: "Space Grotesk"; margin-bottom: 14px; }
.site-footer a { display: block; width: fit-content; color: inherit; text-decoration: none; margin-bottom: 7px; }
.site-footer a:hover { color: #69eecb; }
.footer-brand { color: #fff !important; font-size: 1.2rem; }
.site-footer p { max-width: 300px; }
.site-footer small { grid-column: 1/-1; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.1); }
.link-button { padding: 0; border: 0; color: inherit; background: none; cursor: pointer; }
.cookie-banner { position: fixed; z-index: 20; right: 22px; bottom: 22px; width: min(620px, calc(100% - 44px)); padding: 24px; border: 1px solid rgba(255,255,255,.8); border-radius: 16px 36px 16px 36px; background: rgba(248,252,253,.94); box-shadow: 0 24px 80px rgba(3,27,40,.24); backdrop-filter: blur(18px); }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { color: var(--muted); margin: 5px 0 0; font-size: .88rem; }
.cookie-actions { display: flex; gap: 10px; margin-top: 18px; }

@media (max-width: 980px) {
  .nav-toggle { display: block; padding: 9px 14px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
  nav { display: none; position: absolute; z-index: 10; top: 80px; left: 24px; right: 24px; padding: 22px; flex-direction: column; align-items: stretch; background: rgba(255,255,255,.98); border-radius: 18px; box-shadow: var(--shadow); }
  nav.open { display: flex; }
  .home-hero, .split-hero, .detail-hero, .detail-content, .contact-layout, .evidence-section { grid-template-columns: 1fr; }
  .home-hero { padding-top: 40px; }
  .crystal-stage { min-height: 480px; }
  .service-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .evidence-section { padding: 70px 45px; gap: 40px; }
  .site-footer { grid-template-columns: 2fr 1fr 1fr; }
  .site-footer > div:last-of-type { grid-column: 1/-1; }
}

@media (max-width: 650px) {
  .site-header, .hero, .section, .evidence-section, .testimonial, .page-hero, .detail-hero, .detail-content, .contact-layout, .article, .prose-section { width: min(100% - 32px, 1280px); }
  .site-header { height: 76px; }
  h1 { font-size: clamp(2.6rem, 13vw, 4.3rem); }
  .home-hero { min-height: auto; padding-bottom: 60px; }
  .crystal-stage { min-height: 390px; transform: scale(.85); margin: -30px -25px; }
  .signal-card { right: 0; }
  .section { padding-top: 80px; padding-bottom: 80px; }
  .section-heading { align-items: start; flex-direction: column; }
  .service-grid, .post-grid, .prose-section, .process-grid { grid-template-columns: 1fr; }
  .evidence-section { padding: 50px 25px; border-radius: 24px 50px; }
  .testimonial { padding: 90px 0; }
  .page-hero { padding: 80px 0 50px; }
  .service-list article { grid-template-columns: 1fr; gap: 30px; }
  .service-list article:nth-child(even) .image-wrap { order: 0; }
  .service-list img, .detail-hero img { height: 300px; }
  .detail-hero { gap: 25px; }
  .contact-layout { padding-top: 70px; gap: 50px; }
  .contact-form { padding: 27px 20px; border-radius: 18px 40px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .article-cover { border-radius: 20px 50px; }
  .site-footer { grid-template-columns: 1fr 1fr; gap: 35px; }
  .site-footer > div:first-child, .site-footer > div:last-of-type { grid-column: 1/-1; }
  .cookie-actions { flex-direction: column-reverse; }
}

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