:root {
  --bg: #090a0b;
  --bg-soft: #111315;
  --card: #141719;
  --card-hover: #191d20;
  --text: #f4f5f6;
  --muted: #9da3a8;
  --line: #262a2d;
  --accent: #6cf2c2;
  --accent-2: #7c8cff;
  --accent-rgb: 108, 242, 194;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(124, 140, 255, .08), transparent 28%),
    radial-gradient(circle at 85% 20%, rgba(var(--accent-rgb), .07), transparent 24%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}
body.trubytes-page {
  --accent: #55e6ff;
  --accent-2: #8f7cff;
  --accent-rgb: 85, 230, 255;
}
body.cold-chain-page {
  --accent: #8ae89a;
  --accent-2: #6cc6f2;
  --accent-rgb: 138, 232, 154;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
.container { width: min(calc(100% - 40px), var(--max-width)); margin: 0 auto; }
.section { padding: 96px 0; }
.section-label, .eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
}
h1,h2,h3,p { margin-top: 0; }
h1 {
  margin-bottom: 28px;
  max-width: 980px;
  font-size: clamp(3.4rem, 8vw, 7.4rem);
  line-height: .94;
  letter-spacing: -.06em;
}
h1 span {
  display: block;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
h2 {
  font-size: clamp(2.35rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -.045em;
}
h3 { font-size: 1.55rem; line-height: 1.15; letter-spacing: -.025em; }
p { color: var(--muted); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(9,10,11,.8);
  backdrop-filter: blur(16px);
}
.nav-wrapper { min-height: 74px; display:flex; align-items:center; justify-content:space-between; }
.logo { font-size:.95rem; font-weight:850; letter-spacing:.08em; }
.logo span { color: var(--accent); }
.desktop-nav { display:flex; gap:30px; }
.desktop-nav a, .mobile-nav a, .footer-links a {
  position: relative;
  color: var(--muted);
  transition: color .2s ease;
}
.desktop-nav a:hover, .mobile-nav a:hover, .footer-links a:hover,
.desktop-nav a.active, .mobile-nav a.active { color: var(--text); }
.desktop-nav a.active::after {
  content:"";
  position:absolute;
  left:0; right:0; bottom:-25px;
  height:2px;
  background:var(--accent);
}
.menu-button { display:none; width:42px; height:42px; padding:0; border:0; background:transparent; cursor:pointer; }
.menu-button span { display:block; width:24px; height:2px; margin:6px auto; background:var(--text); }
.mobile-nav { display:none; }

.hero { position:relative; overflow:hidden; padding:124px 0 72px; }
.hero-content { position:relative; z-index:2; }
.hero-copy { max-width:720px; margin-bottom:34px; font-size:1.18rem; }
.hero-actions { display:flex; flex-wrap:wrap; gap:14px; }
.hero-note { margin-top:18px; font-size:.9rem; color:var(--muted); }
.button {
  display:inline-flex; align-items:center; justify-content:center;
  min-height:52px; padding:0 22px; border-radius:999px; border:1px solid transparent;
  font-weight:750; transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform:translateY(-2px); }
.button-primary { background:var(--text); color:var(--bg); }
.button-secondary { border-color:var(--line); background:rgba(255,255,255,.03); color:var(--text); }
.hero-glow { position:absolute; border-radius:999px; filter:blur(80px); opacity:.48; pointer-events:none; }
.hero-glow-one { top:110px; right:5%; width:340px; height:340px; background:rgba(124,140,255,.2); }
.hero-glow-two { top:270px; right:20%; width:250px; height:250px; background:rgba(var(--accent-rgb),.15); }

.brand-lockup { margin-bottom:24px; }
.brand-wordmark {
  display:inline-flex; align-items:center; gap:12px;
  font-size:clamp(1.35rem,2.4vw,2rem); font-weight:900; letter-spacing:-.045em;
}
.brand-wordmark::before {
  content:""; width:11px; height:11px; border-radius:3px;
  background:linear-gradient(135deg,var(--accent),var(--accent-2));
  box-shadow:0 0 28px rgba(var(--accent-rgb),.35);
}
.brand-subline { margin:5px 0 0 23px; color:var(--muted); font-size:.85rem; }

.projects { border-top:1px solid var(--line); }
.section-heading { margin-bottom:46px; display:grid; grid-template-columns:1.1fr .9fr; gap:40px; align-items:end; }
.section-heading p { max-width:470px; justify-self:end; }
.project-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.project-card {
  min-height:500px; padding:28px; display:flex; flex-direction:column; justify-content:space-between;
  border:1px solid var(--line); border-radius:28px;
  background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,.01)),var(--card);
  transition:transform .25s ease, background .25s ease, border-color .25s ease;
}
.project-card:hover { transform:translateY(-4px); background:var(--card-hover); border-color:#363b3e; }
.featured-project { background:radial-gradient(circle at top right,rgba(var(--accent-rgb),.1),transparent 34%),var(--card); }
.project-top,.project-footer { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.project-icon { width:48px; height:48px; border:1px solid var(--line); border-radius:14px; display:grid; place-items:center; color:var(--muted); font-size:.83rem; font-weight:800; }
.project-status { padding:7px 11px; border-radius:999px; background:rgba(var(--accent-rgb),.08); color:var(--accent); font-size:.75rem; font-weight:750; }
.project-status.development { background:rgba(124,140,255,.09); color:#aab2ff; }
.project-content { margin:54px 0 34px; }
.project-category { display:block; margin-bottom:12px; color:var(--muted); font-size:.8rem; font-weight:800; text-transform:uppercase; letter-spacing:.09em; }
.project-content p { max-width:560px; }
.feature-list { margin:26px 0 0; padding:0; list-style:none; }
.feature-list li { padding:10px 0; border-top:1px solid var(--line); color:#d0d3d5; font-size:.92rem; }
.feature-list li:last-child { border-bottom:1px solid var(--line); }
.project-link { font-weight:750; }
.project-link span { margin-left:6px; }
.muted-link { color:var(--muted); }
.future-card { justify-content:center; min-height:340px; border-style:dashed; }
.future-content { max-width:440px; }
.plus-icon { display:block; margin-bottom:22px; font-size:2.8rem; color:var(--accent); }

.about { border-top:1px solid var(--line); }
.about-grid { display:grid; grid-template-columns:1fr 1fr; gap:80px; }
.about-heading h2 { margin-top:18px; }
.about-copy { font-size:1.1rem; }
.about-copy strong { color:var(--text); }
.principles { padding-top:0; }
.principles-grid { display:grid; grid-template-columns:repeat(3,1fr); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.principle { padding:34px 30px; }
.principle + .principle { border-left:1px solid var(--line); }
.principle span { display:block; margin-bottom:48px; color:var(--muted); font-size:.78rem; }
.workflow-grid { margin-top:20px; }

.compact-band { padding:48px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.compact-band-inner { display:grid; grid-template-columns:1.1fr .9fr; gap:36px; align-items:center; }
.compact-band h2 { margin:0; font-size:clamp(2rem,4vw,3.6rem); }
.compact-band p { margin:0; }

.contact { text-align:center; }
.contact-inner { max-width:880px; }
.contact h2 { margin:18px auto 24px; }
.contact p { max-width:660px; margin:0 auto 34px; font-size:1.08rem; }

.form-shell {
  max-width:820px; margin:0 auto; padding:30px;
  border:1px solid var(--line); border-radius:28px; background:var(--card);
}
.contact-form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; text-align:left; }
.form-field { display:flex; flex-direction:column; gap:8px; }
.form-field.full { grid-column:1 / -1; }
.form-field label { font-size:.86rem; font-weight:700; color:#d9dddf; }
.form-field input,.form-field select,.form-field textarea {
  width:100%; border:1px solid var(--line); border-radius:14px; background:#0e1011; color:var(--text);
  padding:13px 14px; outline:none; transition:border-color .2s ease, box-shadow .2s ease;
}
.form-field textarea { min-height:150px; resize:vertical; }
.form-field input:focus,.form-field select:focus,.form-field textarea:focus { border-color:var(--accent); box-shadow:0 0 0 3px rgba(var(--accent-rgb),.09); }
.form-help { grid-column:1 / -1; margin:-4px 0 0; font-size:.82rem; color:var(--muted); }
.form-actions { grid-column:1 / -1; display:flex; flex-wrap:wrap; gap:12px; align-items:center; margin-top:4px; }
.form-status { font-size:.88rem; color:var(--muted); }

.site-footer { padding:40px 0; border-top:1px solid var(--line); }
.footer-inner { display:grid; grid-template-columns:1.4fr .8fr auto; gap:40px; align-items:end; }
.footer-logo { display:inline-block; margin-bottom:10px; }
.footer-inner p { margin:0; font-size:.88rem; }
.footer-links { display:flex; gap:22px; }
.footer-copy { color:var(--muted); font-size:.83rem; }

@media (max-width:900px) {
  .section { padding:76px 0; }
  .desktop-nav { display:none; }
  .menu-button { display:block; }
  .mobile-nav { padding:18px 20px 24px; flex-direction:column; gap:16px; border-top:1px solid var(--line); background:var(--bg); }
  .mobile-nav.is-open { display:flex; }
  .hero { padding-top:92px; }
  .section-heading,.about-grid,.principles-grid,.footer-inner,.compact-band-inner { grid-template-columns:1fr; }
  .section-heading p { justify-self:start; }
  .project-grid { grid-template-columns:1fr; }
  .about-grid { gap:32px; }
  .principle { padding:30px 0; }
  .principle + .principle { border-left:0; border-top:1px solid var(--line); }
  .principle span { margin-bottom:24px; }
  .footer-inner { align-items:start; }
}

@media (max-width:600px) {
  .container { width:min(calc(100% - 28px),var(--max-width)); }
  h1 { font-size:clamp(3rem,15vw,4.8rem); }
  h2 { font-size:clamp(2.1rem,10vw,3.3rem); }
  .hero-copy { font-size:1.03rem; }
  .hero-actions { flex-direction:column; }
  .button { width:100%; }
  .project-card { min-height:auto; padding:22px; border-radius:22px; }
  .project-content { margin:42px 0 30px; }
  .contact-form { grid-template-columns:1fr; }
  .form-field.full,.form-help,.form-actions { grid-column:auto; }
  .form-shell { padding:20px; border-radius:22px; }
  .footer-links { flex-wrap:wrap; }
}
