:root {
  --sarica-red: #e30613;
  --deep-graphite: #202327;
  --steel-gray: #6f7782;
  --soft-concrete: #eef0f2;
  --warm-white: #fafaf8;
  --border-gray: #d8dde3;
  --white: #ffffff;
  --header-height: 82px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--warm-white);
  color: var(--deep-graphite);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--warm-white);
}

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

button {
  font: inherit;
}

[hidden] {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  min-height: var(--header-height);
  background: rgba(250, 250, 248, 0.98);
  border-bottom: 1px solid rgba(216, 221, 227, 0.82);
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-menu-open {
  background: var(--white);
  box-shadow: 0 12px 32px rgba(32, 35, 39, 0.08);
}

.header-main {
  min-height: var(--header-height);
}

.header-inner {
  width: min(calc(100% - 44px), 1240px);
  min-height: var(--header-height);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 34px;
}

.brand {
  display: inline-grid;
  grid-template-columns: 56px auto;
  align-items: center;
  gap: 15px;
  min-width: 0;
}

.brand-mark {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.brand-wordmark {
  color: var(--deep-graphite);
  font-size: 21px;
  font-weight: 780;
  line-height: 1;
  white-space: nowrap;
}

.brand-subline {
  color: var(--steel-gray);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.primary-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 2px;
  transform: translateY(2px);
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  color: var(--steel-gray);
  font-size: 13px;
  font-weight: 690;
  line-height: 1;
  transition: color 160ms ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 3px;
  background: var(--sarica-red);
  opacity: 0;
  transform: scaleX(0.36);
  transform-origin: left;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active {
  color: var(--deep-graphite);
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-gray);
  border-radius: 6px;
  background: var(--white);
  color: var(--deep-graphite);
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.menu-toggle span:nth-child(1) {
  transform: translateY(-6px);
}

.menu-toggle span:nth-child(3) {
  transform: translateY(6px);
}

.site-header.is-menu-open .menu-toggle span:nth-child(1) {
  transform: rotate(45deg);
}

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

.site-header.is-menu-open .menu-toggle span:nth-child(3) {
  transform: rotate(-45deg);
}

.mobile-panel {
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  border-top: 1px solid var(--border-gray);
  background: var(--white);
  box-shadow: 0 18px 34px rgba(32, 35, 39, 0.12);
}

.mobile-nav {
  width: min(calc(100% - 32px), 620px);
  margin: 0 auto;
}

.mobile-nav {
  display: grid;
  padding: 8px 0;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  min-height: 42px;
  border-bottom: 1px solid rgba(216, 221, 227, 0.72);
  color: var(--deep-graphite);
  font-size: 14px;
  font-weight: 680;
}

.mobile-nav-link.is-active {
  color: var(--sarica-red);
}

.page-stage {
  min-height: calc(100vh - var(--header-height));
  background: var(--warm-white);
}

.home-hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - var(--header-height));
  overflow: hidden;
  display: grid;
  align-items: center;
  background: var(--deep-graphite);
}

.home-hero-slides,
.home-hero-slide,
.home-hero-slide img,
.home-hero-overlay {
  position: absolute;
  inset: 0;
}

.home-hero-slides {
  z-index: -2;
}

.home-hero-slide {
  display: block;
  opacity: 0;
  transform: translateX(1.2%) scale(1.025);
  transition:
    opacity 320ms ease,
    transform 680ms ease;
  will-change: opacity, transform;
}

.home-hero-slide.is-active {
  z-index: 1;
  opacity: 1;
  transform: translateX(0) scale(1);
}

.home-hero-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.home-hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(20, 22, 25, 0.82) 0%, rgba(20, 22, 25, 0.58) 32%, rgba(20, 22, 25, 0.1) 72%),
    linear-gradient(0deg, rgba(20, 22, 25, 0.46) 0%, rgba(20, 22, 25, 0.05) 46%);
}

.home-hero-content {
  width: min(calc(100% - 56px), 1240px);
  margin: 0 auto;
  padding: 72px 0 148px;
  color: var(--white);
}

