@import url('https://fonts.googleapis.com/css2?family=Frank+Ruhl+Libre:wght@300;400;500;700&family=Heebo:wght@300;400;500;600;700&display=swap');

/* =====================================================================
   Tokens
   ===================================================================== */
:root {
  --bg: #f1f3ee;
  --paper: #ffffff;
  --sage: #8da48e;
  --sage-soft: #dbe3d9;
  --sage-mist: #e9eee7;
  --sage-deep: #5c7660;
  --sage-ink: #3f5443;
  --ink: #1f2a24;
  --muted: #5f6b63;
  --accent: #d9762b;
  --accent-deep: #b95f1d;
  --accent-soft: #f7e3d1;
  --line: #d3dbd1;
  --hex: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%);
  --display: 'Frank Ruhl Libre', 'David', 'Times New Roman', serif;
  --body: 'Heebo', 'Arial Hebrew', system-ui, sans-serif;
  --radius: 4px;
  --radius-lg: 10px;
  --wrap: 1160px;
  --header-h: 72px;

  /* fluid type scale */
  --fs-xs: .78rem;
  --fs-sm: .9rem;
  --fs-md: clamp(1rem, .96rem + .2vw, 1.0625rem);
  --fs-lg: clamp(1.1rem, 1rem + .4vw, 1.28rem);
  --fs-h3: clamp(1.25rem, 1.1rem + .55vw, 1.5rem);
  --fs-h2: clamp(1.95rem, 1.35rem + 2.1vw, 2.9rem);
  --fs-h1: clamp(2.6rem, 1.45rem + 4.7vw, 5rem);

  --ease: cubic-bezier(.22, .68, .2, 1);
  --ease-reveal: cubic-bezier(.33, 1, .68, 1);
  --shadow-sm: 0 1px 2px rgba(31,42,36,.06), 0 6px 18px -10px rgba(31,42,36,.18);
  --shadow-md: 0 2px 6px rgba(31,42,36,.06), 0 24px 40px -24px rgba(31,42,36,.35);

  --phone-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15 15 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1L6.6 10.8z'/%3E%3C/svg%3E");
}
@media (max-width: 820px) { :root { --header-h: 62px; } }

/* =====================================================================
   Base
   ===================================================================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
html.nav-open { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: var(--fs-md);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.12; margin: 0; letter-spacing: -0.005em; text-wrap: balance; }
h1 { font-size: var(--fs-h1); line-height: 1.06; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 1em; max-width: 62ch; }
.lead-p { font-size: var(--fs-lg); font-weight: 300; color: var(--sage-ink); }

.wrap { width: min(var(--wrap), calc(100% - 2.5rem)); margin-inline: auto; }
@media (max-width: 480px) { .wrap { width: calc(100% - 2rem); } }

.skip-link { position: absolute; top: -100px; inset-inline-start: 1rem; z-index: 200; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: var(--radius); text-decoration: none; }
.skip-link:focus { top: .6rem; }

.eyebrow {
  display: flex; align-items: center; gap: .6rem;
  font-size: var(--fs-xs); font-weight: 600; color: var(--accent);
  margin: 0 0 .7rem; letter-spacing: .03em; max-width: none;
  font-variant-numeric: tabular-nums;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: currentColor; border-radius: 2px; flex: 0 0 auto; }

.phone-ico { display: inline-block; width: 1em; height: 1em; background: currentColor; -webkit-mask: var(--phone-ico) center / contain no-repeat; mask: var(--phone-ico) center / contain no-repeat; }
.phone-num { direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .72rem 1.35rem; border-radius: var(--radius); border: 1px solid transparent;
  font-weight: 500; text-decoration: none; line-height: 1.2; white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary, .btn-accent { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after, .btn-accent::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%);
  transform: translateX(120%); transition: transform .7s var(--ease);
}
.btn-primary:hover::after, .btn-accent:hover::after { transform: translateX(-120%); }
.btn-lg { padding: .95rem 1.7rem; font-size: 1.02rem; }
.btn-primary { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--sage-deep); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn-accent:hover { background: var(--accent-deep); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-danger { background: transparent; color: #a33; border-color: #e3bcbc; }
.btn-danger:hover { background: #fbeaea; }

/* reduced motion: no transitions, no animation, everything visible */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .hero-in, [data-reveal], [data-reveal="stagger"] > * { opacity: 1 !important; transform: none !important; }
  .scroll-cue { display: none !important; }
  .hex-ring-a { opacity: .75; transform: translate(-3.5%, 3%); }
}

