:root {
  --ink: #0b1426;
  --ink-soft: #28354c;
  --blue: #1959c9;
  --blue-bright: #2368e6;
  --teal: #00a3a3;
  --paper: #f4f7fb;
  --white: #ffffff;
  --line: #dce3ec;
  --muted: #68758a;
  --display: "Space Grotesk", "Segoe UI", sans-serif;
  --body: "Inter", "Segoe UI", sans-serif;
  --shell: min(1240px, calc(100% - 48px));
  --radius: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { color: var(--white); background: var(--blue); }

.shell { width: var(--shell); margin-inline: auto; }
.section { padding-block: clamp(88px, 10vw, 152px); }
.skip-link {
  position: fixed;
  z-index: 200;
  left: 18px;
  top: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
  border-radius: 999px;
  transform: translateY(-160%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled {
  background: rgba(244, 247, 251, .92);
  border-color: rgba(11, 20, 38, .08);
  box-shadow: 0 12px 36px rgba(11, 20, 38, .06);
  backdrop-filter: blur(18px);
}
.nav { height: 78px; display: flex; align-items: center; justify-content: space-between; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -.04em;
}
.brand img { width: 38px; height: 38px; }
.brand strong { color: var(--blue); font-weight: 700; }
.nav-panel { display: flex; align-items: center; gap: clamp(28px, 4vw, 56px); }
.nav-links { display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; list-style: none; }
.nav-links a {
  position: relative;
  color: var(--ink-soft);
  font-size: .87rem;
  font-weight: 600;
  text-decoration: none;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .2s ease;
}
.nav-links a:hover::after, .nav-links a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav-action {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 10px 10px 18px;
  color: var(--white);
  background: var(--ink);
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}
.nav-action span { display: grid; place-items: center; width: 28px; height: 28px; color: var(--ink); background: var(--white); border-radius: 50%; }
.nav-action:hover { background: var(--blue); transform: translateY(-2px); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 6px auto; background: var(--ink); transition: transform .2s ease; }

.hero {
  position: relative;
  min-height: 780px;
  padding: 142px 0 84px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -18%;
  right: -8%;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(0, 163, 163, .14), transparent 68%);
  pointer-events: none;
}
.hero-grid, .contact-grid {
  position: absolute;
  inset: 0;
  opacity: .34;
  background-image:
    linear-gradient(rgba(11, 20, 38, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 20, 38, .06) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
  pointer-events: none;
}
.hero-layout { position: relative; display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: clamp(48px, 7vw, 100px); }
.hero-copy { position: relative; z-index: 2; padding-block: 34px; }
.eyebrow, .section-kicker {
  margin: 0 0 24px;
  color: var(--blue);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 28px; height: 1px; background: var(--teal); }
.hero h1 {
  max-width: 720px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.7rem, 6.3vw, 6.25rem);
  font-weight: 600;
  line-height: .96;
  letter-spacing: -.065em;
}
.hero h1 em { color: var(--blue); font-style: normal; }
.hero-lead { max-width: 650px; margin: 30px 0 0; color: var(--ink-soft); font-size: clamp(1rem, 1.4vw, 1.18rem); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--blue); }
.button-primary:hover { background: var(--ink); }
.button-ghost { color: var(--ink); border-color: #bdc8d8; background: rgba(255,255,255,.36); }
.button-ghost:hover { border-color: var(--ink); background: var(--white); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 42px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); list-style: none; }
.hero-tags li { color: var(--muted); font-size: .76rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.hero-tags li:not(:first-child)::before { content: "+"; margin-right: 22px; color: var(--teal); }

.hero-visual { position: relative; min-width: 0; padding: 20px 0 42px; }
.hero-photo {
  position: relative;
  margin: 0;
  border: 1px solid rgba(11, 20, 38, .12);
  border-radius: 190px 22px 22px 22px;
  overflow: hidden;
  box-shadow: 0 36px 90px rgba(11, 20, 38, .16);
}
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 62%, rgba(11,20,38,.66)); pointer-events: none; }
.hero-photo img { width: 100%; aspect-ratio: 1.04; object-fit: cover; }
.hero-photo figcaption { position: absolute; z-index: 2; right: 28px; bottom: 26px; left: 120px; display: flex; align-items: end; justify-content: space-between; gap: 16px; color: var(--white); }
.hero-photo figcaption span { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.hero-photo figcaption strong { font-family: var(--display); font-size: 1.05rem; }
.silicon-card {
  position: absolute;
  z-index: 3;
  left: -38px;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr auto;
  width: 140px;
  aspect-ratio: 1;
  padding: 18px;
  color: var(--white);
  background: linear-gradient(145deg, var(--ink), #142c52);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  box-shadow: 0 22px 50px rgba(11, 20, 38, .28);
}
.silicon-card .atomic-number { grid-column: 1; font-size: .72rem; }
.silicon-card strong { grid-column: 1 / -1; align-self: center; font-family: var(--display); font-size: 3.2rem; line-height: 1; letter-spacing: -.08em; }
.silicon-card > span:last-child { grid-column: 1 / -1; color: #9fc8ff; font-size: .68rem; letter-spacing: .12em; }
.hero-note { position: absolute; z-index: 4; top: 0; right: 18px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: rgba(255,255,255,.88); border: 1px solid rgba(11,20,38,.1); border-radius: 999px; box-shadow: 0 12px 30px rgba(11,20,38,.1); backdrop-filter: blur(10px); font-size: .72rem; font-weight: 600; }
.pulse { width: 8px; height: 8px; background: var(--teal); border-radius: 50%; box-shadow: 0 0 0 5px rgba(0,163,163,.12); }

.manifesto { background: var(--white); }
.manifesto-layout { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(60px, 10vw, 150px); align-items: start; }
.section-title { margin: 0; font-family: var(--display); font-size: clamp(2.5rem, 4.8vw, 4.8rem); font-weight: 600; line-height: 1.02; letter-spacing: -.055em; }
.manifesto-copy { padding-top: 48px; color: var(--muted); }
.manifesto-copy p { margin: 0 0 22px; }
.manifesto-copy .lead-copy { color: var(--ink); font-family: var(--display); font-size: clamp(1.35rem, 2.1vw, 1.9rem); line-height: 1.4; letter-spacing: -.025em; }
.text-link { display: inline-flex; gap: 14px; margin-top: 12px; padding-bottom: 6px; color: var(--blue); border-bottom: 1px solid currentColor; font-weight: 700; text-decoration: none; }
.identity-strip { display: grid; grid-template-columns: .72fr 1.05fr 1.25fr; min-height: 250px; margin-top: clamp(70px, 8vw, 120px); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.identity-origin { display: grid; grid-template-rows: auto 1fr; padding: 28px; color: var(--white); background: var(--blue); }
.identity-label { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.identity-symbol { align-self: end; font-family: var(--display); font-size: clamp(5.5rem, 10vw, 8.5rem); font-weight: 600; line-height: .72; letter-spacing: -.1em; }
.identity-copy { display: flex; flex-direction: column; justify-content: end; padding: 38px; background: var(--paper); }
.identity-copy strong { font-family: var(--display); font-size: 1.4rem; }
.identity-copy p { margin: 12px 0 0; color: var(--muted); font-size: .9rem; }
.identity-image { position: relative; min-height: 250px; overflow: hidden; }
.identity-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(244,247,251,.15), transparent); }
.identity-image img { width: 100%; height: 100%; object-fit: cover; }

.section-header { display: grid; grid-template-columns: 1fr .42fr; gap: 48px; align-items: end; margin-bottom: 58px; }
.section-header > p { margin: 0 0 4px; color: var(--muted); font-size: .93rem; }
.capability-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.capability-card {
  position: relative;
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 350px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--white);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.capability-card:hover { z-index: 2; transform: translateY(-6px); border-color: #b8c5d7; box-shadow: 0 24px 60px rgba(11,20,38,.1); }
.capability-featured, .capability-wide { grid-column: span 8; }
.capability-featured { background: linear-gradient(135deg, #fff, #edf4ff); }
.capability-wide { background: linear-gradient(135deg, #fff, #edfafa); }
.capability-dark { color: var(--white); background: var(--ink); border-color: var(--ink); }
.capability-accent { color: var(--white); background: var(--blue); border-color: var(--blue); }
.card-top { display: flex; justify-content: space-between; align-items: center; }
.card-top span { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid currentColor; border-radius: 50%; font-size: .68rem; font-weight: 700; }
.card-top small { font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .64; }
.capability-card h3 { max-width: 520px; margin: 0 0 13px; font-family: var(--display); font-size: clamp(1.45rem, 2.2vw, 2.15rem); line-height: 1.08; letter-spacing: -.035em; }
.capability-card p { max-width: 560px; margin: 0; color: var(--muted); font-size: .9rem; }
.capability-dark p, .capability-accent p { color: rgba(255,255,255,.7); }
.card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.card-tags li { padding: 7px 11px; color: var(--ink-soft); background: rgba(255,255,255,.72); border: 1px solid var(--line); border-radius: 999px; font-size: .68rem; font-weight: 600; }
.card-mark { position: absolute; right: 20px; bottom: -20px; color: rgba(25,89,201,.07); font-family: var(--display); font-size: 6rem; font-weight: 700; line-height: 1; letter-spacing: -.08em; }
.capability-dark .card-mark { color: rgba(255,255,255,.07); }
.circuit-mark { bottom: 12px; font-size: 4.6rem; letter-spacing: -.2em; }
.capability-accent a { align-self: flex-start; margin-top: 24px; color: var(--white); font-weight: 700; text-decoration: none; }

.lab-section { position: relative; color: var(--white); background: var(--ink); overflow: hidden; }
.lab-section::after { content: "28"; position: absolute; right: -2vw; bottom: -10vw; color: rgba(255,255,255,.025); font-family: var(--display); font-size: 34vw; font-weight: 700; line-height: .8; letter-spacing: -.13em; pointer-events: none; }
.lab-layout { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(56px, 8vw, 110px); align-items: center; }
.lab-photo-wrap { position: relative; padding: 0 0 24px 24px; }
.lab-photo-wrap::before { content: ""; position: absolute; left: 0; bottom: 0; width: 64%; height: 72%; border: 1px solid rgba(73,153,255,.48); border-radius: 18px; }
.lab-photo-wrap img { position: relative; width: 100%; aspect-ratio: 1.12; object-fit: cover; border-radius: 18px; filter: saturate(.9) contrast(1.02); }
.lab-photo-wrap > span { position: absolute; right: 18px; bottom: 4px; padding: 8px 12px; color: #b5c5dc; background: var(--ink); border: 1px solid #2c3950; border-radius: 999px; font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; }
.section-kicker-light { color: #62d6d0; }
.lab-copy h2 { max-width: 620px; margin: 0; font-family: var(--display); font-size: clamp(2.8rem, 5vw, 5rem); font-weight: 600; line-height: 1; letter-spacing: -.055em; }
.lab-copy > p:not(.section-kicker) { max-width: 570px; margin: 28px 0 0; color: #aebbd0; }
.lab-list { margin: 42px 0 0; padding: 0; list-style: none; }
.lab-list li { display: grid; grid-template-columns: 46px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid #2b3850; font-family: var(--display); font-size: 1rem; }
.lab-list li:last-child { border-bottom: 1px solid #2b3850; }
.lab-list span { color: #69c9ff; font-size: .7rem; font-weight: 700; }

.projects { background: var(--white); }
.projects-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: end; margin-bottom: 60px; }
.projects-heading > p { max-width: 480px; margin: 0 0 5px; color: var(--muted); }
.project-board { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.project-card { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 480px; padding: 30px; border-right: 1px solid var(--line); overflow: hidden; }
.project-card:last-child { border-right: 0; }
.project-card::after { content: ""; position: absolute; right: -70px; bottom: -70px; width: 180px; height: 180px; border: 1px solid currentColor; border-radius: 50%; opacity: .08; }
.project-product { background: #f3f7ff; }
.project-lab { color: var(--white); background: linear-gradient(145deg, #0f2547, #0d3e55); }
.project-custom { background: #f1fbfa; }
.project-status { display: flex; align-items: center; gap: 9px; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .76; }
.project-status span { width: 8px; height: 8px; background: var(--teal); border-radius: 50%; box-shadow: 0 0 0 5px rgba(0,163,163,.12); }
.project-card small { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .65; }
.project-card h3 { margin: 14px 0; font-family: var(--display); font-size: clamp(1.65rem, 2.6vw, 2.4rem); line-height: 1.08; letter-spacing: -.04em; }
.project-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.project-lab p { color: #aebdd0; }
.project-index { font-family: var(--display); font-size: .76rem; font-weight: 700; }
.project-card > a { align-self: flex-start; position: relative; z-index: 2; padding-bottom: 5px; color: var(--blue); border-bottom: 1px solid currentColor; font-weight: 700; text-decoration: none; }

.process-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(70px, 10vw, 150px); }
.process-intro { position: sticky; top: 130px; align-self: start; }
.process-intro > p:last-child { max-width: 440px; margin: 26px 0 0; color: var(--muted); }
.process-list { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.process-list li { display: grid; grid-template-columns: 72px 1fr; gap: 24px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.process-list > li > span { display: grid; place-items: center; width: 46px; height: 46px; color: var(--blue); border: 1px solid #b8c8df; border-radius: 50%; font-size: .7rem; font-weight: 700; }
.process-list h3 { margin: 0 0 7px; font-family: var(--display); font-size: 1.55rem; letter-spacing: -.03em; }
.process-list p { max-width: 560px; margin: 0; color: var(--muted); font-size: .92rem; }

.contact { position: relative; color: var(--white); background: linear-gradient(135deg, #0b1426, #101f39); overflow: hidden; }
.contact-grid { opacity: .16; background-image: linear-gradient(rgba(255,255,255,.15) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.15) 1px, transparent 1px); mask-image: linear-gradient(90deg, black, transparent); }
.contact-layout { position: relative; z-index: 2; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(70px, 10vw, 150px); }
.contact-copy h2 { max-width: 560px; margin: 0; font-family: var(--display); font-size: clamp(2.8rem, 4.8vw, 4.8rem); font-weight: 600; line-height: 1.02; letter-spacing: -.055em; }
.contact-copy > p:not(.section-kicker) { max-width: 480px; margin: 26px 0; color: #aebbd0; }
.contact-copy > a { display: inline-flex; gap: 12px; color: #7adbd8; font-weight: 700; text-decoration: none; }
.contact-form { align-self: start; padding: clamp(26px, 4vw, 48px); color: var(--ink); background: var(--white); border-radius: var(--radius); box-shadow: 0 36px 100px rgba(0,0,0,.22); }
.form-line { margin-bottom: 24px; }
.form-line label { display: block; margin-bottom: 8px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.form-line input, .form-line select, .form-line textarea { width: 100%; padding: 13px 0; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid #cbd4e0; border-radius: 0; outline: 0; transition: border-color .2s ease; }
.form-line textarea { min-height: 104px; resize: vertical; }
.form-line input::placeholder, .form-line textarea::placeholder { color: #96a1b1; }
.form-line input:focus, .form-line select:focus, .form-line textarea:focus { border-color: var(--blue); }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 30px; }
.form-footer p { max-width: 250px; margin: 0; color: var(--muted); font-size: .7rem; line-height: 1.5; }
.button-light { flex: 0 0 auto; color: var(--white); background: var(--blue); border: 0; }
.button-light:hover { background: var(--ink); }
.button:disabled { opacity: .55; cursor: wait; transform: none; }
.form-status { min-height: 1.5em; margin: 16px 0 0; font-size: .82rem; }
.form-status.is-ok { color: #087f73; }
.form-status.is-error { color: #b42318; }
.honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; }

.site-footer { padding: 52px 0 24px; color: #aebbd0; background: #070d18; }
.footer-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; padding-bottom: 46px; border-bottom: 1px solid #202b3e; }
.brand-footer { color: var(--white); }
.footer-top > p { margin: 0; font-size: .85rem; }
.footer-top-link { justify-self: end; color: var(--white); font-size: .78rem; font-weight: 700; text-decoration: none; }
.footer-bottom { display: grid; grid-template-columns: 1fr auto 1fr; gap: 30px; padding-top: 22px; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-bottom p { margin: 0; }
.footer-bottom p:nth-child(3) { justify-self: end; }

:focus-visible { outline: 3px solid rgba(35,104,230,.45); outline-offset: 4px; }

@media (max-width: 1080px) {
  .hero { min-height: auto; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-copy { max-width: 850px; }
  .hero-visual { width: min(820px, calc(100% - 32px)); margin-left: auto; }
  .hero-photo img { aspect-ratio: 1.35; }
  .capability-card { grid-column: span 6; }
  .capability-featured, .capability-wide { grid-column: span 6; }
  .lab-layout { grid-template-columns: 1fr; }
  .lab-photo-wrap { width: min(850px, 94%); }
  .projects-heading, .contact-layout { grid-template-columns: 1fr; }
  .projects-heading > p { max-width: 660px; }
  .contact-copy { max-width: 760px; }
}

@media (max-width: 820px) {
  :root { --shell: min(100% - 32px, 720px); }
  .section { padding-block: 82px; }
  .nav-toggle { display: block; position: relative; z-index: 2; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav-panel { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 42px; padding: 100px 32px 44px; background: rgba(244,247,251,.98); opacity: 0; pointer-events: none; transform: translateY(-12px); transition: opacity .2s ease, transform .2s ease; }
  .nav-panel.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav-links { flex-direction: column; align-items: flex-start; gap: 16px; }
  .nav-links a { font-family: var(--display); font-size: 2rem; letter-spacing: -.04em; }
  .nav-action { justify-content: space-between; width: 100%; }
  .hero { padding-top: 118px; }
  .hero h1 { font-size: clamp(3.35rem, 12vw, 5.2rem); }
  .hero-visual { width: calc(100% - 20px); }
  .hero-photo { border-radius: 100px 18px 18px 18px; }
  .hero-photo figcaption { left: 80px; }
  .manifesto-layout, .section-header, .process-layout { grid-template-columns: 1fr; }
  .manifesto-copy { padding-top: 0; }
  .identity-strip { grid-template-columns: .8fr 1.2fr; }
  .identity-image { grid-column: 1 / -1; min-height: 280px; }
  .section-header { align-items: start; }
  .section-header > p { max-width: 600px; }
  .project-board { grid-template-columns: 1fr; }
  .project-card { min-height: 390px; border-right: 0; border-bottom: 1px solid var(--line); }
  .project-card:last-child { border-bottom: 0; }
  .process-intro { position: static; }
  .footer-top, .footer-bottom { grid-template-columns: 1fr; }
  .footer-top { align-items: start; }
  .footer-top-link, .footer-bottom p:nth-child(3) { justify-self: start; }
}

@media (max-width: 580px) {
  :root { --shell: calc(100% - 24px); }
  .nav { height: 68px; }
  .brand img { width: 34px; height: 34px; }
  .hero { padding: 102px 0 68px; }
  .hero h1 { font-size: clamp(3.1rem, 15vw, 4.35rem); }
  .hero-lead { line-height: 1.65; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .hero-tags { gap: 8px 14px; }
  .hero-tags li:not(:first-child)::before { margin-right: 14px; }
  .hero-visual { width: calc(100% - 12px); padding-bottom: 56px; }
  .hero-photo { border-radius: 68px 14px 14px 14px; }
  .hero-photo img { aspect-ratio: .93; }
  .hero-photo figcaption { right: 16px; bottom: 16px; left: 74px; display: block; }
  .hero-photo figcaption span { display: none; }
  .silicon-card { left: -12px; width: 112px; padding: 14px; }
  .silicon-card strong { font-size: 2.65rem; }
  .hero-note { top: -8px; right: 8px; }
  .section-title { font-size: clamp(2.55rem, 12vw, 3.7rem); }
  .identity-strip { grid-template-columns: 1fr; }
  .identity-origin { min-height: 230px; }
  .identity-image { grid-column: 1; min-height: 220px; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-card, .capability-featured, .capability-wide { grid-column: 1; min-height: 330px; padding: 24px; }
  .lab-photo-wrap { width: calc(100% - 10px); padding: 0 0 15px 15px; }
  .lab-photo-wrap img { aspect-ratio: .92; }
  .lab-copy h2, .contact-copy h2 { font-size: clamp(2.7rem, 13vw, 4rem); }
  .projects-heading { gap: 28px; }
  .process-list li { grid-template-columns: 52px 1fr; gap: 14px; }
  .contact-form { padding: 24px 18px; }
  .form-footer { flex-direction: column; align-items: stretch; }
  .form-footer p { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* painelvps-login-start */
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(15, 23, 42, .18);
  border-radius: 999px;
  color: var(--ink);
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.nav-login:hover { border-color: var(--blue); background: rgba(37, 99, 235, .06); transform: translateY(-2px); }
@media (max-width: 820px) {
  .nav-actions { flex-direction: column; align-items: stretch; width: 100%; gap: 12px; }
  .nav-login { width: 100%; }
}
/* painelvps-login-end */
