:root {
  --navy: #0b2d3a;
  --navy-2: #071f29;
  --teal: #20a697;
  --teal-light: #62d5c8;
  --amber: #f2a43a;
  --sand: #f7f5f0;
  --white: #ffffff;
  --slate: #50636b;
  --line: rgba(11, 45, 58, 0.14);
  --shadow: 0 30px 80px rgba(4, 25, 33, 0.14);
  --radius: 1.5rem;
  --ease: cubic-bezier(.2,.75,.25,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; color: var(--navy); background: var(--sand); font-family: "Manrope", "Segoe UI", sans-serif; font-size: 1rem; line-height: 1.6; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 1000; padding: .8rem 1rem; background: var(--white); border-radius: .6rem; }
.skip-link:focus { top: 1rem; }

.site-header { position: fixed; inset: 1rem 2.2rem auto; z-index: 100; min-height: 4.6rem; padding: .65rem .8rem .65rem 1.15rem; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; border: 1px solid rgba(255,255,255,.15); border-radius: 1.2rem; background: rgba(247,245,240,.88); box-shadow: 0 10px 40px rgba(4,25,33,.08); backdrop-filter: blur(18px); transition: transform .35s var(--ease), background .35s ease; }
.site-header.scrolled { background: rgba(247,245,240,.96); }
.brand { width: 15rem; }
.brand img { width: 100%; }
.desktop-nav { display: flex; gap: 2rem; align-items: center; }
.desktop-nav a { position: relative; font-size: .88rem; font-weight: 700; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; bottom: -.35rem; width: 100%; height: 2px; background: var(--teal); transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease); }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.header-cta { justify-self: end; display: inline-flex; align-items: center; gap: .55rem; padding: .8rem 1rem; color: white; background: var(--navy); border-radius: .75rem; font-size: .84rem; font-weight: 700; }
.header-cta span { color: var(--amber); }
.menu-button, .mobile-menu { display: none; }

