/* ==========================================================================
   Dunvale Court Limited — Shared Stylesheet
   Brown  #604e36  |  Gold  #fad8b6  |  Font: Exo (only)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Exo:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');

:root{
  /* -- brand core -- */
  --brown-900:#241a10;
  --brown-800:#3a2e1e;
  --brown-700:#604e36;
  --brown-500:#8a7355;
  --brown-300:#b8a684;

  --gold-500:#e8bb87;
  --gold-300:#fad8b6;
  --gold-100:#fdecd9;
  --gold-050:#fbf5ec;

  --cream:#faf6ef;
  --white:#ffffff;
  --ink:#221a10;

  --line:#e3d5bf;

  /* -- type -- */
  --font:'Exo', sans-serif;

  /* -- layout -- */
  --maxw:1320px;
  --gutter:clamp(24px, 5vw, 72px);
  --radius:2px;
}

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

html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family:var(--font);
  background:var(--cream);
  color:var(--ink);
  font-weight:400;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

img{ max-width:100%; display:block; }

a{ color:inherit; text-decoration:none; }

ul{ margin:0; padding:0; list-style:none; }

h1,h2,h3,h4{
  font-family:var(--font);
  font-weight:800;
  margin:0;
  letter-spacing:-0.01em;
  color:var(--brown-900);
}

p{ margin:0; }

button{ font-family:var(--font); cursor:pointer; border:none; background:none; }

.wrap{
  max-width:var(--maxw);
  margin:0 auto;
  padding-left:var(--gutter);
  padding-right:var(--gutter);
}

/* focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible{
  outline:2px solid var(--brown-700);
  outline-offset:3px;
}



/* ==========================================================================
   Roofline motif — a thin peak divider echoing the logo mark.
   Used sparingly as a section seam, never as decoration-for-its-own-sake.
   ========================================================================== */
.roofline{
  width:100%;
  height:28px;
  overflow:hidden;
}
.roofline svg{ width:100%; height:100%; display:block; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:var(--cream);
  border-bottom:1px solid var(--line);
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-top:18px;
  padding-bottom:18px;
  gap:32px;
}
.nav-logo{
  display:flex;
  align-items:center;
  gap:10px;
  flex-shrink:0;
}
.nav-logo img{ height:42px; width:auto; }

