:root {
  --cream: #F4F3EF;
  --ink: #292F2D;
  --gold: #B79B70;
}
.site-header .header-inner { flex-wrap: nowrap; }
.site-header .nav { font-size: 16px; gap: clamp(14px, 1.55vw, 26px); }
.site-header .header-phone { font-size: 17px; }
.site-header .header-cta { font-size: 16px; }
.site-header .header-cta, .site-header .header-phone { white-space: nowrap; }
@media (min-width: 1181px) {
  .site-header .brand-image { width: 62px; height: 68px; }
  .site-header .brand-wordmark b { font-size: 29px; }
}
@media (min-width: 1101px) and (max-width: 1250px) {
  .site-header .header-inner { gap: 16px; }
  .site-header .header-phone { font-size: 16px; }
  .site-header .header-cta { padding-inline: 14px; }
}
@media (max-width: 1100px) {
  .site-header .header-inner { gap: 12px; }
  .site-header .header-phone { margin-left: auto; font-size: 16px; }
  .site-header .mobile-toggle {
    display: block;
    order: 3;
    min-width: 44px;
    min-height: 44px;
    margin-left: 0;
    padding: 7px;
  }
  .site-header .header-cta { display: none; }
  .site-header .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 12px 20px;
    background: var(--cream);
    box-shadow: 0 12px 20px #0001;
  }
  .site-header .nav.is-open { display: flex; }
  .site-header .nav a { display: flex; align-items: center; min-height: 44px; }
  .site-header .nav .mobile-nav-cta {
    display: flex;
    justify-content: center;
    margin-top: 8px;
    border-radius: 8px;
    background: var(--gold);
    color: white;
  }
}
@media (max-width: 740px) {
  .site-header .header-inner { gap: 8px; }
  .site-header .header-phone { font-size: 15px; }
}
@media (max-width: 420px) {
  .site-header .header-inner { gap: 6px; }
  .site-header .brand-image { width: 42px; }
  .site-header .header-phone { font-size: 14px; }
}
@media (max-width: 350px) {
  .site-header .brand { gap: 6px; }
  .site-header .brand-wordmark b { font-size: 17px; }
  .site-header .header-phone { font-size: 13px; }
  .site-header .header-phone svg { display: none; }
}

.home-work { --home-gutter: 24px; }
.home-work .site-header .header-inner,
.home-work #models {
  width: calc(100% - 2 * var(--home-gutter));
}
.home-work .hero-stage-one .hero-copy { margin-inline: var(--home-gutter); }
.home-work #models .kc-cards { max-width: none; }
@media (min-width: 1251px) {
  .home-work { --home-gutter: clamp(40px, 3.4vw, 60px); }
}
@media (max-width: 740px) {
  .home-work { --home-gutter: 18px; }
}

