:root {
  color-scheme: light;
  --bg: #f3f5f4;
  --paper: #fbfcfb;
  --white: #ffffff;
  --ink: #15171a;
  --ink-2: #2c3032;
  --muted: #5c6366;
  --muted-2: #879094;
  --line: #d8ddde;
  --line-soft: #e9eeee;
  --dark: #101214;
  --accent: #ef8a3d;
  --accent-dark: #c96716;
  --green: #3d5a4f;
  --blue: #293846;
  --shadow: 0 18px 44px rgba(17, 19, 21, .14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

h1,
h2,
h3,
p,
dl,
dd,
figure {
  margin-top: 0;
}

p {
  color: var(--muted);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: var(--ink);
  line-height: 1;
}

.brand img {
  width: 54px;
  height: 54px;
  margin-right: -8px;
  object-fit: contain;
}

.brand span {
  display: block;
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(18px, 1.55vw, 22px);
  font-weight: 700;
  letter-spacing: -.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  padding: 0 12px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 650;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: #eef2f1;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

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

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

.button.dark:hover {
  background: #000000;
}

.button.accent {
  color: #1b1208;
  background: var(--accent);
}

.button.accent:hover {
  background: #ffa055;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.label::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background: var(--dark);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
  opacity: .48;
  transform: scale(1.02);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(16, 18, 20, .96) 0%, rgba(16, 18, 20, .74) 48%, rgba(16, 18, 20, .44) 100%),
    linear-gradient(180deg, rgba(16, 18, 20, .2) 0%, rgba(16, 18, 20, .78) 100%);
}

.portfolio-hero .container {
  min-height: 390px;
  display: grid;
  align-content: end;
  padding: 86px 0 64px;
}

.project-hero .container {
  min-height: 580px;
  display: grid;
  align-content: end;
  padding: 86px 0 58px;
}

.hero-kicker {
  color: var(--accent);
}

.hero-title {
  max-width: 920px;
  margin: 16px 0 0;
  color: var(--white);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(42px, 6vw, 82px);
  font-weight: 750;
  letter-spacing: 0;
  line-height: .98;
}

.hero-copy {
  max-width: 700px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .76);
  font-size: 16px;
  line-height: 1.75;
}

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

.portfolio-body {
  padding: 56px 0 96px;
}

.portfolio-topline {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.portfolio-topline h2,
.section-title {
  margin: 12px 0 0;
  color: var(--ink);
  font-size: clamp(28px, 3.4vw, 46px);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.06;
}

.portfolio-count {
  margin: 0;
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}

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

.project-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(17, 19, 21, .08);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.project-card:hover {
  border-color: #cfd7d8;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.project-card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--line-soft);
}

.project-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .28s ease;
}

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

.project-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 18px;
  padding: 22px;
}

