:root {
  --ink: #121615;
  --ink-soft: #2d3431;
  --paper: #f7f8f5;
  --paper-strong: #ffffff;
  --stone: #e3e8e3;
  --steel: #285c66;
  --moss: #3e604e;
  --wood: #9a632b;
  --wood-dark: #6f421d;
  --copper: #bf6a45;
  --line: rgba(18, 22, 21, 0.14);
  --shadow: 0 22px 70px rgba(18, 22, 21, 0.16);
  --radius: 8px;
  --header-h: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  background: var(--ink);
  color: var(--paper-strong);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

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

.section {
  padding: 96px 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  color: var(--paper-strong);
  transition: background 220ms ease, box-shadow 220ms ease, color 220ms ease, border-color 220ms ease;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.site-header.scrolled,
.site-header.solid {
  background: rgba(247, 248, 245, 0.94);
  color: var(--ink);
  box-shadow: 0 16px 50px rgba(18, 22, 21, 0.1);
  backdrop-filter: blur(16px);
}

.site-header.scrolled::after,
.site-header.solid::after {
  background: var(--line);
}

.brand {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  width: 140px;
  min-height: 36px;
}

.brand img {
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
  transition: filter 220ms ease, opacity 220ms ease;
}

.site-header.scrolled .brand img,
.site-header.solid .brand img,
.nav-open .brand img {
  filter: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: var(--radius);
  color: currentColor;
  font-weight: 700;
  font-size: 0.92rem;
}

.site-nav a:hover,
.site-nav a.active {
  background: rgba(154, 99, 43, 0.14);
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  background: transparent;
  color: currentColor;
}

.nav-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease, top 180ms ease;
}

.nav-toggle span:first-child {
  top: 16px;
}

.nav-toggle span:last-child {
  top: 25px;
}

.nav-open .nav-toggle span:first-child {
  top: 21px;
  transform: rotate(45deg);
}

.nav-open .nav-toggle span:last-child {
  top: 21px;
  transform: rotate(-45deg);
}

.hero-scroll {
  position: relative;
  height: 245vh;
  min-height: 1500px;
  background: #111615;
}

.hero-sticky {
  position: sticky;
  top: 0;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.hero-3d {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(90deg, rgba(5, 8, 7, 0.88) 0%, rgba(5, 8, 7, 0.58) 30%, rgba(5, 8, 7, 0.12) 60%, rgba(5, 8, 7, 0.08) 100%),
    linear-gradient(180deg, rgba(5, 8, 7, 0.42) 0%, rgba(5, 8, 7, 0.06) 52%, rgba(5, 8, 7, 0.38) 100%),
    url("assets/hero-realistic-bg.jpg") center/cover;
}

.build-scene-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  outline: none;
}

.scene-depth {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 10, 9, 0.7), rgba(7, 10, 9, 0.26) 38%, transparent 68%),
    linear-gradient(180deg, rgba(7, 10, 9, 0.24) 0%, rgba(7, 10, 9, 0) 48%, rgba(7, 10, 9, 0.24) 100%);
  pointer-events: none;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(6, 9, 8, 0.82), rgba(6, 9, 8, 0.4) 36%, rgba(6, 9, 8, 0.04) 70%),
    linear-gradient(180deg, rgba(6, 9, 8, 0.42) 0%, rgba(6, 9, 8, 0.02) 42%, rgba(6, 9, 8, 0.28) 100%);
  pointer-events: none;
}

.hero-copy {
  position: absolute;
  z-index: 2;
  left: max(32px, calc((100vw - 1120px) / 2));
  top: 19%;
  width: min(510px, calc(100% - 64px));
  color: var(--paper-strong);
  text-align: left;
}

.eyebrow {
  margin: 0 0 16px;
  color: #d7e8df;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.eyebrow.dark {
  color: var(--moss);
}

.hero-copy h1,
.page-hero h1 {
  margin: 0;
  line-height: 0.98;
  font-size: 4.05rem;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-copy p:not(.eyebrow) {
  max-width: 480px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
  margin-top: 26px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 850;
  font-size: 0.96rem;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--wood);
  color: #fff;
  box-shadow: 0 16px 40px rgba(111, 66, 29, 0.26);
}

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

.btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.08);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.build-progress {
  position: absolute;
  z-index: 2;
  left: max(32px, calc((100vw - 1120px) / 2));
  right: max(32px, calc((100vw - 1120px) / 2));
  bottom: 28px;
  color: #fff;
}

.build-meter {
  height: 3px;
  background: rgba(255, 255, 255, 0.24);
  overflow: hidden;
}

.build-meter span {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--copper);
  transition: width 80ms linear;
}

.build-progress ol {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.build-progress li {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
  text-align: center;
}

.build-progress li.active {
  color: #fff;
}

.story-scroll {
  position: relative;
  height: 250vh;
  min-height: 1680px;
  color: #fff;
  background: #090d0c;
}

.story-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 680px;
  overflow: hidden;
  isolation: isolate;
}

.story-media,
.story-frame,
.story-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.story-media {
  z-index: -2;
  background: #111615;
}

.story-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  background:
    linear-gradient(90deg, rgba(6, 9, 8, 0.96) 0%, rgba(6, 9, 8, 0.82) 28%, rgba(6, 9, 8, 0.28) 58%, rgba(6, 9, 8, 0.08) 100%),
    linear-gradient(180deg, rgba(6, 9, 8, 0.34) 0%, transparent 45%, rgba(6, 9, 8, 0.58) 100%);
  pointer-events: none;
}

.story-frame {
  margin: 0;
  opacity: 1;
  clip-path: inset(0 0 0 100%);
  transform: scale(1.025);
  transform-origin: center;
  will-change: clip-path, transform;
}

.story-frame.is-active:first-child,
.story-frame:first-child {
  opacity: 1;
  clip-path: inset(0);
}

.story-frame:nth-child(1) { z-index: 1; }
.story-frame:nth-child(2) { z-index: 2; }
.story-frame:nth-child(3) { z-index: 3; }

.story-frame img {
  max-width: none;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.03);
}

.story-frame:nth-child(1) img {
  object-position: center 52%;
}

.story-frame:nth-child(2) img {
  object-position: center 55%;
}

.story-frame:nth-child(3) img {
  object-position: center 58%;
}