.home-work .hero-stage-one h1 {
  font-size: clamp(32px, 4.2vw, 68px);
  white-space: normal;
}
.home-work .hero-stage-one .hero-offer strong { font-size: clamp(24px, 2.75vw, 44px); }
.home-work .hero-stage-one .hero-offer .btn { font-size: 16px; min-height: 46px; }
@media (min-width: 901px) {
  .home-work .hero-stage-one .hero-grid {
    width: 100%;
    max-width: none;
    min-height: clamp(530px, 40vw, 820px);
    display: flex;
    align-items: center;
  }
  .home-work .hero-stage-one .hero-copy {
    width: 45%;
    max-width: 720px;
  }
  .home-work .hero-stage-one .hero-media {
    right: 0;
    width: 72%;
    max-width: none;
    height: 100%;
    aspect-ratio: auto;
  }
  .home-work .hero-stage-one .hero-media > .hero-photo {
    object-fit: cover;
    object-position: right center;
  }
  .home-work .hero-stage-one .hero-media::after {
    background: linear-gradient(90deg,#f4f3ef 0%,#f4f3efe8 12%,#f4f3ef69 25%,#f4f3ef00 38%);
  }
  .home-work .hero-stage-one .hero-intro { font-size: clamp(19px, 1.65vw, 27px); }
}
@media (max-width: 900px) {
  .home-work .hero-stage-one .hero-media > .hero-photo { object-fit: contain; }
  .home-work .hero-stage-one .hero-media { height: auto; aspect-ratio: 1553 / 1013; }
}
@media (max-width: 440px) {
  .home-work .hero-stage-one .hero-offer .btn { font-size: 14px; padding-inline: 12px; }
}

.work-nature, .work-visit, .work-purchase-top {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(22px, 4vw, 62px);
}
.work-nature .village-feature-list { display: grid; gap: 12px; margin: 22px 0; }
.work-nature .village-feature p { margin: 2px 0 0; }
.work-nature .village-feature h3 { margin: 0; }
.work-figure { min-width: 0; margin: 0; }
.work-figure img, .work-plan img, .work-purchase-top > img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
}
.work-figure figcaption {
  margin: 9px 0 0;
  color: #555e57;
  font-size: 14px;
  line-height: 1.45;
}
.work-village-hero .work-figure img { border-radius: 0; max-height: min(66vh, 740px); object-fit: cover; object-position: center 54%; }
.work-village-hero .work-figure figcaption { margin-inline: clamp(18px, 4vw, 68px); }
.work-village-title { padding-block: clamp(27px, 4vw, 58px); }
.work-village-title p { font-size: clamp(16px, 1.5vw, 21px); }
.work-view-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 26px);
}
.work-stat { font-family: Manrope, Inter, sans-serif; font-size: 1.5em; white-space: nowrap; }
.work-plan a { display: block; margin-top: 18px; }
.work-purchase-top h1 { font-size: clamp(36px, 5vw, 74px); }
.work-bank-list, .work-purchase-steps { list-style: none; padding: 0; }
.work-bank-list { display: flex; flex-wrap: wrap; gap: 10px; }
.work-bank-list li { background: #fff; border: 1px solid #A9AEA3; border-radius: 10px; padding: 9px 12px; }
.work-purchase-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(175px,1fr));
  counter-reset: purchase-step;
  gap: 14px;
}
.work-purchase-steps li { padding: 16px; border: 1px solid #dddcd4; background: #fff; border-radius: 12px; }
.work-purchase-steps li::before { counter-increment: purchase-step; content: counter(purchase-step, decimal-leading-zero); display: block; color: #725c3e; margin-bottom: 8px; }
.work-catalog-note { padding: 0 0 30px; }
#request, #masterplan, #house-request { scroll-margin-top: 80px; }
#models .kc-cards { align-items: stretch; }
#models .kc-card { display: flex; flex-direction: column; min-width: 0; }
#models .kc-content { display: flex; flex: 1; flex-direction: column; }
#models .kc-actions { margin-top: auto; }
@media (max-width: 740px) {
  .work-nature, .work-visit, .work-purchase-top, .work-view-grid { grid-template-columns: minmax(0,1fr); }
  .work-village-hero .work-figure img { max-height: none; }
}

.consultation-qr { display: none; }
@media (min-width: 1101px) and (hover: hover) and (pointer: fine) {
  #request:has(> .consultation-qr) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 190px;
    column-gap: 28px;
    align-items: start;
  }
  #request > :not(.consultation-qr) { grid-column: 1; }
  #request > a { justify-self: start; }
  #request > .consultation-qr {
    display: grid;
    grid-column: 2;
    grid-row: 1 / span 4;
    justify-items: center;
    align-self: center;
    text-align: center;
    padding: 12px;
    border: 1px solid #dfdbd2;
    border-radius: 12px;
    background: #F4F3EF;
  }
  .consultation-qr img { display: block; }
  .consultation-qr strong { margin-top: 8px; font-family: Manrope, sans-serif; }
  .consultation-qr p { margin: 4px 0 0; font-size: 13px; }
}
