/* IKAR — International Institute for Knowledge and Applied Research
   Palette drawn from the IKAR logo (forest + leaf) and the campus renders (limestone, brass). */
:root{
  --forest:#06352A;
  --forest-2:#0C4636;
  --leaf:#6BA32E;
  --leaf-ink:#3F6E14;      /* leaf green dark enough for text on light */
  --leaf-bright:#9BCB55;   /* leaf green for text on forest */
  --limestone:#EDEEE7;
  --stone:#DCDDD2;
  --paper:#F7F7F2;
  --ink:#16231D;
  --muted:#4E5C55;
  --brass:#A07A2E;
  --rule:rgba(6,53,42,.18);
  --serif:"Newsreader",Georgia,"Times New Roman",serif;
  --sans:"Albert Sans",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --wrap:1200px;
  --gutter:clamp(16px,4vw,40px);
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{animation:none!important;transition:none!important}}
body{margin:0;background:var(--limestone);color:var(--ink);font-family:var(--sans);font-size:17px;line-height:1.6;text-rendering:optimizeLegibility}
img{max-width:100%;height:auto;display:block}
a{color:var(--forest);text-decoration-thickness:1px;text-underline-offset:3px}
a:hover{color:var(--leaf-ink)}
:focus-visible{outline:3px solid var(--leaf);outline-offset:3px;border-radius:2px}
.skip{position:absolute;left:-999px;top:0;background:var(--forest);color:#fff;padding:10px 16px;z-index:100}
.skip:focus{left:16px;top:16px}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 var(--gutter)}
.visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* Type scale (1.25 minor third-ish, serif display) */
h1,h2,h3,h4{font-family:var(--serif);font-weight:500;color:var(--forest);line-height:1.12;margin:0 0 .5em;letter-spacing:-.01em}
h1{font-size:clamp(2.4rem,5.4vw,4.4rem);font-weight:400;line-height:1.04;letter-spacing:-.02em}
h2{font-size:clamp(1.9rem,3.4vw,2.8rem);font-weight:400}
h3{font-size:clamp(1.35rem,2vw,1.6rem)}
h4{font-size:1.15rem;font-family:var(--sans);font-weight:600;letter-spacing:0}
p{margin:0 0 1em;max-width:68ch}
.lede{font-family:var(--serif);font-size:clamp(1.2rem,1.8vw,1.45rem);line-height:1.5;color:var(--ink);max-width:56ch}
.muted{color:var(--muted)}
.small{font-size:.9rem}