.nav-links{
  display:flex;
  align-items:center;
  gap:36px;
  font-size:0.95rem;
  font-weight:500;
  color:var(--brown-800);
}
.nav-links a{
  position:relative;
  padding:4px 0;
}
.nav-links a::after{
  content:"";
  position:absolute;
  left:0; right:100%;
  bottom:0;
  height:2px;
  background:var(--brown-700);
  transition:right .25s ease;
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after{ right:0; }
.nav-links a[aria-current="page"]{ color:var(--brown-900); }

.nav-cta{
  flex-shrink:0;
}

.nav-toggle{
  display:none;
  width:40px; height:40px;
  align-items:center; justify-content:center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content:"";
  display:block;
  width:22px; height:2px;
  background:var(--brown-900);
  position:relative;
  transition:transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before{ position:absolute; top:-7px; }
.nav-toggle span::after{ position:absolute; top:7px; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:14px 26px;
  font-size:0.92rem;
  font-weight:600;
  border-radius:var(--radius);
  transition:transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space:nowrap;
}
.btn-primary{
  background:var(--brown-900);
  color:var(--gold-100);
}
.btn-primary:hover{ background:var(--brown-700); transform:translateY(-1px); }

.btn-gold{
  background:var(--gold-300);
  color:var(--brown-900);
}
.btn-gold:hover{ background:var(--gold-500); transform:translateY(-1px); }

.btn-outline{
  border:1.5px solid var(--brown-700);
  color:var(--brown-900);
}
.btn-outline:hover{ background:var(--brown-900); color:var(--gold-100); border-color:var(--brown-900); }

.btn-ghost-dark{
  border:1.5px solid rgba(250,216,182,.55);
  color:var(--gold-100);
}
.btn-ghost-dark:hover{ background:var(--gold-300); color:var(--brown-900); border-color:var(--gold-300); }

.link-arrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:600;
  font-size:0.95rem;
  color:var(--brown-900);
  border-bottom:1.5px solid var(--brown-700);
  padding-bottom:2px;
}
.link-arrow svg{ transition:transform .18s ease; }
.link-arrow:hover svg{ transform:translateX(4px); }

/* ==========================================================================
   Section rhythm
   ========================================================================== */
section{ padding-top:96px; padding-bottom:96px; }
section.tight{ padding-top:64px; padding-bottom:64px; }
.eyebrow{
  font-size:0.82rem;
  font-weight:600;
  color:var(--brown-500);
  margin-bottom:14px;
}
.section-head{
  max-width:720px;
  margin-bottom:48px;
}
.section-head h2{
  font-size:clamp(1.9rem,3.2vw,2.7rem);
  line-height:1.15;
}
.section-head .lede{
  margin-top:16px;
  font-size:1.05rem;
  color:var(--brown-700);
  max-width:640px;
}
.section-foot{
  margin-top:40px;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{
  background:var(--brown-900);
  color:var(--gold-050);
  position:relative;
  overflow:hidden;
  padding-top:120px;
  padding-bottom:200px;
  isolation:isolate;
}
.hero-inner{
  position:relative;
  max-width:780px;
  z-index:3;
}

/* -- rotating background scenes -- */
.hero-slides{
  position:absolute;
  inset:0;
  z-index:0;
}
.hero-slide{
  position:absolute;
  inset:0;
  opacity:0;
  transition:opacity 1.4s ease;
}
.hero-slide.is-active{ opacity:1; }

.hero-bg{ position:absolute; inset:0; overflow:hidden; background:var(--brown-900); }
.hero-bg img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  transform-origin:center;
  /* prevents subtle rendering seams some browsers introduce around the
     edges of a scaled/transformed image during the zoom animation */
  backface-visibility:hidden;
  -webkit-backface-visibility:hidden;
  will-change:transform;
}
/* this specific photo has a strong dark architectural pillar left-of-
   centre; shifting the crop keeps it from landing dead-centre in frame */
.hero-img--dusk{ object-position:78% center; }

/* dimming layer so the photos stay subtle behind the text */
.hero-overlay{
  position:absolute;
  inset:0;
  z-index:1;
  background:rgba(18,13,7,.55);
  pointer-events:none;
}

/* small position indicator, bottom-right of the hero */
.hero-indicator{
  position:absolute;
  right:var(--gutter);
  bottom:28px;
  z-index:3;
  display:flex;
  gap:8px;
}
.hero-dot{
  width:7px; height:7px;
  border-radius:50%;
  background:rgba(253,236,217,.4);
  transition:background .3s ease, transform .3s ease;
}
.hero-dot.is-active{ background:var(--gold-300); transform:scale(1.3); }

/* -- stats overlaid at the base of the hero -- */
.hero .hero-stats{
  position:absolute;
  left:0; right:0;
  bottom:0;
  z-index:3;
  padding-top:36px;
  padding-bottom:40px;
  background:linear-gradient(0deg, rgba(20,15,8,.72) 0%, rgba(20,15,8,0) 100%);
}
.hero .hero-stats .stat-num{ color:var(--white); }
.hero .hero-stats .stat-label{ color:rgba(253,236,217,.7); }
.hero-tag{
  font-size:.85rem;
  font-weight:600;
  letter-spacing:.02em;
  color:var(--gold-300);
  margin-bottom:22px;
}
.hero h1{
  color:var(--white);
  font-size:clamp(2.4rem, 5.2vw, 4rem);
  line-height:1.08;
  font-weight:800;
}
.hero p.sub{
  margin-top:24px;
  font-size:1.15rem;
  color:rgba(253,236,217,.82);
  max-width:600px;
  line-height:1.6;
}
.hero-ctas{
  margin-top:36px;
  display:flex;
  gap:16px;
  flex-wrap:wrap;
}
.hero-sub-label{
  margin-top:44px;
  font-size:.85rem;
  color:rgba(253,236,217,.6);
  padding-top:18px;
  border-top:1px solid rgba(250,216,182,.2);
  max-width:340px;
}

/* ==========================================================================
   Stats / trust bar
   ========================================================================== */
.stats-bar{
  background:var(--gold-100);
  border-bottom:1px solid var(--line);
}
.stats-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:32px;
  padding-top:44px;
  padding-bottom:44px;
}
.stat-num{
  font-size:clamp(1.7rem,3vw,2.4rem);
  font-weight:800;
  color:var(--brown-900);
}
.stat-label{
  font-size:.85rem;
  color:var(--brown-700);
  margin-top:6px;
}

