:root {
  --bg: #f8f4ec;
  --bg-deep: #f0e7db;
  --paper: rgba(255, 252, 247, 0.82);
  --paper-strong: #fdfaf4;
  --ink: #211b17;
  --muted: #65584f;
  --line: rgba(59, 43, 30, 0.16);
  --accent: #8c6749;
  --accent-deep: #6f4f36;
  --shadow: 0 24px 60px rgba(58, 40, 24, 0.12);
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top, rgba(255, 252, 246, 0.92), transparent 38%),
    linear-gradient(180deg, #f6f0e6 0%, var(--bg) 40%, #fcf8f1 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

.paper-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(104, 83, 57, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(104, 83, 57, 0.04) 1px, transparent 1px);
  background-size: 4px 4px, 4px 4px;
  mix-blend-mode: multiply;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: "Baskerville", "Iowan Old Style", "Palatino Linotype", serif;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
}

.brand-name,
.eyebrow,
.site-nav a,
.contact-label,
.site-footer p:first-child {
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-name,
.site-nav a,
.contact-label,
.site-footer p:first-child {
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  gap: 1.4rem;
}

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

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"],
.contact-card a:hover,
.contact-card a:focus-visible {
  color: var(--accent-deep);
}

main {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

section {
  opacity: 0;
  transform: translateY(20px);
  animation: rise 0.9s ease forwards;
}

section:nth-of-type(2) {
  animation-delay: 0.12s;
}

section:nth-of-type(3) {
  animation-delay: 0.24s;
}

section:nth-of-type(4) {
  animation-delay: 0.36s;
}

section:nth-of-type(5) {
  animation-delay: 0.48s;
}

section:nth-of-type(6) {
  animation-delay: 0.6s;
}

section:nth-of-type(7) {
  animation-delay: 0.72s;
}

.hero,
.page-hero,
.intro,
.split-section,
.process-section,
.quote-section,
.services-section,
.contact-section,
.page-section {
  margin-bottom: 2rem;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero {
  min-height: 72vh;
  padding: 4.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(280px, 0.72fr);
  gap: 1.75rem;
  align-items: start;
}

.page-hero,
.page-section {
  padding: 3.5rem;
}

.page-hero {
  min-height: 46vh;
  display: grid;
  align-content: end;
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.88), rgba(250, 243, 232, 0.9)),
    var(--paper);
}

.page-hero-top {
  min-height: auto;
  align-content: start;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent-deep);
  font-size: 0.8rem;
}

h1,
h2,
h3,
blockquote {
  font-family: "Baskerville", "Iowan Old Style", "Palatino Linotype", serif;
  font-weight: 500;
  line-height: 1.08;
  margin: 0;
}

h1 {
  font-size: clamp(1.3rem, 2.45vw, 2.4rem);
  max-width: 15ch;
}

h2 {
  font-size: clamp(1.3rem, 2.45vw, 2.4rem);
  max-width: 12ch;
}

h3 {
  font-size: 1.55rem;
  margin-bottom: 0.9rem;
}

.lead,
.intro p,
.split-grid p,
.timeline p,
.services-grid p,
.contact-copy p,
.contact-card p {
  color: var(--muted);
  font-size: 1.05rem;
}

.lead {
  max-width: 34rem;
  margin: 1.5rem 0 0;
}

.page-lead {
  max-width: 42rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

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

.button-primary {
  background: var(--accent-deep);
  color: #fffaf5;
}

.button-secondary {
  border: 1px solid var(--line);
  color: var(--ink);
}

.hero-card,
.contact-card {
  padding: 2rem;
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.92), rgba(244, 235, 223, 0.9));
  border: 1px solid rgba(93, 67, 42, 0.14);
}

.hero-visual {
  margin: 0;
  position: relative;
  align-self: stretch;
  min-height: 100%;
  display: flex;
  align-items: end;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 34rem;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(93, 67, 42, 0.14);
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, #faf5ec, #f0e6d7);
}

.hero-visual .hero-card {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  margin: 0;
  backdrop-filter: blur(10px);
}

.card-kicker {
  margin-top: 0;
  color: var(--accent-deep);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-card ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.hero-card li + li {
  margin-top: 0.85rem;
}

.intro,
.split-section,
.process-section,
.services-section,
.contact-section {
  padding: 3.5rem;
}

.two-column-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
  gap: 1.6rem;
  align-items: center;
}

.services-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(280px, 0.72fr);
  gap: 1.6rem;
  align-items: start;
}

.team-header {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 2rem;
  align-items: center;
  margin-bottom: 2rem;
}

.team-intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: center;
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(280px, 0.72fr);
  gap: 1.6rem;
  align-items: start;
}

.process-header {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.8fr);
  gap: 2rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

.process-heading {
  margin-bottom: 0;
}

.process-heading h2 {
  max-width: none;
  font-size: clamp(1.3rem, 2.45vw, 2.4rem);
}

.process-photo {
  margin: 0;
}

.intro-photo {
  margin: 0;
}

.services-photo {
  margin: 0;
  width: min(100%, 32rem);
  justify-self: end;
}

.services-heading {
  margin-bottom: 1.5rem;
}

.services-heading h1,
.contact-hero .section-heading h1,
.page-hero .section-heading h1 {
  max-width: 18ch;
}

.services-hero .page-lead,
.contact-hero .page-lead {
  max-width: 34rem;
}

.intro-photo img,
.services-photo img,
.process-photo img {
  width: 100%;
  aspect-ratio: 5 / 4;
  display: block;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(93, 67, 42, 0.14);
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, #faf5ec, #f0e6d7);
}

.team-photo {
  margin: 0;
}

.team-header-photo {
  margin: 0;
}

.contact-hero-photo {
  margin: 0;
}

