@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600;9..144,700;9..144,900&family=Work+Sans:wght@400;500;600;700&display=swap');

:root {
  --pine: #16332C;
  --pine-light: #1E4038;
  --pine-deep: #12241F;
  --red: #C0392B;
  --red-dark: #A5301F;
  --lime: #8DC63F;
  --offwhite: #FAF9F6;
  --charcoal: #1F2421;
  --muted: #4B5550;
  --placeholder: #8A8272;
  --border: #E7E3D9;
  --border-alt: #D8D2C2;
  --section-alt: #F1EEE7;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Work Sans', sans-serif;
  background: var(--offwhite);
  color: var(--charcoal);
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
h1, h2, h3 { font-family: 'Fraunces', serif; color: var(--pine); }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { max-width: 1440px; margin: 0 auto; padding: 0 100px; }
.section { padding: 90px 0 70px; }
.section-alt { background: var(--section-alt); }

/* Dark (pine) section variant — flips text, cards and controls for legibility */
.section-dark { background: var(--pine); }
.section-dark h2, .section-dark h3 { color: var(--offwhite); }
.section-dark .pillars-head p, .section-dark > .container > p { color: rgba(250,249,246,.75); }
.section-dark .eyebrow { color: var(--lime); }
.section-dark .section-head-row .textlink { color: var(--offwhite); }
.section-dark .section-head-row .textlink:hover { color: var(--lime); }
.section-dark .carousel-dot { background: rgba(250,249,246,.3); }
.section-dark .carousel-dot.active { background: var(--red); }
.section-dark .testi-card { border: none; box-shadow: 0 20px 44px rgba(0,0,0,.28); }
.section-dark .pcard-body { background: var(--pine-light); }

/* Mid (pine-light) section variant — a shade lighter than .section-dark, still green */
.section-mid { background: var(--pine-light); }
.section-mid h2, .section-mid h3 { color: var(--offwhite); }
.section-mid p, .section-mid .split-copy p { color: rgba(250,249,246,.78); }
.section-mid .eyebrow { color: var(--lime); }
.section-mid .textlink { color: var(--offwhite); }
.section-mid .textlink:hover { color: var(--lime); }
.section-mid .split-media { background: rgba(250,249,246,.1); border: 1px solid rgba(250,249,246,.2); color: rgba(250,249,246,.65); }

/* Buttons */
.btn { display: inline-block; padding: 15px 28px; border-radius: 6px; font-size: 15px; font-weight: 600; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--red); color: var(--offwhite); }
.btn-primary:hover { background: var(--red-dark); }
.btn-outline { border: 1.5px solid var(--offwhite); color: var(--offwhite); }
.btn-outline:hover { border-color: var(--lime); color: var(--lime); }
.btn-dark { background: var(--pine); color: var(--offwhite); }
.btn-dark:hover { background: var(--pine-light); }
.btn-lime { background: var(--lime); color: var(--pine); }

/* ===== NAV ===== */
.site-nav { width: 100%; background: var(--pine); position: sticky; top: 0; z-index: 100; }
.site-nav .container { height: 80px; display: flex; align-items: center; justify-content: space-between; padding-left: 48px; padding-right: 48px; }
.nav-logo { display: flex; align-items: center; gap: 12px; background: var(--offwhite); padding: 7px 12px; border-radius: 8px; }
.nav-logo img { height: 40px; width: auto; object-fit: contain; display: block; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.navlink { color: var(--offwhite); font-size: 15px; font-weight: 500; }
.navlink:hover { color: var(--lime); }
.navlink.active { color: var(--lime); }
.nav-right { display: flex; align-items: center; gap: 22px; }
.lang-toggle { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--offwhite); cursor: pointer; user-select: none; }
.lang-toggle .en, .lang-toggle .bn { opacity: .6; font-weight: 500; }
.lang-toggle .en.active, .lang-toggle .bn.active { opacity: 1; font-weight: 700; color: var(--lime); }
.lang-toggle .sep { opacity: .5; }
.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-burger span { width: 22px; height: 2px; background: var(--offwhite); }