/* ==========================================================================
   Problem section
   ========================================================================== */
.problem{
  background:var(--cream);
}
.problem-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:64px;
  align-items:start;
}
.problem-grid h2{
  font-size:clamp(1.9rem,3.2vw,2.6rem);
  line-height:1.2;
}
.problem-grid p{
  color:var(--brown-700);
  font-size:1.02rem;
  line-height:1.75;
}
.problem-grid p + p{ margin-top:18px; }

/* ==========================================================================
   Service cards (ascending tier motif)
   ========================================================================== */
.tier-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:0;
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
}
.tier-card{
  background:var(--white);
  padding:36px 28px;
  border-right:1px solid var(--line);
  display:flex;
  flex-direction:column;
  transition:background .2s ease;
}
.tier-card:last-child{ border-right:none; }
.tier-card:hover{ background:var(--gold-050); }
.tier-card .tier-mark{
  font-size:.78rem;
  font-weight:700;
  color:var(--gold-500);
  letter-spacing:.04em;
  margin-bottom:16px;
}
.tier-card h3{
  font-size:1.15rem;
  font-weight:700;
  margin-bottom:12px;
  line-height:1.3;
}
.tier-card p{
  color:var(--brown-700);
  font-size:.94rem;
  line-height:1.6;
  flex-grow:1;
}
.tier-card .link-arrow{ margin-top:20px; font-size:.88rem; }

/* offset the tiers visually like ascending steps on desktop */
.tier-grid .tier-card:nth-child(2){ padding-top:52px; }
.tier-grid .tier-card:nth-child(3){ padding-top:68px; }
.tier-grid .tier-card:nth-child(4){ padding-top:84px; background:var(--brown-900); }
.tier-grid .tier-card:nth-child(4) h3, .tier-grid .tier-card:nth-child(4) .link-arrow{ color:var(--gold-100); }
.tier-grid .tier-card:nth-child(4) p{ color:rgba(253,236,217,.75); }
.tier-grid .tier-card:nth-child(4) .link-arrow{ border-color:var(--gold-300); }
.tier-grid .tier-card:nth-child(4):hover{ background:#2d2216; }

/* ==========================================================================
   Property search / filter
   ========================================================================== */
.search-panel{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:28px;
}
.search-row{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}
.search-input{
  flex:1 1 260px;
  padding:14px 16px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  font-family:var(--font);
  font-size:.95rem;
  background:var(--cream);
}
.filter-pills{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:18px;
}
.pill{
  padding:9px 18px;
  border:1px solid var(--line);
  border-radius:999px;
  font-size:.85rem;
  font-weight:600;
  color:var(--brown-700);
  background:var(--cream);
  transition:all .18s ease;
}
.pill:hover{ border-color:var(--brown-700); }
.pill.active{
  background:var(--brown-900);
  border-color:var(--brown-900);
  color:var(--gold-100);
}

.select-field{
  padding:14px 16px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  font-family:var(--font);
  font-size:.95rem;
  background:var(--cream);
  color:var(--ink);
}

/* ==========================================================================
   Property cards
   ========================================================================== */
.property-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
}
.property-card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  transition:box-shadow .2s ease, transform .2s ease;
}
.property-card:hover{ box-shadow:0 18px 40px -22px rgba(36,26,16,.35); transform:translateY(-3px); }
.property-media{
  aspect-ratio:4/3;
  background:linear-gradient(135deg,var(--gold-100),var(--gold-300));
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:flex-end;
  padding:16px;
}
.property-media img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:0;
  opacity:0;
}
.property-media img.is-active{ opacity:1; z-index:1; }
.property-media .property-tag{ position:relative; z-index:1; }
.property-tag{
  background:var(--brown-900);
  color:var(--gold-100);
  font-size:.75rem;
  font-weight:700;
  padding:6px 12px;
  border-radius:999px;
}
.property-body{ padding:22px; }
.property-body .loc{
  font-size:.82rem;
  color:var(--brown-500);
  margin-bottom:6px;
}
.property-body h3{ font-size:1.08rem; font-weight:700; margin-bottom:8px; }
.property-body .meta{
  font-size:.85rem;
  color:var(--brown-700);
  margin-top:10px;
  padding-top:14px;
  border-top:1px solid var(--line);
}