/* =====================================================================
   Header
   ===================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -22px rgba(31,42,36,.35); background: color-mix(in srgb, var(--bg) 92%, transparent); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; min-width: 0; }
.brand .mark, .foot-brand .mark {
  width: 34px; height: 34px; flex: 0 0 auto; background: var(--sage-deep);
  -webkit-mask: url('/img/mark-white.png') center / contain no-repeat; mask: url('/img/mark-white.png') center / contain no-repeat;
}
.brand-text { line-height: 1.1; }
.brand b { font-family: var(--display); font-weight: 700; font-size: 1.35rem; letter-spacing: .01em; display: block; }
.brand small { display: block; font-size: .7rem; color: var(--muted); letter-spacing: .08em; margin-top: 1px; }
.nav { display: flex; align-items: center; gap: 1.8rem; font-weight: 500; }
.nav a:not(.phone-btn) { position: relative; text-decoration: none; color: var(--muted); padding: .3rem 0; transition: color .2s; }
.nav a:not(.phone-btn)::after { content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease); border-radius: 2px; }
.nav a:not(.phone-btn):hover, .nav a.is-active { color: var(--ink); }
.nav a:not(.phone-btn):hover::after, .nav a.is-active::after { transform: scaleX(1); }
.phone-btn {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--sage-deep); color: #fff; padding: .52rem 1.05rem; border-radius: 999px; text-decoration: none !important; font-weight: 500;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.phone-btn:hover { background: var(--ink); color: #fff; transform: translateY(-1px); }

/* hamburger */
.nav-toggle {
  display: none; position: relative; width: 44px; height: 44px; margin-inline-start: -.4rem;
  border: 0; background: transparent; border-radius: 50%; flex: 0 0 auto;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle .bar { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s var(--ease); }
.nav-open .nav-toggle .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle .bar:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.nav-open .nav-toggle .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* drawer */
.nav-backdrop {
  position: fixed; inset: 0; top: var(--header-h); z-index: 44; background: rgba(31,42,36,.42);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s .3s;
}
.nav-drawer {
  position: fixed; top: var(--header-h); inset-inline: 0; z-index: 45;
  background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
  max-height: calc(100dvh - var(--header-h)); overflow: auto;
  padding: .4rem clamp(1rem, 4vw, 2rem) 1.6rem;
  transform: translateY(-14px); opacity: 0; visibility: hidden;
  transition: transform .38s var(--ease), opacity .3s var(--ease), visibility 0s .38s;
}
.nav-open .nav-backdrop { opacity: 1; visibility: visible; transition: opacity .3s var(--ease), visibility 0s; }
.nav-open .nav-drawer { transform: none; opacity: 1; visibility: visible; transition: transform .38s var(--ease), opacity .3s var(--ease), visibility 0s; }
.drawer-nav { display: grid; }
.drawer-nav a {
  display: flex; align-items: baseline; gap: 1rem; padding: 1rem .2rem;
  font-family: var(--display); font-size: clamp(1.5rem, 5vw, 1.9rem); font-weight: 500; text-decoration: none;
  border-bottom: 1px solid var(--line); color: var(--ink);
  opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .4s var(--ease), color .2s;
}
.nav-open .drawer-nav a { opacity: 1; transform: none; }
.nav-open .drawer-nav a:nth-child(1) { transition-delay: .06s; }
.nav-open .drawer-nav a:nth-child(2) { transition-delay: .12s; }
.nav-open .drawer-nav a:nth-child(3) { transition-delay: .18s; }
.drawer-nav a:hover { color: var(--sage-deep); }
.drawer-nav .n { font-family: var(--body); font-size: var(--fs-xs); font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }
.drawer-foot { display: grid; gap: .8rem; padding-top: 1.3rem; }
.drawer-foot .btn { justify-self: start; }
.drawer-foot p { color: var(--muted); font-size: var(--fs-sm); margin: 0; }

@media (max-width: 820px) {
  .nav { gap: .8rem; }
  .site-header:has(.nav-toggle) .nav a:not(.phone-btn) { display: none; }
  .nav-toggle { display: inline-flex; }
  .phone-btn { padding: .45rem .8rem; font-size: .95rem; }
}
@media (min-width: 821px) { .nav-drawer, .nav-backdrop { display: none; } }
@media (max-width: 400px) { .brand small { display: none; } .brand b { font-size: 1.25rem; } }

/* =====================================================================
   Hero
   ===================================================================== */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(2.2rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem);
}
@media (min-width: 821px) {
  .hero { min-height: min(calc(100vh - var(--header-h)), 820px); min-height: min(calc(100svh - var(--header-h)), 820px); display: flex; flex-direction: column; justify-content: center; }
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(50% 60% at 88% 8%, color-mix(in srgb, var(--accent-soft) 32%, transparent) 0%, transparent 70%),
    radial-gradient(55% 70% at 15% 60%, color-mix(in srgb, var(--sage-soft) 60%, transparent) 0%, transparent 70%),
    linear-gradient(180deg, #f5f7f2 0%, var(--bg) 55%, var(--sage-mist) 100%);
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-copy h1 { margin-bottom: 1.3rem; max-width: 12ch; }
.hero-copy h1 em { font-style: normal; color: var(--sage-deep); }
.hero-copy .lede { font-size: var(--fs-lg); color: var(--muted); font-weight: 300; max-width: 50ch; margin-bottom: 1.7rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.hero-actions .btn-ghost { background: color-mix(in srgb, var(--paper) 70%, transparent); }
.btn .btn-arrow { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(-5px); }
.hero-trust { list-style: none; margin: 2.4rem 0 0; padding: 0; display: flex; flex-wrap: wrap; }
.hero-trust li { display: grid; padding-inline-end: 1.7rem; margin-inline-end: 1.7rem; border-inline-end: 1px solid var(--line); }
.hero-trust li:last-child { border: 0; margin: 0; padding: 0; }
.hero-trust strong { font-family: var(--display); font-weight: 500; font-size: clamp(1.5rem, 1.1rem + 1.1vw, 2rem); line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; min-width: 2ch; }
.hero-trust span { font-size: var(--fs-sm); color: var(--muted); }

.hero-visual { position: relative; transform: translate3d(var(--sx, 0px), var(--sy, 0px), 0); transition: transform .6s var(--ease); }
.hero-hex {
  position: relative; aspect-ratio: 1 / 1.05; z-index: 1;
  transform: translate3d(0, var(--py, 0px), 0) perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .5s var(--ease); transform-style: preserve-3d;
  filter: drop-shadow(0 30px 40px rgba(31,42,36,.22));
}
.hero-hex img { width: 100%; height: 100%; object-fit: cover; clip-path: var(--hex); animation: heroFloat 8s ease-in-out infinite; }
@keyframes heroFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hex-ring { position: absolute; inset: 0; background: center / 100% 100% no-repeat; pointer-events: none; }
.hex-ring-a { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 105' preserveAspectRatio='none'%3E%3Cpolygon points='25,1 75,1 99.5,52.5 75,104 25,104 0.5,52.5' fill='none' stroke='%235c7660' stroke-width='1.1' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); transform: translate(-3.5%, 3%); opacity: .75; }
.js .hero-visual.hero-in .hex-ring-a { animation: ringIn 1.2s var(--ease) .5s both; }
@keyframes ringIn { from { opacity: 0; transform: translate(0, 0); } to { opacity: .75; transform: translate(-3.5%, 3%); } }

.hero-tag {
  position: absolute; z-index: 2; bottom: -1.2rem; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: .85rem; text-decoration: none; white-space: nowrap;
  background: var(--paper); padding: .7rem 1.1rem .7rem 1rem; border-radius: 999px;
  box-shadow: var(--shadow-md); border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.hero-tag:hover { transform: translate(-50%, -3px); border-color: var(--sage); }
.hero-tag .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); flex: 0 0 auto; margin-inline-start: .2rem; }
.hero-tag-text { display: grid; line-height: 1.2; }
.hero-tag b { font-family: var(--display); font-weight: 500; font-size: 1.1rem; }
.hero-tag small { color: var(--muted); font-size: var(--fs-xs); }
.hero-tag .arrow { color: var(--sage-deep); font-size: 1.1rem; transition: transform .3s var(--ease); margin-inline-start: .2rem; }
.hero-tag:hover .arrow { transform: translateX(-4px); }

.scroll-cue {
  position: absolute; bottom: 1.3rem; left: 50%; transform: translateX(-50%);
  width: 24px; height: 38px; border: 1.5px solid var(--sage); border-radius: 12px; display: block; opacity: .8;
}
.scroll-cue span { position: absolute; top: 6px; left: 50%; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--sage-deep); animation: cue 1.9s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(13px); opacity: 0; } }

/* entrance */
.js .hero-in { opacity: 0; animation: heroIn .9s var(--ease) forwards; animation-delay: var(--d, 0ms); }
@keyframes heroIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.js .hero-visual.hero-in { animation-name: heroVisualIn; animation-duration: 1.1s; }
@keyframes heroVisualIn { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: translate3d(var(--sx, 0px), var(--sy, 0px), 0); } }

