:root {
  --bg: #f2eee6;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: #fffaf1;
  --ink: #0e2235;
  --muted: #536273;
  --line: rgba(14, 34, 53, 0.12);
  --accent: #a56a2a;
  --accent-deep: #71420f;
  --hero: linear-gradient(135deg, rgba(13, 27, 42, 0.96), rgba(27, 56, 84, 0.9));
  --shadow: 0 24px 60px rgba(11, 25, 40, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(165, 106, 42, 0.18), transparent 28%),
    linear-gradient(180deg, #efe6d6 0%, var(--bg) 40%, #f8f4ec 100%);
}

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

a {
  color: inherit;
  text-decoration: none;
}

.text-link {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 24px auto 48px;
}

.hero,
.panel,
.card,
.closing {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: 32px;
  background: var(--hero);
  color: #fdf8ef;
}

.founders-hero .hero-copy {
  max-width: 560px;
  padding-bottom: 42px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -30% auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 174, 113, 0.3), transparent 68%);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  padding: 8px;
}

.nav-links {
  display: flex;
  gap: 22px;
  color: rgba(253, 248, 239, 0.84);
  font-size: 0.96rem;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 88px 0 60px;
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
}

.eyebrow {
  color: #d5bc91;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.05;
}

h1 {
  font-size: clamp(3rem, 8vw, 5.8rem);
  max-width: 10ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h3 {
  font-size: 1.4rem;
}

.lead,
.body-copy p,
.card p,
.closing-copy p,
.principles-list p {
  line-height: 1.75;
  font-size: 1.04rem;
}

.lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(253, 248, 239, 0.86);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: #f8ead0;
  color: #17283b;
}

.button-secondary {
  border: 1px solid rgba(253, 248, 239, 0.24);
  background: rgba(253, 248, 239, 0.08);
}

main {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

.panel,
.closing {
  border-radius: 28px;
  padding: 34px;
  background: var(--surface);
  backdrop-filter: blur(12px);
}

.two-column {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 28px;
  align-items: start;
}

.section-label {
  color: var(--accent-deep);
}

.body-copy p:first-child,
.card p,
.closing-copy p,
.principles-list p {
  margin-top: 0;
}

.body-copy p:last-child,
.card p:last-child,
.closing-copy p:last-child,
.principles-list p:last-child {
  margin-bottom: 0;
}

.grid-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.card {
  padding: 28px;
  border-radius: 24px;
  background: var(--surface-strong);
}

.accent-card {
  background:
    linear-gradient(160deg, rgba(165, 106, 42, 0.12), rgba(255, 250, 241, 0.96)),
    var(--surface-strong);
}

.principles-panel {
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.88), rgba(249, 240, 224, 0.92));
}

.panel-heading {
  max-width: 640px;
}

.principles-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.principles-list div {
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(14, 34, 53, 0.08);
}

.principles-list span {
  display: inline-block;
  margin-bottom: 16px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.6rem;
  color: var(--accent);
}

.closing {
  background:
    linear-gradient(120deg, rgba(13, 27, 42, 0.06), rgba(165, 106, 42, 0.08)),
    var(--surface);
}

.closing-copy {
  max-width: 760px;
}

@media (max-width: 900px) {
  .topbar,
  .two-column,
  .grid-section,
  .principles-list {
    grid-template-columns: 1fr;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero-copy {
    padding-top: 54px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1120px);
    margin: 10px auto 24px;
  }

  .hero,
  .panel,
  .card,
  .closing {
    border-radius: 24px;
  }

  .hero,
  .panel,
  .closing,
  .card {
    padding: 22px;
  }

  h1 {
    max-width: 12ch;
  }

  .button {
    width: 100%;
  }
}