.story-wipe {
  position: absolute;
  z-index: 5;
  top: 0;
  bottom: 0;
  left: 100%;
  width: 2px;
  background: var(--copper);
  box-shadow: 0 0 26px rgba(191, 106, 69, 0.5);
  opacity: 0;
}

.story-content {
  position: absolute;
  z-index: 3;
  left: max(32px, calc((100vw - 1120px) / 2));
  top: 18%;
  width: min(540px, calc(100% - 64px));
}

.story-content h1 {
  max-width: 540px;
  margin: 0;
  font-size: 3.72rem;
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: 0;
}

.story-content > p:not(.eyebrow) {
  max-width: 500px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
}

.story-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.story-specs li {
  position: relative;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.story-specs li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -10px;
  width: 3px;
  height: 3px;
  background: var(--copper);
  transform: translateY(-50%);
}

.story-detail {
  position: absolute;
  z-index: 2;
  top: 19%;
  right: max(56px, calc((100vw - 1120px) / 2));
  width: min(292px, 22vw);
  height: min(470px, 56vh);
  background: #121615;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}

.story-detail::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 18px -18px -18px 18px;
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.story-detail figure,
.story-detail img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.story-detail figure {
  margin: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 420ms ease;
}

.story-detail figure.is-active {
  opacity: 1;
}

.story-detail img {
  max-width: none;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
}

.story-detail > span {
  position: absolute;
  right: -38px;
  bottom: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.story-phase {
  position: absolute;
  z-index: 3;
  top: 12%;
  right: max(32px, calc((100vw - 1120px) / 2));
  width: 230px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding-left: 18px;
  border-left: 2px solid var(--copper);
  text-transform: uppercase;
}

.story-phase span {
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 900;
}

.story-phase strong {
  font-size: 0.82rem;
  line-height: 1.25;
}

.story-timeline {
  position: absolute;
  z-index: 3;
  left: max(32px, calc((100vw - 1120px) / 2));
  right: max(32px, calc((100vw - 1120px) / 2));
  bottom: 28px;
}

.story-meter {
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.28);
}

.story-meter span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--copper);
}

.story-timeline ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
}

.story-timeline li {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.76rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.story-timeline li.active {
  color: #fff;
}

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

.intro-grid,
.split-layout,
.contact-layout,
.page-hero-grid,
.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 48px;
  align-items: start;
}

.intro-grid h2,
.section-heading h2,
.split-layout h2,
.contact-layout h2,
.final-cta h2,
.contact-info h2 {
  margin: 0;
  font-size: 2.75rem;
  line-height: 1.04;
  letter-spacing: 0;
}

.intro-grid p:last-child,
.split-layout p,
.contact-layout p,
.page-hero-grid > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

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

.service-strip,
.service-grid,
.process-grid,
.gallery-grid {
  display: grid;
  gap: 18px;
}

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

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

.service-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
  box-shadow: 0 12px 42px rgba(18, 22, 21, 0.07);
}

.service-card.large {
  min-height: 380px;
}

.service-index {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 42px;
  color: var(--wood);
  font-weight: 900;
  font-size: 0.84rem;
}

.service-card h2,
.service-card h3 {
  margin: 0 0 14px;
  font-size: 1.55rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.service-card p,
.service-card li {
  color: var(--ink-soft);
}

.service-card ul {
  margin: 22px 0 0;
  padding-left: 1.2rem;
}

.inline-cta {
  margin-top: 28px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--wood-dark);
  font-weight: 900;
  border-bottom: 2px solid currentColor;
}

.gallery-teaser {
  background: #eef2ef;
}

.split-layout {
  align-items: center;
}

.split-layout .btn {
  margin-top: 28px;
}

.teaser-mosaic {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 12px;
  align-items: stretch;
}

.teaser-mosaic img {
  width: 100%;
  min-height: 190px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.teaser-mosaic img:first-child {
  grid-row: span 2;
  min-height: 410px;
}

.contact-band {
  background: var(--ink);
  color: #fff;
}

.contact-band p {
  color: rgba(255, 255, 255, 0.72);
}

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

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

.contact-form label:has(textarea),
.contact-form .btn,
.form-feedback {
  grid-column: 1 / -1;
}

.contact-form span {
  color: inherit;
  font-weight: 800;
  font-size: 0.86rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  min-height: 48px;
  padding: 0.82rem 0.9rem;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
  min-height: 132px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(191, 106, 69, 0.22);
}

.contact-form option {
  color: var(--ink);
}

.form-feedback {
  min-height: 24px;
  margin: 0;
  color: #d7e8df;
  font-weight: 800;
}

.site-footer {
  padding: 64px 0 28px;
  background: #0e1211;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.6fr;
  gap: 42px;
}

.footer-logo {
  width: 188px;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}

.site-footer p,
.site-footer a,
.footer-bottom {
  color: rgba(255, 255, 255, 0.68);
}

.site-footer h2 {
  margin: 0 0 14px;
  font-size: 1rem;
}

.site-footer a {
  display: block;
  margin: 8px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 48px;
  padding-top: 22px;
  font-size: 0.88rem;
}

.site-footer .agency-credit {
  display: inline;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.site-footer .agency-credit:hover,
.site-footer .agency-credit:focus-visible {
  color: #fff;
  text-decoration-color: currentColor;
}

.page-hero {
  min-height: 470px;
  display: flex;
  align-items: end;
  padding: 140px 0 82px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(13, 18, 17, 0.92), rgba(13, 18, 17, 0.48)),
    linear-gradient(135deg, #17221f 0%, #285c66 45%, #9a632b 100%);
}

.page-hero h1 {
  font-size: 4.1rem;
}

.page-hero-grid {
  align-items: end;
}

.page-hero-grid > p {
  color: rgba(255, 255, 255, 0.78);
}

.services-hero {
  background:
    linear-gradient(90deg, rgba(13, 18, 17, 0.92), rgba(13, 18, 17, 0.38)),
    url("assets/project-roof-real.jpg") center/cover;
}

.gallery-hero {
  background:
    linear-gradient(90deg, rgba(13, 18, 17, 0.9), rgba(13, 18, 17, 0.36)),
    url("assets/project-deck-real.jpg") center/cover;
}

.contact-hero {
  background:
    linear-gradient(90deg, rgba(13, 18, 17, 0.92), rgba(13, 18, 17, 0.36)),
    url("assets/project-facade-real.jpg") center/cover;
}

.process-band {
  color: #fff;
  background: var(--steel);
}

.process-band .eyebrow {
  color: #d7e8df;
}

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

.process-grid article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
}

.process-grid span {
  color: #d7e8df;
  font-weight: 900;
}

.process-grid h3 {
  margin: 38px 0 10px;
  font-size: 1.28rem;
}

.process-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.final-cta {
  padding: 72px 0;
  background: var(--paper-strong);
}

.final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-btn {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
  color: var(--ink);
  font-weight: 850;
}

.filter-btn.active,
.filter-btn:hover {
  color: #fff;
  border-color: var(--moss);
  background: var(--moss);
}

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

.gallery-item {
  position: relative;
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
  cursor: pointer;
  box-shadow: 0 18px 46px rgba(18, 22, 21, 0.12);
}

.gallery-item[hidden] {
  display: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  transition: transform 360ms ease, filter 360ms ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: saturate(1.08);
}

.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 54px 20px 20px;
  color: #fff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.82));
}

