/* 812 House — dark green / cream / gold */
:root {
  --green: #1e3d2b;
  --green-dark: #142b1e;
  --cream: #f6f1e5;
  --cream-dark: #ece4d2;
  --gold: #c8a24e;
  --gold-dark: #a9853a;
  --ink: #26301f;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}
h1, h2, h3, .brand, .brand-foot {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  line-height: 1.15;
}
img { max-width: 100%; display: block; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.7rem 1.2rem;
  background: var(--green);
  color: var(--cream);
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
}
.brand { font-size: 1.45rem; font-weight: 700; color: var(--cream); text-decoration: none; letter-spacing: .02em; }
.brand span, .brand-foot span { color: var(--gold); letter-spacing: .12em; }
.nav nav { display: flex; align-items: center; gap: 1.1rem; }
.nav nav a { color: var(--cream); text-decoration: none; font-size: .95rem; opacity: .92; }
.nav nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--gold); }
.nav-cta {
  background: var(--gold); color: var(--green-dark) !important;
  padding: .35rem .9rem; border-radius: 999px; font-weight: 600; opacity: 1 !important;
}
.nav-cta:hover { background: var(--gold-dark); text-decoration: none !important; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 78vh; display: flex; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: relative; z-index: 1;
  width: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 4.5rem 1.4rem 3.2rem;
  background: linear-gradient(180deg, rgba(20,43,30,.25) 0%, rgba(20,43,30,.55) 55%, rgba(20,43,30,.92) 100%);
  color: var(--cream);
  text-align: center;
}
.kicker {
  text-transform: uppercase; letter-spacing: .22em; font-size: .8rem;
  color: var(--gold); font-weight: 600; margin-bottom: .6rem;
}
.hero h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); margin-bottom: .8rem; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.hero .sub { max-width: 34rem; margin: 0 auto 1.5rem; font-size: 1.06rem; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.hero-btns { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: .8rem 1.6rem; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; border: none;
  transition: transform .12s ease, background .12s ease;
}
.btn:active { transform: scale(.98); }
.btn-gold { background: var(--gold); color: var(--green-dark); }
.btn-gold:hover { background: var(--gold-dark); }
.btn-ghost { background: transparent; color: var(--cream); border: 2px solid rgba(246,241,229,.75); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-wide { width: 100%; margin-top: 1.1rem; }
.btn[disabled] { opacity: .7; cursor: default; }

/* ---------- Quick facts ---------- */
.facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px; background: var(--cream-dark);
  border-bottom: 3px solid var(--gold);
}
.fact { background: var(--cream); padding: 1.1rem .8rem; text-align: center; }
.fact strong { display: block; font-size: 1.15rem; color: var(--green); }
.fact span { font-size: .85rem; color: #5a6152; }

/* ---------- Sections ---------- */
.section { padding: 3.4rem 1.2rem; max-width: 68rem; margin: 0 auto; }
.section h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); color: var(--green); margin-bottom: .7rem; }
.section .lede { max-width: 44rem; margin-bottom: 1.8rem; color: #43503b; }
.section-green {
  max-width: none;
  background: var(--green);
  color: var(--cream);
}
.section-green .shell { max-width: calc(68rem - 2.4rem); margin: 0 auto; }
.section-green h2 { color: var(--cream); }
.section-green .lede { color: #cfd8c6; }

/* ---------- Cards / gallery ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.1rem; }
.cards-3 figure { border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.cards-3 img { aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.cards-3 figcaption { padding: .65rem .9rem; font-size: .88rem; color: #4c5744; }

/* ---------- Units ---------- */
.unit {
  background: rgba(246,241,229,.06);
  border: 1px solid rgba(200,162,78,.35);
  border-radius: 12px;
  padding: 1.4rem;
  margin-bottom: 1.4rem;
}
.unit-head { display: flex; align-items: baseline; gap: .9rem; flex-wrap: wrap; margin-bottom: .4rem; }
.unit h3 { font-size: 1.5rem; color: var(--gold); }
.unit-tag {
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: var(--gold); color: var(--green-dark);
  padding: .18rem .7rem; border-radius: 999px;
}
.unit p { color: #dfe5d7; max-width: 46rem; }
.unit-gallery {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: .6rem; margin-top: 1rem;
}
.unit-gallery img { aspect-ratio: 3/2; object-fit: cover; border-radius: 8px; }
.fp-link {
  display: inline-block; margin-top: .9rem;
  color: var(--gold); font-weight: 600; text-decoration: none;
  border-bottom: 1px solid rgba(200,162,78,.5);
}
.fp-link:hover { border-bottom-color: var(--gold); }

/* ---------- Form ---------- */
.inquiry {
  background: var(--cream);
  color: var(--ink);
  border-radius: 14px;
  padding: 1.6rem;
  max-width: 44rem;
  margin: 0 auto;
  box-shadow: 0 8px 30px rgba(0,0,0,.25);
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.inquiry label { display: block; font-size: .88rem; font-weight: 600; color: var(--green); margin-bottom: .35rem; }
.inquiry input[type=text], .inquiry input[type=email], .inquiry input[type=tel], .inquiry textarea {
  width: 100%; padding: .65rem .8rem; margin-top: .25rem;
  border: 1.5px solid #cfc7b2; border-radius: 8px;
  font: inherit; background: #fff; color: var(--ink);
}
.inquiry input:focus, .inquiry textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.inquiry fieldset { border: 1.5px solid #cfc7b2; border-radius: 8px; padding: .8rem 1rem; margin: .9rem 0; }
.inquiry legend { font-size: .88rem; font-weight: 700; color: var(--green); padding: 0 .4rem; }
.check { display: inline-flex !important; align-items: center; gap: .4rem; margin: .25rem 1rem .25rem 0; font-weight: 500 !important; }
.check input { accent-color: var(--green); width: 1.05rem; height: 1.05rem; }
.inquiry textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }
.form-note { text-align: center; font-size: .85rem; color: #6b7361; margin-top: .8rem; }
.form-note a { color: var(--green); font-weight: 700; }
#apply h2, #apply .lede { text-align: center; margin-left: auto; margin-right: auto; }
#apply .lede { max-width: 44rem; }
.tc-note { text-align: center; margin-top: 1.2rem; color: var(--cream); }
.tc-note a { color: var(--gold); font-weight: 700; }

/* ---------- Footer ---------- */
footer { background: var(--green-dark); color: #cfd8c6; padding: 2.6rem 1.4rem 1.6rem; }
.foot-grid {
  max-width: 68rem; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.6rem;
  font-size: .92rem;
}
.brand-foot { font-size: 1.3rem; color: var(--cream); margin-bottom: .4rem; }
footer a { color: var(--gold); }
footer strong { color: var(--cream); }
.eho { display: flex; gap: .9rem; align-items: flex-start; color: #aab8a0; }
.eho svg { flex-shrink: 0; margin-top: .2rem; }
.eho p { font-size: .78rem; line-height: 1.5; }
.copyright { text-align: center; margin-top: 2rem; font-size: .8rem; color: #7d8a73; }

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  .nav nav a:not(.nav-cta) { display: none; }
  .grid-2 { grid-template-columns: 1fr; }
  .hero { min-height: 88vh; }
  .unit-gallery { grid-template-columns: 1fr 1fr; }
}