/* ===== FOOTER ===== */
.site-footer { width: 100%; background: var(--pine); padding: 48px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-brand .logo-row { display: flex; align-items: center; gap: 10px; }
.footer-brand img { width: 32px; height: 32px; object-fit: contain; }
.footer-brand span.wordmark { font-family: 'Fraunces', serif; font-weight: 700; font-size: 17px; color: var(--offwhite); }
.footer-brand p { font-size: 13px; line-height: 1.6; color: rgba(250,249,246,.65); max-width: 320px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.footer-col .heading { color: var(--offwhite); font-weight: 600; margin-bottom: 4px; }
.flink { color: rgba(250,249,246,.75); }
.flink:hover { color: var(--lime); }
.footer-contact div { color: rgba(250,249,246,.75); }
.footer-rule { height: 1px; background: rgba(250,249,246,.12); margin: 30px 0 18px; }
.footer-copy { font-size: 12px; color: rgba(250,249,246,.5); }

/* ===== HERO ===== */
.hero { position: relative; width: 100%; background: linear-gradient(135deg, var(--pine) 0%, var(--pine-light) 55%, var(--pine-deep) 100%); padding: 90px 0; overflow: hidden; }
.hero-badge { position: absolute; top: 28px; right: 28px; background: rgba(0,0,0,.28); color: var(--offwhite); font-size: 12px; padding: 6px 12px; border-radius: 20px; font-style: italic; }
.hero-inner { max-width: 640px; }
.hero-eyebrow { color: var(--lime); font-size: 13px; font-weight: 700; letter-spacing: 2.5px; margin-bottom: 18px; }
.hero h1 { font-weight: 700; font-size: 60px; line-height: 1.08; color: var(--offwhite); margin-bottom: 20px; }
.hero p.lead { font-size: 18px; line-height: 1.6; color: rgba(250,249,246,.82); max-width: 520px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; }

.page-hero { padding: 70px 0 20px; display: flex; flex-direction: column; gap: 10px; }
.page-hero h1 { font-weight: 700; font-size: 40px; }
.page-hero p { font-size: 15px; color: var(--muted); max-width: 560px; }
.eyebrow { color: var(--red); font-size: 13px; font-weight: 700; letter-spacing: 2px; }

/* ===== WHY / PILLARS ===== */
.pillars-head { text-align: center; margin-bottom: 44px; }
.pillars-head h2 { font-weight: 700; font-size: 34px; margin-bottom: 10px; }
.pillars-head p { font-size: 15px; color: var(--muted); }
.pillar-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 28px; }
.pillar-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 30px 24px; display: flex; flex-direction: column; gap: 14px; }
.pillar-card .icon { color: var(--red); }
.pillar-card .title { font-family: 'Fraunces', serif; font-weight: 600; font-size: 17px; }
.pillar-card .desc { font-size: 14px; line-height: 1.55; color: var(--muted); }

