:root {
  --navy: #071b2d;
  --deep: #03101c;
  --ink: #162537;
  --muted: #64717d;
  --mist: #edf2f4;
  --paper: #f7f8f6;
  --line: #d8dedf;
  --red: #9b332f;
  --gold: #c39a4a;
  --green: #446b62;
  --white: #ffffff;
  --max: 1180px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 86px;
  padding: 16px clamp(20px, 4vw, 58px);
  background: rgba(247, 248, 246, 0.92);
  border-bottom: 1px solid rgba(7, 27, 45, 0.12);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.58);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  display: block;
  width: clamp(168px, 22vw, 238px);
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.8vw, 34px);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav a {
  position: relative;
  padding: 8px 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms var(--ease);
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.hero {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, rgba(7, 27, 45, 0.96), rgba(3, 16, 28, 0.92)),
    radial-gradient(circle at 78% 18%, rgba(195, 154, 74, 0.24), transparent 34%),
    var(--deep);
  background-size: 80px 80px, auto, auto, auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.48fr);
  align-items: stretch;
  gap: clamp(30px, 5vw, 78px);
  max-width: var(--max);
  min-height: calc(100vh - 86px);
  margin: 0 auto;
  padding: clamp(62px, 8vw, 104px) clamp(20px, 4vw, 28px) clamp(54px, 7vw, 86px);
}

.hero-copy {
  display: grid;
  align-content: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  max-width: 15.6ch;
  margin: 0;
  color: var(--white);
  font-size: clamp(3rem, 6.5vw, 6.25rem);
  font-weight: 760;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-text {
  max-width: 670px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 20px;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease), transform 180ms var(--ease), box-shadow 180ms var(--ease);
}

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

.button.secondary {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.34);
}

.button:hover,
.button:focus-visible {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(3, 16, 28, 0.18);
}

.hero-panel {
  align-self: center;
  min-height: 540px;
  display: grid;
  align-content: space-between;
  gap: 28px;
  padding: clamp(26px, 4vw, 42px);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
  transition: transform 260ms var(--ease), border-color 260ms var(--ease), box-shadow 260ms var(--ease);
}

.hero-panel:hover {
  transform: translateY(-4px);
  border-color: rgba(195, 154, 74, 0.42);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.34);
}

.panel-identity {
  display: flex;
  align-items: center;
  min-height: 116px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px rgba(7, 27, 45, 0.08);
}

.panel-mark {
  display: block;
  width: min(100%, 360px);
  height: auto;
}

.architecture-motif {
  position: relative;
  min-height: 150px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 36px 36px;
  overflow: hidden;
}

.architecture-motif::before,
.architecture-motif::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, rgba(195, 154, 74, 0.1), rgba(195, 154, 74, 0.82), rgba(155, 51, 47, 0.38));
}

.architecture-motif::before {
  top: 43%;
}

.architecture-motif::after {
  top: 66%;
  left: 25%;
  right: 18%;
  background: linear-gradient(90deg, rgba(100, 113, 125, 0.18), rgba(255, 255, 255, 0.42), rgba(155, 51, 47, 0.5));
}

.capability-block,
.node {
  position: absolute;
  display: block;
}

.capability-block {
  width: 74px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: inset 0 0 0 1px rgba(7, 27, 45, 0.22);
  transition: transform 220ms var(--ease), border-color 220ms var(--ease), background 220ms var(--ease);
}

.block-a {
  left: 8%;
  top: 22%;
}

.block-b {
  left: 42%;
  top: 20%;
  border-color: rgba(195, 154, 74, 0.48);
}

.block-c {
  right: 7%;
  top: 46%;
}

.block-d {
  left: 26%;
  bottom: 14%;
  border-color: rgba(155, 51, 47, 0.42);
}

.node {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(195, 154, 74, 0.12);
}

.node-a {
  left: 35%;
  top: 40%;
}

.node-b {
  right: 32%;
  top: 63%;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.09);
}

.node-c {
  right: 11%;
  top: 40%;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(155, 51, 47, 0.12);
}

.architecture-motif:hover .capability-block {
  transform: translateY(-2px);
  border-color: rgba(195, 154, 74, 0.52);
  background: rgba(255, 255, 255, 0.1);
}

.panel-content p {
  max-width: 420px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
}

.panel-stats {
  display: grid;
  gap: 1px;
  margin: 0;
  background: rgba(255, 255, 255, 0.18);
}

.panel-stats div {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  background: #0b2237;
  transition: background 180ms var(--ease);
}