.hero { position: relative; min-height: 100svh; display: grid; align-items: center; padding: 9rem clamp(1.3rem, 5vw, 6rem) 5rem; background: radial-gradient(circle at 10% 15%, rgba(32,166,151,.11), transparent 28%), var(--sand); }
.hero-grid { width: min(100%, 88rem); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(26rem, .86fr); gap: clamp(2.5rem, 6vw, 7rem); align-items: center; }
.eyebrow { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.5rem; color: var(--teal); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow span { width: 2.8rem; height: 2px; background: currentColor; }
.hero h1 { max-width: 13ch; margin: 0; font-size: clamp(3.2rem, 5.9vw, 6.25rem); line-height: .98; letter-spacing: -.062em; }
.hero h1 em { color: var(--teal); font-style: normal; position: relative; }
.hero h1 em::after { content: ""; position: absolute; left: .05em; right: -.05em; bottom: -.05em; height: .09em; border-radius: 99px; background: var(--amber); transform: rotate(-2deg); }
.hero-copy > p { max-width: 39rem; margin: 1.8rem 0 2rem; color: var(--slate); font-size: clamp(1.05rem, 1.4vw, 1.24rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1.1rem 1.6rem; align-items: center; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: .7rem; min-height: 3.5rem; padding: .85rem 1.25rem; border-radius: .75rem; font-size: .92rem; font-weight: 800; transition: transform .25s var(--ease), box-shadow .25s ease, background .25s ease; }
.button:hover { transform: translateY(-3px); }
.button-primary { color: white; background: var(--navy); box-shadow: 0 14px 32px rgba(11,45,58,.18); }
.button-primary span { color: var(--amber); }
.text-link { font-weight: 800; border-bottom: 1px solid var(--line); padding-block: .5rem; }
.text-link span { color: var(--teal); }
.hero-proof { margin-top: 3.5rem; display: flex; align-items: center; gap: .8rem; color: var(--slate); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hero-proof i { width: .24rem; height: .24rem; border-radius: 50%; background: var(--amber); }

.hero-media { position: relative; min-width: 0; }
.video-frame { position: relative; aspect-ratio: 4 / 5.25; max-height: 71svh; overflow: hidden; border-radius: 9rem 1.6rem 9rem 1.6rem; background: var(--navy); box-shadow: var(--shadow); isolation: isolate; }
.video-frame video { width: 100%; height: 118%; object-fit: cover; object-position: 50% 50%; filter: saturate(.7) contrast(1.03); transform: translateY(var(--video-y, -7%)) scale(1.04); }
.video-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(7,31,41,.05), rgba(7,31,41,.78)), linear-gradient(115deg, rgba(32,166,151,.2), transparent 45%); }
.orbit { position: absolute; z-index: 2; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; pointer-events: none; }
.orbit::before { content: ""; position: absolute; width: .65rem; height: .65rem; border-radius: 50%; background: var(--amber); top: -.35rem; left: 50%; box-shadow: 0 0 0 .35rem rgba(242,164,58,.14); }
.orbit-one { width: 78%; aspect-ratio: 1; right: -28%; bottom: 8%; animation: spin 18s linear infinite; }
.orbit-two { width: 46%; aspect-ratio: 1; left: -20%; top: 10%; animation: spin 12s linear infinite reverse; }
.video-label { position: absolute; z-index: 3; left: 2rem; bottom: 2rem; color: white; }
.video-label span { display: block; margin-bottom: .3rem; color: var(--teal-light); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.video-label strong { font-size: 1.1rem; }
.video-control { position: absolute; z-index: 4; right: 1.5rem; top: 1.5rem; width: 2.8rem; height: 2.8rem; display: grid; place-items: center; color: white; background: rgba(7,31,41,.58); border: 1px solid rgba(255,255,255,.45); border-radius: 50%; cursor: pointer; backdrop-filter: blur(8px); }
.floating-note { position: absolute; z-index: 5; display: flex; align-items: center; gap: .6rem; padding: .75rem 1rem; color: var(--navy); background: rgba(255,255,255,.93); border-radius: .8rem; box-shadow: 0 13px 35px rgba(7,31,41,.14); font-size: .78rem; font-weight: 800; animation: float 4s ease-in-out infinite; }
.floating-note span { color: var(--teal); }
.note-top { left: -3rem; top: 16%; }
.note-bottom { right: -2rem; bottom: 16%; animation-delay: -2s; }
.hero-scroll { position: absolute; left: clamp(1.3rem, 5vw, 6rem); bottom: 1.5rem; display: flex; align-items: center; gap: .65rem; color: var(--slate); font-size: .67rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero-scroll span { width: 2.8rem; height: 1px; overflow: hidden; background: var(--line); }
.hero-scroll span::after { content: ""; display: block; width: 55%; height: 100%; background: var(--teal); animation: slide 2s ease-in-out infinite; }

.service-marquee { overflow: hidden; color: white; background: var(--navy); border-block: 1px solid rgba(255,255,255,.1); transform: rotate(-1deg) scale(1.02); }
.marquee-track { width: max-content; display: flex; align-items: center; gap: 1.5rem; padding: 1rem 0; animation: marquee 30s linear infinite; }
.marquee-track span { font-size: .8rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.marquee-track b { color: var(--amber); font-size: .8rem; }

.section { padding: clamp(5.5rem, 10vw, 10rem) clamp(1.3rem, 5vw, 6rem); }
.section-intro { width: min(100%, 88rem); margin: 0 auto clamp(3.5rem, 6vw, 6rem); display: grid; grid-template-columns: .6fr 1.4fr; gap: 2rem; }
.section-number { color: var(--teal); font-size: .76rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.section-number.light { color: var(--teal-light); }
.section h2, .closing h2 { margin: 0; font-size: clamp(2.45rem, 4.35vw, 4.8rem); line-height: 1.05; letter-spacing: -.05em; }
.section-intro p { max-width: 43rem; margin: 1.25rem 0 0; color: var(--slate); font-size: 1.08rem; }

.service-grid { width: min(100%, 88rem); margin: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.service-card { min-height: 29rem; padding: 1.6rem; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.5); transition: transform .35s var(--ease), background .35s ease, box-shadow .35s ease; }
.service-card:hover { transform: translateY(-8px); background: white; box-shadow: 0 24px 60px rgba(7,31,41,.09); }
.service-card.featured { color: white; background: var(--navy); }
.service-card.featured p, .service-card.featured li { color: rgba(255,255,255,.72); }
.service-card.featured .card-index { color: var(--teal-light); }
.card-index { color: var(--teal); font-size: .76rem; font-weight: 800; }
.card-icon { width: 4rem; height: 4rem; margin: 2.2rem 0 3.1rem; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; color: var(--amber); font-size: 1.7rem; }
.service-card h3 { margin: 0 0 .8rem; font-size: 1.45rem; line-height: 1.2; }
.service-card p { margin: 0 0 1.4rem; color: var(--slate); }
.service-card ul { margin: auto 0 0; padding: 1.2rem 0 0; list-style: none; border-top: 1px solid var(--line); }
.service-card li { display: flex; gap: .6rem; color: var(--slate); font-size: .83rem; line-height: 1.8; }
.service-card li::before { content: "+"; color: var(--teal); font-weight: 900; }

.method { position: relative; min-height: 56rem; display: grid; grid-template-columns: minmax(20rem, .85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(3rem, 8vw, 10rem); overflow: hidden; color: white; background: var(--navy); }
.method::before { content: ""; position: absolute; width: 42rem; height: 42rem; border-radius: 50%; left: -21rem; top: -21rem; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 0 0 6rem rgba(255,255,255,.018), 0 0 0 12rem rgba(255,255,255,.018); }
.method-compass { position: relative; display: grid; place-items: center; }
.method-compass img { width: min(100%, 34rem); filter: brightness(0) invert(1); opacity: .95; animation: breathe 6s ease-in-out infinite; }
.compass-pulse { position: absolute; width: 36%; aspect-ratio: 1; border: 1px solid var(--amber); border-radius: 50%; animation: pulse 2.5s ease-out infinite; }
.method-content { position: relative; z-index: 2; }
.method h2 { margin: 1.4rem 0 3rem; max-width: 12ch; }
.steps { border-top: 1px solid rgba(255,255,255,.2); }
.step { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.4rem 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.step > span { color: var(--amber); font-size: .76rem; font-weight: 800; }
.step h3 { margin: 0 0 .25rem; font-size: 1.25rem; }
.step p { margin: 0; color: rgba(255,255,255,.64); }

.diff-list { width: min(100%, 88rem); margin: auto; border-top: 1px solid var(--line); }
.diff-row { display: grid; grid-template-columns: 4rem .85fr 1.2fr 3rem; align-items: center; gap: 1.5rem; padding: 2rem .2rem; border-bottom: 1px solid var(--line); transition: padding .3s var(--ease), background .3s ease; }
.diff-row:hover { padding-inline: 1rem; background: rgba(255,255,255,.48); }
.diff-row > span { color: var(--teal); font-size: .75rem; font-weight: 800; }
.diff-row h3 { margin: 0; font-size: 1.25rem; }
.diff-row p { margin: 0; color: var(--slate); }
.diff-row b { justify-self: end; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 1px solid var(--line); border-radius: 50%; color: var(--teal); }

.closing { position: relative; min-height: 45rem; padding: 8rem 1.5rem; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; overflow: hidden; color: white; background: var(--navy-2); }
.closing > * { position: relative; z-index: 2; }
.closing-symbol { width: 7rem; margin-bottom: 2rem; filter: brightness(0) invert(1); }
.eyebrow.light { color: var(--teal-light); }
.closing h2 { max-width: 18ch; margin-bottom: 2.5rem; }
.button-accent { color: var(--navy); background: var(--amber); box-shadow: 0 16px 45px rgba(242,164,58,.18); }
.closing-orbit { position: absolute; width: 60rem; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: 0 0 0 8rem rgba(255,255,255,.015), 0 0 0 16rem rgba(255,255,255,.015); animation: spin 45s linear infinite; }
.closing-orbit::after { content: ""; position: absolute; width: 1rem; height: 1rem; left: 10%; top: 18%; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 .6rem rgba(242,164,58,.12); }

footer { padding: 3rem clamp(1.3rem, 5vw, 6rem); display: grid; grid-template-columns: 1fr 1.3fr; gap: 1rem 4rem; align-items: end; background: var(--sand); }
.footer-brand { width: 13rem; }
footer > p { margin: 0; justify-self: end; color: var(--slate); }
.footer-meta { grid-column: 1 / -1; margin-top: 2rem; padding-top: 1.5rem; display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); color: var(--slate); font-size: .72rem; }
.footer-meta a:hover { color: var(--teal); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes slide { 0%,100% { transform: translateX(-110%); } 50% { transform: translateX(180%); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes breathe { 50% { transform: scale(1.035) rotate(1.5deg); } }
@keyframes pulse { 0% { transform: scale(.75); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }

@media (max-width: 1040px) {
  .site-header { grid-template-columns: 1fr auto auto; inset-inline: 1rem; }
  .desktop-nav, .header-cta { display: none; }
  .menu-button { display: grid; gap: .36rem; place-content: center; width: 3rem; height: 3rem; color: var(--navy); background: transparent; border: 1px solid var(--line); border-radius: .75rem; cursor: pointer; }
  .menu-button span:not(.sr-only) { display: block; width: 1.2rem; height: 2px; background: currentColor; transition: transform .25s ease; }
  .menu-button[aria-expanded="true"] span:nth-last-child(2) { transform: translateY(4px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mobile-menu { position: absolute; inset: calc(100% + .55rem) 0 auto; padding: .8rem; display: grid; gap: .25rem; visibility: hidden; opacity: 0; transform: translateY(-8px); border: 1px solid var(--line); border-radius: 1rem; background: rgba(247,245,240,.98); box-shadow: var(--shadow); transition: opacity .25s ease, transform .25s ease, visibility .25s; }
  .mobile-menu.open { visibility: visible; opacity: 1; transform: none; }
  .mobile-menu a { padding: .9rem 1rem; border-radius: .65rem; font-weight: 700; }
  .mobile-menu a:last-child { color: white; background: var(--navy); }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 2rem; }
  .hero h1 { font-size: clamp(3rem, 6.5vw, 4.9rem); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .method { gap: 3rem; }
}

@media (max-width: 760px) {
  .site-header { inset: .7rem .75rem auto; min-height: 4.2rem; }
  .brand { width: 12rem; }
  .hero { min-height: auto; padding: 7.8rem 1.2rem 4rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { order: 1; }
  .hero-media { order: 2; margin-top: 1rem; }
  .hero h1 { font-size: clamp(2.75rem, 13.2vw, 4.35rem); }
  .hero-proof { margin-top: 2.2rem; gap: .55rem; font-size: .64rem; }
  .video-frame { aspect-ratio: 4 / 4.7; max-height: none; border-radius: 5.5rem 1.2rem 5.5rem 1.2rem; }
  .note-top { left: -.4rem; top: 12%; }
  .note-bottom { right: -.4rem; bottom: 14%; }
  .hero-scroll { display: none; }
  .section { padding: 5.5rem 1.2rem; }
  .section-intro { grid-template-columns: 1fr; gap: 1.3rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 26rem; }
  .method { grid-template-columns: 1fr; min-height: auto; }
  .method-compass img { width: 16rem; }
  .method h2 { max-width: 11ch; }
  .diff-row { grid-template-columns: 2.4rem 1fr 2.5rem; gap: 1rem; }
  .diff-row p { grid-column: 2 / -1; }
  .diff-row b { grid-column: 3; grid-row: 1; }
  .closing { min-height: 38rem; padding-inline: 1.2rem; }
  footer { grid-template-columns: 1fr; align-items: start; }
  footer > p { justify-self: start; }
  .footer-meta { flex-direction: column; }
}

@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 { opacity: 1; transform: none; }
}