/* ===== PROJECT CARDS ===== */
.section-head-row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 30px; }
.section-head-row h2 { font-weight: 700; font-size: 30px; }
.textlink { font-size: 14px; font-weight: 600; color: var(--pine); }
.textlink:hover { color: var(--red); }
.card-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; }
.card-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 26px; }
.project-card { background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); }
.project-card .thumb { position: relative; width: 100%; height: 220px; }
.project-card .thumb.short { height: 180px; }
.project-card .status { position: absolute; top: 16px; left: 16px; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 20px; }
.project-card .thumb-note { position: absolute; bottom: 12px; right: 14px; color: rgba(250,249,246,.7); font-size: 11px; font-style: italic; }
.status-ongoing { background: var(--lime); color: var(--pine); }
.status-upcoming { background: var(--offwhite); color: var(--pine); }
.status-handed { background: var(--pine); color: var(--offwhite); }
.grad-1 { background: linear-gradient(135deg, var(--pine-light), var(--pine)); }
.grad-2 { background: linear-gradient(135deg, var(--red), #8B291D); }
.grad-3 { background: linear-gradient(135deg, var(--lime), #5E8C29); }
.project-card .body { padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.project-card.compact .body { padding: 18px 20px; gap: 6px; }
.project-card .name { font-family: 'Fraunces', serif; font-weight: 600; font-size: 19px; }
.project-card.compact .name { font-size: 17px; }
.project-card .meta { font-size: 13px; color: var(--muted); }
.project-card .row { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.cardlink { font-size: 13px; font-weight: 700; color: var(--pine); }
.cardlink:hover { color: var(--red); }
.placeholder-tag { font-size: 10.5px; color: var(--placeholder); font-style: italic; }

.more-tile { background: #fff; border-radius: 14px; border: 1px dashed var(--border-alt); display: flex; align-items: center; justify-content: center; min-height: 250px; text-align: center; color: var(--placeholder); font-size: 13px; padding: 20px; }

/* ===== FILTER PILLS ===== */
.pill-row { display: flex; gap: 12px; flex-wrap: wrap; padding: 20px 0 30px; }
.pill { padding: 9px 18px; border-radius: 20px; font-size: 13px; font-weight: 600; color: var(--pine); background: transparent; border: 1px solid var(--border-alt); }
.pill.active { background: var(--pine); color: var(--offwhite); border-color: var(--pine); }
.pill:hover:not(.active) { background: var(--border); }

/* ===== STORY / SPLIT ===== */
.split { display: flex; gap: 64px; align-items: center; }
.split.reverse { flex-direction: row-reverse; }
.split-media { flex: 0 0 420px; height: 320px; border-radius: 14px; background: linear-gradient(135deg, var(--border), var(--border-alt)); display: flex; align-items: center; justify-content: center; color: var(--placeholder); font-size: 12px; font-style: italic; text-align: center; padding: 20px; overflow: hidden; }
.split-media img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.split-media.has-photo { padding: 0; background: none; border: none; }
.split-copy { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.split-copy h2 { font-weight: 700; font-size: 30px; }
.split-copy p { font-size: 15px; line-height: 1.7; color: var(--muted); max-width: 520px; }

/* ===== CTA BAND ===== */
.cta-band { background: var(--red); padding: 56px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta-band h3 { font-family: 'Fraunces', serif; font-weight: 600; font-size: 26px; color: var(--offwhite); }
.cta-band .btn { background: var(--offwhite); color: var(--red); font-weight: 700; }

/* ===== CHAPTER NAV (project detail) ===== */
.chapter-nav { position: sticky; top: 80px; width: 100%; background: var(--offwhite); border-bottom: 1px solid var(--border); z-index: 50; }
.chapter-nav .container { display: flex; gap: 34px; padding-top: 18px; padding-bottom: 18px; overflow-x: auto; }
.chapter-link { font-size: 13.5px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.chapter-link:hover { color: var(--red); }

.detail-hero { position: relative; overflow: hidden; padding: 0 0 44px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 460px; background: linear-gradient(135deg, var(--pine) 0%, var(--pine-light) 55%, var(--pine-deep) 100%); }
.breadcrumb { font-size: 13px; color: rgba(250,249,246,.65); margin-bottom: 14px; }
.breadcrumb a { color: rgba(250,249,246,.65); }
.detail-hero h1 { font-weight: 700; font-size: 46px; color: var(--offwhite); margin: 0 0 8px; }
.detail-hero .meta { font-size: 15px; color: rgba(250,249,246,.8); }

.overview-row { display: flex; gap: 60px; }
.overview-copy { flex: 1.4; display: flex; flex-direction: column; gap: 16px; }
.overview-copy h2 { font-weight: 700; font-size: 28px; }
.overview-copy p { font-size: 15px; line-height: 1.75; color: var(--muted); }
.facts-card { flex: 1; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 16px; height: fit-content; }
.facts-card .title { font-family: 'Fraunces', serif; font-weight: 600; font-size: 16px; }
.fact-row { display: flex; justify-content: space-between; font-size: 13.5px; border-top: 1px solid var(--section-alt); padding-top: 12px; }
.fact-row .k { color: var(--placeholder); }
.fact-row .v { color: var(--pine); font-weight: 600; }

.amenities-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.amenity { background: #fff; border-radius: 10px; padding: 20px; display: flex; align-items: center; gap: 14px; }
.amenity .icon { color: var(--red); }
.amenity span.label { font-size: 14px; color: var(--pine); font-weight: 500; }

.diagram-box { border-radius: 14px; background: var(--section-alt); border: 1px dashed var(--border-alt); display: flex; align-items: center; justify-content: center; color: var(--placeholder); font-size: 13px; font-style: italic; text-align: center; padding: 20px; }
.floorplan-box { width: 100%; max-width: 640px; height: 260px; margin: 0 auto; }

.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.gallery-grid .g { height: 150px; border-radius: 10px; }
.gallery-grid .g.more { background: var(--border); display: flex; align-items: center; justify-content: center; color: var(--placeholder); font-size: 12px; font-style: italic; }

/* ===== ABOUT stats ===== */
.stats-row { display: flex; gap: 60px; justify-content: center; flex-wrap: wrap; }
.stat .num { font-family: 'Fraunces', serif; font-weight: 900; font-size: 34px; color: var(--red); }
.stat .label { font-size: 13px; color: var(--muted); text-align: center; }

/* ===== CONTACT ===== */
.contact-grid { display: flex; gap: 56px; }
.contact-form { flex: 1.3; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 34px; display: flex; flex-direction: column; gap: 20px; }
.form-row { display: flex; gap: 16px; }
.form-field { flex: 1; }
.form-field label { font-size: 13px; font-weight: 600; color: var(--pine); margin-bottom: 6px; display: block; }
.form-field input, .form-field textarea { font-family: 'Work Sans', sans-serif; font-size: 14px; border: 1px solid var(--border-alt); border-radius: 7px; padding: 12px 14px; width: 100%; color: var(--charcoal); }
.form-field input:focus, .form-field textarea:focus { outline: 2px solid var(--lime); border-color: var(--lime); }
.contact-side { flex: 1; display: flex; flex-direction: column; gap: 22px; }
.reach-card { background: var(--pine); border-radius: 14px; padding: 30px; display: flex; flex-direction: column; gap: 16px; }
.reach-card .title { font-family: 'Fraunces', serif; font-weight: 600; font-size: 17px; color: var(--offwhite); }
.reach-card div.line { font-size: 14px; color: rgba(250,249,246,.8); }
.reach-card a.wa { margin-top: 6px; padding: 12px 20px; border-radius: 6px; font-size: 14px; font-weight: 600; text-align: center; background: var(--pine-light); color: var(--offwhite); }
.reach-card a.wa:hover { background: #26534a; }
.map-box { height: 200px; border-radius: 14px; }
.map-embed { border: 0; width: 100%; display: block; }
.reach-card .office-label { font-size: 11.5px; font-weight: 700; color: var(--lime); text-transform: uppercase; letter-spacing: .3px; }

/* ===== SCROLL REVEAL ===== */
.reveal, .reveal-left, .reveal-right, .reveal-blur {
  opacity: 0;
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1), filter .7s ease;
  will-change: opacity, transform;
}
.reveal { transform: translateY(30px); }
.reveal-left { transform: translateX(-36px); }
.reveal-right { transform: translateX(36px); }
.reveal-blur { transform: scale(.97); filter: blur(9px); }
.reveal.is-visible, .reveal-left.is-visible, .reveal-right.is-visible, .reveal-blur.is-visible {
  opacity: 1; transform: none; filter: blur(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-blur { opacity: 1; transform: none; filter: none; transition: none; }
}

/* ===== NAV ENTRANCE ===== */
@keyframes navDropIn { from { transform: translateY(-16px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.site-nav { animation: navDropIn .5s ease both; }

/* ===== HERO WITH PHOTO + KEN BURNS ===== */
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; animation: kenBurns 16s ease-in-out infinite alternate; }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(22,51,44,.92) 0%, rgba(30,64,56,.82) 55%, rgba(18,36,31,.88) 100%); }
@keyframes kenBurns { from { transform: scale(1); } to { transform: scale(1.1); } }
.hero-inner, .hero-badge { position: relative; z-index: 2; }
.hero-inner { animation: fadeUpIn .8s ease both .1s; }
@keyframes fadeUpIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero-media img { animation: none; }
  .hero-inner { animation: none; }
}

.detail-hero .hero-media { z-index: 0; }
.detail-hero .container { position: relative; z-index: 2; }

/* ===== BUTTON SHINE ===== */
.btn-primary, .cta-band .btn { position: relative; overflow: hidden; }
.btn-primary::after, .cta-band .btn::after {
  content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-18deg);
}
.btn-primary:hover::after, .cta-band .btn:hover::after { animation: shineSweep .85s ease; }
@keyframes shineSweep { from { left: -60%; } to { left: 130%; } }

/* ===== CARD HOVER LIFT + IMAGE ZOOM ===== */
.project-card { transition: transform .35s ease, box-shadow .35s ease; }
.project-card:hover { transform: translateY(-7px); box-shadow: 0 20px 44px rgba(22,51,44,.16); }
.project-card .thumb { overflow: hidden; }
.project-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; display: block; }
.project-card:hover .thumb img { transform: scale(1.09); }
.pillar-card, .amenity { transition: transform .3s ease, box-shadow .3s ease; }
.pillar-card:hover, .amenity:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(22,51,44,.1); }

/* ===== BADGE ROW (image-corner status pill) ===== */
.badge-row { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* ===== FLATS FOR SALE RIBBON (banner across the top of the image) ===== */
.flats-ribbon {
  position: absolute; top: 0; left: 0; right: 0; z-index: 4;
  background: var(--red); color: var(--offwhite);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px;
  padding: 10px 14px; box-shadow: 0 3px 10px rgba(0,0,0,.28);
}
.flats-ribbon .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--offwhite); flex-shrink: 0;
  animation: flatsDotPulse 1.6s ease-in-out infinite;
}
@keyframes flatsDotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: .55; }
}
@media (prefers-reduced-motion: reduce) {
  .flats-ribbon .dot { animation: none; }
}
/* Give the status pill and view button room below the ribbon instead of colliding with it */
.pcard-thumb:has(.flats-ribbon) .badge-row { top: 48px; }
.pcard-thumb:has(.flats-ribbon) .pcard-view-btn { top: 48px; }

/* ===== PORTRAIT PROPERTY CARD (image-led, hover-reveal facts) ===== */
.pcard-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; }
.pcard-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 26px; }
.pcard { display: flex; flex-direction: column; transition: transform .35s ease; }
.pcard:hover { transform: translateY(-6px); }
.pcard-thumb { position: relative; display: block; overflow: hidden; border-radius: 18px 18px 0 0; aspect-ratio: 4 / 5; background: var(--pine); }
.pcard-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; display: block; }
.pcard:hover .pcard-thumb img { transform: scale(1.07); }
.pcard-thumb .badge-row { position: absolute; top: 14px; left: 14px; z-index: 2; }
.pcard-thumb .status { font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 20px; }
.pcard-view-btn { position: absolute; top: 14px; right: 14px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; background: var(--offwhite); color: var(--pine); display: flex; align-items: center; justify-content: center; transition: transform .4s ease, background .3s ease, color .3s ease; }
.pcard:hover .pcard-view-btn { background: var(--red); color: var(--offwhite); transform: rotate(45deg); }
.pcard-thumb .photo-tag { bottom: 14px; left: 14px; right: auto; z-index: 1; }
.pcard-hover { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2; background: var(--offwhite); border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; transform: translateY(calc(100% + 22px)); transition: transform .5s cubic-bezier(.22,.61,.36,1); }
.pcard:hover .pcard-hover { transform: translateY(0); }
.pcard-stats { display: flex; flex-direction: column; gap: 7px; }
.pcard-stats .stat-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 12px; }
.pcard-stats .stat-row .k { color: var(--placeholder); text-transform: uppercase; letter-spacing: .3px; font-size: 10px; flex-shrink: 0; }
.pcard-stats .stat-row .v { color: var(--pine); font-weight: 600; text-align: right; }
.pcard-cta { font-size: 12.5px; font-weight: 700; color: var(--red); border-top: 1px solid var(--border); padding-top: 10px; }
.pcard-body { background: var(--pine); border-radius: 0 0 14px 14px; padding: 14px 16px 18px; }
.pcard-name { font-family: 'Fraunces', serif; font-weight: 600; font-size: 18px; color: var(--offwhite); }
.pcard-loc { font-size: 12.5px; color: rgba(250,249,246,.72); margin-top: 3px; }
@media (max-width: 960px) { .pcard-grid-2, .pcard-grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 720px) { .pcard-grid-2, .pcard-grid-3 { grid-template-columns: 1fr; } }

/* ===== PHOTO TAG (sample-content marker) ===== */
.photo-tag { position: absolute; bottom: 10px; right: 10px; background: rgba(15,20,18,.55); color: #fff; font-size: 10px; font-weight: 600; letter-spacing: .3px; padding: 4px 10px; border-radius: 20px; z-index: 2; white-space: nowrap; }

/* ===== CAROUSEL ===== */
.carousel { position: relative; }
.carousel-viewport { overflow: hidden; }
.carousel-track { display: flex; gap: 26px; transition: transform .6s cubic-bezier(.4,0,.2,1); will-change: transform; }
.carousel-slide { flex: 0 0 calc(33.333% - 17.33px); }
.carousel--pair .carousel-slide { flex-basis: calc(50% - 13px); }
.carousel-arrow { position: absolute; top: 42%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 20px; line-height: 1; color: var(--pine); cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.1); z-index: 5; transition: background .2s ease, color .2s ease; }
.carousel-arrow:hover { background: var(--pine); color: var(--offwhite); }
.carousel-arrow.prev { left: -22px; }
.carousel-arrow.next { right: -22px; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 26px; }
.carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border-alt); border: none; cursor: pointer; padding: 0; transition: background .2s ease, transform .2s ease; }
.carousel-dot.active { background: var(--red); transform: scale(1.35); }

