:root {
  --ink: #0d0c0b;
  --ink-soft: #171513;
  --panel: #201d1a;
  --paper: #f1ede6;
  --paper-muted: #bdb5aa;
  --line: rgba(241, 237, 230, 0.12);
  --red: #b92117;
  --red-bright: #d43527;
  --red-deep: #79140e;
  --black: var(--ink);
  --charcoal: var(--ink-soft);
  --steel: var(--panel);
  --light: var(--paper);
  --white: #fffdf9;
}

html { scrollbar-color: var(--red) var(--ink); }

body {
  background:
    radial-gradient(circle at 78% 8%, rgba(185, 33, 23, 0.08), transparent 28rem),
    var(--ink);
  text-rendering: optimizeLegibility;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
}

::selection { background: var(--red); color: var(--white); }

a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--red-bright);
  outline-offset: 4px;
}

nav {
  padding-block: 14px;
  background: rgba(13, 12, 11, 0.78);
  border-bottom-color: rgba(241, 237, 230, 0.08);
  backdrop-filter: blur(18px) saturate(120%);
  transition: padding 280ms ease, background 280ms ease, box-shadow 280ms ease;
}

nav.nav-scrolled {
  padding-block: 10px;
  background: rgba(13, 12, 11, 0.95);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.logo-wrap-nav img,
.nav-logo img { transition: height 280ms ease, opacity 200ms ease; }
nav.nav-scrolled .logo-wrap-nav img,
nav.nav-scrolled .nav-logo img { height: 40px !important; }

.nav-links { gap: clamp(20px, 2.6vw, 38px); }
.nav-links a { color: rgba(241, 237, 230, 0.72); }
.nav-links a:not(.nav-cta) { position: relative; }
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--red-bright);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms ease;
}
.nav-links a:not(.nav-cta):hover::after,
.nav-links a.active-page::after { transform: scaleX(1); transform-origin: left; }

.nav-cta,
.btn-primary,
.toggle-btn,
.contact-tab-toggle {
  clip-path: none;
  border-radius: 2px;
  box-shadow: none;
}

.nav-hamburger {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
}

