:root {
  --primary: #d11026;
  --primary-dark: #9f0c1c;
  --ink: #181818;
  --ink-soft: #3a3a3a;
  --muted: #6c7075;
  --paper: #f7f5f2;
  --surface: #ffffff;
  --surface-warm: #eee9e2;
  --charcoal: #111111;
  --charcoal-2: #242424;
  --line: rgba(24, 24, 24, 0.12);
  --line-inverse: rgba(255, 255, 255, 0.16);
  --gold: #c5a059;
  --shadow-card: 0 14px 36px rgba(24, 24, 24, 0.08);
  --shadow-hover: 0 18px 42px rgba(24, 24, 24, 0.14);
  --focus-ring: 0 0 0 3px rgba(209, 16, 38, 0.22);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --font-main: "Open Sans", Arial, sans-serif;
  font-family: var(--font-main);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink-soft);
  background: var(--paper);
  font-family: var(--font-main);
  font-size: 15px;
  line-height: 1.6;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

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

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 860px;
  font-size: clamp(34px, 5vw, 58px);
}

h2 {
  font-size: clamp(24px, 2.6vw, 34px);
}

h3 {
  font-size: 22px;
}

p {
  margin-top: 16px;
  margin-bottom: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
  padding: 16px max(24px, calc((100vw - 1180px) / 2 + 24px));
  color: #ffffff;
  background: rgba(17, 17, 17, 0.94);
  border-bottom: 1px solid var(--line-inverse);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  color: #ffffff;
  font-size: 19px;
  font-weight: 800;
  text-decoration: none;
}

.brand img,
.site-footer img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 4px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.site-nav a,
.subnav-trigger {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  color: rgba(255, 255, 255, 0.82);
  background: transparent;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    color 180ms var(--ease-out),
    background-color 180ms var(--ease-out),
    transform 140ms var(--ease-out);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.subnav-trigger:hover,
.subnav-trigger:focus-visible,
.site-nav a[aria-current="page"],
.subnav-trigger[aria-current="page"] {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.site-nav a:active,
.subnav-trigger:active,
.button:active,
.link-grid a:active,
.project-card:active {
  transform: scale(0.98);
}

.nav-item {
  position: relative;
}

.nav-item::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  height: 12px;
}

.subnav-trigger::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.subnav {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 210px;
  padding: 8px;
  background: #ffffff;
  border: 1px solid rgba(24, 24, 24, 0.1);
  border-radius: 8px;
  box-shadow: var(--shadow-hover);
  opacity: 0;
  transform: translateY(6px) scale(0.98);
  transform-origin: top left;
  pointer-events: none;
  transition:
    opacity 160ms var(--ease-out),
    transform 160ms var(--ease-out);
}

.nav-item:hover .subnav,
.nav-item:focus-within .subnav,
.nav-item.is-subnav-open .subnav {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.subnav a {
  width: 100%;
  justify-content: flex-start;
  color: var(--ink-soft);
  text-transform: none;
}

.subnav a:hover,
.subnav a:focus-visible,
.subnav a[aria-current="page"] {
  color: var(--ink);
  background: var(--surface-warm);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-inverse);
  border-radius: 6px;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: #ffffff;
}

.hero {
  position: relative;
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: 64px;
  padding: 96px max(24px, calc((100vw - 1180px) / 2 + 24px)) 72px;
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.92), rgba(17, 17, 17, 0.74)),
    linear-gradient(135deg, #111111 0%, #2b2b2b 54%, #6a101c 100%);
}

.hero-carousel {
  background: var(--charcoal);
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.035);
  transition:
    opacity 420ms var(--ease-out),
    transform 700ms var(--ease-in-out);
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-carousel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(12, 12, 12, 0.88) 0%, rgba(12, 12, 12, 0.7) 48%, rgba(12, 12, 12, 0.28) 100%),
    linear-gradient(0deg, rgba(12, 12, 12, 0.72), rgba(12, 12, 12, 0.08) 54%);
  pointer-events: none;
}

.hero::after,
.page-hero::after,
.contact-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 9px;
  background: linear-gradient(90deg, var(--primary), var(--gold), transparent);
}

.hero-content,
.hero-visual,
.section,
.stats-band,
.site-footer,
.contact-hero,
.page-hero {
  position: relative;
  width: min(100%, 1180px);
  margin: 0 auto;
}

.hero-content {
  z-index: 2;
  width: 100%;
  transition:
    opacity 420ms var(--ease-out),
    transform 420ms var(--ease-out);

  @starting-style {
    opacity: 0;
    transform: translateY(14px);
  }
}

.hero h1,
.page-hero h1,
.contact-hero h1,
.surface h2,
.surface h3,
.cta-band h2 {
  color: #ffffff;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.14;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow,
.contact-hero .eyebrow,
.cta-band .eyebrow {
  color: #ffffff;
}

.hero p:not(.eyebrow),
.page-hero p:not(.eyebrow),
.contact-hero p,
.surface p,
.surface .copy-stack p,
.project-card p,
.service-grid p,
.leader-grid p,
.contact-cards p,
.link-grid p,
.statement-grid p,
.values-grid p,
.timeline p {
  color: rgba(255, 255, 255, 0.72);
}

.hero p:not(.eyebrow),
.page-hero p:not(.eyebrow),
.contact-hero p {
  max-width: 720px;
  font-size: 17px;
}

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

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 28px;
  border: 1px solid transparent;
  border-radius: 6px;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    transform 140ms var(--ease-out),
    background-color 180ms var(--ease-out),
    border-color 180ms var(--ease-out),
    color 180ms var(--ease-out),
    box-shadow 180ms var(--ease-out);
}

.button.primary {
  color: #ffffff;
  background: var(--primary);
  box-shadow: 0 12px 30px rgba(209, 16, 38, 0.26);
}

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

.button.secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.38);
}

.button.secondary:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}

.hero-visual {
  z-index: 2;
  width: 100%;
  transition:
    opacity 420ms var(--ease-out),
    transform 420ms var(--ease-out);
  transition-delay: 80ms;

  @starting-style {
    opacity: 0;
    transform: translateY(14px);
  }
}

