:root {
  --parchment: #e8dfd0;
  --parchment-deep: #d9cbb6;
  --beige: #c4b49a;
  --ink: #1c1b19;
  --ink-soft: #3a3834;
  --terracotta: #a65d45;
  --terracotta-faded: #b87a64;
  --indigo: #4a5368;
  --indigo-muted: #6b5b7a;
  --paper-shadow: rgba(28, 27, 25, 0.12);
  --fold: rgba(92, 74, 58, 0.18);
  --font-display: "Literata", Georgia, serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --space: clamp(1rem, 2.5vw, 2rem);
  --measure: 68rem;
  --radius: 2px;
  --header-h: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background-color: var(--parchment);
  background-image:
    radial-gradient(ellipse 120% 80% at 10% -10%, rgba(74, 83, 104, 0.08), transparent 50%),
    radial-gradient(ellipse 90% 60% at 100% 0%, rgba(166, 93, 69, 0.1), transparent 45%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  line-height: 1.65;
  min-height: 100vh;
}

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

a {
  color: var(--indigo);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}

p {
  margin: 0 0 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(232, 223, 208, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--fold);
}

.site-header__inner {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0.9rem var(--space);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand:hover {
  color: var(--ink);
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.35rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--terracotta);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--fold);
  padding: 0.45rem 0.7rem;
  font-family: inherit;
  cursor: pointer;
  color: var(--ink);
}

.nav-toggle__bars {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
}

.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after { top: 5px; }

.nav-toggle__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

@media (max-width: 800px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    position: relative;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--parchment-deep);
    border-bottom: 1px solid var(--fold);
    padding: 1rem var(--space) 1.25rem;
    display: none;
  }

  .site-nav.is-open {
    display: block;
    animation: paper-drop 0.35s ease;
  }

  .site-nav__list {
    flex-direction: column;
    gap: 0.85rem;
  }
}

@keyframes paper-drop {
  from { opacity: 0; transform: translateY(-0.5rem); }
  to { opacity: 1; transform: translateY(0); }
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.75rem 1.35rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
  color: var(--parchment);
  background: var(--ink);
  transition: color 0.35s ease;
}

.btn--panel {
  isolation: isolate;
}

.btn--panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--terracotta);
  transform: translateX(-101%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: -1;
}

.btn--panel:hover::before,
.btn--panel:focus-visible::before {
  transform: translateX(0);
}

.btn--panel:hover,
.btn--panel:focus-visible {
  color: var(--parchment);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink-soft);
}

.btn--ghost:hover {
  background: rgba(28, 27, 25, 0.06);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(232, 223, 208, 0.94) 0%, rgba(232, 223, 208, 0.78) 42%, rgba(28, 27, 25, 0.35) 100%),
    radial-gradient(circle at 78% 28%, rgba(26, 26, 24, 0.45), transparent 42%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--measure);
  width: 100%;
  margin: 0 auto;
  padding: clamp(3rem, 10vh, 6rem) var(--space) clamp(2.5rem, 8vh, 4.5rem);
  animation: rise-in 0.9s ease both;
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(1.25rem); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
  max-width: 12ch;
  color: var(--ink);
}

.hero__lede {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  max-width: 34ch;
  color: var(--ink-soft);
  margin-bottom: 1.75rem;
}

.section {
  max-width: var(--measure);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) var(--space);
}

.section__eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--indigo-muted);
  margin-bottom: 0.65rem;
}

.section__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0 0 0.85rem;
}

.section__intro {
  max-width: 42rem;
  color: var(--ink-soft);
  margin-bottom: 2rem;
}

.primary-offer {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.primary-offer__image {
  position: relative;
}

.primary-offer__image::after {
  content: "";
  position: absolute;
  inset: 0.75rem -0.75rem -0.75rem 0.75rem;
  border: 1px solid var(--fold);
  z-index: -1;
}

.primary-offer__image img {
  width: 100%;
  aspect-ratio: 5/4;
  object-fit: cover;
}

.primary-offer__body h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin-top: 0;
}

.offer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 1rem 0 1.5rem;
  font-size: 0.95rem;
  color: var(--indigo);
}

.service-list {
  display: grid;
  gap: 2rem;
}

.service-row {
  display: grid;
  grid-template-columns: minmax(0, 220px) 1fr auto;
  gap: 1.25rem;
  align-items: start;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--fold);
}

.service-row img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.service-row h3 {
  margin: 0 0 0.4rem;
  font-size: 1.25rem;
}

.service-row h3 a {
  color: inherit;
  text-decoration: none;
}

.service-row h3 a:hover {
  color: var(--terracotta);
}

