:root {
  --paper: #f5efe6;
  --paper-soft: #fbf8f2;
  --white: #ffffff;
  --ink: #1f1d1b;
  --text: #4c4741;
  --muted: #756d65;
  --berry: #9f3136;
  --berry-dark: #73262b;
  --clay: #b06b52;
  --sage: #7d8b73;
  --gold: #c59b53;
  --line: rgba(31, 29, 27, 0.14);
  --shadow: 0 18px 45px rgba(31, 29, 27, 0.12);
  --max: 1180px;
  --header-height: 90px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Raleway, "Avenir Next", "Segoe UI", Arial, sans-serif;
}

body.nav-open {
  overflow: hidden;
}

body::selection {
  color: var(--white);
  background: var(--berry);
}

a {
  color: inherit;
}

main section[id] {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

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

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--berry);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 32px;
  padding: 20px max(28px, calc((100vw - var(--max)) / 2));
  background: rgba(245, 239, 230, 0.86);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: background-color 220ms ease, border-color 220ms ease, min-height 220ms ease;
}

.site-header.is-scrolled {
  min-height: 72px;
  background: rgba(251, 248, 242, 0.96);
  border-color: var(--line);
}

.brand {
  display: grid;
  gap: 2px;
  text-decoration: none;
}

.brand-mark,
h1,
h2,
h3,
blockquote,
.footer-title {
  font-family: "Iowan Old Style", Baskerville, "Palatino Linotype", Georgia, serif;
  font-weight: 500;
  letter-spacing: 0;
}

.brand-mark {
  font-size: 2rem;
  line-height: 1;
}

.brand-submark {
  color: var(--berry);
  font-size: 0.85rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  font-size: 0.92rem;
  font-weight: 800;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--berry);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--header-height) + 70px) max(28px, calc((100vw - var(--max)) / 2)) 86px;
  background: #292623;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  left: 38%;
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: calc(100% + 80px);
  object-fit: cover;
  object-position: 50% 18%;
  transform: translateY(var(--hero-y, 0));
  filter: saturate(0.94) contrast(0.98);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(31, 29, 27, 0.98) 0%, rgba(31, 29, 27, 0.88) 39%, rgba(31, 29, 27, 0.2) 70%),
    linear-gradient(180deg, rgba(31, 29, 27, 0.3) 0%, rgba(31, 29, 27, 0.05) 36%, rgba(31, 29, 27, 0.32) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  color: var(--white);
}

.eyebrow,
.section-label,
.service-kicker {
  margin: 0 0 14px;
  color: var(--berry);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.hero .credential {
  color: rgba(255, 255, 255, 0.86);
}

.credential {
  margin: 0 0 22px;
  font-size: 0.95rem;
  font-weight: 800;
}

h1,
h2,
h3,
p,
blockquote {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 26px;
  color: var(--white);
  font-size: 5.8rem;
  line-height: 0.92;
}

h2 {
  max-width: 740px;
  color: var(--ink);
  font-size: 3.9rem;
  line-height: 0.98;
}

h3 {
  color: var(--ink);
  font-size: 1.65rem;
  line-height: 1.1;
}

.hero-line {
  max-width: 620px;
  margin-bottom: 20px;
  color: var(--paper-soft);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.42;
}

.hero-copy,
.story-copy p,
.chapter-heading p,
.editorial-copy p,
.service-card p,
.service-card li,
.process-list p,
.faq-item p,
.contact-copy p,
.substack-section p,
.payment-note,
.site-footer p,
.form-note {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.75;
}

.hero-copy {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--berry);
  box-shadow: 0 16px 34px rgba(115, 38, 43, 0.24);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--berry-dark);
}

.button-light {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
}

.button-outline {
  color: var(--berry);
  border-color: rgba(159, 49, 54, 0.34);
  background: transparent;
}

.contact-section .button-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.contact-section .button-outline:hover,
.contact-section .button-outline:focus-visible {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
}

