/* ============================================================
   NHR PROPERTIES LLC — "Floor Plan" design system
   Ink black, sage green + drafting-ivory accents, Zilla Slab display,
   plan-line backgrounds, room tags, dimension lines, ledger cards
   ============================================================ */

:root {
  --bg: #0d0f0d;
  --bg2: #111411;
  --panel: #161a15;
  --panel-hi: #1c221b;
  --edge: #2b352a;
  --edge-soft: #1b201a;
  --sg: #9dc29e;
  --sg-hi: #bddbc0;
  --sg-deep: #5f8362;
  --iv: #d9c9a8;
  --iv-deep: #8f8262;
  --txt: #f0f2ec;
  --sub: #aab3a6;
  --dim: #646e60;
  --disp: "Zilla Slab", Georgia, serif;
  --body-f: "Public Sans", "Segoe UI", Arial, sans-serif;
  --mono: "Fragment Mono", "Consolas", monospace;
  --head-h: 78px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--sub);
  font-family: var(--body-f);
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--sg); color: var(--bg); }

a { color: var(--sg); text-decoration: none; }
a:hover { color: var(--sg-hi); }

h1, h2, h3, h4 {
  font-family: var(--disp);
  color: var(--txt);
  font-weight: 700;
  line-height: 1.12;
}

.wrap { max-width: 1220px; margin: 0 auto; padding: 0 44px; }

.k-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 3.2px;
  text-transform: uppercase;
  color: var(--sg);
}
.k-label.iv { color: var(--iv); }

/* ---------------- Header ---------------- */

.phead {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--head-h);
  z-index: 300;
  background: var(--bg);
  border-bottom: 1px solid var(--edge-soft);
}

.phead .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.plogo { display: flex; align-items: center; gap: 14px; }

.plogo-plan {
  width: 46px; height: 46px;
  border: 2px solid var(--sg);
  position: relative;
  display: grid;
  place-items: center;
  font-family: var(--disp);
  font-weight: 700;
  font-size: 12px;
  color: var(--sg);
}

/* floor-plan interior walls */
.plogo-plan::before {
  content: "";
  position: absolute;
  top: 0; bottom: 60%; left: 55%;
  width: 2px;
  background: var(--sg);
}

.plogo-plan::after {
  content: "";
  position: absolute;
  left: 55%; right: 0; top: 60%;
  height: 2px;
  background: var(--sg);
}

.plogo-name {
  font-family: var(--disp);
  font-weight: 700;
  font-size: 20px;
  color: var(--txt);
  line-height: 1.15;
}

.plogo-name small {
  display: block;
  font-family: var(--mono);
  font-weight: 400;
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--dim);
  margin-top: 4px;
  text-transform: uppercase;
}

.pnav { display: flex; align-items: center; gap: 4px; }

.pnav a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--sub);
  padding: 10px 14px;
  transition: color .2s;
}

.pnav a:hover { color: var(--txt); }
.pnav a.active { color: var(--sg); }

.pnav .key-cta {
  color: var(--bg) !important;
  background: var(--iv);
  font-weight: 700;
  margin-left: 10px;
  padding: 12px 22px;
}

.pnav .key-cta:hover { background: var(--sg); }

.burger {
  display: none;
  background: none;
  border: 1px solid var(--edge);
  color: var(--txt);
  width: 44px; height: 44px;
  font-size: 18px;
  cursor: pointer;
}

.m-nav {
  display: none;
  position: fixed;
  top: var(--head-h);
  left: 0; right: 0;
  z-index: 290;
  background: var(--bg2);
  border-bottom: 1px solid var(--edge);
  padding: 8px 24px 22px;
}

.m-nav.open { display: block; }

.m-nav a {
  display: block;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sub);
  padding: 14px 0;
  border-bottom: 1px solid var(--edge-soft);
}
.m-nav a.active { color: var(--sg); }

main { padding-top: var(--head-h); }

/* ---------------- Hero — floor plan ---------------- */

.hero {
  position: relative;
  border-bottom: 1px solid var(--edge-soft);
  overflow: hidden;
}