.home-hero-kicker {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.home-hero h1 {
  width: min(760px, 100%);
  margin: 0;
  font-size: 58px;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0;
}

.home-hero-copy {
  width: min(610px, 100%);
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
  font-weight: 480;
  line-height: 1.55;
}

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

.hero-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 760;
  line-height: 1;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.hero-action-primary {
  background: var(--sarica-red);
  color: var(--white);
}

.hero-action-secondary {
  border-color: rgba(255, 255, 255, 0.62);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.hero-action:hover,
.hero-action:focus-visible {
  background: var(--white);
  border-color: var(--white);
  color: var(--deep-graphite);
}

.home-hero-summary {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  min-height: 84px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 13px max(28px, calc((100vw - 1240px) / 2));
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(18, 20, 23, 0.52);
  backdrop-filter: blur(10px);
}

.hero-summary-contact {
  grid-column: 1;
  justify-self: start;
  display: flex;
  align-items: center;
  min-width: 0;
}

.hero-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 4px 22px 4px 0;
  color: var(--white);
}

.hero-contact-item + .hero-contact-item {
  padding-left: 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.hero-contact-icon,
.hero-form-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.hero-contact-icon {
  width: 30px;
  height: 30px;
  color: var(--sarica-red);
}

.hero-contact-icon svg,
.hero-form-icon svg,
.hero-scroll-cue svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-contact-label,
.hero-contact-value {
  display: block;
  white-space: nowrap;
}

.hero-contact-label {
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  font-weight: 720;
  line-height: 1.15;
}

.hero-contact-value {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 13px;
  font-weight: 780;
  line-height: 1.2;
}

.hero-summary-center {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  grid-template-columns: auto auto auto;
  justify-items: center;
  align-items: center;
  column-gap: 7px;
  row-gap: 6px;
  transform: translate(-50%, -50%);
}

.home-hero-progress {
  grid-column: 2;
  display: flex;
  gap: 6px;
}

.home-hero-progress span {
  width: 18px;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
}

.home-hero-progress span::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
}

.home-hero-progress span.is-active::before {
  animation: hero-progress 5000ms linear forwards;
}

.hero-scroll-cue {
  grid-column: 1 / -1;
  width: 20px;
  height: 20px;
  color: rgba(255, 255, 255, 0.88);
  animation: hero-scroll-cue 1450ms ease-in-out infinite;
}

.hero-slide-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.hero-slide-control:hover,
.hero-slide-control:focus-visible {
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.92);
  color: var(--deep-graphite);
}

.hero-slide-control svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-form-button {
  grid-column: 3;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 142px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: rgba(226, 196, 132, 0.94);
  color: var(--deep-graphite);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.hero-form-button:hover,
.hero-form-button:focus-visible {
  border-color: rgba(255, 255, 255, 0.5);
  background: #eed79f;
  transform: translateY(-1px);
}

.hero-form-icon {
  width: 17px;
  height: 17px;
}

.project-showcase {
  min-height: calc(100svh - var(--header-height));
  display: grid;
  align-items: center;
  background: var(--warm-white);
  padding: 36px 0 42px;
}

.project-showcase-inner {
  width: min(calc(100% - 56px), 1240px);
  margin: 0 auto;
}

.project-showcase-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  margin-bottom: 30px;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--sarica-red);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.project-showcase-header .section-kicker {
  margin-bottom: 0;
}

.project-tabs {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: min(100%, 430px);
  overflow: hidden;
  border: 1px solid var(--border-gray);
  border-radius: 8px;
  background: var(--white);
}

.project-tab {
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-right: 1px solid var(--border-gray);
  background: transparent;
  color: var(--deep-graphite);
  font-size: 14px;
  font-weight: 780;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    color 160ms ease;
}

.project-tab:last-child {
  border-right: 0;
}

.project-tab:hover,
.project-tab:focus-visible,
.project-tab.is-active {
  background: var(--deep-graphite);
  color: var(--white);
}

.project-panel[hidden] {
  display: none;
}

.project-panel {
  position: relative;
}

.project-carousel-controls {
  display: none;
}

