/* =========================================================================
   danfrancis.com - global design system
   Single global stylesheet. Organized into:
     1. Tokens
     2. Resets / globals
     3. Animations
     4. Layout containers + shared utilities
     4b. Home (hero / newsletter archive / book callout)
     5. Header / nav
     6. Footer
     7. Subscribe forms (light / dark / center)
     8. Buttons
     9. Post detail (article + prose body + CTA)
     10. Responsive
     11. About + City Council pages
     12. Contact
   ========================================================================= */

/* ----------------------------- 1. Tokens ------------------------------- */
:root {
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, sans-serif;

  --bg: #f4f0e8;
  --surface: #faf7f0;
  --alt: #ebe5d8;

  --ink: #1f2b26;
  --body: #45504a;
  --accent: #4a6a5b;

  --btn: #2c4339;
  --btn-hover: #3a564a;
  --btn-text: #faf7f0;
  --peach: #e7c9b8;
  --peach-hover: #f0d8cb;

  --accent-deep: #3a564a;
  --mist: #cdded2;

  --header-bg: rgba(31, 43, 38, 0.92);
  --border-dark: #36443d;
  --footer-bg: #1f2b26;
  --footer-text: #d9e0d8;
  --footer-muted: #aab6ad;
  --footer-faint: #8a978c;

  --border-soft: #e1dccd;
  --border-card: #e3ddcd;
  --border-card-hover: #b9c5ba;
  --border-link: #b6c2b6;
  --dot: #b6bdb1;
  --text-faint: #9a988c;
  --body-soft: #55605a;
  --border-field: #d6d0bf;
  --prose-ink: #2f3a34; /* post body prose text */
  --rule-soft: #9fb3a6; /* post blockquote rule */
  --field-dark-bg: #2b3a33;
  --field-dark-border: #3c4d44;
  --field-dark-focus: #7d9b8b;
  --help-text: #7d8079;

  --container: 960px;
  --pad-x: 28px;
}

/* -------------------------- 2. Resets / globals ------------------------ */
* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--mist);
  color: var(--ink);
}

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

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

input::placeholder {
  color: var(--text-faint);
}

[hidden] {
  display: none !important;
}

.page {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ---------------------------- 3. Animations ---------------------------- */
@keyframes dfRise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes dfFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ----------------- 4. Layout containers + utilities -------------------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-heading {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}

/* Shared lede paragraph; pages override only max-width / margin. */
.lede {
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  line-height: 1.6;
  color: var(--body);
}

/* Shared two-column grids (content built in later tasks; defined here so
   pages reuse the same responsive behavior). */
.hero {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(48px, 8vw, 104px) var(--pad-x) clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.book-callout {
  background: var(--alt);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.book-callout__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 84px) var(--pad-x);
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

/* ----------------------------- 4b. Home -------------------------------- */
/* Hero */
.hero__intro {
  animation: dfRise 0.7s ease both;
  min-width: 0;
}

.hero__eyebrow {
  margin-bottom: 22px;
}

.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.7rem, 5.6vw, 4.9rem);
  line-height: 1.04;
  letter-spacing: -0.018em;
  margin: 0 0 26px;
  color: var(--ink);
  text-wrap: balance;
}

.hero__lede {
  max-width: 46ch;
  margin: 0 0 34px;
}

.hero__portrait {
  animation: dfRise 0.8s ease 0.08s both;
  min-width: 0;
}

.portrait-frame {
  position: relative;
  top: 20px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  box-shadow: 0 24px 50px -28px rgba(31, 43, 38, 0.4);
}

.portrait-frame__img {
  width: 100%;
  height: clamp(360px, 42vw, 540px);
  object-fit: cover;
  object-position: 50% 18%;
  border-radius: 3px;
}

.portrait-frame__badge {
  position: absolute;
  left: 28px;
  bottom: 28px;
  background: rgba(31, 43, 38, 0.9);
  color: var(--bg);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 7px 13px;
  border-radius: 3px;
}

/* Newsletter archive */
.archive {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(28px, 3.5vw, 44px) var(--pad-x) clamp(48px, 6vw, 80px);
}

.archive__heading {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin: 0 0 clamp(20px, 2.4vw, 28px);
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: clamp(18px, 2vw, 26px);
}

.post-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border-card);
  border-radius: 6px;
  padding: clamp(26px, 2.6vw, 34px);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.post-card:hover {
  border-color: var(--border-card-hover);
  transform: translateY(-3px);
  box-shadow: 0 22px 40px -28px rgba(31, 43, 38, 0.45);
}

