:root {
  --paper: #f6f1e8;
  --paper-tint: #efe6d6;
  --ink: #1c1916;
  --ink-soft: #4a433c;
  --muted: #8a8175;
  --line: #d9d0c4;
  --copper: #9a3b1a;
  --copper-deep: #7a2e14;
  --moss: #3d5a45;
  --surface: #fffbf5;
  --font-display: "Fraunces", "Palatino Linotype", Palatino, serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --space: clamp(1.25rem, 3vw, 2.5rem);
  --max: 72rem;
  --radius: 2px;
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

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

.header__skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.4rem 0.7rem;
}

.header__skip:focus {
  top: 0.75rem;
}

.header__inner {
  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);
  font-family: var(--font-display);
  font-weight: 600;
}

.header__mark {
  width: 1.35rem;
  height: 1.35rem;
  border: 1.5px solid var(--copper);
  box-shadow: 0.35rem 0.35rem 0 0 var(--moss);
}

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

.header__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header__link {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
}

.header__link.is-current,
.header__link:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

.header__link--emphasis {
  color: var(--copper);
  font-weight: 600;
}

.main {
  min-height: 60vh;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: calc(100vh - 4.5rem);
}

.hero__figure {
  margin: 0;
  position: relative;
  overflow: hidden;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 28rem;
}

.hero__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 0.85rem 1.25rem;
  background: linear-gradient(transparent, rgba(28, 25, 22, 0.78));
  color: var(--paper);
  font-size: 0.95rem;
}

.hero__copy {
  padding: clamp(2rem, 6vw, 4.5rem) var(--space);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--line);
}

.hero__title {
  font-size: clamp(2rem, 4vw, 3.35rem);
  margin: 0.35rem 0 1rem;
}

.hero__lede {
  color: var(--ink-soft);
  max-width: 36rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--moss);
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.2rem;
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  border-radius: var(--radius);
}

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

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

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

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

.band {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--space);
}

.band--tint {
  max-width: none;
  background: var(--paper-tint);
  padding-left: max(var(--space), calc((100% - var(--max)) / 2 + var(--space)));
  padding-right: max(var(--space), calc((100% - var(--max)) / 2 + var(--space)));
}

.band__heading {
  margin-top: 0;
}

.band__intro {
  max-width: 40rem;
  color: var(--ink-soft);
}

.band__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.35rem 1.4rem;
}

.panel__kicker {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--moss);
  font-weight: 700;
}

.plain-list {
  margin: 0;
  padding-left: 1.1rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.split__figure {
  margin: 0;
  border: 1px solid var(--line);
}

.steps {
  padding-left: 1.2rem;
}

.steps li {
  margin-bottom: 0.85rem;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
}

.card__img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
}

.card__body {
  padding: 1rem 1.1rem 1.2rem;
}

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

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

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

.pull {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 500;
  line-height: 1.4;
}

.pull footer {
  margin-top: 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink-soft);
}

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

.note-list__item {
  border-top: 1px solid var(--line);
  padding: 1.1rem 0;
}

.note-list__item time {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.note-list__item a {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink);
  text-decoration: none;
}

.page {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) var(--space) 4rem;
}

.page--narrow {
  max-width: 40rem;
}

.page__header {
  max-width: 42rem;
  margin-bottom: 2rem;
}

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

.page__hero-fig {
  margin: 0 0 2rem;
}

.page__hero-fig img {
  width: 100%;
  max-height: 28rem;
  object-fit: cover;
  border: 1px solid var(--line);
}

.prose {
  max-width: 42rem;
}

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

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

.service-list__item,
.journal__item {
  display: grid;
  grid-template-columns: 18rem 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.service-list__item img,
.journal__item img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
  border: 1px solid var(--line);
}

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

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

.team-card img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  object-position: top;
}

.team-card h3,
.team-card p {
  padding: 0 1rem;
}

.team-card__role {
  color: var(--moss);
  font-weight: 600;
  margin-top: 0;
}

.quotes {
  list-style: none;
  padding: 0;
  margin: 0 0 3rem;
}

.quotes__item {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0;
}

.quotes blockquote {
  margin: 0;
}

.quotes footer {
  display: flex;
  flex-direction: column;
  margin-top: 0.8rem;
  color: var(--ink-soft);
}

.quotes__service {
  color: var(--copper);
  font-size: 0.9rem;
}

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

.form__field {
  margin-bottom: 1rem;
}

.form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--line);
  background: var(--surface);
  font: inherit;
  color: var(--ink);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid var(--moss);
  outline-offset: 1px;
}

.form__error,
.cookie__error {
  color: var(--copper-deep);
  font-size: 0.9rem;
  margin: 0.3rem 0 0;
}

.form__status {
  margin-top: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--moss);
  background: var(--surface);
}

.form__status.is-error {
  border-color: var(--copper);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

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

.footer {
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: var(--paper);
  padding: 2.5rem var(--space) 1.5rem;
}

.footer a {
  color: #f0d2c4;
}

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

.footer__name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 0 0 0.4rem;
}

.footer__label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: #c4b8a8;
}

.footer__address {
  white-space: pre-wrap;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer__copy {
  max-width: var(--max);
  margin: 2rem auto 0;
  color: #c4b8a8;
  font-size: 0.88rem;
}

.cookie {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  max-width: 36rem;
  margin-left: auto;
  background: var(--surface);
  border: 1px solid var(--ink);
  padding: 1.1rem 1.2rem;
  z-index: 40;
  box-shadow: 0.4rem 0.4rem 0 var(--moss);
}

.cookie__actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.85rem;
}

@media (max-width: 900px) {
  .hero,
  .band__grid,
  .split,
  .card-grid,
  .team-grid,
  .contact-layout,
  .service-list__item,
  .journal__item,
  .footer__inner {
    grid-template-columns: 1fr;
  }

  .header__toggle {
    display: 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.4rem;
  }

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

  .header__list {
    flex-direction: column;
  }

  .header__inner {
    position: relative;
  }
}
