:root{
  --paper:#f8f7f3;
  --surface:#ffffff;
  --surface-soft:#fcfbf8;
  --ink:#16202b;
  --ink2:#223042;
  --muted:#5c6977;
  --gold:#ad8a46;
  --line:rgba(22,32,43,.10);
  --line-soft:rgba(22,32,43,.06);
  --radius:18px;
  --max:1160px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
html,body{margin:0;padding:0}
body{
  font-family:"DM Sans",Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.8;
  font-size:16px;
}
img{max-width:100%}
a{color:inherit}
.container{max-width:var(--max);margin:0 auto;padding:0 28px}
.small{font-size:13px;color:var(--muted)}

header{
  position:sticky;top:0;z-index:50;
  background:rgba(248,247,243,.94);
  backdrop-filter: blur(10px);
  border-bottom:none;
}
.navbar{
  position:relative;
  display:flex;align-items:center;justify-content:space-between;
  gap:14px;padding:18px 0;
  flex-wrap:nowrap;
}
.brand{
  text-decoration:none;display:flex;align-items:center;gap:18px;min-width:0;flex:1 1 auto;
}
.brand-logo{
  width:84px;height:84px;object-fit:contain;flex:0 0 84px;display:block;
}
.brand-copy{
  display:flex;flex-direction:column;gap:6px;min-width:0;
}
.brand .name{
  font-family:"Cormorant Garamond",serif;
  font-size:29px;
  line-height:1;
  letter-spacing:1.2px;
  color:var(--ink);
}
.brand .tag{display:none;}
nav{
  display:flex;
  align-items:center;
  gap:2px;
  flex-wrap:nowrap;
  white-space:nowrap;
}
nav a{
  text-decoration:none;
  font-size:12px;
  color:var(--ink2);
  padding:8px 9px;
  border-radius:999px;
  text-transform:uppercase;
  letter-spacing:.06em;
  transition: background .25s ease, color .25s ease;
}
nav a:hover, nav a.active{
  background:rgba(22,32,43,.05);
}

.menu-btn{
  display:none;
  width:44px;height:44px;border-radius:12px;
  border:1px solid var(--line);
  background:#fff;align-items:center;justify-content:center;
  flex:0 0 44px;
  margin-left:auto;
}
.menu-icon{width:18px;height:12px;position:relative}
.menu-icon span{position:absolute;left:0;right:0;height:2px;background:var(--ink2);border-radius:2px}
.menu-icon span:nth-child(1){top:0}.menu-icon span:nth-child(2){top:5px}.menu-icon span:nth-child(3){top:10px}

.hero{
  padding:84px 0 52px;
  position:relative;
}
.hero .container{position:relative;z-index:2}
.kicker{
  font-size:12px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--gold);
}
h1{
  font-family:"Cormorant Garamond",serif;
  font-weight:600;
  font-size:64px;
  line-height:1.03;
  letter-spacing:.01em;
  margin:14px 0 16px;
  max-width:940px;
}
.lede,.sub{
  max-width:820px;
  color:var(--muted);
  font-size:18px;
  line-height:1.85;
  margin:0;
}

.hero[style*="background-image"]{
  min-height:72vh;
  display:flex;
  align-items:flex-end;
  background-size:cover !important;
  background-position:center !important;
  background-repeat:no-repeat !important;
}
.hero[style*="background-image"]::before{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(180deg, rgba(17,25,34,.26) 0%, rgba(17,25,34,.28) 24%, rgba(248,247,243,.72) 74%, rgba(248,247,243,1) 100%);
}

.page-hero{
  position:relative;
  min-height:58vh;
  display:flex;
  align-items:flex-end;
  padding:84px 0 48px;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  border-bottom:none;
}
.page-hero::before{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(180deg, rgba(17,25,34,.32) 0%, rgba(17,25,34,.26) 22%, rgba(248,247,243,.74) 76%, rgba(248,247,243,1) 100%);
}
.page-hero .container{position:relative;z-index:1}
.page-hero h1{margin:10px 0 10px}
.page-hero .sub{max-width:760px}