#hero { padding-bottom: clamp(72px, 9vh, 112px); }
.hero-slideshow-overlay {
  background:
    linear-gradient(180deg, rgba(13, 12, 11, 0.28) 0%, rgba(13, 12, 11, 0.72) 72%, rgba(13, 12, 11, 0.97) 100%),
    linear-gradient(90deg, rgba(13, 12, 11, 0.92) 0%, rgba(13, 12, 11, 0.48) 48%, rgba(13, 12, 11, 0.18) 100%);
}
.hero-accent { opacity: 0.18; }
.hero-stripe { display: none; }
.hero-content { max-width: 880px; }
.logo-wrap-hero { margin-bottom: 18px; }
.logo-wrap-hero img { height: 86px !important; }
.hero-eyebrow { color: #e65a4c; margin-bottom: 16px; }
.hero-title {
  max-width: 820px;
  font-size: clamp(70px, 10.5vw, 142px);
  letter-spacing: 0.015em;
  text-wrap: balance;
}
.hero-sub { max-width: 670px; color: rgba(241, 237, 230, 0.76); }
.hero-buttons { gap: 12px; }
.btn-primary, .btn-secondary { letter-spacing: 2.2px; }
.btn-primary { box-shadow: 0 10px 30px rgba(121, 20, 14, 0.22); }
.btn-primary:hover { box-shadow: 0 16px 36px rgba(121, 20, 14, 0.32); }
.hero-slideshow-progress { gap: 6px; height: 2px; }
.hero-slideshow-bar { cursor: pointer; background: rgba(255, 255, 255, 0.2); }

#stats { border-block: 1px solid var(--line); }
.stats-inner { max-width: 1400px; margin-inline: auto; }
.stat { padding-block: 33px; border-right-color: var(--line); }
.stat-num { color: var(--paper); }
.stat-label { color: rgba(241, 237, 230, 0.48); }

.capability-rail {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #12100f;
}
.capability-track {
  display: flex;
  width: max-content;
  animation: capability-scroll 32s linear infinite;
}
.capability-group { display: flex; align-items: center; }
.capability-group span {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 17px 24px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(241, 237, 230, 0.5);
  white-space: nowrap;
}
.capability-group span::after {
  content: '';
  width: 5px;
  height: 5px;
  border: 1px solid var(--red-bright);
  transform: rotate(45deg);
}
@keyframes capability-scroll { to { transform: translateX(-50%); } }

#services, #portfolio, #why, #contact { position: relative; }
#services { padding-top: clamp(88px, 10vw, 140px); }
.section-title { letter-spacing: 0.02em; }
.section-tag { color: #dc5549; }
.section-tag::before { height: 1px; }

.services-grid {
  max-width: 1400px;
  margin-inline: auto;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service-card {
  min-height: 330px;
  padding: clamp(28px, 3.2vw, 48px);
  background: #151311;
  border-right: 0;
}
.service-card::before { top: auto; bottom: 0; height: 2px; }
.service-card:hover { background: #1b1815; transform: translateY(-4px); }
.service-num { color: rgba(241, 237, 230, 0.07); }
.service-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 28px;
  color: var(--red-bright);
}
.service-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-name { font-size: 22px; letter-spacing: 0.04em; }
.service-desc { max-width: 34ch; color: rgba(241, 237, 230, 0.56); }

#portfolio { background: #11100e; }
.portfolio-summary { max-width: 650px; color: rgba(241, 237, 230, 0.56); }
.portfolio-stats-row { border-color: var(--line); }
.filter-btn { border-color: rgba(241, 237, 230, 0.14); border-radius: 999px; clip-path: none; }
.filter-btn.active { color: var(--white); }
.featured-heading { gap: 20px; }
.carousel-actions { display: flex; gap: 8px; margin-left: auto; }
.carousel-button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
}
.carousel-button:hover { background: var(--red); border-color: var(--red); transform: translateY(-2px); }
.carousel-button svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.featured-grid.project-carousel {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 18px;
}
.featured-grid.project-carousel::-webkit-scrollbar { display: none; }
.featured-grid.project-carousel .featured-card {
  flex: 0 0 calc((100% - 28px) / 3);
  scroll-snap-align: start;
}
.featured-card { background: #1a1815; border: 1px solid rgba(241, 237, 230, 0.08); }
.featured-card:hover { background: #201d1a; transform: translateY(-5px); }
.featured-card::before { height: 2px; top: auto; bottom: 0; }
.featured-card-img { aspect-ratio: 4 / 3; height: auto; }
.featured-card-img.has-photo .featured-card-photo { transition-duration: 650ms; }
.featured-card-img.has-photo::after { background: linear-gradient(180deg, transparent 55%, rgba(13, 12, 11, 0.68)); }
.featured-card-body { padding: 24px; }
.project-tag { clip-path: none; border-radius: 2px; }

#why { background: linear-gradient(110deg, #191613 0 52%, #11100e 52%); }
.why-body { color: rgba(241, 237, 230, 0.63); }
.why-list li { border-bottom-color: var(--line); }
.why-block { border-color: var(--line); background: rgba(255, 255, 255, 0.025); }
.why-block:hover { background: rgba(255, 255, 255, 0.055); transform: translateY(-3px); }

#contact { background: #0f0e0c; }
.contact-bg { opacity: 0.5; }
.contact-form { border: 1px solid var(--line); background: rgba(25, 22, 19, 0.72); backdrop-filter: blur(12px); }
.form-group input, .form-group textarea, .form-group select { border-color: rgba(241, 237, 230, 0.16); background: rgba(255, 255, 255, 0.025); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { background: rgba(255, 255, 255, 0.045); }

.page-header {
  position: relative;
  background:
    linear-gradient(120deg, rgba(185, 33, 23, 0.1), transparent 34%),
    #171513;
  border-bottom: 1px solid var(--line);
}
.page-header::after {
  content: '';
  position: absolute;
  right: 5vw;
  bottom: -1px;
  width: min(38vw, 560px);
  height: 1px;
  background: var(--red);
}
.page-subtitle { max-width: 620px; }

.projects-grid { gap: 8px; }
.project-card { border: 1px solid rgba(241, 237, 230, 0.07); border-left: 1px solid rgba(241, 237, 230, 0.07); }
.project-card:hover { border-color: rgba(185, 33, 23, 0.55); transform: translateY(-2px); }

.blog-section { min-height: 54vh; }
#soro-blog { border: 1px solid var(--line); background: #151311; padding: clamp(18px, 3vw, 36px); }

footer { border-top-color: var(--line); }
.contact-tab-toggle { box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32); }

@media (max-width: 980px) {
  .featured-grid.project-carousel .featured-card { flex-basis: calc((100% - 14px) / 2); }
  #why { background: #171513; }
}

@media (max-width: 700px) {
  nav { padding-inline: 18px; }
  #hero { padding-inline: 22px; }
  .hero-title { font-size: clamp(64px, 21vw, 92px); }
  .hero-sub { font-size: 15px; }
  .logo-wrap-hero img { height: 70px !important; }
  .hero-slideshow-progress { padding-inline: 22px; gap: 3px; }
  .capability-group span { padding-inline: 18px; }
  .service-card { min-height: 280px; }
  .featured-heading { align-items: center; }
  .view-all-link { display: none; }
  .carousel-actions { margin-left: auto; }
  .featured-grid.project-carousel .featured-card { flex-basis: 88%; }
  .portfolio-filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; }
  .portfolio-filters::-webkit-scrollbar { display: none; }
  .filter-btn { flex: 0 0 auto; }
}

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

/* ── 2026 portfolio refinement ── */
:root {
  --nav-height: 78px;
  --ease-out-quart: cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 240;
  width: 100%;
  height: 2px;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--red-bright);
  box-shadow: 0 0 0 1px rgba(212, 53, 39, 0.08);
  will-change: transform;
}

.brand-lockup {
  display: grid;
  grid-template-columns: 53px auto;
  align-items: center;
  gap: 13px;
  color: var(--paper);
  text-decoration: none;
}

.brand-mark,
.hero-brand-mark {
  position: relative;
  display: block;
  overflow: hidden;
  flex: 0 0 auto;
}

.brand-mark {
  width: 53px;
  height: 43px;
  border-right: 1px solid rgba(241, 237, 230, 0.17);
}

.brand-mark img,
.hero-brand-mark img {
  position: absolute;
  max-width: none;
  object-fit: contain;
}

.brand-mark img {
  width: 68px;
  height: auto;
  left: -6px;
  top: -4px;
}

.brand-name {
  display: grid;
  line-height: 1;
}

.brand-name strong {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 23px;
  font-weight: 400;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.brand-name small {
  margin-top: 5px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: rgba(241, 237, 230, 0.5);
}

.logo-wrap-nav,
.nav-logo {
  border: 0;
  padding: 0;
}

.logo-wrap-nav img,
.nav-logo img,
nav.nav-scrolled .logo-wrap-nav img,
nav.nav-scrolled .nav-logo img {
  height: auto !important;
}

nav.nav-scrolled .brand-mark {
  transform: scale(0.9);
  transform-origin: left center;
}

.brand-mark,
.brand-name,
nav.nav-scrolled .brand-mark {
  transition: transform 280ms var(--ease-out-quart), opacity 220ms ease;
}

.brand-lockup:hover .brand-mark { transform: translateX(3px); }
.brand-lockup:hover .brand-name { transform: translateX(-2px); }
nav.nav-scrolled .brand-lockup:hover .brand-mark { transform: scale(0.9) translateX(3px); }

#hero::after {
  content: 'GENERAL CONTRACTING  /  01';
  position: absolute;
  right: 31px;
  top: 50%;
  z-index: 4;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: rgba(241, 237, 230, 0.42);
  writing-mode: vertical-rl;
  transform: translateY(-50%);
}

.hero-content {
  --hero-x: 0px;
  --hero-y: 0px;
  transform: translate3d(var(--hero-x), var(--hero-y), 0);
  transition: transform 700ms var(--ease-out-quart);
  will-change: transform;
}

.hero-brand-line {
  display: inline-grid;
  grid-template-columns: 66px auto;
  align-items: center;
  gap: 16px;
  margin-bottom: 25px;
  padding: 8px 18px 8px 8px;
  background: rgba(13, 12, 11, 0.58);
  border: 1px solid rgba(241, 237, 230, 0.13);
  backdrop-filter: blur(12px);
}

.hero-brand-mark {
  width: 66px;
  height: 54px;
  border-right: 1px solid rgba(241, 237, 230, 0.15);
}

.hero-brand-mark img {
  width: 86px;
  left: -8px;
  top: -5px;
}

.hero-brand-copy { display: grid; line-height: 1; }
.hero-brand-copy strong {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
}
.hero-brand-copy small {
  margin-top: 7px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(241, 237, 230, 0.48);
}

.hero-title .red { position: relative; display: inline-block; }
.hero-title .red::after {
  content: '';
  position: absolute;
  left: 3%;
  right: 3%;
  bottom: 8%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  animation: title-rule 900ms 900ms var(--ease-out-quart) forwards;
}
@keyframes title-rule { to { transform: scaleX(1); } }

.hero-slideshow img,
.hero-slideshow video {
  transform: scale(1.035);
  transition: opacity 1.5s ease, transform 7s ease-out;
}
.hero-slideshow img.active,
.hero-slideshow video.active { transform: scale(1); }

.section-header,
.featured-heading,
.all-projects-heading { position: relative; }
.section-header::after,
.page-header::before {
  content: '';
  position: absolute;
  width: clamp(80px, 10vw, 160px);
  height: 1px;
  background: linear-gradient(90deg, var(--red), transparent);
}
.section-header::after { right: 0; top: 14px; }
.page-header::before { left: clamp(24px, 6vw, 96px); bottom: 30px; }

.featured-card,
.project-card,
.service-card,
.why-block {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --lift: 0px;
}

.featured-card.motion-card,
.project-card.motion-card {
  transform: perspective(1100px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(var(--lift));
  transition: transform 500ms var(--ease-out-quart), border-color 300ms ease, background 300ms ease;
  will-change: transform;
}
.featured-card.motion-card:hover,
.project-card.motion-card:hover { --lift: -6px; }

.featured-card.motion-card .featured-card-photo,
.project-card.motion-card img {
  transform: scale(1.02) translate3d(var(--image-x, 0px), var(--image-y, 0px), 0);
  transition: transform 650ms var(--ease-out-quart), opacity 650ms ease;
  will-change: transform;
}

.featured-card.motion-card:hover .featured-card-photo.photo-primary { transform: scale(1.06) translate3d(var(--image-x, 0px), var(--image-y, 0px), 0); }

.featured-card[data-project-index]::after,
.project-card[data-project-index]::after {
  content: attr(data-project-index);
  position: absolute;
  right: 14px;
  top: 13px;
  z-index: 5;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: rgba(255, 253, 249, 0.72);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.75);
  pointer-events: none;
}

.project-card[data-project-index]::after {
  top: 18px;
  color: rgba(241, 237, 230, 0.25);
  text-shadow: none;
}

.project-card[data-project-index] { padding-right: 52px; }

.reveal {
  transform: translateY(32px);
  transition: opacity 850ms var(--ease-out-quart), transform 850ms var(--ease-out-quart);
}
.reveal.visible { transform: translateY(0); }
.featured-grid .reveal:nth-child(2),
.projects-grid .reveal:nth-child(2),
.services-grid .reveal:nth-child(2) { transition-delay: 80ms; }
.featured-grid .reveal:nth-child(3),
.projects-grid .reveal:nth-child(3),
.services-grid .reveal:nth-child(3) { transition-delay: 160ms; }
.featured-grid .reveal:nth-child(4),
.projects-grid .reveal:nth-child(4) { transition-delay: 240ms; }

.carousel-button {
  position: relative;
  overflow: hidden;
}
.carousel-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--red);
  transform: translateY(102%);
  transition: transform 260ms var(--ease-out-quart);
}
.carousel-button:hover::before { transform: translateY(0); }
.carousel-button svg { position: relative; z-index: 1; }