.project-card-kicker,
.detail-kicker {
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.project-card h3 {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 22px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.14;
}

.project-card p {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.68;
}

.project-card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.project-card-link::after {
  content: "->";
  color: var(--accent-dark);
}

.detail-band {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.detail-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.detail-meta div {
  min-height: 116px;
  background: var(--white);
  padding: 20px;
}

.detail-meta dt {
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.detail-meta dd {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.detail-section {
  padding: 82px 0;
}

.overview-section {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

.detail-copy {
  display: grid;
  gap: 18px;
}

.detail-block {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.detail-block:first-child {
  border-top: 0;
  padding-top: 0;
}

.detail-block h3,
.photo-notes h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 850;
  line-height: 1.2;
}

.detail-copy p {
  margin: 0;
  font-size: 16px;
  line-height: 1.82;
}

.overview-table {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: 0;
  background: var(--line);
}

.overview-table div {
  min-height: 96px;
  background: var(--white);
  padding: 18px;
}

.overview-table dt {
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.overview-table dd {
  margin: 7px 0 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
}

.scope-list {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.scope-list li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  color: #3a372f;
  font-size: 14.5px;
  line-height: 1.65;
}

.scope-list li::before {
  content: "";
  width: 24px;
  height: 1px;
  flex: 0 0 auto;
  margin-top: 12px;
  background: var(--accent-dark);
}

.photo-notes {
  margin-top: 34px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 24px;
}

.photo-notes ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.photo-notes li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.photo-notes li::before {
  content: "- ";
  color: var(--accent-dark);
  font-weight: 900;
}

.gallery-band {
  border-block: 1px solid var(--line);
  background: var(--paper);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.gallery-grid figure {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.project-cta {
  color: var(--white);
  background: #0e0f10;
}

.project-cta .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  align-items: center;
  gap: 32px;
  padding: 54px 0;
}

.project-cta h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.06;
}

.project-cta p {
  max-width: 620px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, .68);
  font-size: 15px;
  line-height: 1.72;
}

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

.project-contact-actions .button {
  min-height: 54px;
  width: 100%;
  justify-content: space-between;
  padding-inline: 18px;
  white-space: nowrap;
}

.project-contact-actions .button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: currentColor;
}

.project-contact-actions .button.wide {
  grid-column: 1 / -1;
}

.button.whatsapp {
  color: var(--white);
  background: #25d366;
}

.button.facebook {
  color: var(--white);
  background: #1877f2;
}

.button.linkedin {
  color: var(--white);
  background: #0a66c2;
}

.site-footer {
  color: var(--white);
  background: #0e0f10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 44px;
  padding: 52px 0;
}

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

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

.footer-brand p {
  max-width: 390px;
  margin-top: 20px;
  color: rgba(255, 255, 255, .58);
  font-size: 14px;
  line-height: 1.75;
}

.footer-col h2 {
  margin: 0;
  color: var(--white);
  font-size: 15px;
  font-weight: 850;
}

.footer-col nav,
.footer-contact {
  display: grid;
  gap: 9px;
  margin-top: 16px;
  color: rgba(255, 255, 255, .68);
  font-size: 14px;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 20px;
  color: rgba(255, 255, 255, .44);
  font-size: 12px;
}

.floating-socials {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 80;
  display: grid;
  gap: 10px;
}

.floating-social {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .24);
  transition: box-shadow .2s ease, transform .2s ease;
}

.floating-social:hover {
  box-shadow: 0 18px 46px rgba(0, 0, 0, .32);
  transform: translateY(-2px) scale(1.04);
}

.floating-social svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.floating-social.whatsapp {
  background: #25d366;
}

.floating-social.facebook {
  background: #1877f2;
}

.floating-social.linkedin {
  background: #0a66c2;
}

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

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

  .detail-layout,
  .footer-grid,
  .project-cta .container {
    grid-template-columns: 1fr;
  }

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

  .overview-table {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1280px);
  }

  .nav {
    min-height: 66px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand span {
    max-width: 158px;
    font-size: 16px;
    line-height: 1.05;
  }

  .nav .button {
    min-height: 40px;
    padding-inline: 14px;
  }

  .portfolio-hero .container {
    min-height: 360px;
    padding: 72px 0 46px;
  }

  .project-hero .container {
    min-height: 500px;
    padding: 72px 0 44px;
  }

  .hero-title {
    font-size: clamp(38px, 13vw, 58px);
  }

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

  .project-cards,
  .gallery-grid,
  .detail-meta {
    grid-template-columns: 1fr;
  }

  .portfolio-body,
  .detail-section {
    padding: 64px 0;
  }

  .project-card-body,
  .detail-meta div {
    padding: 20px;
  }

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

  .project-contact-actions .button.wide {
    grid-column: auto;
  }

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

  .floating-socials {
    display: none;
  }
}

/* Modern project detail layout */
.project-hero {
  background: #070809;
}

.project-hero::before {
  opacity: .58;
  filter: saturate(.92) contrast(1.05);
}

.project-hero::after {
  background:
    linear-gradient(90deg, rgba(7, 8, 9, .96) 0%, rgba(7, 8, 9, .76) 42%, rgba(7, 8, 9, .34) 100%),
    linear-gradient(180deg, rgba(7, 8, 9, .22) 0%, rgba(7, 8, 9, .82) 100%);
}

.project-hero .hero-project-grid {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  align-items: end;
  gap: 48px;
  padding: 88px 0 58px;
}

.hero-main {
  min-width: 0;
}

.hero-eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
}

.hero-eyebrow span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  padding: 0 12px;
  color: rgba(255, 255, 255, .78);
  background: rgba(255, 255, 255, .08);
  font-size: 12px;
  font-weight: 800;
}

.hero-project-card {
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .1);
  padding: 24px;
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
}

