:root {
  --ink: #1a1814;
  --ink-soft: #3d3932;
  --muted: #5c574e;
  --paper: #f4efe6;
  --cream: #faf7f1;
  --white: #fffdf8;
  --line: #d4cbb8;
  --copper: #b85c38;
  --copper-dark: #8c3f24;
  --footer: #161412;
  --footer-text: #d8d0c2;
  --shadow: 0 12px 40px rgba(26, 24, 20, 0.08);
  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --space: clamp(1.25rem, 3vw, 2.5rem);
  --max: 72rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
}

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

a {
  color: var(--copper-dark);
}

a:hover {
  color: var(--copper);
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 640;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 239, 230, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header__skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.header__skip:focus {
  left: 1rem;
  top: 0.5rem;
  background: var(--ink);
  color: var(--cream);
  padding: 0.4rem 0.7rem;
}

.header__bar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem var(--space);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
}

.header__mark {
  width: 0.7rem;
  height: 1.6rem;
  background: var(--copper);
}

.header__name {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 640;
}

.header__toggle {
  display: none;
  font-family: var(--sans);
  background: transparent;
  border: 1px solid var(--ink);
  padding: 0.35rem 0.7rem;
  cursor: pointer;
}

.header__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
}

.header__nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}

.header__nav a:hover {
  color: var(--copper);
}

.main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem var(--space) 4rem;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--copper);
  margin: 0 0 0.75rem;
}

.masthead {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 3rem;
}

.masthead__title {
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  margin: 0 0 1rem;
}

.masthead__lead {
  color: var(--ink-soft);
  margin: 0 0 1.5rem;
  max-width: 38rem;
}

.masthead__figure {
  margin: 0;
}

.masthead__figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
}

.masthead__figure figcaption {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.7rem 1.15rem;
  border: 1px solid var(--ink);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn--primary {
  background: var(--ink);
  color: var(--cream);
}

.btn--primary:hover {
  background: var(--copper-dark);
  border-color: var(--copper-dark);
  color: var(--cream);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
}

.btn--ghost:hover {
  background: var(--white);
}

.band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2rem 0;
  margin-bottom: 3rem;
}

.pull {
  margin: 0;
  max-width: 40rem;
}

.pull p {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  line-height: 1.35;
  margin: 0 0 0.75rem;
}

.pull cite {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--muted);
}

.section {
  margin-bottom: 3.5rem;
}

.section__head {
  max-width: 40rem;
  margin-bottom: 1.5rem;
}

.spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.spotlight img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 16rem;
}

.text-link {
  font-weight: 600;
}

.card-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card-grid--services {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0 0 1.1rem;
}

.card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 0.85rem;
}

.card__title,
.card p,
.card time,
.card__eyebrow {
  padding: 0 1rem;
}

.card__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--copper);
  margin: 0;
}

.card__title {
  font-size: 1.25rem;
  margin: 0.35rem 0 0.5rem;
}

.card__title a {
  color: var(--ink);
  text-decoration: none;
}

.card__title a:hover {
  color: var(--copper);
}

.section--split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
}

.quote-stack {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.quote-stack blockquote {
  margin: 0;
  padding: 1rem 0 0;
  border-top: 2px solid var(--copper);
}

.quote-stack cite {
  font-style: normal;
  color: var(--muted);
  font-size: 0.9rem;
}

.quote-stack__service {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--copper);
  margin: 0 0 0.5rem;
}

.journal-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.journal-list li {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.journal-list time {
  color: var(--muted);
}

.page-head {
  max-width: 42rem;
  margin-bottom: 2.5rem;
}

.page-head--wide {
  max-width: 48rem;
}

.page-head h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  margin-top: 2rem;
}

.detail__hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: center;
}

.detail__hero img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid var(--line);
}

.detail__lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
}

.detail__cta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.rate-table-wrap {
  overflow-x: auto;
  margin-bottom: 2rem;
}