@media (max-width: 820px) {
  :root { --nav-height: 68px; }
  .brand-lockup { grid-template-columns: 46px auto; gap: 10px; }
  .brand-mark { width: 46px; height: 38px; }
  .brand-mark img { width: 59px; left: -5px; top: -3px; }
  .brand-name strong { font-size: 20px; }
  .brand-name small { display: none; }
  #hero::after { display: none; }
  .section-header::after { display: none; }
}

@media (max-width: 560px) {
  .brand-lockup { grid-template-columns: 42px auto; gap: 8px; }
  .brand-mark { width: 42px; height: 35px; }
  .brand-mark img { width: 54px; }
  .brand-name strong { font-size: 18px; letter-spacing: 0.08em; }
  .hero-brand-line { grid-template-columns: 55px auto; margin-bottom: 20px; }
  .hero-brand-mark { width: 55px; height: 47px; }
  .hero-brand-mark img { width: 74px; left: -7px; top: -5px; }
  .hero-brand-copy strong { font-size: 11px; }
}

@media (pointer: coarse), (prefers-reduced-motion: reduce) {
  .hero-content,
  .featured-card.motion-card,
  .project-card.motion-card,
  .featured-card.motion-card .featured-card-photo,
  .project-card.motion-card img { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress { display: none; }
  .hero-title .red::after { transform: scaleX(1); animation: none; }
  .hero-slideshow img,
  .hero-slideshow video { transform: none; }
}

/* ── Media-first opener and full-bleed portfolio ── */
@media (min-width: 1081px) {
  #hero { padding-right: 45vw; }
  .hero-content { max-width: min(760px, 53vw); }
  .hero-title { font-size: clamp(68px, 8.4vw, 124px); }
}

.hero-story {
  position: absolute;
  right: clamp(48px, 6vw, 96px);
  bottom: clamp(112px, 14vh, 160px);
  z-index: 5;
  width: min(30vw, 390px);
  padding: 26px 0 0;
  border-top: 1px solid rgba(241, 237, 230, 0.44);
  color: var(--paper);
  transition: opacity 180ms ease, transform 380ms var(--ease-out-quart);
}

.hero-story::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  width: 72px;
  height: 3px;
  background: var(--red-bright);
}

