:root {
  --bg: #efe6d8;
  --bg-soft: #f7f1e6;
  --paper: rgba(252, 248, 241, 0.88);
  --paper-strong: rgba(255, 251, 245, 0.96);
  --ink: #171d16;
  --muted: #5f665d;
  --forest: #233529;
  --forest-deep: #17251c;
  --gold: #a07848;
  --line: rgba(23, 29, 22, 0.1);
  --shadow-soft: 0 30px 90px rgba(20, 17, 11, 0.12);
  --shadow-strong: 0 28px 70px rgba(10, 12, 10, 0.32);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1220px, calc(100vw - 40px));
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-500.ttf") format("truetype");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-600.ttf") format("truetype");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-700.ttf") format("truetype");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/manrope-400.ttf") format("truetype");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/manrope-500.ttf") format("truetype");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/manrope-600.ttf") format("truetype");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/manrope-700.ttf") format("truetype");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("assets/fonts/manrope-800.ttf") format("truetype");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(182, 155, 112, 0.16), transparent 26%),
    radial-gradient(circle at 90% 6%, rgba(46, 78, 53, 0.18), transparent 18%),
    linear-gradient(180deg, #f8f2e8 0%, #ede2d2 100%);
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

main {
  position: relative;
}

.topbar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(180deg, #1e2d22 0%, #182319 100%);
  color: rgba(244, 237, 224, 0.76);
}

.topbar-inner,
.site-header,
.hero,
.credibility,
.section {
  width: var(--container);
  margin: 0 auto;
}

.topbar-inner {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 0.85rem 0;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-shell {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(24, 35, 25, 0.98) 0%, rgba(24, 35, 25, 0.94) 34%, transparent 34%),
    linear-gradient(180deg, transparent 0%, transparent 34%, #efe6d8 34%);
}

.hero-shell::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 60%;
  width: 34rem;
  height: 34rem;
  background: radial-gradient(circle, rgba(160, 120, 72, 0.18), transparent 66%);
  filter: blur(20px);
  pointer-events: none;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0 0;
  position: relative;
  z-index: 2;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1.25rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244, 237, 224, 0.18), transparent);
}

.brand-logo {
  width: clamp(12rem, 18vw, 15rem);
  height: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.9rem 1.3rem;
  border: 1px solid rgba(244, 237, 224, 0.12);
  border-radius: 999px;
  background: rgba(248, 243, 232, 0.04);
  backdrop-filter: blur(16px);
}

.site-nav a {
  color: rgba(244, 237, 224, 0.82);
  font-size: 0.95rem;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease,
    border-color 180ms ease, box-shadow 180ms ease;
}

.header-cta {
  color: #f7eedf;
  border: 1px solid rgba(247, 238, 223, 0.18);
  background: rgba(247, 238, 223, 0.07);
}

.button-primary {
  color: #f7eedf;
  background: linear-gradient(135deg, #2f4735, #203125);
  box-shadow: 0 18px 40px rgba(17, 27, 20, 0.25);
}

.button-secondary {
  border: 1px solid rgba(24, 35, 25, 0.12);
  background: rgba(255, 250, 243, 0.72);
  color: var(--ink);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 2.5rem;
  align-items: center;
  padding: 4.5rem 0 5rem;
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-copy {
  color: #f8f2e7;
}

.hero-copy h1,
.section-intro h2,
.estate-copy h2,
.services-lead h2,
.closing-copy h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.hero-copy h1 {
  max-width: 11ch;
  font-size: clamp(4.1rem, 8vw, 7.2rem);
}

.hero-copy h1 span {
  color: #dcc39a;
}

.hero-text,
.estate-copy p,
.project-copy h3,
.service p,
.process-step p,
.closing-copy p {
  line-height: 1.8;
}

.hero-text {
  max-width: 58ch;
  color: rgba(248, 242, 231, 0.78);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

.hero-caption {
  margin: -0.25rem 0 1.6rem;
  color: rgba(248, 242, 231, 0.56);
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.hero-facts div {
  padding: 1rem 1.05rem;
  border: 1px solid rgba(248, 242, 231, 0.1);
  border-radius: var(--radius-md);
  background: rgba(248, 242, 231, 0.05);
}

.hero-facts strong {
  display: block;
  margin-bottom: 0.5rem;
  color: #f8f2e7;
}

.hero-facts span {
  color: rgba(248, 242, 231, 0.68);
  font-size: 0.92rem;
  line-height: 1.5;
}

.hero-stage {
  position: relative;
  min-height: 45rem;
}

.stage-frame,
.stage-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-strong);
}

.stage-frame {
  position: absolute;
  inset: 0 0 3rem 5rem;
}

.stage-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 19, 16, 0.04), rgba(15, 19, 16, 0.36)),
    linear-gradient(90deg, rgba(15, 19, 16, 0.18), transparent 22%, transparent 78%, rgba(15, 19, 16, 0.18));
}

