/* Theme toggle button */
.theme-tg{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;border:1px solid var(--line);background:transparent;color:var(--ink);cursor:pointer;transition:color .25s,border-color .25s,transform .5s cubic-bezier(.2,.7,.2,1);padding:0}
.theme-tg:hover{color:var(--aura);border-color:var(--aura)}
[data-theme="dark"] .theme-tg svg{transform:rotate(180deg)}
.theme-tg svg{transition:transform .5s cubic-bezier(.2,.7,.2,1)}
html{transition:background-color .4s}
body,.nav,.method,.contact-section,.svc-card,.o-node,.step-pane,.cases-tabs button,.cases-nav .arrow,.ig-card,.faq-item{transition:background-color .4s,color .4s,border-color .4s}

/* Dark palette */
[data-theme="dark"]{--bg:#121315;--bg-2:#17191c;--paper:#1c1e21;--ink:#f1efea;--ink-2:#bdbab2;--mute:#8d8a82;--line:rgba(241,239,234,.14);--hair:rgba(241,239,234,.07);--aura:#8fb6ca;--aura-deep:#0b1420;--aura-glow:#3a6a84;--sand:#6f6656;--blue:#8fb6ca;--blue-deep:#0f2230;--blue-soft:#1b2a33;--stone:#202226;color-scheme:dark}
[data-theme="dark"] body{background:var(--bg);color:var(--ink)}
[data-theme="dark"] .nav{background:rgba(18,19,21,.62);border-bottom-color:rgba(241,239,234,.06)}
[data-theme="dark"] .nav.scrolled{background:rgba(18,19,21,.9)}
[data-theme="dark"] .nav-links a,[data-theme="dark"] .nav-links>a,[data-theme="dark"] .dd>button{background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.1);box-shadow:none;color:var(--ink)}
[data-theme="dark"] .nav-links a:hover,[data-theme="dark"] .dd:hover>button{background:rgba(255,255,255,.1);color:var(--aura)}
[data-theme="dark"] .brand img,[data-theme="dark"] .foot-mega img,[data-theme="dark"] footer img[alt="Aura Method"],[data-theme="dark"] .foot img[alt="Aura Method"]{filter:brightness(0) invert(.94)}
[data-theme="dark"] .client-logo-img,[data-theme="dark"] .mq img{filter:grayscale(1) invert(1) brightness(1.1);mix-blend-mode:screen}
[data-theme="dark"] .am-ph img{filter:saturate(.8) contrast(1) brightness(.9)}
[data-theme="dark"] .am-ph::after{opacity:.12}
[data-theme="dark"] .mnav,[data-theme="dark"] .dd-panel div{background:var(--bg)}
[data-theme="dark"] input,[data-theme="dark"] select,[data-theme="dark"] textarea{color:var(--ink);background-color:transparent}
[data-theme="dark"] select option{background:#1c1e21;color:var(--ink)}
[data-theme="dark"] .btn.solid,[data-theme="dark"] .btn-pri{background:var(--ink);color:var(--bg);border-color:var(--ink)}
[data-theme="dark"] .btn.solid:hover,[data-theme="dark"] .btn-pri:hover{background:var(--aura);border-color:var(--aura);color:#0b1420}
[data-theme="dark"] .cw-slide{box-shadow:0 40px 80px -40px rgba(0,0,0,.8)}
[data-theme="dark"] .cursor-dot{background:var(--ink)}
[data-theme="dark"] ::selection{background:var(--aura);color:#0b1420}

[data-theme="dark"] .invite{background:rgba(5,8,12,.6)}
[data-theme="dark"] .invite-card{background:#1c1e21;border-color:rgba(241,239,234,.12);color:var(--ink)}
[data-theme="dark"] .invite-card .ttl{color:var(--ink)}
[data-theme="dark"] .invite-card .ttl .it{color:var(--aura)}
[data-theme="dark"] .invite-card .go{background:var(--ink);color:#121315;border-color:var(--ink)}
[data-theme="dark"] .invite-card .go:hover{background:var(--aura);border-color:var(--aura);color:#0b1420}
[data-theme="dark"] .invite-card .later,[data-theme="dark"] .invite-close{color:var(--mute)}
[data-theme="dark"] .invite-card .later:hover,[data-theme="dark"] .invite-close:hover{color:var(--ink)}

.contact-form button[type="submit"],.form button[type="submit"]{background:#27556C!important;border-color:#27556C!important;color:#fff!important}
.contact-form button[type="submit"]:hover,.form button[type="submit"]:hover{background:#1d4255!important;border-color:#1d4255!important;color:#fff!important}

/* Mobile: never clip text at the sides */
@media (max-width:760px){
html,body{overflow-x:hidden;max-width:100%}
h1,h2,h3,h4,p,li,a,span,div,dd,dt,label,button,figcaption{overflow-wrap:normal;word-wrap:normal;word-break:normal;hyphens:manual;-webkit-hyphens:manual;min-width:0}
.hero h1,.hero-title,#top h1{font-size:clamp(26px,7.2vw,40px)!important;max-width:100%!important;letter-spacing:-.035em!important;line-height:1.1!important;white-space:normal!important;text-wrap:balance;margin-bottom:28px!important}
.hero h1 .glow,.hero h1 .it{padding:0!important;margin:0!important}
.hero{padding-top:120px!important}
.hero-lede,.hero-sub{font-size:16px!important;line-height:1.5!important}
.hero-foot{grid-template-columns:1fr 1fr!important;gap:0!important;margin-top:32px!important}
.hero-stat{padding:16px 12px 16px 0!important}
.hero-stat:nth-of-type(even){padding-left:12px!important}
.hero-stat .v{font-size:clamp(26px,8vw,34px)!important;line-height:1.05!important}
.hero-stat .l,.hero-stat .k,.hero-stat small{font-size:11px!important;line-height:1.35!important}
.section-head{gap:14px!important}
.svc-desc,.sector-d,.case-desc,.desc,.faq-a p{font-size:15px!important;line-height:1.5!important}
.faq-q{font-size:17px!important;gap:14px!important}
.cases-tabs{overflow-x:auto;flex-wrap:nowrap!important;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.cases-tabs::-webkit-scrollbar{display:none}
.cases-tabs button{flex:0 0 auto}
.cw-controls{flex-wrap:nowrap!important}
.cw-controls>*{width:100%!important;max-width:100%!important;min-width:0!important}
.cw-controls .cases-nav{flex-wrap:wrap;gap:10px!important}
.ig-card-head{flex-wrap:wrap;gap:12px!important}
.contact-form .row,.form .row{grid-template-columns:1fr!important}
.foot-mega img{width:86%!important}
.section-head h2,.cw-head h2,.h1,.h2,.mag-quote p,.statement{max-width:100%!important;letter-spacing:-.03em!important}
.section-head h2{font-size:clamp(28px,8vw,42px)!important;line-height:1.05!important}
.cw-head h2{font-size:clamp(32px,9.5vw,48px)!important}
.mag-quote p{font-size:clamp(34px,10vw,56px)!important}
.h1{font-size:clamp(32px,9.5vw,48px)!important}
.wrap,.nav-inner,.hero-inner,.mag-spread,.hp-wrap{padding-left:20px!important;padding-right:20px!important;max-width:100vw}
.svc-title,.svc-card h3,.xp h3,.ch h3,.svc-row h3{font-size:clamp(21px,6vw,28px)!important}
.chip,.cs-wm,.nav-links a{white-space:normal}
.sectors-strip{flex-wrap:wrap}
.hero-stat.hs-loc .v{white-space:normal!important}
img,svg,video,iframe{max-width:100%}
.fx-w,.fw-w{white-space:normal}
}
