/* ===========================================================
   Wes Harris — personal brand site
   Warm Southern editorial meets modern clean advisor
   =========================================================== */

:root {
  /* Palette — warm, rooted, zero State-Farm-red */
  --ivory: #F7F2E9;            /* page bg — warm cream */
  --ivory-2: #F0E9DB;          /* cards / soft blocks */
  --bone: #FBF8F2;             /* lightest surface */
  --ink: #1C1A16;              /* primary text — nearly black, warm */
  --ink-2: #3A362E;            /* secondary text */
  --ink-3: #6B6458;            /* muted */
  --rule: #D8CFBE;             /* hairline / dividers */
  --brass: #8A5A1E;            /* primary accent — burnished brass / bourbon */
  --brass-2: #A77031;          /* accent hover */
  --brass-ink: #4E3514;        /* deepest brass for small type on ivory */
  --moss: #4A5942;             /* secondary — sage/moss, rooted */
  --moss-2: #5E6E54;
  --clay: #B05A3A;             /* small highlight only */
  --white: #FFFFFF;

  /* Type */
  --serif: "Newsreader", "Source Serif 4", Georgia, serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  /* Scale — editorial */
  --step--1: clamp(0.82rem, 0.78rem + 0.2vw, 0.92rem);
  --step-0:  clamp(1.00rem, 0.95rem + 0.25vw, 1.12rem);
  --step-1:  clamp(1.18rem, 1.10rem + 0.4vw, 1.35rem);
  --step-2:  clamp(1.45rem, 1.30rem + 0.7vw, 1.75rem);
  --step-3:  clamp(1.85rem, 1.55rem + 1.5vw, 2.50rem);
  --step-4:  clamp(2.35rem, 1.85rem + 2.5vw, 3.60rem);
  --step-5:  clamp(3.00rem, 2.20rem + 4.0vw, 5.20rem);
  --step-6:  clamp(4.00rem, 2.50rem + 6.5vw, 7.50rem);

  /* Rhythm */
  --container: 1200px;
  --container-wide: 1400px;
  --container-read: 720px;
  --radius: 6px;
  --radius-lg: 12px;
}

/* Reset-ish */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.55;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }

/* Type utilities */
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
.sans  { font-family: var(--sans); }
.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brass-ink);
  font-weight: 500;
}
.muted { color: var(--ink-3); }

/* Containers */
.container     { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.container-wide{ width: 100%; max-width: var(--container-wide); margin: 0 auto; padding: 0 28px; }
.read          { width: 100%; max-width: var(--container-read); margin: 0 auto; padding: 0 28px; }

/* Dividers */
.rule { height: 1px; background: var(--rule); border: 0; }
.rule-strong { height: 1px; background: var(--ink); border: 0; opacity: 0.3; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  font-family: var(--sans); font-weight: 500; font-size: 0.95rem;
  letter-spacing: 0.01em;
  border-radius: 999px;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--ivory);
}
.btn-primary:hover { background: var(--brass-ink); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--ivory); }
.btn-brass {
  background: var(--brass);
  color: var(--bone);
}
.btn-brass:hover { background: var(--brass-2); }
.btn-sm { padding: 10px 16px; font-size: 0.85rem; }

/* Link with arrow */
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.2s ease, gap 0.2s ease;
}
.link-arrow:hover { border-color: var(--ink); gap: 12px; }
.link-arrow .arrow { transition: transform 0.2s ease; }
.link-arrow:hover .arrow { transform: translateX(2px); }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--ivory) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px;
  max-width: var(--container-wide); margin: 0 auto;
}
.nav-brand {
  display: flex; align-items: center; gap: 12px;
  cursor: pointer;
}
.nav-monogram {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--ink); color: var(--ivory);
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 500; font-size: 1rem;
  letter-spacing: 0.02em;
}
.nav-brand-text { line-height: 1.1; }
.nav-brand-name { font-family: var(--serif); font-size: 1.05rem; font-weight: 500; letter-spacing: -0.01em; }
.nav-brand-sub { font-size: 0.72rem; color: var(--ink-3); letter-spacing: 0.02em; }

