/* Glass Doors Perspective — Premium */
:root {
  --primary: #0c4a5c;
  --primary-dark: #083540;
  --accent: #5b9a8b;
  --accent-light: #7ec4b2;
  --warm: #e07a5f;
  --bg: #faf7f2;
  --surface: #ffffff;
  --text: #1c1917;
  --muted: #57534e;
  --border: #e7e5e4;
  --shadow: 0 8px 40px rgba(12, 74, 92, 0.08);
  --shadow-lg: 0 20px 60px rgba(12, 74, 92, 0.14);
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --radius: 10px;
  --radius-lg: 16px;
  --max: 1180px;
  --article: 720px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 17px; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }
.container { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }

.skip-link { position: absolute; top: -100px; left: 1rem; background: var(--primary); color: #fff; padding: .5rem 1rem; z-index: 999; border-radius: var(--radius); }
.skip-link:focus { top: 1rem; }

/* Header */
.site-header { background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 200; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; }
.logo { display: flex; align-items: center; gap: .65rem; color: var(--primary); font-weight: 700; font-size: 1.05rem; }
.logo__icon { color: var(--accent); }
.logo__text { font-family: var(--serif); font-size: 1.2rem; font-weight: 400; }
.nav { display: flex; gap: 2rem; }
.nav a { color: var(--muted); font-size: .88rem; font-weight: 500; letter-spacing: .02em; }
.nav a.active, .nav a:hover { color: var(--primary); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); transition: .3s; }