/* drafting grid */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(var(--edge-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--edge-soft) 1px, transparent 1px);
  background-size: 64px 64px;
}

/* floor plan lines right side */
.hero-plan {
  position: absolute;
  right: 5%; top: 50%;
  transform: translateY(-50%);
  width: 460px; height: 340px;
  border: 3px solid var(--sg-deep);
  pointer-events: none;
}

.hero-plan::before {
  content: "";
  position: absolute;
  top: 0; bottom: 45%; left: 58%;
  width: 3px;
  background: var(--sg-deep);
}

.hero-plan::after {
  content: "";
  position: absolute;
  left: 58%; right: 0; top: 45%;
  height: 3px;
  background: var(--sg-deep);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 112px 0 84px;
  max-width: 700px;
}

.hero .p-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
}

.hero .p-eyebrow::before {
  content: "";
  width: 34px; height: 3px;
  background: var(--sg);
}

.hero h1 { font-size: clamp(46px, 6.4vw, 88px); }
.hero h1 em { font-style: normal; color: var(--sg); }
.hero h1 .v { color: var(--iv); }

.hero .lede { margin-top: 28px; font-size: 17px; max-width: 580px; }

.hero-cta { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: background .2s, color .2s, border-color .2s;
}

.btn-fill { background: var(--sg); color: var(--bg); }
.btn-fill:hover { background: var(--sg-hi); color: var(--bg); }
.btn-line { border: 1px solid var(--edge); color: var(--txt); }
.btn-line:hover { border-color: var(--sg); color: var(--sg); }

/* unit strip */
.unit-strip {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--edge);
  background: var(--bg2);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.unit-strip .un {
  padding: 20px 18px;
  text-align: center;
  border-right: 1px solid var(--edge-soft);
}

.unit-strip .un:last-child { border-right: 0; }

.unit-strip .un b {
  display: block;
  font-family: var(--disp);
  font-size: 15px;
  color: var(--txt);
  letter-spacing: 1px;
}

.unit-strip .un span {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--dim);
}

/* ---------------- Sections ---------------- */

.section { padding: 96px 0; border-bottom: 1px solid var(--edge-soft); }

.sec-dim {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.sec-dim::before {
  content: "";
  width: 34px; height: 12px;
  border-left: 2px solid var(--iv);
  border-right: 2px solid var(--iv);
  border-top: 2px solid var(--iv);
}

.sec-dim::after { content: ""; flex: 1; height: 1px; background: var(--edge-soft); }

.sec-head { margin-bottom: 56px; }
.sec-head h2 { font-size: clamp(32px, 4.4vw, 56px); }
.sec-head h2 em { font-style: normal; color: var(--sg); }
.sec-head h2 .v { color: var(--iv); }
.sec-head .sub { margin-top: 18px; max-width: 620px; font-size: 16px; }

/* ---------------- Portfolio cards (room tags) ---------------- */

.port-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.port {
  border: 1px solid var(--edge);
  background: var(--panel);
  padding: 36px 32px;
  transition: transform .25s, border-color .25s, background .25s;
  position: relative;
}

/* door swing arc */
.port::before {
  content: "";
  position: absolute;
  top: 14px; right: 14px;
  width: 22px; height: 22px;
  border-top: 2px solid var(--iv-deep);
  border-right: 2px solid var(--iv-deep);
  border-radius: 0 100% 0 0;
}

.port:hover { transform: translateY(-5px); border-color: var(--sg-deep); background: var(--panel-hi); }

.port .p-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--sg);
  padding: 6px 12px;
  font-weight: 700;
}

.port .p-tag.iv { background: var(--iv); }

.port h3 { font-size: 24px; margin: 20px 0 12px; }
.port p { font-size: 14px; }

.port .p-line {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--edge);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  color: var(--dim);
  line-height: 2;
}

/* ---------------- Service register ---------------- */

.register { border-top: 1px solid var(--edge); }

.reg-row {
  display: grid;
  grid-template-columns: 140px 1.2fr 1.7fr;
  gap: 36px;
  padding: 32px 8px;
  border-bottom: 1px solid var(--edge-soft);
  align-items: baseline;
}