.stage-card {
  position: absolute;
  border: 10px solid rgba(248, 242, 231, 0.92);
}

.stage-card-a {
  width: 16rem;
  height: 11.5rem;
  left: 0;
  top: 3rem;
  transform: rotate(-4deg);
}

.stage-card-b {
  width: 17rem;
  height: 12.5rem;
  right: 1rem;
  bottom: 0;
  transform: rotate(4deg);
}

.stage-note {
  position: absolute;
  left: 2rem;
  bottom: 2rem;
  max-width: 18rem;
  padding: 1.2rem 1.3rem;
  border-radius: var(--radius-lg);
  background: rgba(12, 18, 13, 0.76);
  color: #f8f2e7;
  backdrop-filter: blur(12px);
}

.note-label {
  display: block;
  margin-bottom: 0.6rem;
  color: #dcc39a;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.stage-note strong {
  font-size: 1rem;
  line-height: 1.55;
}

.credibility {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: center;
  padding: 1.4rem 1.6rem;
  margin-top: -1.5rem;
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.74);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-soft);
  position: relative;
  z-index: 3;
}

.credibility p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section {
  padding: 6rem 0;
}

.section + .section {
  position: relative;
}

.section + .section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(100%, 1140px);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(23, 29, 22, 0.1), transparent);
}

.estate,
.closing-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 1.5rem;
  align-items: stretch;
}

.estate-copy h2,
.section-intro h2,
.services-lead h2,
.closing-copy h2 {
  max-width: 11ch;
  font-size: clamp(2.9rem, 5vw, 5rem);
}

.estate-copy p,
.closing-copy p {
  max-width: 56ch;
  color: var(--muted);
  font-size: 1.04rem;
}

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

.estate-visual {
  margin: 0;
  grid-column: span 2;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--paper-strong);
  box-shadow: var(--shadow-soft);
}

.estate-visual img {
  aspect-ratio: 2.1 / 1;
}

.estate-visual figcaption {
  padding: 1rem 1.2rem 1.2rem;
  color: var(--muted);
  font-size: 0.96rem;
}

.estate-markers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.estate-markers span {
  padding: 0.7rem 1rem;
  border: 1px solid rgba(23, 29, 22, 0.08);
  border-radius: 999px;
  background: rgba(255, 251, 245, 0.62);
  color: var(--forest);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}

.estate-quote,
.service,
.process-step {
  padding: 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.estate-quote span,
.process-step strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  margin-bottom: 1rem;
  color: var(--forest);
  background: rgba(35, 53, 41, 0.08);
  font-weight: 800;
}

.estate-quote p {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 1.05;
}

.section-intro {
  margin-bottom: 2rem;
}

.section-copy {
  max-width: 54ch;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

.project-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 1rem;
}

.project {
  position: relative;
  overflow: hidden;
  min-height: 23rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  background: #ddd4c6;
}

.project::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(11, 16, 12, 0.76) 100%);
}

.project img,
.stage-frame img,
.stage-card img,
.estate-visual img {
  transition: transform 900ms ease;
}

.project:hover img,
.stage-card:hover img,
.stage-frame:hover img,
.estate-visual:hover img {
  transform: scale(1.04);
}

.project-tall {
  grid-row: span 2;
  min-height: 48rem;
}

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