.project-carousel-button {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(32, 35, 39, 0.18);
  border-radius: 999px;
  background: var(--white);
  color: var(--deep-graphite);
  cursor: pointer;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.project-carousel-button:hover,
.project-carousel-button:focus-visible {
  border-color: var(--deep-graphite);
  background: var(--deep-graphite);
  color: var(--white);
}

.project-carousel-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.project-card {
  position: relative;
  display: block;
  min-width: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(32, 35, 39, 0.14);
  border-radius: 8px;
  background: var(--deep-graphite);
  color: var(--white);
  box-shadow: 0 14px 34px rgba(32, 35, 39, 0.08);
}

.project-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1);
  transition: transform 520ms ease;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 58%;
  background: linear-gradient(180deg, rgba(18, 20, 23, 0) 0%, rgba(18, 20, 23, 0.88) 78%);
  pointer-events: none;
}

.project-card:hover img,
.project-card:focus-visible img {
  transform: scale(1.045);
}

.project-card-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: grid;
  gap: 5px;
  padding: 18px;
}

.project-card-status,
.project-card-location {
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 760;
  line-height: 1.15;
}

.project-card-status {
  text-transform: uppercase;
}

.project-card-title {
  color: var(--white);
  font-size: 19px;
  font-weight: 820;
  line-height: 1.12;
}

.project-card-more {
  display: grid;
  place-items: center;
  padding: 22px;
  border-color: rgba(32, 35, 39, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(250, 250, 248, 0.98)),
    var(--white);
  color: var(--deep-graphite);
  box-shadow: none;
}

.project-card-more::after {
  content: none;
}

.project-card-more > span {
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
}

.project-card-more-title {
  max-width: 170px;
  color: var(--deep-graphite);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.28;
}

.project-card-more-icon {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(32, 35, 39, 0.18);
  border-radius: 999px;
  color: var(--deep-graphite);
}

.project-card-more-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-final-screen {
  min-height: calc(100svh - var(--header-height));
  display: flex;
  flex-direction: column;
  background: var(--warm-white);
}

.company-proof {
  flex: 1 1 auto;
  display: grid;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(238, 240, 242, 0.58) 0%, rgba(250, 250, 248, 0) 34%),
    var(--warm-white);
  border-top: 1px solid rgba(216, 221, 227, 0.74);
}

.company-proof-inner {
  width: min(calc(100% - 56px), 1240px);
  margin: 0 auto;
  padding: 74px 0 76px;
}

.company-proof-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.company-proof-copy {
  min-width: 0;
}

.company-proof-copy h2 {
  max-width: 560px;
  margin: 0;
  color: var(--deep-graphite);
  font-size: 46px;
  font-weight: 800;
  line-height: 1.03;
}

.company-proof-copy p:not(.section-kicker) {
  max-width: 540px;
  margin: 22px 0 0;
  color: var(--steel-gray);
  font-size: 17px;
  font-weight: 480;
  line-height: 1.72;
}

.company-proof-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-top: 32px;
  padding: 0 18px;
  border: 1px solid var(--deep-graphite);
  border-radius: 6px;
  background: var(--deep-graphite);
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.company-proof-link:hover,
.company-proof-link:focus-visible {
  border-color: var(--sarica-red);
  background: var(--sarica-red);
}

.company-proof-link svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.company-proof-mosaic {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.82fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-height: 520px;
}

.proof-tile {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--soft-concrete);
}

.proof-tile-large {
  grid-row: 1 / -1;
}

.proof-tile picture {
  display: block;
  width: 100%;
  height: 100%;
}

.proof-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.proof-tile-large img {
  object-position: center 42%;
}

.company-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 44px;
  border-top: 1px solid var(--border-gray);
  border-bottom: 1px solid var(--border-gray);
}

.company-metric {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  padding: 26px 28px 28px;
  border-right: 1px solid var(--border-gray);
}

.company-metric:last-child {
  border-right: 0;
}

.company-metric-value {
  color: var(--sarica-red);
  font-size: 30px;
  font-weight: 820;
  line-height: 1;
}

.company-metric-label {
  color: var(--deep-graphite);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.48;
}

.site-footer {
  flex: 0 0 auto;
  background: #171a1e;
  color: var(--white);
}

.footer-inner {
  width: min(calc(100% - 56px), 1240px);
  margin: 0 auto;
  padding: 44px 0 28px;
}