/* managed portfolio table-ish cards */
.portfolio-row{
  display:grid;
  grid-template-columns:2fr 1.4fr 1fr 1.4fr 1fr;
  gap:16px;
  align-items:center;
  padding:20px 0;
  border-bottom:1px solid var(--line);
  font-size:.94rem;
}
.portfolio-row:first-child{ padding-top:0; }
.portfolio-row .name{ font-weight:700; color:var(--brown-900); }
.portfolio-row .status{
  justify-self:start;
  padding:5px 12px;
  border-radius:999px;
  background:var(--gold-100);
  color:var(--brown-800);
  font-size:.78rem;
  font-weight:700;
}

/* ==========================================================================
   Feature pillars
   ========================================================================== */
.pillars{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:1px;
  background:var(--line);
  border:1px solid var(--line);
}
.pillar{
  background:var(--white);
  padding:36px;
}
.pillar .mark{
  width:34px; height:34px;
  border-radius:50%;
  background:var(--brown-900);
  color:var(--gold-300);
  display:flex; align-items:center; justify-content:center;
  font-weight:800;
  margin-bottom:18px;
  font-size:.95rem;
}
.pillar h3{ font-size:1.08rem; margin-bottom:10px; }
.pillar p{ color:var(--brown-700); font-size:.94rem; line-height:1.65; }

/* ==========================================================================
   About teaser / DUNVALE values
   ========================================================================== */
.about-teaser{
  background:var(--brown-900);
  color:var(--gold-050);
}
.about-teaser h2{ color:var(--white); }
.about-teaser p{ color:rgba(253,236,217,.8); }
.about-teaser .section-head .lede{ color:rgba(253,236,217,.8); }

.values-list{
  margin-top:44px;
  border-top:1px solid var(--line);
}
.value-row{
  display:grid;
  grid-template-columns:64px 200px 1fr;
  gap:24px;
  align-items:baseline;
  padding:22px 0;
  border-bottom:1px solid var(--line);
}
.value-row .letter{
  font-size:1.6rem;
  font-weight:800;
  color:var(--gold-500);
}
.value-row h4{ font-size:1.02rem; }
.value-row p{ color:var(--brown-700); font-size:.94rem; }
.value-row.on-dark{ border-color:rgba(250,216,182,.18); }
.value-row.on-dark .letter{ color:var(--gold-300); }
.value-row.on-dark h4{ color:var(--white); }
.value-row.on-dark p{ color:rgba(253,236,217,.72); }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial-carousel{
  --items-per-view:3;
  max-width:1040px;
  margin:0 auto;
  position:relative;
}
.testimonial-viewport{
  overflow:hidden;
}
.testimonial-track{
  display:flex;
  gap:24px;
  transition:transform .45s ease;
  /* width is set inline by JS: (totalCards / itemsPerView) * 100%,
     so the visible viewport always shows exactly itemsPerView cards */
}
.testimonial-card{
  /* Always 1/3 of the TRACK's own width, minus this card's share of the
     2 gaps between 3 cards (24px gap × 2 = 48px total) — without
     subtracting that, flex-shrink:0 lets the row overflow its own
     container by exactly the gap width. */
  flex:0 0 calc((100% - 48px) / 3);
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:32px;
  display:flex;
  flex-direction:column;
}
.testimonial-card p.quote{
  font-size:1.02rem;
  line-height:1.7;
  color:var(--brown-900);
  flex-grow:1;
}
.testimonial-card .who{
  margin-top:20px;
  font-size:.85rem;
  font-weight:700;
  color:var(--brown-500);
}
.testimonial-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:20px;
  margin-top:24px;
}
.testimonial-arrow{
  width:38px; height:38px;
  border-radius:50%;
  border:1px solid var(--line);
  background:var(--white);
  color:var(--brown-900);
  font-size:1.3rem;
  line-height:1;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:background .18s ease, border-color .18s ease, opacity .18s ease;
  flex-shrink:0;
}
.testimonial-arrow:hover{ background:var(--gold-100); border-color:var(--brown-700); }
.testimonial-dots{ display:flex; gap:8px; }
.testimonial-dot{
  width:8px; height:8px;
  border-radius:50%;
  background:var(--line);
  transition:background .18s ease, transform .18s ease;
  flex-shrink:0;
}
.testimonial-dot.is-active{ background:var(--brown-700); transform:scale(1.3); }