.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-link {
  font-size: 0.92rem;
  color: var(--ink-2);
  font-weight: 450;
  cursor: pointer;
  position: relative;
  padding: 4px 0;
  transition: color 0.15s ease;
}
.nav-link:hover { color: var(--ink); }
.nav-link.active { color: var(--ink); }
.nav-link.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -22px;
  height: 2px; background: var(--brass);
}

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--ink);
  display: inline-flex; align-items: center; gap: 8px;
}
.nav-phone .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--moss); }
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-phone span { display: none; }
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--ink);
  color: var(--ivory);
  padding: 80px 0 40px;
  margin-top: 120px;
}
.footer a { color: var(--ivory); opacity: 0.75; }
.footer a:hover { opacity: 1; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
}
.footer h5 {
  font-family: var(--sans); font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.16em; font-weight: 500; color: var(--ivory); opacity: 0.5;
  margin: 0 0 18px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 0.95rem; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(247,242,233,0.12);
  font-size: 0.82rem;
  color: rgba(247,242,233,0.55);
}
.footer-name { font-family: var(--serif); font-size: 1.9rem; margin: 0 0 12px; font-weight: 400; }
.footer-blurb { font-size: 0.95rem; line-height: 1.6; color: rgba(247,242,233,0.75); max-width: 340px; }
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
}

