/* Anmaya Technologies company website (server-rendered by src/services/companySite.js). */
:root {
  --ink: #0b1220; --ink-2: #334155; --muted: #64748b; --line: #e2e8f0; --bg: #ffffff; --tint: #f5f8fc;
  --brand: #0b59be; --brand-2: #0a3f8a; --brand-weak: #e8f1fc; --accent: #19c3e6; --accent-2: #0ea5c6; --hot: #ff6a3d;
  --night: #060b16; --night-2: #0c1528; --night-3: #13213d; --night-ink: #c7d2e5;
  --radius: 14px; --shadow: 0 14px 40px rgba(6, 11, 22, .10);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; --display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; margin: 0 0 .6rem; letter-spacing: -.015em; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1rem; }
.wrap { width: min(1240px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(860px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
.ic { flex: none; }
.hp { position: absolute !important; left: -9999px; }
.kicker { display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: .9rem; }
.kicker::before { content: ''; width: 26px; height: 2px; background: currentColor; }
.kicker--light { color: var(--accent); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; border: 2px solid transparent; border-radius: 999px; padding: .75rem 1.4rem; font-weight: 600; font-size: .95rem; transition: transform .12s, background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-2); }
.btn--accent { background: var(--accent); color: var(--night); }
.btn--accent:hover { background: #4fd6f0; }
.btn--ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.08); }
.btn--line { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--line:hover { border-color: var(--brand); color: var(--brand); }
.link { display: inline-flex; align-items: center; gap: .35rem; color: var(--brand); font-weight: 600; }
.link:hover { gap: .55rem; }

/* Top strip + header */
.strip { background: var(--night); color: var(--night-ink); font-size: .82rem; }
.strip .wrap { display: flex; gap: 1.6rem; align-items: center; height: 38px; }
.strip a { display: inline-flex; align-items: center; gap: .4rem; }
.strip a:hover { color: #fff; }
.strip .sp { flex: 1; }
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s; }
.hdr.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(6,11,22,.06); }
.hdr__in { display: flex; align-items: center; gap: 1.5rem; height: 76px; }
.hdr__logo img { height: 42px; width: auto; }
.nav { display: flex; align-items: center; gap: .2rem; margin-left: auto; font-weight: 500; font-size: .95rem; }
.nav > a, .nav__drop > button { padding: .55rem .85rem; border-radius: 8px; color: var(--ink-2); background: none; border: 0; display: inline-flex; align-items: center; gap: .3rem; }
.nav > a:hover, .nav__drop > button:hover, .nav > a.is-on { color: var(--brand); background: var(--brand-weak); }
.nav__drop { position: relative; }
.drop { position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px); width: min(720px, 90vw); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 24px 60px rgba(6,11,22,.16); padding: 1.2rem; display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; opacity: 0; visibility: hidden; transition: .16s; }
.nav__drop.is-open .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.drop a { display: flex; gap: .8rem; padding: .7rem; border-radius: 10px; }
.drop a:hover { background: var(--tint); }
.drop .di { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-weak); color: var(--brand); display: grid; place-items: center; flex: none; }
.drop strong { display: block; font-size: .93rem; color: var(--ink); }
.drop small { color: var(--muted); font-size: .8rem; line-height: 1.4; display: block; }
.hdr .btn { padding: .6rem 1.15rem; }
.burger { display: none; background: none; border: 0; padding: .4rem; margin-left: auto; }
.burger span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