.profile-tile {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--line-inverse);
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}

.profile-tile strong {
  display: block;
  color: #ffffff;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1;
}

.profile-tile div {
  padding: 20px 0;
  border-bottom: 1px solid var(--line-inverse);
}

.profile-tile div:first-child {
  padding-top: 0;
}

.profile-tile div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.profile-tile span {
  color: rgba(255, 255, 255, 0.72);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 16px;
}

.carousel-arrow,
.carousel-dots button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--line-inverse);
  cursor: pointer;
  transition:
    transform 140ms var(--ease-out),
    background-color 180ms var(--ease-out),
    border-color 180ms var(--ease-out);
}

.carousel-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-dots button {
  width: 22px;
  height: 8px;
  border-radius: 999px;
  opacity: 0.55;
  transition:
    width 180ms var(--ease-out),
    opacity 180ms var(--ease-out),
    background-color 180ms var(--ease-out),
    border-color 180ms var(--ease-out),
    transform 140ms var(--ease-out);
}

.carousel-dots button.is-active {
  width: 42px;
  opacity: 1;
  background: var(--primary);
  border-color: var(--primary);
}

@media (hover: hover) and (pointer: fine) {
  .carousel-arrow:hover,
  .carousel-dots button:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.42);
  }
}

.carousel-arrow:active,
.carousel-dots button:active {
  transform: scale(0.94);
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  z-index: 3;
  margin-top: -34px;
  background: var(--line);
  border: 1px solid rgba(24, 24, 24, 0.08);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.stats-band div {
  padding: 30px;
  background: #ffffff;
}

.stats-band strong {
  display: block;
  color: var(--ink);
  font-size: 28px;
  font-weight: 900;
  line-height: 1.1;
}

.stats-band span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.reveal-target {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 300ms var(--ease-out),
    transform 300ms var(--ease-out),
    box-shadow 180ms var(--ease-out),
    border-color 180ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-target.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section {
  padding: 92px 24px;
}

.section.compact {
  padding-top: 56px;
}

.surface {
  width: 100%;
  max-width: none;
  padding-left: max(24px, calc((100vw - 1180px) / 2 + 24px));
  padding-right: max(24px, calc((100vw - 1180px) / 2 + 24px));
  color: #ffffff;
  background: var(--charcoal);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: 64px;
}

.copy-stack p,
.section-heading p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.service-grid,
.leader-grid,
.project-grid,
.link-grid,
.statement-grid,
.values-grid,
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-grid {
  grid-template-columns: repeat(4, 1fr);
}

.leader-grid {
  grid-template-columns: repeat(4, 1fr);
}

.info-grid {
  grid-template-columns: repeat(4, 1fr);
}

.corporate-profile .section-heading {
  margin-bottom: 28px;
}

.corporate-profile .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.66);
}

.company-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

.company-facts div {
  min-height: 138px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04)),
    var(--charcoal-2);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 3px solid var(--primary);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
  transition:
    transform 180ms var(--ease-out),
    border-color 180ms var(--ease-out),
    box-shadow 180ms var(--ease-out);
}

.company-facts dt {
  margin: 0;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: uppercase;
}

.company-facts dd {
  margin: 18px 0 0;
  color: #ffffff;
  font-size: clamp(18px, 1.75vw, 24px);
  font-weight: 800;
  line-height: 1.18;
}

.milestone-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-bottom: 30px;
  background: var(--line-inverse);
  border: 1px solid var(--line-inverse);
  border-radius: 8px;
  overflow: hidden;
}

.home-vision {
  width: 100%;
  max-width: none;
  padding-left: max(24px, calc((100vw - 1180px) / 2 + 24px));
  padding-right: max(24px, calc((100vw - 1180px) / 2 + 24px));
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0.18)),
    #eceff1;
  border-top: 1px solid rgba(24, 24, 24, 0.08);
  border-bottom: 1px solid rgba(24, 24, 24, 0.1);
}

.home-vision .statement-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.home-vision .statement-grid article {
  display: grid;
  grid-template-columns: minmax(100px, 0.22fr) minmax(0, 1fr) minmax(260px, 0.72fr);
  align-items: center;
  gap: 28px;
  padding: 26px 30px;
}

.home-vision .statement-grid article span,
.home-vision .statement-grid article p {
  margin: 0;
}

.home-vision .statement-grid article h2 {
  font-size: clamp(21px, 2vw, 28px);
}

.home-vision .button {
  margin-top: 30px;
}

.home-projects .button {
  margin-top: 30px;
}

.milestone-strip article {
  padding: 28px;
  background: var(--charcoal-2);
}

.milestone-strip span {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.milestone-strip h3 {
  color: #ffffff;
}

.milestone-strip p {
  color: rgba(255, 255, 255, 0.72);
}

.service-grid article,
.leader-grid article,
.project-card,
.contact-cards article,
.contact-form,
.link-grid a,
.statement-grid article,
.values-grid article,
.info-grid article,
.timeline div {
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
  transition:
    transform 180ms var(--ease-out),
    box-shadow 180ms var(--ease-out),
    border-color 180ms var(--ease-out);
}

.surface .service-grid article,
.surface .leader-grid article,
.surface .project-card,
.surface .link-grid a,
.surface .statement-grid article,
.surface .values-grid article,
.surface .info-grid article,
.surface .timeline div {
  background: var(--charcoal-2);
  border-color: var(--line-inverse);
}

@media (hover: hover) and (pointer: fine) {
  .service-grid article:hover,
  .leader-grid article:hover,
  .project-card:hover,
  .contact-cards article:hover,
  .link-grid a:hover,
  .statement-grid article:hover,
  .values-grid article:hover,
  .info-grid article:hover,
  .current-list article:hover,
  .company-facts div:hover {
    transform: translateY(-3px);
    border-color: rgba(209, 16, 38, 0.3);
    box-shadow: var(--shadow-hover);
  }

  .company-facts div:hover {
    border-left-color: var(--gold);
  }
}

.project-card h3,
.service-grid article h3,
.leader-grid article h3,
.link-grid a h3,
.statement-grid article h2,
.values-grid article h2,
.info-grid strong,
.contact-cards article h2,
.timeline div h2 {
  color: var(--ink);
}

.surface .project-card h3,
.surface .service-grid article h3,
.surface .leader-grid article h3,
.surface .link-grid a h3,
.surface .statement-grid article h2,
.surface .values-grid article h2,
.surface .info-grid strong {
  color: #ffffff;
}

.surface .project-card strong {
  color: #ffffff;
  border-top-color: rgba(255, 255, 255, 0.14);
}

.info-grid strong {
  display: block;
}

.values-grid article h2 {
  font-size: 24px;
  line-height: 1.18;
}

.project-card p,
.service-grid p,
.leader-grid p,
.link-grid p,
.statement-grid p,
.values-grid p,
.contact-cards p,
.timeline p {
  color: var(--muted);
}

.project-card span,
.leader-grid span,
.current-list span,
.contact-cards span,
.link-grid span,
.statement-grid span,
.values-grid span,
.info-grid span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.project-grid {
  align-items: stretch;
}

.project-card.feature {
  grid-column: span 2;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    var(--charcoal-2);
  border-color: rgba(255, 255, 255, 0.16);
  border-left: 3px solid var(--primary);
}

.project-card.feature h3,
.project-card.feature p,
.project-card.feature strong,
.project-card.feature dt,
.project-card.feature dd {
  color: #ffffff;
}

.project-card strong {
  display: block;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(24, 24, 24, 0.1);
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
}

dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 34px 0 0;
}

