@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

/* Avenzo visual system: refined typography, clear hierarchy, subtle spatial depth. */
:root {
  --ink: #172021;
  --text: #3c4b4a;
  --mute: #64716f;
  --paper: #f8faf8;
  --cream: #edf2ee;
  --line: #dbe3df;
  --orange: #d95740;
  --night: #101f21;
  --sage: #cddfd6;
  --shadow: 0 22px 68px rgba(12, 32, 34, .12);
  --radius: 20px;
}
html { scroll-padding-top: 98px; }
body { font-family: 'Manrope', Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 15.5px; line-height: 1.7; text-rendering: optimizeLegibility; }
h1, h2, h3 { font-family: inherit; font-weight: 700; letter-spacing: -.055em; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(3rem, 5.05vw, 5.8rem); line-height: 1.075; }
h2 { font-size: clamp(2.3rem, 3.9vw, 4.4rem); line-height: 1.13; }
h3 { font-weight: 700; letter-spacing: -.036em; }
.display-serif { font-family: inherit; font-weight: inherit; font-style: normal; letter-spacing: inherit; }
.accent { color: var(--orange); }
p, .lead { text-wrap: pretty; }
.eyebrow { font-size: .67rem; letter-spacing: .17em; font-weight: 800; }
.wrap { width: min(100% - 104px, 1296px); }
.section { padding: 112px 0; }
.section-tight { padding: 76px 0; }