/* Hero slider */
.hero { position: relative; background: var(--night); color: #fff; overflow: hidden; min-height: min(86vh, 720px); }
.slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; transition: opacity .8s ease; pointer-events: none; }
.slide.is-on { opacity: 1; pointer-events: auto; position: relative; }
.slide__bg { position: absolute; inset: 0; background: radial-gradient(900px 500px at 78% 40%, var(--glow, rgba(25,195,230,.22)), transparent 65%), linear-gradient(120deg, var(--night) 35%, var(--night-3)); }
.slide__art { position: absolute; right: max(2vw, calc((100vw - 1240px) / 2 - 40px)); top: 50%; transform: translateY(-50%); width: min(46vw, 600px); opacity: .95; }
.slide__art svg { width: 100%; height: auto; }
.slide__in { position: relative; z-index: 2; padding: 5rem 0 6.5rem; }
.slide h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); font-weight: 700; max-width: 680px; margin-bottom: 1.1rem; }
.slide h1 em { font-style: normal; background: linear-gradient(90deg, var(--accent), #8be9ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.slide p { color: var(--night-ink); font-size: 1.15rem; max-width: 560px; margin-bottom: 2rem; }
.slide .ctas { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero__nav { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; border-top: 1px solid rgba(255,255,255,.08); background: rgba(6,11,22,.55); backdrop-filter: blur(6px); }
.hero__nav .wrap { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); }
.hero__nav button { background: none; border: 0; color: var(--night-ink); text-align: left; padding: 1rem 1rem 1.1rem; position: relative; font-size: .88rem; border-right: 1px solid rgba(255,255,255,.06); }
.hero__nav button strong { display: block; color: #fff; font-family: var(--display); font-size: .98rem; }
.hero__nav button::before { content: ''; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--accent); }
.hero__nav button.is-on::before { animation: bar var(--dur, 7s) linear forwards; }
.hero__nav button.is-on { background: rgba(255,255,255,.04); }
@keyframes bar { to { width: 100%; } }

/* Sections */
.sec { padding: 6rem 0; }
.sec--tint { background: var(--tint); }
.sec--night { background: var(--night); color: #fff; }
.sec--night p { color: var(--night-ink); }
.sec__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 3rem; }
.sec__head p { color: var(--muted); max-width: 560px; margin: 0; }
.sec--night .sec__head p { color: var(--night-ink); }
.grid { display: grid; gap: 1.5rem; }
.g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }

/* Intro */
.intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; }
.intro__lead { font-size: 1.2rem; color: var(--ink-2); }
.glance { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.glance div { background: #fff; padding: 1.6rem 1.4rem; }
.glance strong { display: block; font-family: var(--display); font-size: 2.3rem; color: var(--brand); line-height: 1.1; }
.glance span { color: var(--muted); font-size: .9rem; }

/* Divisions */
.div-card { position: relative; border-radius: var(--radius); padding: 2rem 1.7rem 1.7rem; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: .7rem; transition: transform .18s, box-shadow .18s, border-color .18s; overflow: hidden; }
.div-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.div-card .n { font-family: var(--display); font-size: .82rem; color: var(--muted); letter-spacing: .1em; }
.div-card .di { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-weak); color: var(--brand); }
.div-card p { color: var(--muted); margin: 0; flex: 1; font-size: .95rem; }
.div-card ul { margin: 0; padding-left: 1.1rem; color: var(--ink-2); font-size: .9rem; }
.div-card--feature { background: linear-gradient(150deg, var(--night-2), var(--night)); color: #fff; border-color: transparent; }
.div-card--feature p, .div-card--feature ul { color: var(--night-ink); }
.div-card--feature .di { background: rgba(25,195,230,.14); color: var(--accent); }
.div-card--feature .link { color: var(--accent); }

/* Capabilities (chip to product) */
.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); overflow: hidden; margin-bottom: 3rem; }
.flow--5 { grid-template-columns: repeat(5, 1fr); }
.flow div { padding: 1.3rem 1.1rem; border-right: 1px solid rgba(255,255,255,.08); position: relative; }
.flow div:last-child { border-right: 0; }
.flow b { display: block; font-family: var(--display); color: #fff; font-size: 1rem; }
.flow span { color: var(--night-ink); font-size: .82rem; }
.flow i { font-style: normal; font-family: var(--display); color: var(--accent); font-size: .78rem; letter-spacing: .1em; }
.cap { display: flex; gap: 1rem; padding: 1.4rem; border-radius: var(--radius); background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); transition: background .18s, border-color .18s; }
.cap:hover { background: rgba(255,255,255,.06); border-color: rgba(25,195,230,.35); }
.cap .di { width: 46px; height: 46px; border-radius: 12px; background: rgba(25,195,230,.12); color: var(--accent); display: grid; place-items: center; flex: none; }
.cap h3 { color: #fff; margin-bottom: .3rem; font-size: 1.05rem; }
.cap p { margin: 0; font-size: .9rem; }
.cap ul { margin: .5rem 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; }
.cap li { font-size: .74rem; padding: .15rem .55rem; border-radius: 999px; background: rgba(255,255,255,.06); color: var(--night-ink); }

/* Industries */
.ind { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 240px; padding: 1.6rem; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(160deg, var(--c1, #0b59be), var(--c2, #060b16)); isolation: isolate; }
.ind svg.bgart { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .35; }
.ind h3 { font-size: 1.25rem; margin-bottom: .35rem; }
.ind p { margin: 0; font-size: .9rem; color: rgba(255,255,255,.82); }

/* Work / case studies */
.case { border-radius: var(--radius); border: 1px solid var(--line); background: #fff; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .18s, transform .18s; }
.case:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.case__art { aspect-ratio: 16 / 8; background: var(--night-2); display: grid; place-items: center; overflow: hidden; }
.case__art svg { width: 100%; height: 100%; }
.case__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.case__tag { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.case__body p { color: var(--muted); font-size: .93rem; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: auto; padding-top: .6rem; }
.chips span { font-size: .74rem; padding: .2rem .6rem; border-radius: 999px; background: var(--tint); color: var(--ink-2); border: 1px solid var(--line); }

/* Ecosystem: VIVEQA + Store */
.eco { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.eco a { position: relative; border-radius: 20px; padding: 2.4rem; min-height: 320px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; overflow: hidden; isolation: isolate; transition: transform .2s; }
.eco a:hover { transform: translateY(-4px); }
.eco a::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(500px 260px at 90% 10%, rgba(255,255,255,.18), transparent 60%); }
.eco .v { background: linear-gradient(135deg, #0077b6, #03045e); }
.eco .s { background: linear-gradient(135deg, #f97316, #9a3412); }
.eco h3 { font-size: 2rem; margin-bottom: .5rem; }
.eco p { color: rgba(255,255,255,.88); max-width: 420px; }
.eco .logo-v { width: 64px; height: 64px; }
.eco ul { list-style: none; padding: 0; margin: 0 0 1.4rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.eco li { font-size: .8rem; padding: .25rem .7rem; border-radius: 999px; background: rgba(255,255,255,.15); }
.eco .go { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; background: #fff; color: var(--ink); padding: .65rem 1.2rem; border-radius: 999px; align-self: flex-start; }

/* Why */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.why div { border-top: 2px solid var(--brand); padding-top: 1.2rem; }
.why h3 { font-size: 1.05rem; }
.why p { color: var(--muted); font-size: .92rem; margin: 0; }

/* Team */
.person { text-align: left; }
.person .ph { aspect-ratio: 1; border-radius: var(--radius); background: linear-gradient(150deg, var(--brand-weak), #fff); display: grid; place-items: center; overflow: hidden; margin-bottom: .9rem; border: 1px solid var(--line); }
.person .ph img { width: 100%; height: 100%; object-fit: cover; }
.person .ph span { font-family: var(--display); font-size: 2.6rem; color: var(--brand); font-weight: 700; }
.person h3 { margin-bottom: .1rem; font-size: 1.05rem; }
.person small { color: var(--brand); font-weight: 600; }
.person p { color: var(--muted); font-size: .88rem; margin-top: .5rem; }

/* Partners */
.logos { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.logos span { padding: .9rem 1.4rem; border: 1px solid var(--line); border-radius: 12px; font-weight: 700; color: var(--ink-2); background: #fff; font-family: var(--display); }
.logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.logos figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; height: 110px; display: grid; place-items: center; padding: 1rem 1.4rem; transition: box-shadow .2s, border-color .2s; }
.logos figure:hover { box-shadow: var(--shadow); border-color: transparent; }
.logos img { max-width: 100%; max-height: 64px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .85; transition: .2s; }
.logos figure:hover img { filter: none; opacity: 1; }
@media (max-width: 680px) { .logos { grid-template-columns: 1fr 1fr; } .logos figure { height: 90px; } }

/* CTA + contact */
.cta { background: linear-gradient(110deg, var(--brand-2), var(--brand) 55%, #1593d6); color: #fff; border-radius: 22px; padding: 3rem; display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta h2 { margin: 0 0 .4rem; }
.cta p { margin: 0; opacity: .88; }
.cta .sp { flex: 1; }
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: start; }
.cinfo { display: grid; gap: 1.2rem; }
.cinfo div { display: flex; gap: .9rem; }
.cinfo .di { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-weak); color: var(--brand); display: grid; place-items: center; flex: none; }
.cinfo strong { display: block; }
.cinfo span, .cinfo a { color: var(--muted); }
.form { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; box-shadow: var(--shadow); }
.form .full { grid-column: 1 / -1; }
.form label { display: grid; gap: .3rem; font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.form input, .form select, .form textarea { font: inherit; font-size: .95rem; border: 1.5px solid var(--line); border-radius: 10px; padding: .7rem .8rem; width: 100%; background: #fff; color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(11,89,190,.12); }
.form textarea { min-height: 120px; resize: vertical; }
.form .bad { border-color: #dc2626; }
.form .msg { margin: 0; font-weight: 600; }
.form .msg.ok { color: #15803d; } .form .msg.err { color: #dc2626; }
.form.is-done label, .form.is-done button { display: none; }

/* Page head */
.phead { background: var(--night); color: #fff; padding: 5rem 0 4rem; position: relative; overflow: hidden; }
.phead::after { content: ''; position: absolute; inset: 0; background: radial-gradient(700px 360px at 85% 20%, rgba(25,195,230,.2), transparent 65%); }
.phead .wrap { position: relative; z-index: 1; }
.phead h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); max-width: 820px; }
.phead p { color: var(--night-ink); font-size: 1.15rem; max-width: 640px; margin: 0; }
.crumbs { font-size: .85rem; color: var(--night-ink); margin-bottom: 1.2rem; }
.crumbs a:hover { color: #fff; }
.svc { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; padding: 3.5rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.svc:last-child { border-bottom: 0; }
.svc .di { width: 56px; height: 56px; border-radius: 14px; background: var(--brand-weak); color: var(--brand); display: grid; place-items: center; margin-bottom: 1rem; }
.svc ul.ticks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1.2rem; }
.svc ul.ticks li { display: flex; gap: .5rem; font-size: .95rem; color: var(--ink-2); }
.svc ul.ticks li::before { content: ''; flex: none; width: 18px; height: 18px; margin-top: .2rem; border-radius: 50%; background: var(--brand-weak) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b59be' stroke-width='3'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.prose { color: var(--ink-2); font-size: 1.05rem; }
.timeline { border-left: 2px solid var(--line); padding-left: 1.5rem; display: grid; gap: 1.6rem; }
.timeline div { position: relative; }
.timeline div::before { content: ''; position: absolute; left: -1.95rem; top: .35rem; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-weak); }
.timeline b { font-family: var(--display); }

/* Footer */
.ftr { background: var(--night); color: var(--night-ink); padding: 4.5rem 0 0; font-size: .92rem; }
.ftr__grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 2.5rem; }
.ftr h4 { color: #fff; font-family: var(--display); font-size: .98rem; margin-bottom: 1rem; }
.ftr a { display: block; padding: .22rem 0; }
.ftr a:hover { color: #fff; }
.ftr__logo img { height: 40px; margin-bottom: 1rem; }
.ftr__base { margin-top: 3.5rem; border-top: 1px solid rgba(255,255,255,.08); padding: 1.3rem 0; display: flex; gap: 1rem; flex-wrap: wrap; justify-content: space-between; font-size: .82rem; color: #7d8aa5; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1100px) {
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: .6rem 20px 1.2rem; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(0,0,0,.08); }
  .nav.is-open { display: flex; }
  .nav > a, .nav__drop > button { width: 100%; justify-content: flex-start; }
  .drop { position: static; transform: none; width: auto; box-shadow: none; border: 0; padding: 0 0 .5rem; grid-template-columns: 1fr; display: none; opacity: 1; visibility: visible; }
  .nav__drop.is-open .drop { display: grid; transform: none; }
  .burger { display: block; }
  .hdr .btn--primary.hdr__cta { display: none; }
  .g4, .why { grid-template-columns: 1fr 1fr; }
  .g3 { grid-template-columns: 1fr 1fr; }
  .intro, .contact, .svc { grid-template-columns: 1fr; gap: 2rem; }
  .flow, .flow--5 { grid-template-columns: repeat(3, 1fr); }
  .slide__art { opacity: .25; width: 80vw; right: -10vw; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .sec { padding: 4rem 0; }
  .wrap { width: calc(100% - 32px); }
  .g2, .g3, .g4, .why, .eco { grid-template-columns: 1fr; }
  .flow, .flow--5 { grid-template-columns: 1fr; }
  .flow div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .hero__nav .wrap { display: flex; overflow-x: auto; scrollbar-width: none; width: 100%; }
  .hero__nav .wrap::-webkit-scrollbar { display: none; }
  .hero__nav button { flex: 0 0 auto; min-width: 150px; }
  .sec__head { flex-direction: column; align-items: flex-start; }
  .hero__nav .wrap { grid-template-columns: repeat(var(--n, 4), 1fr); }
  .hero__nav button span { display: none; }
  .hero__nav button { padding: .8rem .5rem; font-size: .8rem; }
  .hero__nav button strong { font-size: .8rem; }
  .strip .hide-sm { display: none; }
  .form { grid-template-columns: 1fr; padding: 1.4rem; }
  .svc ul.ticks { grid-template-columns: 1fr; }
  .cta { padding: 2rem; }
  .ftr__grid { grid-template-columns: 1fr; }
  .glance strong { font-size: 1.8rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }

/* ── IP and hardware catalogues ─────────────────────────────────────────── */
.nav__drop > button.is-on { color: var(--brand); }
.mono { font-family: ui-monospace, 'JetBrains Mono', Consolas, monospace; }
.small { font-size: .85rem; }
.mt2 { margin-top: 2rem; }
.pstats { display: flex; flex-wrap: wrap; gap: 1px; margin-top: 2.2rem; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; overflow: hidden; width: fit-content; max-width: 100%; }
.pstats div { background: rgba(6,11,22,.6); padding: 1rem 1.5rem; min-width: 150px; }
.pstats strong { display: block; font-family: var(--display); font-size: 1.9rem; color: #fff; line-height: 1.1; }
.pstats span { color: var(--night-ink); font-size: .85rem; }
.search-x { display: flex; align-items: center; gap: .6rem; border: 2px solid var(--line); border-radius: 14px; padding: .35rem .5rem .35rem 1rem; background: #fff; color: var(--muted); transition: border-color .15s, box-shadow .15s; }
.search-x:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(11,89,190,.1); }
.search-x input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 1.02rem; padding: .6rem 0; min-width: 0; color: var(--ink); background: transparent; }
.search-x small { white-space: nowrap; padding-right: .6rem; }
.ip-results { margin-top: 1.2rem; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.ip-results a { display: grid; grid-template-columns: 130px 1fr auto; gap: 1rem; padding: .8rem 1.1rem; border-bottom: 1px solid var(--line); align-items: baseline; }
.ip-results a:hover { background: var(--tint); }
.ip-results a:last-child { border-bottom: 0; }
.ip-results .t { font-weight: 600; }
.ip-results .s { color: var(--muted); font-size: .86rem; display: block; font-weight: 400; }
.ip-results .m { color: var(--muted); font-size: .8rem; white-space: nowrap; }
.ip-results p { padding: 1rem; margin: 0; color: var(--muted); }
.pillar { margin-top: 3.5rem; }
.pillar__head { display: grid; grid-template-columns: auto 1fr auto; gap: 1.2rem; align-items: center; margin-bottom: 1.4rem; }
.pillar__head .di { width: 60px; height: 60px; border-radius: 16px; background: var(--brand-weak); color: var(--brand); display: grid; place-items: center; }
.pillar__head h2 { font-size: 1.6rem; margin: .1rem 0 .3rem; }
.pillar__head p { color: var(--muted); margin: 0; max-width: 720px; }
.pillar__n { text-align: right; }
.pillar__n strong { display: block; font-family: var(--display); font-size: 2.2rem; color: var(--brand); line-height: 1; }
.pillar__n span { color: var(--muted); font-size: .85rem; }
.fams { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .7rem; }
.fam { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .15s, box-shadow .15s, transform .15s; }
.fam:hover { border-color: var(--brand); box-shadow: 0 8px 20px rgba(11,89,190,.1); transform: translateY(-2px); }
.fam strong { font-size: .92rem; font-weight: 600; }
.fam span { color: var(--muted); font-size: .8rem; white-space: nowrap; }
.table-x { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.table-x table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table-x th, .table-x td { text-align: left; padding: .65rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-x thead th { background: var(--tint); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.table-x tbody th { background: var(--tint); font-weight: 600; width: 34%; color: var(--ink-2); }
.table-x tr:last-child td, .table-x tr:last-child th { border-bottom: 0; }
.table-x .r { text-align: right; white-space: nowrap; }
.table-x a:hover { color: var(--brand); }
.st { display: inline-flex; align-items: center; gap: .35rem; font-size: .76rem; font-weight: 600; padding: .22rem .6rem; border-radius: 999px; white-space: nowrap; width: fit-content; }
.st::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st--ok { background: #e8f6ee; color: #15803d; }
.st--wip { background: #fff4e5; color: #b45309; }
.phead .st--ok { background: rgba(34,197,94,.15); color: #86efac; }
.phead .st--wip { background: rgba(251,191,36,.15); color: #fcd34d; }
.core { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 3rem; align-items: start; }
.core__side { display: grid; gap: 1rem; position: sticky; top: 96px; }
.sidecard { border: 1px solid var(--line); border-radius: 14px; padding: 1.2rem 1.3rem; background: #fff; }
.sidecard h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 .8rem; }
.sidecard dl { margin: 0; display: grid; gap: .3rem; }
.sidecard dt { font-size: .78rem; color: var(--muted); }
.sidecard dd { margin: 0 0 .4rem; font-size: .9rem; }
.sidecard--cta { background: linear-gradient(150deg, var(--night-2), var(--night)); color: #fff; border: 0; }
.sidecard--cta h4 { color: var(--accent); }
.sidecard--cta p { color: var(--night-ink); }
.resgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.resgrid div { background: var(--tint); border-radius: 10px; padding: .6rem .3rem; text-align: center; }
.resgrid strong { display: block; font-family: var(--display); font-size: 1.15rem; }
.resgrid span { font-size: .72rem; color: var(--muted); }
.ticks1 { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.ticks1 li { display: flex; gap: .55rem; color: var(--ink-2); }
.ticks1 li::before { content: ''; flex: none; width: 18px; height: 18px; margin-top: .2rem; border-radius: 50%; background: var(--brand-weak) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b59be' stroke-width='3'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.plainlist { margin: 0; padding-left: 1.1rem; display: grid; gap: .35rem; color: var(--ink-2); font-size: .9rem; }
.hw-tools { display: grid; gap: 1rem; margin-bottom: 1rem; position: sticky; top: 72px; z-index: 5; background: rgba(255,255,255,.96); padding: .8rem 0; backdrop-filter: blur(6px); }
.chips-x { display: flex; flex-wrap: wrap; gap: .45rem; }
.chips-x button { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: .4rem .9rem; font: inherit; font-size: .86rem; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.chips-x button span { color: var(--muted); font-weight: 500; margin-left: .2rem; }
.chips-x button.is-on, .chips-x button:hover { border-color: var(--brand); background: var(--brand); color: #fff; }
.chips-x button.is-on span, .chips-x button:hover span { color: #dbeafe; }
.hwgroup { margin-top: 2.5rem; }
.hwgroup[hidden], .hwsub[hidden], .hwgrid[hidden] { display: none; }
.hwgroup h2 { font-size: 1.7rem; border-bottom: 2px solid var(--line); padding-bottom: .6rem; }
.hwsub { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); margin: 1.6rem 0 .8rem; }
.hwgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.hwcard { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: box-shadow .18s, transform .18s, border-color .18s; }
.hwcard:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; }
.hwcard[hidden] { display: none; }
.hwcard__img { aspect-ratio: 4 / 3; background: #eef2f7; display: grid; place-items: center; overflow: hidden; color: #94a3b8; border-bottom: 1px solid var(--line); }
.hwcard__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s; }
.hwcard:hover .hwcard__img img { transform: scale(1.04); }
.hwcard__body { padding: .9rem 1rem 1.1rem; display: grid; gap: .35rem; }
.hwcard__body strong { font-size: .97rem; line-height: 1.3; }
.hwcard__body .muted { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gallery-x { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; margin-bottom: 1.8rem; }
.gallery-x figure { margin: 0; border: 1px solid var(--line); border-radius: 14px; background: #eef2f7; overflow: hidden; display: grid; place-items: center; }
.gallery-x figure.main { grid-column: 1 / -1; }
.gallery-x img { max-height: 460px; width: 100%; object-fit: contain; }
.gallery-x figure:not(.main) { background: #fff; }
.port { display: flex; flex-direction: column; gap: .5rem; padding: 2rem; border-radius: 18px; background: linear-gradient(150deg, rgba(25,195,230,.12), rgba(11,89,190,.08)); border: 1px solid rgba(25,195,230,.25); transition: transform .18s, border-color .18s; }
.port:hover { transform: translateY(-3px); border-color: var(--accent); }
.port strong { font-family: var(--display); font-size: 3.4rem; color: #fff; line-height: 1; }
.port span { color: var(--night-ink); }
.port em { font-style: normal; color: var(--accent); font-weight: 600; display: inline-flex; gap: .4rem; align-items: center; margin-top: .6rem; }
.hwstrip { display: grid; grid-template-columns: repeat(8, 1fr); gap: .6rem; margin-top: 1.5rem; }
.hwstrip a { background: #eef2f7; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.hwstrip img { aspect-ratio: 4 / 3; object-fit: contain; width: 100%; }
.hwstrip span { font-size: .66rem; color: var(--night-ink); background: var(--night-2); padding: .35rem .5rem; font-family: ui-monospace, Consolas, monospace; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 1100px) { .core { grid-template-columns: 1fr; } .core__side { position: static; } .hwstrip { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 680px) {
  .pillar__head { grid-template-columns: auto 1fr; } .pillar__n { grid-column: 1 / -1; text-align: left; }
  .ip-results a { grid-template-columns: 1fr; gap: .2rem; }
  .pstats div { min-width: 46%; flex: 1; padding: .8rem 1rem; } .pstats strong { font-size: 1.4rem; }
  .gallery-x { grid-template-columns: 1fr; }
  .hw-tools { position: static; }
  .hwgrid { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .hwcard__body { padding: .7rem .75rem .9rem; }
  .resgrid { grid-template-columns: repeat(2, 1fr); }
  .port strong { font-size: 2.6rem; }
}