dt {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

dd {
  margin: 4px 0 0;
  color: #ffffff;
}

.current-projects {
  padding-top: 0;
}

.current-list {
  display: grid;
  gap: 18px;
}

.current-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 30px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
  transition:
    transform 180ms var(--ease-out),
    box-shadow 180ms var(--ease-out),
    border-color 180ms var(--ease-out);
}

.current-list h3 {
  color: var(--ink);
}

.current-list p {
  color: var(--muted);
}

.current-list strong {
  flex: 0 0 auto;
  color: var(--primary);
  font-size: 30px;
  font-weight: 900;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 36px;
  padding: 44px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(209, 16, 38, 0.92), rgba(17, 17, 17, 0.94)),
    var(--charcoal);
  border-radius: 8px;
}

.cta-band h2 {
  max-width: 780px;
}

.cta-band .button.primary {
  color: var(--ink);
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.cta-band .button.primary:hover {
  background: var(--surface-warm);
}

.cta-band .button.secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.site-footer {
  width: 100%;
  max-width: none;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  background:
    linear-gradient(180deg, #171717 0%, #0d0d0d 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-shell {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 54px 24px 26px;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.4fr);
  gap: 60px;
}

.footer-brand {
  max-width: 380px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
  text-decoration: none;
}

.footer-logo img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
}

.footer-brand p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-brand p:first-of-type {
  color: #ffffff;
  font-weight: 800;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.footer-links h2 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: uppercase;
}

.footer-links a,
.footer-links span {
  display: block;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  line-height: 1.55;
}

.footer-links a {
  width: max-content;
  max-width: 100%;
  margin-top: 10px;
  text-decoration: none;
  transition:
    color 160ms var(--ease-out),
    transform 160ms var(--ease-out);
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: #ffffff;
}

.footer-links a:focus-visible,
.footer-bottom a:focus-visible {
  outline: none;
  box-shadow: 0 2px 0 var(--primary);
}

.footer-links a:active,
.footer-bottom a:active {
  transform: scale(0.98);
}

.footer-links span {
  max-width: 240px;
  margin-top: 10px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.54);
  font-size: 13px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    color 160ms var(--ease-out),
    transform 160ms var(--ease-out);
}

.contact-hero,
.page-hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 94px max(24px, calc((100vw - 1180px) / 2 + 24px)) 70px;
  color: #ffffff;
  background-color: var(--charcoal);
  background-image:
    linear-gradient(90deg, rgba(12, 12, 12, 0.9) 0%, rgba(12, 12, 12, 0.72) 52%, rgba(12, 12, 12, 0.34) 100%),
    linear-gradient(0deg, rgba(12, 12, 12, 0.74), rgba(12, 12, 12, 0.18) 58%),
    var(--page-hero-image, linear-gradient(135deg, rgba(17, 17, 17, 0.96), rgba(36, 36, 36, 0.9)));
  background-position: var(--page-hero-position, center);
  background-size: cover;
}

.page-hero.compact {
  padding-bottom: 64px;
}

.hero-about {
  --page-hero-image: url("https://images.unsplash.com/photo-1541888946425-d81bb19240f5?auto=format&fit=crop&q=80&w=1800");
  --page-hero-position: center;
}

.hero-services {
  --page-hero-image: url("https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&q=80&w=1800");
  --page-hero-position: center;
}

.hero-project {
  --page-hero-image: url("https://images.unsplash.com/photo-1599707233265-10accf051fe0?auto=format&fit=crop&q=80&w=1800");
  --page-hero-position: center;
}

.hero-leadership {
  --page-hero-image: url("https://images.unsplash.com/photo-1713593930871-e21d7f9ef4a1?auto=format&fit=crop&q=80&w=1800");
  --page-hero-position: center;
}

.hero-certifications {
  --page-hero-image: url("https://images.unsplash.com/photo-1531834685032-c34bf0d84c77?auto=format&fit=crop&q=80&w=1800");
  --page-hero-position: center;
}

.certification-documents {
  border-top: 1px solid var(--line);
}

.info-grid .registration-card {
  padding: 0;
  overflow: hidden;
}

.registration-card-document {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  overflow: hidden;
  background: #eeece7;
  border-bottom: 1px solid var(--line);
}

.registration-card-document img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 240ms var(--ease-out);
}

.registration-card-copy {
  padding: 22px;
}

.registration-card-document:focus-visible {
  outline: 3px solid rgba(209, 16, 38, 0.3);
  outline-offset: -3px;
}

.certificate-document-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.certificate-document {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
  transition:
    transform 180ms var(--ease-out),
    border-color 180ms ease,
    box-shadow 180ms var(--ease-out);
}

