:root {
  --ink: #171717;
  --muted: #6f6a60;
  --paper: #f7f3ea;
  --panel: #fffaf1;
  --line: rgba(23, 23, 23, 0.14);
  --gold: #b9914b;
  --forest: #17352c;
  --stone: #d8c8ac;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(18, 18, 17, 0.88);
  color: var(--white);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  font-weight: 700;
  letter-spacing: 0;
}

.brand img {
  width: 154px;
  height: 58px;
  object-fit: contain;
  filter: saturate(1.08) contrast(1.03) drop-shadow(0 8px 14px rgba(0, 0, 0, 0.26));
}

.brand-text {
  display: none;
}

.brand strong {
  font-size: 1.12rem;
}

.brand span {
  color: var(--stone);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
}

.nav-links a {
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  border-color: var(--gold);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: transparent;
  color: var(--white);
  font-size: 1.35rem;
  cursor: pointer;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.3) 48%, rgba(0, 0, 0, 0.1)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0)),
    url("assets/hero-construction.png") center / cover no-repeat;
  color: var(--white);
}

.hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 84px 0 66px;
}

.eyebrow {
  color: var(--stone);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  max-width: 760px;
  margin-top: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8vw, 6.6rem);
  font-weight: 500;
}

.hero p {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  padding: 12px 18px;
  background: var(--gold);
  color: #111;
  font-weight: 700;
}

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

.stats {
  width: min(1180px, calc(100% - 32px));
  margin: -34px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: var(--panel);
}

.stat {
  min-height: 118px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
  line-height: 1;
}

.stat span {
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 84px 0;
}

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

.section-header h2 {
  margin-top: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 500;
}

.section-header p {
  color: var(--muted);
  font-size: 1.02rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 48px;
  align-items: center;
}

.image-panel {
  min-height: 460px;
  background:
    linear-gradient(180deg, rgba(23, 53, 44, 0.04), rgba(23, 53, 44, 0.3)),
    url("assets/hero-construction.png") center / cover no-repeat;
}

.text-panel {
  color: var(--muted);
  font-size: 1rem;
}

.story-panel {
  max-width: 920px;
  color: var(--muted);
  font-size: 1.04rem;
}

.story-panel p {
  margin: 0 0 18px;
}

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

.feature,
.project-card {
  border: 1px solid var(--line);
  background: var(--panel);
}

.feature {
  padding: 28px;
}

.feature .icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border: 1px solid var(--gold);
  color: var(--forest);
  font-size: 1.25rem;
}

.feature h3,
.project-card h3 {
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 500;
}

.feature p,
.project-card p {
  margin: 0;
  color: var(--muted);
}

.project-image {
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.2)),
    url("assets/hero-construction.png") center / cover no-repeat;
}

.project-image.real {
  overflow: hidden;
  background: #ddd4c5;
}

.project-image.real img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-meta {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.92rem;
  list-style: none;
}

.project-meta li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}

.project-meta strong {
  color: var(--ink);
}

.project-card:nth-child(2) .project-image {
  background-position: 64% center;
}

.project-card:nth-child(3) .project-image {
  background-position: 35% center;
}

.project-body {
  padding: 24px;
}

.tag {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  background:
    linear-gradient(90deg, rgba(18, 18, 17, 0.94), rgba(18, 18, 17, 0.72) 48%, rgba(18, 18, 17, 0.42)),
    radial-gradient(circle at 80% 34%, rgba(246, 206, 92, 0.28), transparent 26%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 78px),
    linear-gradient(125deg, #111110 0%, #24231f 52%, #0f0f0e 100%);
  color: var(--white);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(118deg, transparent 0 54%, rgba(185, 145, 75, 0.2) 54.2% 54.6%, transparent 54.8%),
    linear-gradient(90deg, transparent 0 66%, rgba(185, 145, 75, 0.34) 66% 66.18%, transparent 66.35%),
    linear-gradient(90deg, transparent 0 72%, rgba(255, 255, 255, 0.09) 72% 72.12%, transparent 72.28%),
    linear-gradient(90deg, transparent 0 78%, rgba(185, 145, 75, 0.22) 78% 78.16%, transparent 78.32%);
  opacity: 0.9;
}

.page-hero::after {
  content: "";
  position: absolute;
  top: 50%;
  right: max(24px, calc((100vw - 1180px) / 2));
  width: min(390px, 36vw);
  aspect-ratio: 1.62 / 1;
  background: url("assets/oner-group-logo-gold.png") center / contain no-repeat;
  filter: saturate(1.08) contrast(1.03) drop-shadow(0 18px 28px rgba(0, 0, 0, 0.36)) drop-shadow(0 0 18px rgba(212, 169, 65, 0.16));
  opacity: 0.96;
  transform: translateY(-50%);
}

.page-hero .section {
  position: relative;
  z-index: 1;
  padding: 112px 0 118px;
}

.page-hero h1 {
  font-size: clamp(2.7rem, 6vw, 5rem);
}

.page-hero p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.04rem;
}

.contact-band {
  background: var(--forest);
  color: var(--white);
}

.contact-band .section-header h2,
.contact-band .section-header p {
  color: var(--white);
}

.contact-band .section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 18px;
}

.contact-item {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 18px;
}

.contact-item strong {
  display: block;
  color: var(--stone);
}

form {
  display: grid;
  gap: 14px;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  padding: 14px;
  font: inherit;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 34px 0;
  background: #121211;
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

@media (max-width: 860px) {
  .brand img {
    width: 126px;
    height: 50px;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 18px 24px 24px;
    background: rgba(18, 18, 17, 0.98);
  }

  .nav-links.open {
    display: flex;
  }

  .stats,
  .feature-grid,
  .project-grid,
  .split,
  .contact-band .section {
    grid-template-columns: 1fr;
  }

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

  .stat:last-child {
    border-bottom: 0;
  }

  .image-panel {
    min-height: 320px;
  }

  .page-hero::after {
    top: auto;
    right: -24px;
    bottom: 18px;
    width: min(310px, 76vw);
    opacity: 0.28;
    transform: none;
  }

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

@media (max-width: 520px) {
  .hero {
    min-height: 680px;
  }

  .hero-inner {
    padding-bottom: 52px;
  }

  .section {
    padding: 62px 0;
  }

  .stats {
    margin-top: 0;
    width: 100%;
    border-left: 0;
    border-right: 0;
  }
}
