:root {
  --bg: #10100f;
  --bg-elevated: #181715;
  --ink: #f7f2e8;
  --muted: #b7aea0;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #d89b3a;
  --accent-2: #f26b2f;
  --steel: #7d8a92;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  --radius: 8px;
  --container: min(1120px, calc(100% - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-150%);
  background: var(--accent);
  color: #17110a;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease;
}

.site-header.scrolled {
  background: rgba(16, 16, 15, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav {
  width: var(--container);
  min-height: 132px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
}

.brand-logo {
  width: 190px;
  height: 124px;
  flex: 0 0 auto;
  object-fit: contain;
  border-radius: 6px;
  filter: drop-shadow(0 12px 28px rgba(216, 155, 58, 0.22));
}

.footer-logo {
  width: 230px;
  height: 150px;
}

.nav-toggle {
  display: grid;
  gap: 5px;
  width: 44px;
  aspect-ratio: 1;
  place-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 220ms ease, opacity 220ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-panel {
  position: fixed;
  inset: 132px 16px auto;
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(20, 19, 17, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: transform 220ms ease, opacity 220ms ease;
}

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

.nav-panel a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 700;
}

.nav-panel a:hover,
.nav-panel a:focus-visible {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.07);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: block;
  padding-bottom: 24px;
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    image-set(
      url("https://images.unsplash.com/photo-1541888946425-d81bb19240f5?auto=format&fit=crop&w=1200&q=78") 1x,
      url("https://images.unsplash.com/photo-1541888946425-d81bb19240f5?auto=format&fit=crop&w=1800&q=78") 2x
    ) center / cover no-repeat;
  transform: scale(1.04);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(16, 16, 15, 0.96), rgba(16, 16, 15, 0.68) 46%, rgba(16, 16, 15, 0.34)),
    linear-gradient(180deg, rgba(16, 16, 15, 0.3), rgba(16, 16, 15, 0.94));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 152px 0 24px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.77rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
}

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

h1,
h2 {
  line-height: 0.96;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 14vw, 7rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 10vw, 4.6rem);
}

h3 {
  line-height: 1.1;
  font-size: 1.06rem;
}

.hero-copy {
  max-width: 620px;
  color: #e3d9ca;
  font-size: 1.08rem;
}

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

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

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

.btn-primary {
  color: #17110a;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 18px 40px rgba(242, 107, 47, 0.22);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}

.hero-metrics {
  position: relative;
  width: var(--container);
  margin: 0 auto;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.hero-metrics div {
  min-width: 0;
  padding: 14px 10px;
  border-bottom: 1px solid var(--line);
}

.hero-metrics div:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.hero-metrics div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.hero-metrics div:last-child {
  border-right: 0;
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  color: var(--accent);
  font-size: 1.28rem;
  line-height: 1;
}

.hero-metrics span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
}

.section {
  padding: 82px 0;
}

.about-section,
.why-section,
.contact-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent),
    var(--bg);
}

.split-layout,
.why-layout,
.contact-layout {
  display: grid;
  gap: 34px;
}

.image-stack {
  position: relative;
}

.image-stack img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.floating-note {
  position: absolute;
  right: -4px;
  bottom: 18px;
  width: min(220px, 72%);
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(24, 23, 21, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

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

.floating-note span {
  color: var(--muted);
  font-size: 0.78rem;
}

.floating-note strong {
  color: var(--accent);
  font-size: 1.3rem;
}

.content-block p,
.section-heading p,
.advantage-card p,
.service-card p,
.contact-info p,
.footer p {
  color: var(--muted);
}

.mission-grid {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.mission-grid article,
.service-card,
.advantage-card,
.testimonial-shell {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
}

.mission-grid article {
  padding: 18px;
}

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

.services-section {
  background: #141312;
}

.services-grid {
  display: grid;
  gap: 14px;
}

.service-card {
  padding: 22px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(216, 155, 58, 0.44);
  background: linear-gradient(180deg, rgba(216, 155, 58, 0.16), rgba(255, 255, 255, 0.04));
}

.icon {
  display: grid;
  width: 46px;
  aspect-ratio: 1;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 6px;
  background: rgba(216, 155, 58, 0.14);
  color: var(--accent);
}

.icon svg,
.slider-btn svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.projects-section {
  padding-bottom: 0;
}

.project-grid {
  width: min(1360px, calc(100% - 16px));
  margin: 0 auto;
  display: grid;
  gap: 8px;
}

.project-tabs {
  padding-bottom: 82px;
}

.tab-list {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
}

.tab-button {
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-weight: 850;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.tab-button:hover,
.tab-button:focus-visible {
  color: var(--ink);
  border-color: rgba(216, 155, 58, 0.34);
}

.tab-button.active {
  color: #17110a;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 14px 30px rgba(216, 155, 58, 0.18);
}

.project-panel {
  display: block;
}

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

.project-panel .project-grid {
  width: 100%;
}

.project-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: #1f1d1a;
  color: var(--ink);
  text-align: left;
  isolation: isolate;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 22%, rgba(0, 0, 0, 0.76));
}

.project-card img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease, filter 450ms ease;
}

.project-card.floorplan-card img {
  padding: 12px;
  object-fit: contain;
  background: #ece8df;
}

.project-card span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
}

.project-card strong,
.project-card em {
  display: block;
}

.project-card strong {
  font-size: 1.25rem;
}

.project-card em {
  color: var(--accent);
  font-style: normal;
  font-weight: 800;
}