.hero-project-card h2 {
  margin: 0;
  color: var(--white);
  font-size: 18px;
  line-height: 1.2;
}

.hero-facts {
  display: grid;
  gap: 1px;
  margin: 20px 0 0;
  background: rgba(255, 255, 255, .15);
}

.hero-facts div {
  background: rgba(7, 8, 9, .46);
  padding: 14px;
}

.hero-facts dt {
  color: rgba(255, 255, 255, .46);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 7px 0 0;
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.36;
}

.project-nav-strip {
  position: sticky;
  top: 78px;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(16px);
}

.project-nav-strip .container {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 10px 0;
}

.project-nav-strip a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 0 14px;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 850;
}

.project-nav-strip a:hover {
  background: #eef2f1;
}

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

.overview-table {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(17, 19, 21, .06);
}

.story-section {
  background: #eef2f1;
}

.section-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.story-stack {
  display: grid;
  gap: 18px;
}

.story-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 24px;
  box-shadow: 0 14px 34px rgba(17, 19, 21, .07);
}

.story-number {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #1b1208;
  background: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.story-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.08;
}

.story-card p {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.82;
}

.scope-section {
  background: #ffffff;
}

.scope-panel {
  display: grid;
  grid-template-columns: minmax(0, .74fr) minmax(0, 1.26fr);
  gap: 40px;
  align-items: start;
}

.scope-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.scope-list li {
  min-height: 92px;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  background: #f8faf9;
  padding: 18px;
}

.scope-list li::before {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  margin-top: 0;
  border-radius: 999px;
  background: var(--accent);
}

.photo-notes {
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(17, 19, 21, .06);
}

.photo-notes ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
}

.gallery-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.gallery-grid figure {
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(17, 19, 21, .08);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.gallery-grid img {
  height: auto;
  flex: 0 0 auto;
}

.gallery-grid figcaption {
  min-height: 58px;
  border-top: 1px solid var(--line);
  padding: 12px 14px;
  color: var(--ink);
  background: var(--white);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.gallery-grid figure:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-grid figure:first-child img {
  aspect-ratio: 4 / 3;
}

.project-cta {
  background: linear-gradient(90deg, #0e0f10 0%, rgba(14, 15, 16, .96) 60%, rgba(14, 15, 16, .9) 100%);
}

@media (max-width: 1020px) {
  .project-hero .hero-project-grid,
  .scope-panel {
    grid-template-columns: 1fr;
  }

  .project-nav-strip {
    top: 72px;
  }

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

@media (max-width: 640px) {
  .project-hero .hero-project-grid {
    min-height: 560px;
    padding: 70px 0 42px;
  }

  .project-nav-strip {
    position: static;
  }

  .hero-project-card,
  .story-card,
  .photo-notes {
    padding: 20px;
  }

  .story-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .scope-list,
  .photo-notes ul,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid figure:first-child {
    grid-column: auto;
    grid-row: auto;
  }
}

/* Premium industrial project-page upgrade */
:root {
  --industrial: #202827;
  --industrial-2: #2f3b38;
  --green-dark: #263a34;
  --green-soft: #e8efeb;
  --metal: #b8c0be;
  --warm: #d87933;
  --warm-soft: #f5e3d2;
}

body {
  background:
    linear-gradient(180deg, #f5f7f5 0%, #eef2f1 42%, #f7f8f6 100%);
}

.site-header {
  border-bottom-color: rgba(32, 40, 39, .12);
  background: rgba(248, 250, 249, .88);
  box-shadow: 0 12px 34px rgba(20, 24, 24, .06);
}

.project-hero {
  min-height: min(820px, calc(100vh - 34px));
  color: var(--white);
}

.project-hero::before {
  opacity: .76;
  filter: saturate(.9) contrast(1.12);
  transform: scale(1.04);
}

.project-hero::after {
  background:
    radial-gradient(circle at 72% 18%, rgba(216, 121, 51, .24), transparent 26%),
    linear-gradient(90deg, rgba(5, 7, 7, .98) 0%, rgba(13, 18, 17, .88) 36%, rgba(13, 18, 17, .42) 72%, rgba(13, 18, 17, .28) 100%),
    linear-gradient(180deg, rgba(5, 7, 7, .2) 0%, rgba(5, 7, 7, .88) 100%);
}

.project-hero::marker {
  content: "";
}

.project-hero .hero-project-grid {
  min-height: min(820px, calc(100vh - 34px));
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .72fr);
  gap: clamp(28px, 5vw, 78px);
  align-items: end;
  padding: clamp(96px, 13vh, 154px) 0 clamp(46px, 8vh, 84px);
}

.hero-main {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero-main::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 48px;
  bottom: 10px;
  width: 3px;
  background: linear-gradient(180deg, var(--warm), rgba(255, 255, 255, .12));
}

.hero-kicker {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  padding: 0 14px;
  color: #f6b47c;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(14px);
}

.hero-eyebrow {
  margin-top: 22px;
}

.hero-eyebrow span {
  min-height: 34px;
  border-color: rgba(255, 255, 255, .22);
  border-radius: 4px;
  color: rgba(255, 255, 255, .82);
  background: rgba(255, 255, 255, .09);
}

.hero-title {
  max-width: 980px;
  margin-top: 22px;
  font-size: clamp(48px, 7.1vw, 112px);
  font-weight: 850;
  line-height: .88;
  text-wrap: balance;
}

.hero-copy {
  max-width: 760px;
  margin-top: 28px;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.7;
}

.hero-actions {
  margin-top: 34px;
}

.hero-project-card {
  position: relative;
  overflow: hidden;
  align-self: end;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .17), rgba(255, 255, 255, .08)),
    rgba(15, 21, 20, .72);
  padding: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .38);
}

.hero-project-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--warm), rgba(255, 255, 255, .08));
}