.section{padding:46px 0}
.section h2{
  font-family:"Cormorant Garamond",serif;
  font-size:40px;
  line-height:1.1;
  margin:0 0 14px;
  color:var(--ink);
}
.section p{margin:0 0 16px;color:var(--muted)}
.hr{height:1px;background:var(--line-soft);margin:24px 0}

.grid{display:grid;grid-template-columns:repeat(12,1fr);gap:24px}
.span-4{grid-column:span 4}.span-6{grid-column:span 6}.span-7{grid-column:span 7}.span-8{grid-column:span 8}.span-12{grid-column:span 12}
.card{
  background:var(--surface);
  border:1px solid var(--line-soft);
  border-radius:var(--radius);
  padding:30px;
  box-shadow:0 12px 34px rgba(15,22,31,.04);
}
.card h3{
  font-family:"Cormorant Garamond",serif;
  font-size:28px;
  line-height:1.15;
  margin:0 0 10px;
}
.card p{font-size:15px;line-height:1.9}
.pills{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}
.pill{
  display:inline-flex;align-items:center;
  padding:9px 14px;border-radius:999px;
  background:#f5f3ed;border:1px solid rgba(173,138,70,.20);
  color:var(--ink2);font-size:12.5px;
}
.figure{
  overflow:hidden;border-radius:var(--radius);
  border:1px solid var(--line-soft);background:var(--surface-soft);
}
.figure img,.media img{
  width:100%;display:block;object-fit:cover;
}
.media{margin-top:26px}
.media img{border-radius:var(--radius);border:1px solid var(--line-soft);min-height:320px}
.caption{padding:14px 18px 18px;color:var(--muted);font-size:13.5px}

.timeline{position:relative;padding-left:34px}
.timeline::before{content:"";position:absolute;left:12px;top:8px;bottom:8px;width:2px;background:rgba(173,138,70,.40)}
.event{position:relative;padding:12px 0 12px 4px}
.event::before{display:none;}
.event .year{color:var(--gold);font-weight:700;letter-spacing:.08em;text-transform:uppercase;font-size:13px}
.event .title{color:var(--ink);font-weight:600;margin-top:4px}
.event .desc{color:var(--muted);font-size:14px;margin-top:5px}

