/*
Theme Name: Nomenas Digital LLC
Theme URI: https://nomenasdigital.com
Author: Nomenas Digital LLC
Author URI: https://nomenasdigital.com
Description: A premium WordPress theme for Nomenas Digital LLC, an independent digital company building owned internet assets.
Version: 0.4.7
Requires at least: 6.2
Tested up to: 6.5
Requires PHP: 7.4
License: Proprietary
Text Domain: nomenas-digital
*/

:root {
  --ink: #0c1010;
  --ink-soft: #151b1a;
  --paper: #f7f3ea;
  --paper-muted: #d8d0c1;
  --line: rgba(247, 243, 234, 0.16);
  --line-dark: rgba(12, 16, 16, 0.14);
  --amber: #e7a84d;
  --teal: #67b5aa;
  --coral: #d36b55;
  --moss: #99a767;
  --max: 1180px;
  --radius: 8px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  font-family: "Inter", "Aptos", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.admin-bar .site-header {
  top: 32px;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--ink);
}

.skip-link:focus {
  left: 12px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid rgba(247, 243, 234, 0.12);
  background: rgba(12, 16, 16, 0.72);
  backdrop-filter: blur(22px);
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(247, 243, 234, 0.2);
  background: rgba(9, 12, 12, 0.9);
}

.site-header__inner {
  width: min(var(--max), calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  color: var(--paper);
  text-decoration: none;
  font-weight: 760;
  letter-spacing: 0;
}

.brand__logo {
  display: block;
  width: clamp(164px, 16vw, 230px);
  height: auto;
}

.brand__mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(231, 168, 77, 0.5);
  background: linear-gradient(140deg, rgba(231, 168, 77, 0.92), rgba(103, 181, 170, 0.75));
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  border-radius: 50%;
}

.brand__text {
  font-size: 15px;
  text-transform: uppercase;
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-navigation ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-navigation a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 12px;
  color: rgba(247, 243, 234, 0.76);
  text-decoration: none;
  font-size: 14px;
  font-weight: 640;
  border-radius: 999px;
}

.main-navigation a:hover,
.main-navigation a:focus {
  color: var(--paper);
  background: rgba(247, 243, 234, 0.08);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(241, 238, 230, 0.22);
  border-radius: 3px;
  color: var(--paper);
  background: rgba(241, 238, 230, 0.06);
  cursor: pointer;
}

.nav-toggle__bar {
  width: 20px;
  height: 2px;
  display: block;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  white-space: nowrap;
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(231, 168, 77, 0.58);
  border-radius: 999px;
  color: var(--ink);
  background: var(--amber);
  text-decoration: none;
  font-weight: 780;
  box-shadow: 0 12px 34px rgba(231, 168, 77, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button--ghost {
  color: var(--paper);
  background: rgba(247, 243, 234, 0.06);
  border-color: rgba(247, 243, 234, 0.22);
  box-shadow: none;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(12, 16, 16, 0.98) 0%, rgba(12, 16, 16, 0.84) 44%, rgba(12, 16, 16, 0.24) 84%),
    linear-gradient(0deg, rgba(12, 16, 16, 1) 0%, rgba(12, 16, 16, 0) 34%),
    url("assets/images/nomenas-hero.png") center right / cover no-repeat;
}

.hero-machine {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.58;
  mix-blend-mode: screen;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 26vh;
  z-index: -1;
  background: linear-gradient(0deg, var(--ink) 0%, rgba(12, 16, 16, 0) 100%);
}

.hero__inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 136px 0 76px;
}

.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 46px;
  align-items: end;
}

.hero__copy-block {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--paper-muted);
  font-size: 13px;
  font-weight: 760;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--amber);
}

.hero h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(38px, 5.6vw, 83px);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero__lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(247, 243, 234, 0.82);
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.35;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.ops-deck {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(247, 243, 234, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(247, 243, 234, 0.1), rgba(247, 243, 234, 0.035)),
    rgba(12, 16, 16, 0.54);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.ops-deck::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent, rgba(231, 168, 77, 0.12), transparent 54%);
  transform: translateX(-90%);
  animation: deck-sweep 4.8s ease-in-out infinite;
}

.ops-deck__top {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: rgba(247, 243, 234, 0.58);
  font-size: 11px;
  font-weight: 840;
  text-transform: uppercase;
}

.ops-deck__top i {
  color: var(--teal);
  font-style: normal;
}

.ops-deck__screen {
  position: relative;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(247, 243, 234, 0.13);
  background: rgba(9, 12, 12, 0.72);
}

.ops-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(247, 243, 234, 0.08);
  color: rgba(247, 243, 234, 0.72);
  font-size: 13px;
}

.ops-line strong {
  color: var(--amber);
}

.ops-pulse {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: end;
  gap: 5px;
  height: 54px;
  margin-top: 18px;
}

.ops-pulse b {
  display: block;
  height: 16px;
  background: linear-gradient(0deg, rgba(103, 181, 170, 0.2), rgba(231, 168, 77, 0.82));
  animation: pulse-bars 1.9s ease-in-out infinite;
}