.scroll-cue {
  position: absolute;
  left: max(28px, calc((100vw - var(--max)) / 2));
  bottom: 34px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll-cue span {
  width: 34px;
  height: 1px;
  background: currentColor;
}

.story-band,
.split-section,
.work-section,
.services-section,
.testimonials-section,
.process-section,
.faq-section,
.substack-section {
  padding: 92px max(28px, calc((100vw - var(--max)) / 2));
}

.story-band,
.section-paper,
.faq-section {
  background: var(--paper-soft);
}

.story-band {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
  min-height: 560px;
}

.story-band .chapter-heading {
  margin-bottom: 0;
}

.story-band .wide-copy {
  max-width: 680px;
}

.section-cream,
.work-section,
.substack-section {
  background: var(--paper);
}

.chapter-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 38px;
}

.chapter-heading.centered {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.chapter-heading.centered h2,
.chapter-heading.centered p {
  margin-left: auto;
  margin-right: auto;
}

.wide-copy {
  max-width: 820px;
}

.image-text-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
  padding: 92px max(28px, calc((100vw - var(--max)) / 2));
}

.editorial-image,
.contact-media {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.editorial-image {
  aspect-ratio: 4 / 5;
}

.editorial-image img,
.contact-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.editorial-image:hover img,
.contact-media:hover img {
  transform: scale(1.035);
}

.editorial-copy,
.split-copy,
.story-copy,
.contact-copy {
  max-width: 720px;
}

.statement-section {
  padding: 110px max(28px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background: var(--ink);
}

.statement-inner {
  max-width: 1000px;
}

.statement-section .section-label {
  color: var(--gold);
}

blockquote {
  margin: 0;
  color: inherit;
  font-size: 4.1rem;
  line-height: 1.04;
}

.testimonials-section {
  background: var(--paper);
}

.featured-testimonial {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 34px;
  align-items: start;
  margin-bottom: 18px;
  padding: 34px;
  border: 1px solid rgba(159, 49, 54, 0.22);
  border-radius: 8px;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.testimonial-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.featured-testimonial blockquote,
.testimonial-card blockquote {
  margin: 0;
  font-size: 1.52rem;
  line-height: 1.38;
}

.featured-testimonial blockquote {
  max-width: 760px;
  color: var(--white);
  font-size: 2.45rem;
  line-height: 1.12;
}

.testimonial-author,
.testimonial-card p {
  margin: 18px 0 0;
  color: var(--gold);
  font-size: 0.95rem;
  font-weight: 900;
}

.testimonial-detail {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.testimonial-detail summary {
  cursor: pointer;
  color: var(--white);
  font-weight: 900;
}

.testimonial-detail p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
  line-height: 1.68;
}

.testimonial-detail p:first-of-type {
  margin-top: 16px;
}

.testimonial-detail p:last-child {
  margin-bottom: 0;
}

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

.testimonial-card {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 26px rgba(31, 29, 27, 0.06);
}

.testimonial-card blockquote {
  color: var(--ink);
}

.testimonial-card p {
  color: var(--berry);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: 60px;
}

.snapshot-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.snapshot-form label {
  display: grid;
  gap: 8px;
}

.snapshot-form span {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
}

.snapshot-form input,
.snapshot-form select,
.snapshot-form textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(31, 29, 27, 0.18);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--paper-soft);
  font: inherit;
}

.snapshot-form textarea {
  resize: vertical;
}

.snapshot-form input:focus,
.snapshot-form select:focus,
.snapshot-form textarea:focus {
  outline: 2px solid rgba(159, 49, 54, 0.26);
  border-color: var(--berry);
}

.full-field {
  grid-column: 1 / -1;
}

.snapshot-form .button {
  align-self: end;
  width: auto;
  min-width: 260px;
}

.form-note {
  grid-column: span 2;
  align-self: center;
  margin: 0;
  font-size: 0.92rem;
}

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

.service-card {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  min-height: 100%;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 26px rgba(31, 29, 27, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(159, 49, 54, 0.32);
  box-shadow: var(--shadow);
}

.feature-card {
  background: #fff8f5;
  border-color: rgba(159, 49, 54, 0.22);
}

.service-card h3 {
  min-height: 0;
}

.service-card ul {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
  padding-left: 18px;
}

.service-card li {
  font-size: 1rem;
  line-height: 1.58;
}

.service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.service-footer strong {
  color: var(--berry-dark);
}

.service-footer a {
  color: var(--berry);
  font-weight: 900;
  text-decoration: none;
}

.payment-note {
  max-width: 760px;
  margin: 24px auto 0;
  color: var(--muted);
  text-align: center;
  font-size: 0.95rem;
}

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

.process-list article {
  padding-top: 24px;
  border-top: 2px solid var(--berry);
}

.process-list span {
  color: var(--gold);
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border-top: 1px solid var(--line);
  background: transparent;
}

.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 70px;
  cursor: pointer;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 900;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--berry);
  font-size: 1.5rem;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  max-width: 820px;
  margin: 0 0 24px;
}