/* Announcement bar */
.notice{background:var(--forest);color:#E8EFE6;font-size:.88rem}
.notice .wrap{display:flex;gap:12px;align-items:center;justify-content:center;padding-top:8px;padding-bottom:8px;text-align:center;flex-wrap:wrap}
.notice a{color:var(--leaf-bright);font-weight:600}
.notice a:hover{color:#fff}

/* Header */
.site-header{background:var(--paper);border-bottom:1px solid var(--rule);position:sticky;top:0;z-index:50}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:76px}
.brand{display:flex;align-items:center;gap:14px;text-decoration:none;color:var(--forest)}
.brand img{height:44px;width:auto}
.brand span{font-size:.78rem;line-height:1.25;font-weight:600;max-width:21ch;color:var(--forest);border-left:1px solid var(--rule);padding-left:14px}
.nav ul{list-style:none;margin:0;padding:0;display:flex;gap:4px}
.nav a{display:block;padding:10px 12px;text-decoration:none;color:var(--ink);font-weight:500;font-size:.95rem;border-radius:4px}
.nav a:hover{background:var(--limestone);color:var(--forest)}
.nav a[aria-current="page"]{color:var(--forest);box-shadow:inset 0 -2px 0 var(--leaf)}
.nav-toggle{display:none;background:none;border:1px solid var(--rule);border-radius:4px;padding:8px 12px;font:600 .95rem var(--sans);color:var(--forest);cursor:pointer}
@media (max-width:1060px){.brand span{display:none}}
@media (max-width:900px){
  .nav-toggle{display:block}
  .nav{position:absolute;left:0;right:0;top:100%;background:var(--paper);border-bottom:1px solid var(--rule);display:none}
  .nav.open{display:block}
  .nav ul{flex-direction:column;padding:8px var(--gutter) 16px}
  .nav a{padding:14px 8px;border-bottom:1px solid var(--rule);border-radius:0}
  .nav a[aria-current="page"]{box-shadow:inset 3px 0 0 var(--leaf);padding-left:14px}
}

/* Buttons */
.btn{display:inline-flex;align-items:center;gap:8px;padding:13px 22px;border-radius:999px;font:600 1rem var(--sans);text-decoration:none;border:1.5px solid var(--forest);cursor:pointer;transition:background .2s,color .2s}
.btn-primary{background:var(--forest);color:#fff}
.btn-primary:hover{background:var(--forest-2);color:#fff}
.btn-ghost{background:transparent;color:var(--forest)}
.btn-ghost:hover{background:var(--forest);color:#fff}
.on-dark .btn-primary{background:var(--leaf-bright);border-color:var(--leaf-bright);color:var(--forest)}
.on-dark .btn-primary:hover{background:#fff;border-color:#fff}
.on-dark .btn-ghost{color:#fff;border-color:rgba(255,255,255,.6)}
.on-dark .btn-ghost:hover{background:#fff;color:var(--forest)}
.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}

/* Hero */
.hero{background:var(--paper);padding:clamp(48px,8vw,96px) 0 0}
.hero-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:clamp(24px,5vw,64px);align-items:end;padding-bottom:clamp(36px,5vw,56px)}
.hero h1{max-width:15ch;margin-bottom:0}
.hero-side .lede{margin-bottom:0}
@media (max-width:860px){.hero-grid{grid-template-columns:1fr}}
.panorama{position:relative;margin:0}
.panorama img{width:100%;height:clamp(300px,42vw,620px);object-fit:cover;object-position:50% 55%}
.panorama figcaption{position:absolute;right:var(--gutter);bottom:14px;background:rgba(6,53,42,.78);color:#fff;font-size:.82rem;padding:6px 12px;border-radius:3px}

/* Title block — the drawing-sheet strip that carries key project data */
.titleblock{background:var(--forest);color:#fff}
.titleblock dl{margin:0;display:grid;grid-template-columns:repeat(4,1fr)}
.titleblock dl>div{padding:22px 24px;border-left:1px solid rgba(255,255,255,.16)}
.titleblock dl>div:first-child{border-left:0;padding-left:0}
.titleblock dt{font-size:.82rem;color:var(--leaf-bright);font-weight:600;margin-bottom:4px}
.titleblock dd{margin:0;font-family:var(--serif);font-size:clamp(1.15rem,1.8vw,1.45rem);line-height:1.25}
@media (max-width:760px){.titleblock dl{grid-template-columns:1fr 1fr}.titleblock dl>div{border-left:0;padding:16px 0;border-top:1px solid rgba(255,255,255,.16)}.titleblock div:nth-child(-n+2){border-top:0}.titleblock div:nth-child(even){padding-left:16px}}

/* Sections */
.section{padding:clamp(64px,9vw,112px) 0}
.section.paper{background:var(--paper)}
.section.forest{background:var(--forest);color:#E6ECE7}
.section.forest h2,.section.forest h3{color:#fff}
.section.forest p{color:#D5E0D9}
.section-head{display:grid;grid-template-columns:.9fr 1.1fr;gap:clamp(24px,5vw,72px);align-items:end;margin-bottom:clamp(36px,5vw,56px)}
.section-head h2{margin:0}
.section-head p{margin:0}
@media (max-width:860px){.section-head{grid-template-columns:1fr;gap:16px}}

/* Page hero for inner pages */
.page-hero{background:var(--paper);padding:clamp(48px,7vw,88px) 0 clamp(32px,4vw,48px);border-bottom:1px solid var(--rule)}
.page-hero h1{font-size:clamp(2.2rem,4.6vw,3.6rem);max-width:20ch}
.crumbs{font-size:.88rem;color:var(--muted);margin-bottom:18px}
.crumbs a{color:var(--muted)}

/* Pillars — five commitments, set as a ruled list not cards */
.pillars{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid var(--rule)}
.pillars li{padding:24px 20px 8px 0;border-right:1px solid var(--rule);margin-right:20px}
.pillars li:last-child{border-right:0;margin-right:0}
.pillars svg{width:34px;height:34px;color:var(--leaf-ink);margin-bottom:14px}
.pillars h3{font-size:1.25rem;margin-bottom:.4em}
.pillars p{font-size:.95rem;color:var(--muted)}
@media (max-width:1000px){.pillars{grid-template-columns:1fr 1fr}.pillars li{border-right:0;margin-right:0;border-bottom:1px solid var(--rule);padding-right:16px}}
@media (max-width:560px){.pillars{grid-template-columns:1fr}}

/* Feature rows: image + text, alternating */
.feature{display:grid;grid-template-columns:1.35fr 1fr;gap:clamp(24px,5vw,64px);align-items:center;padding:clamp(28px,4vw,48px) 0;border-top:1px solid var(--rule)}
.feature:first-of-type{border-top:0}
.feature.flip{grid-template-columns:1fr 1.35fr}
.feature.flip .feature-media{order:2}
.feature-media img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:4px}
.feature-ref{font-family:var(--serif);font-size:1rem;color:var(--brass);margin-bottom:6px}
.facts{list-style:none;padding:0;margin:18px 0 22px;display:grid;grid-template-columns:1fr 1fr;gap:0 24px}
.facts li{border-top:1px solid var(--rule);padding:10px 0}
.facts strong{display:block;font-family:var(--serif);font-weight:500;font-size:1.35rem;color:var(--forest);line-height:1.2}
.facts span{font-size:.88rem;color:var(--muted)}
.textlink{font-weight:600;text-decoration:none;border-bottom:1.5px solid var(--leaf);padding-bottom:2px}
@media (max-width:860px){.feature,.feature.flip{grid-template-columns:1fr}.feature.flip .feature-media{order:0}}

/* Master plan */
.plan{position:relative;border-radius:4px;overflow:hidden;background:#cfd6c8;box-shadow:0 1px 0 var(--rule)}
.plan img{width:100%}
.hotspot{position:absolute;transform:translate(-50%,-50%);width:34px;height:34px;border-radius:50%;border:2px solid #fff;background:var(--forest);color:#fff;font:700 .85rem var(--sans);display:grid;place-items:center;cursor:pointer;box-shadow:0 2px 6px rgba(0,0,0,.35);padding:0}
.hotspot.res{background:var(--leaf-ink)}
.hotspot:hover,.hotspot[aria-expanded="true"]{background:#fff;color:var(--forest);border-color:var(--forest);z-index:3}
.hotspot[aria-expanded="true"]{box-shadow:0 0 0 6px rgba(107,163,46,.55)}
.plan-layout{display:grid;grid-template-columns:1fr 340px;gap:32px;align-items:start}
.plan-panel{background:var(--paper);border:1px solid var(--rule);border-radius:4px;padding:24px;position:sticky;top:96px}
.plan-panel .num{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--forest);color:#fff;font-weight:700;font-size:.85rem;margin-bottom:10px}
.plan-panel h3{margin-bottom:.3em}
.plan-panel p{font-size:.96rem;color:var(--muted)}
.plan-legend{list-style:none;padding:0;margin:18px 0 0;font-size:.9rem;columns:2;column-gap:16px}
.plan-legend li{break-inside:avoid;margin-bottom:6px}
.plan-legend button{all:unset;cursor:pointer;color:var(--ink)}
.plan-legend button:hover,.plan-legend button[aria-pressed="true"]{color:var(--leaf-ink);text-decoration:underline}
.plan-legend button:focus-visible{outline:2px solid var(--leaf)}
.plan-legend b{display:inline-block;min-width:1.7em;color:var(--forest)}
@media (max-width:980px){.plan-layout{grid-template-columns:1fr}.plan-panel{position:static}}
@media (max-width:600px){.hotspot{width:24px;height:24px;font-size:.7rem;border-width:1.5px}}

/* Data tables */
.table-wrap{overflow-x:auto}
table.data{width:100%;border-collapse:collapse;font-size:.96rem;min-width:420px}
table.data caption{text-align:left;font-family:var(--serif);font-size:1.3rem;color:var(--forest);padding-bottom:10px}
table.data th,table.data td{padding:11px 12px 11px 0;border-bottom:1px solid var(--rule);text-align:left;vertical-align:top}
table.data th{font-weight:600;font-size:.85rem;color:var(--muted)}
table.data td.n,table.data th.n{text-align:right;font-variant-numeric:tabular-nums}
table.data tfoot td{font-weight:700;border-bottom:2px solid var(--forest)}
.bar{display:block;height:6px;background:var(--leaf);border-radius:3px;margin-top:6px}

/* Grids */
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:clamp(28px,5vw,64px)}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
@media (max-width:860px){.grid-2,.grid-3{grid-template-columns:1fr}}

/* Spec lists for building pages */
.spec{list-style:none;padding:0;margin:0 0 1.2em}
.spec li{padding:9px 0 9px 22px;border-bottom:1px solid var(--rule);position:relative}
.spec li::before{content:"";position:absolute;left:2px;top:19px;width:8px;height:8px;border-radius:50%;background:var(--leaf)}
.floors{display:grid;grid-template-columns:repeat(3,1fr);gap:0;border-top:2px solid var(--forest);margin-top:24px}
.floors section{padding:18px 20px 6px 0;border-right:1px solid var(--rule);margin-right:20px}
.floors section:last-child{border-right:0;margin-right:0}
.floors h4{margin-bottom:.4em}
.floors ul{margin:0;padding-left:1.1em;color:var(--muted);font-size:.95rem}
@media (max-width:760px){.floors{grid-template-columns:1fr}.floors section{border-right:0;margin-right:0;border-bottom:1px solid var(--rule)}}

.building{padding:clamp(56px,8vw,96px) 0;border-top:1px solid var(--rule)}
.building:first-of-type{border-top:0}
.building-img{width:100%;border-radius:4px;margin:8px 0 clamp(28px,4vw,44px);aspect-ratio:auto;object-fit:cover}
@media (max-width:860px){.building-img{aspect-ratio:16/10}}

/* Drawings gallery */
.drawings{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.drawing{margin:0;background:#fff;border:1px solid var(--rule);border-radius:4px;overflow:hidden}
.drawing button{all:unset;display:block;cursor:zoom-in;width:100%}
.drawing button:focus-visible{outline:3px solid var(--leaf);outline-offset:-3px}
.drawing img{width:100%;aspect-ratio:4/3;object-fit:contain;background:#fff;padding:10px}
.drawing figcaption{font-size:.86rem;padding:10px 14px;border-top:1px solid var(--rule);color:var(--muted)}
.drawings.wide{grid-template-columns:1fr}
.drawings.wide .drawing img{aspect-ratio:auto}
@media (max-width:860px){.drawings{grid-template-columns:1fr 1fr}}
@media (max-width:520px){.drawings{grid-template-columns:1fr}}
dialog.lightbox{border:0;padding:0;background:transparent;max-width:min(1400px,96vw);max-height:94vh}
dialog.lightbox::backdrop{background:rgba(4,25,20,.88)}
dialog.lightbox img{max-height:86vh;width:auto;background:#fff;border-radius:4px}
dialog.lightbox p{color:#fff;margin:10px 0 0;font-size:.9rem;max-width:none}
dialog.lightbox .close{position:absolute;top:8px;right:8px;background:var(--forest);color:#fff;border:0;border-radius:50%;width:40px;height:40px;font-size:1.4rem;cursor:pointer}

/* Village amenities photo strip */
.amenities{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin-top:28px}
.amenities figure{margin:0}
.amenities img{aspect-ratio:1;object-fit:cover;border-radius:4px;width:100%}
.amenities figcaption{font-size:.86rem;margin-top:6px;color:var(--muted)}
@media (max-width:860px){.amenities{grid-template-columns:repeat(3,1fr)}}

/* Home types */
.homes{display:grid;grid-template-columns:repeat(3,1fr);border-top:2px solid var(--forest)}
.home{padding:24px 24px 8px 0;border-right:1px solid var(--rule);margin-right:24px}
.home:last-child{border-right:0;margin-right:0}
.home .type{font-family:var(--serif);color:var(--brass);font-size:1rem}
.home .count{font-family:var(--serif);font-size:3rem;line-height:1;color:var(--forest);margin:8px 0 2px}
.home dl{display:grid;grid-template-columns:auto 1fr;gap:4px 14px;font-size:.93rem;margin:16px 0}
.home dt{color:var(--muted)}
.home dd{margin:0;font-weight:600}
@media (max-width:860px){.homes{grid-template-columns:1fr}.home{border-right:0;margin-right:0;border-bottom:1px solid var(--rule)}}

/* Timeline (a real sequence: development phases) */
.phases{list-style:none;margin:0;padding:0;counter-reset:phase;display:grid;grid-template-columns:repeat(4,1fr);gap:0;position:relative}
.phases::before{content:"";position:absolute;left:0;right:0;top:23px;height:2px;background:rgba(255,255,255,.22)}
.paper .phases::before,.plain .phases::before{background:var(--rule)}
.phases li{position:relative;padding:0 24px 0 0}
.phases .dot{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:var(--leaf-bright);color:var(--forest);font:700 1.05rem var(--sans);position:relative;margin-bottom:18px}
.paper .phases .dot,.plain .phases .dot{background:var(--forest);color:#fff}
.phases .when{font-weight:600;font-size:.88rem;color:var(--leaf-bright)}
.paper .phases .when,.plain .phases .when{color:var(--leaf-ink)}
.phases h3{font-size:1.3rem;margin:.2em 0 .4em}
.phases p{font-size:.95rem}
@media (max-width:860px){.phases{grid-template-columns:1fr;gap:28px}.phases::before{left:23px;right:auto;top:0;bottom:0;width:2px;height:auto}.phases li{padding-left:72px}.phases .dot{position:absolute;left:0;top:0}}

/* Milestones list on development page */
.milestones{list-style:none;padding:0;margin:0;border-left:2px solid var(--forest)}
.milestones li{position:relative;padding:0 0 28px 28px}
.milestones li::before{content:"";position:absolute;left:-8px;top:6px;width:14px;height:14px;border-radius:50%;background:var(--paper);border:2px solid var(--forest)}
.milestones li.done::before{background:var(--forest)}
.milestones li.next::before{background:var(--leaf);border-color:var(--leaf);box-shadow:0 0 0 5px rgba(107,163,46,.25)}
.milestones .when{font-weight:700;color:var(--forest)}
.milestones p{margin:.2em 0 0;color:var(--muted)}

/* Forms */
.form{display:grid;gap:16px}
.form .row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
@media (max-width:600px){.form .row{grid-template-columns:1fr}}
label{display:block;font-weight:600;font-size:.92rem;margin-bottom:6px}
input,select,textarea{width:100%;font:inherit;font-size:1rem;padding:12px 14px;border:1.5px solid #B9BFB3;border-radius:6px;background:#fff;color:var(--ink)}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--forest);box-shadow:0 0 0 3px rgba(107,163,46,.35)}
textarea{min-height:150px;resize:vertical}
.hp{position:absolute;left:-5000px}
.form-note{font-size:.85rem;color:var(--muted)}
.alert{padding:14px 18px;border-radius:6px;margin-bottom:20px;font-weight:500}
.alert.ok{background:#E3EFD6;color:#244A0B;border:1px solid #B7D498}
.alert.err{background:#F6E2DC;color:#7A2913;border:1px solid #E3B6A8}
.on-dark label{color:#fff}
.on-dark input{border-color:transparent}
.inline-form{display:flex;gap:10px;flex-wrap:wrap;max-width:560px}
.inline-form input{flex:1 1 240px}

/* Contact */
.contact-list{list-style:none;padding:0;margin:0}
.contact-list li{padding:16px 0;border-bottom:1px solid var(--rule);display:grid;grid-template-columns:28px 1fr;gap:14px}
.contact-list svg{width:22px;height:22px;color:var(--leaf-ink);margin-top:3px}
.contact-list strong{display:block}

/* CTA band */
.cta-band{display:grid;grid-template-columns:1.1fr 1fr;gap:clamp(24px,5vw,72px);align-items:center}
@media (max-width:860px){.cta-band{grid-template-columns:1fr}}

/* Footer */
.site-footer{background:var(--forest);color:#CFDBD3;padding:64px 0 28px;font-size:.95rem}
.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:40px}
.footer-grid img{width:220px}
.site-footer h2{font-family:var(--sans);font-size:.95rem;font-weight:700;color:#fff;margin-bottom:14px;letter-spacing:0}
.site-footer ul{list-style:none;padding:0;margin:0}
.site-footer li{margin-bottom:8px}
.site-footer a{color:#E6EEE8;text-decoration:none}
.site-footer a:hover{color:var(--leaf-bright);text-decoration:underline}
.motto{font-family:var(--serif);font-size:1.25rem;color:#fff;line-height:1.35;margin-top:18px}
.footer-base{margin-top:48px;padding-top:20px;border-top:1px solid rgba(255,255,255,.14);display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;font-size:.85rem;color:#A9BDB1}
@media (max-width:860px){.footer-grid{grid-template-columns:1fr 1fr}}
@media (max-width:520px){.footer-grid{grid-template-columns:1fr}}

/* Quote / statement */
.statement{font-family:var(--serif);font-size:clamp(1.6rem,3.2vw,2.5rem);line-height:1.3;color:var(--forest);max-width:30ch;margin:0}
.section.forest .statement{color:#fff}

/* 404 */
.notfound{min-height:50vh;display:grid;place-items:center;text-align:center}
.notfound p{margin-left:auto;margin-right:auto}
.panorama.landscape img{height:clamp(160px,22vw,300px);object-position:50% 70%}
/* Project team */
.team{display:grid;grid-template-columns:1.1fr 1fr;gap:clamp(28px,5vw,64px);align-items:start;border-top:2px solid var(--forest);padding-top:28px}
.team-role{font-family:var(--serif);color:var(--brass);margin-bottom:14px}
.team-lead img{height:44px;width:auto;margin-bottom:14px}
.team-lead h3{margin-bottom:.3em}
.team-lead p:last-child{color:var(--muted);font-size:.95rem}
.team-list{margin:0}
.team-list>div{padding:16px 0;border-bottom:1px solid var(--rule)}
.team-list>div:first-child{padding-top:0}
.team-list dt{font-family:var(--serif);color:var(--brass);font-size:1rem}
.team-list dd{margin:2px 0 0;font-family:var(--serif);font-size:1.35rem;color:var(--forest)}
@media (max-width:860px){.team{grid-template-columns:1fr}}
[id]{scroll-margin-top:100px}