.ops-pulse b:nth-child(2) { animation-delay: 120ms; height: 30px; }
.ops-pulse b:nth-child(3) { animation-delay: 240ms; height: 42px; }
.ops-pulse b:nth-child(4) { animation-delay: 360ms; height: 24px; }
.ops-pulse b:nth-child(5) { animation-delay: 480ms; height: 48px; }
.ops-pulse b:nth-child(6) { animation-delay: 600ms; height: 34px; }
.ops-pulse b:nth-child(7) { animation-delay: 720ms; height: 20px; }

.ops-deck p {
  position: relative;
  margin: 16px 0 0;
  color: rgba(247, 243, 234, 0.68);
  font-size: 13px;
}

.hero__proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: min(860px, 100%);
  margin-top: 62px;
  border: 1px solid rgba(247, 243, 234, 0.14);
  background: rgba(247, 243, 234, 0.14);
}

.proof-tile {
  min-height: 112px;
  padding: 18px;
  background: rgba(12, 16, 16, 0.64);
  backdrop-filter: blur(18px);
}

.proof-tile strong {
  display: block;
  color: var(--paper);
  font-size: 24px;
  line-height: 1;
}

.proof-tile span {
  display: block;
  margin-top: 10px;
  color: rgba(247, 243, 234, 0.66);
  font-size: 13px;
  line-height: 1.35;
}

.section {
  padding: 90px 0;
}

.section--paper {
  color: var(--ink);
  background: var(--paper);
}

.section--split {
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(103, 181, 170, 0.2), transparent 34%),
    #ede5d8;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.section-kicker {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 820;
  text-transform: uppercase;
}

.section-title {
  max-width: 820px;
  margin: 0;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 1;
  letter-spacing: 0;
}

.section-copy {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(12, 16, 16, 0.7);
  font-size: 18px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 42px;
}

.capability {
  min-height: 280px;
  padding: 24px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.44);
}

.capability__label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  color: rgba(12, 16, 16, 0.72);
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}

.capability h3 {
  margin: 42px 0 12px;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: 0;
}

.capability p {
  margin: 0;
  color: rgba(12, 16, 16, 0.68);
}

.band {
  border-block: 1px solid var(--line);
  background:
    radial-gradient(circle at 12% 0%, rgba(231, 168, 77, 0.18), transparent 24%),
    linear-gradient(135deg, #111614, #0c1010 52%, #15130f);
}

.band .section-copy {
  color: rgba(247, 243, 234, 0.72);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 42px;
}

.project-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid rgba(247, 243, 234, 0.15);
  border-radius: var(--radius);
  background: rgba(247, 243, 234, 0.055);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
}

.section--paper .project-card,
.section--split .project-card {
  border-color: var(--line-dark);
  background: rgba(255, 255, 255, 0.5);
  box-shadow: none;
}

.project-card__type {
  color: var(--amber);
  font-size: 12px;
  font-weight: 840;
  text-transform: uppercase;
}

.section--paper .project-card__type,
.section--split .project-card__type {
  color: var(--coral);
}

.project-card h3 {
  margin: 52px 0 12px;
  font-size: 29px;
  line-height: 1.04;
}

.project-card p {
  margin: 0 0 22px;
  color: rgba(247, 243, 234, 0.7);
}

.section--paper .project-card p,
.section--split .project-card p {
  color: rgba(12, 16, 16, 0.66);
}

.project-card a {
  margin-top: auto;
  color: var(--amber);
  font-weight: 760;
  text-decoration: none;
}

.section--paper .project-card a,
.section--split .project-card a {
  color: #9f472f;
}

.machine-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
}

.machine-strip span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(247, 243, 234, 0.16);
  border-radius: 999px;
  color: rgba(247, 243, 234, 0.72);
  background: rgba(247, 243, 234, 0.055);
  font-size: 13px;
}

.has-nomenas-js .capability,
.has-nomenas-js .project-card,
.has-nomenas-js .workflow__step,
.has-nomenas-js .metric,
.has-nomenas-js .note,
.has-nomenas-js .contact-panel {
  opacity: 1;
  transform: translateY(14px);
  transition: opacity 520ms ease var(--reveal-delay, 0ms), transform 520ms ease var(--reveal-delay, 0ms), border-color 180ms ease, background 180ms ease;
}

.has-nomenas-js .capability.is-visible,
.has-nomenas-js .project-card.is-visible,
.has-nomenas-js .workflow__step.is-visible,
.has-nomenas-js .metric.is-visible,
.has-nomenas-js .note.is-visible,
.has-nomenas-js .contact-panel.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.capability:hover,
.project-card:hover {
  border-color: rgba(231, 168, 77, 0.55);
}

.signal-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.metric-stack {
  display: grid;
  gap: 12px;
}

.metric {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(247, 243, 234, 0.14);
}

.metric strong {
  color: var(--amber);
  font-size: 34px;
  line-height: 1;
}