.hero-story.is-changing {
  opacity: 0;
  transform: translateY(12px);
}

.hero-story-index {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: rgba(241, 237, 230, 0.48);
}

.hero-story-index span:first-child { color: var(--paper); }
.hero-story-index i { width: 42px; height: 1px; background: rgba(241, 237, 230, 0.22); }

.hero-story-kicker {
  margin-bottom: 12px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ea6255;
}

.hero-story-title {
  max-width: 360px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(25px, 2.15vw, 34px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.hero-story-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(241, 237, 230, 0.32);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
  text-decoration: none;
  transition: gap 240ms var(--ease-out-quart), border-color 240ms ease;
}

.hero-story-link:hover { gap: 20px; border-color: var(--red-bright); }

.hero-scroll-cue {
  position: absolute;
  left: 48px;
  bottom: 24px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(241, 237, 230, 0.46);
  text-decoration: none;
}

.hero-scroll-cue i {
  position: relative;
  display: block;
  width: 62px;
  height: 1px;
  overflow: hidden;
  background: rgba(241, 237, 230, 0.2);
}

.hero-scroll-cue i::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--red-bright);
  transform: translateX(-100%);
  animation: scroll-cue 2.2s ease-in-out infinite;
}

@keyframes scroll-cue {
  50%, 100% { transform: translateX(100%); }
}

.hero-slideshow-progress {
  left: auto;
  right: clamp(48px, 6vw, 96px);
  bottom: 76px;
  width: min(30vw, 390px);
  padding: 0;
}

.featured-grid .featured-card {
  min-height: clamp(430px, 38vw, 560px);
  isolation: isolate;
  background: #12110f;
}

.featured-card .featured-card-img,
.featured-card .featured-card-img.has-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  aspect-ratio: auto;
}

.featured-card .featured-card-img.has-photo .featured-card-photo,
.featured-card .featured-card-video {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
}

.featured-card .featured-card-img.has-photo::after {
  inset: 0;
  height: auto;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(13, 12, 11, 0.12) 0%, rgba(13, 12, 11, 0.02) 34%, rgba(13, 12, 11, 0.93) 100%),
    linear-gradient(90deg, rgba(13, 12, 11, 0.2), transparent 50%);
}