.certificate-document > a {
  aspect-ratio: 0.7;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  overflow: hidden;
  background: #eeece7;
  border-bottom: 1px solid var(--line);
}

.certificate-document img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 240ms var(--ease-out);
}

.certificate-document > a:focus-visible {
  outline: 3px solid rgba(209, 16, 38, 0.3);
  outline-offset: -3px;
}

@media (hover: hover) and (pointer: fine) {
  .certificate-document:hover {
    transform: translateY(-3px);
    border-color: rgba(209, 16, 38, 0.3);
    box-shadow: var(--shadow-hover);
  }

  .certificate-document:hover img {
    transform: scale(1.02);
  }

  .registration-card:hover .registration-card-document img {
    transform: scale(1.03);
  }
}

@media (max-width: 980px) {
  .certificate-document-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .certificate-document-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.hero-values {
  --page-hero-image: url("https://images.unsplash.com/photo-1626233558206-28a3e90ef311?auto=format&fit=crop&q=80&w=1800");
  --page-hero-position: center;
}

.hero-vision {
  --page-hero-image: url("https://images.unsplash.com/photo-1581094794329-c8112a89af12?auto=format&fit=crop&q=80&w=1800");
  --page-hero-position: center;
}

.hero-milestones {
  --page-hero-image: url("https://images.unsplash.com/photo-1692783333930-ef5effa8c17d?auto=format&fit=crop&q=80&w=1800");
  --page-hero-position: center;
}

.hero-careers {
  --page-hero-image: url("https://images.unsplash.com/photo-1662120399978-738d233edbec?auto=format&fit=crop&q=80&w=1800");
  --page-hero-position: center;
}

.hero-contact {
  --page-hero-image: url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&q=80&w=1800");
  --page-hero-position: center;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.76fr) minmax(0, 1fr);
  gap: 36px;
  padding-top: 64px;
}

.contact-cards {
  display: grid;
  align-self: start;
  gap: 18px;
}

.contact-cards a {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 160ms var(--ease-out);
}

.contact-cards a:hover {
  color: var(--primary);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form .button.primary {
  justify-self: start;
}

.contact-form .button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.contact-form-status:empty {
  margin-top: -16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid rgba(24, 24, 24, 0.22);
  border-radius: 6px;
  font: inherit;
  resize: vertical;
  transition:
    border-color 160ms var(--ease-out),
    box-shadow 160ms var(--ease-out);
}

input:focus,
textarea:focus,
.button:focus-visible,
.site-nav a:focus-visible,
.subnav-trigger:focus-visible,
.nav-toggle:focus-visible {
  outline: none;
  border-color: var(--primary);
  box-shadow: var(--focus-ring);
}

.link-grid a {
  position: relative;
  display: block;
  padding-right: 54px;
  color: inherit;
  text-decoration: none;
}

.link-grid a::after {
  content: "";
  position: absolute;
  right: 26px;
  bottom: 26px;
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  opacity: 0.28;
  transform: translate(-3px, 3px) rotate(45deg);
  transition:
    opacity 160ms var(--ease-out),
    transform 160ms var(--ease-out);
}

.link-grid a:hover::after,
.link-grid a:focus-visible::after {
  opacity: 0.75;
  transform: translate(0, 0) rotate(45deg);
}

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

.timeline {
  max-width: 980px;
}

.timeline article {
  position: relative;
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 34px;
  padding: 0 0 34px;
}

.timeline article::before {
  content: "";
  position: absolute;
  left: 169px;
  top: 8px;
  bottom: 0;
  width: 1px;
  background: var(--line);
}

.timeline article:last-child {
  padding-bottom: 0;
}

.timeline article:last-child::before {
  display: none;
}

.timeline span {
  color: var(--primary);
  font-weight: 900;
}

.timeline div {
  position: relative;
}

.timeline div::before {
  content: "";
  position: absolute;
  left: -44px;
  top: 38px;
  width: 12px;
  height: 12px;
  border: 4px solid var(--paper);
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 1px var(--line);
  transition:
    opacity 300ms var(--ease-out),
    transform 300ms var(--ease-out);
}

.timeline article.reveal-target div::before {
  opacity: 0;
  transform: scale(0.95);
}

.timeline article.reveal-target.is-visible div::before {
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 1080px) {
  .hero,
  .split,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .service-grid,
  .leader-grid,
  .project-grid,
  .link-grid,
  .statement-grid,
  .values-grid,
  .info-grid,
  .company-facts,
  .stats-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-header {
    align-items: flex-start;
  }

  .site-nav {
    flex-wrap: wrap;
  }

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

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

@media (max-width: 767px) {
  .site-header {
    align-items: center;
    min-height: 76px;
    padding: 14px 18px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    right: 18px;
    left: 18px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: var(--charcoal);
    border: 1px solid var(--line-inverse);
    border-radius: 8px;
    box-shadow: var(--shadow-hover);
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 180ms var(--ease-out),
      transform 180ms var(--ease-out),
      visibility 0s linear 180ms;
  }

  .site-nav.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }

  .site-nav a,
  .subnav-trigger {
    width: 100%;
    justify-content: space-between;
  }

  .subnav {
    position: static;
    display: none;
    margin: 2px 0 6px;
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--line-inverse);
    box-shadow: none;
    opacity: 0;
    transform: scale(0.98);
    transform-origin: top;
    pointer-events: none;
  }

  .nav-item.is-subnav-open .subnav {
    display: grid;
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
  }

  .subnav a {
    color: rgba(255, 255, 255, 0.78);
  }

  .subnav a:hover,
  .subnav a:focus-visible,
  .subnav a[aria-current="page"] {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
  }

  .hero,
  .section,
  .contact-hero,
  .page-hero {
    padding: 58px 18px;
  }

  .stats-band {
    margin-top: 0;
    border-radius: 0;
  }

  .hero-actions,
  .cta-band,
  .footer-bottom,
  .current-list article {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .stats-band,
  .service-grid,
  .leader-grid,
  .project-grid,
  .link-grid,
  .statement-grid,
  .values-grid,
  .info-grid,
  .company-facts,
  .milestone-strip,
  dl {
    grid-template-columns: 1fr;
  }

  .home-vision .statement-grid article {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 24px;
  }

  .home-vision .statement-grid article span {
    margin-bottom: 4px;
  }

  .service-grid article,
  .leader-grid article,
  .project-card,
  .contact-cards article,
  .contact-form,
  .link-grid a,
  .statement-grid article,
  .values-grid article,
  .info-grid article,
  .milestone-strip article,
  .timeline div,
  .current-list article,
  .stats-band div,
  .cta-band,
  .profile-tile {
    padding: 24px;
  }

  .project-card.feature {
    grid-column: auto;
  }

  .footer-shell {
    padding: 42px 18px 24px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-links a {
    width: 100%;
    min-height: 36px;
    display: flex;
    align-items: center;
    margin-top: 6px;
  }

  .footer-bottom {
    align-items: flex-start;
    margin-top: 34px;
  }

  .leader-grid.two {
    grid-template-columns: 1fr;
  }

  .timeline article {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .timeline article::before,
  .timeline div::before {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }

  .hero-content,
  .hero-visual,
  .hero-slide,
  .reveal-target,
  .timeline article.reveal-target div::before {
    transform: none !important;
  }
}

/* Projects portfolio */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.portfolio-hero {
  position: relative;
  isolation: isolate;
  min-height: min(780px, calc(100vh - 82px));
  display: flex;
  align-items: flex-end;
  padding: 110px max(24px, calc((100vw - 1180px) / 2 + 24px)) 76px;
  overflow: hidden;
  color: #ffffff;
  background: var(--charcoal);
}

.portfolio-hero-image,
.portfolio-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.portfolio-hero-image {
  z-index: -2;
  object-fit: cover;
  object-position: center 44%;
  filter: saturate(0.82) contrast(1.04);
  transition: transform 900ms var(--ease-in-out);
  transform: scale(1);

  @starting-style {
    transform: scale(1.025);
  }
}

.portfolio-hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.69) 52%, rgba(10, 10, 10, 0.24) 100%),
    linear-gradient(0deg, rgba(10, 10, 10, 0.82) 0%, rgba(10, 10, 10, 0.02) 62%);
}

