/* SIRISENSE — site styles. Black / cobalt / gold. No external requests. */

@font-face { font-family: 'Geist'; src: url('../fonts/geist-latin.woff2') format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Geist'; src: url('../fonts/geist-latin-ext.woff2') format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
	color-scheme: dark;
	--black: #000;
	--night: #050b1a;        /* raised surface */
	--navy: #0a1a3d;         /* panel tint */
	--cobalt: #2f6bff;
	--sky: #8db2ff;          /* blue for text on black */
	--gold: #d9a441;
	--gold-pale: #f1d48f;
	--ivory: #f4f0e6;
	--mist: #a3adc2;         /* secondary text */
	--rule: rgba(141, 178, 255, .16);
	--rule-gold: rgba(217, 164, 65, .45);
	--display: 'Geist', 'Segoe UI', system-ui, sans-serif;
	--body: 'Geist', 'Segoe UI', system-ui, sans-serif;
	--wrap: 1200px;
	--gutter: clamp(18px, 4vw, 48px);
	--section: clamp(64px, 9vw, 128px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--black);
	color: var(--ivory);
	font: 400 1.0625rem/1.6 var(--body);
	-webkit-font-smoothing: antialiased;
	overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--sky); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--gold-pale); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.05; letter-spacing: -.04em; text-wrap: balance; }