@media (max-width: 1024px) {
  .hero .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 2.4rem; }
  .hero-visual { order: -1; max-width: 440px; width: 100%; margin: 0 auto; }
  .hero-hex { filter: drop-shadow(0 18px 24px rgba(31,42,36,.18)); }
  .hero-copy h1 { max-width: none; }
  .scroll-cue { display: none; }
  .hero-trust { margin-top: 1.8rem; }
}
@media (max-width: 480px) {
  .hero-visual { max-width: 330px; }
  .hero-tag { padding: .55rem .9rem .55rem .8rem; gap: .6rem; }
  .hero-tag b { font-size: 1rem; }
  .hero-trust li { padding-inline-end: 1rem; margin-inline-end: 1rem; }
  .hero-actions .btn { flex: 1 1 auto; }
}

/* =====================================================================
   Scroll reveal
   ===================================================================== */
.js [data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .9s var(--ease-reveal), transform 1s var(--ease-reveal);
  transition-delay: var(--delay, 0ms);
}
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(.96); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

.js [data-reveal="stagger"] { opacity: 1; transform: none; transition: none; }
.js [data-reveal="stagger"] > * {
  opacity: 0; transform: translateY(24px);
  transition: opacity .8s var(--ease-reveal), transform .9s var(--ease-reveal);
  transition-delay: calc(var(--i, 0) * 110ms + var(--delay, 0ms));
}
.js [data-reveal="stagger"].is-in > * { opacity: 1; transform: none; }

