/* HNB Holdings — shared styles (colors taken from the logo) */
:root {
  --cream: #f7f5e8;
  --paper: #fffdf5;
  --forest: #1f472f;
  --forest-deep: #163522;
  --sage: #6e8b57;
  --sage-soft: #e4ead9;
  --barley: #b8862b;
  --barley-soft: #f3e6c8;
  --ink: #1d2a21;
  --muted: #55604f;
  --line: #dcdcc8;
  --danger: #a3361f;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(22, 53, 34, 0.06), 0 8px 24px rgba(22, 53, 34, 0.07);
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--forest); text-underline-offset: 3px; }
a:hover { color: var(--forest-deep); }
h1, h2, h3 { font-family: var(--display); color: var(--forest-deep); line-height: 1.15; margin: 0 0 0.5em; font-weight: 600; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.eyebrow { font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sage); font-weight: 700; margin-bottom: 0.6em; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--forest); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--barley); outline-offset: 2px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(247, 245, 232, 0.94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--forest-deep); }
.brand img { width: 48px; height: 48px; border-radius: 50%; }
.brand span { font-family: var(--display); font-size: 1.3rem; font-weight: 600; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--ink); padding: 10px 12px; border-radius: 10px; font-weight: 500; font-size: 0.98rem; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--sage-soft); color: var(--forest-deep); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid var(--forest); background: var(--forest); color: #fff; font: 600 1rem var(--body); text-decoration: none; cursor: pointer; transition: background 0.15s, transform 0.15s; }
.btn:hover { background: var(--forest-deep); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--forest); }
.btn.ghost:hover { background: var(--sage-soft); color: var(--forest-deep); }
.btn.small { min-height: 40px; padding: 0 16px; font-size: 0.92rem; }
.btn[disabled] { opacity: 0.6; cursor: wait; }

/* hero */
.hero { padding: 64px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-mark { justify-self: center; width: min(360px, 80vw); aspect-ratio: 1; border-radius: 50%; background: var(--paper); box-shadow: var(--shadow); display: grid; place-items: center; padding: 28px; }
.hero-mark img { width: 100%; border-radius: 50%; }

/* sections */
section { padding: 64px 0; }
section.tint { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 32px; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--forest); color: #fff; font-family: var(--display); font-weight: 600; font-size: 1.15rem; margin-bottom: 14px; }
.steps h3 { font-size: 1.15rem; margin-bottom: 0.35em; }
.steps p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.policy { margin-top: 24px; padding: 16px 20px; border-radius: var(--radius); background: var(--sage-soft); color: var(--forest-deep); font-size: 0.98rem; }

.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.about-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: var(--sage-soft); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.cats { display: flex; gap: 14px; margin-top: 20px; flex-wrap: wrap; }
.cat-chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 600; color: var(--forest-deep); }
.cat-chip svg { width: 32px; height: 32px; }

.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.info-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.info-card svg { width: 28px; height: 28px; color: var(--sage); margin-bottom: 10px; }
.info-card h3 { font-size: 1.15rem; }
.info-card p { color: var(--muted); margin: 0; font-size: 0.98rem; }

/* unit cards */
.units { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.unit { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.gallery { position: relative; aspect-ratio: 4 / 3; background: var(--sage-soft); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .noimg { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: var(--forest); font-weight: 600; padding: 20px; }
.gallery .noimg img { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 10px; opacity: 0.85; }
.gallery .nav-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 253, 245, 0.92); color: var(--forest-deep); cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow); }
.gallery .nav-btn.prev { left: 10px; } .gallery .nav-btn.next { right: 10px; }
.gallery .count { position: absolute; bottom: 10px; right: 10px; background: rgba(22, 53, 34, 0.8); color: #fff; font-size: 0.8rem; padding: 3px 10px; border-radius: 999px; }
.badge { position: absolute; top: 12px; left: 12px; padding: 5px 12px; border-radius: 999px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.02em; }
.badge.coming_soon { background: var(--barley-soft); color: #6b4a0d; }
.badge.showings { background: var(--forest); color: #fff; }
.unit-body { padding: 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.unit-body h3 { margin: 0; }
.unit-area { color: var(--muted); font-size: 0.95rem; margin-top: -6px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.facts li { background: var(--cream); border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px; font-size: 0.9rem; }
.facts li.rent { background: var(--sage-soft); border-color: transparent; color: var(--forest-deep); font-weight: 700; }
.unit-desc { color: var(--ink); font-size: 0.98rem; margin: 0; white-space: pre-line; }
.features { margin: 0; padding-left: 1.1em; color: var(--muted); font-size: 0.95rem; }
.notify { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); }
.notify p { font-size: 0.92rem; color: var(--muted); margin-bottom: 10px; }
.notify-row { display: flex; gap: 8px; flex-wrap: wrap; }
.notify-row input { flex: 1 1 180px; }
.done { color: var(--forest); font-weight: 600; font-size: 0.95rem; display: flex; gap: 8px; align-items: center; }
.err { color: var(--danger); font-size: 0.9rem; margin-top: 6px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

input[type="text"], input[type="email"], input[type="password"], input[type="number"], textarea, select {
  font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 14px; min-height: 48px; width: 100%;
}
input:focus, textarea:focus, select:focus { border-color: var(--sage); outline: none; box-shadow: 0 0 0 3px rgba(110, 139, 87, 0.25); }
label { font-weight: 600; font-size: 0.92rem; color: var(--forest-deep); display: block; margin-bottom: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.empty { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; text-align: center; max-width: 640px; margin: 0 auto; }
.empty .notify-row { max-width: 460px; margin: 0 auto; }

.contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.contact a.big { font-size: 1.25rem; font-weight: 700; text-decoration: none; }

/* footer */
.site-footer { background: var(--forest-deep); color: #e8eadb; padding: 40px 0; font-size: 0.92rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.site-footer a { color: #fff; }
.eho { display: flex; align-items: center; gap: 10px; }
.eho svg { width: 30px; height: 30px; flex: none; }

/* page hero (inner pages) */
.page-hero { padding: 56px 0 24px; }
.page-hero p { color: var(--muted); font-size: 1.1rem; max-width: 40em; }

@media (max-width: 900px) {
  .hero .wrap, .about { grid-template-columns: 1fr; }
  .hero-mark { width: min(260px, 70vw); order: -1; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards-3 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .steps, .contact { grid-template-columns: 1fr; }
  section { padding: 48px 0; }
  .hero { padding: 36px 0; }
  .brand span { font-size: 1.1rem; }
  .nav a { padding: 8px 10px; font-size: 0.92rem; }
}