.portfolio-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary) 0 28%, var(--gold) 28% 42%, transparent 68%);
}

.portfolio-hero-content {
  width: min(720px, 100%);
  transition:
    opacity 420ms var(--ease-out),
    transform 420ms var(--ease-out);

  @starting-style {
    opacity: 0;
    transform: translateY(14px);
  }
}

.portfolio-hero .eyebrow {
  color: #ffffff;
}

.portfolio-hero h1 {
  color: #ffffff;
  font-size: clamp(42px, 6.6vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.portfolio-hero-content > p:not(.eyebrow) {
  max-width: 620px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
}

.project-jump {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, transform 140ms var(--ease-out);
}

.project-jump span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
}

.project-jump:active,
.archive-filter:active {
  transform: scale(0.97);
}

.portfolio-stats {
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2 + 24px));
  bottom: 76px;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 0;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.portfolio-stats div {
  min-width: 118px;
  padding: 17px 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.portfolio-stats div:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.portfolio-stats dt {
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
}

.portfolio-stats dd {
  margin: 2px 0 0;
  color: #ffffff;
  font-size: 22px;
  font-weight: 800;
}

.project-section {
  padding-top: 110px;
  padding-bottom: 110px;
}

.project-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.68fr);
  align-items: end;
  gap: 48px;
  max-width: none;
  margin-bottom: 44px;
}

.project-section-heading > p {
  max-width: 540px;
  justify-self: end;
  color: var(--muted);
}

.project-section-heading-light h2 {
  color: #ffffff;
}

.project-section-heading-light > p {
  color: rgba(255, 255, 255, 0.64);
}

.live-projects {
  display: grid;
  gap: 28px;
}

.live-project {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  min-height: 470px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-card);
}

.live-project-reverse .live-project-media {
  order: 2;
}

.live-project-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #d8d6d1;
}

.live-project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 500ms var(--ease-in-out),
    clip-path 560ms var(--ease-out);
}

.live-project.reveal-target:not(.is-visible) .live-project-media img {
  clip-path: inset(0 0 100% 0);
}

.live-project.reveal-target.is-visible .live-project-media img {
  clip-path: inset(0);
}

.live-project-media figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 8px 12px;
  color: #ffffff;
  background: rgba(17, 17, 17, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.live-project-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 54px;
}

.status-line {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--primary);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.status-line > span:last-child {
  margin-left: auto;
  color: var(--muted);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 5px rgba(209, 16, 38, 0.1);
}

.live-project-copy h3 {
  margin-top: 24px;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -0.025em;
}

.live-project-copy > p {
  color: var(--muted);
}

.project-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 36px 0 0;
}

.project-facts div {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.project-facts dt {
  color: var(--muted);
  font-size: 10px;
}

.project-facts dd {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.progress-track {
  height: 4px;
  margin-top: 32px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(24, 24, 24, 0.08);
}

.progress-track span {
  display: block;
  width: var(--progress);
  height: 100%;
  background: linear-gradient(90deg, var(--primary), #ef5365);
  transform-origin: left;
  transition: transform 700ms var(--ease-out);
}

.live-project.reveal-target:not(.is-visible) .progress-track span {
  transform: scaleX(0);
}

.live-project.reveal-target.is-visible .progress-track span {
  transform: scaleX(1);
}

.project-archive {
  color: #ffffff;
  background: var(--charcoal);
}

.completed-projects {
  position: relative;
  padding: 110px max(24px, calc((100vw - 1180px) / 2 + 24px));
  color: var(--ink-soft);
  background: var(--paper);
}

.completed-projects::before {
  content: "";
  position: absolute;
  top: 0;
  right: max(24px, calc((100vw - 1180px) / 2 + 24px));
  left: max(24px, calc((100vw - 1180px) / 2 + 24px));
  height: 1px;
  background: var(--line);
}

.recent-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
}

.recent-project {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 9px;
  box-shadow: var(--shadow-card);
  transition:
    transform 180ms var(--ease-out),
    border-color 180ms ease,
    box-shadow 180ms var(--ease-out);
}

.recent-project-wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.65fr);
}