.metric span {
  color: rgba(247, 243, 234, 0.72);
}

.metric-stack--light .metric {
  border-bottom-color: rgba(12, 16, 16, 0.15);
}

.metric-stack--light .metric span {
  color: rgba(12, 16, 16, 0.7);
}

.dark-copy {
  color: rgba(247, 243, 234, 0.72);
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 46px;
  border: 1px solid var(--line-dark);
  background: var(--line-dark);
}

.workflow__step {
  min-height: 230px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.5);
}

.workflow__step span {
  color: var(--teal);
  font-weight: 860;
}

.workflow__step h3 {
  margin: 44px 0 12px;
  font-size: 23px;
  line-height: 1.08;
}

.workflow__step p {
  margin: 0;
  color: rgba(12, 16, 16, 0.66);
  font-size: 15px;
}

.cta {
  padding: 90px 0;
  background:
    linear-gradient(90deg, rgba(12, 16, 16, 0.9), rgba(12, 16, 16, 0.62)),
    url("assets/images/nomenas-hero.png") center / cover no-repeat;
}

.cta__panel {
  max-width: 880px;
}

.cta h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1;
}

.cta p {
  max-width: 650px;
  margin: 20px 0 30px;
  color: rgba(247, 243, 234, 0.78);
  font-size: 18px;
}

.site-footer {
  padding: 42px 0;
  color: rgba(247, 243, 234, 0.62);
  background: #090c0c;
}

.site-footer__inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer__copy {
  max-width: 560px;
  display: grid;
  gap: 8px;
}

.site-footer__copy span + span {
  color: rgba(247, 243, 234, 0.48);
  font-size: 13px;
  line-height: 1.45;
}

.site-footer a {
  color: var(--paper);
  text-decoration: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
}

.page-hero {
  padding: 148px 0 78px;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(12, 16, 16, 0.98), rgba(12, 16, 16, 0.72)),
    url("assets/images/nomenas-hero.png") center / cover no-repeat;
}

.page-hero__title {
  max-width: 900px;
  margin: 0;
  font-size: clamp(35px, 5.6vw, 75px);
  line-height: 0.96;
}

.page-hero__copy {
  max-width: 710px;
  margin: 24px 0 0;
  color: rgba(247, 243, 234, 0.78);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.38;
}

.text-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 70px;
  align-items: start;
}

.stack {
  display: grid;
  gap: 18px;
}

.note {
  padding: 24px;
  border-left: 4px solid var(--amber);
  background: rgba(255, 255, 255, 0.5);
  color: rgba(12, 16, 16, 0.72);
}

.plain-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.plain-list li {
  padding: 16px 0;
  border-bottom: 1px solid rgba(12, 16, 16, 0.14);
  color: rgba(12, 16, 16, 0.72);
}

.plain-list strong {
  display: block;
  color: var(--ink);
}

.legal-hub-list {
  display: grid;
  gap: 12px;
}

.legal-hub-card {
  display: block;
  padding: 20px;
  border: 1px solid rgba(7, 16, 13, 0.14);
  color: #07100d;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.46);
  transition: border-color 180ms ease, background 180ms ease;
}

.legal-hub-card:hover,
.legal-hub-card:focus {
  border-color: rgba(214, 161, 60, 0.7);
  background: rgba(255, 255, 255, 0.7);
}

.legal-hub-card strong {
  display: block;
  color: #07100d;
  font-size: 18px;
  font-weight: 950;
  text-transform: uppercase;
}

.legal-hub-card span {
  display: block;
  margin-top: 8px;
  color: rgba(7, 16, 13, 0.72);
}

.legal-notice {
  padding: 22px;
  border: 1px solid rgba(214, 161, 60, 0.52);
  background: rgba(214, 161, 60, 0.13);
  color: rgba(7, 16, 13, 0.76);
}

.legal-notice strong {
  display: block;
  color: #07100d;
  font-size: 18px;
  font-weight: 950;
  text-transform: uppercase;
}

.legal-notice p {
  margin: 8px 0 0;
}

.legal-doc {
  max-width: 880px;
  color: rgba(7, 16, 13, 0.76);
  font-size: 18px;
  line-height: 1.68;
}

.legal-doc > *:first-child {
  margin-top: 0;
}

.legal-doc h2 {
  margin: 42px 0 12px;
  color: #07100d;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.08;
  text-transform: uppercase;
}

.legal-doc p {
  margin: 0 0 18px;
}

.legal-doc address {
  margin: 18px 0 28px;
  padding: 18px 20px;
  border-left: 4px solid var(--amber);
  background: rgba(255, 255, 255, 0.48);
  color: rgba(7, 16, 13, 0.78);
  font-style: normal;
}

.legal-doc a {
  color: #07100d;
  font-weight: 820;
}

.legal-updated {
  color: rgba(7, 16, 13, 0.58);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-panel {
  max-width: 760px;
  padding: 32px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.52);
}

.contact-panel a {
  color: #8f3f2c;
  font-weight: 780;
}

