/* NDRIT — Unit8 starting frame (typography/spacing/IA/motion), subtracted to Nandu facts.
   Fonts: Inter + Noto Sans SC only. No Unit8 photos, logos, partners, addresses, or commercial fonts. */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  --black:#000;
  --near-black:#0a0a0a;
  --dark:#111;
  --gray:#666;
  --muted:rgba(0,0,0,0.35);
  --muted-strong:rgba(0,0,0,0.55);
  --white:#fff;
  --page-gray:#f3f3f3;
  --blue:#0066FF;
  --blue-hover:#0052CC;
  --container:1440px;
  --header-h:5rem;
  --header-h-compact:4rem;
}
html{scroll-behavior:smooth;font-size:16px}
body{
  font-family:'Inter','Noto Sans SC',-apple-system,BlinkMacSystemFont,sans-serif;
  color:var(--black);
  background:var(--page-gray);
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  overflow-x:hidden;
}
body.menu-open{overflow:hidden}
main{display:block;margin:0;padding:0}
.container{max-width:var(--container);margin:0 auto;padding:0 1.5rem}
@media(min-width:768px){.container{padding:0 3rem}}
@media(min-width:1200px){.container{padding:0 5rem}}
@media(min-width:1366px){.container{padding:0 6rem}}

/* Header — transparent over heroes; compact + hairline on scroll; auto-hide */
.site-header{
  position:fixed;top:0;left:0;right:0;z-index:1100;
  height:var(--header-h);
  transition:transform 300ms ease,background 300ms ease,box-shadow 300ms ease,height 300ms ease;
}
.site-header.transparent{background:transparent}
.site-header.scrolled{
  background:rgba(243,243,243,0.96);
  backdrop-filter:blur(16px);
  box-shadow:0 1px 0 rgba(0,0,0,0.08);
  height:var(--header-h-compact);
}
.site-header.hidden{transform:translateY(-100%)}
.header-wrap{display:flex;align-items:center;justify-content:space-between;height:100%}
.logo{font-size:1.125rem;font-weight:700;letter-spacing:0.08em;text-decoration:none;transition:color 300ms ease}
.site-header.transparent .logo{color:var(--white)}
.site-header.scrolled .logo{color:var(--black)}

.nav-desktop{display:none;align-items:center;gap:1.75rem}
@media(min-width:1024px){.nav-desktop{display:flex}}
.nav-desktop>a,.nav-desktop>.nav-item>a{
  position:relative;text-decoration:none;font-weight:600;font-size:0.75rem;
  letter-spacing:0.06em;transition:color 300ms ease;color:inherit;
}
html[lang="en"] .nav-desktop>a:not(.lang-pill):not(.cta-nav),
html[lang="en"] .nav-desktop>.nav-item>a{text-transform:uppercase}
.site-header.transparent .nav-desktop>a,
.site-header.transparent .nav-desktop>.nav-item>a{color:rgba(255,255,255,0.92)}
.site-header.scrolled .nav-desktop>a,
.site-header.scrolled .nav-desktop>.nav-item>a{color:var(--black)}
.nav-desktop>a:not(.lang-pill):not(.cta-nav)::after,
.nav-item>a::after{
  content:'';position:absolute;left:0;right:0;bottom:-0.4rem;height:1px;background:currentColor;
  opacity:0;transition:opacity 280ms ease-out;
}
.nav-desktop>a:not(.lang-pill):not(.cta-nav):hover::after,
.nav-item:hover>a::after,.nav-item.active>a::after{opacity:1}
.nav-item{position:relative;display:inline-block}
.nav-item>a{cursor:pointer}
.nav-dropdown{
  position:absolute;top:100%;left:50%;transform:translateX(-50%);margin-top:0.75rem;min-width:16rem;
  background:var(--white);border-radius:0;box-shadow:0 0.5rem 2rem rgba(0,0,0,0.12);
  opacity:0;visibility:hidden;transition:opacity 280ms ease,visibility 280ms ease,margin-top 280ms ease;
  padding:0.75rem 0;z-index:100;
}
.site-header.transparent .nav-dropdown{background:rgba(0,0,0,0.95);backdrop-filter:blur(16px)}
.nav-item:hover .nav-dropdown,.nav-item.active .nav-dropdown{opacity:1;visibility:visible;margin-top:0.5rem}
.nav-dropdown a{
  display:block;padding:0.75rem 1.5rem;color:var(--black);font-size:0.875rem;font-weight:600;
  text-decoration:none;letter-spacing:0.02em;transition:background 200ms ease;
}
.site-header.transparent .nav-dropdown a{color:rgba(255,255,255,0.92)}
.nav-dropdown a:hover{background:rgba(0,0,0,0.04)}
.site-header.transparent .nav-dropdown a:hover{background:rgba(255,255,255,0.08)}
.nav-dropdown-divider{height:1px;background:rgba(0,0,0,0.08);margin:0.5rem 0}
.site-header.transparent .nav-dropdown-divider{background:rgba(255,255,255,0.12)}