.recent-collage {
  min-height: 310px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  overflow: hidden;
  background: var(--surface-warm);
}

.recent-collage img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  transition: transform 450ms var(--ease-in-out);
}

.collage-hostel {
  grid-template-columns: 1.6fr repeat(2, 0.7fr);
  grid-template-rows: repeat(2, 1fr);
}

.collage-hostel img:first-child {
  grid-row: span 2;
}

.collage-bp {
  grid-template-columns: 1.5fr 0.7fr;
  grid-template-rows: repeat(2, 1fr);
}

.collage-bp img:first-child {
  grid-row: span 2;
}

.recent-single {
  display: block;
}

.recent-copy {
  padding: 32px;
}

.recent-project-wide .recent-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 46px;
}

.recent-copy > span,
.visual-story > div:last-child > span {
  color: var(--primary);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.recent-copy h3 {
  margin-top: 12px;
  color: var(--ink);
  font-size: 25px;
}

.recent-copy p {
  color: var(--muted);
}

.recent-copy strong,
.recent-copy small {
  display: block;
}

.recent-copy strong {
  margin-top: 26px;
  color: var(--ink);
  font-size: 20px;
}

.recent-copy small {
  margin-top: 4px;
  color: var(--muted);
}

.recent-project-text {
  position: relative;
  min-height: 310px;
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(135deg, rgba(209, 16, 38, 0.12), transparent 52%),
    var(--surface);
}

.recent-index {
  position: absolute;
  top: -28px;
  right: 20px;
  color: rgba(209, 16, 38, 0.07);
  font-size: 150px;
  font-weight: 900;
  line-height: 1;
}

.visual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px 24px;
}

.completed-projects-subhead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.68fr);
  align-items: end;
  gap: 48px;
  margin: 104px 0 42px;
  padding-top: 64px;
  border-top: 1px solid var(--line);
}

.completed-projects-subhead h3 {
  color: var(--ink);
  font-size: clamp(28px, 3vw, 40px);
}

.completed-projects-subhead > p {
  max-width: 540px;
  justify-self: end;
  color: var(--muted);
}

.visual-story {
  min-width: 0;
}

.visual-story-large {
  grid-column: span 2;
}

.visual-story-images {
  height: 330px;
  display: grid;
  gap: 3px;
  overflow: hidden;
  background: #d9d5ce;
  border-radius: 8px;
}

.visual-story-large .visual-story-images {
  height: 520px;
}

.visual-story-images img {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
  transition: transform 500ms var(--ease-in-out);
}

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

.image-trio {
  grid-template-columns: 1.5fr 0.75fr;
  grid-template-rows: repeat(2, 1fr);
}

.image-trio img:first-child {
  grid-row: span 2;
}

.image-five {
  grid-template-columns: 1.3fr repeat(2, 0.7fr);
  grid-template-rows: repeat(2, 1fr);
}

.image-five img:first-child {
  grid-row: span 2;
}

.visual-story > div:last-child {
  padding: 22px 4px 0;
}

.visual-story h3 {
  margin-top: 8px;
  font-size: clamp(23px, 2.4vw, 32px);
}

.visual-story p {
  margin-top: 8px;
  color: var(--muted);
}

.completed-projects .visual-story h3 {
  color: var(--ink);
}

.completed-projects .visual-story p {
  color: var(--muted);
}

.archive-shell {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 110px 24px;
}

.archive-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-top: 1px solid var(--line-inverse);
  border-bottom: 1px solid var(--line-inverse);
}

.archive-search {
  position: relative;
  width: min(330px, 100%);
}

.archive-search input {
  padding: 12px 42px 12px 0;
  color: #ffffff;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.archive-search input::placeholder {
  color: rgba(255, 255, 255, 0.44);
}

.archive-search input:focus {
  border-color: transparent;
  box-shadow: 0 2px 0 var(--primary);
}

.archive-search > span:last-child {
  position: absolute;
  top: 50%;
  right: 5px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 22px;
  transform: translateY(-50%);
  pointer-events: none;
}

.archive-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.archive-filter {
  min-height: 38px;
  padding: 8px 13px;
  color: rgba(255, 255, 255, 0.62);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 5px;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    color 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    transform 140ms var(--ease-out);
}

.archive-filter.is-active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--line-inverse);
}

.archive-filter:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.archive-count {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.46);
  font-size: 12px;
  text-transform: uppercase;
}

.archive-count strong {
  color: #ffffff;
}

.archive-list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: archive;
}

.archive-list li {
  counter-increment: archive;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) minmax(120px, auto);
  align-items: center;
  gap: 28px;
  padding: 24px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.archive-list li[hidden] {
  display: none;
}

.archive-list li > span {
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
}

.archive-list h3 {
  color: #ffffff;
  font-size: 18px;
}

.archive-list p {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 13px;
}

.archive-list li > strong {
  justify-self: end;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.archive-empty {
  padding: 48px 0;
  color: rgba(255, 255, 255, 0.62);
  text-align: center;
}

.project-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.project-cta p:not(.eyebrow) {
  color: var(--muted);
}

@media (hover: hover) and (pointer: fine) {
  .project-jump:hover {
    color: #f2c267;
  }

  .project-jump:hover span {
    transform: translateY(2px);
  }

  .live-project:hover .live-project-media img,
  .recent-project:hover .recent-collage img,
  .visual-story:hover .visual-story-images img {
    transform: scale(1.025);
  }

  .recent-project:hover {
    transform: translateY(-3px);
    border-color: rgba(209, 16, 38, 0.3);
    box-shadow: var(--shadow-hover);
  }

  .archive-filter:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
  }
}