/* ---------- HOME HERO ---------- */
.hero {
  padding: 80px 0 60px;
  position: relative;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 80px;
  align-items: end;
}
.hero-kicker {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 28px;
}
.hero-kicker-line { width: 40px; height: 1px; background: var(--brass); }
.hero h1 {
  font-family: var(--serif);
  font-size: var(--step-6);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0 0 36px;
  color: var(--ink);
}
.hero h1 em {
  font-style: italic;
  color: var(--brass-ink);
  font-weight: 400;
}
.hero-sub {
  font-family: var(--serif);
  font-size: var(--step-2);
  font-weight: 300;
  line-height: 1.35;
  color: var(--ink-2);
  max-width: 28ch;
  margin: 0 0 42px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.hero-side {
  padding-bottom: 8px;
}
.hero-card {
  background: var(--bone);
  border: 1px solid var(--rule);
  padding: 28px;
  border-radius: var(--radius-lg);
}
.hero-portrait {
  aspect-ratio: 4/5;
  background: linear-gradient(145deg, var(--ivory-2), #E6DCC6);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
  display: grid; place-items: center;
}
.portrait-placeholder {
  font-family: var(--serif);
  font-size: 5rem;
  color: var(--brass);
  opacity: 0.45;
  letter-spacing: -0.03em;
}
.portrait-tag {
  position: absolute; bottom: 16px; left: 16px;
  background: var(--ivory);
  padding: 6px 10px; border-radius: 4px;
  font-size: 0.72rem;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
.hero-card-meta { display: grid; gap: 10px; font-size: 0.88rem; }
.hero-card-meta .row { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--rule); padding-bottom: 8px; }
.hero-card-meta .row:last-child { border-bottom: 0; padding-bottom: 0; }
.hero-card-meta .row .k { color: var(--ink-3); }
.hero-card-meta .row .v { color: var(--ink); font-weight: 500; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
}

/* ---------- SECTION ATOMS ---------- */
.section { padding: 100px 0; }
.section-tight { padding: 70px 0; }
.section-header {
  display: grid; grid-template-columns: 1fr auto; align-items: end;
  gap: 40px; margin-bottom: 50px;
}
.section-title {
  font-family: var(--serif);
  font-size: var(--step-4);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 12px 0 0;
  max-width: 18ch;
}
.section-title em { font-style: italic; color: var(--brass-ink); font-weight: 400; }

/* ---------- SERVICES STRIP ---------- */
.services-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.service-item {
  padding: 36px 24px 42px;
  border-right: 1px solid var(--rule);
  cursor: pointer;
  transition: background 0.2s ease;
}
.service-item:last-child { border-right: 0; }
.service-item:hover { background: var(--bone); }
.service-item .num {
  font-family: var(--sans);
  font-size: 0.72rem;
  color: var(--ink-3);
  letter-spacing: 0.1em;
  margin-bottom: 40px;
}
.service-item .name {
  font-family: var(--serif);
  font-size: var(--step-2);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin-bottom: 10px;
}
.service-item .desc {
  font-size: 0.88rem;
  color: var(--ink-3);
  line-height: 1.5;
}
@media (max-width: 900px) {
  .services-list { grid-template-columns: 1fr 1fr; }
  .service-item:nth-child(odd) { border-right: 1px solid var(--rule); }
  .service-item:nth-child(even) { border-right: 0; }
  .service-item { border-bottom: 1px solid var(--rule); }
}

/* ---------- CREDENTIALS ---------- */
.cred-band {
  background: var(--ink);
  color: var(--ivory);
  padding: 80px 0;
}
.cred-band .section-title { color: var(--ivory); }
.cred-band .eyebrow { color: #D9B77A; }
.cred-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(247,242,233,0.1);
  margin-top: 40px;
}
.cred-cell {
  background: var(--ink);
  padding: 28px 24px 32px;
}
.cred-cell .big {
  font-family: var(--serif);
  font-size: var(--step-3);
  font-weight: 400;
  color: #E8C78A;
  line-height: 1;
  margin-bottom: 12px;
}
.cred-cell .label {
  font-size: 0.82rem;
  color: rgba(247,242,233,0.7);
  line-height: 1.5;
}
@media (max-width: 900px) { .cred-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- ARTICLES LIST ---------- */
.articles-list { display: grid; gap: 0; }
.article-row {
  display: grid; grid-template-columns: 110px 1.4fr 1fr auto;
  gap: 32px; align-items: center;
  padding: 28px 0;
  border-top: 1px solid var(--rule);
  cursor: pointer;
  transition: padding 0.2s ease;
}
.article-row:last-child { border-bottom: 1px solid var(--rule); }
.article-row:hover { padding-left: 10px; padding-right: 10px; }
.article-row .date {
  font-size: 0.82rem;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.article-row .title-link {
  font-family: var(--serif);
  font-size: var(--step-2);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--ink);
}
.article-row .title-link em { color: var(--brass-ink); font-style: italic; }
.article-row .category {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--moss);
}
.article-row .read-time { font-size: 0.82rem; color: var(--ink-3); }
@media (max-width: 820px) {
  .article-row { grid-template-columns: 1fr; gap: 10px; padding: 22px 0; }
  .article-row .title-link { font-size: 1.25rem; }
}

/* Featured article */
.article-feature {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 0;
}
.article-feature .f-media {
  aspect-ratio: 5/4;
  background: linear-gradient(130deg, var(--ivory-2), #DFD3B8);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.article-feature .f-media::after {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, transparent 0 12px, rgba(138,90,30,0.05) 12px 13px);
}
.article-feature .f-media .f-label {
  position: absolute; top: 20px; left: 20px;
  background: var(--ivory); padding: 6px 12px; border-radius: 4px;
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-2);
}
.article-feature .f-content .category {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--moss);
  margin-bottom: 18px;
  display: block;
}
.article-feature h3 {
  font-family: var(--serif);
  font-size: var(--step-4);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 0 0 20px;
}
.article-feature h3 em { font-style: italic; color: var(--brass-ink); }
.article-feature .f-excerpt {
  font-size: 1.05rem;
  color: var(--ink-2);
  line-height: 1.6;
  margin: 0 0 24px;
  max-width: 42ch;
}
@media (max-width: 900px) {
  .article-feature { grid-template-columns: 1fr; gap: 30px; }
}

/* ---------- PULL QUOTE / MANIFESTO ---------- */
.manifesto {
  padding: 140px 0;
  background: var(--bone);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.manifesto blockquote {
  font-family: var(--serif);
  font-size: var(--step-4);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
  max-width: 20ch;
}
.manifesto blockquote em { font-style: italic; color: var(--brass-ink); }
.manifesto .attr {
  margin-top: 36px;
  display: flex; align-items: center; gap: 14px;
  font-size: 0.9rem;
  color: var(--ink-3);
}
.manifesto .attr-line { width: 36px; height: 1px; background: var(--ink-3); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 0; }
.faq-item {
  border-top: 1px solid var(--rule);
  padding: 28px 0;
  cursor: pointer;
}
.faq-item:last-child { border-bottom: 1px solid var(--rule); }
.faq-q {
  display: grid; grid-template-columns: 1fr auto; align-items: baseline;
  gap: 24px;
  font-family: var(--serif);
  font-size: var(--step-2);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.faq-toggle {
  font-family: var(--sans);
  font-size: 1.4rem;
  color: var(--brass);
  transition: transform 0.2s ease;
}
.faq-item[data-open="true"] .faq-toggle { transform: rotate(45deg); }
.faq-a {
  display: none;
  margin-top: 16px;
  color: var(--ink-2);
  line-height: 1.65;
  max-width: 60ch;
  font-size: 1rem;
}
.faq-item[data-open="true"] .faq-a { display: block; }

/* ---------- CONTACT ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-cards { display: grid; gap: 20px; }
.contact-card {
  background: var(--bone);
  border: 1px solid var(--rule);
  padding: 28px;
  border-radius: var(--radius-lg);
}
.contact-card h4 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0 0 6px;
}
.contact-card .detail {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--brass-ink);
  margin: 14px 0 4px;
  letter-spacing: -0.01em;
}
.contact-card .sub { color: var(--ink-3); font-size: 0.9rem; }

form.contact-form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  font-weight: 500;
}
.field input, .field textarea, .field select {
  font: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  background: var(--bone);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  color: var(--ink);
  transition: border-color 0.15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--ink);
}
.field textarea { min-height: 130px; resize: vertical; font-family: var(--sans); }
@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- ARTICLE PAGE ---------- */
.post-hero {
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 60px;
}
.post-meta {
  display: flex; gap: 14px; align-items: center;
  font-size: 0.85rem;
  color: var(--ink-3);
  margin-bottom: 22px;
}
.post-meta .category {
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--moss); font-weight: 500;
}
.post-meta .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--rule); }
.post-hero h1 {
  font-family: var(--serif);
  font-size: var(--step-5);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  max-width: 18ch;
}
.post-hero h1 em { font-style: italic; color: var(--brass-ink); }
.post-dek {
  font-family: var(--serif);
  font-size: var(--step-1);
  font-weight: 300;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 55ch;
}
.post-byline {
  display: flex; align-items: center; gap: 14px;
  margin-top: 32px;
}
.post-byline .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: var(--ivory);
  display: grid; place-items: center;
  font-family: var(--serif);
}
.post-byline .who { font-weight: 500; font-size: 0.95rem; }
.post-byline .what { font-size: 0.82rem; color: var(--ink-3); }