.footer-main {
  padding-bottom: 34px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  align-items: start;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 11px;
  min-width: 0;
}

.footer-column:nth-child(1) {
  justify-self: start;
}

.footer-column:nth-child(2) {
  justify-self: center;
}

.footer-column:nth-child(3) {
  justify-self: end;
}

.footer-column h2 {
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.footer-column a,
.footer-column span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 620;
  line-height: 1.28;
}

.footer-column a {
  transition: color 160ms ease;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: var(--white);
}

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

.footer-contact-item {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  max-width: 310px;
}

.footer-contact-item > span:last-child {
  color: inherit;
}

.footer-contact-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.62);
}

.footer-contact-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
  font-weight: 620;
  line-height: 1.4;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.72);
  transition: color 160ms ease;
}

.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: var(--white);
}

@keyframes hero-progress {
  0% {
    transform: scaleX(0);
  }

  100% {
    transform: scaleX(1);
  }
}

@keyframes hero-scroll-cue {
  0%,
  100% {
    transform: translateY(-2px);
    opacity: 0.72;
  }

  50% {
    transform: translateY(3px);
    opacity: 1;
  }
}

@media (max-width: 1080px) {
  .header-inner {
    gap: 20px;
  }

  .primary-nav {
    gap: 0;
  }

  .nav-link {
    padding: 0 10px;
    font-size: 12px;
  }

  .home-hero h1 {
    width: min(680px, 100%);
    font-size: 48px;
  }

  .home-hero-copy {
    width: min(560px, 100%);
    font-size: 18px;
  }

  .home-hero-summary {
    gap: 18px;
  }

  .hero-contact-item {
    gap: 9px;
    padding-right: 16px;
  }

  .hero-contact-item + .hero-contact-item {
    padding-left: 16px;
  }

  .hero-contact-icon {
    width: 28px;
    height: 28px;
  }

  .hero-contact-value {
    font-size: 12px;
  }

  .hero-form-button {
    min-width: 126px;
    padding: 0 16px;
    font-size: 12px;
  }

  .project-showcase {
    padding: 30px 0 34px;
  }

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

  .project-card-title {
    font-size: 17px;
  }

  .company-proof-inner {
    padding: 64px 0 66px;
  }

  .company-proof-layout {
    gap: 42px;
  }

  .company-proof-mosaic {
    min-height: 470px;
  }

  .company-proof-copy h2 {
    font-size: 38px;
  }

  .company-metric-value {
    font-size: 28px;
  }

  .company-metric-label {
    font-size: 13px;
  }

  .footer-nav {
    gap: 24px;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 68px;
  }

  .header-inner {
    width: min(calc(100% - 24px), 620px);
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .brand {
    grid-template-columns: 48px auto;
    gap: 12px;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .brand-wordmark {
    font-size: 18px;
  }

  .brand-subline {
    font-size: 10px;
  }

  .primary-nav {
    display: none;
  }

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

  .home-hero {
    min-height: calc(100svh - var(--header-height));
    align-items: end;
  }

  .home-hero-overlay {
    background:
      linear-gradient(180deg, rgba(20, 22, 25, 0.08) 0%, rgba(20, 22, 25, 0.26) 38%, rgba(20, 22, 25, 0.86) 100%),
      linear-gradient(90deg, rgba(20, 22, 25, 0.28) 0%, rgba(20, 22, 25, 0.04) 100%);
  }

  .home-hero-content {
    width: min(calc(100% - 28px), 620px);
    padding: 180px 0 138px;
  }

  .home-hero-kicker {
    margin-bottom: 13px;
    font-size: 12px;
  }

  .home-hero h1 {
    font-size: 38px;
    line-height: 1.05;
  }

  .home-hero-copy {
    margin-top: 17px;
    font-size: 16px;
    line-height: 1.48;
  }

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

  .home-hero-summary {
    min-height: 102px;
    grid-template-columns: 1fr auto;
    gap: 16px;
    padding: 14px;
    padding-top: 44px;
  }

  .hero-summary-contact {
    display: grid;
    gap: 8px;
  }

  .hero-contact-item {
    gap: 8px;
    padding: 0;
  }

  .hero-contact-item + .hero-contact-item {
    padding-left: 0;
    border-left: 0;
  }

  .hero-contact-icon {
    width: 22px;
    height: 22px;
  }

  .hero-contact-label {
    display: none;
  }

  .hero-contact-value {
    margin-top: 0;
    font-size: 11px;
  }

  .hero-summary-center {
    top: 16px;
    gap: 6px;
    transform: translateX(-50%);
  }

  .home-hero-progress span {
    width: 18px;
  }

  .hero-scroll-cue {
    width: 18px;
    height: 18px;
  }

  .hero-slide-control {
    width: 24px;
    height: 24px;
  }

  .hero-slide-control svg {
    width: 15px;
    height: 15px;
  }

  .hero-form-button {
    grid-column: 2;
    align-self: center;
    min-width: 104px;
    min-height: 38px;
    padding: 0 11px;
    font-size: 12px;
  }

  .project-showcase {
    min-height: 0;
    display: block;
    padding: 24px 0 28px;
  }

  .home-final-screen {
    min-height: 0;
    display: block;
  }

  .home-final-screen .company-proof {
    display: block;
  }

  .project-showcase-inner {
    width: min(calc(100% - 28px), 620px);
  }

  .project-showcase-header {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 24px;
  }

  .project-tabs {
    width: 100%;
    min-width: 0;
  }

  .project-tab {
    min-height: 44px;
    padding: 0 12px;
    font-size: 13px;
  }

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

  .project-card {
    aspect-ratio: 5 / 6;
  }

  .project-card-content {
    padding: 15px;
  }

  .company-proof-inner {
    width: min(calc(100% - 28px), 620px);
    padding: 46px 0 52px;
  }

  .company-proof-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .company-proof-copy h2 {
    font-size: 32px;
  }

  .company-proof-copy p:not(.section-kicker) {
    font-size: 16px;
  }

  .company-proof-mosaic {
    min-height: 430px;
  }

  .company-metrics {
    margin-top: 34px;
  }

  .company-metric {
    padding: 24px 14px 22px;
  }

  .footer-inner {
    width: min(calc(100% - 28px), 620px);
    padding-top: 46px;
  }

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

  .footer-column,
  .footer-column:nth-child(1),
  .footer-column:nth-child(2),
  .footer-column:nth-child(3) {
    justify-self: start;
  }

}

@media (max-width: 640px) {
  .project-carousel-controls {
    position: absolute;
    top: 50%;
    left: 8px;
    right: 8px;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin: 0;
    pointer-events: none;
    transform: translateY(-50%);
  }

  .project-carousel-button {
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 24px rgba(32, 35, 39, 0.16);
    pointer-events: auto;
  }

  .project-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 2px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .project-grid::-webkit-scrollbar {
    display: none;
  }

  .project-card {
    flex: 0 0 min(82vw, 310px);
    scroll-snap-align: start;
  }

  .project-card-more {
    min-height: 0;
  }
}

@media (max-width: 420px) {
  .brand-copy {
    gap: 3px;
  }

  .brand-wordmark {
    font-size: 14px;
  }

  .brand-subline {
    display: none;
  }

  .home-hero-content {
    width: min(calc(100% - 24px), 380px);
    padding-bottom: 132px;
  }

  .home-hero h1 {
    font-size: 32px;
  }

  .home-hero-copy {
    font-size: 15px;
  }

  .home-hero-actions {
    gap: 10px;
  }

  .hero-action {
    min-height: 44px;
    flex: 1 1 142px;
    padding: 0 14px;
    font-size: 13px;
  }

  .home-hero-summary {
    min-height: 110px;
  }

  .hero-contact-value {
    font-size: 10px;
  }

  .hero-form-button {
    min-width: 96px;
    padding: 0 9px;
  }

  .project-showcase-inner {
    width: min(calc(100% - 24px), 380px);
  }

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

  .project-tab {
    border-right: 0;
    border-bottom: 1px solid var(--border-gray);
  }

  .project-tab:last-child {
    border-bottom: 0;
  }

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

  .project-card {
    aspect-ratio: 4 / 5;
  }

  .project-card-more {
    min-height: 0;
  }

  .company-proof-inner {
    width: min(calc(100% - 24px), 380px);
  }

  .company-proof-copy h2 {
    font-size: 29px;
  }

  .company-proof-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    min-height: 0;
  }

  .proof-tile {
    aspect-ratio: 4 / 3;
  }

  .proof-tile-large {
    grid-row: auto;
    aspect-ratio: 4 / 5;
  }

  .company-metrics {
    grid-template-columns: 1fr;
  }

  .company-metric {
    border-right: 0;
    border-bottom: 1px solid var(--border-gray);
  }

  .company-metric:last-child {
    border-bottom: 0;
  }

  .company-metric-value {
    font-size: 31px;
  }

  .footer-inner {
    width: min(calc(100% - 24px), 380px);
  }

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

  .footer-bottom {
    display: grid;
    justify-items: start;
  }
}

@media (min-width: 861px) {
  html {
    scroll-padding-top: var(--header-height);
    scroll-snap-type: y proximity;
  }

  .home-hero,
  .project-showcase,
  .home-final-screen {
    scroll-snap-align: start;
    scroll-snap-stop: normal;
  }

  .company-proof-inner {
    padding: clamp(34px, 4svh, 52px) 0;
  }

  .company-proof-mosaic {
    height: clamp(300px, 38svh, 430px);
    min-height: 0;
  }

  .company-metrics {
    margin-top: clamp(22px, 2.5svh, 34px);
  }

  .company-metric {
    gap: 9px;
    padding: 18px 24px 20px;
  }

  .footer-inner {
    padding: 28px 0 20px;
  }

  .footer-main {
    padding-bottom: 22px;
  }

  .footer-bottom {
    padding-top: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-snap-type: none;
  }

  .home-hero-slide,
  .project-card img,
  .home-hero-progress span::before,
  .hero-scroll-cue {
    animation: none;
    transition: none;
  }

  .home-hero-slide.is-active {
    transform: none;
  }

  .project-card:hover img,
  .project-card:focus-visible img {
    transform: none;
  }

  .home-hero-progress span.is-active::before {
    transform: scaleX(1);
  }
}

/* Corporate page */

.corporate-page {
  overflow: hidden;
}

.corporate-shell {
  width: min(calc(100% - 56px), 1240px);
  margin: 0 auto;
}

.corporate-hero {
  border-bottom: 1px solid rgba(216, 221, 227, 0.8);
  background:
    linear-gradient(135deg, rgba(238, 240, 242, 0.66) 0%, rgba(250, 250, 248, 0) 46%),
    var(--warm-white);
}

.corporate-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  gap: clamp(46px, 6vw, 84px);
  align-items: center;
  min-height: min(730px, calc(100svh - var(--header-height)));
  padding: clamp(56px, 7vw, 92px) 0;
}

