:root {
  --deep: #1E3A40;
  --deep-2: #153038;
  --sage: #6FAE9E;
  --sage-soft: #DDECE7;
  --ochre: #F2B55B;
  --peach: #F4A08C;
  --sand: #EEDCC6;
  --cream: #FAF9F7;
  --paper: #FFFDFC;
  --ink: #21343A;
  --muted: #66777B;
  --line: rgba(30, 58, 64, .12);
  --shadow: 0 18px 50px rgba(30, 58, 64, .08);
  --radius: 26px;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }

.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--deep); color: white; padding: 10px 16px; z-index: 999;
}
.skip-link:focus { left: 8px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 249, 247, .94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1480px; margin: 0 auto; padding: 12px 28px;
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: max-content; }
.brand img { width: 62px; height: 54px; object-fit: contain; }
.brand-text strong { display: block; font: 700 24px/1 var(--serif); color: var(--deep); }
.brand-text span { display: block; margin-top: 5px; font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: var(--deep); }

.main-nav { justify-self: end; }
.nav-list { list-style: none; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; margin: 0; padding: 0; }
.nav-list a {
  display: block; padding: 9px 10px; border-radius: 999px; text-decoration: none;
  color: var(--deep); font-size: 11px; font-weight: 600; letter-spacing: .035em; text-transform: uppercase;
  transition: .2s ease;
}
.nav-list a:hover, .nav-list a[aria-current="page"] { background: var(--sage-soft); }
.menu-toggle {
  display: none; border: 0; background: var(--deep); color: white; border-radius: 999px;
  padding: 9px 13px; cursor: pointer;
}