.reg-row .g-code {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--sg);
}

.reg-row .g-code.iv { color: var(--iv); }

.reg-row h3 { font-size: 22px; }
.reg-row p { font-size: 14.5px; }

/* ---------------- Split ---------------- */

.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.duo h2 { font-size: clamp(30px, 3.8vw, 48px); }
.duo h2 em { font-style: normal; color: var(--sg); }
.duo h2 .v { color: var(--iv); }
.duo > div > p { margin-top: 18px; font-size: 15.5px; }

/* File card */

.filecard {
  border: 1px solid var(--edge);
  background: var(--panel);
}

.filecard .f-head {
  padding: 18px 30px;
  border-bottom: 2px solid var(--sg);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: var(--sg);
  display: flex;
  justify-content: space-between;
}

.filecard .f-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 30px;
  border-bottom: 1px dashed var(--edge-soft);
  font-size: 14px;
}

.filecard .f-row:last-child { border-bottom: 0; }

.filecard .f-row .k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--dim);
  padding-top: 4px;
  white-space: nowrap;
}

.filecard .f-row .v { color: var(--txt); text-align: right; }

/* ---------------- Stats ---------------- */

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat {
  border: 1px solid var(--edge);
  background: var(--bg2);
  padding: 40px 28px;
  text-align: center;
  position: relative;
}

.stat::before {
  content: "";
  position: absolute;
  top: 0; left: 28px; right: 28px;
  height: 3px;
  background: var(--sg);
}

.stat .n {
  font-family: var(--disp);
  font-weight: 700;
  font-size: 48px;
  color: var(--txt);
  line-height: 1;
  margin-top: 8px;
}

.stat .n i { font-style: normal; color: var(--sg); }
.stat .n b { font-weight: 400; color: var(--iv); font-style: normal; }

.stat .c {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--dim);
  margin-top: 14px;
}

/* ---------------- Quote ---------------- */

.quote-zone { padding: 96px 0; text-align: center; }

.quote-zone .qt {
  font-family: var(--disp);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  color: var(--txt);
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.4;
}

.quote-zone cite {
  display: block;
  margin-top: 30px;
  font-family: var(--mono);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sg);
}

/* ---------------- CTA ---------------- */

.cta-zone {
  padding: 104px 0;
  text-align: center;
  border-top: 1px solid var(--edge);
  background:
    linear-gradient(var(--edge-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--edge-soft) 1px, transparent 1px),
    var(--bg2);
  background-size: 64px 64px;
  position: relative;
}

.cta-zone::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 300px at 50% 50%, var(--bg2) 30%, transparent 92%);
}

.cta-zone .inner { position: relative; }
.cta-zone .k-label { display: inline-block; margin-bottom: 22px; }
.cta-zone h2 { font-size: clamp(32px, 4.6vw, 60px); }
.cta-zone h2 em { font-style: normal; color: var(--sg); }
.cta-zone h2 .v { color: var(--iv); }
.cta-zone p { margin: 22px auto 40px; max-width: 560px; font-size: 16px; }

/* ---------------- Footer ---------------- */

.p-foot {
  border-top: 1px solid var(--edge);
  background: var(--bg2);
  padding: 68px 0 34px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.9fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--edge-soft);
}

.foot-grid h4 {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 20px;
}

.foot-grid ul { list-style: none; }
.foot-grid li { margin-bottom: 11px; font-size: 14px; }
.foot-grid li a { color: var(--sub); }
.foot-grid li a:hover { color: var(--sg); }

.foot-desc { margin-top: 16px; font-size: 13.5px; max-width: 360px; color: var(--dim); }

.foot-bar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 26px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 1px;
  color: var(--dim);
}

.foot-bar a { color: var(--sub); }
.foot-bar a:hover { color: var(--sg); }

/* ---------------- Page hero ---------------- */

.page-hero {
  padding: 88px 0 64px;
  border-bottom: 1px solid var(--edge-soft);
  background:
    linear-gradient(var(--edge-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--edge-soft) 1px, transparent 1px),
    var(--bg2);
  background-size: 64px 64px;
  position: relative;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--bg) 0%, transparent 70%);
}