.contact-section {
  grid-template-columns: minmax(380px, 0.92fr) minmax(0, 1fr);
  gap: 72px;
  padding-top: 112px;
  padding-bottom: 112px;
  background: var(--ink);
  color: var(--white);
}

.contact-media {
  aspect-ratio: 5 / 6;
  min-height: 560px;
}

.contact-copy h2,
.contact-copy p {
  color: var(--white);
}

.contact-copy .section-label {
  color: var(--gold);
}

.substack-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 0.9fr);
  gap: 32px;
  align-items: center;
}

.substack-section p {
  max-width: 760px;
}

.substack-copy .button {
  margin-top: 18px;
}

.substack-card-link {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.substack-card-link img {
  width: 100%;
  height: auto;
  transition: transform 700ms ease;
}

.substack-card-link:hover img,
.substack-card-link:focus-visible img {
  transform: scale(1.025);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding: 34px max(28px, calc((100vw - var(--max)) / 2));
  color: var(--paper-soft);
  background: var(--berry-dark);
}

.site-footer p {
  margin: 0;
  color: inherit;
}

.footer-title {
  margin-bottom: 4px;
  font-size: 1.6rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 640ms ease, transform 640ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  h1 {
    font-size: 4.7rem;
  }

  h2,
  blockquote {
    font-size: 3.2rem;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 76px;
  }

  .site-header {
    position: sticky;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px 18px;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 16px;
    padding-bottom: 4px;
  }

  main section[id] {
    scroll-margin-top: 168px;
  }

  .hero {
    min-height: 88svh;
    padding: 120px 22px 72px;
  }

  .hero-media img {
    object-position: 58% 18%;
  }

  .hero-media {
    left: 0;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(31, 29, 27, 0.84), rgba(31, 29, 27, 0.44)),
      linear-gradient(180deg, rgba(31, 29, 27, 0.2), rgba(31, 29, 27, 0.48));
  }

  h1 {
    font-size: 3.8rem;
  }

  h2,
  blockquote {
    font-size: 2.7rem;
  }

  .story-band,
  .split-section,
  .work-section,
  .services-section,
  .testimonials-section,
  .process-section,
  .faq-section,
  .substack-section,
  .image-text-section,
  .contact-section,
  .statement-section {
    padding: 68px 22px;
  }

  .image-text-section,
  .contact-section,
  .story-band,
  .split-section,
  .featured-testimonial,
  .substack-section {
    grid-template-columns: 1fr;
  }

  .story-band {
    gap: 24px;
    min-height: auto;
  }

  .snapshot-form,
  .testimonial-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .contact-media {
    min-height: 0;
  }

  .featured-testimonial blockquote {
    font-size: 2rem;
  }

  .form-note {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  .brand-mark {
    font-size: 1.7rem;
  }

  .site-nav {
    font-size: 0.84rem;
  }

  .hero {
    min-height: 92svh;
  }

  .hero-media img {
    object-position: 58% 20%;
  }

  h1 {
    font-size: 3rem;
  }

  h2,
  blockquote {
    font-size: 2.25rem;
  }

  .featured-testimonial {
    padding: 24px;
  }

  .featured-testimonial blockquote,
  .testimonial-card blockquote {
    font-size: 1.35rem;
  }

  .hero-line {
    font-size: 1.08rem;
  }

  .hero-copy,
  .story-copy p,
  .chapter-heading p,
  .editorial-copy p,
  .service-card p,
  .service-card li,
  .process-list p,
  .faq-item p,
  .contact-copy p,
  .substack-section p {
    font-size: 1rem;
    line-height: 1.62;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

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

  .service-card h3 {
    min-height: 0;
  }

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

  .faq-item summary {
    min-height: 64px;
    font-size: 1rem;
  }

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

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

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