.business-address {
  margin-top: 18px;
  color: rgba(12, 16, 16, 0.66);
  font-style: normal;
}

.project-hero {
  min-height: 560px;
  display: grid;
  align-items: end;
}

.project-meta {
  position: sticky;
  top: 104px;
}

.project-content {
  max-width: 760px;
  color: rgba(12, 16, 16, 0.76);
  font-size: 19px;
}

.project-content > *:first-child {
  margin-top: 0;
}

.project-content h2,
.project-content h3 {
  color: var(--ink);
  line-height: 1.05;
}

.project-content h2 {
  margin: 42px 0 14px;
  font-size: clamp(30px, 4vw, 52px);
}

.project-content h3 {
  margin: 32px 0 12px;
  font-size: 28px;
}

.project-content p {
  margin: 0 0 20px;
}

.project-featured-image {
  margin: 0 0 30px;
}

.project-featured-image img {
  display: block;
  width: 100%;
  border-radius: var(--radius);
}

@keyframes deck-sweep {
  0% { transform: translateX(-90%); }
  44%, 100% { transform: translateX(90%); }
}

@keyframes pulse-bars {
  0%, 100% { transform: scaleY(0.7); opacity: 0.5; }
  45% { transform: scaleY(1); opacity: 1; }
}

@media (hover: hover) {
  .button:hover,
  .nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 42px rgba(231, 168, 77, 0.24);
  }
}

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

  .has-nomenas-js .capability,
  .has-nomenas-js .project-card,
  .has-nomenas-js .workflow__step,
  .has-nomenas-js .metric,
  .has-nomenas-js .note,
  .has-nomenas-js .contact-panel {
    opacity: 1;
    transform: none;
  }
}

.wp-content {
  color: var(--ink);
  background: var(--paper);
}

.wp-content .wrap {
  padding: 56px 0;
}