.hero-project-card::after {
  content: "RO";
  position: absolute;
  right: -10px;
  bottom: -40px;
  color: rgba(255, 255, 255, .045);
  font-size: 132px;
  font-weight: 900;
  letter-spacing: -.08em;
  line-height: 1;
}

.hero-project-card h2 {
  position: relative;
  z-index: 1;
  font-size: 20px;
}

.hero-facts {
  position: relative;
  z-index: 1;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, .13);
  background: rgba(255, 255, 255, .13);
}

.hero-facts div {
  background: rgba(9, 13, 12, .52);
  padding: 16px;
}

.hero-facts dd {
  font-size: 14.5px;
}

.project-nav-strip {
  top: 78px;
  border-bottom-color: rgba(32, 40, 39, .12);
  background: rgba(247, 249, 248, .9);
  box-shadow: 0 12px 26px rgba(20, 24, 24, .05);
}

.project-nav-strip .container {
  justify-content: center;
  gap: 8px;
}

.project-nav-strip a {
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 0 16px;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.project-nav-strip a:hover {
  border-color: rgba(38, 58, 52, .18);
  color: var(--green-dark);
  background: var(--green-soft);
}

.detail-section {
  padding: clamp(72px, 8vw, 118px) 0;
}

.overview-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(232, 239, 235, .86), rgba(255, 255, 255, .82)),
    var(--white);
}

.overview-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(32, 40, 39, .045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(32, 40, 39, .035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 72%);
}

.detail-layout {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(280px, .76fr) minmax(0, 1.24fr);
  gap: clamp(38px, 6vw, 82px);
}

.section-title {
  max-width: 720px;
  color: #101514;
  font-size: clamp(34px, 4.6vw, 64px);
  font-weight: 900;
  line-height: .98;
  text-wrap: balance;
}

.section-copy {
  max-width: 520px;
}

.label {
  color: var(--green-dark);
}

.label::before {
  width: 42px;
  height: 2px;
  background: linear-gradient(90deg, var(--warm), currentColor);
}

.overview-table {
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.overview-table div {
  min-height: 128px;
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(32, 40, 39, .12);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(250, 251, 250, .92));
  padding: 20px;
  box-shadow: 0 18px 46px rgba(22, 29, 28, .08);
}

.overview-table div:nth-child(1),
.overview-table div:nth-child(5) {
  grid-column: span 6;
  min-height: 150px;
  background:
    linear-gradient(135deg, rgba(38, 58, 52, .96), rgba(32, 40, 39, .96));
}

.overview-table div:nth-child(1) dt,
.overview-table div:nth-child(5) dt {
  color: rgba(255, 255, 255, .52);
}

.overview-table div:nth-child(1) dd,
.overview-table div:nth-child(5) dd {
  color: var(--white);
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.08;
}

.overview-table dt {
  color: #7b8683;
}

