:root {
  --ink: #163f42;
  --ink-soft: #587072;
  --paper: #f8f5ed;
  --paper-deep: #ede8dc;
  --card: #fffdf8;
  --teal: #0f756d;
  --coral: #e8795f;
  --line: rgba(22, 63, 66, 0.16);
  --shadow: 0 24px 70px rgba(22, 63, 66, 0.11);
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  line-height: 1.5;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body { margin: 0; min-width: 320px; background: var(--paper); }

a { color: inherit; text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
a:hover { color: var(--teal); }

img { display: block; max-width: 100%; }

.shell { width: min(1140px, calc(100% - 44px)); margin: 0 auto; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: -0.03em; }
.brand-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--teal); color: white; font-size: 18px; }
.brand-name { font-size: 18px; }
.brand-name span { color: var(--coral); }

.nav { display: flex; align-items: center; gap: 22px; font-size: 14px; color: var(--ink-soft); }
.nav a { text-decoration: none; }
.nav-cta { padding: 9px 14px; border: 1px solid var(--teal); border-radius: 999px; color: var(--teal); font-weight: 700; }
.nav-cta:hover { background: var(--teal); color: white; }

.hero { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 54px; align-items: center; padding: 82px 0 72px; }
.eyebrow { margin: 0 0 18px; color: var(--coral); font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; letter-spacing: -0.05em; line-height: 0.98; }
.hero h1 { max-width: 560px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(48px, 7vw, 84px); font-weight: 500; }
.hero-copy { max-width: 470px; margin: 24px 0 0; color: var(--ink-soft); font-size: 18px; line-height: 1.6; }
.hero-image { min-height: 440px; overflow: hidden; border-radius: 28px 28px 28px 7px; box-shadow: var(--shadow); }
.hero-image img { width: 100%; height: 100%; min-height: 440px; object-fit: cover; }

.journal { padding: 52px 0 88px; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-heading h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px, 4vw, 52px); font-weight: 500; }
.section-heading p { max-width: 360px; margin: 0; color: var(--ink-soft); }
.post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.post-card { display: flex; min-height: 330px; flex-direction: column; justify-content: space-between; padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); transition: transform 180ms ease, box-shadow 180ms ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card:nth-child(2) { background: var(--ink); color: var(--paper); }
.post-card:nth-child(2) .post-meta, .post-card:nth-child(2) .post-summary { color: rgba(248, 245, 237, 0.68); }
.post-card:nth-child(2) .read-link { color: #f2a08b; }
.post-meta { margin: 0 0 22px; color: var(--teal); font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.post-card h3 { max-width: 470px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(30px, 4vw, 48px); font-weight: 500; }
.post-summary { max-width: 500px; margin: 20px 0 28px; color: var(--ink-soft); }
.read-link { color: var(--teal); font-size: 14px; font-weight: 800; text-decoration: none; }

.site-footer { padding: 28px 0 40px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 13px; }
.footer-row { display: flex; justify-content: space-between; gap: 24px; }
.footer-row p { margin: 0; }

.article-wrap { padding: 72px 0 96px; }
.article-header { max-width: 820px; margin-bottom: 44px; }
.article-header h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(46px, 7vw, 78px); font-weight: 500; }
.article-dek { max-width: 700px; margin: 26px 0 0; color: var(--ink-soft); font-size: 20px; line-height: 1.55; }
.article-meta { margin-top: 24px; color: var(--ink-soft); font-size: 13px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 720px) 220px; gap: 72px; align-items: start; }
.article-body { font-family: Georgia, "Times New Roman", serif; font-size: 20px; line-height: 1.72; }
.article-body p { margin: 0 0 1.25em; }
.article-body h2 { margin: 1.6em 0 0.55em; font-size: 34px; font-weight: 500; }
.article-body ul { margin: 0 0 1.35em; padding-left: 1.25em; }
.article-body li { margin: 0.45em 0; }
.article-body strong { color: var(--teal); }
.article-note { margin: 28px 0; padding: 20px 22px; border-left: 4px solid var(--coral); background: var(--paper-deep); font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 15px; line-height: 1.6; }
.article-aside { position: sticky; top: 24px; padding-top: 8px; color: var(--ink-soft); font-size: 13px; }
.article-aside strong { display: block; margin-bottom: 8px; color: var(--ink); }
.article-aside a { display: inline-block; margin-top: 14px; color: var(--teal); font-weight: 800; text-decoration: none; }
.back-link { display: inline-flex; margin-bottom: 32px; color: var(--teal); font-size: 14px; font-weight: 800; text-decoration: none; }
.article-visual { width: 100%; margin: 0 0 44px; overflow: hidden; border-radius: 28px 28px 28px 7px; box-shadow: var(--shadow); }
.article-visual img { width: 100%; max-height: 550px; object-fit: cover; }

@media (max-width: 780px) {
  .shell { width: min(100% - 32px, 620px); }
  .site-header { padding: 17px 0; }
  .nav { gap: 12px; }
  .nav a:not(.nav-cta) { display: none; }
  .hero { grid-template-columns: 1fr; gap: 34px; padding: 58px 0 52px; }
  .hero-image, .hero-image img { min-height: 320px; }
  .section-heading, .footer-row { align-items: flex-start; flex-direction: column; }
  .post-grid { grid-template-columns: 1fr; }
  .post-card { min-height: 290px; }
  .article-wrap { padding: 48px 0 72px; }
  .article-layout { grid-template-columns: 1fr; gap: 22px; }
  .article-aside { position: static; order: -1; }
  .article-body { font-size: 18px; }
}