.post-card:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(74, 106, 91, 0.14);
}

.post-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.post-card__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--dot);
}

.post-card__read {
  color: var(--text-faint);
}

.post-card__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.16;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  color: var(--ink);
}

.post-card__excerpt {
  font-size: 1.02rem;
  line-height: 1.58;
  color: var(--body-soft);
  margin: 0 0 22px;
  flex: 1;
}

.post-card__more {
  font-size: 14px;
  font-weight: 600;
  color: var(--btn);
}

/* Book callout */
.book-callout__cover {
  display: flex;
  justify-content: center;
  min-width: 0;
}

.book-cover {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 30px 60px -24px rgba(31, 43, 38, 0.5),
    0 6px 16px -8px rgba(31, 43, 38, 0.3);
}

.book-callout__body {
  min-width: 0;
}

.book-callout__eyebrow {
  margin-bottom: 18px;
}

.book-callout__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: -0.018em;
  margin: 0 0 20px;
  color: var(--ink);
  text-wrap: balance;
}

.book-callout__desc {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.62;
  color: var(--body);
  max-width: 50ch;
  margin: 0 0 30px;
}

.book-callout__actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.link-underline {
  font-weight: 600;
  color: var(--btn);
  border-bottom: 1px solid var(--border-link);
  padding-bottom: 2px;
  transition: border-color 0.18s ease;
}

.link-underline:hover {
  border-color: var(--btn);
}

.link-underline:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ----------------------------- 5. Header ------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border-dark);
}

.site-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 17px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header__logo {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -0.01em;
  color: var(--bg);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-pill {
  font-size: 15px;
  font-weight: 500;
  color: var(--footer-muted);
  padding: 7px 12px;
  border-radius: 100px;
  transition: color 0.18s ease;
}

.nav-pill:hover {
  color: var(--bg);
}

.nav-pill--active,
.nav-pill--active:hover {
  font-weight: 600;
  color: var(--ink);
  background: var(--bg);
  padding: 7px 16px;
}

/* ----------------------------- 6. Footer ------------------------------- */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
}

.site-footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(52px, 6vw, 80px) var(--pad-x) clamp(28px, 3vw, 40px);
}

.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.site-footer__headline {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.18;
  color: var(--bg);
  margin-bottom: 18px;
  max-width: 18ch;
  text-wrap: balance;
}

.site-footer__text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--footer-muted);
  max-width: 38ch;
  margin: 0 0 24px;
}

.site-footer__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col a {
  font-size: 15px;
  color: var(--footer-text);
  transition: color 0.18s ease;
}

.footer-col a:hover {
  color: var(--bg);
}

.site-footer__bar {
  margin-top: clamp(40px, 5vw, 60px);
  padding-top: 22px;
  border-top: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer__name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 17px;
  color: var(--bg);
}

.site-footer__copy {
  font-size: 13px;
  color: var(--footer-faint);
}

/* ------------------------- 7. Subscribe forms -------------------------- */
.subscribe--light {
  max-width: 440px;
}

.subscribe-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
}

.subscribe-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.subscribe--dark .subscribe-form {
  max-width: 440px;
}

.subscribe--center .subscribe-form {
  justify-content: flex-start;
}

.subscribe-input {
  flex: 1 1 200px;
  min-width: 0;
  padding: 13px 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border-field);
  border-radius: 4px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.subscribe-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(74, 106, 91, 0.14);
}

.subscribe--center .subscribe-input {
  flex: 1 1 220px;
  padding: 14px 16px;
  text-align: left;
}

.subscribe--dark .subscribe-input {
  color: var(--bg);
  background: var(--field-dark-bg);
  border-color: var(--field-dark-border);
}

.subscribe--dark .subscribe-input:focus {
  border-color: var(--field-dark-focus);
  box-shadow: 0 0 0 3px rgba(125, 155, 139, 0.2);
}

.subscribe-btn {
  flex: 0 0 auto;
  padding: 13px 24px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--btn-text);
  background: var(--btn);
  border: 1px solid var(--btn);
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.subscribe-btn:hover {
  background: var(--btn-hover);
  border-color: var(--btn-hover);
}

.subscribe--center .subscribe-btn {
  padding: 14px 28px;
}

.subscribe--dark .subscribe-btn {
  color: var(--ink);
  background: var(--peach);
  border-color: var(--peach);
}

.subscribe--dark .subscribe-btn:hover {
  background: var(--peach-hover);
  border-color: var(--peach-hover);
}

