:root {
  --forest: #243C2D;
  --cream: #F3F1E7;
  --cream-deep: #E9E4D2;
  --ink: #1C241F;
  --muted: #5C675F;
  --card: #FFFdf8;
  --line: #C9C4B4;
  --shadow: 0 16px 36px rgba(36, 60, 45, 0.1);
  --font: "Inter", system-ui, sans-serif;
  --display: "Playfair Display", Georgia, serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100%;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 8% -8%, rgba(168, 184, 154, 0.38), transparent 55%),
    radial-gradient(780px 380px at 96% 0%, rgba(36, 60, 45, 0.12), transparent 50%),
    linear-gradient(180deg, #F7F4EA 0%, var(--cream) 46%, var(--cream-deep) 100%);
}
img { display: block; max-width: 100%; }
a { color: inherit; }

.wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(243, 241, 231, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(36, 60, 45, 0.08);
}
.top-inner {
  display: flex;
  align-items: center;
  min-height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}
.brand b { display: block; font-size: 18px; color: var(--forest); }
.brand small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; font-weight: 500; }
.badge {
  display: inline-flex;
  margin-left: 8px;
  padding: 3px 8px;
  border-radius: 8px;
  background: var(--forest);
  color: var(--cream);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  vertical-align: 2px;
}

.hero { padding: 36px 0 8px; }
.hero h1 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 500;
  line-height: 1.12;
  color: var(--forest);
}
.hero p {
  margin: 0;
  max-width: 56ch;
  color: #3D3D3D;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 28px 0 40px;
  align-items: start;
}

.col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.card {
  background: var(--card);
  border: 1px solid rgba(36, 60, 45, 0.1);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 26px 26px 24px;
  display: flex;
  flex-direction: column;
  min-height: 300px;
}
.kicker {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.card h2 {
  margin: 0 0 10px;
  font-size: 28px;
  letter-spacing: -0.03em;
  color: var(--forest);
}
.card-ed h2 { font-family: var(--display); font-weight: 500; letter-spacing: 0; }
.lead {
  margin: 0 0 16px;
  color: #3D4540;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
}
.inc {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.inc li { padding: 2px 0; }
.inc li::before { content: "· "; color: var(--forest); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 11px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  background: var(--forest);
  color: var(--cream);
  width: 100%;
}
.btn:hover { filter: brightness(0.96); }

.card-orig { border-top: 4px solid #32523F; }
.card-ed { border-top: 4px solid #A8B89A; }
.card-sr { border-top: 4px solid #1C241F; }

.stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.role {
  background: rgba(255, 253, 248, 0.78);
  border: 1px solid rgba(36, 60, 45, 0.08);
  border-radius: 14px;
  padding: 10px 10px 12px;
}
.role-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  background: #fff;
  border: 1px solid rgba(36, 60, 45, 0.16);
  color: var(--forest);
}
.role-btn:hover {
  background: var(--forest);
  color: var(--cream);
  border-color: var(--forest);
}
.feat {
  margin: 8px 2px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.feat a {
  color: #3D4540;
  text-decoration: none;
  border-bottom: 1px dotted rgba(36, 60, 45, 0.28);
}
.feat a:hover { color: var(--forest); border-bottom-color: var(--forest); }
.feat .dot {
  display: inline-block;
  margin: 0 5px;
  color: #A8B89A;
}

.foot {
  padding: 0 0 40px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.foot p { margin: 0; }

@media (max-width: 1100px) {
  .grid { grid-template-columns: 1fr; gap: 28px; }
  .wrap { width: calc(100% - 32px); }
  .card { min-height: 0; }
  .feat { overflow-wrap: anywhere; }
}
@media (max-width: 720px) {
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  html, body { overflow-x: hidden; }
  body { overflow-wrap: anywhere; }
  .wrap { width: calc(100% - 24px); }
  .top-inner { min-height: 64px; }
  .brand { align-items: flex-start; }
  .brand small { font-size: 11px; line-height: 1.35; max-width: none; }
  .hero { padding: 22px 0 4px; }
  .hero h1 { font-size: 26px; line-height: 1.15; }
  .hero p { font-size: 15px; }
  .card { padding: 20px 16px 18px; }
  .card h2 { font-size: 22px; }
  .lead, .feat, .foot p { overflow-wrap: anywhere; }
  .btn, .role-btn { min-height: 44px; white-space: normal; }
  .grid { padding: 20px 0 28px; gap: 22px; }
  .foot { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
}