.corporate-hero-copy {
  min-width: 0;
}

.corporate-hero-copy h1 {
  max-width: 640px;
  margin: 0;
  color: var(--deep-graphite);
  font-size: clamp(44px, 4.5vw, 64px);
  font-weight: 820;
  line-height: 1.02;
}

.corporate-hero-lead {
  max-width: 590px;
  margin: 25px 0 0;
  color: var(--steel-gray);
  font-size: 18px;
  font-weight: 480;
  line-height: 1.68;
}

.corporate-text-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-top: 32px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--sarica-red);
  color: var(--deep-graphite);
  font-size: 14px;
  font-weight: 800;
}

.corporate-text-link svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 160ms ease;
}

.corporate-text-link:hover svg,
.corporate-text-link:focus-visible svg {
  transform: translateY(3px);
}

.corporate-hero-visual {
  position: relative;
  min-width: 0;
  height: min(620px, 68svh);
  min-height: 500px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--soft-concrete);
}

.corporate-hero-visual::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 84px;
  height: 5px;
  background: var(--sarica-red);
}

.corporate-hero-visual picture,
.corporate-hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
}

.corporate-hero-visual img {
  object-fit: cover;
  object-position: center 42%;
}

.corporate-hero-visual figcaption {
  position: absolute;
  left: 20px;
  bottom: 18px;
  padding: 8px 11px;
  border-radius: 4px;
  background: rgba(23, 26, 30, 0.78);
  color: var(--white);
  font-size: 11px;
  font-weight: 760;
  line-height: 1;
}