.post-body { font-size: 1.075rem; line-height: 1.75; color: var(--ink); }
.post-body > * + * { margin-top: 1.4em; }
.post-body h2 {
  font-family: var(--serif);
  font-size: var(--step-3);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin-top: 2em;
}
.post-body h3 {
  font-family: var(--serif);
  font-size: var(--step-1);
  font-weight: 500;
  margin-top: 1.8em;
}
.post-body p { margin: 0; }
.post-body ul, .post-body ol { padding-left: 1.3em; margin: 0; }
.post-body li + li { margin-top: 0.5em; }
.post-body blockquote {
  font-family: var(--serif);
  font-size: var(--step-2);
  font-weight: 300;
  font-style: italic;
  line-height: 1.3;
  color: var(--ink-2);
  border-left: 2px solid var(--brass);
  padding: 6px 0 6px 28px;
  margin: 2em 0;
}
.post-body .callout {
  background: var(--bone);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--brass);
  padding: 22px 26px;
  border-radius: var(--radius);
  margin: 2em 0;
}
.post-body .callout h4 {
  font-family: var(--sans); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--brass-ink); margin: 0 0 8px; font-weight: 600;
}
.post-body .callout p { font-size: 0.98rem; line-height: 1.65; }

.post-end {
  margin-top: 60px;
  padding: 40px 0;
  border-top: 1px solid var(--rule);
  display: grid;
  gap: 24px;
}

/* Related articles */
.related {
  background: var(--ivory-2);
  padding: 80px 0;
  margin-top: 80px;
}