.gallery-item span {
  display: block;
  margin-bottom: 5px;
  color: #d7e8df;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gallery-item strong {
  font-size: 1.18rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(10, 13, 12, 0.92);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  width: min(980px, 100%);
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius);
  background: #fff;
}

.lightbox p {
  margin: 16px 0 0;
  color: #fff;
  font-weight: 850;
}

.lightbox-close {
  position: fixed;
  top: 22px;
  right: 22px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius);
  background: transparent;
}

.lightbox-close::before,
.lightbox-close::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 22px;
  height: 2px;
  background: #fff;
}

.lightbox-close::before {
  transform: rotate(45deg);
}

.lightbox-close::after {
  transform: rotate(-45deg);
}

.contact-page-section {
  background: #eef2ef;
}

.contact-page-grid {
  grid-template-columns: 0.8fr 1.2fr;
}

.contact-info {
  display: grid;
  gap: 12px;
}

.contact-info p {
  margin: 0;
  color: var(--ink-soft);
}

.contact-note {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
}

.contact-note strong,
.contact-note span {
  display: block;
}

.contact-note span {
  margin-top: 8px;
  color: var(--ink-soft);
}

.contact-form.elevated {
  padding: 28px;
  background: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.load-gate {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(8, 10, 9, 0.96), rgba(8, 10, 9, 0.66)),
    url("assets/hero-realistic-bg.jpg") center/cover;
  transition: opacity 420ms ease, visibility 420ms ease, transform 420ms ease;
}

.load-gate.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.02);
}

.load-gate-button {
  display: grid;
  justify-items: center;
  gap: 18px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: center;
  text-transform: uppercase;
}

.load-logo-build {
  position: relative;
  width: 104px;
  height: 104px;
  overflow: hidden;
}

.load-logo-build::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.14);
  -webkit-mask: url("assets/logo-original.png") left center / auto 100% no-repeat;
  mask: url("assets/logo-original.png") left center / auto 100% no-repeat;
}

.load-logo-build img {
  position: absolute;
  inset: 0 auto 0 0;
  width: auto;
  height: 100%;
  max-width: none;
  filter: brightness(0) invert(1);
  clip-path: inset(100% 0 0 0);
  animation: build-logo 1.35s cubic-bezier(0.55, 0, 0.2, 1) forwards;
}

.load-logo-build i {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  top: 100%;
  height: 2px;
  background: var(--copper);
  box-shadow: 0 0 18px rgba(191, 106, 69, 0.8);
  animation: build-scan 1.35s cubic-bezier(0.55, 0, 0.2, 1) forwards;
}

.load-gate-button strong {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

@keyframes build-logo {
  from { clip-path: inset(100% 0 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

@keyframes build-scan {
  from { top: 100%; }
  to { top: 0; }
}

.vertical-drive {
  position: absolute;
  z-index: 3;
  left: 28px;
  bottom: 132px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.hero-meta {
  position: absolute;
  z-index: 3;
  right: max(32px, calc((100vw - 1120px) / 2));
  top: 18%;
  display: none;
  justify-items: end;
  gap: 6px;
  color: #fff;
  text-align: right;
  text-transform: uppercase;
}

.hero-meta span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.hero-meta strong {
  width: min(280px, 32vw);
  font-size: 1.25rem;
  line-height: 0.96;
  font-weight: 950;
}

body[data-page="home"] .hero-copy {
  top: 19%;
  width: min(510px, calc(100% - 64px));
}

body[data-page="home"] .hero-copy h1 {
  font-size: 4.4rem;
  line-height: 0.9;
  text-transform: uppercase;
}

body[data-page="home"] .hero-copy p:not(.eyebrow) {
  max-width: 430px;
  font-size: 1.05rem;
}

.manifesto-section {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  background: #ebe8df;
}

.manifesto-section::before {
  content: "BRUNO";
  position: absolute;
  left: -0.05em;
  top: -0.2em;
  color: rgba(18, 22, 21, 0.055);
  font-size: 16rem;
  line-height: 1;
  font-weight: 950;
  pointer-events: none;
}

.manifesto-grid {
  position: relative;
  z-index: 1;
  display: block;
}

.manifesto-copy {
  width: min(820px, 100%);
  margin-inline: auto;
  text-align: center;
}

.manifesto-copy h2 {
  margin: 0;
  font-size: 3.45rem;
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: 0;
}

.manifesto-copy p:not(.eyebrow) {
  max-width: 520px;
  margin: 24px auto 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.manifesto-collage {
  position: relative;
  width: min(980px, 100%);
  min-height: 560px;
  margin: 64px auto 0;
}

.collage-card {
  position: absolute;
  width: 46%;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 26px 70px rgba(18, 22, 21, 0.24);
}

.collage-card.tall {
  left: 8%;
  top: 8%;
  width: 54%;
}

.collage-card:not(.tall):not(.offset) {
  right: 7%;
  top: 0;
}

.collage-card.offset {
  right: 18%;
  bottom: 0;
  width: 52%;
}

.collage-card img {
  width: 100%;
  height: 310px;
  object-fit: cover;
}

.collage-card.tall img {
  height: 430px;
}

.collage-card figcaption {
  padding: 14px 16px;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.track-section {
  padding-top: 0;
  color: #fff;
  background: #070908;
}

.track-heading {
  padding: 90px 0 38px;
  text-align: center;
}

.track-heading h2 {
  max-width: 760px;
  margin: 0 auto;
  font-size: 4.2rem;
  line-height: 0.94;
  font-weight: 900;
  text-transform: uppercase;
}

.track-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.track-panel {
  position: relative;
  min-height: 78svh;
  display: grid;
  align-content: end;
  gap: 16px;
  overflow: hidden;
  padding: min(8vw, 86px);
  color: #fff;
  isolation: isolate;
}

.track-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.76)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.02));
}

.track-panel img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 520ms ease;
}

.track-panel:hover img {
  transform: scale(1.08);
}

.track-panel span {
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.18em;
}

.track-panel h3 {
  margin: 0;
  font-size: 5.5rem;
  line-height: 0.88;
  font-weight: 950;
}

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

.hall-section {
  overflow: hidden;
  background: var(--paper);
}

.hall-heading {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 20px;
  text-align: center;
  margin-bottom: 38px;
}

.hall-heading .eyebrow {
  grid-column: 1 / -1;
}

.hall-heading h2 {
  margin: 0;
  font-size: 5.6rem;
  line-height: 0.9;
  font-weight: 900;
  text-transform: uppercase;
}

.hall-heading h2 span {
  display: inline;
}

.work-rail {
  width: 100%;
  overflow: hidden;
  padding: 0;
}

.work-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: work-marquee 34s linear infinite;
}

.work-sequence {
  display: flex;
  gap: 18px;
  padding-right: 18px;
}

.work-rail:hover .work-track,
.work-rail:focus-within .work-track {
  animation-play-state: paused;
}

.work-rail figure {
  position: relative;
  flex: 0 0 min(520px, 72vw);
  width: min(520px, 72vw);
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}

.work-rail img {
  width: 100%;
  height: 520px;
  max-width: none;
  object-fit: cover;
  filter: saturate(1.06) contrast(1.02);
}

.work-rail figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@keyframes work-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

.budget-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8, 10, 9, 0.92), rgba(8, 10, 9, 0.76)),
    url("assets/hero-realistic-bg.jpg") center/cover;
}