.corporate-metrics-section {
  background: var(--white);
}

.corporate-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-right: 1px solid var(--border-gray);
  border-left: 1px solid var(--border-gray);
}

.corporate-metric {
  display: grid;
  align-content: center;
  gap: 12px;
  min-height: 164px;
  padding: 30px 34px;
  border-right: 1px solid var(--border-gray);
}

.corporate-metric:last-child {
  border-right: 0;
}

.corporate-metric strong {
  color: var(--sarica-red);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 830;
  line-height: 1;
}

.corporate-metric span {
  max-width: 310px;
  color: var(--deep-graphite);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.48;
}

.corporate-story {
  scroll-margin-top: var(--header-height);
  padding: clamp(78px, 9vw, 118px) 0;
  background: var(--warm-white);
}

.corporate-story-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.64fr) minmax(0, 1.36fr);
  gap: clamp(56px, 8vw, 112px);
  align-items: start;
}

.corporate-story-year {
  display: grid;
  gap: 12px;
  padding-top: 7px;
}

.corporate-story-year span {
  color: var(--deep-graphite);
  font-size: clamp(80px, 10vw, 142px);
  font-weight: 840;
  line-height: 0.82;
}

.corporate-story-year small {
  padding-top: 14px;
  border-top: 3px solid var(--sarica-red);
  color: var(--steel-gray);
  font-size: 13px;
  font-weight: 730;
  line-height: 1.4;
}