@media (max-width: 980px) {
  .portfolio-stats {
    position: static;
    margin: 50px 0 0 auto;
  }

  .portfolio-hero {
    min-height: 760px;
    display: block;
  }

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

  .live-project-media {
    min-height: 420px;
  }

  .live-project-reverse .live-project-media {
    order: 0;
  }

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

  .archive-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .archive-filters {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .projects-page {
    overflow-x: hidden;
  }

  .portfolio-hero {
    min-height: calc(100svh - 76px);
    display: flex;
    align-items: flex-end;
    padding: 76px 18px 34px;
  }

  .portfolio-hero-image {
    object-position: 58% center;
  }

  .portfolio-hero-content {
    width: calc(100vw - 36px);
    min-width: 0;
    padding-bottom: 148px;
  }

  .portfolio-hero h1 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .portfolio-hero-content > p:not(.eyebrow) {
    font-size: 16px;
  }

  .portfolio-stats {
    position: absolute;
    right: 18px;
    bottom: 34px;
    left: 18px;
    width: calc(100vw - 36px);
    grid-template-columns: repeat(3, 1fr);
  }

  .portfolio-stats div {
    min-width: 0;
    padding: 12px;
  }

  .portfolio-stats dt {
    min-height: 26px;
    overflow-wrap: normal;
    line-height: 1.3;
  }

  .portfolio-stats dd {
    font-size: 18px;
  }

  .project-section,
  .completed-projects,
  .archive-shell {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .completed-projects,
  .archive-shell {
    padding-right: 18px;
    padding-left: 18px;
  }

  .completed-projects::before {
    right: 18px;
    left: 18px;
  }

  .project-section-heading {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 30px;
  }

  .completed-projects-subhead {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 72px;
    padding-top: 48px;
  }

  .completed-projects-subhead > p {
    justify-self: start;
  }

  .project-section-heading > p {
    justify-self: start;
  }

  .live-project-media {
    min-height: 270px;
  }

  .live-project-copy {
    padding: 28px 24px 32px;
  }

  .project-facts {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .recent-grid,
  .visual-grid {
    grid-template-columns: 1fr;
  }

  .recent-project-wide,
  .visual-story-large {
    grid-column: auto;
  }

  .recent-project-wide .recent-copy,
  .recent-copy {
    padding: 26px 22px;
  }

  .recent-collage {
    min-height: 250px;
  }

  .visual-grid {
    gap: 38px;
  }

  .visual-story-images,
  .visual-story-large .visual-story-images {
    height: 290px;
  }

  .image-five {
    grid-template-columns: 1.25fr 0.75fr;
  }

  .image-five img:nth-child(n + 4) {
    display: none;
  }

  .archive-search {
    width: 100%;
  }

  .archive-filters {
    flex-wrap: nowrap;
    max-width: 100%;
    padding-bottom: 4px;
    overflow-x: auto;
  }

  .archive-filter {
    flex: 0 0 auto;
  }

  .archive-list li {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 10px 14px;
    padding: 21px 0;
  }

  .archive-list li > strong {
    grid-column: 2;
    justify-self: start;
    color: var(--gold);
    font-size: 12px;
  }

  .project-cta {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-hero-image,
  .portfolio-hero-content,
  .live-project-media img,
  .progress-track span,
  .recent-collage img,
  .visual-story-images img {
    transform: none !important;
    clip-path: none !important;
  }
}

/* Careers and job application */
.career-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 56px 72px;
}

.career-intro .copy-stack p:first-child {
  margin-top: 0;
}

.career-principles {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.career-principles div {
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  background: var(--surface);
}

.career-principles dt {
  color: var(--primary);
}

.career-principles dd {
  margin: 18px 0 0;
  color: var(--ink);
  font-size: 19px;
  font-weight: 800;
}

.career-openings {
  width: 100%;
  max-width: none;
  padding-right: max(24px, calc((100vw - 1180px) / 2 + 24px));
  padding-left: max(24px, calc((100vw - 1180px) / 2 + 24px));
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.career-role-list {
  border-top: 1px solid var(--line);
}

.career-role {
  display: grid;
  grid-template-columns: 54px minmax(220px, 0.8fr) minmax(380px, 1fr) auto;
  align-items: center;
  gap: 26px;
  padding: 28px 4px;
  border-bottom: 1px solid var(--line);
  transition:
    background-color 180ms ease,
    border-color 180ms ease;
}

.career-role-featured {
  box-shadow: inset 3px 0 0 var(--primary);
}

.career-role-number {
  color: rgba(24, 24, 24, 0.34);
  font-size: 12px;
  font-weight: 900;
}

.career-role-title > span {
  color: var(--primary);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.career-role-title h3 {
  margin-top: 5px;
  font-size: 24px;
}

.career-role dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0;
}

.career-role dt {
  color: var(--muted);
  font-size: 9px;
}

.career-role dd {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
}

.career-role > a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 116px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    color 160ms ease,
    transform 140ms var(--ease-out);
}

.career-role > a span {
  color: var(--primary);
  transition: transform 160ms var(--ease-out);
}

.career-role > a:focus-visible {
  outline: none;
  box-shadow: 0 2px 0 var(--primary);
}

.career-role > a:active {
  transform: scale(0.97);
}

.career-process {
  padding-top: 84px;
}

.hiring-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.hiring-step {
  min-height: 230px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hiring-step > span {
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
}

.hiring-step h3 {
  margin-top: 46px;
}

.hiring-step p {
  color: var(--muted);
}

.career-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 36px;
  padding: 48px;
  color: #ffffff;
  background:
    linear-gradient(130deg, rgba(209, 16, 38, 0.9), rgba(17, 17, 17, 0.96) 68%),
    var(--charcoal);
  border-radius: 8px;
}

.career-note h2,
.career-note .eyebrow {
  color: #ffffff;
}

.career-note p:not(.eyebrow) {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.7);
}

.career-note .button {
  flex: 0 0 auto;
  color: var(--ink);
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.job-hero {
  width: 100%;
  max-width: none;
  padding: 46px max(24px, calc((100vw - 1180px) / 2 + 24px)) 64px;
  color: #ffffff;
  background:
    radial-gradient(circle at 82% 30%, rgba(209, 16, 38, 0.2), transparent 34%),
    var(--charcoal);
  border-bottom: 5px solid var(--primary);
}

.job-back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    color 160ms ease,
    transform 140ms var(--ease-out);
}

.job-back:active {
  transform: scale(0.97);
}

.job-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 48px;
  margin-top: 66px;
}

.job-hero h1 {
  color: #ffffff;
  font-size: clamp(42px, 6vw, 72px);
  letter-spacing: -0.035em;
}

.job-hero-grid p:not(.eyebrow) {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
}

.job-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 50px 0 0;
  border-top: 1px solid var(--line-inverse);
  border-bottom: 1px solid var(--line-inverse);
}

.job-meta div {
  padding: 18px 20px;
  border-left: 1px solid var(--line-inverse);
}

.job-meta div:last-child {
  border-right: 1px solid var(--line-inverse);
}

.job-meta dt {
  color: rgba(255, 255, 255, 0.48);
  font-size: 9px;
}

.job-meta dd {
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
}

.job-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: start;
  gap: 84px;
}