.budget-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  gap: 64px;
  align-items: start;
}

.budget-copy h2 {
  margin: 0;
  font-size: 4.5rem;
  line-height: 0.94;
  font-weight: 900;
  text-transform: uppercase;
}

.budget-copy p:not(.eyebrow) {
  max-width: 520px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.74);
}

@media (max-width: 1200px) {
  body[data-page="home"] .hero-copy h1 {
    font-size: 4.1rem;
  }
}

@media (max-width: 980px) {
  :root {
    --header-h: 70px;
  }

  .site-header {
    padding: 0 20px;
  }

  .site-header::after {
    left: 20px;
    right: 20px;
  }

  .brand {
    width: 132px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 10px;
    background: rgba(247, 248, 245, 0.98);
    color: var(--ink);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-100%);
    visibility: hidden;
    transition: transform 220ms ease, opacity 220ms ease, visibility 220ms ease;
  }

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

  .site-nav a {
    width: min(340px, calc(100% - 48px));
    min-height: 56px;
    justify-content: center;
    font-size: 1.18rem;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: 3.1rem;
  }

  .hero-copy {
    top: 17%;
  }

  .intro-grid,
  .split-layout,
  .contact-layout,
  .page-hero-grid,
  .contact-page-grid {
    grid-template-columns: 1fr;
  }

  .service-strip,
  .service-grid,
  .process-grid,
  .gallery-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .teaser-mosaic img:first-child {
    min-height: 320px;
  }

  .final-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .section {
    padding: 72px 0;
  }

  .hero-scroll {
    min-height: 1320px;
  }

  .hero-copy {
    left: 50%;
    width: calc(100% - 36px);
    top: 16%;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: 2.34rem;
    line-height: 1;
  }

  .hero-copy p:not(.eyebrow),
  .intro-grid p:last-child,
  .split-layout p,
  .contact-layout p,
  .page-hero-grid > p {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .build-progress {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .build-progress ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-grid h2,
  .section-heading h2,
  .split-layout h2,
  .contact-layout h2,
  .final-cta h2,
  .contact-info h2 {
    font-size: 2.12rem;
  }

  .service-strip,
  .service-grid,
  .process-grid,
  .gallery-grid,
  .footer-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card.large {
    min-height: auto;
    padding: 22px;
  }

  .service-index {
    margin-bottom: 28px;
  }

  .teaser-mosaic {
    grid-template-columns: 1fr;
  }

  .teaser-mosaic img,
  .teaser-mosaic img:first-child {
    min-height: 230px;
  }

  .page-hero {
    min-height: 440px;
    padding: 126px 0 58px;
  }

  .gallery-item,
  .gallery-item img {
    min-height: 310px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 980px) {
  .vertical-drive,
  .hero-meta {
    display: none;
  }

  body[data-page="home"] .hero-copy {
    left: 50%;
    top: 12%;
    width: min(620px, calc(100% - 40px));
    transform: translateX(-50%);
    text-align: center;
  }

  body[data-page="home"] .hero-copy h1 {
    font-size: 4rem;
  }

  body[data-page="home"] .hero-copy p:not(.eyebrow) {
    margin-inline: auto;
  }

  body[data-page="home"] .hero-actions {
    justify-content: center;
  }

  .manifesto-grid,
  .budget-layout {
    grid-template-columns: 1fr;
  }

  .manifesto-collage {
    min-height: 560px;
  }

  .track-panels {
    grid-template-columns: 1fr;
  }

  .track-panel {
    min-height: 62svh;
  }

  .hall-heading {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .load-logo-build {
    width: 86px;
    height: 86px;
  }

  body[data-page="home"] .hero-copy {
    top: 13%;
    left: 18px;
    right: 18px;
    width: auto;
    transform: none;
  }

  body[data-page="home"] .hero-copy h1 {
    font-size: 2.68rem;
    line-height: 0.9;
  }

  body[data-page="home"] .hero-copy p:not(.eyebrow) {
    max-width: 284px;
  }

  body[data-page="home"] .hero-actions {
    width: min(100%, 340px);
    margin-inline: auto;
  }

  .build-progress li {
    font-size: 0.72rem;
  }

  .manifesto-section::before {
    font-size: 34vw;
  }

  .manifesto-copy h2,
  .track-heading h2,
  .budget-copy h2 {
    font-size: 2.65rem;
    line-height: 1;
  }

  .manifesto-collage {
    min-height: auto;
    display: grid;
    gap: 14px;
  }

  .collage-card,
  .collage-card.tall,
  .collage-card:not(.tall):not(.offset),
  .collage-card.offset {
    position: relative;
    inset: auto;
    width: 100%;
  }

  .collage-card img,
  .collage-card.tall img {
    height: 280px;
  }

  .track-panel {
    min-height: 520px;
    padding: 28px;
  }

  .track-panel h3 {
    font-size: 4rem;
  }

  .hall-heading h2 {
    font-size: 3.75rem;
  }

  .work-rail figure {
    min-height: 400px;
  }

  .work-rail img {
    height: 400px;
  }
}

@media (max-width: 360px) {
  body[data-page="home"] .hero-copy h1 {
    font-size: 2.42rem;
  }
}

@media (max-width: 980px) {
  .story-scroll {
    height: 230vh;
    min-height: 1500px;
  }

  .story-media::after {
    background:
      linear-gradient(90deg, rgba(6, 9, 8, 0.88), rgba(6, 9, 8, 0.52) 58%, rgba(6, 9, 8, 0.24)),
      linear-gradient(180deg, rgba(6, 9, 8, 0.48), transparent 42%, rgba(6, 9, 8, 0.68));
  }

  .story-content {
    left: 20px;
    top: 16%;
    width: min(560px, calc(100% - 40px));
  }

  .story-content h1 {
    font-size: 3.2rem;
  }

  .story-content .hero-actions {
    justify-content: flex-start;
  }

  .story-phase,
  .story-detail {
    display: none;
  }

  .story-timeline {
    left: 20px;
    right: 20px;
    bottom: 20px;
  }
}

@media (max-width: 680px) {
  .story-scroll {
    height: 220vh;
    min-height: 1380px;
  }

  .story-sticky {
    min-height: 620px;
  }

  .story-content {
    left: 18px;
    top: 14%;
    width: calc(100% - 36px);
  }

  .story-content h1 {
    max-width: 360px;
    font-size: 2.5rem;
    line-height: 0.98;
  }

  .story-content > p:not(.eyebrow) {
    max-width: 340px;
    margin-top: 18px;
    font-size: 0.96rem;
  }

  .story-content .hero-actions {
    width: 100%;
    margin: 22px 0 0;
    align-items: stretch;
  }

  .story-specs {
    display: none;
  }

  .story-frame img {
    object-position: 58% center;
  }

  .story-timeline {
    left: 18px;
    right: 18px;
    bottom: 16px;
  }

  .story-timeline li {
    font-size: 0.68rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .load-logo-build img,
  .load-logo-build i {
    animation-duration: 1ms;
  }

  .work-track {
    animation: none;
  }

  .story-detail figure {
    transition: none;
  }
}

/* Premium architectural direction */
:root {
  --ink: #121411;
  --ink-soft: #555b55;
  --paper: #f1efe9;
  --paper-strong: #fbfaf6;
  --stone: #d9ddd6;
  --steel: #263833;
  --moss: #5e7064;
  --wood: #a66631;
  --wood-dark: #75441f;
  --copper: #c07a45;
  --line: rgba(18, 20, 17, 0.16);
  --shadow: 0 28px 80px rgba(18, 20, 17, 0.13);
  --radius: 3px;
  --header-h: 78px;
}

body {
  color: var(--ink);
  background: var(--paper);
}

.container {
  width: min(1180px, calc(100% - 64px));
}

.section {
  padding: 118px 0;
}

.site-header {
  height: var(--header-h);
  padding: 0 42px;
}

.site-header::after {
  left: 42px;
  right: 42px;
}

.brand {
  width: 126px;
}

.site-nav {
  gap: 22px;
}

.site-nav a {
  position: relative;
  min-height: 44px;
  padding: 0;
  border-radius: 0;
  font-size: 0.83rem;
  text-transform: uppercase;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 5px;
  height: 1px;
  background: currentColor;
  transition: right 200ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  background: transparent;
}

.site-nav a:hover::after,
.site-nav a.active::after {
  right: 0;
}

.site-header.solid:not(.scrolled) {
  color: #fff;
  background: rgba(12, 14, 12, 0.52);
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.site-header.solid:not(.scrolled)::after {
  background: rgba(255, 255, 255, 0.22);
}

.site-header.solid:not(.scrolled) .brand img {
  filter: brightness(0) invert(1);
}

.site-header.scrolled,
.site-header.solid.scrolled {
  background: rgba(251, 250, 246, 0.94);
}

.eyebrow {
  margin-bottom: 18px;
  color: #e0b78f;
  font-size: 0.7rem;
  font-weight: 800;
}

.eyebrow.dark {
  color: var(--wood-dark);
}

.btn {
  min-height: 52px;
  padding: 0 22px;
  border-radius: 2px;
  font-size: 0.86rem;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--wood);
  box-shadow: none;
}

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

.story-media::after {
  background: rgba(6, 8, 7, 0.28);
  box-shadow:
    inset 620px 0 190px rgba(6, 8, 7, 0.76),
    inset 0 -150px 110px rgba(6, 8, 7, 0.42);
}

.story-content {
  width: min(510px, calc(100% - 64px));
}

.story-content h1,
.page-hero h1,
.manifesto-copy h2,
.track-heading h2,
.track-panel h3,
.hall-heading h2,
.budget-copy h2,
.section-heading h2,
.service-copy h2,
.contact-info h2,
.form-heading h2,
.final-cta h2 {
  font-family: "Bodoni MT", Didot, Georgia, serif;
  font-weight: 700;
}

.story-content h1 {
  max-width: 500px;
  font-size: 3.62rem;
  line-height: 0.98;
}

.story-content > p:not(.eyebrow) {
  max-width: 440px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1rem;
}

.story-detail {
  width: min(278px, 21vw);
  height: min(452px, 54vh);
}

.story-phase {
  width: 244px;
}

.manifesto-section {
  background: var(--paper);
}

.manifesto-section::before {
  color: rgba(18, 20, 17, 0.045);
  font-family: "Bodoni MT", Didot, Georgia, serif;
  font-weight: 700;
}

.manifesto-copy {
  width: min(900px, 100%);
}

.manifesto-copy h2 {
  font-size: 3.7rem;
  line-height: 1.02;
}

.manifesto-copy p:not(.eyebrow) {
  max-width: 610px;
  line-height: 1.75;
}

.manifesto-collage {
  min-height: 620px;
  margin-top: 76px;
}

.collage-card {
  box-shadow: 0 24px 74px rgba(18, 20, 17, 0.17);
}

.collage-card figcaption {
  padding: 16px 18px;
  background: #151814;
  font-size: 0.68rem;
}

.track-section {
  background: #111410;
}

.track-heading {
  padding: 112px 0 48px;
}

.track-heading h2 {
  max-width: 780px;
  font-size: 3.9rem;
  line-height: 1;
  text-transform: none;
}

.track-panel {
  min-height: 74svh;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.track-panel + .track-panel {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.track-panel h3 {
  font-size: 4.8rem;
  font-style: italic;
  font-weight: 700;
}

.track-panel p {
  line-height: 1.7;
}

.hall-section {
  background: var(--paper-strong);
}

.hall-heading {
  margin-bottom: 52px;
}

.hall-heading h2 {
  font-size: 4.7rem;
  font-weight: 700;
  text-transform: none;
}

.work-sequence {
  gap: 14px;
  padding-right: 14px;
}

.work-rail figure {
  min-height: 540px;
}

.work-rail img {
  height: 540px;
  transition: transform 500ms ease;
}

.work-rail figure:hover img {
  transform: scale(1.035);
}

.budget-section {
  background:
    linear-gradient(rgba(10, 12, 10, 0.82), rgba(10, 12, 10, 0.82)),
    url("assets/project-facade-real.jpg") center 58% / cover;
}

.budget-layout {
  gap: 88px;
}

.budget-copy h2 {
  max-width: 620px;
  font-size: 3.8rem;
  line-height: 1;
  text-transform: none;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  border-width: 0 0 1px;
  border-radius: 0;
  background: transparent;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  box-shadow: none;
}

.page-hero {
  position: relative;
  isolation: isolate;
  height: 78svh;
  min-height: 640px;
  max-height: 820px;
  align-items: end;
  padding: 150px 0 76px;
  background-position: center;
  background-size: cover;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(10, 12, 10, 0.54);
  box-shadow: inset 46vw 0 170px rgba(8, 10, 8, 0.48);
}

.page-hero::after {
  position: absolute;
  right: max(32px, calc((100vw - 1180px) / 2));
  bottom: 32px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

body[data-page="servicos"] .page-hero::after { content: "01 / Serviços"; }
body[data-page="galeria"] .page-hero::after { content: "02 / Galeria"; }
body[data-page="contato"] .page-hero::after { content: "03 / Contato"; }

.services-hero {
  background-image: url("assets/project-roof-real.jpg");
  background-position: center 52%;
}

.gallery-hero {
  background-image: url("assets/project-deck-real.jpg");
  background-position: center 62%;
}

.contact-hero {
  background-image: url("assets/project-facade-real.jpg");
  background-position: center 52%;
}

.page-hero-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 84px;
  align-items: end;
}

.page-hero h1 {
  max-width: 810px;
  font-size: 4.15rem;
  line-height: 1;
}

.page-hero-grid > p {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.44);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.95rem;
  line-height: 1.75;
}

body[data-page="servicos"] main > .section:not(.process-band):not(.final-cta) {
  background: var(--paper);
}

.service-grid {
  grid-template-columns: 1fr;
  gap: 0;
}

.service-card,
.service-card.large {
  min-height: 600px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  padding: 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.service-card:last-child {
  border-bottom: 1px solid var(--line);
}

.service-card:nth-child(even) .service-media {
  order: 2;
}

.service-media {
  min-height: 600px;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}

.service-media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

.service-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 7vw, 92px);
}

.service-index {
  margin-bottom: 68px;
  color: var(--wood-dark);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.service-copy h2 {
  margin-bottom: 22px;
  font-size: 2.8rem;
  line-height: 1.02;
}

.service-copy > p {
  margin: 0;
  line-height: 1.75;
}

.service-copy ul {
  margin-top: 32px;
  padding: 0;
  list-style: none;
}

.service-copy li {
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
}

.local-presence {
  border-top: 1px solid var(--line);
  background: #e6e8e2 !important;
}

.local-presence-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.7fr);
  gap: clamp(60px, 10vw, 150px);
  align-items: start;
}

.local-presence h2 {
  max-width: 680px;
  margin: 18px 0 0;
  font-family: "Bodoni MT", Didot, Georgia, serif;
  font-size: clamp(2.35rem, 4vw, 3.45rem);
  line-height: 1.02;
}

.local-presence-copy {
  padding-top: 31px;
  border-top: 1px solid var(--ink);
}

.local-presence-copy > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.local-presence-copy ul {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.local-presence-copy li {
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.process-band {
  padding: 120px 0;
  background: #16201c;
}

.process-band .section-heading {
  max-width: 820px;
  margin-bottom: 64px;
}

.process-band .section-heading h2 {
  font-size: 3.4rem;
  line-height: 1.04;
}

.process-grid {
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.process-grid article {
  min-height: 280px;
  padding: 30px 26px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
}

.process-grid article:last-child {
  border-right: 0;
}

.process-grid span {
  color: var(--copper);
  font-family: "Bodoni MT", Didot, Georgia, serif;
  font-size: 2.4rem;
  font-weight: 700;
}

.process-grid h3 {
  margin-top: 68px;
  font-family: "Bodoni MT", Didot, Georgia, serif;
  font-size: 1.55rem;
}

.process-grid p {
  font-size: 0.88rem;
  line-height: 1.7;
}

.gallery-section {
  background: var(--paper);
}

.filter-bar {
  gap: 30px;
  margin-bottom: 54px;
  border-bottom: 1px solid var(--line);
}

.filter-btn {
  position: relative;
  min-height: 50px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink-soft);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.filter-btn::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -1px;
  height: 2px;
  background: var(--wood);
  transition: right 180ms ease;
}

.filter-btn.active,
.filter-btn:hover {
  color: var(--ink);
  background: transparent;
}

.filter-btn.active::after,
.filter-btn:hover::after {
  right: 0;
}

.gallery-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px;
  align-items: end;
}

.gallery-item {
  min-height: 520px;
  grid-column: span 7;
  border-radius: 0;
  box-shadow: none;
}

.gallery-item:nth-child(even) {
  min-height: 420px;
  grid-column: span 5;
}

.gallery-item:nth-child(3),
.gallery-item:nth-child(4) {
  grid-column: span 5;
}

.gallery-item:nth-child(4) {
  min-height: 580px;
  grid-column: span 7;
}

.gallery-item:nth-child(5) {
  min-height: 560px;
  grid-column: span 7;
}

.gallery-item:nth-child(6) {
  min-height: 430px;
  grid-column: span 5;
}

.gallery-item img {
  min-height: inherit;
}

.gallery-item figcaption {
  padding: 100px 26px 24px;
}

.gallery-item span {
  color: #e6b481;
  font-size: 0.68rem;
}

.gallery-item strong {
  font-family: "Bodoni MT", Didot, Georgia, serif;
  font-size: 1.45rem;
}

.contact-page-section {
  padding: 128px 0;
  background: var(--paper);
}

.contact-page-grid {
  grid-template-columns: minmax(300px, 0.78fr) minmax(520px, 1.22fr);
  gap: 96px;
}

.contact-info {
  position: sticky;
  top: 118px;
  gap: 0;
}

.contact-info h2 {
  max-width: 520px;
  font-size: 3.35rem;
  line-height: 1.03;
}

.contact-info .contact-lead {
  max-width: 500px;
  margin: 26px 0 48px;
  color: var(--ink-soft);
  line-height: 1.75;
}

.contact-principles article {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.contact-principles span {
  color: var(--wood);
  font-size: 0.72rem;
  font-weight: 900;
}

.contact-principles strong {
  font-size: 0.92rem;
}

.contact-principles p {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.6;
}

.contact-note {
  margin-top: 20px;
  padding: 24px;
  border: 0;
  border-radius: 0;
  background: #18201c;
  color: #fff;
}

.contact-note span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.84rem;
}

.contact-form.elevated {
  padding: clamp(34px, 5vw, 62px);
  border: 1px solid rgba(18, 20, 17, 0.1);
  border-radius: 0;
  background: var(--paper-strong);
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(18, 20, 17, 0.1);
}

.form-heading {
  grid-column: 1 / -1;
  margin-bottom: 24px;
}

.form-heading > span {
  color: var(--wood-dark);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.form-heading h2 {
  margin: 8px 0 0;
  font-size: 2.5rem;
  line-height: 1.05;
}

.contact-form.elevated input,
.contact-form.elevated select,
.contact-form.elevated textarea {
  color: var(--ink);
  border-color: rgba(18, 20, 17, 0.25);
}

.contact-form.elevated .form-feedback {
  color: var(--moss);
}

.final-cta {
  position: relative;
  isolation: isolate;
  padding: 96px 0;
  color: #fff;
  background: url("assets/project-facade-real.jpg") center 66% / cover;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(12, 14, 12, 0.78);
}

.final-cta h2 {
  max-width: 740px;
  font-size: 3.1rem;
  line-height: 1.03;
}

.site-footer {
  padding: 86px 0 30px;
  background: #0f120f;
}

.footer-grid {
  grid-template-columns: 1.45fr 0.72fr 0.55fr;
  gap: 72px;
}

.footer-logo {
  width: 154px;
  margin-bottom: 28px;
}

.footer-grid > div:first-child p {
  max-width: 410px;
  font-family: "Bodoni MT", Didot, Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.35;
}

.site-footer h2 {
  margin-bottom: 22px;
  color: #d79a63;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.site-footer p,
.site-footer a {
  font-size: 0.84rem;
}

.footer-bottom {
  margin-top: 68px;
  padding-top: 28px;
  font-size: 0.7rem;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  :root {
    --header-h: 70px;
  }

  .container {
    width: min(100% - 40px, 1180px);
  }

  .site-header {
    padding: 0 20px;
  }

  .site-header::after {
    left: 20px;
    right: 20px;
  }

  .brand {
    width: 120px;
  }

  .site-nav {
    gap: 10px;
  }

  .site-nav a {
    padding: 0 18px;
    border-radius: 0;
  }

  .page-hero {
    height: 72svh;
    min-height: 600px;
    padding-bottom: 66px;
  }

  .page-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .page-hero h1 {
    max-width: 760px;
    font-size: 3.45rem;
  }

  .page-hero-grid > p {
    max-width: 560px;
  }

  .story-media::after {
    background: rgba(6, 8, 7, 0.42);
    box-shadow:
      inset 520px 0 170px rgba(6, 8, 7, 0.62),
      inset 0 -130px 100px rgba(6, 8, 7, 0.42);
  }

  .manifesto-copy h2 {
    font-size: 3.2rem;
  }

  .service-card,
  .service-card.large {
    min-height: 520px;
    grid-template-columns: 1fr 1fr;
  }

  .service-media {
    min-height: 520px;
  }

  .service-copy {
    padding: 42px;
  }

  .service-index {
    margin-bottom: 38px;
  }

  .service-copy h2 {
    font-size: 2.25rem;
  }

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

  .process-grid article:nth-child(2) {
    border-right: 0;
  }

  .process-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .gallery-item,
  .gallery-item:nth-child(even),
  .gallery-item:nth-child(3),
  .gallery-item:nth-child(4),
  .gallery-item:nth-child(5),
  .gallery-item:nth-child(6) {
    min-height: 460px;
    grid-column: span 6;
  }

  .contact-page-grid {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .contact-info {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 0.6fr;
    gap: 38px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 30px, 1180px);
  }

  .section {
    padding: 82px 0;
  }

  .site-header.solid:not(.scrolled) {
    background: rgba(12, 14, 12, 0.7);
  }

  .site-nav a {
    padding: 0;
    font-size: 1.08rem;
  }

  .story-content h1 {
    font-size: 2.72rem;
  }

  .story-media::after {
    background: rgba(6, 8, 7, 0.42);
    box-shadow:
      inset 310px 0 140px rgba(6, 8, 7, 0.62),
      inset 0 -120px 100px rgba(6, 8, 7, 0.4);
  }

  .manifesto-copy h2 {
    font-size: 2.55rem;
  }

  .track-heading h2,
  .hall-heading h2,
  .budget-copy h2 {
    font-size: 2.85rem;
  }

  .track-panel h3 {
    font-size: 3.7rem;
  }

  .page-hero {
    height: 74svh;
    min-height: 580px;
    padding: 122px 0 52px;
  }

  .page-hero::after {
    right: 15px;
    bottom: 20px;
  }

  .page-hero h1 {
    font-size: 2.75rem;
  }

  .page-hero-grid > p {
    padding-top: 14px;
    font-size: 0.88rem;
  }

  .service-card,
  .service-card.large {
    min-height: auto;
    display: flex;
    flex-direction: column;
  }

  .service-card:nth-child(even) .service-media {
    order: 0;
  }

  .service-media {
    min-height: 340px;
    height: 48svh;
  }

  .service-copy {
    padding: 40px 8px 68px;
  }

  .service-index {
    margin-bottom: 34px;
  }

  .service-copy h2 {
    font-size: 2.3rem;
  }

  .local-presence-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .local-presence h2 {
    font-size: 2.45rem;
  }

  .process-band {
    padding: 84px 0;
  }

  .process-band .section-heading h2 {
    font-size: 2.6rem;
  }

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

  .process-grid article,
  .process-grid article:nth-child(2) {
    min-height: 230px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .process-grid article:last-child {
    border-bottom: 0;
  }

  .process-grid h3 {
    margin-top: 42px;
  }

  .filter-bar {
    gap: 18px;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

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

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

  .gallery-item,
  .gallery-item:nth-child(even),
  .gallery-item:nth-child(3),
  .gallery-item:nth-child(4),
  .gallery-item:nth-child(5),
  .gallery-item:nth-child(6) {
    min-height: 430px;
    grid-column: auto;
  }

  .contact-page-section {
    padding: 86px 0;
  }

  .contact-info h2 {
    font-size: 2.65rem;
  }

  .contact-form.elevated {
    padding: 32px 22px;
  }

  .form-heading h2 {
    font-size: 2.1rem;
  }

  .final-cta {
    padding: 80px 0;
  }

  .final-cta h2 {
    font-size: 2.45rem;
  }

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

  .footer-grid > div:first-child p {
    font-size: 1.18rem;
  }
}

body * {
  letter-spacing: 0 !important;
}

.load-gate {
  background-image:
    linear-gradient(90deg, rgba(8, 10, 9, 0.96), rgba(8, 10, 9, 0.66)),
    var(--cms-bg-image, url("assets/hero-realistic-bg.jpg"));
  background-position: center;
  background-size: cover;
}

.budget-section {
  background-image:
    linear-gradient(90deg, rgba(8, 10, 9, 0.92), rgba(8, 10, 9, 0.76)),
    var(--cms-bg-image, url("assets/project-facade-real.jpg"));
  background-position: center;
  background-size: cover;
}

.load-logo-build::before {
  -webkit-mask-image: var(--cms-logo-image, url("assets/logo-original.png"));
  mask-image: var(--cms-logo-image, url("assets/logo-original.png"));
}

/* Loader: usa o simbolo isolado e mantem a linha dentro do seu eixo visual. */
.load-logo-build {
  --loader-mark-size: 112px;
  width: var(--loader-mark-size);
  height: var(--loader-mark-size);
}

.load-logo-build::before {
  inset: 4%;
  -webkit-mask: url("assets/favicon-icon.png") center / contain no-repeat;
  mask: url("assets/favicon-icon.png") center / contain no-repeat;
}

.load-logo-build img {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.load-logo-build i {
  left: 13%;
  right: 13%;
  top: auto;
  bottom: 7%;
  animation: build-scan-contained 1.35s cubic-bezier(0.55, 0, 0.2, 1) forwards;
}

@keyframes build-scan-contained {
  0% { bottom: 7%; opacity: 0; }
  8% { opacity: 1; }
  88% { bottom: 90%; opacity: 1; }
  100% { bottom: 90%; opacity: 0; }
}

.form-trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.contact-float {
  position: fixed;
  z-index: 120;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  width: 54px;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  overflow: hidden;
  color: #fff;
  border: 1px solid rgba(217, 157, 96, 0.52);
  border-radius: 50%;
  background: #17231f;
  box-shadow: 0 18px 50px rgba(5, 10, 8, 0.32), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  isolation: isolate;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.contact-float::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(105deg, transparent 0 42%, rgba(255, 255, 255, 0.13) 50%, transparent 58% 100%);
  transform: translateX(-120%);
  animation: contact-sheen 4.8s ease-in-out infinite;
}

.contact-float:hover,
.contact-float:focus-visible {
  transform: translateY(-4px);
  border-color: #d99d60;
  box-shadow: 0 24px 58px rgba(5, 10, 8, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.07) inset;
}

.contact-float-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  color: #17231f;
  border-radius: 50%;
  background: #d99d60;
  box-shadow: 0 0 0 0 rgba(217, 157, 96, 0.42);
  animation: contact-pulse 2.8s ease-out infinite;
}

.contact-float-icon svg {
  width: 23px;
  height: 23px;
}

body[data-page="home"] .contact-float {
  bottom: max(88px, calc(env(safe-area-inset-bottom) + 66px));
}

@keyframes contact-sheen {
  0%, 60% { transform: translateX(-120%); }
  84%, 100% { transform: translateX(120%); }
}

@keyframes contact-pulse {
  0%, 45% { box-shadow: 0 0 0 0 rgba(217, 157, 96, 0.34); }
  78%, 100% { box-shadow: 0 0 0 12px rgba(217, 157, 96, 0); }
}

@media (max-width: 680px) {
  .load-logo-build {
    --loader-mark-size: 96px;
  }

  .contact-float {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    width: 50px;
    min-height: 50px;
    padding: 5px;
  }

  body[data-page="home"] .contact-float {
    bottom: max(76px, calc(env(safe-area-inset-bottom) + 62px));
  }

  .contact-float-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .load-logo-build img {
    clip-path: inset(0);
    animation: none;
  }

  .load-logo-build i,
  .contact-float::before,
  .contact-float-icon {
    animation: none;
  }

  .load-logo-build i {
    opacity: 0;
  }
}

@media (max-width: 900px) {
  .local-presence-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .local-presence-copy {
    padding-top: 24px;
  }
}
