/* ===== Tawi Foundation — Shared Stylesheet (Olive + Dark Yellow) ===== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,400&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --olive-900: #0a3d6b;
  --olive-700: #105ba8;
  --olive-600: #1877d4;
  --olive-500: #1e90ff;
  --olive-300: #7ec0ff;
  --gold: #f4b400;
  --gold-deep: #c98f00;
  --gold-soft: #ffd23f;
  --amber: #e0a106;
  --cream:#f7f5ea;
  --cream-2: #efe8d4;
  --ink: #102333;
  --muted: #5b6b7a;
  --grey: #4d4d4d;
  --white: #ffffff;
  --shadow: 0 20px 50px -20px rgba(10, 61, 107, 0.4);
  --shadow-sm: 0 8px 24px -12px rgba(10, 61, 107, 0.35);
  --maxw: 1200px;
  --radius: 18px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Outfit', sans-serif; color: var(--ink); background: var(--cream); line-height: 1.65; font-size: 17px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: 'Fraunces', serif; font-weight: 600; line-height: 1.12; color: var(--olive-900); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }
.eyebrow { font-family: 'Outfit', sans-serif; text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.72rem; font-weight: 700; color: var(--gold-deep); margin-bottom: 14px; display: inline-block; }

.topbar { background: var(--olive-900); color: var(--cream); font-size: 0.82rem; letter-spacing: 0.02em; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; padding: 9px 26px; gap: 16px; flex-wrap: wrap; }
.topbar a { color: var(--gold-soft); }
.topbar .tb-right { display: flex; gap: 22px; align-items: center; }

header.nav { background: var(--cream); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--cream-2); box-shadow: 0 4px 20px -16px rgba(10,61,107,.5); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 26px; max-width: var(--maxw); margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img.logo-img { height: 72px; width: auto; }

.menu { display: flex; align-items: center; gap: 4px; list-style: none; }
.menu > li { position: relative; }
.menu > li > a { padding: 12px 15px; display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 0.95rem; border-radius: 10px; transition: color .2s, background .2s; color: var(--ink); }
.menu > li > a:hover, .menu > li > a.active { color: var(--gold-deep); background: var(--cream-2); }
.menu .caret { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-bottom: 3px; transition: transform .2s; }
.menu > li:hover .caret { transform: rotate(225deg); margin-bottom: -2px; }
.dropdown { position: absolute; top: calc(100% + 6px); left: 0; background: var(--white); border-radius: 14px; padding: 10px; min-width: 252px; box-shadow: var(--shadow); list-style: none; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .22s ease; border: 1px solid var(--cream-2); }
.menu > li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a { display: block; padding: 10px 14px; border-radius: 9px; font-size: 0.92rem; color: var(--ink); transition: background .18s, color .18s, padding .18s; }
.dropdown li a:hover { background: var(--cream); color: var(--gold-deep); padding-left: 18px; }
.dropdown li a small { display: block; color: var(--muted); font-size: 0.74rem; font-weight: 400; }

.btn { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; background: var(--gold); color: var(--olive-900); font-weight: 700; font-size: 0.92rem; padding: 12px 24px; border-radius: 50px; border: none; transition: transform .2s, box-shadow .2s, background .2s; box-shadow: 0 10px 24px -12px rgba(244,180,0,.8); }
.btn:hover { transform: translateY(-2px); background: var(--gold-deep); color: #fff; box-shadow: 0 16px 30px -12px rgba(244,180,0,.9); }
.btn.ghost { background: transparent; color: var(--olive-900); border: 1.5px solid var(--olive-700); box-shadow: none; }
.btn.ghost:hover { background: var(--olive-900); color: var(--cream); }
.btn.light { background: var(--cream); color: var(--olive-900); }
.btn.light:hover { background: #fff; color: var(--olive-900); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { width: 26px; height: 2.5px; background: var(--olive-900); border-radius: 2px; transition: .3s; }

.hero { position: relative; overflow: hidden; background: var(--olive-700); color: var(--cream); padding: 84px 0 100px; }
.hero::before { content:""; display:none; }
.hero::after { content:""; display:none; }
.hero .wrap { position: relative; z-index: 2; }
.hero-flex { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.hero h1 { color: var(--cream); font-size: clamp(2.3rem, 5vw, 3.9rem); max-width: 16ch; letter-spacing: -0.015em; }
.hero h1 em { font-style: italic; color: var(--gold-soft); }
.hero p.lead { max-width: 54ch; margin: 24px 0 32px; font-size: 1.12rem; color: rgba(248,244,233,.9); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 44px; margin-top: 54px; flex-wrap: wrap; }
.hero-stats .stat .num { font-family: 'Fraunces', serif; font-size: 2.5rem; color: var(--gold-soft); font-weight: 600; }
.hero-stats .stat .lbl { font-size: 0.84rem; letter-spacing: .05em; color: rgba(248,244,233,.78); text-transform: uppercase; }
.hero-art { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); border: 3px solid rgba(244,180,0,.4); }

.pagehead { background: var(--olive-900); color: var(--cream); padding: 60px 0 66px; position: relative; overflow: hidden; }
.pagehead::after { content:""; display:none; }
.pagehead .wrap { position: relative; z-index: 2; }
.pagehead h1 { color: var(--cream); font-size: clamp(2rem, 4.5vw, 3.2rem); }
.pagehead p { color: rgba(248,244,233,.88); max-width: 60ch; margin-top: 14px; font-size: 1.06rem; }
.crumb { font-size: 0.82rem; letter-spacing: .04em; color: var(--gold-soft); margin-bottom: 16px; }
.crumb a:hover { text-decoration: underline; }

section.block { padding: 80px 0; }
section.block.alt { background: #fdf3d4; }
section.block.dark { background: var(--olive-900); color: var(--cream); }
section.block.gold { background: var(--gold); color: var(--olive-900); }
section.block.gold h2, section.block.gold h3 { color: var(--olive-900); }
section.block.gold .sec-head p { color: rgba(16,35,51,.8); }
section.block.gold .eyebrow { color: var(--olive-900); }
section.block.softgold { background: #fdf3d4; }
section.block.blue { background: var(--olive-700); color: var(--cream); }
section.block.blue h2, section.block.blue h3 { color: var(--cream); }
section.block.blue .sec-head p { color: rgba(247,245,234,.85); }
section.block.blue .eyebrow { color: var(--gold-soft); }
section.block.dark h2, section.block.dark h3 { color: var(--cream); }
.sec-head { max-width: 62ch; margin-bottom: 46px; }
.sec-head h2 { font-size: clamp(1.9rem, 3.8vw, 2.7rem); letter-spacing: -0.01em; }
.sec-head p { color: var(--muted); margin-top: 16px; font-size: 1.06rem; }
.dark .sec-head p { color: rgba(248,244,233,.82); }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.grid { display: grid; gap: 26px; }
.g2 { grid-template-columns: repeat(2,1fr); }
.g3 { grid-template-columns: repeat(3,1fr); }
.g4 { grid-template-columns: repeat(4,1fr); }

.card { background: var(--white); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); border: 1px solid rgba(10,61,107,.07); transition: transform .25s, box-shadow .25s; position: relative; overflow: hidden; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card .ico { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--olive-600); color: var(--white); font-size: 1.5rem; margin-bottom: 18px; }
.card.terra .ico { background: var(--gold); color: var(--olive-900); }
.card.gold .ico { background: var(--gold-deep); color: var(--white); }
.card h3 { font-size: 1.3rem; margin-bottom: 9px; }
.card p { color: var(--muted); font-size: 0.98rem; }
.card .more { display:inline-block; margin-top:16px; color: var(--gold-deep); font-weight:700; font-size:.9rem; }
.card .more:hover { text-decoration: underline; }
.card.img-card { padding: 0; }
.card.img-card .ph { height: 178px; }
.card.img-card .cbody { padding: 24px 28px 30px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.split .visual { border-radius: var(--radius); min-height: 360px; position: relative; overflow: hidden; box-shadow: var(--shadow); }

.pill-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.pill-list li { background: var(--cream); border: 1px solid var(--cream-2); padding: 8px 16px; border-radius: 50px; font-size: 0.9rem; font-weight: 600; color: var(--olive-700); }
.dark .pill-list li { background: rgba(248,244,233,.1); border-color: rgba(248,244,233,.18); color: var(--cream); }

.check-list { list-style: none; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 13px; align-items: flex-start; }
.check-list li::before { content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--gold); color: var(--olive-900); display: grid; place-items: center; font-size: .8rem; font-weight: 800; margin-top: 3px; }

.statstrip { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; text-align: center; }
.statstrip .s .n { font-family:'Fraunces',serif; font-size: 2.8rem; font-weight: 600; color: var(--gold-soft); }
.statstrip .s .l { font-size: .9rem; color: rgba(248,244,233,.82); letter-spacing:.04em; }

.cta-band { background: var(--gold); color: var(--olive-900); border-radius: 24px; padding: 54px; text-align: center; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.cta-band::before { content:""; display:none; }
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: var(--olive-900); font-size: clamp(1.8rem,3.5vw,2.5rem); }
.cta-band p { color: rgba(10,61,107,.85); max-width: 50ch; margin: 14px auto 28px; }
.cta-band .btn { background: var(--olive-900); color: var(--cream); }
.cta-band .btn:hover { background: var(--olive-700); color:#fff; }

.team-card { text-align: center; }
.team-card .avatar { width: 116px; height: 116px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; font-family: 'Fraunces', serif; font-size: 2.3rem; color: var(--cream); background: var(--olive-700); box-shadow: var(--shadow-sm); border: 3px solid var(--gold); }
.team-card h3 { font-size: 1.15rem; }
.team-card .role { color: var(--gold-deep); font-weight: 700; font-size: .9rem; }

.office-card { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); border-top: 4px solid var(--gold); }
.office-card .tag { font-size: .72rem; letter-spacing:.18em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; }
.office-card h3 { font-size: 1.2rem; margin: 8px 0 12px; }
.office-card p { color: var(--muted); font-size: .96rem; }
.office-card.hq { border-top-color: var(--gold); background: var(--olive-900); color: var(--cream); }
.office-card.hq h3, .office-card.hq .tag { color: var(--gold-soft); }
.office-card.hq p { color: rgba(248,244,233,.88); }

.prose { max-width: 70ch; }
.prose p { margin-bottom: 18px; color: #3a3f28; }
.prose h3 { margin: 34px 0 12px; font-size: 1.45rem; }
.prose ul { margin: 0 0 20px 0; list-style: none; display: grid; gap: 12px; }
.prose ul li { display:flex; gap:12px; }
.prose ul li::before { content:"●"; color: var(--gold); font-size:.7rem; margin-top:7px; }
.lead-quote { border-left: 4px solid var(--gold); padding: 6px 0 6px 26px; margin: 30px 0; font-family:'Fraunces',serif; font-style: italic; font-size: 1.35rem; color: var(--olive-700); }

footer.site { background: var(--olive-900); color: rgba(248,244,233,.8); padding: 60px 0 26px; }
footer.site h4 { color: var(--cream); font-family:'Outfit',sans-serif; font-size: 0.82rem; letter-spacing:.16em; text-transform: uppercase; margin-bottom: 18px; font-weight:700; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; }
footer.site a:hover { color: var(--gold-soft); }
footer.site ul { list-style: none; display: grid; gap: 10px; font-size: .94rem; }
.foot-brand .logo-chip { background: var(--cream); border-radius: 14px; padding: 12px 16px; display: inline-block; box-shadow: var(--shadow-sm); }
.foot-brand .logo-chip img { height: 68px; }
.foot-brand p { font-size: .94rem; margin-top: 16px; max-width: 34ch; }
.foot-bottom { border-top: 1px solid rgba(248,244,233,.14); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .84rem; }

.ph { width: 100%; height: 100%; display: block; }
.ph svg { width: 100%; height: 100%; display: block; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 920px) {
  .hero-flex { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-height: 260px; }
  .g4 { grid-template-columns: repeat(2,1fr); }
  .g3 { grid-template-columns: repeat(2,1fr); }
  .split, .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .statstrip { grid-template-columns: repeat(2,1fr); gap: 32px; }
  .hamburger { display: flex; }
  .menu { position: fixed; top: 0; right: -100%; height: 100vh; width: 82%; max-width: 360px; background: var(--cream); flex-direction: column; align-items: stretch; padding: 84px 22px 30px; gap: 4px; box-shadow: -20px 0 50px -20px rgba(0,0,0,.4); transition: right .32s ease; overflow-y: auto; z-index: 90; }
  .menu.open { right: 0; }
  .menu > li > a { padding: 14px 12px; font-size: 1.05rem; border-bottom: 1px solid var(--cream-2); border-radius: 0; }
  .menu .caret { margin-left: auto; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; border: none; padding: 0 0 8px 14px; min-width: 0; max-height: 0; overflow: hidden; transition: max-height .3s ease; }
  .menu > li.open-sub .dropdown { max-height: 600px; }
  .nav-cta-desktop { display: none; }
}
@media (max-width: 560px) {
  .g4, .g3, .g2 { grid-template-columns: 1fr; }
  section.block { padding: 56px 0; }
  .cta-band { padding: 38px 24px; }
  .hero-stats { gap: 28px; }
  .brand img.logo-img { height: 56px; }
}

.nav-overlay { position: fixed; inset: 0; background: rgba(10,61,107,.5); opacity:0; visibility:hidden; transition:.3s; z-index:80; }
.nav-overlay.show { opacity:1; visibility:visible; }
