:root {
  --ink: #081a33;
  --ink-2: #102947;
  --blue: #2468e8;
  --blue-soft: #8fb5ff;
  --green: #79c842;
  --brand-blue: #016cfa;
  --brand-green: #7be247;
  --paper: #ffffff;
  --mist: #eef3f8;
  --line: #d9e2ec;
  --text: #35475d;
  --muted: #66758a;
  --sand: #d8c7aa;
  --shell: min(1240px, calc(100vw - 48px));
  --header-height: 82px;
  --radius: 3px;
  --shadow: 0 22px 70px rgba(4, 19, 39, 0.12);
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}
.hero :where(a, button, input, select, textarea, [tabindex]):focus-visible,
.projects-section :where(a, button, input, select, textarea, [tabindex]):focus-visible,
.contact-copy :where(a, button, input, select, textarea, [tabindex]):focus-visible,
.site-footer :where(a, button, input, select, textarea, [tabindex]):focus-visible { outline-color: var(--green); }
p { margin: 0 0 1.2rem; }
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  color: var(--ink);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -0.035em;
}
h1 { font-size: clamp(3rem, 7vw, 6.9rem); }
h2 { font-size: clamp(2.35rem, 4.6vw, 4.7rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.7rem); }
::selection { color: var(--ink); background: var(--green); }

.shell { width: var(--shell); margin-inline: auto; }
.section { padding: clamp(92px, 10vw, 150px) 0; }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  position: fixed !important; z-index: 10000; left: 18px; top: 18px;
  width: auto; height: auto; margin: 0; padding: 12px 18px;
  color: var(--paper); background: var(--ink); clip: auto; white-space: normal;
}
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 24px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; flex: 0 0 25px; width: 25px; height: 2px; background: currentColor; }
.eyebrow-light { color: var(--blue-soft); }
.section-gear-heading { position: relative; }
.gear-stop { flex: 0 0 22px; width: 22px; height: 22px; }
.scroll-gear {
  position: absolute; z-index: 950; left: 0; top: 0;
  --scroll-gear-size: 22px;
  --gear-material-opacity: 1;
  --gear-dust-opacity: 0;
  --gear-dust-scale: .34;
  --gear-dust-rotation: 0deg;
  width: var(--scroll-gear-size); height: var(--scroll-gear-size);
  opacity: 0; pointer-events: none;
  transform: translate3d(-50px, -50px, 0);
  transition: opacity 180ms ease;
  will-change: transform, width, height;
}
.scroll-gear.is-ready { opacity: 1; }
.scroll-gear-wheel {
  position: relative; z-index: 1; display: block; width: 100%; height: 100%;
  border-radius: 50%; background: var(--brand-green);
  opacity: var(--gear-material-opacity);
  filter: drop-shadow(0 5px 8px rgba(8,26,51,.22));
  animation: struvia-scroll-gear-spin 5.93s linear infinite;
}
.scroll-gear-wheel > i {
  position: absolute; left: 50%; top: -10%; z-index: -1;
  width: 19%; height: 120%; border-radius: 1px; background: inherit;
  transform: translateX(-50%);
}
.scroll-gear-wheel > i:nth-child(2) { transform: translateX(-50%) rotate(30deg); }
.scroll-gear-wheel > i:nth-child(3) { transform: translateX(-50%) rotate(60deg); }
.scroll-gear-wheel > i:nth-child(4) { transform: translateX(-50%) rotate(90deg); }
.scroll-gear-wheel > i:nth-child(5) { transform: translateX(-50%) rotate(120deg); }
.scroll-gear-wheel > i:nth-child(6) { transform: translateX(-50%) rotate(150deg); }
.scroll-gear-wheel::before {
  content: ""; position: absolute; inset: 34%; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.5); background: var(--ink);
}
.scroll-gear-dust {
  position: absolute; z-index: 2; left: 50%; top: 50%;
  width: calc(var(--scroll-gear-size) + 36px); height: calc(var(--scroll-gear-size) + 36px);
  opacity: var(--gear-dust-opacity); pointer-events: none;
  transform: translate3d(-50%, -50%, 0) scale(var(--gear-dust-scale)) rotate(var(--gear-dust-rotation));
  transform-origin: center; will-change: transform, opacity;
}
.scroll-gear-particle {
  position: absolute; left: var(--dust-x); top: var(--dust-y);
  width: clamp(2px, 5%, 5px); height: clamp(2px, 5%, 5px);
  border-radius: 1px; background: var(--brand-green);
  transform: translate3d(-50%, -50%, 0) rotate(var(--dust-particle-rotation)) scale(var(--dust-particle-scale));
}
.elementor-editor-active .scroll-gear { display: none; }
.gear-small.is-traveller-source { visibility: hidden; }
.js .hero:not(.is-in-view) .gear { animation-play-state: paused; }
.button {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 30px;
  min-height: 58px; padding: 0 24px;
  border: 1px solid transparent; border-radius: var(--radius);
  font-size: 0.86rem; font-weight: 700;
  transition: transform 220ms cubic-bezier(.2,.8,.2,1), box-shadow 220ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}
