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

/* Final TVOREN visual system — fixed palette 17. */
:root,
html[data-theme="tvoren-black-graphite-magenta"]{
  --bg:#0A0A0B;
  --surface:#36373A;
  --surface-2:#414348;
  --text:#F4F0E6;
  --muted:#B9B3AA;
  --accent:#F200FF;
  --accent-2:#F200FF;
  --on-accent:#0A0A0B;
  --border:rgba(244,240,230,.16);
  --header-bg:rgba(10,10,11,.94);
  --radius:22px;
  --radius-sm:14px;
  --shell:1280px;
  --header:70px;
  --font-ui:'Public Sans',Inter,ui-sans-serif,system-ui,sans-serif;
}

html,body{background:var(--bg)!important;color:var(--text)}
body{font-family:var(--font-ui)!important}
body::before{
  background:
    radial-gradient(circle at 80% 8%,rgba(242,0,255,.055),transparent 30%),
    radial-gradient(circle at 5% 80%,rgba(242,0,255,.025),transparent 28%)!important;
}

/* Header — only navigation + language remain. */
.site-header{background:var(--header-bg)!important;border-bottom:1px solid var(--border)}
.header-inner{min-height:var(--header);gap:24px}
.wordmark{display:inline-flex;align-items:center;gap:10px;font-size:17px;letter-spacing:.22em}
.wordmark::before{
  content:"";
  width:28px;
  height:30px;
  flex:0 0 28px;
  background:url('/Logo2.png') center/contain no-repeat;
  filter:drop-shadow(0 0 12px rgba(242,0,255,.18));
}
.desktop-nav{gap:22px}
.desktop-nav a{font-size:12px}
.header-tools{margin-left:2px}
.tool-button{height:36px;min-width:54px;background:#2F3033;border-color:rgba(244,240,230,.16);font-size:11px}
.tool-button:hover{border-color:#F200FF;background:#393A3E}
.language-menu{width:116px!important}

/* Hero: designed to fit the essential first-screen content at 100% browser zoom. */
.hero{
  min-height:calc(100svh - var(--header));
  grid-template-columns:minmax(0,1.04fr) minmax(330px,.76fr);
  gap:54px;
  padding-block:34px 42px;
}
.hero-copy h1{
  margin:11px 0 18px;
  max-width:720px;
  font-size:clamp(52px,5.25vw,80px);
  line-height:.94;
  letter-spacing:-.058em;
}
.hero-lead{max-width:650px;font-size:clamp(16px,1.25vw,19px);line-height:1.52}
.hero-actions{margin-top:26px}
.hero-system{width:min(100%,430px);justify-self:end;background:linear-gradient(145deg,#2D2E31,rgba(54,55,58,.16))}
.system-core{width:116px;height:116px;background:var(--surface) url('/Logo2.png') center/68px auto no-repeat!important}
.system-core span{opacity:0}
.system-grid{background-size:34px 34px}

/* Buttons. Magenta is primary; graphite is secondary. */
.button{min-height:50px;padding-inline:19px;transition:transform .2s ease,background .2s ease,border-color .2s ease,box-shadow .2s ease}
.button-primary{background:#F200FF!important;border-color:#F200FF!important;color:#0A0A0B!important}
.button-primary:hover{
  border-color:#55575C!important;
  box-shadow:0 0 0 2px #414348;
}
.button-ghost{background:#36373A!important;border-color:rgba(244,240,230,.22)!important;color:var(--text)!important}
.button-ghost:hover{border-color:#F200FF!important;box-shadow:inset 0 0 0 1px rgba(242,0,255,.42)}

/* Shared vertical rhythm. */
.section{padding-block:72px}
.section-heading{margin-bottom:36px}
.section-heading h2,.outcome-panel h2,.comparison-panel h2,.about-grid h2{
  font-size:clamp(34px,4.3vw,62px);
  line-height:1;
}
.split-heading{gap:58px}
.split-heading>p,.comparison-panel>p,.about-copy p{font-size:16px;line-height:1.62}
.page-hero{
  margin-top:28px;
  padding:46px 48px!important;
  border:1px solid var(--border)!important;
  border-radius:calc(var(--radius) + 4px);
  background:var(--surface)!important;
}
.page-hero h1{margin:10px 0 18px;font-size:clamp(46px,5.4vw,76px);line-height:.96;max-width:1020px}
.page-hero>p:last-child,.contact-intro p{font-size:17px;line-height:1.55;color:#D0CAC0}

/* Black canvas + graphite reading surfaces. */
main>.section.shell:not(.service-list):not(.industry-detail-list):not(.solution-grid):not(.contact-layout):not(.outcome-section){
  margin-top:24px;
  margin-bottom:24px;
  padding:48px!important;
  border:1px solid var(--border);
  border-radius:calc(var(--radius) + 4px);
  background:var(--surface);
}
.section-tinted{
  margin-block:24px;
  padding-block:0!important;
  border:0!important;
  background:transparent!important;
}
.section-tinted>.shell{
  padding:48px;
  border:1px solid var(--border);
  border-radius:calc(var(--radius) + 4px);
  background:var(--surface);
}
.outcome-section{padding-block:24px}
.outcome-panel{padding:48px;background:linear-gradient(135deg,#36373A,#414348)!important}

/* Compact final CTA panels — same hierarchy, less empty space. */
.final-cta{
  margin-top:20px;
  margin-bottom:26px;
  padding:32px 38px!important;
  border:1px solid var(--border);
  border-radius:calc(var(--radius) + 2px);
  background:var(--surface);
}
.final-cta .eyebrow{margin-bottom:10px}
.final-cta h2{
  max-width:980px;
  margin:0 0 20px;
  font-size:clamp(30px,3.55vw,50px);
  line-height:1.02;
  letter-spacing:-.045em;
}
.final-cta .button{min-height:46px;padding-inline:18px}
.process-list{border-top-color:rgba(244,240,230,.13)}
.process-item{padding:21px 0;border-bottom-color:rgba(244,240,230,.13)}

/* Unified image standard. */
.capability-card,
.solution-card,
.service-row,
.principle-grid article,
.industry-card,
.industry-detail{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  border:1px solid rgba(244,240,230,.16)!important;
  background:var(--surface)!important;
  transition:border-color .24s ease,box-shadow .24s ease,transform .24s ease;
}
.capability-card::before,
.solution-card::before,
.service-row::before,
.principle-grid article::before,
.industry-card::before,
.industry-detail::before{
  opacity:.68!important;
  filter:saturate(.78) contrast(1.03) brightness(.84)!important;
  transform:scale(1.02)!important;
  transition:opacity .28s ease,filter .32s ease,transform .42s ease!important;
}
.capability-card::after,
.solution-card::after,
.principle-grid article::after,
.industry-card::after{
  background:linear-gradient(180deg,
    rgba(10,10,11,.18) 0%,
    rgba(10,10,11,.24) 46%,
    rgba(10,10,11,.70) 76%,
    rgba(10,10,11,.88) 100%)!important;
  transition:background .28s ease!important;
}
.service-row::after{
  background:linear-gradient(90deg,rgba(10,10,11,.76) 0%,rgba(10,10,11,.62) 48%,rgba(10,10,11,.22) 84%,rgba(10,10,11,.12) 100%)!important;
  transition:background .28s ease!important;
}
.industry-detail::after{
  background:linear-gradient(90deg,rgba(10,10,11,.34) 0%,rgba(10,10,11,.28) 33%,rgba(54,55,58,.88) 58%,#36373A 78%)!important;
  transition:background .28s ease!important;
}
.capability-card>*,.solution-card>*,.service-row>*,.principle-grid article>*,.industry-card>*,.industry-detail>*{
  position:relative;z-index:2;
}
.capability-card h3,.solution-card h2,.service-row h2,.principle-grid h3,.industry-card h3,.industry-detail h2{
  text-shadow:0 2px 16px rgba(0,0,0,.72);
}
.capability-card p,.solution-card p,.service-row p,.principle-grid p,.industry-card p,.industry-detail p,.industry-detail li{
  text-shadow:0 2px 12px rgba(0,0,0,.72);
}
@media(hover:hover){
  .capability-card:hover,.solution-card:hover,.service-row:hover,.principle-grid article:hover,.industry-card:hover,.industry-detail:hover{
    border-color:#F200FF!important;
    box-shadow:inset 0 0 0 1px rgba(242,0,255,.38);
  }
  .capability-card:hover::before,.solution-card:hover::before,.service-row:hover::before,.principle-grid article:hover::before,.industry-card:hover::before,.industry-detail:hover::before{
    opacity:1!important;
    filter:saturate(1) contrast(1.02) brightness(1)!important;
    transform:scale(1.045)!important;
  }
  .capability-card:hover::after,.solution-card:hover::after,.principle-grid article:hover::after,.industry-card:hover::after{
    background:linear-gradient(180deg,
      rgba(10,10,11,.02) 0%,
      rgba(10,10,11,.04) 50%,
      rgba(10,10,11,.56) 74%,
      rgba(10,10,11,.82) 100%)!important;
  }
  .service-row:hover::after{
    background:linear-gradient(90deg,rgba(10,10,11,.76) 0%,rgba(10,10,11,.66) 49%,rgba(10,10,11,.12) 72%,rgba(10,10,11,.02) 100%)!important;
  }
  .industry-detail:hover::after{
    background:linear-gradient(90deg,rgba(10,10,11,.08) 0%,rgba(10,10,11,.12) 36%,rgba(54,55,58,.84) 60%,#36373A 80%)!important;
  }
}

/* Home capability grid follows the same card language as every other image block. */
.capability-grid{gap:12px;border:0!important;grid-template-columns:repeat(3,1fr)}
.capability-card{min-height:300px;border-radius:var(--radius);padding:26px!important}
.capability-card h3{margin-top:88px}

/* Service cards: remote/digital visuals, not physical installation work. */
.capability-card:nth-child(1),.service-row:nth-child(1){--content-image:url('https://images.unsplash.com/photo-1555066931-4365d14bab8c?auto=format&fit=crop&w=1800&q=80')}
.capability-card:nth-child(2),.service-row:nth-child(2){--content-image:url('https://images.unsplash.com/photo-1677442136019-21780ecad995?auto=format&fit=crop&w=1800&q=80')}
.capability-card:nth-child(3),.service-row:nth-child(3){--content-image:url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&w=1800&q=80')}
.capability-card:nth-child(4),.service-row:nth-child(4){--content-image:url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1800&q=80')}
.capability-card:nth-child(5),.service-row:nth-child(5){--content-image:url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?auto=format&fit=crop&w=1800&q=80')}
.capability-card:nth-child(6),.service-row:nth-child(6){--content-image:url('https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1800&q=80')}
.service-list{padding-top:28px;gap:14px}
.service-row{min-height:290px;padding:38px!important;border-radius:var(--radius)}
.service-row h2{font-size:clamp(30px,3.25vw,48px)}
.service-row p{font-size:16px;color:#D1CBC1}
.service-tags span{background:rgba(10,10,11,.42);color:#D4CEC4}

/* Solutions use the same surface/image rhythm. */
.solution-grid{padding-top:34px;gap:14px}
.solution-card{min-height:310px}
.solution-card p{color:#D1CBC1}

/* Home industry imagery. */
.industry-card:nth-child(1){--industry-image:url('https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1600&q=80')}
.industry-card:nth-child(2){--industry-image:url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&w=1600&q=80')}
.industry-card:nth-child(3){--industry-image:url('https://images.unsplash.com/photo-1684695747561-9372850cf165?auto=format&fit=crop&w=1600&q=80')}
.industry-card::before{content:"";position:absolute;inset:0;background-image:var(--industry-image);background-size:cover;background-position:center;z-index:0}
.industry-card{min-height:340px}
.industry-card p{color:#D1CBC1}

/* Full industry page — each sector remains visual but text sits on graphite. */
.industry-detail-list{padding-top:28px}
.industry-detail{min-height:360px;padding:48px!important;margin-bottom:14px;border-radius:var(--radius)}
.industry-detail::before{content:"";position:absolute;inset:0 auto 0 0;width:62%;background-image:var(--industry-detail-image);background-size:cover;background-position:center;z-index:0}
.industry-detail#professional{--industry-detail-image:url('https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1800&q=80')}
.industry-detail#retail{--industry-detail-image:url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&w=1800&q=80')}
.industry-detail#logistics{--industry-detail-image:url('https://images.unsplash.com/photo-1684695747561-9372850cf165?auto=format&fit=crop&w=1800&q=80')}
.industry-detail#construction{--industry-detail-image:url('https://images.unsplash.com/photo-1545121906-5ddab285514c?auto=format&fit=crop&w=1800&q=80')}
.industry-detail#maritime{--industry-detail-image:url('https://images.unsplash.com/photo-1759970729402-91357e49379e?auto=format&fit=crop&w=1800&q=80')}
.industry-detail#manufacturing{--industry-detail-image:url('https://unsplash.com/photos/nhdKCmLI0Bs/download?force=true')}
.industry-detail#property{--industry-detail-image:url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1800&q=80')}
.industry-detail#field-services{--industry-detail-image:url('https://images.unsplash.com/photo-1581094794329-c8112a89af12?auto=format&fit=crop&w=1800&q=80')}
.industry-intro{font-size:20px}

/* About and contact receive the same graphite reading logic. */
.principle-grid{gap:12px;background:transparent;border:0}
.principle-grid article{border-radius:var(--radius);min-height:280px}
.about-copy p{color:#D1CBC1}
.contact-hero{gap:56px}
.contact-layout{padding-top:30px}
.project-form{padding:32px;background:var(--surface)!important}
.project-form input,.project-form textarea,.project-form select{background:#19191B!important;border-color:rgba(244,240,230,.16)}
.contact-aside{
  top:96px;
  padding:30px;
  border:1px solid rgba(244,240,230,.16);
  border-top:1px solid #F200FF;
  border-radius:var(--radius);
  background:
    radial-gradient(circle at 100% 0%,rgba(242,0,255,.13),transparent 34%),
    var(--surface-2)!important;
}
.contact-email{padding:10px 14px;border:1px solid rgba(242,0,255,.42);border-radius:999px}

/* Compact footer. */
.site-footer{padding:16px 0 18px!important;border-top:1px solid var(--border)}
.footer-inner{grid-template-columns:1fr auto;align-items:center;gap:28px}
.footer-brand{
  position:relative;
  min-height:46px!important;
  padding:0 0 0 106px!important;
  display:flex;
  align-items:center;
  justify-content:flex-start;
}
.footer-brand::before{
  content:"";
  position:absolute;
  left:0;
  top:50%;
  transform:translateY(-50%);
  width:90px!important;
  height:44px!important;
  border:1px solid var(--border);
  border-radius:10px!important;
  background:#030307 url('/Logo1.png') center/contain no-repeat!important;
}
.footer-brand strong{display:none}
.footer-brand p{margin:0!important;font-size:11px!important;line-height:1.4;max-width:460px}
.footer-links{gap:16px}
.footer-links a{font-size:11px}
.footer-bottom{margin-top:12px!important;padding-top:11px!important;font-size:10px}

@media(max-width:1100px){
  .hero{grid-template-columns:1fr .68fr;gap:34px}
  .hero-copy h1{font-size:clamp(52px,6.3vw,74px)}
  .hero-system{width:min(100%,380px)}
  .capability-grid{grid-template-columns:repeat(2,1fr)}
}

@media(max-width:900px){
  :root{--header:66px}
  .hero{min-height:auto;grid-template-columns:1fr;padding-block:52px 60px}
  .hero-system{width:min(460px,86%);justify-self:center}
  .page-hero{padding:36px!important}
  main>.section.shell:not(.service-list):not(.industry-detail-list):not(.solution-grid):not(.contact-layout):not(.outcome-section),
  .section-tinted>.shell{padding:36px!important}
  .final-cta{padding:28px 30px!important}
  .final-cta h2{font-size:clamp(30px,6vw,44px);margin-bottom:18px}
  .service-row{padding:32px!important}
  .industry-detail{padding:34px!important}
  .industry-detail::before{width:100%;height:52%;bottom:auto}
  .industry-detail::after{background:linear-gradient(180deg,rgba(10,10,11,.14),rgba(54,55,58,.64) 38%,#36373A 62%)!important}
  .footer-brand{padding-left:0!important;padding-top:52px!important;align-items:flex-start}
  .footer-brand::before{top:0;transform:none}
}

@media(max-width:620px){
  .hero{padding-block:38px 48px}
  .hero-copy h1{font-size:clamp(46px,14vw,64px)}
  .hero-lead{font-size:16px}
  .hero-system{width:100%}
  .page-hero{margin-top:16px;padding:28px 24px!important}
  .page-hero h1{font-size:clamp(42px,13vw,60px)}
  main>.section.shell:not(.service-list):not(.industry-detail-list):not(.solution-grid):not(.contact-layout):not(.outcome-section),
  .section-tinted>.shell,.outcome-panel{padding:26px!important}
  .final-cta{padding:24px!important;margin-block:16px 22px}
  .final-cta h2{font-size:clamp(28px,9vw,38px);margin-bottom:16px}
  .final-cta .button{min-height:44px}
  .section{padding-block:54px}
  .capability-grid{grid-template-columns:1fr}
  .service-row{min-height:300px;padding:26px!important}
  .industry-detail{padding:26px!important}
  .project-form,.contact-aside{padding:22px}
  .site-footer{padding-block:14px!important}
  .footer-inner{grid-template-columns:1fr;gap:16px}
  .footer-links{gap:12px}
  .footer-bottom{gap:7px}
}