.corporate-story-copy {
  max-width: 730px;
}

.corporate-story-copy h2,
.corporate-section-intro h2,
.corporate-cta h2 {
  margin: 0;
  color: var(--deep-graphite);
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 810;
  line-height: 1.08;
}

.corporate-story-copy > p:not(.section-kicker) {
  margin: 22px 0 0;
  color: var(--steel-gray);
  font-size: 17px;
  font-weight: 480;
  line-height: 1.76;
}

.corporate-legal-name {
  display: grid;
  gap: 7px;
  margin-top: 32px;
  padding: 18px 20px;
  border-left: 3px solid var(--sarica-red);
  background: rgba(238, 240, 242, 0.74);
}

.corporate-legal-name span {
  color: var(--steel-gray);
  font-size: 11px;
  font-weight: 790;
  line-height: 1;
  text-transform: uppercase;
}

.corporate-legal-name strong {
  color: var(--deep-graphite);
  font-size: 15px;
  font-weight: 730;
  line-height: 1.45;
}

.corporate-today {
  padding: clamp(76px, 8vw, 104px) 0;
  border-top: 1px solid var(--border-gray);
  border-bottom: 1px solid var(--border-gray);
  background: var(--soft-concrete);
}

.corporate-section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  gap: clamp(48px, 8vw, 108px);
  align-items: end;
}

.corporate-section-intro > p {
  margin: 0;
  color: var(--steel-gray);
  font-size: 16px;
  font-weight: 480;
  line-height: 1.72;
}

.corporate-activities {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 58px 0 0;
  padding: 0;
  border-top: 1px solid rgba(111, 119, 130, 0.32);
  border-bottom: 1px solid rgba(111, 119, 130, 0.32);
  list-style: none;
}

.corporate-activities li {
  min-width: 0;
  padding: 27px 28px 30px;
  border-right: 1px solid rgba(111, 119, 130, 0.32);
}

.corporate-activities li:last-child {
  border-right: 0;
}

.corporate-activities span {
  display: block;
  margin-bottom: 28px;
  color: var(--sarica-red);
  font-size: 12px;
  font-weight: 820;
  line-height: 1;
}

.corporate-activities h3,
.corporate-principles-grid h3 {
  margin: 0;
  color: var(--deep-graphite);
  font-size: 20px;
  font-weight: 780;
  line-height: 1.22;
}

.corporate-activities p,
.corporate-principles-grid p {
  margin: 13px 0 0;
  color: var(--steel-gray);
  font-size: 14px;
  font-weight: 480;
  line-height: 1.62;
}