@media (max-width:900px){
  .testimonial-carousel{ --items-per-view:2; }
}
@media (max-width:640px){
  .testimonial-carousel{ --items-per-view:1; }
  .testimonial-card{ padding:26px; }
}

/* ==========================================================================
   Insights / blog
   ========================================================================== */
.insight-list{
  border-top:1px solid var(--line);
}
.insight-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  padding:22px 0;
  border-bottom:1px solid var(--line);
  transition:padding-left .2s ease;
}
.insight-row:hover{ padding-left:8px; }
.insight-row span{ font-size:1.02rem; font-weight:600; color:var(--brown-900); }
.insight-row svg{ flex-shrink:0; }

.blog-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
}
.blog-card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
}
.blog-media{
  position:relative;
  overflow:hidden;
  aspect-ratio:16/10;
  background:linear-gradient(135deg,var(--brown-700),var(--brown-900));
}
.blog-media img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .5s ease;
}
.blog-body{ padding:22px; }
.blog-tag{ font-size:.78rem; font-weight:700; color:var(--brown-500); margin-bottom:10px; }
.blog-body h3{ font-size:1.02rem; line-height:1.4; margin-bottom:10px; }
.blog-body p{ font-size:.88rem; color:var(--brown-700); }
.blog-feature{
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:44px;
  align-items:center;
  margin-bottom:56px;
  padding-bottom:56px;
  border-bottom:1px solid var(--line);
}
.blog-feature .blog-media{ aspect-ratio:4/3; border-radius:var(--radius); }

/* ==========================================================================
   Newsletter strip
   ========================================================================== */