.contact-hero-photo img,
.team-header-photo img,
.team-photo img {
  width: 100%;
  display: block;
  border: 1px solid rgba(93, 67, 42, 0.14);
  box-shadow: var(--shadow);
  object-fit: cover;
  background: linear-gradient(180deg, #faf5ec, #f0e6d7);
}

.team-intro-copy .section-heading {
  margin-bottom: 1.5rem;
}

.narrow-copy p,
.text-link {
  color: var(--muted);
}

.narrow-copy p {
  margin-top: 0;
  font-size: 1.05rem;
}

.narrow-copy p + p {
  margin-top: 1rem;
}

.section-heading {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 2rem;
}

.team-heading h2 {
  font-size: clamp(1.3rem, 2.45vw, 2.4rem);
  max-width: 16ch;
  white-space: normal;
}

.team-intro-copy .section-heading h2,
.page-band .section-heading h2 {
  font-size: clamp(1.3rem, 2.45vw, 2.4rem);
  max-width: 15ch;
}

.intro p {
  max-width: 52rem;
  margin: 0;
}

.split-grid,
.services-grid,
.values-grid,
.page-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.bio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.split-grid article,
.values-grid article,
.services-grid article,
.timeline article,
.link-card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  background: rgba(255, 250, 244, 0.64);
}

.bio-grid article {
  padding: 1.4rem;
  border: 1px solid var(--line);
  background: rgba(255, 250, 244, 0.68);
}

.bio-copy .card-kicker {
  margin-bottom: 0.7rem;
}

.bio-copy h3 {
  margin-bottom: 1rem;
}

.link-card {
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.link-card:hover,
.link-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(111, 79, 54, 0.34);
  background: rgba(255, 252, 247, 0.82);
}

.page-band {
  background:
    linear-gradient(180deg, rgba(248, 240, 228, 0.92), rgba(255, 251, 245, 0.78)),
    var(--paper);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.timeline span {
  display: inline-block;
  margin-bottom: 1.25rem;
  color: var(--accent-deep);
  font-family: "Baskerville", "Iowan Old Style", "Palatino Linotype", serif;
  font-size: 1.2rem;
}

.quote-section {
  padding: 4rem 3.5rem;
  background:
    linear-gradient(135deg, rgba(111, 79, 54, 0.96), rgba(68, 50, 37, 0.92)),
    var(--paper);
}

.quote-section blockquote {
  max-width: 18ch;
  color: #fff8ef;
  font-size: clamp(2.3rem, 4vw, 4rem);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 2rem;
  align-items: center;
}

.contact-card a {
  color: var(--ink);
  font-family: "Baskerville", "Iowan Old Style", "Palatino Linotype", serif;
  font-size: 1.7rem;
  text-decoration: none;
}

.text-link {
  font-family: inherit;
  font-size: 1rem;
  text-decoration: underline;
}

.site-footer {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 0.5rem 0 2.5rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  section {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .button,
  .site-nav a,
  .contact-card a {
    transition: none;
  }
}

@media (max-width: 980px) {
  .hero,
  .intro-layout,
  .services-hero,
  .team-header,
  .process-header,
  .team-intro,
  .contact-hero,
  .two-column-copy,
  .contact-section,
  .split-grid,
  .values-grid,
  .bio-grid,
  .page-links,
  .services-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 3rem 2rem;
  }

  .process-heading h2 {
    font-size: clamp(1.3rem, 2.45vw, 2.4rem);
  }

  .hero-visual img {
    min-height: 24rem;
  }

  .intro,
  .split-section,
  .process-section,
  .services-section,
  .contact-section,
  .quote-section {
    padding: 2.5rem 2rem;
  }
}

@media (max-width: 720px) {
  main {
    width: min(calc(100% - 1rem), var(--max-width));
  }

  .site-header {
    width: min(calc(100% - 1rem), var(--max-width));
    padding-top: 1rem;
    flex-direction: column;
    gap: 0.9rem;
    align-items: flex-start;
  }

  .site-nav {
    width: 100%;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  h1 {
    font-size: clamp(2.15rem, 10vw, 3.3rem);
    max-width: none;
  }

  h2 {
    font-size: clamp(2.15rem, 10vw, 3.3rem);
    max-width: none;
  }

  .team-heading h2 {
    white-space: normal;
  }

  h3 {
    font-size: 1.35rem;
  }

  .lead,
  .page-lead,
  .intro p,
  .split-grid p,
  .timeline p,
  .services-grid p,
  .contact-copy p,
  .contact-card p,
  .narrow-copy p {
    font-size: 1rem;
  }

  .hero,
  .page-hero,
  .intro,
  .split-section,
  .process-section,
  .services-section,
  .contact-section,
  .page-section,
  .quote-section {
    padding: 1.5rem;
  }

  .hero {
    gap: 1.5rem;
  }

  .process-header {
    gap: 1.25rem;
    margin-bottom: 1.5rem;
  }

  .process-photo img {
    aspect-ratio: 16 / 11;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    display: block;
  }

  .hero-visual img {
    min-height: 20rem;
    height: auto;
  }

  .hero-visual .hero-card {
    position: static;
    margin-top: 0.85rem;
    left: auto;
    right: auto;
    bottom: auto;
    backdrop-filter: none;
  }

  .timeline article,
  .split-grid article,
  .services-grid article,
  .values-grid article,
  .link-card {
    padding: 1.25rem;
  }

  .contact-card a {
    font-size: 1.35rem;
  }

  .quote-section blockquote {
    max-width: none;
    font-size: clamp(1.85rem, 8vw, 2.5rem);
  }

  .site-footer {
    width: min(calc(100% - 1rem), var(--max-width));
    padding-bottom: 2rem;
  }
}