.featured-card .featured-card-body {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  padding: 42px 26px 26px;
  background: linear-gradient(180deg, transparent, rgba(13, 12, 11, 0.48));
}

.featured-card .featured-card-name {
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1;
  letter-spacing: 0.01em;
}

.featured-card .featured-card-location { margin-top: 7px; color: rgba(241, 237, 230, 0.64); }
.featured-card .project-tags { margin-top: 18px; }
.featured-card .project-tag {
  border: 1px solid rgba(241, 237, 230, 0.2);
  background: rgba(13, 12, 11, 0.44);
  backdrop-filter: blur(6px);
}

.featured-card[data-project-index]::after {
  left: 18px;
  right: auto;
  top: 18px;
  font-size: 15px;
}

.featured-card .featured-card-badge {
  top: 16px;
  right: 16px;
  padding: 6px 11px;
  background: rgba(185, 33, 23, 0.9);
  backdrop-filter: blur(8px);
}

.featured-grid.project-carousel .featured-card {
  flex-basis: min(38vw, 500px);
}

@media (max-width: 1080px) {
  .hero-story { display: none; }
  .hero-slideshow-progress { left: 48px; right: 48px; width: auto; bottom: 0; padding: 0; }
}

@media (max-width: 700px) {
  .hero-scroll-cue { left: 22px; bottom: 24px; }
  .hero-slideshow-progress { left: 22px; right: 22px; }
  .featured-grid .featured-card { min-height: 500px; }
  .featured-grid.project-carousel .featured-card { flex-basis: 88%; }
  .featured-card .featured-card-body { padding: 38px 22px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll-cue i::after { animation: none; transform: none; }
}

/* ── Branded entry and project approach ── */
.site-intro {
  position: fixed;
  inset: 0;
  z-index: 1000;
  overflow: hidden;
  background: var(--red);
  pointer-events: all;
  animation: site-intro-exit 720ms 1650ms var(--ease-out-quart) forwards;
}

.site-intro-panel {
  position: absolute;
  inset: 0;
  transform: translateZ(0);
}

.site-intro-panel-red { z-index: 0; background: var(--red); }
.site-intro-panel-dark {
  z-index: 1;
  background:
    linear-gradient(120deg, rgba(185, 33, 23, 0.1), transparent 34%),
    var(--ink);
  animation: site-intro-dark 720ms 1050ms var(--ease-out-quart) forwards;
}

.site-intro-brand {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  grid-template-columns: 82px auto;
  align-items: center;
  gap: 22px;
  color: var(--paper);
  transform: translate(-50%, -50%);
  animation: site-intro-brand 420ms 800ms ease forwards;
}

.site-intro-brand img {
  display: block;
  width: 82px;
  height: 70px;
  object-fit: contain;
}

.site-intro-brand span { display: grid; min-width: max-content; }
.site-intro-brand strong {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 400;
  line-height: 0.85;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.site-intro-brand small {
  margin-top: 12px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(241, 237, 230, 0.58);
}

.site-intro-rule {
  position: absolute;
  left: 0;
  top: calc(50% + 68px);
  z-index: 2;
  width: 100%;
  height: 1px;
  background: rgba(241, 237, 230, 0.16);
  transform: scaleX(0);
  animation: site-intro-rule 760ms 220ms var(--ease-out-quart) forwards;
}
.site-intro-rule::after {
  content: '';
  display: block;
  width: 28%;
  height: 2px;
  margin-top: -1px;
  background: var(--red-bright);
}

@keyframes site-intro-rule { to { transform: scaleX(1); } }
@keyframes site-intro-brand { to { opacity: 0; transform: translate(-50%, -58%); } }
@keyframes site-intro-dark { to { transform: translateY(-100%); } }
@keyframes site-intro-exit { to { transform: translateY(-100%); } }

.brand-mark img,
nav.nav-scrolled .brand-mark img {
  inset: 1px 7px 1px 0;
  width: 46px !important;
  height: 41px !important;
  object-fit: contain;
}

.hero-brand-mark img {
  inset: 2px 10px 2px 0;
  width: 56px;
  height: 50px;
  object-fit: contain;
}

#approach {
  position: relative;
  display: grid;
  grid-template-columns: minmax(250px, 0.78fr) minmax(520px, 1.5fr);
  gap: clamp(48px, 7vw, 110px);
  padding: clamp(92px, 11vw, 150px) 48px;
  overflow: hidden;
  background:
    linear-gradient(90deg, transparent 0 47.9%, rgba(241, 237, 230, 0.07) 48%, transparent 48.1%),
    #efebe4;
  color: var(--ink);
}

#approach::before {
  content: '';
  position: absolute;
  right: -5vw;
  top: -12vw;
  width: 34vw;
  height: 34vw;
  border: 1px solid rgba(185, 33, 23, 0.16);
  transform: rotate(45deg);
  pointer-events: none;
}

#approach .section-tag { color: var(--red); }
#approach .section-title { color: var(--ink); }
#approach .approach-intro { align-self: start; position: sticky; top: 130px; min-width: 0; }
.approach-intro p {
  max-width: 430px;
  margin-top: 28px;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(13, 12, 11, 0.67);
}