.newsletter{
  background:var(--gold-300);
}
.newsletter-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:40px;
  flex-wrap:wrap;
}
.newsletter h2{ font-size:clamp(1.6rem,2.6vw,2.1rem); max-width:440px; }
.newsletter p{ margin-top:10px; color:var(--brown-800); max-width:420px; }
.newsletter-form{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.newsletter-form input{
  padding:14px 18px;
  border:1px solid var(--brown-700);
  border-radius:var(--radius);
  font-family:var(--font);
  min-width:260px;
  background:var(--white);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{
  background:var(--brown-900);
  color:rgba(253,236,217,.7);
}
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1fr;
  gap:40px;
  padding-top:72px;
  padding-bottom:48px;
}
.footer-grid img{ height:38px; margin-bottom:18px; }
.footer-grid p{ font-size:.9rem; line-height:1.7; max-width:280px; }
.footer-col h5{
  color:var(--gold-300);
  font-size:.82rem;
  font-weight:700;
  margin-bottom:16px;
}
.footer-col li{ margin-bottom:10px; font-size:.92rem; }
.footer-col a:hover{ color:var(--gold-300); }
.footer-bottom{
  border-top:1px solid rgba(250,216,182,.15);
  padding-top:24px;
  padding-bottom:28px;
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:12px;
  font-size:.82rem;
}

/* ==========================================================================
   Inner page hero (About / Services / Properties / Contact)
   ========================================================================== */
.page-hero{
  background:
    linear-gradient(rgba(36,26,16,.78), rgba(36,26,16,.78)),
    url("../images/jewel-court-aerial-1.jpg");
  background-size:cover;
  background-position:center;
  color:var(--white);
  padding-top:80px;
  padding-bottom:80px;
}
.page-hero h1{
  color:var(--white);
  font-size:clamp(2rem,4.2vw,3.1rem);
  line-height:1.15;
  max-width:820px;
}
.page-hero .lede{
  margin-top:20px;
  color:rgba(253,236,217,.8);
  font-size:1.05rem;
  max-width:640px;
}

/* mission/vision cards */
.mv-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:2px;
  background:var(--line);
  border:1px solid var(--line);
}
.mv-card{ background:var(--white); padding:44px; }
.mv-card .eyebrow{ color:var(--gold-500); }
.mv-card p{ font-size:1.05rem; line-height:1.75; color:var(--brown-800); margin-top:14px; }

/* service tier detail (services page) */
.tier-detail{
  display:grid;
  grid-template-columns:.9fr 1.4fr;
  gap:56px;
  padding-top:64px;
  padding-bottom:64px;
  border-bottom:1px solid var(--line);
  align-items:start;
}
.tier-detail:last-of-type{ border-bottom:none; }
.tier-detail .tier-num{
  font-size:.85rem;
  font-weight:700;
  color:var(--gold-500);
  letter-spacing:.04em;
  margin-bottom:14px;
}
.tier-detail h2{ font-size:1.9rem; line-height:1.2; }
.tier-detail .target{
  margin-top:20px;
  font-size:.88rem;
  color:var(--brown-500);
}
.tier-includes h4{
  font-size:.85rem;
  font-weight:700;
  color:var(--brown-500);
  margin-bottom:16px;
}
.tier-includes ul li{
  display:flex;
  gap:12px;
  padding:12px 0;
  border-bottom:1px solid var(--line);
  font-size:.96rem;
  color:var(--ink);
}
.tier-includes ul li:first-child{ padding-top:0; }
.tier-includes ul li svg{ flex-shrink:0; margin-top:3px; }
.price-tag{
  display:inline-block;
  margin-top:24px;
  padding:10px 18px;
  background:var(--gold-100);
  color:var(--brown-800);
  font-weight:700;
  font-size:.9rem;
  border-radius:var(--radius);
}

/* neighbourhood guide */
.neigh-list{ border-top:1px solid var(--line); }
.neigh-row{
  display:grid;
  grid-template-columns:220px 1fr;
  gap:32px;
  padding:26px 0;
  border-bottom:1px solid var(--line);
}
.neigh-row h3{ font-size:1.15rem; }
.neigh-row p{ color:var(--brown-700); font-size:.95rem; line-height:1.65; }