/* Sticky, accessible global navigation. */
.header { position: sticky; top: 0; height: 78px; z-index: 800; background: rgba(248, 250, 248, .91); border-bottom: 1px solid rgba(20, 36, 36, .09); -webkit-backdrop-filter: saturate(150%) blur(18px); backdrop-filter: saturate(150%) blur(18px); transition: box-shadow .28s ease, background .28s ease, height .28s ease; }
.header.is-scrolled { background: rgba(248, 250, 248, .96); box-shadow: 0 11px 36px rgba(19, 36, 32, .065); }
.header-inner { height: 100%; }
.brand-txt strong { font-size: 1.08rem; letter-spacing: .19em; font-weight: 800; }
.brand-txt small { font-size: .50rem; letter-spacing: .32em; }
.nav { gap: clamp(13px, 1.8vw, 28px); }
.nav>a:not(.btn) { position: relative; font-size: .81rem; font-weight: 700; white-space: nowrap; }
.nav>a:not(.btn):after { content: ''; position: absolute; height: 1.5px; left: 0; right: 100%; bottom: -7px; background: var(--orange); transition: right .25s ease; }
.nav>a:not(.btn):hover:after, .nav>a.active:not(.btn):after { right: 0; }
.nav .btn { min-height: 44px; padding: 11px 19px; }
.btn { transition: transform .28s cubic-bezier(.2,.8,.2,1), background .2s ease, box-shadow .25s ease, color .2s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 23px rgba(17, 32, 31, .13); }
.btn:active { transform: translateY(0); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #e98d77; outline-offset: 4px; }

/* Hero reads as a clear company statement instead of a typographic experiment. */
.hero { position: relative; isolation: isolate; background: linear-gradient(135deg, #fbfcfa 0%, #f3f7f2 67%, #f9faf8 100%); }
.hero:before { content: ''; position: absolute; pointer-events: none; width: min(50vw, 780px); aspect-ratio: 1; left: -25%; top: -35%; border: 1px solid rgba(25, 52, 47, .05); border-radius: 50%; box-shadow: 0 0 0 100px rgba(34, 93, 86, .015), 0 0 0 230px rgba(34, 93, 86, .01); }
.hero-main { grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); min-height: 700px; gap: clamp(34px, 5vw, 80px); padding-top: 62px; padding-bottom: 78px; }
.hero-title { max-width: 670px; margin: 28px 0 27px; font-size: clamp(3rem, 5.05vw, 5.6rem); line-height: 1.085; letter-spacing: -.063em; }
.hero-copy { max-width: 550px; font-size: clamp(1rem, 1.35vw, 1.11rem); line-height: 1.82; }
.hero-foot { margin-top: 46px; }
.hero-foot span { font-size: .75rem; }
.stage { min-height: 548px; background: radial-gradient(ellipse at 83% 10%, #285147 0%, transparent 42%), linear-gradient(145deg, #152d2b 0%, #101d21 70%); border-radius: 22px; border: 1px solid #37514b; box-shadow: 0 35px 80px rgba(17, 43, 40, .17), 0 2px 9px rgba(17, 43, 40, .08); transform-style: preserve-3d; will-change: auto; }
.stage:before { background: radial-gradient(330px circle at var(--light-x,70%) var(--light-y,30%), rgba(176, 240, 211, .13), transparent 74%); opacity: 1; }
.stage:after { content: ''; position: absolute; width: 280px; height: 280px; right: -92px; top: -110px; border: 1px solid rgba(235, 250, 240, .10); border-radius: 50%; box-shadow: 0 0 0 40px rgba(235, 250, 240, .025), 0 0 0 90px rgba(235,250,240,.013); pointer-events: none; }
.stage-grid { opacity: .065; background-size: 44px 44px; }
.stage-head { color: #d3e7dd; }
.livepill { background: rgba(98, 141, 118, .17); color: #d1e8da; border-color: rgba(181, 226, 199, .25); }
.stage-content { margin-top: 36px; }
.journey-node { border-color: rgba(229, 246, 238, .15); background: rgba(244, 255, 251, .065); transition: background .45s ease, border-color .45s ease, transform .45s ease; }
.journey-node:hover { background: rgba(244,255,251,.11); border-color: rgba(229,246,238,.27); transform: translateX(4px); }
.journey-node.main-node { background: #f1f7f1; transform: translateX(-13px); box-shadow: 0 16px 38px rgba(0,0,0,.20); }
.journey-node.main-node:hover { transform: translateX(-9px); }
.stage-end b { font-size: 1.19rem; }
.stage-end span { font-size: .68rem; }
.marquee { background: #edf1ed; }
.marquee .wrap { padding-block: 24px; }
.marquee span { color: #536761; letter-spacing: .12em; font-size: .69rem; }

/* Better rhythm and less visual clutter. */
.section-top { margin-bottom: 46px; }
.section-top h2 { max-width: 800px; }
.sol-card { background: #fff; border-color: #dee5e0; border-radius: 18px; min-height: 370px; padding: 28px; box-shadow: 0 3px 8px rgba(30, 51, 49, .016); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease; }
.sol-card:nth-child(2), .sol-card:nth-child(3), .sol-card:nth-child(4) { background: #fff; }
.sol-card:hover { transform: translateY(-5px); border-color: #aebfb7; box-shadow: 0 22px 48px rgba(17, 40, 37, .10); }
.sol-card h3 { font-size: 1.27rem; letter-spacing: -.04em; }
.sol-card p { color: #52615d; }
.card-symbol { background: #f1f5f2; color: #24463e; border: 1px solid #e5ece7; }
.card-number, .detail-index { letter-spacing: .12em; }
.signal-block { background: linear-gradient(135deg, #19322f 0%, #102322 100%); border: 1px solid #274840; }
.signal-block h2, .dark-inset h2 { color: white; }
.signal-block h2 .display-serif { color: #c6ead8!important; }
.trust-tile { background: rgba(255,255,255,.042); border-color: rgba(220,245,228,.12); transition: background .24s ease, transform .3s ease; }
.trust-tile:hover { background: rgba(255,255,255,.074); transform: translateY(-2px); }
.product-band { background: #e9f0ec; }
.product-visual { transform: rotate(-1deg); transition: transform .55s cubic-bezier(.2,.8,.2,1); }
.product-band:hover .product-visual { transform: rotate(0); }
.detail-card, .case, .industry-card { transition: border-color .3s ease, box-shadow .35s ease, transform .35s ease; }
.detail-card:hover, .case:hover, .industry-card:hover { transform: translateY(-3px); box-shadow: 0 20px 36px rgba(20,42,38,.065); }
.page-hero { padding: 95px 0 90px; background: linear-gradient(140deg,#fafcf9 0%,#eff5f0 100%); }
.page-hero h1 { font-size: clamp(3rem, 5.05vw, 5.5rem); line-height: 1.1; max-width: 970px; }
.page-hero:after { border-color: rgba(37,78,71,.09); box-shadow: 0 0 0 75px rgba(68,126,109,.028), 0 0 0 150px rgba(68,126,109,.015); }
.closing { background: #eaf1ed; }
.footer { background: #102021; }
.footer h4 { color: #a3bcb6; }
.footer-links a { transition: color .2s ease, transform .2s ease; display: inline-block; }
.footer-links a:hover { color: white; transform: translateX(3px); }
.link-underline { text-underline-offset: 5px; }

/* Progressive enhancement. No heavy video, WebGL or animation library. */
@media (prefers-reduced-motion: no-preference) {
  html.motion-ready [data-reveal="pending"] { opacity: 0; transform: translateY(24px); }
  html.motion-ready [data-reveal="visible"] { opacity: 1; transform: translateY(0); }
  html.motion-ready [data-reveal] { transition: opacity .74s cubic-bezier(.22,1,.36,1), transform .74s cubic-bezier(.22,1,.36,1); transition-delay: var(--reveal-delay,0ms); }
  .stage-grid { animation: stage-breathe 16s ease-in-out infinite alternate; }
  @keyframes stage-breathe { 0% { opacity:.045; } 100% { opacity:.095; } }
  @media (pointer: fine) {
    .stage { transition: transform .5s cubic-bezier(.2,.75,.3,1), box-shadow .4s ease; }
  }
}
@media (max-width: 1100px) {
  .wrap { width: min(100% - 64px, 1250px); }
  .hero-title { font-size: clamp(3rem, 5.5vw, 4.5rem); }
  .hero-main { min-height: 620px; gap: 26px; }
  .stage { padding: 27px; }
  .nav { gap: 13px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 80px; }
  .wrap { width: min(100% - 36px, 680px); }
  .header { height: 72px; }
  .brand-txt strong { font-size: 1.01rem; }
  .mobile-toggle { width: 44px; height: 44px; background: #fff; border-radius: 12px; }
  .nav { top: 72px; max-height: calc(100dvh - 72px); overflow-y: auto; gap: 0; padding: 12px 18px 22px; border-bottom: 1px solid var(--line); box-shadow: 0 22px 38px rgba(13,31,30,.13); }
  .nav a:not(.btn) { display:block; padding: 14px 9px; border-bottom: 1px solid #e8eeea; }
  .nav .btn { margin-top: 18px; }
  body.nav-open { overflow: hidden; }
  .hero-main { padding-top: 56px; padding-bottom: 56px; }
  .hero-title { font-size: clamp(2.95rem, 10.6vw, 4.5rem); line-height: 1.115; letter-spacing: -.059em; }
  .hero-copy { font-size: 1.02rem; line-height: 1.75; }
  .stage { min-height: 460px; border-radius: 18px; }
  .stage-head { font-size: .66rem; }
  .stage-end span { display: none; }
  .journey-node.main-node { transform: translateX(0); }
  .journey-node.main-node:hover { transform: translateX(0); }
  .section, .section-tight { padding: 72px 0; }
  .section h2, .section-top h2 { font-size: clamp(2.2rem, 8vw, 3.4rem); }
  .page-hero { padding: 72px 0 68px; }
  .page-hero h1 { font-size: clamp(2.75rem, 10vw, 4.5rem); }
  .sol-card { min-height: 285px; }
  .product-visual { transform: none; }
  .closing { padding: 75px 0; }
}
@media (max-width: 380px) {
  .hero-title { font-size: 2.85rem; }
  .stage { padding: 17px; }
  .stage-head { flex-wrap: wrap; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.motion-ready [data-reveal] { opacity:1!important; transform:none!important; transition:none!important; }
  .stage-grid { animation:none!important; }
  .stage, .sol-card, .journey-node, .trust-tile, .product-visual, .btn, .detail-card, .case, .industry-card { transform:none!important; transition:none!important; }
}

/* Bridge the laptop-to-tablet breakpoint without cramped navigation/cards. */
@media (min-width: 761px) and (max-width: 1000px) {
  html { scroll-padding-top: 82px; }
  .wrap { width: min(100% - 60px, 820px); }
  .header { height: 74px; }
  .mobile-toggle { display: flex; background: #fff; border-radius: 12px; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 74px; padding: 18px 30px 28px; background: var(--paper); box-shadow: 0 22px 35px rgba(13,31,30,.12); flex-direction: column; align-items: stretch; gap: 12px; max-height: calc(100dvh - 74px); overflow-y: auto; }
  .nav.open { display: flex; }
  .nav .btn { width: 100%; }
  .nav a:not(.btn) { padding: 10px 4px; font-size: 1rem; }
  body.nav-open { overflow: hidden; }
  .hero-main { grid-template-columns: 1fr; padding-top: 65px; padding-bottom: 65px; min-height: auto; }
  .hero-title { font-size: clamp(3.4rem, 7vw, 5rem); max-width: 760px; }
  .hero-copy { max-width: 660px; }
  .stage { width: 100%; max-width: 720px; margin: 8px auto 0; min-height: 520px; }
  .section-top { display: block; }
  .section-top > p { max-width: 650px; margin-top: 18px; }
  .signal-block, .section-split, .product-band, .split-content, .feature-panel { grid-template-columns: 1fr; }
  .signal-block { padding: 48px; }
  .dark-inset { padding: 45px; }
  .signal-side { grid-template-columns: repeat(2, 1fr); }
  .product-visual { width: 100%; max-width: 640px; margin-inline: auto; }
  .card-grid-3, .industry-grid { grid-template-columns: repeat(2,1fr); }
  .closing .wrap { display: block; }
  .closing .cta-row { margin-top: 30px; }
  .page-hero h1 { max-width: 780px; }
}