.approach-link {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  margin-top: 30px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(13, 12, 11, 0.28);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  transition: gap 240ms var(--ease-out-quart), border-color 240ms ease;
}
.approach-link:hover { gap: 22px; border-color: var(--red); }

.approach-steps { min-width: 0; border-top: 1px solid rgba(13, 12, 11, 0.17); }
.approach-step {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: clamp(24px, 3vw, 52px);
  padding: 34px 0;
  border-bottom: 1px solid rgba(13, 12, 11, 0.17);
  transition: padding-left 320ms var(--ease-out-quart), background 320ms ease;
}
.approach-step:hover { padding-left: 18px; background: rgba(185, 33, 23, 0.035); }
.approach-step-num {
  padding-top: 4px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  letter-spacing: 0.14em;
  color: var(--red);
}
.approach-step h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(25px, 2.4vw, 38px);
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
  overflow-wrap: break-word;
}
.approach-step p {
  max-width: 590px;
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(13, 12, 11, 0.6);
}

.approach-standard {
  grid-column: 2;
  display: grid;
  grid-template-columns: 0.75fr repeat(3, 1fr);
  align-items: center;
  gap: 18px;
  padding: 22px 0;
  border-block: 1px solid rgba(13, 12, 11, 0.17);
}
.approach-standard span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
}
.approach-standard strong {
  min-width: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  color: rgba(13, 12, 11, 0.72);
  overflow-wrap: break-word;
}

.hero-buttons,
.project-tags { flex-wrap: wrap; }
.hero-content,
.hero-story,
.featured-card-body,
.section-header,
.why-left,
.contact-left,
.contact-form { min-width: 0; }
.hero-title,
.section-title,
.featured-card-name,
.page-subtitle { max-width: 100%; overflow-wrap: break-word; }

@media (max-width: 980px) {
  #approach { grid-template-columns: 1fr; background: #efebe4; }
  #approach .approach-intro { position: relative; top: auto; }
  .approach-standard { grid-column: 1; }
}

@media (max-width: 700px) {
  .site-intro-brand { grid-template-columns: 64px auto; gap: 15px; }
  .site-intro-brand img { width: 64px; height: 56px; }
  .site-intro-brand strong { font-size: 38px; }
  .site-intro-brand small { font-size: 8px; letter-spacing: 0.22em; }
  #approach { padding: 82px 22px; gap: 52px; }
  .approach-step { grid-template-columns: 42px minmax(0, 1fr); gap: 14px; padding: 28px 0; }
  .approach-step:hover { padding-left: 0; }
  .approach-standard { grid-template-columns: 1fr; gap: 12px; }
  .approach-standard strong { padding-top: 12px; border-top: 1px solid rgba(13, 12, 11, 0.12); }
}

@media (max-width: 420px) {
  .site-intro-brand { grid-template-columns: 54px auto; }
  .site-intro-brand img { width: 54px; height: 48px; }
  .site-intro-brand strong { font-size: 31px; }
  .site-intro-brand small { max-width: 170px; line-height: 1.4; }
}

@media (prefers-reduced-motion: reduce) {
  .site-intro { display: none; }
  .approach-step:hover { padding-left: 0; }
}

/* ── Logo-only brand moments and market showcase ── */
.site-intro-brand {
  display: block;
  width: clamp(132px, 14vw, 210px);
  height: clamp(112px, 12vw, 180px);
  animation:
    site-logo-enter 820ms 120ms var(--ease-out-quart) both,
    site-logo-leave 320ms 860ms ease forwards;
}

.site-intro-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.24));
}

@keyframes site-logo-enter {
  0% { opacity: 0; transform: translate(-50%, -42%) scale(0.68) rotate(-6deg); }
  68% { opacity: 1; transform: translate(-50%, -50%) scale(1.06) rotate(1deg); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0); }
}

@keyframes site-logo-leave {
  to { opacity: 0; transform: translate(-50%, -56%) scale(0.94); }
}

.hero-logo-solo {
  width: clamp(118px, 11vw, 168px);
  margin-bottom: 16px;
}

.hero-logo-solo img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.28));
}

.featured-card[data-project-index]::after {
  left: 16px !important;
  right: auto !important;
  top: 16px !important;
  min-width: 38px;
  padding: 6px 8px 5px;
  border: 1px solid rgba(255, 253, 249, 0.28);
  background: rgba(13, 12, 11, 0.62);
  text-align: center;
  line-height: 1;
  backdrop-filter: blur(8px);
}

.featured-card .featured-card-badge {
  left: auto !important;
  right: 16px !important;
  top: 16px !important;
  max-width: calc(100% - 92px);
  white-space: nowrap;
}

#services {
  padding: clamp(92px, 10vw, 144px) 48px;
  background:
    linear-gradient(150deg, rgba(185, 33, 23, 0.07), transparent 34%),
    #11100e;
}

.markets-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  align-items: end;
  gap: clamp(40px, 8vw, 130px);
  margin-bottom: clamp(44px, 6vw, 76px);
}