.panel-stats div:hover {
  background: #102a42;
}

.panel-stats dt {
  color: var(--gold);
  font-weight: 900;
}

.panel-stats dd {
  margin: 0;
  color: var(--white);
  font-weight: 800;
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: var(--max);
  margin: -34px auto 0;
  position: relative;
  z-index: 2;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(7, 27, 45, 0.12);
}

.proof-band div {
  min-height: 132px;
  padding: 28px;
  border-right: 1px solid var(--line);
  transition: background 180ms var(--ease);
}

.proof-band div:hover {
  background: #fbfbf9;
}

.proof-band div:last-child {
  border-right: 0;
}

.proof-band span {
  display: block;
  margin-bottom: 14px;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.proof-band strong {
  display: block;
  max-width: 330px;
  color: var(--navy);
  font-size: clamp(1.2rem, 2vw, 1.56rem);
  line-height: 1.15;
}

.section {
  padding: clamp(78px, 10vw, 132px) clamp(20px, 4vw, 56px);
}

.section-heading {
  max-width: var(--max);
  margin: 0 auto 42px;
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(260px, 0.26fr);
  column-gap: clamp(30px, 5vw, 70px);
  row-gap: 18px;
  align-items: end;
}

.section-heading > .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.section-heading > h2 {
  grid-column: 1;
}

.section-heading > p:not(.eyebrow) {
  grid-column: 2;
}

.section-heading.narrow {
  display: block;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.section-heading.narrow h2 {
  max-width: 860px;
}

h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.25rem, 5.2vw, 5.15rem);
  font-weight: 760;
  line-height: 0.98;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.intro {
  background: var(--paper);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: var(--max);
  margin: 0 auto;
  background: var(--line);
  border: 1px solid var(--line);
}

.feature {
  min-height: 330px;
  padding: clamp(26px, 3.8vw, 40px);
  background: var(--white);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), background 220ms var(--ease);
}

.feature:hover {
  position: relative;
  z-index: 1;
  transform: translateY(-5px);
  background: #fbfbf9;
  box-shadow: 0 22px 44px rgba(7, 27, 45, 0.12);
}

.feature-index {
  display: block;
  width: max-content;
  margin-bottom: 76px;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: clamp(1.25rem, 2vw, 1.58rem);
  line-height: 1.08;
}

.feature p,
.service-card p,
.method-list p {
  margin: 0;
  color: #55636e;
}

.services {
  background: var(--white);
  border-top: 1px solid var(--line);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: var(--max);
  margin: 0 auto;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card {
  min-height: 360px;
  padding: clamp(24px, 3vw, 34px);
  background: var(--paper);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), background 220ms var(--ease);
}

.service-card:hover {
  position: relative;
  z-index: 1;
  transform: translateY(-5px);
  background: var(--white);
  box-shadow: 0 22px 44px rgba(7, 27, 45, 0.12);
}

.service-card span {
  display: inline-flex;
  margin-bottom: clamp(52px, 7vw, 92px);
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.experience {
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.experience-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(320px, 0.42fr);
  gap: clamp(36px, 7vw, 90px);
  align-items: stretch;
  max-width: var(--max);
  margin: 0 auto;
}

.experience-copy {
  display: grid;
  align-content: center;
}

.experience-copy p:not(.eyebrow) {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.5vw, 1.22rem);
}

.experience-panel {
  display: grid;
  align-content: space-between;
  gap: 34px;
  min-height: 420px;
  padding: clamp(26px, 3.6vw, 40px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 27, 45, 0.96), rgba(3, 16, 28, 0.94)),
    var(--deep);
  border: 1px solid rgba(7, 27, 45, 0.18);
  box-shadow: 0 24px 64px rgba(7, 27, 45, 0.14);
}

.experience-panel p {
  max-width: 360px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
}

.industry-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.18);
  list-style: none;
}

.industry-list li {
  min-height: 64px;
  display: flex;
  align-items: center;
  padding: 16px 18px;
  color: var(--white);
  background: #0b2237;
  font-weight: 850;
  transition: background 180ms var(--ease), transform 180ms var(--ease);
}

.industry-list li:hover {
  background: #102a42;
  transform: translateY(-2px);
}

.representative-work {
  background: var(--white);
  border-top: 1px solid var(--line);
}

.work-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: var(--max);
  margin: 0 auto;
  background: var(--line);
  border: 1px solid var(--line);
}