.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:12px 18px;border-radius:999px;text-decoration:none;
  font-size:13px;border:1px solid var(--line);background:#fff;
}
.btn.primary{background:var(--ink);color:#fff;border-color:var(--ink)}

footer{
  margin-top:36px;padding:38px 0 44px;
  border-top:1px solid var(--line-soft);
  background:#f5f3ee;color:var(--muted);font-size:13px;
}
.footer-grid{display:grid;grid-template-columns:repeat(12,1fr);gap:20px}
.footer-grid .col{grid-column:span 4}

.form{display:grid;gap:12px;margin-top:10px}
label{font-size:12px;color:var(--ink2);letter-spacing:.04em;text-transform:uppercase}
input,textarea{
  width:100%;padding:14px 16px;border-radius:14px;
  border:1px solid var(--line);background:#fff;color:var(--ink);
  font-size:14px;
}
textarea{min-height:140px;resize:vertical}

.hero-image{width:100%;height:420px;object-fit:cover;display:block;margin-bottom:40px;border-radius:var(--radius)}
.brand-mark{width:90px;height:auto;display:block;margin:0 auto 18px auto}
.reveal{opacity:1;transform:none}
.figure img.ecosystem-float{animation:none}

@media (max-width: 980px){
  .container{padding:0 18px}
  h1{font-size:46px}
  .hero{padding:68px 0 40px}
  .page-hero{min-height:48vh;padding:72px 0 34px}
  .span-4,.span-6,.span-7,.span-8{grid-column:span 12}
  .footer-grid .col{grid-column:span 12}
  .menu-btn{display:inline-flex}
  header .navbar{flex-wrap:nowrap}
  nav{display:none;position:absolute;top:100%;left:0;right:0;width:auto;flex-direction:column;align-items:stretch;gap:6px;padding:12px 0 0;background:var(--paper);border-top:1px solid var(--line-soft);box-shadow:0 16px 40px rgba(15,22,31,.08)}
  nav.open{display:flex}
  nav a{text-transform:uppercase; letter-spacing:.08em; background:#fff;border:1px solid var(--line-soft);border-radius:14px;padding:12px 14px;margin:0 18px}
}

@media (max-width: 900px){
  .brand-logo{width:64px;height:64px;flex-basis:64px;}
  .brand .name{font-size:24px;}
  .brand .tag{display:none;}
}

@media (max-width: 640px){
  .brand{gap:10px;}
  .brand-logo{width:46px;height:46px;flex-basis:46px;}
  .brand .name{font-size:18px;}
  .brand .tag{display:none;}
  .menu-btn{width:40px;height:40px;flex-basis:40px;}
}

/* Mobile image alignment to match desktop */
@media (max-width:768px){
  header .container{padding:0 16px;}
  .navbar{gap:10px;padding:14px 0;align-items:center;}
  .brand{gap:12px;align-items:center;}
  .brand-logo{width:52px;height:52px;flex-basis:52px;}
  .brand-copy{gap:4px;}
  .brand .name{font-size:18px;line-height:1.05;}
  .menu-btn{width:42px;height:42px;flex-basis:42px;}
  nav.open a{margin:0 16px;}

  .hero,
  .page-hero{
    display:flex !important;
    align-items:flex-end !important;
    min-height:320px !important;
    padding:68px 0 28px !important;
    background-repeat:no-repeat !important;
    background-position:center center !important;
    background-size:cover !important;
  }

  .hero::before,
  .page-hero::before{
    display:block !important;
    content:"" !important;
    position:absolute !important;
    inset:0 !important;
    background:linear-gradient(180deg, rgba(17,25,34,.32) 0%, rgba(17,25,34,.26) 22%, rgba(248,247,243,.74) 76%, rgba(248,247,243,1) 100%) !important;
  }

  .hero .container,
  .page-hero .container{
    position:relative !important;
    z-index:1 !important;
    margin-top:0 !important;
    padding:0 16px !important;
    background:transparent !important;
    border-radius:0 !important;
    box-shadow:none !important;
  }

  .hero h1,
  .page-hero h1{
    font-size:38px !important;
    line-height:1.05 !important;
    margin:10px 0 10px !important;
    max-width:none !important;
  }

  .hero .lede,
  .page-hero .sub{
    max-width:none !important;
    font-size:16px !important;
    line-height:1.7 !important;
    margin:0 !important;
  }
}


.card a, .timeline a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.card a:hover, .timeline a:hover {
  opacity: 0.8;
}


.ecosystem-map{position:relative; margin-top:20px; overflow:visible;}
.ecosystem-map img{display:block; width:100%; height:auto;}
.ecosystem-map .caption{padding-top:16px;}
.logo-link{
  position:absolute;
  display:block;
  border-radius:18px;
  outline:none;
  background:rgba(255,255,255,0);
  transition:box-shadow .2s ease, background-color .2s ease, transform .2s ease;
}
.logo-link:hover,
.logo-link:focus-visible{
  background:rgba(173,138,70,.08);
  box-shadow:0 0 0 2px rgba(173,138,70,.45), 0 14px 28px rgba(22,32,43,.08);
  transform:translateY(-1px);
}
.logo-group{left:28%; top:1.2%; width:44%; height:18.5%;}
.logo-education{left:1.2%; top:24.8%; width:19.5%; height:13.2%;}
.logo-publishing{left:35.5%; top:24.8%; width:21%; height:13.2%;}
.logo-gallery{left:79.5%; top:24.8%; width:19.3%; height:13.2%;}
.logo-events{left:1.2%; top:40.8%; width:19.5%; height:13.2%;}
.logo-travels{left:35.5%; top:40.8%; width:21%; height:13.2%;}
.logo-residences{left:79.5%; top:40.8%; width:19.3%; height:13.2%;}
.logo-technologies{left:17.5%; top:57.2%; width:22%; height:11.8%;}
.logo-security{left:60.2%; top:57.2%; width:22%; height:11.8%;}
.logo-waters{left:18.2%; top:74.8%; width:18.8%; height:11.2%;}
.logo-estates{left:60.5%; top:74.8%; width:21%; height:11.2%;}
.logo-foundation{left:34.5%; top:89.7%; width:31%; height:10.3%;}

@media (max-width: 640px){
  .logo-link{border-radius:12px;}
}


/* Ecosystem board */
.ecosystem-board{padding:8px 0 6px;}
.ecosystem-mastermark{display:flex;justify-content:center;margin:10px 0 28px;}
.ecosystem-mastermark a{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;max-width:720px;width:100%;text-decoration:none;}
.ecosystem-mastermark img{display:block;width:100%;max-width:720px;height:auto;}
.eco-section{margin-top:12px;}
.eco-divider{display:flex;align-items:center;gap:18px;justify-content:center;margin:18px 0 28px;color:#a4acb8;text-transform:uppercase;letter-spacing:.26em;font-size:14px;font-weight:600;}
.eco-divider::before,.eco-divider::after{content:"";height:1px;background:#e1e5eb;flex:1;max-width:300px;}
.eco-grid{display:grid;gap:28px;align-items:stretch;}
.eco-grid-3{grid-template-columns:repeat(3,minmax(0,1fr));}
.eco-grid-2{grid-template-columns:repeat(2,minmax(240px,320px));}
.eco-grid-1{grid-template-columns:minmax(240px,320px);}
.eco-grid-centered{justify-content:center;}
.eco-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:22px 18px;background:#f7f7f8;border:1px solid #e8eaee;border-radius:18px;box-shadow:0 8px 24px rgba(28,41,61,.04);transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;min-height:220px;text-decoration:none;text-align:center;}
.eco-tile:hover{transform:translateY(-4px);box-shadow:0 16px 32px rgba(28,41,61,.08);border-color:#d8c08a;}
.eco-tile img{display:block;max-width:100%;max-height:150px;width:auto;height:auto;object-fit:contain;mix-blend-mode:multiply;}
.eco-label{
display:block;
font-family:"Cinzel", Georgia, serif;
font-size:9px;
line-height:1.25;
letter-spacing:.16em;
text-transform:uppercase;
color:#1c2940;
text-align:center;
text-decoration:none;
}
.ecosystem-mastermark .eco-label{font-size:19px;letter-spacing:.18em;}
@media (max-width:980px){.eco-grid-3{grid-template-columns:repeat(2,minmax(0,1fr));}.eco-grid-2{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:680px){.eco-divider{gap:10px;font-size:12px;letter-spacing:.22em;}.eco-grid-3,.eco-grid-2,.eco-grid-1{grid-template-columns:1fr;}.eco-tile{min-height:190px;padding:18px 14px;}.eco-label{font-size:14px;}.ecosystem-mastermark .eco-label{font-size:17px;}}



/* Cinzel ecosystem refinement */
.eco-label,
.eco-divider span,
.brand-copy .name{
  font-family:"Cinzel", Georgia, serif;
}
.eco-label{
  font-size:24px;
  line-height:1.15;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.ecosystem-mastermark .eco-label{
  font-size:30px;
}
.ecosystem-board-home{
  margin-top:24px;
}
.ecosystem-caption{
  margin-top:28px;
  text-align:center;
}
.ecosystem-caption p{
  max-width:900px;
  margin:16px auto 0;
}
.ecosystem-caption .btn{
  margin-top:18px;
}
@media (max-width:680px){
  .eco-label{font-size:20px;}
  .ecosystem-mastermark .eco-label{font-size:24px;}
}

.eco-tile:hover .eco-label{
text-decoration:none;
}