.corporate-principles {
  padding: clamp(76px, 8vw, 108px) 0;
  background: var(--warm-white);
}

.corporate-principles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 58px;
  border-top: 1px solid var(--border-gray);
  border-left: 1px solid var(--border-gray);
}

.corporate-principles-grid article {
  min-width: 0;
  padding: 31px 34px 34px;
  border-right: 1px solid var(--border-gray);
  border-bottom: 1px solid var(--border-gray);
  background: rgba(255, 255, 255, 0.46);
}

.corporate-cta {
  padding: clamp(64px, 7vw, 88px) 0;
  background: var(--deep-graphite);
  color: var(--white);
}

.corporate-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 52px;
  align-items: end;
}

.corporate-cta .section-kicker {
  color: rgba(255, 255, 255, 0.54);
}

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

.corporate-cta p:not(.section-kicker) {
  max-width: 660px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
  font-weight: 480;
  line-height: 1.65;
}

.corporate-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.corporate-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    color 160ms ease;
}

.corporate-button-light {
  border-color: var(--white);
  background: var(--white);
  color: var(--deep-graphite);
}

.corporate-button-light:hover,
.corporate-button-light:focus-visible {
  border-color: var(--sarica-red);
  background: var(--sarica-red);
  color: var(--white);
}

.corporate-button-outline {
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--white);
}

.corporate-button-outline:hover,
.corporate-button-outline:focus-visible {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 1080px) {
  .corporate-hero-inner {
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
    gap: 42px;
  }

  .corporate-hero-visual {
    min-height: 470px;
  }

  .corporate-metric {
    padding: 28px 24px;
  }

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

  .corporate-activities li:nth-child(2) {
    border-right: 0;
  }

  .corporate-activities li:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(111, 119, 130, 0.32);
  }
}

@media (max-width: 860px) {
  .corporate-shell {
    width: min(calc(100% - 28px), 620px);
  }

  .corporate-hero-inner {
    grid-template-columns: 1fr;
    gap: 38px;
    min-height: 0;
    padding: 58px 0;
  }

  .corporate-hero-copy h1 {
    font-size: 42px;
  }

  .corporate-hero-visual {
    height: min(660px, 76svh);
    min-height: 460px;
  }

  .corporate-metric {
    min-height: 146px;
    padding: 24px 18px;
  }

  .corporate-story-layout,
  .corporate-section-intro,
  .corporate-cta-inner {
    grid-template-columns: 1fr;
  }

  .corporate-story-layout {
    gap: 48px;
  }

  .corporate-story-year {
    max-width: 310px;
  }

  .corporate-section-intro,
  .corporate-cta-inner {
    gap: 26px;
  }

  .corporate-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .corporate-hero-copy h1 {
    font-size: 36px;
  }

  .corporate-hero-lead {
    font-size: 16px;
  }

  .corporate-hero-visual {
    height: 520px;
    min-height: 0;
  }

  .corporate-metrics {
    grid-template-columns: 1fr;
  }

  .corporate-metric {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--border-gray);
  }

  .corporate-metric:last-child {
    border-bottom: 0;
  }

  .corporate-story-copy h2,
  .corporate-section-intro h2,
  .corporate-cta h2 {
    font-size: 32px;
  }

  .corporate-story-copy > p:not(.section-kicker) {
    font-size: 16px;
  }

  .corporate-activities,
  .corporate-principles-grid {
    grid-template-columns: 1fr;
  }

  .corporate-activities li,
  .corporate-activities li:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid rgba(111, 119, 130, 0.32);
  }

  .corporate-activities li:last-child {
    border-bottom: 0;
  }

  .corporate-principles-grid article {
    padding: 27px 24px 29px;
  }

  .corporate-cta-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .corporate-shell {
    width: min(calc(100% - 24px), 380px);
  }

  .corporate-hero-inner {
    padding: 46px 0;
  }

  .corporate-hero-copy h1 {
    font-size: 32px;
  }

  .corporate-hero-visual {
    height: 450px;
  }

  .corporate-story-year span {
    font-size: 78px;
  }
}