@media (max-width: 1100px) {
  .hero__layout {
    grid-template-columns: 1fr;
  }

  .ops-deck {
    max-width: 520px;
  }

  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .site-header__inner {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .main-navigation,
  .main-navigation ul {
    width: 100%;
    flex-wrap: wrap;
  }

  .nav-cta {
    width: 100%;
  }

  .hero {
    min-height: 95vh;
    background-position: center top;
  }

  .hero__inner {
    padding-top: 184px;
  }

  .hero__layout {
    gap: 28px;
  }

  .hero__proof,
  .capability-grid,
  .workflow,
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .signal-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .section-head,
  .text-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .project-meta {
    position: static;
  }
}

@media (max-width: 620px) {
  .site-header {
    position: absolute;
  }

  .site-header__inner,
  .wrap,
  .hero__inner,
  .site-footer__inner {
    width: min(100% - 28px, var(--max));
  }

  .hero {
    min-height: 100vh;
    background:
      linear-gradient(90deg, rgba(12, 16, 16, 0.98) 0%, rgba(12, 16, 16, 0.78) 58%, rgba(12, 16, 16, 0.26) 100%),
      linear-gradient(0deg, rgba(12, 16, 16, 1) 0%, rgba(12, 16, 16, 0) 44%),
      url("assets/images/nomenas-hero.png") center top / cover no-repeat;
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero__lead {
    font-size: 18px;
  }

  .ops-deck {
    display: none;
  }

  .hero__proof,
  .capability-grid,
  .workflow,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .proof-tile,
  .capability,
  .workflow__step {
    min-height: auto;
  }

  .metric {
    grid-template-columns: 1fr;
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

/* Nomenas Digital LLC 2026 visual direction */
:root {
  --ink: #07100d;
  --ink-soft: #101813;
  --paper: #f1eee6;
  --paper-muted: #d8d2c3;
  --amber: #d6a13c;
  --amber-bright: #f3bd45;
  --line: rgba(241, 238, 230, 0.13);
  --line-dark: rgba(7, 16, 13, 0.16);
  --radius: 4px;
  --max: 1260px;
  font-family: "Arial Narrow", "Roboto Condensed", "Aptos Condensed", "Inter", system-ui, sans-serif;
}

body {
  background: #07100d;
  color: var(--paper);
}

.site-header {
  background: rgba(7, 16, 13, 0.86);
  border-bottom-color: rgba(241, 238, 230, 0.12);
}

.site-header__inner {
  min-height: 66px;
}

.brand {
  gap: 10px;
}

.brand__logo {
  width: clamp(168px, 15vw, 218px);
}

.brand__mark {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: var(--paper);
  border-radius: 0;
}

.brand__mark svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.brand__text {
  display: grid;
  gap: 1px;
  color: var(--paper);
  font-size: 16px;
  line-height: 1;
}

.brand__text strong {
  font-weight: 920;
  letter-spacing: 0.04em;
}

.brand__text small {
  color: rgba(241, 238, 230, 0.58);
  font-size: 9px;
  font-weight: 760;
  letter-spacing: 0.18em;
}

.main-navigation {
  gap: 12px;
}

.main-navigation ul {
  gap: 2px;
}

.main-navigation a {
  min-height: 34px;
  padding: 0 9px;
  border-radius: 0;
  color: rgba(241, 238, 230, 0.72);
  font-size: 11px;
  font-weight: 840;
  text-transform: uppercase;
}

.nav-cta,
.button {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 3px;
  border-color: rgba(214, 161, 60, 0.7);
  background: var(--amber-bright);
  color: #07100d;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: none;
}

.button--ghost,
.button--outline {
  color: var(--paper);
  background: rgba(7, 16, 13, 0.4);
  border-color: rgba(241, 238, 230, 0.32);
}

.hero--ops {
  min-height: 760px;
  background:
    linear-gradient(90deg, rgba(7, 16, 13, 0.96) 0%, rgba(7, 16, 13, 0.78) 40%, rgba(7, 16, 13, 0.18) 100%),
    linear-gradient(0deg, rgba(7, 16, 13, 0.98) 0%, rgba(7, 16, 13, 0) 28%),
    url("assets/images/mock/operations-room.png") center right / cover no-repeat;
}

.hero--ops .hero__inner {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  padding: 110px 0 64px;
}

.hero--ops .hero__copy-block {
  max-width: 700px;
}

.hero--ops h1 {
  max-width: 690px;
  font-size: clamp(43px, 5.6vw, 83px);
  line-height: 0.98;
  font-weight: 950;
  text-transform: uppercase;
}

.hero--ops h1 span {
  display: block;
  color: var(--amber-bright);
}

.hero--ops .hero__lead {
  max-width: 590px;
  color: rgba(241, 238, 230, 0.84);
  font-size: clamp(17px, 1.55vw, 22px);
}

.hero-coordinates {
  position: absolute;
  right: 0;
  bottom: 56px;
  color: rgba(241, 238, 230, 0.7);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.eyebrow,
.section-kicker {
  color: var(--amber-bright);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.build-panel {
  padding: 66px 0 74px;
}

.section-rule {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
}

.section-rule::after {
  content: "";
  height: 1px;
  background: rgba(7, 16, 13, 0.18);
}

.build-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 34px;
  margin-top: 42px;
}

.build-item h3 {
  margin: 18px 0 8px;
  color: #07100d;
  font-size: 15px;
  font-weight: 950;
  text-transform: uppercase;
}

.build-item p {
  margin: 0;
  color: rgba(7, 16, 13, 0.72);
  font-size: 14px;
  line-height: 1.45;
}

.build-icon {
  display: block;
  width: 52px;
  height: 52px;
  color: #121715;
  background: currentColor;
  mask: var(--icon) center / contain no-repeat;
}

.build-item--software .build-icon { --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 14h48v36H8zM8 22h48M20 34l-7 6 7 6M44 34l7 6-7 6M36 31l-8 18' fill='none' stroke='black' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.build-item--media .build-icon { --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='32' cy='32' r='26' fill='none' stroke='black' stroke-width='5'/%3E%3Cpath d='M27 21v22l18-11z' fill='none' stroke='black' stroke-width='5' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.build-item--commerce .build-icon { --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 13h9l7 30h24l7-22H24M28 53a3 3 0 1 1-6 0 3 3 0 0 1 6 0Zm31 0a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z' fill='none' stroke='black' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.build-item--ai .build-icon { --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='20' y='20' width='24' height='24' rx='4' fill='none' stroke='black' stroke-width='5'/%3E%3Cpath d='M32 5v15M32 44v15M5 32h15M44 32h15M13 13l11 11M50 13 39 24M13 50l11-11M50 50 39 39' fill='none' stroke='black' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E"); }
.build-item--webops .build-icon { --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14 12h36v12H14zM14 32h36v12H14zM14 52h36v6H14zM21 18h1M21 38h1M48 24v8M32 44v8' fill='none' stroke='black' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.build-item--worlds .build-icon { --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='32' cy='32' r='25' fill='none' stroke='black' stroke-width='5'/%3E%3Cpath d='M7 32h50M32 7c8 9 8 41 0 50M32 7c-8 9-8 41 0 50M13 20h38M13 44h38' fill='none' stroke='black' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E"); }

.featured-project {
  background:
    linear-gradient(90deg, rgba(7, 16, 13, 0.98), rgba(7, 16, 13, 0.76)),
    url("assets/images/mock/nomenas-devices.png") center right / contain no-repeat,
    #07100d;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.featured-project__grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  min-height: 520px;
  align-items: center;
}

.featured-project__copy h2 {
  margin: 0 0 18px;
  color: var(--paper);
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.95;
  text-transform: uppercase;
}

.featured-project__copy p {
  max-width: 430px;
  color: rgba(241, 238, 230, 0.78);
  font-size: 19px;
}

.featured-project__image {
  min-height: 520px;
}

.band,
.projects-preview {
  background:
    linear-gradient(135deg, rgba(7, 16, 13, 0.98), rgba(10, 18, 15, 0.96)),
    #07100d;
}

.project-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.project-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  padding: 22px;
  border-color: rgba(241, 238, 230, 0.14);
  background: #101813;
  box-shadow: none;
}

.project-card__media {
  position: absolute;
  inset: 0;
  opacity: 0.34;
  background-position: center;
  background-size: cover;
  filter: grayscale(0.25);
  transition: opacity 180ms ease, transform 360ms ease;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 16, 13, 0.92), rgba(7, 16, 13, 0.72) 54%, rgba(7, 16, 13, 0.32));
}

.project-card > *:not(.project-card__media) {
  position: relative;
  z-index: 1;
}

.project-card:hover .project-card__media {
  opacity: 0.48;
  transform: scale(1.04);
}

.project-card h3 {
  margin: 46px 0 10px;
  color: var(--paper);
  font-size: 27px;
  text-transform: uppercase;
}

.project-card p {
  color: rgba(241, 238, 230, 0.76);
  font-size: 14px;
}

.project-card a {
  color: var(--amber-bright);
  font-size: 12px;
  text-transform: uppercase;
}

.project-featured {
  margin-top: 34px;
}

.project-card--featured {
  min-height: 380px;
  padding: 34px;
}

.project-card--featured .project-card__media {
  opacity: 0.42;
}

.project-card--featured h3 {
  max-width: 720px;
  margin-top: 86px;
  font-size: 46px;
}

.project-card--featured p {
  max-width: 780px;
  font-size: 18px;
}

.redneck-work-feature {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 16, 13, 0.98), rgba(7, 16, 13, 0.7)),
    url("assets/images/mock/music-stage.png") center right / cover no-repeat,
    #07100d;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.redneck-work-feature__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.68fr);
  gap: 54px;
  align-items: center;
}

.redneck-work-feature__copy {
  max-width: 760px;
}

.redneck-work-feature .section-title {
  max-width: 720px;
  margin-bottom: 22px;
  text-transform: uppercase;
}

.redneck-work-feature .section-copy {
  max-width: 690px;
  color: rgba(241, 238, 230, 0.8);
}

.redneck-work-feature__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.redneck-work-feature__panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 22px;
  border: 1px solid rgba(241, 238, 230, 0.16);
  background:
    linear-gradient(135deg, rgba(7, 16, 13, 0.8), rgba(7, 16, 13, 0.46)),
    url("assets/images/mock/world-broadcast.png") center / cover no-repeat;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
}

.redneck-work-feature__panel span {
  min-height: 74px;
  display: flex;
  align-items: end;
  padding: 12px;
  border: 1px solid rgba(241, 238, 230, 0.16);
  background: rgba(7, 16, 13, 0.64);
  color: var(--paper);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.section--paper .project-card {
  background: #101813;
}

.section--split {
  background: #e9e4d8;
}

.cta {
  background:
    linear-gradient(90deg, rgba(7, 16, 13, 0.98), rgba(7, 16, 13, 0.56)),
    url("assets/images/mock/contact-desk.png") center right / cover no-repeat;
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(7, 16, 13, 0.98), rgba(7, 16, 13, 0.72)),
    url("assets/images/mock/operations-room.png") center right / cover no-repeat;
}

.page-hero--commerce,
.page-hero--operations,
.page-hero--ai {
  background:
    linear-gradient(90deg, rgba(7, 16, 13, 0.98), rgba(7, 16, 13, 0.68)),
    url("assets/images/mock/operations-room.png") center right / cover no-repeat;
}

.page-hero__title {
  text-transform: uppercase;
  font-weight: 950;
}

.page-hero--legal .page-hero__title {
  max-width: 980px;
  font-size: clamp(38px, 5vw, 68px);
}

.page-hero--legal .page-hero__copy {
  max-width: 820px;
}

.project-hero {
  min-height: 620px;
}

.project-hero__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 50px;
  align-items: center;
}

.project-hero__image {
  min-height: 430px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  filter: drop-shadow(0 28px 55px rgba(0, 0, 0, 0.5));
}

.contact-panel {
  border-radius: 0;
}

.page-hero--about {
  background:
    linear-gradient(90deg, rgba(7, 16, 13, 0.98), rgba(7, 16, 13, 0.54)),
    url("assets/images/about-hero.webp") center right / cover no-repeat;
}

.page-hero--contact {
  background:
    linear-gradient(90deg, rgba(7, 16, 13, 0.98), rgba(7, 16, 13, 0.62)),
    url("assets/images/mock/contact-desk.png") center right / cover no-repeat;
}

.page-hero--contact .page-hero__title {
  font-size: clamp(42px, 7.2vw, 82px);
}

@media (max-width: 900px) {
  .has-open-menu {
    overflow: hidden;
  }

  .site-header {
    position: fixed;
  }

  .site-header__inner {
    min-height: 66px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    align-items: center;
    padding: 10px 0;
  }

  .brand {
    min-width: 0;
  }

  .brand__logo {
    width: min(210px, calc(100vw - 96px));
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .site-header.is-menu-open .nav-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.is-menu-open .nav-toggle__bar:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-menu-open .nav-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .main-navigation {
    grid-column: 1 / -1;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    display: grid;
    gap: 14px;
    opacity: 0;
    visibility: hidden;
    transition: max-height 220ms ease, opacity 180ms ease, visibility 180ms ease, padding 180ms ease;
  }

  .site-header.is-menu-open .main-navigation {
    max-height: 720px;
    overflow-y: auto;
    padding: 12px 0 4px;
    opacity: 1;
    visibility: visible;
  }

  .main-navigation ul {
    display: grid;
    width: 100%;
    gap: 2px;
  }

  .main-navigation li,
  .main-navigation a,
  .nav-cta {
    width: 100%;
  }

  .main-navigation a,
  .nav-cta {
    min-height: 42px;
    justify-content: flex-start;
    padding: 0 12px;
    border-bottom: 1px solid rgba(241, 238, 230, 0.08);
    font-size: 12px;
  }

  .nav-cta {
    justify-content: center;
    border-bottom: 0;
  }
}

.about-studio__grid,
.contact-page__grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 42px;
  align-items: start;
}

.about-studio__image,
.contact-image {
  min-height: 340px;
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(7, 16, 13, 0.16);
}

.about-studio__image {
  background-image: url("assets/images/about-hero.webp");
}

.contact-image {
  background-image: url("assets/images/mock/contact-desk.png");
}

.contact-page__grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.72fr);
  align-items: stretch;
}