.work-card {
  min-height: 370px;
  padding: clamp(24px, 3vw, 34px);
  background: var(--paper);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), background 220ms var(--ease);
}

.work-card:hover {
  position: relative;
  z-index: 1;
  transform: translateY(-5px);
  background: var(--white);
  box-shadow: 0 22px 44px rgba(7, 27, 45, 0.12);
}

.work-card span {
  display: inline-flex;
  margin-bottom: clamp(52px, 7vw, 86px);
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.work-card p {
  margin: 0;
  color: #55636e;
}

.method {
  padding: clamp(78px, 10vw, 132px) clamp(20px, 4vw, 56px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, rgba(3, 16, 28, 0.98), rgba(7, 27, 45, 0.94)),
    var(--deep);
  background-size: 80px 80px, auto, auto;
}

.method-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(300px, 0.45fr);
  gap: clamp(36px, 7vw, 94px);
  max-width: var(--max);
  margin: 0 auto;
}

.method h2 {
  color: var(--white);
}

.method-copy p:not(.eyebrow) {
  max-width: 560px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
}

.method-list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
  background: rgba(255, 255, 255, 0.16);
}

.method-list li {
  counter-increment: steps;
  position: relative;
  padding: 28px 28px 28px 86px;
  background: #0b2237;
  transition: background 180ms var(--ease), transform 180ms var(--ease);
}

.method-list li:hover {
  background: #102a42;
  transform: translateX(4px);
}

.method-list li::before {
  content: counter(steps, decimal-leading-zero);
  position: absolute;
  left: 28px;
  top: 31px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.method-list span {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-size: 1.14rem;
  font-weight: 900;
}

.method-list p {
  color: rgba(255, 255, 255, 0.72);
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(64px, 8vw, 96px) clamp(20px, 4vw, 56px);
  background: var(--gold);
}

.contact h2 {
  max-width: 780px;
  color: var(--deep);
}

.contact .eyebrow {
  color: var(--deep);
}

.contact .button.primary {
  flex: 0 0 auto;
  color: var(--white);
  background: var(--deep);
  border-color: var(--deep);
}

.reveal-section,
.reveal-item,
.reveal-group > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms var(--ease), transform 620ms var(--ease);
  will-change: opacity, transform;
}

.reveal-section.is-visible,
.reveal-item.is-visible,
.reveal-group > *.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-group > *:nth-child(2) {
  transition-delay: 70ms;
}

.reveal-group > *:nth-child(3) {
  transition-delay: 140ms;
}

.reveal-group > *:nth-child(4) {
  transition-delay: 210ms;
}

.reveal-group > *:nth-child(5) {
  transition-delay: 280ms;
}

.reveal-group > *:nth-child(6) {
  transition-delay: 350ms;
}

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

  .reveal-section,
  .reveal-item,
  .reveal-group > * {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 1000px) {
  .hero-grid,
  .method-inner,
  .section-heading,
  .experience-inner {
    grid-template-columns: 1fr;
  }

  .section-heading > .eyebrow,
  .section-heading > h2,
  .section-heading > p:not(.eyebrow) {
    grid-column: 1;
  }

  .hero-grid {
    min-height: 0;
  }

  .hero-panel {
    min-height: 0;
  }

  .experience-panel {
    min-height: 0;
  }

  .proof-band,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .proof-band {
    margin-top: 0;
    border-left: 0;
    border-right: 0;
  }

  .proof-band div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-band div:last-child {
    border-bottom: 0;
  }

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

  h1 {
    max-width: 13.5ch;
  }
}

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

  .nav {
    width: 100%;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 4px;
    font-size: 0.72rem;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  h1 {
    max-width: 12.5ch;
    font-size: clamp(2.55rem, 14vw, 4.2rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3.3rem);
  }

  .hero-grid,
  .section,
  .method {
    padding-left: 18px;
    padding-right: 18px;
  }

  .button,
  .contact .button.primary {
    width: 100%;
  }

  .hero-actions {
    gap: 10px;
  }

  .architecture-motif {
    min-height: 120px;
  }

  .panel-stats div {
    grid-template-columns: 48px 1fr;
  }

  .service-list,
  .work-list {
    grid-template-columns: 1fr;
  }

  .feature,
  .service-card,
  .work-card {
    min-height: 0;
  }

  .feature-index,
  .service-card span,
  .work-card span {
    margin-bottom: 44px;
  }

  .method-list li {
    padding: 26px 24px 26px 72px;
  }

  .method-list li::before {
    left: 24px;
  }

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

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