.service-row p {
  margin: 0;
  color: var(--ink-soft);
}

.service-row__cta {
  align-self: center;
  white-space: nowrap;
}

.quote-band {
  background: linear-gradient(180deg, var(--parchment-deep), var(--parchment));
  border-block: 1px solid var(--fold);
}

.quote-band__inner {
  max-width: var(--measure);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4rem) var(--space);
}

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

.quote-list blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
}

.quote-list cite {
  display: block;
  margin-top: 0.75rem;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--indigo);
  font-family: var(--font-body);
}

.page-hero {
  padding: clamp(2.5rem, 6vw, 4rem) var(--space) 1rem;
  max-width: var(--measure);
  margin: 0 auto;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin: 0 0 0.75rem;
}

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

.bleed-hero {
  position: relative;
  min-height: 42vh;
  display: grid;
  align-items: end;
}

.bleed-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bleed-hero__text {
  position: relative;
  z-index: 1;
  background: linear-gradient(transparent, rgba(232, 223, 208, 0.95) 55%);
  padding: 5rem var(--space) 2rem;
}

.bleed-hero__text-inner {
  max-width: var(--measure);
  margin: 0 auto;
}

.bleed-hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin: 0 0 0.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.team-member img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  margin-bottom: 0.85rem;
  filter: sepia(0.12) contrast(1.02);
}

.team-member h3 {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
}

.team-member .role {
  color: var(--terracotta);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.blog-list {
  display: grid;
  gap: 2.5rem;
}

.blog-item {
  display: grid;
  grid-template-columns: minmax(0, 280px) 1fr;
  gap: 1.5rem;
  align-items: start;
}

.blog-item img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.blog-item time {
  font-size: 0.85rem;
  color: var(--indigo-muted);
}

.blog-item h2 {
  margin: 0.35rem 0 0.5rem;
  font-size: 1.45rem;
}

.blog-item h2 a {
  color: inherit;
  text-decoration: none;
}

.blog-item h2 a:hover {
  color: var(--terracotta);
}

.prose {
  max-width: 42rem;
}

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

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

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

.schedule-table th {
  font-weight: 500;
  color: var(--indigo);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.schedule-table a {
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
}

.schedule-table a:hover {
  color: var(--terracotta);
}

.form {
  max-width: 34rem;
  display: grid;
  gap: 1.1rem;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.form input,
.form textarea,
.form select {
  font: inherit;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--beige);
  background: rgba(255, 252, 247, 0.7);
  color: var(--ink);
  border-radius: var(--radius);
}

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

.field-error {
  color: var(--terracotta);
  font-size: 0.85rem;
  font-weight: 400;
  min-height: 1.1em;
}

.form-status {
  padding: 0.85rem 1rem;
  border: 1px solid var(--fold);
  background: var(--parchment-deep);
  display: none;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  border-color: var(--indigo);
}

.form-status.is-error {
  border-color: var(--terracotta);
  color: var(--terracotta);
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--fold);
  background: var(--parchment-deep);
  padding: 2.5rem var(--space) 1.5rem;
}

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

.site-footer__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
}

.site-footer__tag,
.site-footer__contact p {
  margin: 0 0 0.35rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.site-footer__legal {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.site-footer__legal a {
  text-decoration: none;
  color: var(--ink-soft);
}

.site-footer__legal a:hover {
  color: var(--terracotta);
}

.site-footer__copy {
  max-width: var(--measure);
  margin: 2rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid var(--fold);
  font-size: 0.85rem;
  color: var(--indigo);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1rem var(--space);
  background: rgba(28, 27, 25, 0.94);
  color: var(--parchment);
  animation: paper-drop 0.4s ease;
}

.cookie-banner__inner {
  max-width: var(--measure);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner__text {
  margin: 0;
  flex: 1 1 18rem;
  font-size: 0.92rem;
}

.cookie-banner a {
  color: var(--parchment-deep);
}

.cookie-banner .btn--ghost {
  border-color: var(--parchment);
  color: var(--parchment);
}

.cookie-banner__error {
  flex-basis: 100%;
  color: var(--terracotta-faded);
  margin: 0;
  font-size: 0.85rem;
}

.error-page {
  min-height: 60vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: var(--space);
}

.error-page h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  margin: 0 0 0.5rem;
}

.price-note {
  font-size: 0.9rem;
  color: var(--indigo);
  margin-top: 0.5rem;
}

@media (max-width: 900px) {
  .primary-offer,
  .service-row,
  .blog-item,
  .grid-2,
  .team-grid,
  .quote-list,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .service-row__cta {
    justify-self: start;
  }

  .schedule-table {
    display: block;
    overflow-x: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