/* contact page */
.contact-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);
  gap:56px;
  align-items:start;
}
.contact-channel{
  display:flex;
  gap:16px;
  padding:22px 0;
  border-bottom:1px solid var(--line);
}
.contact-channel:first-child{ padding-top:0; }
.contact-channel .ic{
  width:38px; height:38px;
  border-radius:50%;
  background:var(--brown-900);
  color:var(--gold-300);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.contact-channel h4{ font-size:.95rem; margin-bottom:4px; }
.contact-channel p{ font-size:.92rem; color:var(--brown-700); }

.contact-form{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:36px;
}
.form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.form-grid .full{ grid-column:1 / -1; }
.form-field label{
  display:block;
  font-size:.82rem;
  font-weight:600;
  color:var(--brown-700);
  margin-bottom:8px;
}
.form-field input, .form-field select, .form-field textarea{
  width:100%;
  padding:13px 14px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  font-family:var(--font);
  font-size:.94rem;
  background:var(--cream);
  color:var(--ink);
}
.form-field textarea{ min-height:110px; resize:vertical; }
.form-note{
  margin-top:18px;
  font-size:.82rem;
  color:var(--brown-500);
}

.process-note{
  background:var(--gold-050);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:28px 32px;
  margin-top:28px;
}
.process-note p{ font-size:.95rem; color:var(--brown-800); line-height:1.65; }

/* off-plan / category cards */
.cat-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
}
.cat-card{
  padding:28px 24px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--white);
  transition:border-color .2s ease, transform .2s ease;
}
.cat-card:hover{ border-color:var(--brown-700); transform:translateY(-2px); }
.cat-card h3{ font-size:1.02rem; margin-bottom:10px; }
.cat-card p{ font-size:.88rem; color:var(--brown-700); line-height:1.6; }
.cat-card .link-arrow{ margin-top:16px; font-size:.85rem; }

/* buyer trust */
.trust-block{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:56px;
  align-items:center;
}
.trust-block p{ color:var(--brown-700); font-size:1.02rem; line-height:1.75; }

/* ==========================================================================
   Scroll reveal — text slides in from left/right as it enters view.
   Hidden state only applies once JS confirms it can un-hide it again
   (see .js-ready below), so content is never stuck invisible without JS.
   ========================================================================== */
.js-ready .reveal{
  opacity:0;
  transition:opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1);
}
.js-ready .reveal-left{ transform:translateX(-56px); }
.js-ready .reveal-right{ transform:translateX(56px); }
.js-ready .reveal-up{ transform:translateY(32px); }
.js-ready .reveal.is-visible{ opacity:1; transform:translateX(0) translateY(0); }



/* ==========================================================================
   Article pages (Insights) — reading-optimised layout
   ========================================================================== */
.article-hero{
  background:
    linear-gradient(rgba(36,26,16,.78), rgba(36,26,16,.78)),
    url("../images/jewel-court-aerial-1.jpg");
  background-size:cover;
  background-position:center;
  color:var(--white);
  padding-top:64px;
  padding-bottom:56px;
}
.article-hero .breadcrumbs{ margin-bottom:22px; }
.article-meta-row{
  display:flex;
  align-items:center;
  gap:14px;
  font-size:.85rem;
  color:var(--gold-300);
  font-weight:600;
  margin-bottom:18px;
}
.article-meta-row .dot{ opacity:.5; font-weight:400; }
.article-meta-row .read-time{ color:rgba(253,236,217,.65); font-weight:500; }
.article-hero h1{
  color:var(--white);
  font-size:clamp(1.9rem,3.6vw,2.8rem);
  line-height:1.18;
  max-width:820px;
}
.article-hero .dek{
  margin-top:18px;
  font-size:1.05rem;
  color:rgba(253,236,217,.8);
  max-width:680px;
  line-height:1.6;
}

.article-body-wrap{
  max-width:720px;
  margin:0 auto;
}
.article-content{ font-size:1.05rem; line-height:1.8; color:var(--ink); }
.article-content h2{
  font-size:1.5rem;
  margin-top:48px;
  margin-bottom:16px;
  line-height:1.3;
}
.article-content h2:first-child{ margin-top:0; }
.article-content h3{
  font-size:1.15rem;
  margin-top:32px;
  margin-bottom:12px;
}
.article-content p{ margin-bottom:20px; }
.article-content ul, .article-content ol{
  margin:0 0 20px 0;
  padding-left:22px;
}
.article-content li{ margin-bottom:10px; padding-left:4px; }
.article-content strong{ color:var(--brown-900); }
.article-content a{ color:var(--brown-900); text-decoration:underline; text-decoration-color:var(--gold-500); text-underline-offset:3px; }

