:root {
  --accent: var(--blue);
  --blue: #1f3fd1;
  --blue-deep: #142a8f;
  --yellow: #f2c230;
  --green: #2f5d3a;
  --sand: #f6efe3;
  --clay: #c96f45;
  --ink: #14182b;
  --muted: #5a5f73;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Outfit', 'Helvetica Neue', sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: var(--sand); line-height: 1.7; font-size: 17px; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
::selection { background: var(--yellow); color: var(--ink); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem 1rem; z-index: 99; }

.notice { background: var(--ink); color: #e9e6dc; font-size: 13px; text-align: center; padding: .55rem 1rem; }
.notice a { color: var(--yellow); }

.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 6vw; background: rgba(246, 239, 227, .85); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(20, 24, 43, .08); }
.brand { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: .6rem; }
.dot { width: 14px; height: 14px; border-radius: 50%; background: var(--blue); box-shadow: 6px 0 0 var(--yellow); margin-right: 6px; }
.menu { display: flex; gap: 2rem; }
.menu a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; position: relative; padding: .2rem 0; }
.menu a::after { content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.menu a:hover::after, .menu a.active::after { transform: scaleX(1); }
.burger { display: none; background: none; border: 0; cursor: pointer; width: 32px; height: 24px; flex-direction: column; justify-content: space-between; padding: 5px 0; }
.burger span { height: 2px; background: var(--ink); display: block; }

.hero { position: relative; min-height: 86vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.hero-text { padding: 9vh 6vw; display: flex; flex-direction: column; justify-content: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: 12px; font-weight: 600; color: var(--clay); margin-bottom: 1.4rem; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.1; font-weight: 600; }
h1 { font-size: clamp(2.6rem, 6vw, 5.4rem); letter-spacing: -.02em; }
h1 em { color: var(--blue); font-style: italic; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 34rem; margin: 1.8rem 0 2.4rem; }
.hero-img { position: relative; overflow: hidden; }
.hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: zoom 14s ease-out forwards; }
.hero-img::after { content: ''; position: absolute; inset: auto 0 0 0; height: 10px; background: var(--yellow); }
@keyframes zoom { from { transform: scale(1.08); } to { transform: scale(1); } }

.btn { display: inline-block; background: var(--blue); color: #fff; padding: .9rem 1.8rem; border-radius: 999px; text-decoration: none; font-weight: 500; border: 2px solid var(--blue); cursor: pointer; font-family: var(--sans); font-size: 15px; transition: background-color .25s, color .25s, transform .25s; }
.btn:hover { background: var(--blue-deep); transform: translateY(-2px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.section { padding: 7rem 6vw; }
.section.blue { background: var(--blue); color: #fff; }
.section.blue h2, .section.blue a { color: #fff; }
.section.white { background: #fffdf8; }
.section h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 1.5rem; }
.narrow { max-width: 760px; }
.narrow p + p, .prose p + p { margin-top: 1.1rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.split img { border-radius: 4px; height: 520px; width: 100%; object-fit: cover; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.card { background: #fff; padding: 2.2rem; border-top: 4px solid var(--blue); transition: transform .3s; }
.card:nth-child(2) { border-color: var(--yellow); }
.card:nth-child(3) { border-color: var(--green); }
.card:hover { transform: translateY(-6px); }
.card h3 { font-size: 1.5rem; margin-bottom: .8rem; }
.card p { color: var(--muted); }
.num { font-family: var(--serif); font-size: 3.6rem; color: var(--yellow); font-weight: 800; line-height: 1; }

.page-head { padding: 7rem 6vw 4rem; border-bottom: 1px solid rgba(20, 24, 43, .1); }
.page-head h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); max-width: 900px; }
.page-head p { color: var(--muted); font-size: 1.15rem; max-width: 640px; margin-top: 1.4rem; }
.prose { max-width: 760px; }
.prose h2 { font-size: 2rem; margin: 3.2rem 0 1rem; }
.prose h3 { font-size: 1.35rem; margin: 2rem 0 .6rem; }
.prose ul { margin: 1rem 0 1rem 1.4rem; }
.prose li { margin: .35rem 0; }
.timeline { border-left: 3px solid var(--blue); padding-left: 2rem; margin-top: 2rem; }
.timeline div { position: relative; margin-bottom: 2.2rem; }
.timeline div::before { content: ''; position: absolute; left: -2.65rem; top: .45rem; width: 16px; height: 16px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--blue); }
.timeline strong { font-family: var(--serif); font-size: 1.4rem; color: var(--blue); display: block; }
.figure { margin: 2.5rem 0; }
.figure img { width: 100%; max-height: 460px; object-fit: cover; }
.figure figcaption { font-size: 14px; color: var(--muted); margin-top: .6rem; }
.info-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; background: #fff; }
.info-table td, .info-table th { padding: 1rem 1.2rem; border-bottom: 1px solid #eee3d0; text-align: left; vertical-align: top; }
.info-table th { font-weight: 600; width: 38%; }
.callout { background: #fff; border-left: 5px solid var(--yellow); padding: 1.4rem 1.6rem; margin: 2rem 0; }
.contact-box { background: #fff; padding: 2.5rem; max-width: 560px; margin-top: 2rem; }
.contact-box p { margin: .4rem 0; }

.foot { background: var(--ink); color: #cfd2de; padding: 5rem 6vw 2rem; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; }
.foot a { color: #cfd2de; display: block; text-decoration: none; margin: .35rem 0; font-size: 15px; }
.foot a:hover { color: var(--yellow); }
.foot-brand { font-family: var(--serif); font-size: 1.5rem; color: #fff; margin-bottom: 1rem; }
.foot-title { color: #fff; font-weight: 600; margin-bottom: .8rem; }
.muted { color: #9ca0b3; font-size: 15px; max-width: 420px; }
.copy { margin-top: 4rem; font-size: 13px; color: #8a8ea2; border-top: 1px solid #2a2f45; padding-top: 1.5rem; }
.copy a { display: inline; }

.cookie { position: fixed; bottom: 1.2rem; left: 1.2rem; right: 1.2rem; max-width: 620px; background: #fff; padding: 1.4rem 1.6rem; box-shadow: 0 20px 50px rgba(0, 0, 0, .18); z-index: 50; display: grid; gap: 1rem; font-size: 14px; border-top: 4px solid var(--blue); }
.cookie[hidden] { display: none; }
.cookie div { display: flex; gap: .7rem; justify-content: flex-end; }
.cookie .btn { padding: .6rem 1.3rem; }

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

@media (max-width: 900px) {
  .burger { display: flex; }
  .brand { font-size: 1rem; }
  body { overflow-x: hidden; }
  .menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--sand); padding: 1rem 6vw 1.5rem; border-bottom: 1px solid rgba(0, 0, 0, .08); }
  .menu.open { display: flex; }
  .menu a { padding: .7rem 0; }
  .hero, .split, .grid3, .foot-grid { grid-template-columns: 1fr; }
  .hero-img { height: 52vh; order: -1; }
  .split { gap: 2.5rem; }
  .split img { height: 340px; }
  .section { padding: 4.5rem 6vw; }
  .info-table th { width: 45%; }
}

/* Articles */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem 2.2rem; margin-top: 2rem; }
.post-card { text-decoration: none; color: inherit; display: block; }
.post-img { overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: 1.1rem; background: #ddd; }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.post-card:hover .post-img img { transform: scale(1.05); }
.post-meta { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); font-weight: 600; margin-bottom: .5rem; }
.post-card h3 { font-size: 1.45rem; margin-bottom: .6rem; transition: color .25s; }
.post-card:hover h3 { color: var(--accent); }
.post-excerpt { color: var(--muted); font-size: 15px; }
.article-head { padding: 6rem 6vw 3rem; max-width: 1000px; }
.article-head h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 2rem; }
.crumbs a { color: var(--muted); }
.meta { margin-top: 1.5rem; color: var(--muted); font-size: 15px; }
.article-img { padding: 0 6vw; }
.article-img img { width: 100%; max-height: 560px; object-fit: cover; }
.article-body { padding: 4rem 6vw 6rem; margin: 0 auto; box-sizing: content-box; }
.article-body > p:first-child { font-size: 1.2rem; }
.author-box { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(0, 0, 0, .12); }
.author-name { font-weight: 600; margin-bottom: .3rem; }
.author-box p:last-child { color: var(--muted); font-size: 15px; }
.faq details { border-bottom: 1px solid rgba(0, 0, 0, .12); padding: 1.3rem 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--accent); font-size: 1.4rem; line-height: 1; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: .8rem; color: var(--muted); }
.more { margin-top: 3rem; }
@media (max-width: 900px) {
  .posts { grid-template-columns: 1fr; }
  .article-head { padding: 3.5rem 6vw 2rem; }
  .article-body { padding: 2.5rem 6vw 4rem; }
}

.cookie-title { font-weight: 600; font-size: 15px; margin-bottom: -.5rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.5rem; }
.contact-card { background: #fff; padding: 2.2rem; display: flex; flex-direction: column; gap: .5rem; text-decoration: none; color: var(--ink); border: 1px solid rgba(0, 0, 0, .08); transition: transform .3s, box-shadow .3s; }
.contact-card svg { width: 34px; height: 34px; color: var(--accent); margin-bottom: 1rem; }
.contact-card.main { background: var(--accent); color: #fff; border-color: var(--accent); }
.contact-card.main svg { color: #fff; }
.contact-card.main:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0, 0, 0, .15); }
.contact-label { font-size: 12px; text-transform: uppercase; letter-spacing: .18em; font-weight: 600; opacity: .75; }
.contact-value { font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.9rem); line-height: 1.25; word-break: break-word; }
.contact-value.small { font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--muted); }
.contact-action { margin-top: auto; padding-top: 1.5rem; font-weight: 500; }
.contact-split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 4.5rem; align-items: start; }
.contact-h { font-size: 1.8rem !important; margin-bottom: 1.2rem !important; }
.contact-list { list-style: none; }
.contact-list li { padding: .9rem 0 .9rem 1.8rem; border-bottom: 1px solid rgba(0, 0, 0, .1); position: relative; }
.contact-list li::before { content: ''; position: absolute; left: 0; top: 1.45rem; width: 10px; height: 10px; background: var(--accent); }
@media (max-width: 900px) {
  .contact-grid, .contact-split { grid-template-columns: 1fr; }
  .contact-split { gap: 2rem; margin-top: 3rem; }
  .contact-value { font-size: 1.1rem; }
  .contact-card { padding: 1.8rem 1.5rem; }
}