.lang-pill{
  padding:0.4rem 1rem;border:1.5px solid currentColor;border-radius:999px;
  font-size:0.75rem;font-weight:600;letter-spacing:0.04em;text-decoration:none;transition:all 280ms ease;
}
.site-header.transparent .lang-pill{color:rgba(255,255,255,0.92);border-color:rgba(255,255,255,0.4)}
.site-header.scrolled .lang-pill{color:var(--black);border-color:rgba(0,0,0,0.28)}
.site-header.scrolled .lang-pill:hover{background:var(--black);color:var(--white);border-color:var(--black)}
.cta-nav{
  padding:0.65rem 1.5rem;background:var(--blue);color:var(--white)!important;border-radius:999px;
  font-size:0.75rem;font-weight:700;letter-spacing:0.06em;text-decoration:none;text-transform:uppercase;
  transition:background 280ms ease;
}
.cta-nav:hover{background:var(--blue-hover)}

.mobile-toggle{
  display:flex;width:3rem;height:3rem;border:none;background:rgba(255,255,255,0.18);border-radius:50%;
  cursor:pointer;align-items:center;justify-content:center;position:relative;z-index:1001;transition:background 280ms ease;
}
@media(min-width:1024px){.mobile-toggle{display:none}}
.site-header.scrolled .mobile-toggle{background:var(--black)}
.toggle-icon{width:1.25rem;height:0.875rem;position:relative}
.toggle-icon span{display:block;position:absolute;height:2px;width:100%;background:var(--white);left:0;transition:250ms ease}
.toggle-icon span:nth-child(1){top:0}
.toggle-icon span:nth-child(2){top:0.75rem}
.mobile-toggle.active .toggle-icon span:nth-child(1){top:0.375rem;transform:rotate(135deg)}
.mobile-toggle.active .toggle-icon span:nth-child(2){top:0.375rem;transform:rotate(-135deg)}

.mobile-menu{
  position:fixed;inset:0;background:var(--black);z-index:1000;display:flex;flex-direction:column;
  opacity:0;visibility:hidden;transition:opacity 280ms ease,visibility 280ms ease;padding:1.25rem 1.5rem 3rem;
}
.mobile-menu.active{opacity:1;visibility:visible}
.mobile-menu-top{display:flex;align-items:center;justify-content:flex-start;gap:0.75rem;min-height:3rem;margin-bottom:2.5rem}
.mobile-menu-top .lang-pill{color:var(--white);border-color:rgba(255,255,255,0.45)}
.mobile-menu-top .cta-nav{margin-left:auto}
.mobile-menu nav{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1.5rem;flex:1}
.mobile-menu nav>a{
  color:var(--white);text-decoration:none;font-size:1.125rem;font-weight:700;letter-spacing:0.08em;
}
html[lang="en"] .mobile-menu nav>a{text-transform:uppercase}
.mobile-menu .mobile-products{display:flex;flex-direction:column;align-items:center;gap:1rem;width:100%;padding-top:0.5rem}
.mobile-menu .mobile-divider{width:4rem;height:1px;background:rgba(255,255,255,0.2);margin:0.25rem 0}
.mobile-menu .mobile-products a{font-size:0.9375rem;font-weight:500;color:rgba(255,255,255,0.72);text-decoration:none;letter-spacing:0.02em}