/* Buttons */
.btn { display: inline-flex; align-items: center; padding: .85rem 1.6rem; font-size: .85rem; font-weight: 600; border-radius: var(--radius); transition: all .25s; letter-spacing: .02em; }
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 4px 16px rgba(12,74,92,.25); }
.btn--primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); }
.btn--outline { border: 1.5px solid rgba(255,255,255,.6); color: #fff; }
.btn--outline:hover { background: rgba(255,255,255,.12); color: #fff; }

/* Hero */
.hero { position: relative; min-height: 85vh; display: flex; align-items: center; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(8,53,64,.88) 0%, rgba(12,74,92,.7) 50%, rgba(12,74,92,.85) 100%); }
.hero__content { position: relative; z-index: 2; padding: 5rem 1.5rem; color: #fff; max-width: 680px; }
.eyebrow { font-size: .75rem; text-transform: uppercase; letter-spacing: .18em; color: var(--accent-light); font-weight: 600; margin-bottom: 1.25rem; }
.hero h1 { font-family: var(--serif); font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 400; line-height: 1.08; margin-bottom: 1.25rem; }
.hero__lead { font-size: 1.1rem; opacity: .88; margin-bottom: 2rem; line-height: 1.8; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Metrics */
.metrics { background: var(--surface); border-bottom: 1px solid var(--border); padding: 2.5rem 0; }
.metrics__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.metric__num { display: block; font-family: var(--serif); font-size: 2.5rem; color: var(--primary); line-height: 1; }
.metric__label { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-top: .35rem; }

/* Section */
.section { padding: 5rem 0; }
.section-head { max-width: 600px; margin-bottom: 3rem; }
.section-head h2 { font-family: var(--serif); font-size: 2.2rem; color: var(--primary); margin-bottom: .75rem; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* Cards */
.cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.card { background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; border: 1px solid var(--border); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card--featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; }
.card__image-link { display: block; overflow: hidden; aspect-ratio: 16/10; }
.card--featured .card__image-link { aspect-ratio: auto; min-height: 320px; }
.card__image-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__image-link img { transform: scale(1.04); }
.card__body { padding: 1.75rem; }
.card__cat { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--warm); font-weight: 700; }
.card h3 { font-family: var(--serif); font-size: 1.35rem; margin: .5rem 0 .75rem; line-height: 1.25; }
.card h3 a { color: var(--text); }
.card h3 a:hover { color: var(--primary); }
.card p { font-size: .92rem; color: var(--muted); margin-bottom: 1rem; }
.card__meta { font-size: .78rem; color: var(--muted); }

/* Topics */
.topics { padding: 4rem 0 5rem; background: var(--primary); color: #fff; }
.topics h2 { font-family: var(--serif); font-size: 1.8rem; margin-bottom: 1.5rem; text-align: center; }
.topics__grid { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.topic-pill { padding: .6rem 1.25rem; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 100px; color: #fff; font-size: .85rem; font-weight: 500; transition: background .2s; }
.topic-pill:hover { background: rgba(255,255,255,.2); color: #fff; }

/* Article page */
.article-page { padding-bottom: 4rem; }
.article-hero { position: relative; height: 45vh; min-height: 320px; max-height: 520px; overflow: hidden; }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-hero__overlay { position: absolute; inset: 0; background: linear-gradient(to top, var(--bg) 0%, transparent 60%); }
.article-wrap { margin-top: -4rem; position: relative; z-index: 2; }
.breadcrumb { font-size: .82rem; color: var(--muted); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb span { margin: 0 .4rem; }
.article-header { max-width: var(--article); margin-bottom: 2.5rem; }
.article-header__cat { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--warm); font-weight: 700; }
.article-header h1 { font-family: var(--serif); font-size: clamp(2rem, 5vw, 3rem); color: var(--primary); line-height: 1.12; margin: .5rem 0 1rem; }
.article-header__meta { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .85rem; color: var(--muted); }
.article-layout { display: grid; grid-template-columns: 1fr 260px; gap: 3rem; align-items: start; }
.article__body { max-width: var(--article); }
.article__body .lead { font-size: 1.15rem; color: #44403c; line-height: 1.85; margin-bottom: 2rem; }
.article__body h2 { font-family: var(--serif); font-size: 1.55rem; color: var(--primary); margin: 2.5rem 0 1rem; padding-top: .5rem; }
.article__body p { margin-bottom: 1.15rem; color: #44403c; }
.article__body ul { margin: 0 0 1.25rem 1.5rem; color: #44403c; }
.article__body li { margin-bottom: .5rem; }
.article-figure { margin: 2rem 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.article-figure img { width: 100%; }
.article-figure figcaption { padding: .85rem 1.25rem; background: var(--surface); font-size: .82rem; color: var(--muted); border-top: 1px solid var(--border); }

.callout { background: linear-gradient(135deg, rgba(12,74,92,.06), rgba(91,154,139,.08)); border-left: 4px solid var(--accent); padding: 1.5rem 1.75rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 2rem 0; }
.callout strong { display: block; color: var(--primary); margin-bottom: .5rem; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.callout p { margin: 0; font-size: .95rem; }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2rem 0; }
.stat-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; text-align: center; }
.stat-box__num { display: block; font-family: var(--serif); font-size: 1.8rem; color: var(--primary); }
.stat-box__label { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-top: .25rem; }

.related { position: sticky; top: 6rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; }
.related h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 1rem; }
.related__item { display: block; padding: .75rem 0; border-bottom: 1px solid var(--border); font-size: .88rem; font-weight: 500; color: var(--text); line-height: 1.4; }
.related__item:last-child { border: none; }
.related__item:hover { color: var(--primary); }

/* Static pages */
.page { padding: 4rem 0 5rem; }
.page h1 { font-family: var(--serif); font-size: 2.5rem; color: var(--primary); margin-bottom: 1rem; }
.page h2 { font-family: var(--serif); font-size: 1.4rem; color: var(--primary); margin: 2rem 0 .75rem; }
.page-lead { font-size: 1.15rem; color: var(--muted); margin-bottom: 2rem; max-width: 640px; }
.page p { margin-bottom: 1rem; color: #44403c; max-width: 680px; }
.page ul { margin: 0 0 1rem 1.5rem; color: #44403c; }
.page-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-email { font-size: 1.2rem; font-weight: 600; margin-bottom: 2rem; }
.contact-form { max-width: 520px; display: grid; gap: 1.25rem; }
.contact-form label { display: grid; gap: .4rem; font-size: .88rem; font-weight: 600; color: var(--text); }
.contact-form input, .contact-form textarea { padding: .85rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); font: inherit; background: var(--surface); transition: border-color .2s; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); }
.form-ok { color: var(--accent); font-weight: 500; margin-top: .5rem; }

/* Footer */
.site-footer { background: var(--primary-dark); color: rgba(255,255,255,.8); padding: 4rem 0 2rem; margin-top: 2rem; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand strong { font-family: var(--serif); font-size: 1.3rem; color: #fff; display: block; margin-bottom: .5rem; }
.footer-brand p { font-size: .88rem; opacity: .8; margin-top: .35rem; }
.footer-note { font-size: .78rem !important; opacity: .55 !important; margin-top: 1rem !important; }
.footer-col h4 { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-light); margin-bottom: 1rem; }
.footer-col a { display: block; color: rgba(255,255,255,.75); font-size: .88rem; margin-bottom: .5rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 1.5rem; font-size: .78rem; opacity: .5; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.reveal.visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 900px) {
  .cards-grid { grid-template-columns: 1fr; }
  .card--featured { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .related { position: static; }
  .metrics__grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top, .page-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav { position: fixed; top: 0; right: -100%; width: 85%; max-width: 300px; height: 100vh; background: var(--surface); flex-direction: column; padding: 5rem 1.5rem 2rem; box-shadow: var(--shadow-lg); transition: right .3s; }
  .nav.open { right: 0; }
  .hero { min-height: 70vh; }
  .article-hero { height: 35vh; }
}