main { overflow: hidden; }
.hero {
  position: relative; min-height: 690px; display: grid; align-items: center;
  border-bottom: 1px solid var(--line);
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.hero::before { width: 520px; height: 520px; right: -160px; top: -120px; background: rgba(244,160,140,.16); }
.hero::after { width: 410px; height: 410px; left: -170px; bottom: -160px; background: rgba(111,174,158,.14); }
.hero-inner {
  position: relative; z-index: 1; width: min(1220px, calc(100% - 48px)); margin: 0 auto;
  display: grid; grid-template-columns: .85fr 1.15fr; gap: 74px; align-items: center; padding: 88px 0;
}
.hero-mark { position: relative; }
.hero-mark::before {
  content: ""; position: absolute; inset: 12% 8% 4% 12%; background: var(--sand); opacity: .38;
  border-radius: 47% 53% 42% 58% / 53% 41% 59% 47%; transform: rotate(-5deg); z-index: -1;
}
.hero-mark img { width: min(520px, 100%); margin: 0 auto; filter: drop-shadow(0 24px 30px rgba(30,58,64,.10)); }
.eyebrow { margin: 0 0 12px; color: var(--deep); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3 { color: var(--deep); }
.hero h1 { font: 700 clamp(52px, 6.3vw, 94px)/.96 var(--serif); margin: 0; letter-spacing: -.035em; }
.hero h1 span { display: block; }
.hero-lead { max-width: 720px; margin: 28px 0 0; font: italic 400 clamp(22px, 2.3vw, 31px)/1.35 var(--serif); color: #38565E; }
.hero-copy { max-width: 690px; margin: 24px 0 0; font-size: 17px; color: #53686D; }
.color-rule { width: 230px; height: 5px; display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 30px; overflow: hidden; border-radius: 99px; }
.color-rule i:nth-child(1){background:var(--deep)} .color-rule i:nth-child(2){background:var(--sage)} .color-rule i:nth-child(3){background:var(--ochre)} .color-rule i:nth-child(4){background:var(--peach)} .color-rule i:nth-child(5){background:var(--sand)}

.section { padding: 96px 0; }
.section-inner { width: min(1220px, calc(100% - 48px)); margin: 0 auto; }
.section-head { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: end; margin-bottom: 44px; }
.section-head h2 { font: 700 clamp(38px,4vw,58px)/1.06 var(--serif); margin: 0; letter-spacing: -.02em; }
.section-head p { margin: 0; color: var(--muted); max-width: 720px; }

.pillars { background: var(--paper); }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; min-height: 300px;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.pillar::after { content: ""; position: absolute; width: 120px; height: 120px; right: -40px; bottom: -48px; border-radius: 50%; opacity: .28; }
.pillar:nth-child(1)::after { background: var(--sage); }
.pillar:nth-child(2)::after { background: var(--peach); }
.pillar:nth-child(3)::after { background: var(--ochre); }
.pillar-icon { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 24px; font-size: 30px; }
.pillar:nth-child(1) .pillar-icon { background: var(--sage-soft); }
.pillar:nth-child(2) .pillar-icon { background: #FBE1DA; }
.pillar:nth-child(3) .pillar-icon { background: #FCE9C7; }
.pillar h3 { font: 700 29px/1.15 var(--serif); margin: 0 0 14px; }
.pillar p { margin: 0; color: var(--muted); }

.explore { position: relative; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.category-card {
  min-height: 250px; border-radius: 22px; padding: 28px; border: 1px solid var(--line); background: var(--paper);
  text-decoration: none; position: relative; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.category-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(30,58,64,.25); }
.category-card::after { content: ""; width: 130px; height: 130px; border-radius: 50%; position: absolute; right: -38px; top: -46px; opacity: .28; }
.category-card:nth-child(5n+1)::after { background: var(--sage); }
.category-card:nth-child(5n+2)::after { background: var(--ochre); }
.category-card:nth-child(5n+3)::after { background: var(--peach); }
.category-card:nth-child(5n+4)::after { background: var(--sand); }
.category-card:nth-child(5n)::after { background: #5E9DA9; }
.category-card small { color: var(--muted); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.category-card h3 { font: 700 28px/1.1 var(--serif); margin: 18px 0 12px; }
.category-card p { margin: 0; color: var(--muted); font-size: 14px; }
.card-arrow { margin-top: 22px; font-weight: 700; color: var(--deep); }

.statement { padding: 42px 0 100px; }
.statement-box {
  width: min(1220px, calc(100% - 48px)); margin: 0 auto; border-radius: 34px;
  background: var(--deep); color: white; padding: 64px 7%; position: relative; overflow: hidden;
}
.statement-box::before, .statement-box::after { content:""; position:absolute; border-radius:50%; }
.statement-box::before { width:340px; height:340px; background:rgba(111,174,158,.18); right:-90px; top:-150px; }
.statement-box::after { width:260px; height:260px; background:rgba(242,181,91,.14); left:-90px; bottom:-160px; }
.statement-box blockquote { position:relative; z-index:1; margin:0; max-width:950px; font: italic 400 clamp(30px,4vw,50px)/1.2 var(--serif); }
.statement-box p { position:relative; z-index:1; max-width:760px; margin:24px 0 0; color:rgba(255,255,255,.75); }

/* category pages */
.page-hero { padding: 100px 0 64px; border-bottom: 1px solid var(--line); position: relative; }
.page-hero .section-inner { display: grid; grid-template-columns: 1fr 360px; gap: 70px; align-items: center; }
.page-hero h1 { font: 700 clamp(50px,6vw,82px)/.98 var(--serif); margin: 0; letter-spacing: -.035em; }
.page-hero .intro { max-width: 800px; margin-top: 22px; color: var(--muted); font-size: 18px; }
.page-mark { width: 330px; justify-self: end; opacity: .95; }
.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.topic { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 30px; min-height: 230px; }
.topic h2 { font: 700 30px/1.15 var(--serif); margin: 0 0 12px; }
.topic p { color: var(--muted); margin: 0; }
.note { margin-top: 40px; border-left: 4px solid var(--sage); padding: 18px 22px; background: rgba(111,174,158,.09); border-radius: 0 14px 14px 0; color: #486067; }

.site-footer {
  background: #0B3A4D;
  color: rgba(255,255,255,.84);
  padding: 42px 0 24px;
}
.footer-inner { width: min(1220px, calc(100% - 48px)); margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: minmax(360px, .95fr) 1.35fr;
  gap: 78px;
  align-items: center;
}
.footer-brand-logo {
  display: block;
  width: min(100%, 500px);
  text-decoration: none;
}
.footer-brand-logo img {
  width: 100%;
  height: auto;
  display: block;
}
.footer-nav { display:grid; grid-template-columns:repeat(2,1fr); gap:8px 26px; }
.footer-nav a {
  color: rgba(255,255,255,.88);
  text-decoration:none;
  padding:8px 0;
  border-bottom:1px solid rgba(255,255,255,.12);
  font-weight:500;
}
.footer-nav a:hover { color:white; }
.footer-bottom {
  margin-top: 34px;
  padding-top: 20px;
  border-top:1px solid rgba(255,255,255,.13);
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:28px;
  font-size:12px;
  color:rgba(255,255,255,.62);
}
.footer-bottom > span:first-child { max-width: 760px; }
.footer-signature { font: italic 400 24px/1 var(--serif); color: white; white-space: nowrap; }

@media (max-width: 1180px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .main-nav { grid-column: 1 / -1; justify-self: stretch; }
  .nav-list { justify-content: center; }
  .hero-inner { gap: 40px; }
  .category-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 820px) {
  .header-inner { padding: 10px 18px; }
  .brand-text span { display:none; }
  .menu-toggle { display:block; }
  .main-nav { display:none; grid-column:1/-1; }
  .main-nav.open { display:block; }
  .nav-list { display:grid; grid-template-columns:repeat(2,1fr); padding:10px 0 6px; }
  .nav-list a { text-align:center; }
  .hero { min-height:auto; }
  .hero-inner { grid-template-columns:1fr; padding:54px 0 72px; text-align:center; }
  .hero-mark { order:2; }
  .hero-mark img { width:min(390px,90%); }
  .hero-copy, .hero-lead { margin-left:auto; margin-right:auto; }
  .color-rule { margin-left:auto; margin-right:auto; }
  .section { padding:72px 0; }
  .section-head { grid-template-columns:1fr; gap:18px; }
  .pillar-grid, .topic-grid { grid-template-columns:1fr; }
  .page-hero .section-inner { grid-template-columns:1fr; }
  .page-mark { width:min(300px,70%); justify-self:center; order:-1; }
  .footer-top { grid-template-columns:1fr; gap:30px; }
  .footer-brand-logo { width:min(100%, 460px); margin:0 auto; }
}
@media (max-width: 560px) {
  .section-inner, .hero-inner, .statement-box, .footer-inner { width:min(100% - 28px, 1220px); }
  .brand img { width:52px; height:46px; }
  .brand-text strong { font-size:20px; }
  .nav-list { grid-template-columns:1fr; }
  .category-grid { grid-template-columns:1fr; }
  .category-card { min-height:220px; }
  .hero h1 { font-size:50px; }
  .hero-lead { font-size:22px; }
  .statement-box { padding:48px 28px; }
  .footer-bottom { flex-direction:column; align-items:flex-start; }
  .footer-nav { grid-template-columns:1fr 1fr; }
}