.subscribe-help {
  font-size: 12.5px;
  color: var(--help-text);
  margin-top: 9px;
}

.subscribe--center .subscribe-help {
  margin-top: 10px;
  text-align: left;
}

.subscribe-success {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--accent-deep);
  animation: dfFade 0.5s ease both;
}

.subscribe--light .subscribe-success {
  padding: 6px 0;
}

.subscribe--center .subscribe-success {
  font-size: 1.2rem;
}

.subscribe--dark .subscribe-success {
  font-size: 1.1rem;
  color: var(--mist);
}

/* ----------------------------- 8. Buttons ------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.btn--primary {
  padding: 14px 28px;
  color: var(--btn-text);
  background: var(--btn);
  border: 1px solid var(--btn);
  transition: background 0.18s ease, border-color 0.18s ease;
}

.btn--primary:hover {
  background: var(--btn-hover);
  border-color: var(--btn-hover);
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ----------------------- 9. Post detail (article) ---------------------- */
.post {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(36px, 5vw, 64px) var(--pad-x);
  animation: dfRise 0.6s ease both;
}

.post__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  margin-bottom: clamp(28px, 4vw, 44px);
  transition: color 0.18s ease;
}

.post__back:hover {
  color: var(--btn);
}

.post__back:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.post__meta {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.post__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--dot);
}

.post__read {
  color: var(--text-faint);
}

.post__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.018em;
  margin: 0 0 26px;
  color: var(--ink);
  text-wrap: balance;
}

.post__lede {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.9vw, 1.5rem);
  line-height: 1.5;
  font-weight: 400;
  color: var(--accent-deep);
  margin: 0 0 40px;
  text-wrap: pretty;
}

.post__divider {
  border-top: 1px solid var(--border-soft);
  margin: 0 0 40px;
}

/* Prose body: styles the HTML rendered from markdown. */
.post-body {
  font-family: var(--serif);
  font-size: clamp(1.16rem, 1.55vw, 1.28rem);
  line-height: 1.78;
  color: var(--prose-ink);
  text-wrap: pretty;
}

.post-body > :first-child {
  margin-top: 0;
}

.post-body > :last-child {
  margin-bottom: 0;
}

.post-body p {
  margin: 0 0 1.5em;
}

.post-body h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.45rem, 2.2vw, 1.8rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 1.8em 0 0.7em;
}

.post-body h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.2rem, 1.8vw, 1.4rem);
  line-height: 1.25;
  color: var(--ink);
  margin: 1.6em 0 0.6em;
}

.post-body a {
  color: var(--accent);
  border-bottom: 1px solid var(--border-link);
  transition: border-color 0.18s ease;
}

.post-body a:hover {
  border-color: var(--accent);
}

.post-body ul,
.post-body ol {
  margin: 0 0 1.5em;
  padding-left: 1.4em;
}

.post-body li {
  margin: 0 0 0.5em;
}

.post-body blockquote {
  margin: 2.2em 0;
  padding: 4px 0 4px 28px;
  border-left: 3px solid var(--rule-soft);
}

.post-body blockquote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.3vw, 1.85rem);
  line-height: 1.34;
  color: var(--btn);
  margin: 0;
}

.post-body figure {
  margin: 2em 0;
}

.post-body figure img {
  margin: 0;
  width: 100%;
  height: auto;
}

.post-body figcaption {
  font-family: var(--sans);
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--body);
  margin-top: 0.55em;
}

.post-body img {
  border-radius: 4px;
  margin: 2em 0;
}

/* Newsletter CTA below the article. */
.post-cta {
  background: var(--alt);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.post-cta__inner {
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(44px, 6vw, 72px) var(--pad-x);
  text-align: center;
}

.post-cta__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.14;
  letter-spacing: -0.014em;
  margin: 0 0 28px;
  color: var(--ink);
  text-wrap: balance;
}

.post-cta .subscribe--center {
  max-width: 480px;
  margin: 0 auto;
}

.page-article__cta-text {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.62;
  color: var(--body);
  max-width: 54ch;
  margin: 0 auto 30px;
  text-align: left;
}

/* ---------------------------- 10. Responsive --------------------------- */
@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .book-callout__inner {
    grid-template-columns: 1fr;
  }
}

/* ----------------- 11. About + City Council pages ---------------------- */
/* About + City Council use the same 960px well as header, footer, and posts. */
.page-wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(48px, 8vw, 104px) var(--pad-x) clamp(48px, 6vw, 80px);
  animation: dfRise 0.7s ease both;
}