/* ===== CHAIRMAN'S MESSAGE ===== */
.chairman-section { display: flex; gap: 56px; align-items: flex-start; }
.chairman-photo-wrap { flex: 0 0 260px; }
.chairman-photo { width: 260px; height: 260px; object-fit: cover; border-radius: 16px; box-shadow: 0 20px 44px rgba(22,51,44,.18); display: block; }
.chairman-copy { flex: 1; display: flex; flex-direction: column; gap: 14px; }
.chairman-copy p { font-size: 14.5px; line-height: 1.75; color: var(--muted); max-width: 680px; }
.chairman-signature { margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--border); }
.chairman-signature .sig-name { font-family: 'Fraunces', serif; font-weight: 700; font-size: 17px; color: var(--pine); }
.chairman-signature .sig-role { font-size: 13px; color: var(--muted); margin-top: 2px; }
@media (max-width: 720px) {
  .chairman-section { flex-direction: column; gap: 24px; }
  .chairman-photo-wrap { flex: none; }
  .chairman-photo { width: 160px; height: 160px; }
}

/* ===== PORTFOLIO GRID (static, no motion) ===== */
.portfolio-grid { display: grid; grid-template-columns: 1.6fr 1fr; grid-auto-rows: 220px; gap: 24px; }
.portfolio-tile { position: relative; border-radius: 14px; overflow: hidden; background: var(--pine); }
.portfolio-tile::before {
  content: ''; position: absolute; top: 0; left: -60%; width: 35%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,.55), rgba(255,255,255,.15), transparent);
  transform: skewX(-18deg); z-index: 5; pointer-events: none;
}
.portfolio-tile:hover::before { animation: shineSweep .9s ease; }
.portfolio-tile.big { grid-row: span 2; }
.portfolio-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.portfolio-tile .tile-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(18,36,31,.9) 0%, rgba(18,36,31,.32) 48%, transparent 78%); }
.portfolio-tile .tile-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 24px; }
.portfolio-tile .tile-cat { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--lime); font-weight: 700; margin-bottom: 6px; }
.portfolio-tile .tile-name { font-family: 'Fraunces', serif; font-weight: 600; color: var(--offwhite); font-size: 17px; }
.portfolio-tile.big .tile-name { font-size: 24px; }
.portfolio-tile .tile-loc { font-size: 12.5px; color: rgba(250,249,246,.75); margin-top: 4px; }
@media (max-width: 960px) {
  .portfolio-grid { grid-template-columns: 1fr; }
}