.page-hero .wrap { position: relative; }

.crumb {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 26px;
}

.crumb a { color: var(--sg); }

.page-hero h1 { font-size: clamp(38px, 5.4vw, 68px); }
.page-hero h1 em { font-style: normal; color: var(--sg); }
.page-hero h1 .v { color: var(--iv); }
.page-hero .lede { margin-top: 24px; max-width: 640px; font-size: 17px; }

/* ---------------- Contact ---------------- */

.contact-cols {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 62px;
  padding: 84px 0;
}

.room-card {
  border: 1px solid var(--edge);
  background: var(--panel);
  padding: 22px 28px;
  margin-bottom: 18px;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 20px;
  align-items: start;
  position: relative;
}

.room-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--sg);
}

.room-card .fld {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--iv);
  padding-top: 5px;
}

.room-card .val {
  font-family: var(--disp);
  font-size: 20px;
  font-weight: 700;
  color: var(--txt);
  line-height: 1.3;
}

.room-card .val a { color: var(--txt); }
.room-card .val a:hover { color: var(--sg); }

.room-card .nt { grid-column: 2; font-size: 13px; color: var(--dim); }

.prop-form {
  border: 1px solid var(--edge);
  background: var(--panel);
  padding: 46px;
  position: relative;
}

.prop-form::before {
  content: "File · NHR-887";
  position: absolute;
  top: 0; left: 0;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--bg);
  background: var(--sg);
  padding: 7px 14px;
}

.prop-form h2 { font-size: 28px; margin-bottom: 8px; margin-top: 10px; }
.prop-form > p { font-size: 13px; color: var(--dim); margin-bottom: 30px; font-family: var(--mono); }

.f-field { margin-bottom: 20px; }

.f-field label {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 9px;
}

.f-field input,
.f-field select,
.f-field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--edge);
  color: var(--txt);
  font-family: var(--body-f);
  font-size: 15px;
  padding: 14px 16px;
  outline: none;
  transition: border-color .2s;
}

.f-field textarea { min-height: 140px; resize: vertical; }

.f-field input:focus,
.f-field select:focus,
.f-field textarea:focus { border-color: var(--sg); }

.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.f-note { font-size: 12px; color: var(--dim); margin-top: 16px; font-family: var(--mono); }

/* ---------------- Legal prose ---------------- */

.prose { max-width: 840px; padding: 76px 0 100px; }

.prose .policy-head {
  border: 1px solid var(--edge);
  border-left: 4px solid var(--sg);
  background: var(--panel);
  padding: 30px 34px;
  margin-bottom: 44px;
  font-size: 15.5px;
}

.prose .upd {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--sg);
  border: 1px solid var(--sg-deep);
  padding: 7px 14px;
  margin-bottom: 26px;
}

.prose h2 {
  font-size: 26px;
  margin: 54px 0 18px;
  padding-top: 38px;
  border-top: 1px solid var(--edge-soft);
}

.prose h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 44px; }
.prose h3 { font-size: 19px; margin: 30px 0 10px; }
.prose p { margin-bottom: 15px; font-size: 15.5px; }
.prose ul { margin: 0 0 15px 22px; font-size: 15.5px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--txt); }

/* ---------------- Reveal ---------------- */

.rv { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }

/* ---------------- Responsive ---------------- */

@media (max-width: 1080px) {
  .pnav { display: none; }
  .burger { display: block; }
  .hero-plan { display: none; }
  .port-grid { grid-template-columns: 1fr; }
  .duo, .contact-cols { grid-template-columns: 1fr; gap: 48px; }
  .reg-row { grid-template-columns: 110px 1fr; }
  .reg-row p { grid-column: 2; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .unit-strip { grid-template-columns: 1fr 1fr; }
  .unit-strip .un { border-bottom: 1px solid var(--edge-soft); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .wrap { padding: 0 26px; }
  .prop-form { padding: 36px 24px; }
  .f-row { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .stat-grid, .unit-strip { grid-template-columns: 1fr; }
}