/* =====================================================================
   Sections
   ===================================================================== */
.section { padding: clamp(3rem, 7vw, 6rem) 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: clamp(1.6rem, 3vw, 2.6rem); }
.section-head .note { color: var(--muted); font-size: var(--fs-sm); padding-bottom: .35rem; }
@media (max-width: 600px) { .section-head { flex-direction: column; align-items: flex-start; gap: .3rem; } }

/* featured project */
.featured {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
  text-decoration: none; color: inherit; position: relative; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3.5vw, 2.8rem); margin-bottom: clamp(2rem, 4vw, 3rem);
  box-shadow: var(--shadow-sm); transition: box-shadow .4s var(--ease), transform .4s var(--ease), border-color .3s;
}
.featured:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--sage); }
.featured-media { position: relative; max-width: 420px; width: 100%; margin: 0 auto; }
.featured-media figure { margin: 0; aspect-ratio: 1 / 1.08; clip-path: var(--hex); background: var(--sage-soft); overflow: hidden; }
.featured-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.featured:hover .featured-media img { transform: scale(1.05); }
.featured-body { display: grid; gap: .5rem; align-content: center; }
.featured-top { display: flex; align-items: center; gap: .7rem; margin-bottom: .2rem; }
.featured-top .status { font-size: var(--fs-xs); font-weight: 500; color: var(--sage-deep); border: 1px solid var(--sage); padding: .12rem .7rem; border-radius: 999px; background: var(--bg); }
.featured-city { font-size: var(--fs-sm); color: var(--muted); }
.featured-title { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.8rem); line-height: 1.1; transition: color .25s; }
.featured:hover .featured-title { color: var(--sage-deep); }
.featured-address { color: var(--muted); }
.featured-tagline { font-size: var(--fs-lg); font-weight: 300; color: var(--sage-ink); margin: .6rem 0 0; max-width: 40ch; }
.featured-facts { list-style: none; margin: 1rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 0; }
.featured-facts li { display: grid; padding-inline-end: 1.5rem; margin-inline-end: 1.5rem; border-inline-end: 1px solid var(--line); }
.featured-facts li:last-child { border: 0; margin: 0; padding: 0; }
.featured-facts strong { font-family: var(--display); font-weight: 500; font-size: 1.7rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.featured-facts span { font-size: var(--fs-xs); color: var(--muted); }
.featured-units { font-size: var(--fs-sm); color: var(--muted); }
.featured-cta { justify-self: start; margin-top: .9rem; }
@media (max-width: 820px) {
  .featured { grid-template-columns: 1fr; gap: 1.4rem; }
  .featured-media { max-width: 320px; }
  .featured-body { text-align: center; justify-items: center; }
  .featured-top { justify-content: center; }
  .featured-facts { justify-content: center; }
  .featured-cta { justify-self: center; }
}

/* project cards */
.projects-grid[hidden] { display: none; }
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 340px)); justify-content: start; gap: 2.4rem 2rem; }
@media (max-width: 600px) { .projects-grid { justify-content: center; } }
.project-card { text-decoration: none; display: block; position: relative; }
.project-card figure { transition: transform .55s var(--ease); }
.project-card:hover figure { transform: translateY(-4px); }
.project-card figure { position: relative; margin: 0; aspect-ratio: 1 / 1.08; background: var(--sage-soft); clip-path: var(--hex); overflow: hidden; }
.project-card figure::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(31,42,36,.45)); opacity: 0; transition: opacity .4s var(--ease); }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.project-card:hover img, .project-card:focus-visible img { transform: scale(1.06); }
.project-card:hover figure::after { opacity: 1; }
.project-card figcaption { margin-top: 1rem; text-align: center; }
.project-card .city { font-family: var(--display); font-size: 1.45rem; font-weight: 500; line-height: 1.2; transition: color .25s; }
.project-card:hover .city { color: var(--sage-deep); }
.project-card .address { color: var(--muted); }
.project-card .status { display: inline-block; margin-top: .45rem; font-size: var(--fs-xs); font-weight: 500; color: var(--sage-deep); background: var(--paper); border: 1px solid var(--sage); padding: .1rem .65rem; border-radius: 999px; }
.project-card .more-hint { display: block; margin-top: .5rem; font-size: var(--fs-sm); color: var(--accent); opacity: 0; transform: translateY(4px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.project-card:hover .more-hint, .project-card:focus-visible .more-hint { opacity: 1; transform: none; }
@media (hover: none) { .project-card .more-hint { opacity: 1; transform: none; } }
.empty { color: var(--muted); padding: 3rem 0; text-align: center; grid-column: 1 / -1; }

/* about */
.about { background: var(--paper); border-block: 1px solid var(--line); position: relative; }
.about .wrap { display: grid; grid-template-columns: 1fr 1.45fr; gap: clamp(2rem, 5vw, 4.5rem); }
.about .facts { display: grid; gap: 1.1rem; align-content: start; position: sticky; top: calc(var(--header-h) + 1.5rem); }
.about .facts div { position: relative; padding: 1.1rem 1.2rem; padding-inline-start: 1.4rem; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.about .facts div::before { content: ''; position: absolute; inset-inline-start: 0; top: 1rem; bottom: 1rem; width: 3px; border-radius: 3px; background: var(--sage); }
.about .facts strong { display: block; font-family: var(--display); font-size: 1.35rem; font-weight: 500; line-height: 1.2; }
.about .facts span { color: var(--muted); font-size: var(--fs-sm); }
.about .prose h2 { margin-bottom: 1.2rem; }
@media (max-width: 860px) {
  .about .wrap { grid-template-columns: 1fr; gap: 2rem; }
  .about .facts { position: static; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); order: 2; }
}

/* contact strip */
.contact-strip { position: relative; background: var(--sage-deep); color: #fff; overflow: hidden; isolation: isolate; }
/* blueprint grid: fine lines every 32px, heavier every 160px, faded toward the form side */
.contact-strip::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px) 0 0 / 160px 160px,
    linear-gradient(0deg,  rgba(255,255,255,.16) 1px, transparent 1px) 0 0 / 160px 160px,
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(0deg,  rgba(255,255,255,.07) 1px, transparent 1px) 0 0 / 32px 32px;
  -webkit-mask: linear-gradient(90deg, transparent 0%, #000 35%, #000 100%), radial-gradient(70% 90% at 80% 50%, #000 30%, transparent 100%);
  -webkit-mask-composite: source-in; mask: linear-gradient(90deg, transparent 0%, #000 35%, #000 100%), radial-gradient(70% 90% at 80% 50%, #000 30%, transparent 100%);
  mask-composite: intersect;
}
/* light: warm glow behind the phone number, deeper sage in the far corner */
.contact-strip::after {
  content: ''; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(38% 55% at 78% 62%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 70%),
    radial-gradient(60% 80% at 8% 100%, var(--sage-ink), transparent 70%),
    linear-gradient(160deg, color-mix(in srgb, var(--sage-deep) 92%, #fff) 0%, var(--sage-deep) 45%, var(--sage-ink) 100%);
}
/* ghosted brand mark */
.contact-strip .contact-mark {
  position: absolute; z-index: -1; pointer-events: none; inset-inline-end: -9%; top: 50%; transform: translateY(-50%) rotate(-8deg);
  width: clamp(260px, 30vw, 480px); aspect-ratio: 1; background: #fff; opacity: .035;
  -webkit-mask: url('/img/mark-white.png') center / contain no-repeat; mask: url('/img/mark-white.png') center / contain no-repeat;
}
@media (max-width: 860px) { .contact-strip .contact-mark { inset-inline-end: -25%; top: 22%; width: 70vw; opacity: .04; } }
.contact-strip .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.contact-strip .eyebrow { color: var(--accent-soft); }
.contact-strip h2 { color: #fff; margin-bottom: .6rem; }
.contact-strip p { color: #e5ece4; }
.contact-strip .hours { font-size: var(--fs-sm); color: #cbd8c9; margin-top: .6rem; }
.contact-strip .big-phone { font-family: var(--display); font-size: clamp(2.4rem, 5.5vw, 3.6rem); color: #fff; text-decoration: none; font-variant-numeric: tabular-nums; direction: ltr; display: inline-block; line-height: 1.1; transition: color .25s, text-shadow .3s; text-shadow: 0 8px 30px rgba(0,0,0,.18); }
.contact-strip .big-phone:hover { color: var(--accent-soft); }
.contact-form { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-lg); padding: clamp(1.2rem, 3vw, 1.8rem); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@media (max-width: 860px) { .contact-strip .wrap { grid-template-columns: 1fr; gap: 1.8rem; } }

/* forms */
.form { display: grid; gap: .85rem; }
.form label { display: grid; gap: .35rem; font-size: var(--fs-sm); font-weight: 500; }
.form input, .form textarea, .form select {
  font: inherit; padding: .7rem .85rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.form textarea { min-height: 100px; resize: vertical; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.contact-strip .form input, .contact-strip .form textarea { border-color: transparent; }
.contact-strip .form label { color: #fff; }
.contact-strip .form .btn { justify-self: start; }
.msg { margin-top: .4rem; font-size: var(--fs-sm); }
.msg.ok { color: #cfe8cf; }
.msg.err { color: #ffd2c2; }
.form-inline-msg { font-size: var(--fs-sm); }
.form-inline-msg.ok { color: var(--sage-deep); }
.form-inline-msg.err { color: #b33; }

/* footer */
.site-footer { padding: 2.5rem 0 3rem; border-top: 1px solid var(--line); color: var(--muted); font-size: var(--fs-sm); }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.foot-brand { display: flex; align-items: center; gap: .8rem; }
.foot-brand .mark { width: 28px; height: 28px; background: var(--sage); }
.partners { display: flex; align-items: center; gap: 1.6rem; }
.partners img { height: 34px; width: auto; mix-blend-mode: multiply; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.partners img:hover { filter: none; opacity: 1; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* =====================================================================
   Project page
   ===================================================================== */
.page-top { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1.2rem; padding-top: 1.1rem; }
.back-btn {
  display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; font-weight: 500;
  padding: .55rem 1rem .55rem 1.1rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink);
  transition: border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
  -webkit-user-select: none; user-select: none;
}
.back-btn:hover { border-color: var(--sage-deep); color: var(--sage-deep); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.back-btn .back-arrow { display: inline-block; transition: transform .3s var(--ease); }
.back-btn:hover .back-arrow { transform: translateX(4px); }
.page-bottom { padding-top: clamp(2rem, 4vw, 3rem); }
.page-bottom .back-btn { padding: .85rem 1.4rem; }
.crumbs { font-size: var(--fs-sm); color: var(--muted); }
.page-top .crumbs { padding: 0; }
@media (max-width: 600px) { .page-top .crumbs { display: none; } }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.gallery { margin-top: 1rem; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, 1fr); gap: .5rem; height: clamp(300px, 52vw, 540px); }
.gallery button { padding: 0; border: 0; background: var(--sage-soft); overflow: hidden; border-radius: var(--radius); }
.gallery button img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery button:hover img { transform: scale(1.04); }
.gallery .main { grid-row: 1 / 3; grid-column: 1; border-radius: var(--radius-lg); }
.gallery .more { position: relative; }
.gallery .more::after { content: attr(data-count); position: absolute; inset: 0; display: grid; place-items: center; background: rgba(31,42,36,.45); color: #fff; font-family: var(--display); font-size: 1.6rem; direction: ltr; }
@media (max-width: 720px) { .gallery { grid-template-columns: 1fr; grid-template-rows: 1fr; height: 62vw; } .gallery button:not(.main) { display: none; } }

.project-layout { display: grid; grid-template-columns: 1fr 350px; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; margin-top: 2rem; }
@media (max-width: 960px) { .project-layout { grid-template-columns: 1fr; } }

.project-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1rem; }
.project-title h1 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.4rem); }
.project-title .status { font-size: var(--fs-xs); font-weight: 500; color: var(--sage-deep); border: 1px solid var(--sage); background: var(--paper); padding: .15rem .75rem; border-radius: 999px; }
.project-sub { color: var(--muted); font-size: var(--fs-lg); margin-top: .3rem; }
.project-tagline { font-size: var(--fs-lg); font-weight: 300; color: var(--sage-ink); margin: 1rem 0 0; }
.facts-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 1rem; margin: 1.6rem 0 0; padding: 1.3rem 0; border-block: 1px solid var(--line); }
.facts-row strong { display: block; font-family: var(--display); font-size: 1.6rem; font-weight: 500; line-height: 1.15; }
.facts-row span { color: var(--muted); font-size: var(--fs-sm); }

.block { padding: clamp(2rem, 4vw, 3rem) 0 0; }
.block h2 { margin-bottom: 1rem; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); }
.prose p { white-space: pre-line; }

/* apartment types */
.types-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.types-table th, .types-table td { text-align: right; padding: .8rem .55rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.types-table th { font-weight: 500; color: var(--muted); font-size: var(--fs-xs); }
.types-table tbody tr { transition: background .2s; }
.types-table tbody tr:hover { background: var(--paper); }
.types-table .t { font-family: var(--display); font-size: 1.25rem; }
.types-table .num { font-variant-numeric: tabular-nums; }
.types-table .plan-link { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: .38rem .75rem; font-size: .85rem; transition: border-color .2s, color .2s; white-space: nowrap; }
.types-table .plan-link:hover { border-color: var(--ink); }
.types-cards { display: none; }
@media (max-width: 720px) {
  .types-table { display: none; }
  .types-cards { display: grid; gap: .8rem; }
  .type-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.1rem; }
  .type-card .t { font-family: var(--display); font-size: 1.3rem; }
  .type-card dl { display: grid; grid-template-columns: auto 1fr; gap: .25rem .9rem; margin: .6rem 0; font-size: .92rem; }
  .type-card dt { color: var(--muted); }
  .type-card dd { margin: 0; }
}

/* specs */
.specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.6rem 2.4rem; }
.specs h3 { color: var(--accent); font-weight: 500; margin-bottom: .5rem; font-size: 1.2rem; }
.specs ul { margin: 0; padding-inline-start: 1.1rem; }
.specs li { margin-bottom: .3rem; }
.specs li::marker { color: var(--sage); }
.specs-note { font-size: var(--fs-xs); color: var(--muted); margin-top: 1.5rem; }

/* location */
.map-frame { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius-lg); background: var(--sage-soft); }
.nearby { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.nearby span { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: .28rem .85rem; font-size: var(--fs-sm); }
.area-map { margin-top: 1.5rem; }
.area-map summary { cursor: pointer; color: var(--sage-deep); font-weight: 500; }
.area-map img { margin-top: 1rem; border-radius: var(--radius-lg); }

/* developer */
.developer { display: flex; gap: 1.5rem; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); padding: 1.6rem; border-radius: var(--radius-lg); }
.developer .mark { flex: 0 0 56px; height: 56px; background: var(--sage-deep); -webkit-mask: url('/img/mark-white.png') center / contain no-repeat; mask: url('/img/mark-white.png') center / contain no-repeat; }
.developer h3 { margin-bottom: .4rem; }
.developer .prose p { white-space: normal; }

/* aside contact */
.aside-card { position: sticky; top: calc(var(--header-h) + 1.2rem); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.aside-card h3 { margin-bottom: .3rem; }
.aside-card .aside-phone { font-family: var(--display); font-size: 2rem; text-decoration: none; display: block; margin: .3rem 0 1rem; direction: ltr; text-align: right; line-height: 1.15; }
.aside-card .aside-phone small { font-family: var(--body); font-size: var(--fs-xs); color: var(--muted); display: block; direction: rtl; }

/* mobile sticky call bar */
.callbar { display: none; }
@media (max-width: 960px) {
  .callbar { display: flex; position: fixed; bottom: 0; inset-inline: 0; z-index: 40; background: var(--ink); color: #fff; padding: .75rem 1.2rem; padding-bottom: max(.75rem, env(safe-area-inset-bottom)); justify-content: space-between; align-items: center; gap: 1rem; box-shadow: 0 -8px 24px -12px rgba(0,0,0,.4); }
  .callbar span { font-size: var(--fs-sm); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .callbar a { color: #fff; text-decoration: none; font-weight: 500; background: var(--accent); padding: .55rem 1.1rem; border-radius: 999px; white-space: nowrap; }
  body.has-callbar { padding-bottom: 76px; }
}

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(15,20,17,.92); display: none; place-items: center; padding: 1rem; }
.lightbox.open { display: grid; animation: lbIn .25s var(--ease); }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox img { max-width: min(96vw, 1300px); max-height: 88vh; object-fit: contain; background: #fff; border-radius: var(--radius); }
.lightbox .cap { position: absolute; bottom: 1rem; inset-inline: 0; text-align: center; color: #fff; }
.lightbox .x, .lightbox .prev, .lightbox .next { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 44px; height: 44px; border-radius: 50%; font-size: 1.3rem; transition: background .2s; }
.lightbox .x:hover, .lightbox .prev:hover, .lightbox .next:hover { background: rgba(255,255,255,.25); }
.lightbox .x { top: 1rem; inset-inline-start: 1rem; }
.lightbox .prev { inset-inline-end: 1rem; top: 50%; }
.lightbox .next { inset-inline-start: 1rem; top: 50%; }

/* =====================================================================
   Admin
   ===================================================================== */
.admin { padding: 2rem 0 4rem; }
.login-box { max-width: 380px; margin: 4rem auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.login-box h1 { font-size: 1.8rem; margin-bottom: 1rem; }
.admin-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.admin-list { display: grid; gap: .7rem; }
.admin-row { display: grid; grid-template-columns: 70px 1fr auto; gap: 1rem; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: .7rem; }
.admin-row img { width: 70px; height: 70px; object-fit: cover; clip-path: var(--hex); background: var(--sage-soft); }
.admin-row .actions { display: flex; gap: .4rem; }
.admin-row .meta { color: var(--muted); font-size: .9rem; }
.editor { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; margin-top: 1.5rem; }
.editor h2 { margin-bottom: 1.2rem; }
.editor fieldset { border: 0; padding: 0; margin: 0 0 1.8rem; }
.editor legend { font-family: var(--display); font-size: 1.25rem; margin-bottom: .8rem; padding: 0; color: var(--accent); }
.thumbs { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
.thumbs .th { position: relative; width: 92px; height: 70px; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }
.thumbs .th.cover img { outline: 2px solid var(--accent); }
.thumbs .th button { position: absolute; top: -6px; inset-inline-start: -6px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; font-size: .75rem; line-height: 1; }
.thumbs .th .set-cover { top: auto; bottom: -6px; inset-inline-start: auto; inset-inline-end: -6px; background: var(--accent); }
.type-row { display: grid; grid-template-columns: 60px 1.4fr 70px 90px 80px 80px 1fr auto auto; gap: .5rem; align-items: end; margin-bottom: .6rem; }
.type-row label { font-size: .75rem; }
.type-row .plan-th { width: 48px; height: 36px; object-fit: cover; border: 1px solid var(--line); border-radius: 3px; }
@media (max-width: 960px) { .type-row { grid-template-columns: 1fr 1fr; } }
.help { color: var(--muted); font-size: .85rem; margin: -.3rem 0 .6rem; }
.editor-actions { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }
.hidden { display: none !important; }
.file-btn { position: relative; overflow: hidden; }
.file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

/* =====================================================================
   Copy protection — marketing copy is not selectable.
   Contact details, addresses, form fields and the footer stay selectable.
   ===================================================================== */
.hero-copy, .hero-tag, .section-head, .featured-body, .project-card figcaption,
.about .prose, .about .facts, .contact-copy h2, .contact-copy > p,
.nav, .drawer-nav, .drawer-foot p, .crumbs,
.project-intro, .facts-row, .block, .types-table, .types-cards, .specs, .specs-note, .nearby, .developer,
.callbar span, .lightbox .cap, .empty {
  -webkit-user-select: none; user-select: none;
}
.copyable, .phone-num, .phone-btn, .big-phone, .aside-phone, .contact-copy .hours,
.project-sub, .featured-address, .project-card .address,
.form, .form input, .form textarea, .form select, .site-footer, .admin, .login-box {
  -webkit-user-select: text; user-select: text;
}