.page-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3vw, 36px);
  align-items: start;
  margin-bottom: clamp(28px, 3.5vw, 44px);
}

.page-hero--split {
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.85fr);
  gap: clamp(28px, 4vw, 48px);
}

@media (max-width: 820px) {
  .page-hero--split {
    grid-template-columns: 1fr;
  }
}

.page-hero__intro .eyebrow {
  margin-bottom: 22px;
}

.page-hero__intro .hero__title {
  margin-bottom: 0;
}

.page-hero__intro .lede {
  margin: 22px 0 0;
  max-width: none;
  font-family: var(--serif);
  font-size: clamp(1.16rem, 1.55vw, 1.28rem);
  line-height: 1.78;
  color: var(--prose-ink);
  text-wrap: pretty;
}

.page-hero__portrait {
  min-width: 0;
}

.page-hero .portrait-frame {
  top: 0;
}

.page-wrap .post-body {
  max-width: none;
}

.page-wrap .post-body:has(.article-photo--float-right) {
  display: flow-root;
}

.page-hero__portrait .portrait-frame__img {
  height: auto;
  aspect-ratio: 16 / 10;
  object-position: 50% 18%;
}

.page-hero--split .portrait-frame__img {
  aspect-ratio: 4 / 5;
  object-position: 50% 42%;
}

.page-wrap .post-body .article-photo {
  margin: clamp(28px, 4vw, 44px) 0;
  top: 0;
}

.page-wrap .post-body .article-photo img {
  margin: 0;
  border-radius: 3px;
}

.page-wrap .post-body .article-photo--float-right {
  float: right;
  width: min(46%, 360px);
  margin: 0.1em 0 1.4em clamp(24px, 3.2vw, 40px);
}

.page-wrap .post-body .article-photo--float-right ~ .article-photo--float-right {
  clear: right;
}

.page-wrap .post-body .article-photo--float-right img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 18%;
}

.page-wrap .post-body .article-photo--portrait img {
  aspect-ratio: 4 / 5;
  object-position: 50% 42%;
}

@media (max-width: 820px) {
  .page-wrap .post-body .article-photo--float-right {
    float: none;
    width: 100%;
    margin: 0 0 1.6em;
  }
}

/* Contact (and other short pages) intro. */
.page-intro {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(48px, 8vw, 104px) var(--pad-x) clamp(28px, 4vw, 44px);
  animation: dfRise 0.7s ease both;
}

.page-intro__eyebrow {
  margin-bottom: 22px;
}

.page-intro__title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.06;
  margin: 0 0 24px;
}

.page-intro__lede {
  max-width: 60ch;
  margin: 0 0 26px;
}

.page-intro__note {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--alt);
  border: 1px solid var(--border-soft);
  border-radius: 100px;
  padding: 8px 16px;
  margin: 0;
}

/* Shared placeholder/content sections (full-bleed bg, centered container). */
.page-section {
  padding: clamp(40px, 6vw, 72px) 0;
}

.page-section--alt {
  background: var(--alt);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.page-section__heading {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  margin: 12px 0 clamp(24px, 3vw, 36px);
}

.page-section__text {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.62;
  color: var(--body);
  max-width: 54ch;
  margin: 0 0 30px;
}

/* Static info cards: the post-card look without the link/hover behavior. */
.info-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border-card);
  border-radius: 6px;
  padding: clamp(26px, 2.6vw, 34px);
}

.info-card__tag {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 14px;
}

.info-card__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  line-height: 1.16;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: var(--ink);
}

.info-card__text {
  font-size: 1.02rem;
  line-height: 1.58;
  color: var(--body-soft);
  margin: 0;
}

/* ----------------------------- 12. Contact ---------------------------- */
.contact {
  max-width: var(--container);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.contact-input {
  width: 100%;
  padding: 13px 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border-field);
  border-radius: 4px;
  outline: none;
}

.contact-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(74, 106, 91, 0.14);
}

.contact-textarea {
  min-height: 150px;
  line-height: 1.6;
  resize: vertical;
}

/* Honeypot field: visually hidden, off-screen, never focusable by humans. */
.contact-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form .btn--primary {
  align-self: flex-start;
}

.contact-alt {
  margin-top: clamp(28px, 4vw, 40px);
}

.contact-alt__text {
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--body);
  margin: 12px 0 0;
}

.contact-alt__text a {
  color: var(--accent);
  border-bottom: 1px solid var(--border-link);
  padding-bottom: 1px;
}

.contact-alt__text a:hover {
  border-color: var(--accent);
}