/* ---------- ABOUT PAGE ---------- */
.about-hero {
  padding: 80px 0 60px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-hero h1 {
  font-family: var(--serif);
  font-size: var(--step-5);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 24px 0 32px;
}
.about-hero h1 em { font-style: italic; color: var(--brass-ink); }
.about-hero .lede {
  font-family: var(--serif);
  font-size: var(--step-2);
  font-weight: 300;
  line-height: 1.3;
  color: var(--ink-2);
  margin: 0 0 32px;
  max-width: 30ch;
}
.about-portrait {
  aspect-ratio: 4/5;
  background: linear-gradient(145deg, var(--ivory-2), #DFD3B8);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  display: grid; place-items: center;
}
.about-timeline {
  padding: 80px 0;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 80px;
}
.timeline-list { display: grid; gap: 30px; }
.timeline-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--rule);
}
.timeline-item:last-child { border-bottom: 0; }
.timeline-year {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--brass-ink);
  font-weight: 400;
}
.timeline-body h4 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  margin: 0 0 6px;
}
.timeline-body p { color: var(--ink-2); margin: 0; line-height: 1.6; }
@media (max-width: 820px) {
  .about-hero { grid-template-columns: 1fr; gap: 30px; }
  .about-timeline { grid-template-columns: 1fr; gap: 30px; }
}

/* ---------- SERVICES PAGE ---------- */
.service-block {
  padding: 80px 0;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 0.3fr 1.2fr 0.8fr;
  gap: 60px;
  align-items: start;
}
.service-block .s-num {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--brass);
}
.service-block h2 {
  font-family: var(--serif);
  font-size: var(--step-4);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0 0 24px;
}
.service-block .s-desc {
  font-size: 1.05rem;
  color: var(--ink-2);
  line-height: 1.7;
  max-width: 55ch;
}
.service-block .s-list {
  list-style: none;
  padding: 0; margin: 20px 0 0;
  display: grid; gap: 8px;
}
.service-block .s-list li {
  padding: 6px 0;
  font-size: 0.95rem;
  color: var(--ink-2);
  border-bottom: 1px dashed var(--rule);
}
.service-block aside {
  background: var(--bone);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--rule);
}
.service-block aside h5 {
  font-family: var(--sans); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--brass-ink); margin: 0 0 10px; font-weight: 600;
}
.service-block aside p { font-size: 0.9rem; color: var(--ink-2); line-height: 1.6; margin: 0; }
@media (max-width: 900px) {
  .service-block { grid-template-columns: 1fr; gap: 20px; }
  .service-block .s-num { font-size: 2rem; }
}

/* ---------- TWEAKS PANEL ---------- */
#tweaks {
  position: fixed;
  bottom: 20px; right: 20px;
  width: 280px;
  background: var(--ink);
  color: var(--ivory);
  padding: 20px;
  border-radius: var(--radius-lg);
  z-index: 100;
  display: none;
  font-size: 0.88rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}
#tweaks.open { display: block; }
#tweaks h5 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
#tweaks .tw-row { display: grid; gap: 6px; margin-bottom: 12px; }
#tweaks .tw-row label {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.6;
}
#tweaks select {
  font: inherit;
  padding: 8px 10px;
  background: rgba(247,242,233,0.1);
  border: 1px solid rgba(247,242,233,0.2);
  color: var(--ivory);
  border-radius: 4px;
}

/* Theme variations */
body[data-accent="moss"] { --brass: #4A5942; --brass-2: #5E6E54; --brass-ink: #2F3A27; }
body[data-accent="clay"] { --brass: #A14A2B; --brass-2: #B9603F; --brass-ink: #6B2E18; }
body[data-accent="ink"]  { --brass: #1C1A16; --brass-2: #3A362E; --brass-ink: #1C1A16; }

body[data-bg="bone"]  { --ivory: #FBF8F2; --ivory-2: #F0E9DB; }
body[data-bg="paper"] { --ivory: #EFE9DC; --ivory-2: #E4DCC8; }
body[data-bg="warm"]  { --ivory: #F2E8D5; --ivory-2: #E8DCC1; }

/* Prevent FOUT */
.is-loading { visibility: hidden; }