.overview-table dd {
  font-size: 16px;
  line-height: 1.35;
}

.story-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 0%, rgba(216, 121, 51, .15), transparent 26%),
    linear-gradient(180deg, #111716, #1f2926);
  color: var(--white);
}

.story-section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .18), transparent);
}

.story-section .section-title,
.story-section .label {
  color: var(--white);
}

.story-section .label {
  color: #f5b47b;
}

.story-stack {
  position: relative;
  display: grid;
  gap: 22px;
}

.story-stack::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 30px;
  bottom: 30px;
  width: 1px;
  background: linear-gradient(180deg, var(--warm), rgba(255, 255, 255, .14));
}

.story-card {
  position: relative;
  z-index: 1;
  grid-template-columns: 58px minmax(142px, 190px) minmax(0, 1fr);
  align-items: stretch;
  gap: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 6px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .045)),
    rgba(255, 255, 255, .04);
  padding: 18px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
  backdrop-filter: blur(16px);
}

.story-number {
  width: 50px;
  height: 50px;
  align-self: start;
  border: 1px solid rgba(255, 255, 255, .22);
  color: #21150d;
  background: linear-gradient(135deg, #f5a45e, var(--warm));
  box-shadow: 0 14px 36px rgba(216, 121, 51, .32);
}

.story-card-media {
  position: relative;
  min-height: 220px;
  margin: 0;
  overflow: hidden;
  border-radius: 5px;
  background: rgba(255, 255, 255, .08);
}

.story-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.92) contrast(1.04);
}

.story-card-media figcaption {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border-radius: 4px;
  padding: 8px 10px;
  color: rgba(255, 255, 255, .86);
  background: rgba(8, 11, 10, .72);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
}

.story-card h3 {
  color: var(--white);
}

.story-card p {
  color: rgba(255, 255, 255, .72);
}

.scope-section {
  background:
    linear-gradient(180deg, #f8faf8, #eff3f1);
}

.scope-panel {
  grid-template-columns: minmax(260px, .65fr) minmax(0, 1.35fr);
  gap: clamp(34px, 5vw, 70px);
}

.scope-panel > div:first-child {
  position: sticky;
  top: 150px;
}

.scope-list {
  counter-reset: scope;
  gap: 12px;
  border: 0;
  background: transparent;
}

.scope-list li {
  counter-increment: scope;
  position: relative;
  min-height: 118px;
  align-items: flex-start;
  border: 1px solid rgba(32, 40, 39, .12);
  border-radius: 6px;
  color: #26302e;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(247, 249, 248, .94));
  padding: 22px 22px 22px 72px;
  box-shadow: 0 16px 38px rgba(22, 29, 28, .07);
}

.scope-list li::before {
  content: counter(scope, decimal-leading-zero);
  position: absolute;
  left: 18px;
  top: 20px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  color: #1f130a;
  background: var(--warm);
  font-size: 12px;
  font-weight: 900;
}

.gallery-band {
  position: relative;
  overflow: hidden;
  border-block: 0;
  background:
    linear-gradient(180deg, #101514, #1f2926);
}

.gallery-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 12%, rgba(216, 121, 51, .16), transparent 28%),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: auto, 80px 80px;
  pointer-events: none;
}

.gallery-band .container {
  position: relative;
  z-index: 1;
}

.gallery-band .label {
  color: #f5b47b;
}

.gallery-band .section-title {
  color: var(--white);
}

.photo-notes {
  border-color: rgba(255, 255, 255, .12);
  border-radius: 6px;
  color: var(--white);
  background: rgba(255, 255, 255, .06);
  box-shadow: none;
}

.photo-notes h3 {
  color: var(--white);
}

.photo-notes li {
  color: rgba(255, 255, 255, .68);
}

.gallery-grid {
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}

.gallery-grid figure {
  position: relative;
  grid-column: span 4;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 6px;
  background: #0c1110;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .22);
  cursor: zoom-in;
}

.gallery-grid figure:nth-child(1) {
  grid-column: span 6;
  grid-row: span 2;
}

.gallery-grid figure:nth-child(2),
.gallery-grid figure:nth-child(5),
.gallery-grid figure:nth-child(8) {
  grid-column: span 6;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .45s ease, filter .45s ease;
}

.gallery-grid figure:nth-child(1) img {
  aspect-ratio: 16 / 12;
}