.markets-heading > div,
.markets-heading > p { min-width: 0; }
.markets-heading > p {
  max-width: 520px;
  padding-bottom: 8px;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.7;
  color: rgba(241, 237, 230, 0.62);
}

.markets-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.91fr 0.91fr;
  gap: 8px;
}

.market-card {
  position: relative;
  min-width: 0;
  min-height: clamp(520px, 49vw, 700px);
  overflow: hidden;
  isolation: isolate;
  background: var(--ink-soft);
}

.market-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.025);
  transition: transform 900ms var(--ease-out-quart), filter 500ms ease;
}

.market-card:nth-child(1) img { object-position: 54% center; }
.market-card:nth-child(2) img { object-position: 58% center; }
.market-card:nth-child(3) img { object-position: center; }

.market-card-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(13, 12, 11, 0.16), transparent 34%, rgba(13, 12, 11, 0.94) 100%),
    linear-gradient(90deg, rgba(13, 12, 11, 0.32), transparent 60%);
}

.market-card-num {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 2;
  min-width: 38px;
  padding: 7px 8px 6px;
  border: 1px solid rgba(255, 253, 249, 0.28);
  background: rgba(13, 12, 11, 0.44);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.12em;
  text-align: center;
  color: var(--paper);
  backdrop-filter: blur(8px);
}

.market-card-content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: clamp(26px, 3vw, 42px);
}

.market-card-content > span {
  display: block;
  margin-bottom: 14px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.23em;
  text-transform: uppercase;
  color: #ef6c60;
}

.market-card-content h3 {
  max-width: 520px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(28px, 3vw, 45px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.018em;
  color: var(--paper);
  text-wrap: balance;
  overflow-wrap: break-word;
}

.market-card-content p {
  max-width: 500px;
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(241, 237, 230, 0.68);
}

.market-card-content a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(241, 237, 230, 0.32);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper);
  text-decoration: none;
  transition: gap 250ms var(--ease-out-quart), border-color 250ms ease;
}

.market-card-content a b { font-size: 14px; font-weight: 400; }
.market-card:hover img { transform: scale(1.075); filter: saturate(0.86) contrast(1.03); }
.market-card:hover .market-card-content a { gap: 20px; border-color: var(--red-bright); }

.markets-capabilities {
  display: grid;
  grid-template-columns: 0.9fr repeat(4, 1fr);
  gap: 22px;
  align-items: center;
  margin-top: 8px;
  padding: 26px 4px 4px;
  border-top: 1px solid rgba(241, 237, 230, 0.12);
}

.markets-capabilities span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red-bright);
}

.markets-capabilities strong {
  min-width: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(241, 237, 230, 0.62);
  overflow-wrap: break-word;
}

@media (max-width: 1050px) {
  .markets-grid { grid-template-columns: 1fr 1fr; }
  .market-card { min-height: 540px; }
  .market-card:first-child { grid-column: 1 / -1; min-height: 600px; }
  .markets-capabilities { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 760px) {
  #services { padding: 82px 22px; }
  .markets-heading { grid-template-columns: 1fr; gap: 24px; }
  .markets-grid { grid-template-columns: 1fr; }
  .market-card,
  .market-card:first-child { grid-column: auto; min-height: 520px; }
  .markets-capabilities { grid-template-columns: 1fr 1fr; gap: 18px 14px; }
  .markets-capabilities span { grid-column: 1 / -1; }
}

@media (max-width: 460px) {
  .site-intro-brand { width: 122px; height: 104px; }
  .hero-logo-solo { width: 108px; }
  .market-card,
  .market-card:first-child { min-height: 500px; }
  .market-card-content { padding: 25px 21px; }
  .market-card-content h3 { font-size: 31px; }
  .markets-capabilities { grid-template-columns: 1fr; }
  .markets-capabilities span { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .site-intro-brand { animation: none; }
  .market-card:hover img { transform: none; }
}

/* ── High-resolution brand reseating and header alignment ── */
nav {
  justify-content: flex-start;
  min-height: 74px;
}

.brand-lockup {
  grid-template-columns: 52px minmax(0, auto);
  gap: 14px;
}

.brand-mark {
  width: 52px;
  height: 44px;
  border-right: 1px solid rgba(241, 237, 230, 0.18);
}

.brand-mark img,
nav.nav-scrolled .brand-mark img {
  inset: 0 7px 0 0;
  width: 45px !important;
  height: 44px !important;
  object-fit: contain;
}

.brand-title {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--paper);
  transition: transform 280ms var(--ease-out-quart), color 220ms ease;
}

.brand-lockup:hover .brand-title { color: var(--white); transform: translateX(-2px); }

.nav-links { display: none !important; }

.nav-hamburger {
  position: absolute !important;
  top: 50%;
  right: 48px;
  margin: 0;
  transform: translateY(-50%);
}

.nav-dropdown {
  top: calc(100% + 14px);
  right: 0;
}

.site-intro-brand {
  width: clamp(170px, 18vw, 270px);
  height: clamp(145px, 15.5vw, 232px);
}

.site-intro-brand img,
.hero-logo-solo img {
  object-fit: contain;
}

.hero-logo-solo {
  width: clamp(160px, 15vw, 230px);
  margin-bottom: 18px;
}

@media (max-width: 700px) {
  nav { min-height: 66px; }
  .brand-lockup { grid-template-columns: 44px minmax(0, auto); gap: 10px; }
  .brand-mark { width: 44px; height: 38px; }
  .brand-mark img,
  nav.nav-scrolled .brand-mark img { width: 38px !important; height: 38px !important; }
  .brand-title { font-size: 13px; letter-spacing: 0.09em; }
  .nav-hamburger { right: 18px; }
  .site-intro-brand { width: 170px; height: 146px; }
  .hero-logo-solo { width: 150px; }
}

@media (max-width: 430px) {
  .brand-title { max-width: 150px; white-space: normal; line-height: 1.08; }
  .brand-lockup { gap: 8px; }
}

/* ── Original brand system and cinematic transition ── */
.site-intro {
  display: grid;
  place-items: center;
  padding: clamp(22px, 5vw, 68px);
  overflow: hidden;
  background: #0c0b0a;
  animation: none;
  isolation: isolate;
}

.site-intro::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(122deg, transparent 0 49.8%, rgba(255, 255, 255, 0.04) 50%, transparent 50.2%),
    radial-gradient(circle at 50% 45%, rgba(185, 33, 23, 0.16), transparent 35%);
  pointer-events: none;
}