.project-copy {
  position: absolute;
  left: 1.4rem;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 1;
}

.project-tag {
  margin: 0 0 0.6rem;
  color: #dcc39a;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 800;
}

.project-copy h3 {
  margin: 0;
  max-width: 18ch;
  color: #f7efdf;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 1.02;
}

.services-grid,
.process-line {
  display: grid;
  gap: 1rem;
}

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

.service span {
  display: block;
  margin-bottom: 0.8rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.service small {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.service p,
.process-step p {
  margin: 0;
  color: var(--muted);
}

.service {
  position: relative;
  min-height: 14.5rem;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.service::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(220, 195, 154, 0.08), transparent 42%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.service > * {
  position: relative;
  z-index: 1;
}

.service:hover {
  transform: translateY(-4px);
  border-color: rgba(160, 120, 72, 0.22);
  box-shadow: 0 28px 70px rgba(20, 17, 11, 0.14);
}

.service:hover::before {
  opacity: 1;
}

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

.process-line::before {
  content: "";
  position: absolute;
  left: 2rem;
  right: 2rem;
  top: 1.5rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(160, 120, 72, 0.24), rgba(35, 53, 41, 0.18));
}

.process-step h3 {
  margin: 0 0 0.7rem;
  font-size: 1.05rem;
}

.process-step {
  position: relative;
}

.closing-panel {
  padding: 2rem;
  border-radius: calc(var(--radius-xl) + 4px);
  background:
    radial-gradient(circle at top right, rgba(220, 195, 154, 0.14), transparent 24%),
    linear-gradient(135deg, #223428, #162219);
  box-shadow: var(--shadow-strong);
}

.closing-copy {
  color: #f8f2e7;
}

.closing-copy p {
  color: rgba(248, 242, 231, 0.74);
}

.closing-details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.closing-details span {
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(248, 242, 231, 0.14);
  background: rgba(248, 242, 231, 0.05);
  color: rgba(248, 242, 231, 0.82);
  font-size: 0.88rem;
}

.closing-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.closing-actions .button-secondary {
  color: #f8f2e7;
  border-color: rgba(248, 242, 231, 0.18);
  background: rgba(248, 242, 231, 0.06);
}

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

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

@media (max-width: 1100px) {
  .hero,
  .estate,
  .closing-panel {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 37rem;
  }

  .stage-frame {
    inset: 0 0 2rem 3rem;
  }

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

  .estate-panel {
    grid-template-columns: 1fr;
  }

  .estate-visual {
    grid-column: auto;
  }

  .project-tall,
  .project-wide {
    grid-row: auto;
    grid-column: auto;
    min-height: 26rem;
  }
}

@media (max-width: 860px) {
  .site-header {
    flex-wrap: wrap;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-facts,
  .project-grid,
  .services-grid,
  .process-line {
    grid-template-columns: 1fr;
  }

  .process-line::before {
    display: none;
  }

  .credibility {
    border-radius: 28px;
  }
}

@media (max-width: 640px) {
  .topbar-inner,
  .site-header,
  .hero,
  .credibility,
  .section {
    width: min(calc(100vw - 24px), 100%);
  }

  .topbar-inner {
    flex-direction: column;
    gap: 0.4rem;
    text-align: center;
  }

  .header-cta {
    width: 100%;
  }

  .hero {
    padding: 2.25rem 0 4rem;
  }

  .hero-copy h1 {
    font-size: clamp(3.2rem, 16vw, 5rem);
  }

  .hero-stage {
    min-height: 27rem;
  }

  .stage-frame {
    inset: 0 0 1rem 1rem;
  }

  .stage-card-a {
    width: 9.5rem;
    height: 7rem;
    top: 1.25rem;
  }

  .stage-card-b {
    width: 10rem;
    height: 7.5rem;
    right: 0;
  }

  .stage-note {
    left: 1rem;
    right: 1rem;
    max-width: none;
  }

  .credibility {
    margin-top: -0.75rem;
    padding: 1.2rem;
  }

  .section {
    padding: 4.5rem 0;
  }

  .closing-panel {
    padding: 1.5rem;
  }
}