.gallery-grid figure:hover img {
  filter: saturate(1.04) contrast(1.06);
  transform: scale(1.04);
}

.gallery-grid figcaption {
  min-height: auto;
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 5px;
  padding: 10px 12px;
  color: rgba(255, 255, 255, .9);
  background: rgba(8, 11, 10, .72);
  backdrop-filter: blur(12px);
  transform: translateY(4px);
  transition: opacity .2s ease, transform .2s ease;
}

.gallery-grid figure:hover figcaption {
  transform: translateY(0);
}

.project-cta {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(38, 58, 52, .98), rgba(13, 18, 17, .98));
}

.project-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 20%, rgba(216, 121, 51, .18), transparent 28%),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: auto, 74px 74px;
  pointer-events: none;
}

.project-cta .container {
  position: relative;
  z-index: 1;
}

.project-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  grid-template-rows: 56px minmax(0, 1fr) auto;
  gap: 14px;
  padding: max(18px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
  color: var(--white);
  background: rgba(4, 6, 6, .92);
  backdrop-filter: blur(18px);
}

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

html.lightbox-open,
html.lightbox-open body {
  overflow: hidden;
}

.project-lightbox__close,
.project-lightbox__prev,
.project-lightbox__next {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, .08);
  font-size: 26px;
  font-weight: 700;
  cursor: pointer;
}

.project-lightbox__close {
  grid-column: 3;
  justify-self: end;
}

.project-lightbox__prev,
.project-lightbox__next {
  align-self: center;
}

.project-lightbox__prev {
  grid-row: 2;
  grid-column: 1;
}

.project-lightbox__next {
  grid-row: 2;
  grid-column: 3;
}

.project-lightbox__figure {
  grid-row: 2;
  grid-column: 2;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  margin: 0;
}

.project-lightbox__figure img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 6px;
  object-fit: contain;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .5);
}

.project-lightbox__figure figcaption {
  max-width: 860px;
  margin-top: 14px;
  color: rgba(255, 255, 255, .76);
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 1020px) {
  .project-hero,
  .project-hero .hero-project-grid {
    min-height: auto;
  }

  .project-hero .hero-project-grid {
    grid-template-columns: 1fr;
    padding: 96px 0 54px;
  }

  .hero-main::before {
    display: none;
  }

  .project-nav-strip {
    top: 66px;
  }

  .project-nav-strip .container {
    justify-content: flex-start;
  }

  .detail-layout,
  .scope-panel {
    grid-template-columns: 1fr;
  }

  .scope-panel > div:first-child {
    position: static;
  }

  .overview-table div,
  .overview-table div:nth-child(1),
  .overview-table div:nth-child(5) {
    grid-column: span 6;
  }

  .story-card {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .story-card-media {
    grid-column: 1 / -1;
    order: 3;
    min-height: 260px;
  }

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

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

  .gallery-grid figure,
  .gallery-grid figure:nth-child(1),
  .gallery-grid figure:nth-child(2),
  .gallery-grid figure:nth-child(5),
  .gallery-grid figure:nth-child(8) {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1280px);
  }

  .project-hero .hero-project-grid {
    padding: 74px 0 34px;
  }

  .hero-title {
    font-size: clamp(42px, 16vw, 68px);
  }

  .hero-eyebrow span {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero-actions .button,
  .project-contact-actions .button {
    width: 100%;
  }

  .hero-project-card {
    padding: 20px;
  }

  .project-nav-strip {
    position: static;
  }

  .detail-section {
    padding: 64px 0;
  }

  .overview-table {
    grid-template-columns: 1fr;
  }

  .overview-table div,
  .overview-table div:nth-child(1),
  .overview-table div:nth-child(5) {
    grid-column: auto;
    min-height: 110px;
  }

  .story-stack::before {
    display: none;
  }

  .story-card {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .story-card-media {
    order: 0;
    min-height: 220px;
  }

  .photo-notes ul,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid figcaption {
    position: static;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
    border-radius: 0;
    background: rgba(255, 255, 255, .06);
    transform: none;
  }

  .project-lightbox {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    grid-template-rows: 48px minmax(0, 1fr) auto;
    gap: 8px;
    padding: 12px;
  }

  .project-lightbox__close,
  .project-lightbox__prev,
  .project-lightbox__next {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }
}