.article-callout{
  background:var(--gold-050);
  border-left:3px solid var(--gold-500);
  border-radius:0 var(--radius) var(--radius) 0;
  padding:22px 26px;
  margin:32px 0;
}
.article-callout h4{
  font-size:.82rem;
  font-weight:700;
  letter-spacing:.03em;
  text-transform:uppercase;
  color:var(--brown-700);
  margin-bottom:12px;
}
.article-callout ul{ margin-bottom:0; }
.article-callout li{ margin-bottom:8px; }

.article-pullquote{
  font-family:var(--font);
  font-size:1.3rem;
  font-weight:700;
  line-height:1.5;
  color:var(--brown-900);
  border-left:3px solid var(--gold-500);
  padding-left:24px;
  margin:36px 0;
}

.article-cta-block{
  margin-top:56px;
  padding:32px;
  background:var(--brown-900);
  border-radius:var(--radius);
  text-align:left;
}
.article-cta-block h3{ color:var(--white); font-size:1.3rem; margin-bottom:10px; }
.article-cta-block p{ color:rgba(253,236,217,.78); margin-bottom:20px; font-size:.98rem; }

.article-tags{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:36px;
  padding-top:28px;
  border-top:1px solid var(--line);
}
.article-tag-pill{
  font-size:.78rem;
  font-weight:600;
  color:var(--brown-700);
  background:var(--gold-100);
  padding:6px 14px;
  border-radius:999px;
}

.related-articles{ border-top:1px solid var(--line); margin-top:24px; padding-top:56px; }
.related-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}
.related-card{
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:22px;
  background:var(--white);
}
.related-card .tag{ font-size:.75rem; font-weight:700; color:var(--brown-500); margin-bottom:8px; }
.related-card h4{ font-size:.98rem; line-height:1.4; margin-bottom:10px; }
.related-card a{ font-size:.85rem; }

/* ==========================================================================
   Property detail modal
   ========================================================================== */
.property-modal-backdrop{
  position:fixed;
  inset:0;
  background:rgba(18,13,7,.6);
  backdrop-filter:blur(3px);
  -webkit-backdrop-filter:blur(3px);
  z-index:300;
  display:none;
  align-items:center;
  justify-content:center;
  padding:24px;
  overflow-y:auto;
}
.property-modal-backdrop.is-open{ display:flex; }

.property-modal{
  background:var(--white);
  border-radius:6px;
  max-width:920px;
  width:100%;
  max-height:88vh;
  overflow-y:auto;
  position:relative;
  display:grid;
  grid-template-columns:1fr 1fr;
}
.modal-close{
  position:absolute;
  top:16px; right:16px;
  z-index:5;
  width:36px; height:36px;
  border-radius:50%;
  background:rgba(20,15,8,.55);
  color:var(--white);
  font-size:1.5rem;
  line-height:1;
  display:flex;
  align-items:center;
  justify-content:center;
}
.modal-close:hover{ background:rgba(20,15,8,.8); }

.modal-gallery{
  position:relative;
  background:var(--gold-100);
  min-height:320px;
}
.modal-gallery img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:0;
}
.modal-gallery img.is-active{ opacity:1; z-index:1; }

.modal-body{
  padding:32px;
  overflow-y:auto;
}
.modal-loc{ font-size:.85rem; color:var(--brown-500); margin-bottom:6px; }
.modal-body h2{ font-size:1.4rem; line-height:1.3; margin-bottom:10px; }
.modal-price{ font-size:1.3rem; font-weight:800; color:var(--brown-900); margin-bottom:22px; }
.modal-section{ margin-bottom:22px; }
.modal-section h4{
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.03em;
  text-transform:uppercase;
  color:var(--brown-500);
  margin-bottom:10px;
}
.modal-section p{ font-size:.92rem; color:var(--ink); line-height:1.6; }
.modal-highlights{ list-style:none; padding:0; margin:0; }
.modal-highlights li{
  font-size:.9rem;
  color:var(--ink);
  padding:6px 0 6px 20px;
  position:relative;
}
.modal-highlights li::before{
  content:"";
  position:absolute;
  left:0; top:13px;
  width:6px; height:6px;
  border-radius:50%;
  background:var(--gold-500);
}
.modal-ctas{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:28px;
}