.project-card:hover img,
.project-card:focus-visible img {
  transform: scale(1.08);
  filter: saturate(1.05) contrast(1.05);
}

.project-info-band {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding-bottom: 82px;
}

.project-tabs .project-info-band {
  margin-top: 0;
  padding-bottom: 0;
}

.project-info-band article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
}

.project-info-band h3 {
  max-width: 580px;
  color: var(--ink);
  font-size: clamp(1.28rem, 5vw, 2rem);
}

.project-info-band p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.why-layout {
  align-items: start;
}

.advantages {
  display: grid;
  gap: 14px;
}

.advantage-card {
  padding: 22px;
}

.advantage-card strong {
  color: var(--accent);
}

.testimonials-section {
  background: #151514;
}

.testimonial-shell {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 10px;
  padding: 10px;
}

.slider-btn {
  display: grid;
  width: 44px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
}

.slider-btn:hover,
.slider-btn:focus-visible {
  color: #17110a;
  background: var(--accent);
}

.testimonial-track {
  min-height: 230px;
  position: relative;
  overflow: hidden;
}

.testimonial {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  padding: 18px 4px;
  opacity: 0;
  transform: translateX(18px);
  transition: opacity 240ms ease, transform 240ms ease;
}

.testimonial.active {
  opacity: 1;
  transform: translateX(0);
}

.testimonial p {
  color: #efe8de;
  font-size: clamp(1.18rem, 5vw, 2rem);
  line-height: 1.22;
}

.testimonial strong,
.testimonial span {
  display: block;
}

.testimonial span {
  color: var(--muted);
}

.contact-layout {
  align-items: start;
}

.contact-layout-single {
  max-width: 920px;
}

.office-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.office-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
}

.office-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font-weight: 850;
}

.office-card p,
.office-card a {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.office-card a {
  display: inline-flex;
  margin-top: 10px;
  color: var(--accent);
}

.office-card a:hover,
.office-card a:focus-visible {
  color: var(--accent-2);
}

.maps-grid {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.map-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #1b1a18;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
}

.map-card h3 {
  margin: 0;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--accent);
  font-size: 1rem;
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
}

.footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  background: #0d0d0c;
}

.footer-layout {
  display: grid;
  gap: 24px;
}

.footer p {
  max-width: 420px;
  margin: 14px 0 0;
}

.footer-links,
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a,
.socials a {
  color: var(--muted);
  font-weight: 800;
}

.socials a {
  display: grid;
  width: 40px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.footer-links a:hover,
.socials a:hover {
  color: var(--accent);
}

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.project-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(12px);
}

.modal-card {
  position: relative;
  width: min(920px, 100%);
  max-height: 88svh;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #181715;
  box-shadow: var(--shadow);
}

.modal-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.modal-card img.contain {
  height: min(72svh, 760px);
  aspect-ratio: auto;
  object-fit: contain;
  background: #ece8df;
}

.modal-card > div {
  padding: 20px;
}

.modal-card h2 {
  margin-bottom: 10px;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: grid;
  width: 42px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(16, 16, 15, 0.72);
  color: var(--ink);
  font-size: 1.65rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 560ms ease, transform 560ms ease;
}

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

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

@media (min-width: 680px) {
  :root {
    --container: min(1120px, calc(100% - 48px));
  }

  .hero {
    display: grid;
    align-items: center;
    padding-bottom: 0;
  }

  .hero-content {
    padding: 152px 0 130px;
  }

  .hero-metrics {
    position: absolute;
    left: auto;
    right: 24px;
    bottom: 24px;
    width: min(640px, 56vw);
    grid-template-columns: repeat(4, 1fr);
  }

  .hero-metrics div {
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }

  .hero-metrics div:last-child {
    border-right: 0;
  }

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

  .tab-list {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .project-card.wide {
    grid-column: span 2;
  }

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

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

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

@media (min-width: 920px) {
  .nav-toggle {
    display: none;
  }

  .nav-panel {
    position: static;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-panel a {
    min-height: 40px;
  }

  .brand-logo {
    width: 280px;
    height: 168px;
  }

  .hero-content {
    padding-top: 140px;
  }

  .split-layout,
  .why-layout,
  .contact-layout {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
  }

  .why-layout,
  .contact-layout {
    grid-template-columns: 1fr 1fr;
  }

  .contact-layout-single {
    grid-template-columns: 1fr;
  }

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

  .project-grid {
    grid-template-columns: 1.15fr 0.85fr 1fr;
    grid-auto-rows: 290px;
  }

  .project-card {
    min-height: auto;
  }

  .project-card.tall {
    grid-row: span 2;
  }

  .project-card.wide {
    grid-column: span 2;
  }

  .testimonial-shell {
    grid-template-columns: 54px 1fr 54px;
    gap: 18px;
    padding: 18px;
  }

  .slider-btn {
    width: 54px;
  }

  .testimonial {
    padding: 32px;
  }

  .footer-layout {
    grid-template-columns: 1fr auto auto;
    align-items: start;
  }
}

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

.completed-grid .project-card,
.ongoing-grid .project-card {
  min-height: 280px;
}

@media (min-width: 680px) {
  .completed-grid,
  .ongoing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 920px) {
  .completed-grid,
  .ongoing-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
  }

  .completed-grid .project-card,
  .ongoing-grid .project-card {
    min-height: 330px;
  }

  .ongoing-grid .project-card:nth-child(1),
  .ongoing-grid .project-card:nth-child(3) {
    grid-column: span 2;
  }
}