.rate-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.98rem;
}

.rate-table th,
.rate-table td {
  border: 1px solid var(--line);
  padding: 0.75rem 0.9rem;
  text-align: left;
  vertical-align: top;
}

.rate-table th {
  background: var(--cream);
  font-weight: 600;
}

.team {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.team__item {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0 0 1rem;
}

.team__item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  margin-bottom: 0.85rem;
}

.team__item h3,
.team__item p {
  padding: 0 1rem;
}

.team__role {
  font-weight: 600;
  color: var(--copper-dark);
}

.case {
  margin-top: 3rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  max-width: 46rem;
}

.post-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.article__head img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin: 1.25rem 0;
  border: 1px solid var(--line);
}

.article__meta {
  color: var(--muted);
}

.lede {
  font-size: 1.2rem;
  color: var(--ink-soft);
}

.page-figure {
  margin: 0 0 2rem;
}

.page-figure img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border: 1px solid var(--line);
}

.page-figure figcaption {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.timeline {
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
}

.timeline li {
  background: var(--white);
  border-left: 3px solid var(--copper);
  padding: 1rem 1.1rem;
}

.timeline h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2rem;
  align-items: start;
}

.form {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.25rem;
  display: grid;
  gap: 0.9rem;
}

.form__field {
  display: grid;
  gap: 0.3rem;
}

.form label {
  font-weight: 600;
  font-size: 0.92rem;
}

.form input,
.form select,
.form textarea {
  font: inherit;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid var(--copper);
  border-color: var(--copper);
}

.form__error {
  color: #8a2a1a;
  font-size: 0.88rem;
  margin: 0;
}

.form__status {
  margin: 0;
  font-weight: 600;
}

.form__status.is-ok {
  color: #2d5a32;
}

.form__status.is-err {
  color: #8a2a1a;
}

.contact-card {
  background: var(--ink);
  color: var(--footer-text);
  padding: 1.4rem;
}

.contact-card h2 {
  color: var(--cream);
  margin-top: 0;
}

.contact-card a {
  color: #e8b39a;
}

.notfound {
  min-height: 50vh;
  display: grid;
  align-content: center;
  max-width: 36rem;
}

.footer {
  background: var(--footer);
  color: var(--footer-text);
  padding: 2.5rem var(--space) 1.5rem;
}

.footer a {
  color: #e8b39a;
  text-decoration: none;
}

.footer a:hover {
  color: #f4efe6;
}

.footer__grid {
  max-width: var(--max);
  margin: 0 auto 1.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr 0.8fr;
  gap: 1.5rem;
}

.footer__brand {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--cream);
  margin: 0 0 0.5rem;
}

.footer__tag,
.footer__plain {
  margin: 0 0 0.4rem;
}

.footer__label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--copper);
  margin: 0 0 0.6rem;
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__list li {
  margin-bottom: 0.35rem;
}

.footer__copy {
  max-width: var(--max);
  margin: 0 auto;
  border-top: 1px solid #3a342c;
  padding-top: 1rem;
  font-size: 0.85rem;
}

.cookie {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  max-width: 26rem;
  background: var(--white);
  border: 1px solid var(--ink);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.cookie__text {
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
}

.cookie__actions {
  display: flex;
  gap: 0.5rem;
}

.cookie__error {
  color: #8a2a1a;
  margin: 0.5rem 0 0;
}

@media (max-width: 900px) {
  .masthead,
  .spotlight,
  .section--split,
  .detail__hero,
  .contact-layout,
  .footer__grid,
  .card-grid,
  .card-grid--services,
  .post-grid,
  .team {
    grid-template-columns: 1fr;
  }

  .journal-list li {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .header__toggle {
    display: inline-block;
  }

  .header__nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 1rem var(--space) 1.2rem;
    flex-direction: column;
  }

  .header__nav.is-open {
    display: flex;
  }

  .header {
    position: sticky;
  }

  .header__bar {
    position: relative;
  }
}