/* Homepage hero */
.hero{position:relative;min-height:100vh;margin:0;padding:0;display:flex;align-items:center;background:var(--black);overflow:hidden}
.hero-bg{position:absolute;inset:0;z-index:0}
.hero-bg img,.hero-bg .hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
@media (prefers-reduced-motion: reduce){.hero-bg .hero-video{display:none}}
.hero-bg::before{
  content:'';position:absolute;inset:0;z-index:1;
  background:linear-gradient(to right,rgba(0,0,0,0.62) 0%,rgba(0,0,0,0.38) 48%,rgba(0,0,0,0.16) 100%);
}
.hero .container{position:relative;z-index:2;width:100%}
.hero-content{max-width:42rem;padding-top:8.5rem;padding-bottom:5rem}
@media(min-width:768px){.hero-content{padding-top:10rem;padding-bottom:6rem}}
.hero h1{
  font-size:clamp(2.75rem,6vw,5.5rem);font-weight:900;line-height:1.02;color:var(--white);
  margin-bottom:1.75rem;letter-spacing:-0.04em;text-shadow:0 0.125rem 2.5rem rgba(0,0,0,0.45);
}
.hero-sub{
  font-size:clamp(1rem,1.4vw,1.1875rem);line-height:1.65;color:rgba(255,255,255,0.84);
  margin-bottom:2.25rem;max-width:36rem;text-shadow:0 1px 1.25rem rgba(0,0,0,0.35);
}
.hero-cta{display:flex;gap:1rem;flex-wrap:wrap}
.btn{
  display:inline-block;padding:0.95rem 2rem;font-size:0.75rem;font-weight:700;text-decoration:none;
  border-radius:999px;letter-spacing:0.06em;text-transform:uppercase;border:2px solid transparent;
  transition:background 280ms ease,color 280ms ease,border-color 280ms ease;
}
.btn-primary{background:var(--blue);color:var(--white)}
.btn-primary:hover{background:var(--blue-hover)}
.btn-secondary{background:transparent;color:var(--white);border-color:rgba(255,255,255,0.45)}
.btn-secondary:hover{border-color:var(--white);background:rgba(255,255,255,0.08)}
.btn-secondary-dark{background:transparent;color:var(--black);border-color:rgba(0,0,0,0.28)}
.btn-secondary-dark:hover{border-color:var(--black);background:rgba(0,0,0,0.04)}

/* Statement / light sections */
.section-statement{padding:5rem 0;background:var(--page-gray)}
@media(min-width:768px){.section-statement{padding:7.5rem 0}}
.section-title{
  font-size:clamp(2rem,4.2vw,3.75rem);font-weight:900;line-height:1.12;margin-bottom:1.5rem;letter-spacing:-0.03em;
}
.section-desc{font-size:clamp(1.0625rem,1.5vw,1.25rem);line-height:1.65;color:var(--muted-strong);max-width:52rem}