.contact-image {
  min-height: 300px;
  max-height: 520px;
  background-position: center;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 54px;
}

.about-values article {
  border-top: 1px solid rgba(7, 16, 13, 0.16);
  padding-top: 22px;
}

.about-values strong {
  display: block;
  color: #07100d;
  font-size: 16px;
  font-weight: 950;
  text-transform: uppercase;
}

.about-values span {
  display: block;
  margin-top: 10px;
  color: rgba(7, 16, 13, 0.72);
  font-size: 14px;
}

.contact-panel {
  max-width: none;
  background: transparent;
  border: 0;
  padding: 0;
}

.contact-list {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 0;
  margin: 32px 0;
  border: 1px solid rgba(7, 16, 13, 0.14);
  color: rgba(7, 16, 13, 0.74);
}

.contact-list dt {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(7, 16, 13, 0.12);
  background: rgba(7, 16, 13, 0.035);
  color: #07100d;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-list dd {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(7, 16, 13, 0.12);
  margin: 0;
}

.contact-list dt:last-of-type,
.contact-list dd:last-of-type {
  border-bottom: 0;
}

.contact-list a {
  color: #07100d;
}

.business-address {
  margin: 0;
  font-style: normal;
  line-height: 1.7;
}

@media (max-width: 1100px) {
  .brand__logo {
    width: 170px;
  }

  .main-navigation {
    gap: 8px;
  }

  .main-navigation a {
    padding: 0 6px;
    font-size: 10px;
  }

  .build-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .site-header {
    position: absolute;
  }

  .site-header__inner {
    gap: 12px;
  }

  .main-navigation ul {
    gap: 0;
  }

  .hero--ops,
  .hero--ops .hero__inner {
    min-height: 780px;
  }

  .hero--ops h1 {
    font-size: 40px;
  }

  .hero-coordinates {
    display: none;
  }

  .featured-project__grid,
  .redneck-work-feature__grid,
  .project-hero__grid,
  .about-studio__grid,
  .contact-page__grid {
    grid-template-columns: 1fr;
  }

  .featured-project {
    background:
      linear-gradient(180deg, rgba(7, 16, 13, 0.98), rgba(7, 16, 13, 0.8)),
      url("assets/images/mock/nomenas-devices.png") center bottom / 92% auto no-repeat,
      #07100d;
  }

  .featured-project__grid {
    min-height: 720px;
    align-items: start;
    padding-top: 24px;
  }

  .project-hero__image {
    min-height: 280px;
  }

  .redneck-work-feature__panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about-values {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .brand__logo {
    width: 150px;
  }

  .brand__text small {
    display: none;
  }

  .main-navigation a {
    min-height: 28px;
    font-size: 9px;
  }

  .nav-cta {
    min-height: 36px;
  }

  .hero--ops {
    background:
      linear-gradient(180deg, rgba(7, 16, 13, 0.96), rgba(7, 16, 13, 0.62)),
      url("assets/images/mock/operations-room.png") center / cover no-repeat;
  }

  .hero--ops .hero__inner {
    align-items: end;
    padding-top: 210px;
  }

  .hero--ops h1 {
    font-size: 34px;
  }

  .hero--ops .hero__lead {
    font-size: 16px;
  }

  .build-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .build-item {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 0 16px;
  }

  .build-item h3 {
    margin-top: 2px;
  }

  .build-item p {
    grid-column: 2;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    min-height: 230px;
  }

  .project-card--featured {
    min-height: 320px;
    padding: 24px;
  }

  .project-card--featured h3 {
    margin-top: 64px;
    font-size: 34px;
  }

  .project-card--featured p {
    font-size: 15px;
  }

  .redneck-work-feature__panel {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .redneck-work-feature__panel span {
    min-height: 54px;
  }

  .about-values,
  .contact-list {
    grid-template-columns: 1fr;
  }

  .contact-list dt {
    padding-bottom: 6px;
    border-bottom: 0;
  }

  .contact-list dd {
    padding-top: 4px;
  }
}

/* Final mobile navigation override */
@media (max-width: 900px), (hover: none), (pointer: coarse) {
  .has-open-menu {
    overflow: hidden;
  }

  .site-header {
    position: fixed;
  }

  .site-header__inner {
    min-height: 66px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    align-items: center;
    padding: 10px 0;
    flex-direction: initial;
  }

  .brand__logo {
    width: min(210px, calc(100vw - 96px));
  }

  .nav-toggle {
    position: fixed;
    top: 13px;
    right: 14px;
    z-index: 1005;
    display: inline-flex !important;
    justify-self: end;
    border-color: rgba(243, 189, 69, 0.95);
    color: #07100d;
    background: var(--amber-bright);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
  }

  .site-header.is-menu-open .nav-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.is-menu-open .nav-toggle__bar:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-menu-open .nav-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .main-navigation {
    grid-column: 1 / -1;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    display: grid;
    gap: 14px;
    opacity: 0;
    visibility: hidden;
    transition: max-height 220ms ease, opacity 180ms ease, visibility 180ms ease, padding 180ms ease;
  }

  .site-header.is-menu-open .main-navigation {
    max-height: 720px;
    overflow-y: auto;
    padding: 12px 0 4px;
    opacity: 1;
    visibility: visible;
  }

  .main-navigation ul {
    display: grid;
    width: 100%;
    gap: 2px;
  }

  .main-navigation li,
  .main-navigation a,
  .nav-cta {
    width: 100%;
  }

  .main-navigation a,
  .nav-cta {
    min-height: 42px;
    justify-content: flex-start;
    padding: 0 12px;
    border-bottom: 1px solid rgba(241, 238, 230, 0.08);
    font-size: 12px;
  }

  .nav-cta {
    min-height: 42px;
    justify-content: center;
    border-bottom: 0;
  }

  .site-header.is-menu-open .main-navigation,
  .main-navigation.is-open {
    max-height: 720px !important;
    overflow-y: auto !important;
    padding: 12px 0 4px !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* Final mobile homepage density override */
@media (max-width: 900px) {
  .section {
    padding: 64px 0;
  }

  .hero--ops,
  .hero--ops .hero__inner {
    min-height: 640px;
  }

  .hero--ops .hero__inner {
    align-items: end;
    padding: 104px 0 46px;
  }

  .featured-project {
    padding: 58px 0 190px;
    background:
      linear-gradient(180deg, rgba(7, 16, 13, 0.98) 0%, rgba(7, 16, 13, 0.92) 56%, rgba(7, 16, 13, 0.54) 100%),
      url("assets/images/mock/nomenas-devices.png") center bottom / min(620px, 108vw) auto no-repeat,
      #07100d;
  }

  .featured-project__grid {
    min-height: 0;
    display: block;
    padding-top: 0;
  }

  .featured-project__image {
    display: none;
  }

  .projects-preview .section-head {
    gap: 18px;
  }
}

@media (max-width: 620px) {
  .section {
    padding: 54px 0;
  }

  .hero--ops {
    min-height: 600px;
    background:
      linear-gradient(180deg, rgba(7, 16, 13, 0.78) 0%, rgba(7, 16, 13, 0.42) 34%, rgba(7, 16, 13, 0.96) 74%),
      url("assets/images/mock/operations-room.png") 63% top / auto 62% no-repeat,
      #07100d;
  }

  .hero--ops .hero__inner {
    min-height: 600px;
    align-items: end;
    padding: 104px 0 38px;
  }

  .hero--ops .hero__copy-block {
    max-width: 100%;
  }

  .hero--ops h1 {
    max-width: 360px;
    font-size: 32px;
    line-height: 1;
  }

  .hero--ops .hero__lead {
    max-width: 340px;
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.42;
  }

  .hero__actions {
    margin-top: 22px;
  }

  .build-panel {
    padding-top: 44px;
  }

  .featured-project {
    padding: 52px 0 155px;
    background:
      linear-gradient(180deg, rgba(7, 16, 13, 0.98) 0%, rgba(7, 16, 13, 0.93) 58%, rgba(7, 16, 13, 0.5) 100%),
      url("assets/images/mock/nomenas-devices.png") center bottom / 112vw auto no-repeat,
      #07100d;
  }

  .featured-project__copy h2 {
    font-size: 36px;
  }

  .featured-project__copy p {
    max-width: 330px;
    font-size: 16px;
    line-height: 1.45;
  }

  .projects-preview {
    padding-top: 58px;
  }
}
