:root {
  --ink: #0b1320;
  --navy: #102a4c;
  --blue: #1219ca;
  --blue-bright: #3147ff;
  --steel: #607086;
  --mist: #eef2f6;
  --line: #dbe2ea;
  --white: #ffffff;
  --orange: #f2a51a;
  --container: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Manrope", Arial, sans-serif;
  line-height: 1.6;
}

body.menu-open,
body.preloader-active {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 30px;
  height: 2px;
  background: currentColor;
  content: "";
}

.section-title {
  max-width: 780px;
  margin: 0;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: clamp(2.8rem, 5.5vw, 5.2rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 0.98;
  text-transform: uppercase;
}

.section-copy {
  max-width: 630px;
  margin: 26px 0 0;
  color: var(--steel);
  font-size: clamp(1rem, 1.4vw, 1.1rem);
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 24px;
  border: 1px solid transparent;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button svg {
  width: 18px;
  height: 18px;
}

.button-primary {
  background: var(--blue);
  color: var(--white);
}

.button-primary:hover {
  background: var(--blue-bright);
}

.button-outline {
  border-color: rgb(255 255 255 / 50%);
  color: var(--white);
}

.button-outline:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

/* Preloader */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #152440;
  color: var(--white);
  transition: opacity 500ms ease, visibility 500ms ease;
}

.preloader::before,
.preloader::after {
  position: absolute;
  content: "";
}

.preloader::before {
  inset: 0;
  opacity: 1;
  background-image: linear-gradient(rgb(255 255 255 / 6%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 6%) 1px, transparent 1px);
  background-size: 58px 58px;
}

.preloader::after {
  top: 50%;
  left: 50%;
  width: min(88vw, 1180px);
  height: min(88vw, 1180px);
  border: 1px solid rgb(226 163 119 / 18%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.preloader.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.preloader-inner {
  position: relative;
  z-index: 1;
  width: min(92vw, 1420px);
  text-align: center;
}

.preloader-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 48px);
}

.preloader-brand img {
  width: clamp(96px, 10vw, 174px);
  height: clamp(96px, 10vw, 174px);
  object-fit: contain;
}

.preloader-wordmark {
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: clamp(3rem, 10vw, 5.25rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 0.8;
}

.preloader-group {
  display: block;
  margin-top: 10px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.52em;
  text-align: right;
  text-transform: uppercase;
}

.preloader-track {
  width: min(70vw, 740px);
  height: 3px;
  margin: 44px auto 0;
  overflow: hidden;
  background: rgb(255 255 255 / 20%);
}

.preloader-progress {
  width: 45%;
  height: 100%;
  background: #e2a377;
  animation: loading 1.1s ease-in-out infinite;
}

@keyframes loading {
  from { transform: translateX(-110%); }
  to { transform: translateX(245%); }
}

/* Header */
.site-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  border-bottom: 1px solid rgb(255 255 255 / 20%);
  color: var(--white);
  transition: background 220ms ease, box-shadow 220ms ease, color 220ms ease, transform 220ms ease;
}

.site-header.is-scrolled {
  position: fixed;
  background: rgb(255 255 255 / 97%);
  box-shadow: 0 12px 40px rgb(11 19 32 / 9%);
  color: var(--ink);
}

.header-inner {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-symbol {
  position: relative;
  width: 48px;
  height: 48px;
}

.brand-symbol img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 180ms ease;
}

.brand-dark {
  opacity: 0;
}

.site-header.is-scrolled .brand-light {
  opacity: 0;
}

.site-header.is-scrolled .brand-dark {
  opacity: 1;
}

.brand-name {
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  line-height: 0.75;
}

.brand-group {
  display: block;
  margin-top: 8px;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.44em;
  text-align: right;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.desktop-nav > a,
.nav-dropdown > button {
  position: relative;
  padding: 35px 0 33px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.desktop-nav > a::after,
.nav-dropdown > button::after {
  position: absolute;
  right: 0;
  bottom: 27px;
  left: 0;
  height: 2px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.desktop-nav > a:hover::after,
.desktop-nav > a[aria-current="page"]::after,
.nav-dropdown > button:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown button {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-dropdown svg {
  width: 13px;
  height: 13px;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% - 10px);
  left: -26px;
  width: 250px;
  padding: 12px;
  background: var(--white);
  box-shadow: 0 24px 60px rgb(11 19 32 / 18%);
  color: var(--ink);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 11px 13px;
  color: var(--steel);
  font-size: 0.78rem;
  font-weight: 700;
}

.dropdown-menu a:hover {
  background: var(--mist);
  color: var(--blue);
}

.header-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 18px;
  border: 1px solid rgb(255 255 255 / 55%);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-header.is-scrolled .header-cta {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  background: transparent;
  cursor: pointer;
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

.mobile-panel {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  padding: 116px 24px 36px;
  background: var(--navy);
  color: var(--white);
}

.mobile-panel.is-open {
  display: flex;
  flex-direction: column;
}

.mobile-panel a {
  padding: 14px 0;
  border-bottom: 1px solid rgb(255 255 255 / 15%);
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 1.8rem;
  font-weight: 500;
  text-transform: uppercase;
}

.mobile-panel .mobile-contact {
  margin-top: auto;
  border: 0;
  background: var(--white);
  color: var(--blue);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-align: center;
}

/* Hero */
.hero {
  position: relative;
  min-height: 820px;
  height: 100svh;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: heroPan 16s ease-in-out infinite alternate;
  will-change: transform;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(5 17 32 / 94%) 0%, rgb(5 17 32 / 72%) 48%, rgb(5 17 32 / 22%) 100%), linear-gradient(0deg, rgb(5 17 32 / 72%) 0%, transparent 45%);
  content: "";
}

@keyframes heroPan {
  from { transform: scale(1.06) translate3d(0, -3.5%, 0); }
  to { transform: scale(1.06) translate3d(0, 3.5%, 0); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.11;
  background-image: linear-gradient(90deg, transparent calc(100% - 1px), #fff 1px);
  background-size: 25% 100%;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  height: 100%;
  align-items: center;
  padding-top: 94px;
  padding-bottom: 110px;
}

.hero-content {
  width: min(850px, 76%);
}

.hero .eyebrow {
  color: #b9c8ff;
}

.hero h1 {
  margin: 0;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: clamp(4.5rem, 9.4vw, 9rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.82;
  text-transform: uppercase;
}

.hero h1 span {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1px rgb(255 255 255 / 75%);
}

.hero-copy {
  max-width: 660px;
  margin: 32px 0 0;
  color: rgb(255 255 255 / 76%);
  font-size: clamp(1rem, 1.45vw, 1.16rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.hero-meta {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  border-top: 1px solid rgb(255 255 255 / 20%);
  background: rgb(5 17 32 / 44%);
  backdrop-filter: blur(10px);
}

.hero-meta-inner {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, 1fr);
}

.hero-meta-item {
  min-height: 104px;
  padding: 24px 30px;
  border-left: 1px solid rgb(255 255 255 / 18%);
}

.hero-meta-item:first-child {
  border-left: 0;
}

.hero-meta-label {
  display: block;
  color: rgb(255 255 255 / 52%);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-meta-value {
  display: block;
  margin-top: 5px;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1.1;
  text-transform: uppercase;
}

/* Intro */
.intro {
  padding: 130px 0;
  overflow: hidden;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(60px, 9vw, 130px);
}

.intro-visual {
  position: relative;
  min-height: 630px;
}

.intro-visual-main {
  position: absolute;
  top: 0;
  right: 12%;
  bottom: 0;
  left: 0;
  width: 88%;
  height: 100%;
  object-fit: cover;
}

.intro-visual-accent {
  position: absolute;
  right: 0;
  bottom: 48px;
  width: 44%;
  height: 235px;
  border: 10px solid var(--white);
  object-fit: cover;
}

.year-card {
  position: absolute;
  top: 38px;
  left: -20px;
  width: 150px;
  padding: 24px;
  background: var(--blue);
  color: var(--white);
}

.year-card strong {
  display: block;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 3rem;
  line-height: 0.9;
}

.year-card span {
  display: block;
  margin-top: 10px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.intro-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 38px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-list-item {
  padding: 22px 16px 22px 0;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.intro-list-item:nth-child(even) {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

/* Capabilities */
.capabilities {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.capabilities::before {
  position: absolute;
  top: -180px;
  right: -120px;
  width: 560px;
  height: 760px;
  border: 1px solid rgb(255 255 255 / 8%);
  content: "";
  transform: rotate(25deg);
}

.capabilities .eyebrow {
  color: #93a8ff;
}

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

.capabilities-head p {
  max-width: 470px;
  margin: 0;
  color: rgb(255 255 255 / 64%);
}

.capability-grid {
  display: grid;
  margin-top: 72px;
  border-top: 1px solid rgb(255 255 255 / 18%);
  border-left: 1px solid rgb(255 255 255 / 18%);
  grid-template-columns: repeat(4, 1fr);
}

.capability-card {
  position: relative;
  min-height: 400px;
  padding: 36px 28px;
  overflow: hidden;
  border-right: 1px solid rgb(255 255 255 / 18%);
  border-bottom: 1px solid rgb(255 255 255 / 18%);
}

.capability-card::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgb(5 17 32 / 90%) 0%, rgb(5 17 32 / 28%) 100%);
  content: "";
  z-index: 1;
  opacity: 1;
  transition: opacity 280ms ease;
}

.capability-card img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
  transform: scale(1.03);
  transition: opacity 280ms ease, transform 500ms ease;
}

.capability-card:hover img {
  opacity: 0.88;
  transform: scale(1);
}

.capability-card:hover::before {
  z-index: 1;
  opacity: 1;
}

.capability-number,
.capability-content {
  position: relative;
  z-index: 2;
}

.capability-number {
  color: #90a2b8;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 1.1rem;
}

.capability-content {
  position: absolute;
  right: 28px;
  bottom: 34px;
  left: 28px;
}

.capability-content h3 {
  margin: 0;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: clamp(1.7rem, 2.6vw, 2.25rem);
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}

.capability-content p {
  margin: 18px 0 0;
  color: rgb(255 255 255 / 82%);
  font-size: 0.86rem;
}

/* Projects */
.projects-section {
  padding: 130px 0;
}

.projects-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 58px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.text-link svg {
  width: 17px;
  height: 17px;
}

.project-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 24px;
}

.project-card {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.project-stack {
  display: grid;
  gap: 24px;
}

.project-stack .project-card {
  min-height: 313px;
}

.project-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

.project-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgb(5 17 32 / 92%) 0%, transparent 65%);
  content: "";
}

.project-card:hover img {
  transform: scale(1.035);
}

.project-card-content {
  position: absolute;
  right: 32px;
  bottom: 30px;
  left: 32px;
  z-index: 2;
}

.project-location {
  color: #b7c4d4;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.project-card h3 {
  max-width: 560px;
  margin: 10px 0 0;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 3.1rem);
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}

.project-stack h3 {
  font-size: clamp(1.55rem, 2.5vw, 2.1rem);
}

/* Commitments */
.commitments {
  background: var(--mist);
  padding: 110px 0;
}

.commitment-grid {
  display: grid;
  margin-top: 58px;
  border-top: 1px solid #cbd4df;
  border-left: 1px solid #cbd4df;
  grid-template-columns: repeat(3, 1fr);
}

.commitment-card {
  min-height: 270px;
  padding: 36px;
  border-right: 1px solid #cbd4df;
  border-bottom: 1px solid #cbd4df;
  background: var(--white);
}

.commitment-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  background: var(--blue);
  color: var(--white);
}

.commitment-icon svg {
  width: 24px;
  height: 24px;
}

.commitment-card h3 {
  margin: 36px 0 0;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.commitment-card p {
  margin: 12px 0 0;
  color: var(--steel);
  font-size: 0.9rem;
}

.commitments-link {
  margin-top: 34px;
}

/* CTA and footer */
.cta-section {
  position: relative;
  overflow: hidden;
  background: var(--blue);
  color: var(--white);
}

.cta-section::after {
  position: absolute;
  top: -180px;
  right: -80px;
  width: 520px;
  height: 620px;
  border: 1px solid rgb(255 255 255 / 15%);
  content: "";
  transform: rotate(28deg);
}

.cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 370px;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.cta-section h2 {
  max-width: 830px;
  margin: 0;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: clamp(3rem, 6vw, 5.7rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 0.93;
  text-transform: uppercase;
}

.cta-section .button {
  flex-shrink: 0;
  border-color: var(--white);
  background: var(--white);
  color: var(--blue);
}

.site-footer {
  padding: 70px 0 28px;
  background: #081426;
  color: var(--white);
}

.footer-main {
  display: grid;
  padding-bottom: 60px;
  border-bottom: 1px solid rgb(255 255 255 / 14%);
  grid-template-columns: 1.25fr 0.75fr 0.75fr;
  gap: 70px;
}

.footer-brand p {
  max-width: 390px;
  margin: 26px 0 0;
  color: rgb(255 255 255 / 58%);
  font-size: 0.9rem;
}

.footer-brand .brand-symbol {
  width: 54px;
  height: 54px;
}

.footer-brand .logo-copy {
  min-width: 190px;
}

.footer-brand .logo-name {
  font-size: 2.55rem;
}

.footer-brand .logo-group {
  margin-top: 7px;
}

.footer-title {
  margin: 0 0 22px;
  color: rgb(255 255 255 / 42%);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: rgb(255 255 255 / 76%);
  font-size: 0.86rem;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 26px;
  color: rgb(255 255 255 / 42%);
  font-size: 0.7rem;
}

.footer-bottom p {
  margin: 0;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 20%);
}

.social-links svg {
  width: 16px;
  height: 16px;
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  .desktop-nav {
    gap: 18px;
  }

  .desktop-nav > a,
  .nav-dropdown > button {
    font-size: 0.64rem;
  }

  .header-cta {
    display: none;
  }

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

/* Keep the drawer focused on its own column so it never blocks the page beside it. */
@media (max-width: 860px) {
  .site-header.is-menu-open {
    background: transparent;
    pointer-events: none;
  }

  .site-header.is-menu-open .header-inner {
    pointer-events: auto;
  }

  .mobile-about-dropdown > button {
    font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  }
}

@media (max-width: 860px) {
  .container {
    width: min(calc(100% - 36px), var(--container));
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-header.is-menu-open {
    position: fixed;
    color: var(--white);
  }

  .site-header.is-menu-open .brand-light {
    opacity: 1;
  }

  .site-header.is-menu-open .brand-dark {
    opacity: 0;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(4.15rem, 17vw, 7rem);
  }

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

  .hero-meta-item:first-child {
    display: none;
  }

  .intro,
  .projects-section {
    padding: 90px 0;
  }

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

  .intro-visual {
    min-height: 560px;
  }

  .capabilities {
    padding: 90px 0;
  }

  .capabilities-head,
  .projects-head,
  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .project-card,
  .project-stack .project-card {
    min-height: 430px;
  }

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

  .cta-inner {
    justify-content: center;
    padding: 70px 0;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .header-inner {
    min-height: 78px;
  }

  .brand-symbol {
    width: 41px;
    height: 41px;
  }

  .brand-name {
    font-size: 1.72rem;
  }

  .hero {
    min-height: 760px;
  }

  .hero-inner {
    padding-top: 74px;
    padding-bottom: 170px;
  }

  .hero h1 {
    font-size: clamp(3.8rem, 18vw, 5.7rem);
  }

  .hero-copy {
    font-size: 0.95rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-meta-inner {
    grid-template-columns: 1fr 1fr;
  }

  .hero-meta-item {
    min-height: 84px;
    padding: 18px 14px;
  }

  .hero-meta-item:nth-child(4) {
    display: none;
  }

  .hero-meta-value {
    font-size: 1.3rem;
  }

  .intro-visual {
    min-height: 430px;
  }

  .intro-visual-main {
    right: 6%;
    width: 94%;
  }

  .intro-visual-accent {
    height: 160px;
    border-width: 7px;
  }

  .year-card {
    top: 22px;
    left: -8px;
    width: 124px;
    padding: 18px;
  }

  .intro-list {
    grid-template-columns: 1fr;
  }

  .intro-list-item:nth-child(even) {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

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

  .capability-card {
    min-height: 300px;
  }

  .capability-card img {
    opacity: 0.78;
  }

  .capability-card::before {
    opacity: 1;
  }

  .project-card,
  .project-stack .project-card {
    min-height: 380px;
  }

  .commitment-card {
    padding: 28px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Match the shared mobile navigation used across the inner pages. */
@media (max-width: 860px) {
  .site-header.is-menu-open {
    position: fixed;
    z-index: 101;
    top: 5px;
    right: 10px;
    left: 10px;
    border-bottom: 1px solid rgb(255 255 255 / 10%);
    background: #173556;
  }

  .site-header.is-menu-open .header-inner {
    width: 100%;
    min-height: 77px;
    padding: 0 22px;
  }

  .site-header.is-menu-open .menu-toggle {
    width: 44px;
    height: 44px;
    border-color: rgb(255 255 255 / 78%);
  }

  .mobile-panel {
    z-index: 100;
    inset: 5px 10px 0;
    display: none;
    padding: 96px 22px 24px;
    overflow-y: auto;
    background: #173556;
  }

  .mobile-panel.is-open {
    display: flex;
    min-height: calc(100svh - 5px);
  }

  .mobile-panel a {
    padding: 17px 0;
    border-bottom-color: rgb(255 255 255 / 12%);
    font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
    font-size: clamp(1.5rem, 7vw, 1.8rem);
    font-weight: 600;
    letter-spacing: .015em;
    line-height: 1.15;
  }

  .mobile-panel a:nth-last-child(-n + 2) {
    display: none;
  }
}

@media (max-width: 560px) {
  .site-header.is-menu-open .header-inner { padding: 0 16px; }
  .site-header.is-menu-open .brand-symbol { width: 46px; height: 46px; }
  .site-header.is-menu-open .logo-copy { min-width: 150px; }
  .site-header.is-menu-open .logo-name { font-size: 2rem; }
  .mobile-panel { padding: 96px 22px 24px; }
}

/* Shared right-side mobile drawer treatment. */
@media (max-width: 860px) {
  .site-header.is-menu-open {
    position: fixed;
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    height: 84px;
    z-index: 101;
    border: 0;
    background: transparent;
    color: var(--white);
  }

  .site-header.is-menu-open .header-inner {
    width: calc(100% - 32px);
    min-height: 84px;
    padding: 0;
  }

  .site-header.is-menu-open .menu-toggle {
    border-color: rgb(255 255 255 / 80%);
  }

  .mobile-panel {
    inset: 0 0 0 auto;
    z-index: 1000;
    display: block;
    width: 75%;
    min-height: 100svh;
    box-sizing: border-box;
    padding: 60px 20px 20px;
    overflow-y: auto;
    background: #172b49;
    box-shadow: -4px 0 8px rgb(0 0 0 / 30%);
    color: var(--white);
    opacity: 0;
    pointer-events: none;
    transform: translateX(100%);
    transition: transform 260ms ease, opacity 220ms ease;
  }

  .mobile-panel.is-open {
    display: block;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }

  .mobile-panel > * { margin-inline: 8px; }

  .mobile-panel a {
    display: block;
    padding: 20px;
    border-bottom-color: rgb(255 255 255 / 12%);
    font-family: Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.12;
    text-transform: none;
  }

  .mobile-panel a:nth-last-child(-n + 2) { display: block; }

  .mobile-about-dropdown { border-bottom: 1px solid rgb(255 255 255 / 12%); }

  .mobile-about-dropdown > button {
    display: flex;
    width: 100%;
    padding: 20px;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: 500 1.1rem/1.2 Arial, sans-serif;
    text-align: left;
    justify-content: space-between;
    align-items: center;
  }

  .mobile-about-dropdown svg { width: 18px; height: 18px; transition: transform 180ms ease; }
  .mobile-about-dropdown.is-open svg { transform: rotate(180deg); }
  .mobile-about-links { display: none; padding-left: 20px; background: rgb(255 255 255 / 5%); }
  .mobile-about-dropdown.is-open .mobile-about-links { display: block; }
  .mobile-about-links a { display: block !important; min-height: 44px; box-sizing: border-box; padding: 12px 20px; border: 0; color: #fff; font-size: 1rem; font-weight: 500; text-transform: none; visibility: visible !important; }

  @media (max-width: 560px) {
    .mobile-panel { padding: 24px 12px 16px; }
    .mobile-panel > * { margin-inline: 0; }
    .mobile-panel a,
    .mobile-about-dropdown > button { padding: 13px 16px; font-size: .98rem; }
    .mobile-about-links { padding-left: 12px; }
    .mobile-about-links a { min-height: 36px; padding: 9px 16px; font-size: .88rem; }
  }
}

/* Modern transparent header with the original Haskoch logo pattern */
.site-header {
  border-bottom-color: rgb(255 255 255 / 20%);
  background: transparent;
  color: var(--white);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgb(255 255 255 / 97%);
  color: var(--ink);
}

.site-header .header-inner {
  width: 100%;
  max-width: none;
  min-height: 108px;
  margin-inline: 0;
  padding-inline: 32px;
}

.site-header .logo-pattern {
  color: var(--white);
}

.site-header.is-scrolled .logo-pattern {
  color: var(--blue);
}

.site-header .brand-symbol {
  width: 64px;
  height: 64px;
}

.site-header .logo-copy {
  min-width: 222px;
}

.site-header .logo-name {
  font-size: 3rem;
}

.site-header .logo-group {
  margin-top: 7px;
}

.site-header .brand-light {
  opacity: 1;
}

.site-header .brand-dark {
  opacity: 0;
}

.site-header.is-scrolled .brand-light {
  opacity: 0;
}

.site-header.is-scrolled .brand-dark {
  opacity: 1;
}

.desktop-nav {
  gap: 24px;
}

.desktop-nav > a,
.nav-dropdown > button {
  font-size: 0.72rem;
}

.desktop-nav > a,
.nav-dropdown > button {
  padding-block: 42px 39px;
}

.desktop-nav > a::after,
.nav-dropdown > button::after {
  bottom: 33px;
}

.hero-inner {
  padding-top: 126px;
}

@media (max-width: 860px) {
  .site-header.is-menu-open {
    background: var(--navy);
    color: var(--white);
  }

  .site-header.is-menu-open .logo-pattern {
    color: var(--white);
  }

  .site-header.is-menu-open .brand-light {
    opacity: 1;
  }

  .site-header.is-menu-open .brand-dark {
    opacity: 0;
  }
}

@media (max-width: 560px) {
  .site-header .header-inner {
    min-height: 86px;
    padding-inline: 14px;
  }

  .site-header .brand-symbol {
    width: 46px;
    height: 46px;
  }

  .site-header .logo-copy {
    min-width: 154px;
  }

  .site-header .logo-name {
    font-size: 2.05rem;
  }

  .site-header .logo-group {
    margin-top: 5px;
  }

  .hero-inner {
    padding-top: 104px;
  }
}

/* Reference hero composition retained from the original homepage. */
.site-header {
  background: rgb(5 17 32 / 18%);
}

.site-header .logo-copy {
  min-width: 320px;
}

.site-header .logo-name {
  font-size: 4.35rem;
}

.hero-media::after {
  background: rgb(5 17 32 / 34%);
}

.hero-grid {
  display: none;
}

.hero-inner {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding: 145px 46px 110px;
}

.hero-content {
  width: min(1040px, 72%);
}

.hero h1 {
  font-family: "Manrope", Arial, sans-serif;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  text-transform: none;
}

.hero h1 span {
  display: inline;
  color: inherit;
  -webkit-text-stroke: 0;
}

.hero-tagline {
  margin: -2px 0 0 110px;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.mobile-tagline-break { display: none; }

.hero-copy {
  max-width: 1030px;
  margin-top: 28px;
  color: var(--white);
  font-size: 1.08rem;
  line-height: 1.65;
}

.hero-actions {
  gap: 16px;
  margin-top: 30px;
}

.hero-actions .button {
  min-height: 52px;
  padding-inline: 24px;
  border-color: rgb(255 255 255 / 82%);
  font-size: 0.86rem;
  letter-spacing: 0;
  text-transform: none;
}

@media (max-width: 1100px) {
  .hero-content {
    width: min(920px, 88%);
  }

  .hero h1 {
    font-size: 2.65rem;
  }

  .hero-tagline {
    margin-left: 70px;
    font-size: 1.25rem;
  }
}

@media (max-width: 860px) {
  .site-header .logo-copy {
    min-width: 205px;
  }

  .site-header .logo-name {
    font-size: 2.7rem;
  }

  .hero-inner {
    padding: 110px 24px 70px;
  }

  .hero-content {
    width: 100%;
  }

  .hero-tagline {
    margin: 8px 0 0;
  }
}

@media (max-width: 560px) {
  .mobile-tagline-break { display: block; }
  .site-header .logo-copy {
    min-width: 150px;
  }

  .site-header .logo-name {
    font-size: 2rem;
  }

  .hero {
    min-height: 720px;
  }

  .hero-inner {
    padding: 104px 34px 54px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 11vw, 3rem);
  }

  .hero-tagline {
    margin-left: 0;
    font-size: 1.05rem;
  }

  .hero-copy {
    margin-top: 22px;
    font-size: 0.94rem;
    line-height: 1.6;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 24px;
  }

  .hero-actions .button {
    min-height: 48px;
    padding-inline: 16px;
    font-size: 0.78rem;
  }
}

/* Final mobile drawer state: only the drawer receives pointer input. */
@media (max-width: 860px) {
  .site-header.is-menu-open {
    background: transparent;
    pointer-events: none;
  }

  .site-header.is-menu-open .header-inner {
    pointer-events: auto;
  }

  .mobile-about-dropdown > button {
    font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  }
}

/* Values mapped directly from the supplied original homepage. */
.site-header .logo-copy {
  min-width: 290px;
}

.site-header .logo-name {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 3.75rem;
  font-weight: 700;
  letter-spacing: 0;
}

.site-header .logo-group {
  width: 100%;
  margin-top: 0;
}

.desktop-nav {
  gap: 0;
}

.desktop-nav > a,
.nav-dropdown {
  margin-inline: 18px;
}

.desktop-nav > a,
.nav-dropdown > button {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.hero-media {
  background: var(--navy);
  animation: none;
}

.hero-media::before {
  position: absolute;
  inset: -14% 0;
  background-image: url("../images/slides/slide2.jpeg");
  background-position: center;
  background-size: cover;
  content: "";
  animation: heroBackgroundPan 12s ease-in-out infinite alternate;
  will-change: transform;
}

.hero-media img {
  opacity: 0;
  animation: none;
}

.hero-media::after {
  background: rgb(26 54 93 / 10%);
}

@keyframes heroBackgroundPan {
  from { transform: translate3d(0, -8%, 0) scale(1.02); }
  to { transform: translate3d(0, 8%, 0) scale(1.02); }
}

.hero h1,
.hero-tagline,
.hero-copy,
.hero-actions .button {
  font-family: Arial, Helvetica, sans-serif;
}

.hero h1 {
  font-weight: 700;
}

.hero-tagline {
  font-weight: 700;
}

@media (hover: hover) and (min-width: 1025px) {
  .site-header:not(.is-scrolled):hover {
    border-bottom-color: var(--line);
    background: var(--white);
    color: var(--ink);
  }

  .site-header:not(.is-scrolled):hover .logo-pattern {
    color: var(--blue);
  }

  .site-header:not(.is-scrolled):hover .brand-light {
    opacity: 0;
  }

  .site-header:not(.is-scrolled):hover .brand-dark {
    opacity: 1;
  }
}

@media (max-width: 860px) {
  .site-header .logo-copy {
    min-width: 205px;
  }

  .site-header .logo-name {
    font-size: 2.7rem;
  }

  .desktop-nav > a,
  .nav-dropdown {
    margin-inline: 0;
  }
}

@media (max-width: 560px) {
  .site-header .logo-copy {
    min-width: 150px;
  }

  .site-header .logo-name {
    font-size: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media::before {
    transform: none;
    animation: none;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Homepage brand pattern retained from the original header */
.logo-pattern {
  color: var(--blue);
}

.logo-copy {
  display: flex;
  min-width: 250px;
  flex-direction: column;
}

.logo-name {
  font-family: "Manrope", Arial, sans-serif;
  font-size: 3.35rem;
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.82;
}

.logo-group {
  display: grid;
  align-items: center;
  gap: 5px;
  margin-top: 9px;
  grid-template-columns: 1fr auto 1fr;
}

.logo-group i {
  display: block;
  height: 2px;
  background: currentColor;
}

.logo-group b {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.logo-pattern-light {
  color: var(--white);
}

.preloader-brand.logo-pattern {
  gap: clamp(18px, 3vw, 48px);
}

.preloader-brand .logo-copy {
  min-width: 0;
  text-align: left;
}

.preloader-brand .logo-name {
  font-size: clamp(4rem, 13.5vw, 12rem);
  letter-spacing: -.055em;
  line-height: .75;
}

.preloader-brand .logo-group {
  margin-top: clamp(10px, 1.3vw, 18px);
  font-size: clamp(.7rem, 1.2vw, 1rem);
  letter-spacing: .38em;
}

.preloader-brand .logo-group b {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.8rem);
  letter-spacing: .18em;
}

/* Align the icon with the HASKOCH wordmark, not the full two-line lockup. */
.preloader-brand.logo-pattern > img {
  transform: translateY(-28px);
}

@media (min-width: 641px) {
  .preloader-track {
    width: min(80vw, 1080px);
    margin: 44px auto 0;
  }
}

@media (max-width: 640px) {
  .preloader-brand { gap: 14px; }
  .preloader-brand img { width: 74px; height: 74px; }
  .preloader-brand .logo-name { font-size: clamp(3rem, 14vw, 5rem); }
  .preloader-brand.logo-pattern > img { transform: translateY(-16px); }
  .preloader-track { width: min(78vw, 420px); margin-top: 32px; }
  .hero-media::before { background-image: url("../images/slides/slide2-mobile.webp"); }
}

.site-header {
  border-bottom-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

.header-inner {
  min-height: 116px;
}

.brand-symbol {
  width: 74px;
  height: 74px;
}

.site-header .brand-light {
  opacity: 0;
}

.site-header .brand-dark {
  opacity: 1;
}

.desktop-nav {
  gap: 16px;
}

.desktop-nav > a,
.nav-dropdown > button {
  padding-block: 48px 45px;
  font-size: 0.64rem;
}

.desktop-nav > a::after,
.nav-dropdown > button::after {
  bottom: 37px;
}

.hero-inner {
  padding-top: 190px;
}

.hero-content {
  width: min(920px, 82%);
}

.hero h1 {
  font-size: clamp(4.1rem, 8vw, 7.7rem);
}

.hero-tagline {
  margin: 26px 0 0;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.story-link {
  margin-top: 32px;
}

.intro-visual-simple {
  min-height: 560px;
}

.intro-visual-simple .intro-visual-main {
  right: 0;
  width: 100%;
}

.services-heading {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.services-heading p,
.projects-intro {
  margin: 20px 0 0;
  color: rgb(255 255 255 / 64%);
}

.capability-card {
  min-height: 520px;
}

.capability-content p {
  color: rgb(255 255 255 / 70%);
}

.section-action {
  margin-top: 42px;
  text-align: center;
}

.text-link-light {
  border-bottom-color: var(--white);
  color: var(--white);
}

.projects-intro {
  max-width: 620px;
  color: var(--steel);
}

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

.project-grid-three .project-card {
  min-height: 530px;
}

.project-grid-three .project-card h3 {
  font-size: clamp(1.7rem, 2.3vw, 2.35rem);
}

.project-date {
  margin: 10px 0 16px;
  color: rgb(255 255 255 / 66%);
  font-size: 0.78rem;
}

.project-link {
  display: inline-block;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-footer {
  padding: 42px 0;
}

.home-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.home-footer .logo-name {
  font-size: 2rem;
}

.home-footer .logo-copy {
  min-width: 152px;
}

.home-footer .brand-symbol {
  width: 46px;
  height: 46px;
}

.home-footer p {
  margin: 0;
  color: rgb(255 255 255 / 48%);
  font-size: 0.7rem;
}

@media (max-width: 1180px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 860px) {
  .site-header.is-menu-open {
    background: var(--navy);
    color: var(--white);
  }

  .site-header.is-menu-open .brand-light {
    opacity: 1;
  }

  .site-header.is-menu-open .brand-dark {
    opacity: 0;
  }

  .logo-name {
    font-size: 2.7rem;
  }

  .logo-copy {
    min-width: 205px;
  }

  .brand-symbol {
    width: 62px;
    height: 62px;
  }

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

  .project-grid-three .project-card {
    min-height: 460px;
  }
}

@media (max-width: 560px) {
  .header-inner {
    min-height: 92px;
  }

  .brand-symbol {
    width: 49px;
    height: 49px;
  }

  .logo-name {
    font-size: 2rem;
  }

  .logo-copy {
    min-width: 155px;
  }

  .logo-group {
    margin-top: 6px;
  }

  .logo-group b {
    font-size: 0.54rem;
  }

  .hero-inner {
    padding-top: 145px;
    padding-bottom: 64px;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 17vw, 5rem);
  }

  .hero-tagline {
    font-size: 1.3rem;
  }

  .intro-visual-simple {
    min-height: 420px;
  }

  .capability-card {
    min-height: 470px;
  }

  .home-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Final header state: modern transparent treatment, original logo pattern. */
.site-header {
  min-height: 0;
  border-bottom-color: rgb(255 255 255 / 20%);
  background: transparent;
  color: var(--white);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgb(255 255 255 / 97%);
  color: var(--ink);
}

.site-header .header-inner {
  width: min(calc(100% - 80px), 1770px);
  max-width: 1770px;
  min-height: 128px;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header .logo-pattern {
  color: var(--white);
}

.site-header.is-scrolled .logo-pattern {
  color: var(--blue);
}

.site-header .brand-symbol {
  width: 84px;
  height: 84px;
}

.site-header .logo-copy {
  min-width: 300px;
}

.site-header .logo-name {
  font-size: 4rem;
}

.site-header .logo-group {
  margin-top: 9px;
}

.site-header .brand-light {
  opacity: 1;
}

.site-header .brand-dark {
  opacity: 0;
}

.site-header.is-scrolled .brand-light {
  opacity: 0;
}

.site-header.is-scrolled .brand-dark {
  opacity: 1;
}

.desktop-nav {
  gap: 34px;
}

.desktop-nav > a,
.nav-dropdown > button {
  padding-block: 52px 48px;
  font-size: 0.9rem;
}

.desktop-nav > a::after,
.nav-dropdown > button::after {
  bottom: 41px;
}

.hero-inner {
  padding-top: 145px;
}

@media (max-width: 860px) {
  .site-header .header-inner {
    width: calc(100% - 32px);
    min-height: 71px;
  }

  .site-header.is-menu-open {
    background: transparent;
    color: var(--white);
    pointer-events: none;
  }

  .site-header.is-menu-open .header-inner {
    pointer-events: auto;
  }

  .site-header.is-menu-open .logo-pattern {
    color: var(--white);
  }

  .site-header.is-menu-open .brand-light {
    opacity: 1;
  }

  .site-header.is-menu-open .brand-dark {
    opacity: 0;
  }
}

@media (max-width: 560px) {
  .site-header .header-inner {
    width: calc(100% - 28px);
    min-height: 84px;
  }

  .site-header .brand-symbol {
    width: 44px;
    height: 44px;
  }

  .site-header .logo-copy {
    min-width: 150px;
  }

  .site-header .logo-name {
    font-size: 2rem;
  }

  .site-header .logo-group {
    margin-top: 5px;
  }

  .hero-inner {
    padding-top: 104px;
  }
}

/* Definitive original-style header and hero. Keep this block last. */
.site-header {
  background: rgb(5 17 32 / 18%);
}

.site-header .header-inner {
  width: min(calc(100% - 80px), 1770px);
  max-width: 1770px;
  min-height: 120px;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header .brand-symbol {
  width: 80px;
  height: 80px;
}

.site-header .brand-link {
  gap: 8px;
}

.site-header .logo-copy {
  width: auto;
  min-width: 0;
}

.site-header .logo-name {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 3.75rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.site-header .logo-group {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0;
  margin-top: 0;
}

.site-header .logo-group i {
  width: auto;
  height: 1px;
  flex: 1 1 0;
  transform: none;
}

.site-header .logo-group b {
  position: static;
  padding-inline: 4px;
  font-size: 0.875rem;
  line-height: 1;
}

.desktop-nav {
  gap: 0;
}

.desktop-nav > a,
.nav-dropdown {
  margin-inline: 20px;
}

.desktop-nav > a,
.nav-dropdown > button {
  padding-block: 48px 44px;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.desktop-nav > a::after,
.nav-dropdown > button::after {
  bottom: 37px;
}

.hero-media::after {
  background: rgb(26 54 93 / 10%);
}

.hero-grid {
  display: none;
}

.hero-inner {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding: 107px 46px 110px;
}

.hero-content {
  width: min(1040px, 72%);
}

.hero h1 {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 0.011em;
  line-height: 1.15;
  text-transform: none;
}

.hero h1 span {
  display: inline;
  color: inherit;
  -webkit-text-stroke: 0;
}

.hero-tagline {
  margin: -2px 0 0 110px;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.007em;
  line-height: 1.35;
}

.hero-copy {
  max-width: 1024px;
  margin: 22px 0 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--white);
  font-size: 1.125rem;
  line-height: 1.65;
}

.hero-actions {
  gap: 16px;
  margin-top: 30px;
}

.hero-actions .button {
  min-height: 50px;
  padding-inline: 24px;
  border-color: rgb(255 255 255 / 82%);
  border-radius: 4px;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

@media (max-width: 1100px) {
  .hero-content {
    width: min(920px, 88%);
  }

  .hero h1 {
    font-size: 2.65rem;
  }

  .hero-tagline {
    margin-left: 70px;
    font-size: 1.25rem;
  }
}

@media (max-width: 860px) {
  .site-header .header-inner {
    width: calc(100% - 32px);
    min-height: 88px;
  }

  .site-header .brand-symbol {
    width: 55px;
    height: 55px;
  }

  .site-header .logo-copy {
    min-width: 0;
  }

  .site-header .logo-name {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 2.2rem;
    letter-spacing: -0.055em;
  }

  .site-header .logo-group b { font-size: 0.75rem; }

  .site-header .logo-group {
    width: 100%;
  }

  .desktop-nav > a,
  .nav-dropdown {
    margin-inline: 0;
  }

  .hero-inner {
    padding: 110px 24px 70px;
  }

  .hero-content {
    width: 100%;
  }

  .hero-tagline {
    margin: 8px 0 0;
  }
}

@media (max-width: 375px) {
  .site-header .header-inner {
    width: calc(100% - 28px);
    min-height: 57px;
  }

  .site-header .brand-symbol {
    width: 45px;
    height: 45px;
  }

  .site-header .logo-copy {
    min-width: 0;
  }

  .site-header .logo-name {
    font-size: 1.75rem;
  }

  .site-header .logo-group b { font-size: 0.7rem; }

  .hero {
    min-height: 720px;
  }

  .hero-inner {
    padding: 104px 34px 54px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 11vw, 3rem);
  }

  .hero-tagline {
    width: 100%;
    max-width: 310px;
    margin: 10px 0 0;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.35;
    text-align: left;
  }

  .hero-copy {
    margin-top: 22px;
    font-size: 0.94rem;
    line-height: 1.6;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 24px;
  }

  .hero-actions .button {
    min-height: 48px;
    padding-inline: 16px;
    font-size: 0.78rem;
  }
}