button, input, textarea { font: inherit; color: inherit; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 20; padding: 10px 14px; background: var(--gold); color: #000; font-weight: 600; }
.skip:focus { top: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(0, 0, 0, .82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--rule); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ivory); text-decoration: none; font: 600 1.1rem/1 var(--display); letter-spacing: .06em; }
.brand:hover { color: var(--ivory); }
.brand svg { width: 30px; height: 30px; flex: none; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); font-size: .95rem; }
.nav a { color: var(--mist); text-decoration: none; padding: 8px 0; }
.nav a:hover { color: var(--ivory); }
.nav .nav-cta { padding: 9px 16px; border: 1px solid var(--rule-gold); border-radius: 999px; color: var(--gold-pale); white-space: nowrap; }
.nav .nav-cta:hover { background: var(--gold); border-color: var(--gold); color: #000; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border: 1px solid var(--gold); border-radius: 999px; background: var(--gold); color: #000; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .15s, color .15s; }
.btn:hover { background: var(--gold-pale); color: #000; }
.btn.ghost { background: transparent; border-color: var(--rule); color: var(--ivory); }
.btn.ghost:hover { border-color: var(--sky); color: var(--sky); background: transparent; }
.btn[disabled] { opacity: .6; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* Hero */
.hero { position: relative; padding: clamp(48px, 8vw, 112px) 0 clamp(56px, 8vw, 104px); overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -30% -10% auto 35%; height: 120%; background: radial-gradient(closest-side, rgba(47, 107, 255, .26), transparent); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); font-weight: 700; line-height: .98; letter-spacing: -.055em; }
.hero h1 em { font-style: normal; color: var(--gold); }
.lede { max-width: 34em; margin-top: 28px; color: var(--mist); font-size: clamp(1.08rem, 1.5vw, 1.3rem); line-height: 1.5; }
.lede strong { color: var(--ivory); font-weight: 500; }

/* Hero panel: signals in, door open */
.finder { position: relative; border: 1px solid var(--rule); border-radius: 20px; background: linear-gradient(180deg, #071330, #030814); overflow: hidden; }
.finder-bar { display: flex; justify-content: space-between; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--rule); color: var(--mist); font-size: .82rem; }
.finder-bar b { color: var(--gold-pale); font-weight: 500; }
.cases { padding: 0 18px; }
.case { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 6px; padding: 26px 0 22px; }
.case + .case { border-top: 1px solid var(--rule); }
.case .wide { grid-column: 1 / 4; }
.tile { color: var(--mist); font-size: .84rem; line-height: 1.25; text-align: center; }
.tile svg { width: 100%; height: 68px; margin-bottom: 10px; }
.tile.act { color: var(--gold-pale); font-weight: 500; }
.op { color: var(--sky); font-size: 1.3rem; line-height: 68px; }
.box { fill: none; stroke: var(--gold); stroke-width: 2; stroke-dasharray: 1; }
.ico { fill: none; stroke: var(--sky); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.plate-text { fill: var(--ivory); font: 600 17px var(--body); letter-spacing: .04em; }
.gap { fill: rgba(47, 107, 255, .35); stroke: none; }
.leaf { fill: #071330; stroke: var(--gold); stroke-width: 2; transform-box: fill-box; }
.leaf.door { transform-origin: left center; transform: scaleX(.3); }
.leaf.garage { transform-origin: center top; transform: scaleY(.2); }
@media (prefers-reduced-motion: no-preference) {
	.case .box { animation: draw .7s cubic-bezier(.6, 0, .2, 1) both; animation-delay: var(--t); }
	.case .second .box { animation-delay: calc(var(--t) + .6s); }
	.case .tile.sig > span { animation: show .3s both; animation-delay: calc(var(--t) + .5s); }
	.case .tile.second > span, .case .plus { animation: show .3s both; animation-delay: calc(var(--t) + 1.1s); }
	.case .arrow { animation: show .3s both; animation-delay: var(--a); }
	.case .leaf { animation: swing .8s cubic-bezier(.5, 0, .2, 1) both; animation-delay: calc(var(--a) + .2s); }
	.case .tile.act > span { animation: show .4s both; animation-delay: calc(var(--a) + .8s); }
	@keyframes draw { from { stroke-dashoffset: 1; } }
	@keyframes show { from { opacity: 0; } }
	@keyframes swing { from { transform: none; } }
}

/* Sections */
.section { padding: var(--section) 0; border-top: 1px solid var(--rule); }
.section-head { max-width: 46rem; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2, .contact h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
.section-head p { margin-top: 18px; color: var(--mist); font-size: 1.12rem; }

/* Expertise: plain rows, not cards */
.skills { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 0 clamp(28px, 4vw, 56px); }
.skills li { padding: 26px 0; border-top: 1px solid var(--rule-gold); }
.skills h3 { font-size: 1.35rem; letter-spacing: -.015em; }
.skills p { margin-top: 10px; color: var(--mist); }

/* Products */
.group + .group { margin-top: clamp(56px, 7vw, 96px); }
.group-title { display: flex; align-items: baseline; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--rule-gold); color: var(--gold-pale); font: 500 1.05rem/1.3 var(--body); letter-spacing: 0; }
.product { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 20px clamp(28px, 5vw, 72px); padding: clamp(32px, 4vw, 52px) 0; border-bottom: 1px solid var(--rule); }
.product:last-child { border-bottom: 0; padding-bottom: 0; }
.product h4 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); letter-spacing: -.035em; }
.product .kind { margin-top: 10px; color: var(--sky); font-size: .98rem; }
.product .tagline { margin-top: 18px; color: var(--gold); font: 600 1.3rem/1.2 var(--display); letter-spacing: -.01em; }
.product .more { display: inline-block; margin-top: 20px; font-weight: 500; }
.product-body > p { max-width: 40em; font-size: 1.1rem; }
.ticks { margin-top: 20px; display: grid; gap: 10px; max-width: 42em; color: var(--mist); }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: .5em; width: 11px; height: 6px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.ticks strong { color: var(--ivory); font-weight: 500; }
.stack { margin-top: 22px; color: #7f8aa3; font-size: .9rem; }
.note { margin-top: 16px; padding: 10px 14px; border-left: 2px solid var(--cobalt); background: rgba(47, 107, 255, .08); color: var(--mist); font-size: .93rem; max-width: 42em; }

/* Why us */
.why { background: linear-gradient(180deg, var(--night), var(--black)); }
.reasons { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: clamp(28px, 4vw, 56px); }
.reasons h3 { font-size: 1.6rem; color: var(--gold-pale); }
.reasons p { margin-top: 12px; color: var(--mist); }

/* FAQ */
.faq { max-width: 52rem; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; cursor: pointer; list-style: none; font: 600 1.2rem/1.3 var(--display); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--gold); font: 400 1.6rem/1 var(--body); flex: none; }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { padding: 0 0 22px; max-width: 44em; color: var(--mist); }

/* Contact + footer */
.contact { background: radial-gradient(90% 120% at 0% 100%, rgba(47, 107, 255, .2), transparent 60%), var(--black); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.contact p { margin-top: 18px; max-width: 30em; color: var(--mist); font-size: 1.12rem; }
.reach { display: grid; gap: 6px; font-style: normal; }
.reach .big { color: var(--gold); font: 700 clamp(1.5rem, 3.6vw, 2.6rem)/1.15 var(--display); letter-spacing: -.03em; text-decoration: none; }
.reach .big:hover { color: var(--gold-pale); }
.reach .phone { color: var(--ivory); font: 500 1.3rem var(--display); text-decoration: none; margin-top: 6px; }
.reach span { color: var(--mist); margin-top: 10px; }
.site-footer { border-top: 1px solid var(--rule); padding: 26px 0 34px; color: #7f8aa3; font-size: .9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; }
.site-footer a { color: var(--mist); }

/* Project pages */
.crumb { margin-bottom: 22px; font-size: .95rem; }
.crumb a { color: var(--mist); text-decoration: none; }
.crumb a:hover { color: var(--gold-pale); }
.page-hero h1 { font-size: clamp(2.3rem, 5.2vw, 4.2rem); }
.shot { border: 1px solid var(--rule); border-radius: 20px; background: var(--night); padding: 14px; }
.shot img { width: 100%; border-radius: 10px; }
.shot.light { background: #fff; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 0 clamp(28px, 4vw, 56px); }
.facts li { padding: 22px 0; border-top: 1px solid var(--rule-gold); }
.facts strong { display: block; font: 600 1.25rem/1.2 var(--display); letter-spacing: -.01em; }
.facts span { display: block; margin-top: 8px; color: var(--mist); }
.spec { width: 100%; margin-top: 44px; border-collapse: collapse; }
.spec th, .spec td { padding: 15px 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.spec th { width: 9.5em; padding-right: 16px; color: var(--gold-pale); font-weight: 500; }
.spec td { color: var(--mist); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 44rem; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; margin-bottom: 7px; color: var(--mist); font-size: .93rem; }
.form input, .form textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--rule); border-radius: 10px; background: var(--night); }
.form input:focus, .form textarea:focus { outline: 0; border-color: var(--gold); }
.form textarea { min-height: 150px; resize: vertical; }
.form-msg { grid-column: 1 / -1; }
.form-msg.ok { color: var(--gold-pale); }
.form-msg.err { color: #ff9c9c; }
.funding { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.funding p { max-width: 36em; color: var(--mist); }
.funding img { width: min(240px, 100%); border-radius: 6px; }

/* Responsive */
@media (max-width: 900px) {
	.hero-grid, .contact-grid { grid-template-columns: 1fr; }
	.contact-grid { align-items: start; }
	.product { grid-template-columns: 1fr; }
	.finder { max-width: 560px; }
}
@media (max-width: 560px) {
	body { font-size: 1rem; }
	.bar { min-height: 60px; }
	.brand { font-size: 1.08rem; }
	.nav { gap: 14px; font-size: .9rem; }
	.nav .opt { display: none; }
	.nav .nav-cta { padding: 8px 13px; }
	.actions .btn { flex: 1 1 100%; }
	.form { grid-template-columns: 1fr; }
	.spec th { width: 6.5em; }
}
@media print {
	.site-header, .finder, .actions { display: none; }
	body { background: #fff; color: #000; }
}
