/* HEK Properties Ltd */
:root {
  --ink: #14201b;
  --text: #2b3631;
  --muted: #55625c;
  --forest: #1e3b33;
  --forest-2: #2c5245;
  --forest-3: #3d6a5a;
  --sand: #f6f2eb;
  --sand-2: #ece5d8;
  --white: #ffffff;
  --brass: #d4a25a;
  --brass-dark: #8a5a1f;
  --line: #ddd4c4;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 32, 27, 0.08);
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 72px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 0.6em; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--forest-2); }

.container { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

/* Focus & skip link */
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--ink); color: var(--white);
  padding: 0.7rem 1.1rem; border-radius: 8px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 242, 235, 0.94);
  backdrop-filter: saturate(160%) blur(8px);
  -webkit-backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1rem; }

.brand { display: inline-flex; align-items: baseline; gap: 0.45rem; text-decoration: none; color: var(--ink); }
.brand-name { font-family: var(--serif); font-size: 1.75rem; letter-spacing: 0.06em; color: var(--forest); }
.brand-sub { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-dark); }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0.35rem; }
.site-nav a {
  display: inline-block; padding: 0.55rem 0.9rem; border-radius: 999px;
  color: var(--ink); font-weight: 500; font-size: 0.97rem; text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.site-nav a:hover { background: var(--sand-2); }
.site-nav a.nav-cta { background: var(--forest); color: var(--white); }
.site-nav a.nav-cta:hover { background: var(--forest-2); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--white); cursor: pointer; position: relative;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  position: absolute; left: 50%; width: 20px; height: 2px; background: var(--ink);
  transform: translateX(-50%); transition: transform 0.2s ease, opacity 0.2s ease; content: "";
}
.nav-toggle-bar { top: 50%; margin-top: -1px; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateX(-50%) translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateX(-50%) translateY(-6px) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
  font-weight: 600; font-size: 1rem; text-decoration: none; line-height: 1.2;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brass); color: var(--ink); }