.site-intro-red-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--red);
  clip-path: polygon(0 0, 22% 0, 48% 100%, 0 100%);
  transform: translateX(-28%);
  animation: intro-red-arrive 560ms var(--ease-out-quart) forwards;
}

.site-intro-frame {
  position: relative;
  z-index: 2;
  width: min(76vw, 780px);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(255, 253, 249, 0.2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.site-intro-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.site-intro-corner {
  position: absolute;
  z-index: 2;
  width: 30px;
  height: 30px;
  pointer-events: none;
}

.site-intro-corner-tl {
  top: 12px;
  left: 12px;
  border-top: 2px solid var(--red);
  border-left: 2px solid var(--red);
}

.site-intro-corner-br {
  right: 12px;
  bottom: 12px;
  border-right: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
}

.site-intro-meta {
  position: absolute;
  left: max(22px, 5vw);
  right: max(22px, 5vw);
  bottom: max(25px, 4vw);
  z-index: 2;
  display: flex;
  justify-content: space-between;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.23em;
  text-transform: uppercase;
  color: rgba(241, 237, 230, 0.5);
}

.site-intro-progress {
  position: absolute;
  left: max(22px, 5vw);
  right: max(22px, 5vw);
  bottom: max(16px, calc(4vw - 10px));
  z-index: 2;
  height: 1px;
  overflow: hidden;
  background: rgba(241, 237, 230, 0.13);
}

.site-intro-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--red-bright);
  transform: scaleX(0);
  transform-origin: left;
}

.site-intro.is-playing .site-intro-progress span {
  animation: intro-fast-progress 2.8s linear forwards;
}

.site-intro.is-leaving .site-intro-frame,
.site-intro.is-leaving .site-intro-meta,
.site-intro.is-leaving .site-intro-progress {
  opacity: 0;
  transform: translateY(-10px) scale(0.985);
  transition: opacity 220ms ease, transform 380ms var(--ease-out-quart);
}

.site-intro.is-leaving .site-intro-red-field {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  transform: translateX(0);
  transition: clip-path 360ms var(--ease-out-quart), transform 360ms var(--ease-out-quart);
}

.site-intro.is-leaving {
  transform: translateY(-100%);
  transition: transform 480ms 180ms var(--ease-out-quart);
}

@keyframes intro-red-arrive {
  to { transform: translateX(0); }
}

@keyframes intro-fast-progress {
  to { transform: scaleX(1); }
}

.brand-lockup {
  display: block;
  line-height: 0;
}

.brand-original {
  display: block;
  width: 88px;
  height: 64px !important;
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.24);
  transition: transform 280ms var(--ease-out-quart), box-shadow 280ms ease;
}

.brand-lockup:hover .brand-original {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.32);
}

nav,
nav.nav-scrolled {
  min-height: 84px;
  background: rgba(13, 12, 11, 0.86);
  border-bottom-color: rgba(241, 237, 230, 0.1);
}

.logo-wrap-nav,
.nav-logo {
  display: flex;
  align-items: center;
}

.hero-logo-solo {
  width: clamp(148px, 14vw, 208px);
  margin-bottom: 22px;
  padding: 7px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.34);
}

.hero-logo-solo img {
  width: 100%;
  filter: none;
}

@media (max-width: 700px) {
  .site-intro { padding: 18px; }
  .site-intro-frame { width: 94vw; }
  .site-intro-meta { left: 18px; right: 18px; bottom: 28px; letter-spacing: 0.15em; }
  .site-intro-progress { left: 18px; right: 18px; bottom: 18px; }
  nav,
  nav.nav-scrolled { min-height: 72px; }
  .brand-original { width: 69px; height: 54px !important; }
  .hero-logo-solo { width: 142px; }
}

@media (max-width: 460px) {
  .hero-logo-solo { width: 132px; }
}

@media (prefers-reduced-motion: reduce) {
  .site-intro-red-field { animation: none; transform: none; }
}