.job-description {
  max-width: 740px;
}

.job-description > section {
  padding: 0 0 52px;
}

.job-description > section + section {
  padding-top: 52px;
  border-top: 1px solid var(--line);
}

.job-description h2 {
  font-size: clamp(25px, 2.4vw, 34px);
}

.job-description p {
  color: var(--muted);
}

.job-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.job-list li {
  position: relative;
  padding-left: 24px;
  color: var(--ink-soft);
}

.job-list li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 2px;
  width: 7px;
  height: 2px;
  background: var(--primary);
}

.job-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.job-benefits span {
  padding: 9px 12px;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 12px;
  font-weight: 700;
}

.job-side-card {
  position: sticky;
  top: 106px;
  padding: 30px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--primary);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
}

.job-side-card h2 {
  font-size: 25px;
}

.job-side-card > p:not(.eyebrow) {
  color: var(--muted);
}

.job-side-card dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 28px 0;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.job-side-card dt {
  color: var(--muted);
  font-size: 9px;
}

.job-side-card dd {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.job-side-card .button {
  width: 100%;
}

.job-side-card small {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  text-align: center;
}

.application-section {
  width: 100%;
  max-width: none;
  padding: 100px 24px;
  background: var(--surface-warm);
  border-top: 1px solid var(--line);
}

.application-shell {
  width: min(100%, 900px);
  margin: 0 auto;
}

.application-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr);
  align-items: end;
  gap: 48px;
  margin-bottom: 34px;
}

.application-heading > p {
  color: var(--muted);
}

.demo-notice {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding: 14px 18px;
  color: #5d4217;
  background: #fff5df;
  border: 1px solid rgba(197, 160, 89, 0.4);
  border-radius: 6px;
  font-size: 13px;
}

.demo-notice strong {
  flex: 0 0 auto;
  color: #3f2c0f;
  text-transform: uppercase;
}

.application-form {
  display: grid;
  gap: 24px;
  padding: 38px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-label-text {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

.form-label-text i {
  color: var(--primary);
  font-style: normal;
}

.application-form select {
  width: 100%;
  min-height: 49px;
  padding: 12px 40px 12px 14px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid rgba(24, 24, 24, 0.22);
  border-radius: 6px;
  font: inherit;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 21px,
    calc(100% - 13px) 21px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  transition:
    border-color 160ms var(--ease-out),
    box-shadow 160ms var(--ease-out);
}

.application-form select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: var(--focus-ring);
}

.application-form label > small {
  color: var(--muted);
  font-weight: 400;
}

.file-input {
  padding: 10px;
}

.file-input::file-selector-button {
  margin-right: 14px;
  padding: 8px 12px;
  color: var(--ink);
  background: var(--surface-warm);
  border: 1px solid var(--line);
  border-radius: 4px;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.consent-field {
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 11px;
  font-size: 13px;
  font-weight: 500;
}

.consent-field input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--primary);
}

.application-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 8px;
}

.application-actions p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.application-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  color: #24552f;
  background: #edf8ef;
  border: 1px solid rgba(36, 85, 47, 0.22);
  border-radius: 6px;
  font-size: 13px;
  transition: opacity 180ms var(--ease-out);

  @starting-style {
    opacity: 0;
  }
}

.application-status[hidden] {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .career-role:hover {
    background: var(--paper);
    border-color: rgba(209, 16, 38, 0.22);
  }

  .career-role > a:hover,
  .job-back:hover {
    color: var(--primary);
  }

  .career-role > a:hover span {
    transform: translateX(3px);
  }
}

@media (max-width: 980px) {
  .career-role {
    grid-template-columns: 40px minmax(0, 1fr) auto;
  }

  .career-role dl {
    grid-column: 2;
  }

  .career-role > a {
    grid-row: 1 / span 2;
    grid-column: 3;
  }

  .job-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .job-description {
    max-width: none;
  }

  .job-side-card {
    position: static;
    grid-row: 1;
  }
}

@media (max-width: 767px) {
  .career-intro,
  .career-principles,
  .hiring-steps,
  .form-grid,
  .application-heading {
    grid-template-columns: 1fr;
  }

  .career-principles {
    gap: 1px;
  }

  .career-openings {
    padding-right: 18px;
    padding-left: 18px;
  }

  .career-role {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 16px 10px;
    padding: 24px 0;
  }

  .career-role dl {
    grid-column: 2;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .career-role dl div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
  }

  .career-role > a {
    grid-row: auto;
    grid-column: 2;
  }

  .career-note,
  .job-hero-grid,
  .application-actions,
  .demo-notice {
    align-items: stretch;
    flex-direction: column;
  }

  .career-note {
    margin-right: 18px;
    margin-left: 18px;
    padding: 30px 24px;
  }

  .job-hero {
    padding: 34px 18px 48px;
  }

  .job-hero-grid {
    display: flex;
    margin-top: 48px;
  }

  .job-meta {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 36px;
  }

  .job-meta div:nth-child(3) {
    border-top: 1px solid var(--line-inverse);
  }

  .job-meta div:nth-child(4) {
    border-top: 1px solid var(--line-inverse);
    border-right: 1px solid var(--line-inverse);
  }

  .application-section {
    padding: 72px 18px;
  }

  .application-form {
    padding: 26px 20px;
  }

  .application-heading {
    gap: 8px;
  }
}