/* ===== TESTIMONIALS ===== */
.testi-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 30px; display: flex; flex-direction: column; gap: 18px; height: 100%; }
.testi-quote { font-size: 14.5px; line-height: 1.75; color: var(--muted); font-style: italic; }
.testi-person { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--section-alt); display: flex; align-items: center; justify-content: center; color: var(--pine); flex-shrink: 0; }
.testi-name { font-size: 13.5px; font-weight: 700; color: var(--pine); }
.testi-role { font-size: 12px; color: var(--placeholder); }

/* ===== LIGHTBOX ===== */
.lightbox-overlay { position: fixed; inset: 0; background: rgba(13,18,16,.94); display: flex; align-items: center; justify-content: center; z-index: 300; opacity: 0; pointer-events: none; transition: opacity .25s ease; padding: 40px; }
.lightbox-overlay.open { opacity: 1; pointer-events: auto; }
.lightbox-overlay img { max-width: 100%; max-height: 100%; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox-close { position: absolute; top: 22px; right: 28px; color: #fff; font-size: 30px; line-height: 1; cursor: pointer; background: rgba(255,255,255,.1); width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.lightbox-close:hover { background: rgba(255,255,255,.2); }
.gallery-grid .g { cursor: pointer; overflow: hidden; position: relative; }
.gallery-grid .g img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; display: block; }
.gallery-grid .g:hover img { transform: scale(1.08); }

/* ===== Mobile sticky bar ===== */
.mobile-bar { display: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .container { padding: 0 32px; }
  .pillar-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .card-grid-2, .card-grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .amenities-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .split, .overview-row, .contact-grid { flex-direction: column; }
  .split-media { flex: none; width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero h1 { font-size: 46px; }
  .carousel-slide { flex-basis: calc(50% - 13px); }
}

@media (max-width: 720px) {
  .site-nav .container { padding-left: 20px; padding-right: 20px; }
  .nav-links { position: fixed; top: 80px; left: 0; right: 0; background: var(--pine); flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 24px 20px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links .navlink { width: 100%; padding: 12px 0; border-bottom: 1px solid rgba(250,249,246,.1); }
  .nav-right .btn-primary.book-visit { display: none; }
  .nav-burger { display: flex; }

  .container { padding: 0 20px; }
  .section { padding: 50px 0; }
  .hero { padding: 44px 0; }
  .hero h1 { font-size: 32px; }
  .hero p.lead { font-size: 14px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; }
  .hero-badge { display: none; }

  .pillar-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
  .pillar-card { padding: 18px; }
  .card-grid-2, .card-grid-3 { grid-template-columns: 1fr; }
  .amenities-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stats-row { gap: 30px; }

  .cta-band { flex-direction: column; text-align: center; padding: 34px 0; }
  .chapter-nav { top: 0; }
  .detail-hero h1 { font-size: 30px; }
  .detail-hero { min-height: 320px; }

  .contact-form { padding: 22px; }
  .form-row { flex-direction: column; gap: 20px; }

  body { padding-bottom: 68px; }
  .mobile-bar { display: flex; gap: 10px; position: fixed; bottom: 0; left: 0; right: 0; padding: 12px 16px; background: #fff; border-top: 1px solid var(--border); box-shadow: 0 -4px 14px rgba(0,0,0,.08); z-index: 90; }
  .mobile-bar a { flex: 1; text-align: center; padding: 13px; border-radius: 7px; font-size: 13.5px; font-weight: 700; }
  .mobile-bar a.call { border: 1.5px solid var(--pine); color: var(--pine); }
  .mobile-bar a.wa { background: var(--lime); color: var(--pine); }

  .carousel-arrow { display: none; }
  .carousel-track { gap: 16px; }
  .carousel-slide, .carousel--pair .carousel-slide { flex-basis: 100%; }
}

@media (min-width: 721px) and (max-width: 960px) {
  .carousel--pair .carousel-slide { flex-basis: calc(50% - 13px); }
}