.button-bright { color: var(--ink); background: var(--green); }
.button-bright:hover { background: #91da5e; }
.button-dark { color: var(--paper); background: var(--ink); }
.button-dark:hover { background: var(--blue); }
.text-link, .card-link {
  display: inline-flex; align-items: center; gap: 24px;
  color: var(--ink); font-size: 0.82rem; font-weight: 750;
  transition: transform 220ms cubic-bezier(.2,.8,.2,1), color 180ms ease;
}
.text-link span, .card-link span { transition: transform 220ms cubic-bezier(.2,.8,.2,1); }
.text-link-light { color: var(--paper); }

.button::before, .header-cta::before, .contact-form button::before, .comment-form .submit::before, .wp-block-button__link::before {
  content: ""; position: absolute; z-index: 0; inset: -35% -20%; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.34) 50%, transparent 65%);
  transform: translateX(-125%) skewX(-16deg);
  transition: transform 520ms cubic-bezier(.2,.75,.2,1);
}
.button > span, .header-cta > span, .contact-form button > span { position: relative; z-index: 1; }
.button > span, .header-cta > span, .contact-form button > span { transition: transform 220ms cubic-bezier(.2,.8,.2,1); }

/* Header */
.site-header {
  position: fixed; z-index: 1000; top: 0; left: 0; right: 0;
  height: var(--header-height);
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid rgba(8,26,51,0.1);
  backdrop-filter: blur(16px);
  transition: height 180ms ease, box-shadow 180ms ease;
}
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled { height: 70px; box-shadow: 0 12px 40px rgba(7, 25, 49, 0.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand { position: relative; z-index: 3; display: inline-flex; align-items: center; }
.brand-logo { width: auto; max-width: min(210px, 52vw); height: 25px; }
.site-navigation { display: flex; align-items: center; gap: 42px; height: 100%; }
.site-navigation .menu { display: flex; align-items: center; gap: 32px; height: 100%; padding: 0; margin: 0; list-style: none; }
.site-navigation .menu a { position: relative; color: var(--ink); font-size: 0.82rem; font-weight: 650; }
.site-navigation .menu a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px;
  background: var(--green); transition: right 180ms ease;
}
.site-navigation .menu a:hover::after, .site-navigation .current-menu-item > a::after { right: 0; }
.header-cta {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 22px; padding: 12px 17px;
  color: var(--paper); background: var(--ink); border-radius: var(--radius);
  font-size: 0.78rem; font-weight: 700;
  transition: transform 220ms cubic-bezier(.2,.8,.2,1), box-shadow 220ms ease, background 180ms ease;
}
.header-cta:hover { background: var(--blue); }
.menu-toggle { display: none; border: 0; color: var(--ink); background: transparent; cursor: pointer; transition: color 180ms ease; }
.site-main { overflow-x: hidden; overflow-x: clip; }
.front-page-editor-slot { position: relative; z-index: 2; width: 100%; background: var(--paper); }
.elementor-front-page-content { width: 100%; }
.elementor-front-page-content > .elementor { width: 100%; }
.elementor-front-page-content > :not(.elementor) { width: var(--shell); margin-inline: auto; }
.elementor-front-page-content > :first-child:not(.elementor) { margin-top: 80px; }
.elementor-front-page-content > :last-child:not(.elementor) { margin-bottom: 80px; }
.elementor-editor-active .front-page-editor-slot { min-height: 120px; outline: 1px dashed rgba(36,104,232,.35); outline-offset: -1px; }

/* Hero */
.hero {
  position: relative;
  min-height: min(920px, 100svh);
  padding-top: var(--header-height);
  color: var(--paper);
  background:
    radial-gradient(circle at 72% 46%, rgba(36,104,232,0.42), transparent 24%),
    linear-gradient(125deg, #07172c 10%, #0c2442 56%, #061425 100%);
  overflow: hidden;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 30%, #000 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 30%, #000 100%);
}
.hero-grid::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #081a33 0, transparent 55%); }
.hero-orbit { position: absolute; border: 1px solid rgba(143,181,255,.2); border-radius: 50%; }
.hero-orbit::after { content: ""; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 7px rgba(121,200,66,.12); }
.hero-orbit-one { right: -12vw; top: 16%; width: 52vw; aspect-ratio: 1; }
.hero-orbit-one::after { display: none; }
.hero-orbit-two { right: 8vw; top: 34%; width: 28vw; aspect-ratio: 1; }
.hero-orbit-two::after { right: 9%; bottom: 24%; width: 6px; height: 6px; background: var(--blue-soft); }
.hero-inner {
  position: relative; z-index: 960;
  display: grid; grid-template-columns: minmax(0, 1fr) 430px; gap: clamp(38px, 5vw, 76px); align-items: center;
  min-height: calc(min(800px, 88svh) - var(--header-height));
  padding-block: 80px;
}
.hero-copy { min-width: 0; max-width: 840px; }
.hero h1 { max-width: 790px; color: var(--paper); }
.hero h1::after { content: ""; display: inline-block; width: .16em; aspect-ratio: 1; margin-left: .08em; background: var(--green); }
.hero-lead { max-width: 670px; margin-top: 32px; color: #c7d4e4; font-size: clamp(1.05rem, 1.8vw, 1.35rem); line-height: 1.6; }
.hero-actions { display: flex; align-items: center; gap: 38px; margin-top: 44px; }
.hero-machine { position: relative; right: 80px; width: min(100%, 430px); min-width: 0; min-height: 430px; justify-self: end; }
.gear-stage { position: relative; width: 100%; min-height: 430px; }
.gear {
  position: absolute; z-index: 1; aspect-ratio: 1; border-radius: 50%;
  filter: drop-shadow(0 18px 24px rgba(0,0,0,.22));
  animation: struvia-gear-spin 8.4s linear infinite;
}
.gear > i {
  position: absolute; left: 50%; top: -9%; z-index: -1; width: 18%; height: 118%;
  border-radius: 4px; background: inherit; transform: translateX(-50%) rotate(0deg);
}
.gear > i:nth-child(2) { transform: translateX(-50%) rotate(30deg); }
.gear > i:nth-child(3) { transform: translateX(-50%) rotate(60deg); }
.gear > i:nth-child(4) { transform: translateX(-50%) rotate(90deg); }
.gear > i:nth-child(5) { transform: translateX(-50%) rotate(120deg); }
.gear > i:nth-child(6) { transform: translateX(-50%) rotate(150deg); }
.gear::before {
  content: ""; position: absolute; z-index: 2; inset: 11%; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2); background: inherit;
}
.gear::after {
  content: ""; position: absolute; z-index: 3; inset: 34%; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.28); background: #0a1d36;
  box-shadow: inset 0 0 16px rgba(0,0,0,.28);
}
.gear-blue { background: var(--brand-blue); }
.gear-green { background: var(--brand-green); }
.gear-large { left: 18px; top: 153px; width: 184px; }
.gear-medium { left: 224px; top: 34px; width: 142px; animation-duration: 6.48s; }
.gear-small { left: 224px; top: 195px; width: 130px; animation-direction: reverse; animation-duration: 5.93s; }
.machine-tag {
  position: absolute; z-index: 4; left: 385px; top: 338px; width: 140px;
  color: var(--ink); font: 700 .76rem/1.45 var(--mono); letter-spacing: .045em;
}
.machine-tag span { position: absolute; left: 0; bottom: 100%; width: 2px; height: 76px; background: #f5f8fc; box-shadow: 0 0 0 1px rgba(8,26,51,.42); transform: rotate(-56deg); transform-origin: bottom center; }
.machine-tag span::before { content: ""; position: absolute; left: -4px; top: -5px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--ink); background: #f5f8fc; box-shadow: 0 0 0 4px rgba(123,226,71,.55); }
.machine-tag p { margin: 0; padding: 11px 14px; border: 1px solid rgba(8,26,51,.16); border-left: 4px solid var(--brand-green); border-radius: var(--radius); background: #f5f8fc; box-shadow: 0 14px 32px rgba(0,0,0,.28); }
@keyframes struvia-gear-spin { to { transform: rotate(360deg); } }
@keyframes struvia-scroll-gear-spin { to { transform: rotate(-360deg); } }
.hero-proof {
  position: absolute; z-index: 2; bottom: 0; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 26px; min-height: 70px;
  border-top: 1px solid rgba(255,255,255,.16);
  color: #bac9db; font-family: var(--mono); font-size: .65rem; letter-spacing: .13em; text-transform: uppercase;
}
.hero-proof i { flex: 1 1 40px; height: 1px; background: rgba(255,255,255,.16); }

/* Shared headings */
.split-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(50px, 10vw, 150px); align-items: end; }
.split-heading h2 { max-width: 760px; }
.section-lead { margin: 0 0 6px; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.75; }
.section-heading { max-width: 760px; margin-bottom: 62px; }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; max-width: none; gap: 30px; }
.section-note {
  max-width: 980px; margin: clamp(42px, 6vw, 72px) 0 0; padding-top: 22px;
  border-top: 1px solid var(--line); color: var(--muted);
  font-size: .82rem; line-height: 1.75;
}
.section-note-dark { border-top-color: rgba(255,255,255,.16); color: #91a6bd; }

/* Services */
.services-section { padding-top: clamp(85px, 10vw, 140px); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-card {
  position: relative; display: flex; flex-direction: column; min-height: 430px; padding: 34px 28px 28px;
  border-right: 1px solid var(--line); transition: color 250ms ease, background 250ms ease, transform 250ms ease;
}
.service-card:first-child { border-left: 1px solid var(--line); }
.service-card::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform 260ms ease; }
.service-card > * { position: relative; z-index: 1; }
.service-card:hover, .service-card:focus-within { color: #c9d4e2; transform: translateY(-8px); }
.service-card:hover::before, .service-card:focus-within::before { transform: scaleY(1); }
.service-card:hover h3, .service-card:hover .card-link, .service-card:focus-within h3, .service-card:focus-within .card-link { color: var(--paper); }
.card-number { color: var(--blue); font: 700 .68rem/1 var(--mono); letter-spacing: .14em; }
.service-card h3 { margin-top: 60px; min-height: 4.4rem; transition: color 250ms ease; }
.service-card h3 a { display: block; }
.service-card > p { margin: 28px 0; color: var(--muted); font-size: .93rem; line-height: 1.75; transition: color 250ms ease; }
.service-card:hover > p, .service-card:focus-within > p { color: #aebed0; }
.service-card .card-link { margin-top: auto; }

/* Projects */
.projects-section { color: #bdcadd; background: var(--ink); }
.projects-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 70px; }
.projects-heading > div { max-width: 840px; }
.projects-heading h2 { color: var(--paper); }
.project-list { border-top: 1px solid rgba(255,255,255,.16); }
.project-row { display: grid; grid-template-columns: 45% 55%; min-height: 420px; border-bottom: 1px solid rgba(255,255,255,.16); }
.project-media { position: relative; overflow: hidden; min-height: 360px; background: #0d2a4b; }
.project-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8); transition: transform 600ms cubic-bezier(.2,.7,.2,1), filter 300ms ease; }
.project-row:hover .project-media img { transform: scale(1.035); filter: saturate(1); }
.project-placeholder {
  position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: space-between; padding: 28px;
  color: rgba(255,255,255,.7);
  background:
    linear-gradient(135deg, transparent 49.7%, rgba(143,181,255,.25) 50%, transparent 50.3%),
    linear-gradient(45deg, transparent 49.7%, rgba(121,200,66,.2) 50%, transparent 50.3%),
    linear-gradient(120deg, #0c3159, #1a4e7d);
  background-size: 100% 100%, 75% 75%, 100% 100%;
}
.project-row:nth-child(2) .project-placeholder { background-color: #3c3d35; background-image: linear-gradient(135deg, transparent 49.7%, rgba(255,255,255,.2) 50%, transparent 50.3%), linear-gradient(120deg, #34392d, #76725d); }
.project-row:nth-child(3) .project-placeholder { background-color: #142a3d; background-image: linear-gradient(45deg, transparent 49.7%, rgba(121,200,66,.28) 50%, transparent 50.3%), linear-gradient(120deg, #13293e, #1b5574); }
.project-placeholder b { color: rgba(255,255,255,.18); font: 500 clamp(6rem, 12vw, 11rem)/.75 var(--sans); letter-spacing: -.08em; }
.project-placeholder em { font: normal 650 .65rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.project-copy { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 55px clamp(36px, 6vw, 85px); }
.project-meta { margin-bottom: 20px; color: var(--blue-soft); font: 700 .67rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.project-copy h3 { max-width: 550px; color: var(--paper); font-size: clamp(1.8rem, 3.2vw, 3.2rem); }
.project-copy > p:not(.project-meta) { max-width: 580px; margin-top: 28px; color: #9fb0c5; }
.round-link { position: absolute; right: 36px; bottom: 36px; display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; color: var(--paper); transition: color 200ms ease, background 200ms ease, border-color 200ms ease, box-shadow 220ms ease, transform 240ms cubic-bezier(.2,.8,.2,1); }

/* Method */
.method-section { background: var(--mist); }
.method-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(70px, 11vw, 170px); align-items: start; }
.method-copy { position: sticky; top: 130px; }
.method-copy h2 { max-width: 580px; }
.method-copy > p:last-child { max-width: 520px; margin-top: 30px; color: var(--muted); font-size: 1.05rem; }
.method-list { padding: 0; margin: 0; list-style: none; border-top: 1px solid #cbd6e2; }
.method-list li { display: grid; grid-template-columns: 70px 1fr; gap: 18px; padding: 32px 0; border-bottom: 1px solid #cbd6e2; }
.method-list li > span { padding-top: 5px; color: var(--blue); font: 700 .66rem/1 var(--mono); }
.method-list h3 { margin-bottom: 8px; }
.method-list p { margin: 0; color: var(--muted); }

/* Articles */
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 24px; }
.article-card { display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--paper); transition: transform 240ms ease, box-shadow 240ms ease; }
.article-card:hover, .article-card:focus-within { transform: translateY(-8px); box-shadow: var(--shadow); }
.article-image { display: block; height: 250px; overflow: hidden; background: var(--ink); }
.article-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.article-card:hover .article-image img, .article-card:focus-within .article-image img { transform: scale(1.04); }
.article-image > span { display: flex; align-items: flex-end; height: 100%; padding: 24px; color: var(--blue-soft); background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 42px 42px; font: 700 .62rem/1 var(--mono); letter-spacing: .13em; }
.article-body { display: flex; flex: 1; flex-direction: column; padding: 28px; }
.article-meta { min-block-size: 3em; margin-bottom: 16px; color: var(--blue); font: 650 .62rem/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.article-meta a { color: inherit; }
.article-body h3 { min-height: 5.55rem; }
.article-body > p:not(.article-meta) { color: var(--muted); font-size: .92rem; }
.article-body .card-link { margin-top: auto; padding-top: 14px; }

@supports (grid-template-rows: subgrid) {
  .article-card { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; }
  .article-image { grid-row: 1; }
  .article-body { display: contents; }
  .article-meta { grid-row: 2; min-block-size: 0; margin: 0; padding: 28px 28px 16px; }
  .article-body h3 { grid-row: 3; min-height: 0; padding: 0 28px 4px; }
  .article-body > p:not(.article-meta) { grid-row: 4; margin: 0; padding: 0 28px 1.2rem; }
  .article-body .card-link { grid-row: 5; align-self: end; margin: 0; padding: 14px 28px 28px; }
}

/* Team */
.team-section { background: #f7f9fb; }
.team-section .split-heading { margin-bottom: 65px; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; align-items: stretch; gap: 24px; }
.team-card { display: flex; flex-direction: column; height: 100%; background: var(--paper); }
.team-photo { position: relative; display: grid; flex: 0 0 auto; place-items: center; aspect-ratio: 5 / 7; overflow: hidden; background: linear-gradient(145deg, #dce7f2, #c6d3df); }
.team-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.8); transition: transform 400ms ease, filter 200ms ease; }
.team-card:hover img { transform: scale(1.035); filter: saturate(1); }
.team-photo span { color: rgba(8,26,51,.22); font-size: 7rem; font-weight: 700; }
.team-card > div { flex: 1; padding: 24px; border: 1px solid var(--line); border-top: 0; }
.team-card h3 { font-size: 1.35rem; }
.team-card p { margin: 9px 0 0; color: var(--muted); font-size: .86rem; }
/* Contact */
.contact-section { position: relative; padding: clamp(90px, 10vw, 145px) 0; color: #c5d1df; background: var(--ink-2); }
.contact-section::before { content: ""; position: absolute; inset: 0 50% 0 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 56px 56px; }
.contact-grid { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(55px, 9vw, 140px); }
.contact-copy h2 { color: var(--paper); }
.contact-copy > p:not(.eyebrow) { max-width: 550px; margin-top: 28px; color: #9fb1c6; }
.direct-contacts { display: grid; margin-top: 55px; border-top: 1px solid rgba(255,255,255,.16); }
.direct-contacts a { display: flex; flex-direction: column; gap: 6px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.16); color: var(--paper); font-size: 1.1rem; }
.direct-contacts span { color: var(--blue-soft); font: 700 .6rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.contact-form { padding: clamp(28px, 5vw, 55px); color: var(--ink); background: var(--paper); box-shadow: var(--shadow); }
.contact-form label { display: flex; flex-direction: column; gap: 9px; margin-bottom: 20px; color: var(--ink); font-size: .7rem; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; min-height: 52px; padding: 13px 0; border: 0; border-bottom: 1px solid #bfcbd7; border-radius: 0; outline: none; color: var(--ink); background: transparent; font-size: .94rem; letter-spacing: 0; text-transform: none; transition: border 150ms ease; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-bottom-color: var(--blue); box-shadow: inset 0 -1px var(--blue); }
.contact-form textarea { resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.contact-form .privacy-check { flex-direction: row; align-items: flex-start; gap: 12px; color: #52657a; font-size: .82rem; font-weight: 500; line-height: 1.5; letter-spacing: 0; text-transform: none; }
.privacy-check input { flex: 0 0 auto; width: 17px; min-height: 17px; margin-top: 2px; }
.privacy-check a { color: var(--blue); text-decoration: underline; }
.contact-form button { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 60px; padding: 0 22px; border: 0; color: var(--paper); background: var(--blue); font-size: .85rem; font-weight: 750; cursor: pointer; transition: transform 220ms cubic-bezier(.2,.8,.2,1), box-shadow 220ms ease, background 180ms ease; }
.contact-form button:hover { background: var(--ink); }
.contact-form small { display: block; margin-top: 13px; color: #52657a; font-size: .82rem; line-height: 1.55; }
.honey-field { position: absolute !important; left: -9999px; }
.form-status { padding: 14px; margin-bottom: 24px; border-left: 3px solid; font-size: .86rem; }
.form-status.is-success { border-color: var(--green); background: #eef9e7; }
.form-status.is-error { border-color: #b14343; background: #fff0f0; }

/* Footer */
.site-footer { color: #94a5b8; background: #051426; }
.footer-top { display: grid; grid-template-columns: 1.4fr .7fr .7fr; gap: 80px; padding-block: 72px; }
.footer-brand img { width: 185px; filter: brightness(0) invert(1); opacity: .95; }
.footer-brand p { max-width: 360px; margin-top: 22px; }
.footer-label { margin-bottom: 20px; color: #6d8299; font: 700 .62rem/1 var(--mono); letter-spacing: .13em; text-transform: uppercase; }
.footer-menu, .footer-nav .menu { padding: 0; margin: 0; list-style: none; }
.footer-menu li, .footer-nav .menu li { margin-bottom: 10px; }
.footer-menu a:hover, .footer-nav .menu a:hover, .footer-contact a:hover { color: var(--paper); }
.footer-contact { display: flex; flex-direction: column; align-items: flex-start; }
.footer-contact a { margin-bottom: 9px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.11); font-size: .72rem; }
.footer-bottom p { margin: 0; }

/* Archives and single content */
.page-hero { padding: calc(var(--header-height) + 100px) 0 95px; color: #afbdd0; background: linear-gradient(120deg, var(--ink), #13395f); }
.page-hero h1 { max-width: 950px; color: var(--paper); font-size: clamp(3rem, 7vw, 6.2rem); }
.page-hero p:not(.eyebrow), .archive-description { max-width: 700px; margin-top: 25px; font-size: 1.1rem; }
.content-layout { padding-block: 90px 130px; }
.archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.archive-grid > p:only-child { grid-column: 1 / -1; }
.archive-card { overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.archive-card > div { padding: 26px; }
.archive-card h2 { margin-bottom: 18px; font-size: 1.55rem; }
.archive-card p { color: var(--muted); font-size: .92rem; }
.archive-image { display: block; height: 245px; overflow: hidden; background: var(--ink); }
.archive-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.archive-card:hover .archive-image img { transform: scale(1.035); }
.archive-image span { display: flex; align-items: flex-end; height: 100%; padding: 24px; color: var(--blue-soft); background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 40px 40px; font: 700 .65rem/1 var(--mono); letter-spacing: .12em; }
.navigation.pagination { grid-column: 1 / -1; margin-top: 50px; }
.nav-links { display: flex; gap: 8px; }
.page-numbers { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); }
.page-numbers.current, .page-numbers:hover { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.single-hero { padding: calc(var(--header-height) + 95px) 0 115px; color: #b3c3d6; background: var(--ink); }
.single-hero-inner { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.single-hero h1 { max-width: 1000px; color: var(--paper); font-size: clamp(3rem, 6vw, 6rem); }
.single-hero p:not(.eyebrow) { max-width: 760px; margin-top: 28px; font-size: 1.15rem; }
.single-code { color: var(--blue-soft); font: 700 .68rem/1 var(--mono); letter-spacing: .14em; }
.single-featured { margin-top: -60px; }
.single-featured img { width: 100%; max-height: 720px; object-fit: cover; box-shadow: var(--shadow); }
.single-content { display: grid; grid-template-columns: minmax(0, 760px) 300px; justify-content: space-between; gap: 70px; padding-block: 95px 130px; }
.single-content > * { min-width: 0; }
.entry-content { min-width: 0; color: #293d53; font-size: 1.06rem; overflow-wrap: anywhere; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { margin: 2.3em 0 .7em; font-size: clamp(2rem, 3.5vw, 3rem); }
.entry-content h3 { margin: 2em 0 .65em; }
.entry-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.entry-content blockquote { margin: 2.2em 0; padding: 8px 0 8px 26px; border-left: 3px solid var(--green); color: var(--ink); font-size: 1.35rem; }
.entry-content figure { margin: 2.5rem 0; }
.entry-content iframe, .entry-content video, .entry-content embed { max-width: 100%; }
.entry-content pre { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.entry-content table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; -webkit-overflow-scrolling: touch; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.single-content aside { align-self: start; position: sticky; top: 110px; padding: 26px; border: 1px solid var(--line); }
.single-content aside p:not(.footer-label) { color: var(--muted); }
.single-content aside .button { width: 100%; gap: 16px; }
.single-article-aside { justify-self: end; width: 100%; max-width: 300px; overflow: hidden; }
.article-reference-image { position: relative; aspect-ratio: 3 / 2; margin: -26px -26px 24px; overflow: hidden; background: linear-gradient(145deg, #e7edf5, #cbd7e5); }
.article-reference-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.team-profile-layout { padding-block: 95px 130px; }
.team-profile-layout.has-profile-photo { display: grid; grid-template-columns: minmax(0, 760px) minmax(220px, 300px); justify-content: space-between; align-items: start; gap: clamp(40px, 7vw, 90px); }
.team-profile-content { max-width: 760px; }
.team-profile-photo { position: relative; justify-self: end; width: 100%; aspect-ratio: 5 / 7; margin: 0; overflow: hidden; background: linear-gradient(145deg, #e7edf5, #cbd7e5); box-shadow: var(--shadow); }
.team-profile-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.comments-shell { max-width: 760px; padding-bottom: 120px; }
.comments-area { padding-top: 55px; border-top: 1px solid var(--line); }
.comments-title, .comment-reply-title { margin-bottom: 28px; font-size: 1.8rem; }
.comment-list { padding: 0; margin: 0 0 50px; list-style: none; }
.comment-list .children { margin-top: 22px; list-style: none; }
.comment-body { padding: 22px 0; border-bottom: 1px solid var(--line); }
.comment-meta { color: var(--muted); font-size: .78rem; }
.comment-author { display: flex; align-items: center; gap: 12px; color: var(--ink); font-size: .9rem; }
.comment-author img { border-radius: 50%; }
.comment-content { margin-top: 16px; }
.comment-form label { display: block; margin-bottom: 6px; color: var(--ink); font-size: .75rem; font-weight: 700; }
.comment-form input, .comment-form textarea { width: 100%; padding: 12px; border: 1px solid var(--line); }
.comment-form .submit, .wp-block-button__link {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 13px 22px; border: 0; border-radius: var(--radius); color: var(--paper); background: var(--ink); cursor: pointer;
  transition: transform 220ms cubic-bezier(.2,.8,.2,1), box-shadow 220ms ease, background 180ms ease;
}
.page-content { max-width: 800px; padding-block: 90px 130px; }
.not-found { min-height: 72vh; display: grid; align-items: center; padding: calc(var(--header-height) + 70px) 0 90px; background: var(--mist); }
.not-found h1 { max-width: 900px; }
.not-found p:not(.eyebrow) { max-width: 600px; margin: 30px 0; }

/* WordPress defaults */
.alignwide { width: min(1100px, 100%); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.wp-caption-text, .gallery-caption { color: var(--muted); font-size: .78rem; }
.sticky { outline: 2px solid var(--green); }
.bypostauthor { display: block; }

@media (hover: hover) and (pointer: fine) {
  .button:hover, .header-cta:hover, .contact-form button:hover, .comment-form .submit:hover, .wp-block-button__link:hover {
    transform: translateY(-3px) scale(1.015);
    box-shadow: 0 14px 30px rgba(8,26,51,.2);
  }
  .button:hover::before, .header-cta:hover::before, .contact-form button:hover::before, .comment-form .submit:hover::before, .wp-block-button__link:hover::before { transform: translateX(125%) skewX(-16deg); }
  .button:hover > span, .header-cta:hover > span, .contact-form button:hover > span { transform: translate(4px, -2px); }
  .text-link:hover, .card-link:hover { transform: translateX(3px); }
  .text-link:hover span, .card-link:hover span { transform: translate(5px, -2px); }
  .round-link:hover { color: var(--ink); background: var(--green); border-color: var(--green); box-shadow: 0 12px 26px rgba(0,0,0,.22); transform: translateY(-3px) rotate(45deg) scale(1.06); }
  .menu-toggle:hover { color: var(--blue); }
  .menu-toggle:hover .menu-toggle-lines { transform: scale(1.08); }
}

/* Motion */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 600ms ease, transform 600ms cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .site-navigation { gap: 22px; }
  .site-navigation .menu { gap: 20px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr) 360px; gap: 34px; }
  .hero-machine { right: 0; width: 360px; }
  .gear-stage { width: 430px; transform: scale(.84); transform-origin: left center; }
  .machine-tag { left: 305px; width: 160px; font-size: .82rem; }
  .machine-tag span { height: 66px; transform: rotate(-27deg); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card:nth-child(3) { border-left: 1px solid var(--line); }
  .service-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  :root { --header-height: 74px; --shell: min(100% - 34px, 1240px); }
  .admin-bar .site-header { top: 32px; }
  .site-header.is-scrolled { height: var(--header-height); }
  .menu-toggle { position: relative; z-index: 3; display: flex; align-items: center; justify-content: flex-end; gap: 14px; min-width: 44px; min-height: 44px; padding: 10px 0; }
  .menu-toggle-label { font-size: .72rem; font-weight: 750; text-transform: uppercase; }
  .menu-toggle-lines { position: relative; width: 24px; height: 16px; transition: transform 180ms ease; }
  .menu-toggle-lines i { position: absolute; left: 0; display: block; width: 100%; height: 2px; background: var(--ink); transition: transform 180ms ease, top 180ms ease; }
  .menu-toggle-lines i:first-child { top: 3px; }
  .menu-toggle-lines i:last-child { top: 11px; }
  .menu-toggle[aria-expanded="true"] i:first-child { top: 7px; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] i:last-child { top: 7px; transform: rotate(-45deg); }
  .site-navigation {
    position: fixed; inset: var(--header-height) 0 0; display: flex; flex-direction: column; align-items: stretch; gap: 32px;
    width: 100%; height: auto; min-height: calc(100svh - var(--header-height)); overflow-y: auto;
    padding: 50px 24px; background: var(--paper); visibility: hidden; opacity: 0; transform: translateY(-10px); transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;
  }
  .site-navigation.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .admin-bar .site-navigation { inset-block-start: calc(var(--header-height) + 32px); min-height: calc(100svh - var(--header-height) - 32px); }
  .site-navigation .menu { display: flex; flex-direction: column; align-items: stretch; gap: 0; height: auto; }
  .site-navigation .menu li { border-bottom: 1px solid var(--line); }
  .site-navigation .menu a { display: block; padding: 15px 0; font-size: 1.25rem; }
  .site-navigation .menu a::after { display: none; }
  .header-cta { justify-content: space-between; min-height: 56px; padding-inline: 20px; }
  .hero { min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; min-height: auto; padding-block: 90px 135px; }
  .hero-machine { width: min(100%, 430px); min-height: 385px; margin: -40px auto 0; justify-self: center; }
  .gear-stage { min-height: 385px; transform: scale(.88); transform-origin: center; }
  .hero-orbit-one { width: 85vw; right: -38vw; top: 20%; }
  .hero-orbit-two { width: 48vw; right: 3vw; top: 47%; }
  .hero-proof { gap: 12px; overflow: hidden; }
  .hero-proof span:nth-of-type(4), .hero-proof i:nth-of-type(3) { display: none; }
  .split-heading, .method-grid, .contact-grid { grid-template-columns: 1fr; }
  .method-copy { position: static; }
  .project-row { grid-template-columns: 1fr; }
  .project-media { min-height: 380px; }
  .project-copy { min-height: 320px; }
  .articles-grid { grid-template-columns: 1fr; }
  .article-card { display: grid; grid-row: auto; grid-template-columns: 42% 58%; grid-template-rows: none; }
  .article-image { height: 100%; min-height: 280px; }
  .article-body { display: flex; padding: 28px; }
  .article-meta { min-block-size: 0; margin-bottom: 16px; padding: 0; }
  .article-body h3 { min-height: 3.7rem; padding: 0; }
  .article-body > p:not(.article-meta) { margin: 0 0 1.2rem; padding: 0; }
  .article-body .card-link { align-self: auto; margin-top: auto; padding: 14px 0 0; }
  .contact-section::before { right: 0; bottom: 50%; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 55px; }
  .footer-brand { grid-column: 1 / -1; }
  .single-content { grid-template-columns: 1fr; }
  .single-content aside { position: static; }
  .single-article-aside { justify-self: start; }
  .team-profile-layout.has-profile-photo { grid-template-columns: minmax(0, 1fr) minmax(200px, 240px); gap: 40px; }
}

@media (max-width: 620px) {
  :root { --shell: min(100% - 28px, 1240px); }
  h1 { font-size: clamp(2.65rem, 14vw, 4.4rem); }
  h2 { font-size: clamp(2.15rem, 11vw, 3.4rem); }
  .section { padding-block: 76px; }
  .gear-stop { flex-basis: 20px; width: 20px; height: 20px; }
  .scroll-gear { --scroll-gear-size: 20px; }
  .brand-logo { height: 21px; }
  .hero-inner { padding-block: 72px 125px; }
  .hero-machine { width: 100%; min-height: 330px; margin-top: -30px; }
  .gear-stage { width: 410px; min-height: 360px; margin-left: 50%; transform: translateX(-50%) scale(.72); transform-origin: center; }
  .machine-tag { left: 290px; top: 338px; width: 165px; font-size: 1rem; }
  .hero-lead { font-size: 1rem; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 24px; }
  .hero-actions .text-link { padding-left: 5px; }
  .hero-proof { font-size: .55rem; }
  .hero-proof span:nth-of-type(3), .hero-proof i:nth-of-type(2) { display: none; }
  .section-heading-row, .projects-heading { align-items: flex-start; flex-direction: column; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 330px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .service-card:last-child { border-bottom: 0; }
  .service-card h3 { min-height: 0; margin-top: 45px; }
  .project-media { min-height: 300px; }
  .project-copy { min-height: 310px; padding: 38px 24px 88px; }
  .round-link { left: 24px; right: auto; bottom: 24px; }
  .method-list li { grid-template-columns: 45px 1fr; }
  .article-card { display: block; }
  .article-image { height: 230px; min-height: 0; }
  .team-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 26px 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 7px; }
  .archive-grid { grid-template-columns: 1fr; }
  .page-hero { padding-block: calc(var(--header-height) + 65px) 70px; }
  .single-hero-inner { grid-template-columns: 1fr; }
  .single-code { display: none; }
  .single-featured { margin-top: -38px; }
  .single-content { padding-block: 65px 95px; }
  .single-article-aside { max-width: 280px; }
  .team-profile-layout { padding-block: 65px 95px; }
  .team-profile-layout.has-profile-photo { grid-template-columns: 1fr; }
  .team-profile-photo { justify-self: start; width: min(72vw, 260px); }
  .site-header { background: #fff; backdrop-filter: none; }
  .machine-tag p { backdrop-filter: none; }
  .scroll-gear-wheel { filter: none; }
  .gear { filter: drop-shadow(0 12px 16px rgba(0,0,0,.18)); }
}

@media (max-width: 360px) {
  .hero-machine { min-height: 310px; }
  .gear-stage { transform: translateX(-50%) scale(.66); }
  .machine-tag { left: 290px; width: 155px; font-size: 1.08rem; }
}

@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
  .admin-bar .site-navigation { inset-block-start: calc(var(--header-height) + 46px); min-height: calc(100svh - var(--header-height) - 46px); }
}

@media print {
  .site-header, .site-footer, .contact-section, .single-content aside { display: none; }
  .site-main { overflow: visible; }
  .page-hero, .single-hero { padding: 20px 0; color: #000; background: #fff; }
  .page-hero h1, .single-hero h1 { color: #000; }
}
