:root {
  --charcoal: #151515;
  --ink: #22201d;
  --ivory: #f6f2ea;
  --paper: #fffaf2;
  --stone: #8b877e;
  --bronze: #b38a55;
  --sage: #596a60;
  --line: rgba(34, 32, 29, 0.16);
  --card-radius: 0.35rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: "Inter", sans-serif;
}

body.menu-open {
  overflow: hidden;
}

.font-display {
  font-family: "Cormorant Garamond", serif;
}

.site-shell {
  min-height: 100vh;
}

.brand-logo {
  display: block;
  width: 10.25rem;
  height: auto;
  filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
  .brand-logo {
    width: 8.2rem;
  }
}

.nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.45rem;
  width: 0;
  height: 1px;
  background: var(--bronze);
  transition: width 0.28s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.glass-nav {
  background: rgba(18, 18, 18, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.home-nav {
  background: linear-gradient(180deg, rgba(10, 13, 15, 0.26), rgba(10, 13, 15, 0));
  border-bottom: 0;
  backdrop-filter: none;
  transition: background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, backdrop-filter 0.28s ease;
}

.home-nav.scrolled {
  background: rgba(18, 18, 18, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
}

.btn-primary,
.btn-secondary,
.btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0 1.25rem;
  border: 1px solid transparent;
  border-radius: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #caa46d, #a97837);
  box-shadow: 0 16px 34px rgba(179, 138, 85, 0.28);
  color: white;
}

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

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

.btn-primary:hover,
.btn-secondary:hover,
.btn-dark:hover {
  transform: translateY(-2px);
}

.section-pad {
  padding: 6.5rem 0;
}

.eyebrow {
  color: var(--bronze);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero {
  min-height: 680px;
  padding-bottom: 4.5rem;
  background:
    linear-gradient(90deg, rgba(10, 16, 20, 0.82) 0%, rgba(10, 16, 20, 0.56) 32%, rgba(10, 16, 20, 0.08) 68%),
    linear-gradient(0deg, rgba(10, 11, 11, 0.32), rgba(10, 11, 11, 0.02) 46%),
    url("assets/home-hero.webp");
  background-size: cover;
  background-position: center center;
}

.home-hero-copy {
  max-width: 43rem;
}

.business-strip {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  gap: 1.35rem;
  overflow: visible;
  white-space: nowrap;
  width: min(68vw, 46rem);
}

.sub-hero {
  min-height: 58vh;
  background:
    linear-gradient(90deg, rgba(12, 12, 12, 0.88), rgba(12, 12, 12, 0.44), rgba(12, 12, 12, 0.08)),
    var(--hero-image);
  background-size: cover;
  background-position: center;
}

.image-panel {
  min-height: 22rem;
  background-size: cover;
  background-position: center;
}

.asset-window {
  overflow: hidden;
  border-radius: var(--card-radius);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.asset-window img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.vertical-card {
  overflow: hidden;
  border-radius: var(--card-radius);
  background: white;
  border: 1px solid var(--line);
}

.vertical-card img {
  height: 17rem;
  width: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.vertical-card:hover img {
  transform: scale(1.05);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.25rem;
  color: var(--bronze);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.desktop-nowrap {
  white-space: nowrap;
}

.project-card {
  overflow: hidden;
  border-radius: var(--card-radius);
  background: white;
  border: 1px solid var(--line);
}

.project-card img {
  height: 18rem;
  width: 100%;
  object-fit: cover;
}

.next-chapter {
  padding: 3.25rem 0 4rem;
}

.next-title {
  color: var(--ink);
  text-align: center;
}

.next-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.75rem;
}

.next-card img {
  width: 100%;
  aspect-ratio: 0.72;
  object-fit: cover;
}

.next-card {
  overflow: hidden;
  border-radius: var(--card-radius);
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 10px 24px rgba(34, 32, 29, 0.12);
}

.next-card figcaption {
  padding: 0.75rem 0.35rem 0.9rem;
  text-align: center;
}

.next-card h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.1;
}

.next-card p {
  margin-top: 0.2rem;
  color: rgba(34, 32, 29, 0.68);
  font-size: 0.72rem;
  line-height: 1.25;
}

.value-item {
  border-left: 1px solid rgba(179, 138, 85, 0.34);
  padding-left: 1.2rem;
}

.philosophy-image {
  min-height: 30rem;
}

.principles-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.principle-card {
  border-left: 1px solid rgba(179, 138, 85, 0.36);
  padding: 0.35rem 0 0.35rem 1rem;
}

.business-detail {
  display: grid;
  gap: 2rem;
  grid-template-columns: 0.42fr 0.58fr;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  background: rgba(255, 255, 255, 0.76);
}

.business-detail img {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  border-radius: var(--card-radius);
  object-fit: cover;
}

.focus-list {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.focus-list span {
  border-left: 2px solid rgba(179, 138, 85, 0.44);
  background: rgba(246, 242, 234, 0.72);
  padding: 0.75rem 0.9rem;
  color: rgba(34, 32, 29, 0.7);
  font-size: 0.88rem;
  font-weight: 650;
}

.process-step {
  border-radius: var(--card-radius);
  border: 1px solid rgba(179, 138, 85, 0.22);
  background: rgba(255, 255, 255, 0.72);
  padding: 1.25rem;
}

.project-visual-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.project-visual-card {
  overflow: hidden;
  border-radius: var(--card-radius);
  border: 1px solid var(--line);
  background: white;
}

.project-visual-card img {
  width: 100%;
  height: 13.5rem;
  object-fit: cover;
}

.project-visual-card .content {
  padding: 1.1rem;
}

.development-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.development-card {
  overflow: hidden;
  border-radius: var(--card-radius);
  border: 1px solid var(--line);
  background: white;
}

.development-card img {
  width: 100%;
  height: 20rem;
  object-fit: cover;
}

.development-card .content {
  padding: 1.35rem;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.meta-row span {
  border: 1px solid rgba(179, 138, 85, 0.22);
  background: rgba(179, 138, 85, 0.08);
  padding: 0.38rem 0.55rem;
  color: rgba(34, 32, 29, 0.64);
  font-size: 0.72rem;
  font-weight: 700;
}

.timeline {
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 2.2rem;
  height: 1px;
  background: rgba(179, 138, 85, 0.54);
}

.timeline-point {
  position: relative;
  background: var(--ivory);
}

.timeline-dot {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 999px;
  background: var(--bronze);
  box-shadow: 0 0 0 0.45rem rgba(179, 138, 85, 0.13);
}

.dark-band {
  background: radial-gradient(circle at 16% 0%, rgba(179, 138, 85, 0.18), transparent 34%), var(--charcoal);
  color: white;
}

.heritage-card {
  position: relative;
  min-height: 11rem;
  overflow: hidden;
  border-radius: var(--card-radius);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
}

.heritage-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.heritage-card:hover img {
  transform: scale(1.06);
}

.heritage-card figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 0.8rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78));
}

.form-field {
  width: 100%;
  border: 1px solid rgba(34, 32, 29, 0.18);
  background: rgba(255, 255, 255, 0.76);
  padding: 0.95rem 1rem;
  color: var(--ink);
  outline: none;
}

.form-field:focus {
  border-color: var(--bronze);
}

.mobile-menu {
  transform: translateY(-110%);
  transition: transform 0.32s ease;
}

.mobile-menu.open {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .section-pad {
    padding: 4.5rem 0;
  }

  .hero {
    min-height: 88vh;
    padding-bottom: 3.25rem;
    background-position: 58% center;
  }

  .home-hero-copy {
    max-width: 100%;
  }

  .business-strip {
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    overflow: visible;
    white-space: normal;
    width: 100%;
  }

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

  .next-chapter {
    padding: 3rem 0;
  }

  .philosophy-image {
    min-height: 20rem;
  }

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

  .business-detail {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .business-detail img {
    min-height: 17rem;
  }

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

  .project-visual-grid,
  .development-grid {
    grid-template-columns: 1fr;
  }

  .desktop-nowrap {
    white-space: normal;
  }

  .timeline::before {
    left: 0.35rem;
    right: auto;
    top: 0;
    bottom: 0;
    width: 1px;
    height: auto;
  }
}