/* Featured products — Unit8 case-studies rhythm on light gray */
.section-products{padding:5rem 0 7.5rem;background:var(--page-gray)}
@media(min-width:768px){.section-products{padding:6rem 0 8.75rem}}
.section-products .section-intro{max-width:52rem;margin-bottom:3.5rem}
@media(min-width:768px){.section-products .section-intro{margin-bottom:5rem}}
.product-grid{display:grid;grid-template-columns:1fr;gap:4rem}
@media(min-width:768px){.product-grid{grid-template-columns:repeat(2,1fr);gap:5rem 4rem}}
@media(min-width:1200px){.product-grid{gap:6rem 5rem}}
.product-card{display:block;color:var(--black);background:transparent;border:0;box-shadow:none;scroll-margin-top:6rem}
.product-card-media{aspect-ratio:1/1;width:100%;overflow:hidden;margin-bottom:1.25rem;background:#e6e6e6;border-radius:0}
.product-card-media img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.product-card-title{
  font-size:1rem;font-weight:700;letter-spacing:-0.01em;line-height:1.35;margin:0 0 0.5rem;
  display:inline;position:relative;color:var(--black);
}
.product-card-title::after{
  content:'';position:absolute;left:0;right:0;bottom:-2px;height:2px;background:var(--black);
  transform:scaleX(0);transform-origin:left;transition:transform 280ms ease-out;
}
.product-card:hover .product-card-title::after{transform:scaleX(1)}
.product-card-sub{font-size:0.875rem;line-height:1.55;color:var(--muted);margin:0 0 1rem;max-width:42em}
.product-card-link{display:inline-block;font-size:0.8125rem;font-weight:700;color:var(--blue);text-decoration:none;letter-spacing:0.02em}
.product-card-link:hover{color:var(--black)}

/* Interior image heroes */
.page-hero--visual{
  position:relative;min-height:62vh;margin:0;display:flex;align-items:flex-end;padding:0;background:var(--black);overflow:hidden;
}
.page-hero-bg{position:absolute;inset:0;z-index:0}
.page-hero-bg img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.page-hero-bg::before{
  content:'';position:absolute;inset:0;z-index:1;
  background:linear-gradient(to right,rgba(0,0,0,0.6) 0%,rgba(0,0,0,0.36) 50%,rgba(0,0,0,0.16) 100%);
}
.page-hero--visual .container{position:relative;z-index:2;width:100%}
.page-hero-content{max-width:48rem;padding-top:calc(var(--header-h) + 6rem);padding-bottom:4.5rem}
@media(min-width:768px){.page-hero-content{padding-top:calc(var(--header-h) + 7.5rem);padding-bottom:5.5rem}}
.page-hero--visual h1{
  font-size:clamp(2.75rem,5.5vw,4.75rem);font-weight:900;line-height:1.05;color:var(--white);
  margin-bottom:1.25rem;letter-spacing:-0.03em;text-shadow:0 0.125rem 2.5rem rgba(0,0,0,0.45);
}
.page-hero.page-hero--visual .lead{
  font-size:clamp(1.0625rem,1.5vw,1.25rem);line-height:1.65;color:rgba(255,255,255,0.84);
  margin:0;max-width:42rem;text-shadow:0 1px 1.25rem rgba(0,0,0,0.4);
}
.page-hero--title-only .page-hero-content{padding-bottom:6rem}
.page-hero--title-only h1{margin-bottom:0}

/* Typographic page hero (privacy) */
.page-hero{
  padding:calc(var(--header-h-compact) + 5rem) 0 4rem;background:var(--page-gray);
}
.page-hero h1{font-size:clamp(2.75rem,5vw,4.5rem);font-weight:900;margin-bottom:1.25rem;letter-spacing:-0.03em}
.page-hero:not(.page-hero--visual) .lead{font-size:1.25rem;line-height:1.6;color:var(--muted-strong);max-width:46rem}

/* About / cooperate body */
.about-body,.cooperate-body{padding:5rem 0;background:var(--page-gray)}
@media(min-width:768px){.about-body,.cooperate-body{padding:6.5rem 0}}
.about-body .container,.cooperate-body .container{max-width:52rem}
.about-body h2,.cooperate-body h2{
  font-size:clamp(1.5rem,2.5vw,2rem);font-weight:700;margin-bottom:1.25rem;letter-spacing:-0.02em;
}
.about-body p,.cooperate-body p{
  font-size:1.0625rem;line-height:1.7;color:var(--muted-strong);margin-bottom:1.5rem;
}
.about-etymology{padding:3.5rem 0;background:var(--page-gray);border-top:1px solid rgba(0,0,0,0.06)}
.about-etymology .container{max-width:40rem}
.about-etymology p{font-size:0.9375rem;line-height:1.8;color:var(--muted);text-align:center}
.about-cta,.cooperate-cta{padding:5rem 0 6rem;background:var(--page-gray);border-top:1px solid rgba(0,0,0,0.06)}
.about-cta .container,.cooperate-cta .container{max-width:48rem}
.about-cta h2,.cooperate-cta h2{
  font-size:clamp(2rem,4vw,3.25rem);font-weight:900;margin-bottom:2rem;letter-spacing:-0.03em;
}
.cta-buttons{display:flex;gap:1rem;flex-wrap:wrap}

.products-list{padding:5rem 0 7.5rem;background:var(--page-gray)}
@media(min-width:768px){.products-list{padding:6rem 0 8.75rem}}

.cooperate-products{padding:0 0 5rem;background:var(--page-gray)}
.cooperate-products .container{max-width:var(--container)}
.cooperate-note{
  font-size:1rem;line-height:1.65;color:var(--muted-strong);max-width:46rem;margin:0 0 3rem;
}

.privacy-page{padding:calc(var(--header-h-compact) + 5rem) 0 6rem;background:var(--page-gray)}
.privacy-page .container{max-width:42rem}
.privacy-page h1{font-size:clamp(2.5rem,4vw,3.75rem);font-weight:900;margin-bottom:1rem;letter-spacing:-0.03em}
.privacy-updated{color:var(--muted);margin-bottom:3.5rem;font-size:0.9375rem}
.privacy-page h2{font-size:1.75rem;font-weight:900;margin-top:3.5rem;margin-bottom:1.25rem;letter-spacing:-0.02em}
.privacy-page p{color:var(--muted-strong);line-height:1.8;margin-bottom:1.25rem;font-size:1rem}

/* Light footer */
.site-footer{background:var(--page-gray);color:var(--black);padding:5rem 0 3rem;border-top:1px solid rgba(0,0,0,0.08)}
.footer-grid{display:grid;grid-template-columns:1fr;gap:2.75rem;margin-bottom:2.75rem}
@media(min-width:768px){.footer-grid{grid-template-columns:2fr 1fr 1fr 1fr;gap:3.5rem 2.5rem;margin-bottom:3.5rem}}
.footer-col-main{max-width:20rem}
.footer-col h4{
  font-size:0.6875rem;font-weight:700;text-transform:uppercase;letter-spacing:0.12em;
  margin-bottom:1.25rem;color:rgba(0,0,0,0.4);
}
.footer-col ul{list-style:none}
.footer-col ul li{margin-bottom:0.75rem}
.footer-col a{
  color:rgba(0,0,0,0.72);text-decoration:none;font-size:0.9375rem;position:relative;display:inline-block;
  transition:color 280ms ease;
}
.footer-col a::after{
  content:'';position:absolute;left:0;right:0;bottom:-2px;height:1px;background:currentColor;
  transform:scaleX(0);transform-origin:left;transition:transform 300ms ease-out;
}
.footer-col a:hover{color:var(--black)}
.footer-col a:hover::after{transform:scaleX(1)}
.footer-social{list-style:none}
.footer-social li{margin-bottom:0.75rem}
.footer-social-item{display:inline-block;font-size:0.9375rem;color:rgba(0,0,0,0.32);cursor:default;user-select:none;pointer-events:none}
.footer-wordmark{font-weight:800;letter-spacing:0.08em;color:var(--black);text-decoration:none;font-size:1rem}
.footer-wordmark:hover{color:var(--black)}

.js .fade-in{opacity:0;transform:translateY(2rem);transition:opacity 400ms cubic-bezier(0.455,0.03,0.515,0.955),transform 400ms cubic-bezier(0.455,0.03,0.515,0.955)}
/* Full-bleed heroes must paint from y=0 on first frame — never fade/translate the section
   (that exposed body --page-gray under the transparent fixed header as a top gap). */
.js .hero.fade-in,
.js .page-hero--visual.fade-in{
  opacity:1;
  transform:none;
  transition:none;
}

.fade-in.visible{opacity:1;transform:translateY(0)}
.fade-in-delay-1{transition-delay:150ms}
.fade-in-delay-2{transition-delay:300ms}
.fade-in-delay-3{transition-delay:450ms}

/* Extended frame: link lists, capability grids, articles */
.link-grid{display:grid;grid-template-columns:1fr;gap:1.5rem}
@media(min-width:768px){.link-grid{grid-template-columns:repeat(2,1fr);gap:2rem}}
.link-card{display:block;padding:1.75rem 0;border-top:1px solid rgba(0,0,0,0.08);text-decoration:none;color:inherit}
.link-card:last-child{border-bottom:1px solid rgba(0,0,0,0.08)}
.link-card h3{font-size:1.25rem;font-weight:700;margin-bottom:0.5rem;letter-spacing:-0.02em;display:inline;position:relative}
.link-card h3::after{content:'';position:absolute;left:0;right:0;bottom:-2px;height:2px;background:var(--black);transform:scaleX(0);transform-origin:left;transition:transform 280ms ease-out}
.link-card:hover h3::after{transform:scaleX(1)}
.link-card p{font-size:0.9375rem;line-height:1.6;color:var(--muted-strong);margin:0.75rem 0 0}
.cap-grid{display:grid;grid-template-columns:1fr;gap:3rem;margin-top:3rem}
@media(min-width:768px){.cap-grid{grid-template-columns:repeat(2,1fr);gap:3.5rem 3rem}}
.cap-item .cap-num{font-size:0.75rem;font-weight:600;letter-spacing:0.1em;color:var(--muted);margin-bottom:0.75rem}
.cap-item h3{font-size:1.5rem;font-weight:800;margin-bottom:0.75rem;letter-spacing:-0.02em;display:inline;position:relative}
.cap-item h3::after{content:'';position:absolute;left:0;right:0;bottom:-2px;height:2px;background:var(--black);transform:scaleX(0);transform-origin:left;transition:transform 280ms ease-out}
.cap-item:hover h3::after{transform:scaleX(1)}
.cap-item p{font-size:1rem;line-height:1.65;color:var(--muted-strong)}
.cap-item a{display:inline-block;margin-top:1rem;font-size:0.8125rem;font-weight:700;color:var(--blue);text-decoration:none}
.cap-item a:hover{color:var(--black)}
.article-list{display:grid;gap:0}
.article-row{display:block;padding:1.75rem 0;border-top:1px solid rgba(0,0,0,0.08);text-decoration:none;color:inherit}
.article-row:last-child{border-bottom:1px solid rgba(0,0,0,0.08)}
.article-row h3{font-size:1.375rem;font-weight:800;margin-bottom:0.5rem;letter-spacing:-0.02em;display:inline;position:relative}
.article-row h3::after{content:'';position:absolute;left:0;right:0;bottom:-2px;height:2px;background:var(--black);transform:scaleX(0);transform-origin:left;transition:transform 280ms ease-out}
.article-row:hover h3::after{transform:scaleX(1)}
.article-row p{font-size:0.9375rem;color:var(--muted-strong);line-height:1.6;margin:0.5rem 0 0;max-width:46rem}
.prose{max-width:46rem}
.prose h2{font-size:clamp(1.5rem,2.5vw,2rem);font-weight:800;margin:2.5rem 0 1rem;letter-spacing:-0.02em}
.prose p{font-size:1.0625rem;line-height:1.75;color:var(--muted-strong);margin-bottom:1.25rem}
.prose ul{margin:0 0 1.5rem 1.25rem;color:var(--muted-strong)}
.prose li{margin-bottom:0.5rem;line-height:1.65}
.values-grid{display:grid;grid-template-columns:1fr;gap:2.5rem;margin-top:2.5rem}
@media(min-width:768px){.values-grid{grid-template-columns:repeat(3,1fr);gap:2.5rem}}
.value-card h3{font-size:1.125rem;font-weight:800;margin-bottom:0.75rem}
.value-card p{font-size:0.9375rem;line-height:1.65;color:var(--muted-strong)}
.story-grid{display:grid;grid-template-columns:1fr;gap:4rem}
@media(min-width:768px){.story-grid{grid-template-columns:repeat(2,1fr);gap:5rem 4rem}}
.contact-rich{padding:4rem 0 6rem;background:var(--page-gray)}
.contact-rich .prose{max-width:40rem}