.btn-primary:hover { background: #e0b26c; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.55); color: var(--white); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--white); }
.btn-small { padding: 0.65rem 1.1rem; font-size: 0.95rem; }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #e9efe9;
  background:
    radial-gradient(1000px 500px at 85% 10%, rgba(212, 162, 90, 0.18), transparent 60%),
    radial-gradient(800px 600px at 0% 100%, rgba(61, 106, 90, 0.55), transparent 60%),
    linear-gradient(160deg, var(--forest) 0%, #16302a 100%);
}
.hero-inner {
  display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 3rem;
  padding: clamp(4rem, 9vw, 7.5rem) 0;
}
.hero h1 { color: var(--white); font-size: clamp(2.3rem, 5vw, 3.7rem); max-width: 16ch; }
.hero .lead { font-size: 1.15rem; max-width: 52ch; color: #d5e0d9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }

.eyebrow {
  display: inline-block; margin-bottom: 1rem;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brass);
}
.eyebrow-dark { color: var(--brass-dark); }

/* Hero art: CSS-only rooflines */
.hero-art { position: relative; height: 340px; }
.skyline { position: absolute; inset: 0 0 18px 0; display: flex; align-items: flex-end; justify-content: center; gap: 14px; }
.bldg {
  display: block; position: relative;
  clip-path: polygon(50% 0, 100% 28%, 100% 100%, 0 100%, 0 28%);
}
.bldg::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 26%; height: 22%; background: rgba(20, 32, 27, 0.55); border-radius: 4px 4px 0 0;
}
.bldg-1 { width: 120px; height: 200px; background: linear-gradient(180deg, #4b7d6b, #2c5245); }
.bldg-2 { width: 160px; height: 290px; background: linear-gradient(180deg, var(--brass), #a87835); }
.bldg-3 { width: 110px; height: 170px; background: linear-gradient(180deg, #e9e1d2, #c9bea9); }
.bldg-2::before {
  content: ""; position: absolute; left: 50%; top: 34%; transform: translateX(-50%);
  width: 46%; height: 30%;
  background:
    linear-gradient(rgba(20, 32, 27, 0.45), rgba(20, 32, 27, 0.45)) left top / 44% 44% no-repeat,
    linear-gradient(rgba(20, 32, 27, 0.45), rgba(20, 32, 27, 0.45)) right top / 44% 44% no-repeat,
    linear-gradient(rgba(20, 32, 27, 0.45), rgba(20, 32, 27, 0.45)) left bottom / 44% 44% no-repeat,
    linear-gradient(rgba(20, 32, 27, 0.45), rgba(20, 32, 27, 0.45)) right bottom / 44% 44% no-repeat;
}
.ground { position: absolute; left: 6%; right: 6%; bottom: 10px; height: 8px; border-radius: 99px; background: rgba(233, 225, 210, 0.35); }

/* Sections */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--white); }
.section-head { max-width: 640px; margin-bottom: 2.6rem; }
.section-head h2, .about-grid h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.section-head p:not(.eyebrow) { color: var(--muted); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.7rem; box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(20, 32, 27, 0.12); }
.card p { color: var(--muted); margin: 0; }
.card-icon {
  display: block; width: 52px; height: 52px; border-radius: 12px; margin-bottom: 1.3rem;
  background: var(--sand); position: relative;
}
.card-icon::before {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 26px; height: 24px; background: var(--forest);
  clip-path: polygon(50% 0, 100% 40%, 100% 100%, 0 100%, 0 40%);
}
.icon-sell::before { background: var(--brass-dark); }
.icon-let::before { background: var(--forest-3); }
.icon-buy::after,
.icon-sell::after {
  content: ""; position: absolute; right: 7px; top: 7px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--brass);
}
.icon-sell::after { background: var(--forest); }
.icon-let::after {
  content: ""; position: absolute; left: 50%; top: 58%; transform: translate(-50%, -50%);
  width: 8px; height: 8px; border-radius: 50%; background: var(--brass);
}

/* About */
.about-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 3.5rem; align-items: center; }
.facts { margin: 0; display: grid; gap: 1rem; }
.fact {
  background: var(--sand); border-left: 4px solid var(--brass); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.1rem 1.4rem;
}
.fact dt { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass-dark); }
.fact dd { margin: 0.2rem 0 0; font-family: var(--serif); font-size: 1.5rem; color: var(--ink); }

/* Details (dark) */
.section-dark { background: linear-gradient(170deg, var(--forest) 0%, #16302a 100%); color: #d5e0d9; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.details-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.detail {
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius); padding: 1.8rem 1.6rem;
}
.detail h3 { color: var(--brass); font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.9rem; }
.detail address, .detail p { font-style: normal; color: #e9efe9; margin: 0 0 1rem; }
.detail address { margin: 0; }

/* Footer */
.site-footer { background: var(--ink); color: #b9c4be; padding: 3rem 0 2.2rem; font-size: 0.95rem; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding-bottom: 1.4rem; border-bottom: 1px solid rgba(255, 255, 255, 0.12); margin-bottom: 1.4rem; }
.footer-brand { margin: 0; }
.footer-brand .brand-name { color: var(--white); font-size: 1.5rem; }
.footer-brand .brand-sub { color: var(--brass); }
.footer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer-nav a { color: #e9efe9; text-decoration: none; }
.footer-nav a:hover { color: var(--brass); text-decoration: underline; }
.footer-address { color: #e9efe9; }
.legal { font-size: 0.88rem; max-width: 80ch; }
.copyright { font-size: 0.88rem; margin: 0; }

/* Responsive */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-art { height: 240px; max-width: 420px; }
  .bldg-1 { width: 90px; height: 140px; }
  .bldg-2 { width: 120px; height: 210px; }
  .bldg-3 { width: 82px; height: 120px; }
  .cards, .details-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .facts { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--sand); border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(20, 32, 27, 0.08);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 0.8rem 1.25rem 1.2rem; gap: 0.3rem; }
  .site-nav a { display: block; padding: 0.8rem 1rem; border-radius: 10px; }
  .site-nav a.nav-cta { text-align: center; margin-top: 0.4rem; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .cards, .details-grid, .facts { grid-template-columns: 1fr; }
  .hero-art { height: 190px; margin-inline: auto; width: 100%; }
  .bldg-1 { width: 70px; height: 110px; }
  .bldg-2 { width: 96px; height: 165px; }
  .bldg-3 { width: 64px; height: 95px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .brand-name { font-size: 1.5rem; }
  .brand-sub { font-size: 0.72rem; }
}
