
:root {
  --bg: #f6f2eb;
  --paper: #fffdf8;
  --ink: #171714;
  --muted: #68645d;
  --green: #285447;
  --green-fill: #285447;
  --green-fill-text: #ffffff;
  --line: rgba(23, 23, 20, 0.14);
  --header-bg: rgba(246, 242, 235, 0.94);
  --secondary-text: #47443f;
  --panel-text: #55504a;
  --article-text: #403d38;
  --article-deck: #4c4843;
  --note-bg: rgba(255,255,255,.35);
  --worth-1: #eee8df;
  --worth-2: #f2ece4;
  --worth-3: #ebe5dc;
  --worth-4: #f1ebe3;
  --worth-5: #ece6dd;
  --worth-hover: #e5ddd2;
  --worth-meta: #746e66;
  --max: 1180px;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #171715;
  --paper: #201f1c;
  --ink: #f1eee8;
  --muted: #aaa39a;
  --green: #91b9aa;
  --green-fill: #789f91;
  --green-fill-text: #121713;
  --line: rgba(241, 238, 232, 0.14);
  --header-bg: rgba(23, 23, 21, 0.94);
  --secondary-text: #c9c2b8;
  --panel-text: #c3bcb2;
  --article-text: #cfc8be;
  --article-deck: #bbb4aa;
  --note-bg: rgba(255,255,255,.045);
  --worth-1: #24221e;
  --worth-2: #28251f;
  --worth-3: #211f1c;
  --worth-4: #292620;
  --worth-5: #23211d;
  --worth-hover: #302c25;
  --worth-meta: #aaa198;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }
p { text-wrap: pretty; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

.shell {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.kicker,
.card-label,
.panel-eyebrow,
.questions-label {
  margin: 0;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.72rem;
  font-weight: 800;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 70px;
  padding-inline: max(24px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

nav {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 0.87rem;
}

nav a { opacity: 0.68; }
nav a:hover { opacity: 1; }


.theme-toggle {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.theme-toggle:hover {
  background: var(--paper);
}

.theme-toggle-icon {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  line-height: 1;
  transform: translateY(-1px);
}

html[data-theme="dark"] .theme-toggle-icon {
  transform: none;
}

.nav-contact {
  opacity: 1;
  padding: 9px 15px;
  border: 1px solid var(--ink);
  border-radius: 999px;
}

/* Shared section typography */
.section-heading-left {
  max-width: 1040px;
  margin: 0 0 48px;
}

.section-heading-left h2,
.closing h2 {
  margin: 20px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 4.25vw, 4.55rem);
  line-height: 1.04;
  letter-spacing: -0.043em;
  font-weight: 500;
}

.compact-heading {
  max-width: 900px;
  margin-bottom: 42px;
}

.questions,
.worth-building,
.decisions,
.outside {
  padding-block: 108px;
}

/* Hero */
.hero {
  min-height: calc(100vh - 70px);
  padding: 68px 0 62px;
  display: flex;
  flex-direction: column;
}

.hero h1 {
  margin: 42px 0 58px;
  max-width: 1080px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.7rem, 9.6vw, 9rem);
  line-height: 0.84;
  letter-spacing: -0.07em;
  font-weight: 500;
}

.hero-support {
  margin-top: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.82fr);
  gap: 76px;
  align-items: start;
}

.hero-thought { max-width: 560px; }

.hero-thought p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 2.15vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.hero-value {
  max-width: 520px;
  justify-self: end;
}

.hero-value > p {
  margin: 0;
  font-size: 1.1rem;
  color: var(--secondary-text);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 24px;
}

.tags span {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--muted);
}

/* How I think */
.questions-label { margin-bottom: 14px; }

.question-list {
  display: grid;
  gap: 2px;
}

.question-list article {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 15px 0;
}

.number {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  padding-top: 0.45em;
}

.question-copy p {
  margin: 0;
  max-width: 980px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.question-note {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}



/* Worth Building? editorial composition */
.worth-boxes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.worth-box {
  min-height: 260px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 28px;
  gap: 18px;
  align-items: start;
  padding: 28px 28px 26px;
  border: 1px solid rgba(23, 23, 20, 0.075);
  border-radius: 26px;
  background: var(--worth-1);
  box-shadow: 0 1px 0 rgba(255,255,255,.12) inset;
}

.worth-box-wide {
  grid-column: 1 / -1;
  min-height: 190px;
  grid-template-columns: 54px minmax(0, 1fr) 34px;
  align-items: center;
  padding: 30px 34px;
}

.worth-box:nth-child(2) { background: var(--worth-2); }
.worth-box:nth-child(3) { background: var(--worth-3); }
.worth-box:nth-child(4) { background: var(--worth-4); }
.worth-box:nth-child(5) { background: var(--worth-5); }

.worth-box:hover,
.worth-box:focus-visible {
  background: var(--worth-hover);
  border-color: rgba(23, 23, 20, 0.12);
}

.worth-box-number {
  color: var(--worth-meta);
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  padding-top: 0.38em;
}

.worth-box-copy {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.worth-box-copy h3 {
  max-width: 1000px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 2.45vw, 2.45rem);
  line-height: 1.055;
  letter-spacing: -0.034em;
  font-weight: 500;
}

.worth-box-wide .worth-box-copy h3 {
  max-width: 980px;
  font-size: clamp(2rem, 3vw, 3rem);
}

.worth-box-copy p {
  margin: auto 0 0;
  padding-top: 24px;
  color: var(--worth-meta);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.worth-box-wide .worth-box-copy p {
  margin-top: 14px;
  padding-top: 0;
}

.worth-box-arrow {
  justify-self: end;
  color: var(--worth-meta);
  font-size: 1.15rem;
  padding-top: 0.08em;
}

.worth-box-wide .worth-box-arrow {
  align-self: center;
}

.worth-box:hover .worth-box-arrow,
.worth-box:focus-visible .worth-box-arrow {
  color: var(--green);
}

@media (max-width: 760px) {
  .worth-boxes {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .worth-box,
  .worth-box-wide {
    grid-column: auto;
    min-height: 0;
    grid-template-columns: 32px minmax(0, 1fr) 22px;
    gap: 12px;
    align-items: start;
    padding: 22px 18px;
    border-radius: 20px;
  }

  .worth-box-copy h3,
  .worth-box-wide .worth-box-copy h3 {
    font-size: clamp(1.42rem, 6vw, 1.9rem);
  }

  .worth-box-copy p,
  .worth-box-wide .worth-box-copy p {
    margin-top: 12px;
    padding-top: 0;
    font-size: 0.66rem;
    line-height: 1.45;
  }

  .worth-box-wide .worth-box-arrow {
    align-self: start;
  }
}

/* Decisions */
.decision-section-title { max-width: 1100px; }
.keep-together { white-space: nowrap; }

.decision-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.decision-tab {
  min-height: 102px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.decision-tab.active {
  background: var(--green-fill);
  border-color: var(--green-fill);
  color: var(--green-fill-text);
}

.tab-number {
  font-size: 0.72rem;
  opacity: 0.5;
}

.tab-title {
  font-size: 0.76rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
}

.decision-tab.active .tab-title { color: var(--green-fill-text); opacity: .88; }

.decision-panel {
  min-height: 420px;
  padding: 32px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.78fr);
  gap: 58px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
}

.panel-title h3 {
  max-width: 640px;
  margin: 28px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.55rem, 3.85vw, 4rem);
  line-height: 1.03;
  letter-spacing: -0.043em;
  font-weight: 500;
}

.panel-copy {
  display: flex;
  flex-direction: column;
  color: var(--panel-text);
}

.panel-copy > p { margin: 0 0 18px; }

.panel-outcome {
  margin-top: auto;
  padding-top: 26px;
}

.panel-outcome strong {
  display: block;
  margin-bottom: 5px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.85rem;
  font-weight: 500;
}

.panel-outcome span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Outside work */
.outside-heading {
  max-width: 1020px;
  margin-bottom: 42px;
}

.personal-grid {
  display: grid;
  grid-template-columns: 0.86fr 0.86fr 1.28fr;
  gap: 18px;
}

.personal-card {
  min-height: 270px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
}

.personal-bottom { margin-top: auto; }

.personal-card h3 {
  margin: 0 0 7px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.85rem;
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 500;
}

.personal-card p:not(.card-label) {
  margin: 0;
  color: var(--muted);
}

.music-card iframe {
  margin-top: auto;
  border: 0;
  border-radius: 14px;
}

.music-card a {
  margin-top: 14px;
  align-self: flex-start;
  border-bottom: 1px solid currentColor;
  font-size: 0.88rem;
  font-weight: 700;
}

/* Footer */
footer {
  padding: 25px 0 30px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 0.82rem;
}


.footer-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.footer-links a {
  color: var(--ink);
  font-weight: 700;
}

@media (max-width: 620px) {
  .footer-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* Worth Building article pages */
.article-shell {
  width: min(calc(100% - 48px), 860px);
  margin-inline: auto;
}

.article-hero { padding: 96px 0 62px; }

.article-kicker {
  margin: 0 0 24px;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.72rem;
  font-weight: 800;
}

.article-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 7vw, 6.7rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
  font-weight: 500;
}

.article-deck {
  max-width: 720px;
  margin: 30px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.35;
  color: var(--article-deck);
}

.article-body { padding: 34px 0 110px; }

.article-body p {
  margin: 0 0 24px;
  font-size: 1.08rem;
  color: var(--article-text);
}

.article-body h2 {
  margin: 58px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 500;
}

.article-body h3 {
  margin: 38px 0 12px;
  font-size: 1rem;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.article-pull {
  margin: 52px 0;
  padding: 28px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.article-note {
  margin: 34px 0;
  padding: 24px 26px;
  border-left: 3px solid var(--green);
  background: var(--note-bg);
}

.article-note strong {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.article-numbered {
  margin: 34px 0;
  display: grid;
  gap: 16px;
}

.article-numbered > div {
  display: grid;
  grid-template-columns: 36px minmax(0,1fr);
  gap: 14px;
}

.article-numbered span {
  color: var(--muted);
  font-size: .75rem;
  font-weight: 700;
  padding-top: .25em;
}

.article-numbered p { margin: 0; }

.article-footer {
  padding: 34px 0 70px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 0.85rem;
}

.article-footer a {
  font-weight: 700;
  color: var(--ink);
}

/* Tablet */
@media (max-width: 980px) {
  nav a:not(.nav-contact) { display: none; }

  .hero-support {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-value { justify-self: start; }

  .decision-tabs { grid-template-columns: 1fr; }

  .decision-tab {
    min-height: 76px;
    flex-direction: row;
    align-items: center;
  }

  .decision-panel {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .personal-grid {
    grid-template-columns: 1fr 1fr;
  }

  .music-card { grid-column: 1 / -1; }
}

/* Mobile */
@media (max-width: 620px) {
  .shell,
  .article-shell {
    width: min(calc(100% - 30px), var(--max));
  }

  .site-header {
    min-height: 64px;
    padding-inline: 16px;
  }

  .hero {
    min-height: auto;
    padding: 50px 0 80px;
  }

  .hero h1 {
    margin: 40px 0 54px;
    font-size: clamp(4rem, 20vw, 5.7rem);
    line-height: 0.87;
  }

  .questions,
  .worth-building,
  .decisions,
  .outside {
    padding-block: 76px;
  }

  .section-heading-left { margin-bottom: 38px; }

  .question-list article {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .question-note { font-size: 0.74rem; }

  .keep-together { white-space: normal; }

  .decision-panel {
    padding: 24px;
    gap: 34px;
  }

  .panel-title h3 {
    font-size: clamp(2.45rem, 11vw, 3.5rem);
  }

  .personal-grid { grid-template-columns: 1fr; }
  .music-card { grid-column: auto; }

  footer,
  .article-footer {
    flex-direction: column;
  }

  .article-hero { padding: 70px 0 46px; }
  .article-body { padding-bottom: 80px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}


body,
.site-header,
.worth-box,
.decision-panel,
.personal-card,
.decision-tab,
.theme-toggle {
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

html[data-theme="dark"] .worth-box {
  border-color: rgba(241,238,232,.08);
  box-shadow: 0 1px 0 rgba(255,255,255,.045) inset;
}

html[data-theme="dark"] .worth-box:hover,
html[data-theme="dark"] .worth-box:focus-visible {
  border-color: rgba(241,238,232,.14);
}

html[data-theme="dark"] .nav-contact {
  border-color: rgba(241,238,232,.62);
}

html[data-theme="dark"] .tags span {
  background: rgba(255,255,255,.025);
}

html[data-theme="dark"] .article-note {
  border-left-color: var(--green);
}

html[data-theme="dark"] .music-card iframe {
  opacity: .94;
}

@media (prefers-reduced-motion: reduce) {
  body,
  .site-header,
  .worth-box,
  .decision-panel,
  .personal-card,
  .decision-tab,
  .theme-toggle {
    transition: none;
  }
}
