:root {
  --parchment: #ebe3d4;
  --parchment-deep: #ddd2bf;
  --ink: #1f1b18;
  --ink-soft: #3a342f;
  --terracotta: #c16a4a;
  --terracotta-deep: #9a4f35;
  --beige: #cbbba3;
  --indigo: #4a5568;
  --indigo-mute: #6b7385;
  --paper-white: #f5efe4;
  --shadow: rgba(31, 27, 24, 0.14);
  --grain: 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.08'/%3E%3C/svg%3E");
  --font-display: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --space: clamp(1rem, 2vw, 1.5rem);
  --measure: 68ch;
  --wide: 1120px;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--parchment);
  background-image:
    linear-gradient(165deg, rgba(245, 239, 228, 0.92), rgba(221, 210, 191, 0.88)),
    radial-gradient(ellipse at 18% 12%, rgba(74, 85, 104, 0.12), transparent 42%),
    radial-gradient(ellipse at 88% 8%, rgba(193, 106, 74, 0.14), transparent 38%),
    var(--grain);
  background-attachment: fixed;
}

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

a {
  color: var(--terracotta-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  margin: 0 0 0.4em;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin: 0 0 0.45em;
}

h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  margin: 0 0 0.4em;
}

p {
  margin: 0 0 1em;
}

ul {
  margin: 0 0 1em;
  padding-left: 1.15em;
}

.wrap {
  width: min(100% - 2 * var(--space), var(--wide));
  margin-inline: auto;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--indigo);
  margin: 0 0 0.75rem;
}

.lede {
  font-size: 1.15rem;
  max-width: 42ch;
  color: var(--ink-soft);
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.35rem;
  border: 1px solid var(--ink);
  background: var(--paper-white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateX(-101%);
  transition: transform 0.4s var(--ease);
  z-index: -1;
}

.btn:hover,
.btn:focus-visible {
  color: var(--paper-white);
  border-color: var(--ink);
  outline: none;
}

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

.btn--panel {
  background: var(--terracotta);
  border-color: var(--terracotta-deep);
  color: var(--paper-white);
}

.btn--panel::before {
  background: var(--terracotta-deep);
}

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

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(8px);
  background: rgba(235, 227, 212, 0.86);
  border-bottom: 1px solid rgba(31, 27, 24, 0.1);
}

.site-header__inner {
  width: min(100% - 2 * var(--space), var(--wide));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

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

.brand__mark {
  width: 1.35rem;
  height: 1.35rem;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px var(--parchment), inset 0 0 0 7px var(--terracotta);
  animation: eclipse-pulse 7s var(--ease) infinite;
}

@keyframes eclipse-pulse {
  0%, 100% { box-shadow: inset 0 0 0 3px var(--parchment), inset 0 0 0 7px var(--terracotta); }
  50% { box-shadow: inset 0 0 0 4px var(--parchment), inset 0 0 0 8px var(--indigo); }
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid var(--beige);
  padding: 0.45rem 0.7rem;
  font: inherit;
  cursor: pointer;
  color: var(--ink);
}

.nav-toggle__bars {
  width: 1.1rem;
  height: 0.85rem;
  background:
    linear-gradient(var(--ink), var(--ink)) 0 0 / 100% 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 0 50% / 100% 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 0 100% / 100% 2px no-repeat;
}

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

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

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

@media (max-width: 760px) {
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper-white);
    border-bottom: 1px solid rgba(31, 27, 24, 0.1);
    padding: 1rem var(--space) 1.25rem;
  }

  .site-nav[hidden] {
    display: none;
  }

  .site-nav__list {
    flex-direction: column;
  }
}

@media (min-width: 761px) {
  .nav-toggle {
    display: none;
  }

  .site-nav[hidden] {
    display: block;
  }
}

/* Hero — full bleed, brand first */
.hero {
  position: relative;
  min-height: calc(100vh - 4.25rem);
  display: grid;
  align-items: end;
  color: var(--paper-white);
  overflow: hidden;
}

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

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  animation: hero-drift 18s ease-in-out infinite alternate;
}

@keyframes hero-drift {
  from { transform: scale(1.03) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(31, 27, 24, 0.25) 0%, rgba(31, 27, 24, 0.55) 48%, rgba(31, 27, 24, 0.82) 100%),
    radial-gradient(circle at 72% 28%, rgba(193, 106, 74, 0.28), transparent 40%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(100% - 2 * var(--space), var(--wide));
  margin: 0 auto;
  padding: clamp(3rem, 10vh, 6rem) 0 clamp(2.5rem, 7vh, 4.5rem);
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 6.5rem);
  font-weight: 600;
  line-height: 0.95;
  margin: 0 0 0.55em;
  letter-spacing: 0.01em;
  animation: rise-in 0.9s var(--ease) both;
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  font-weight: 500;
  font-style: italic;
  max-width: 22ch;
  margin: 0 0 0.65em;
  color: var(--parchment);
  animation: rise-in 1s 0.12s var(--ease) both;
}

.hero__support {
  max-width: 36ch;
  margin: 0;
  color: rgba(245, 239, 228, 0.88);
  animation: rise-in 1s 0.22s var(--ease) both;
}

.hero .btn-row {
  animation: rise-in 1s 0.32s var(--ease) both;
}

.hero .btn {
  border-color: rgba(245, 239, 228, 0.65);
  background: rgba(245, 239, 228, 0.12);
  color: var(--paper-white);
}

.hero .btn::before {
  background: var(--terracotta);
}

.hero .btn:hover,
.hero .btn:focus-visible {
  border-color: var(--terracotta);
}

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

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section--fold {
  background:
    linear-gradient(180deg, rgba(245, 239, 228, 0.55), rgba(221, 210, 191, 0.35)),
    var(--grain);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

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

.split {
  display: grid;
  gap: 2rem;
}

@media (min-width: 860px) {
  .split {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }
}

.panel-media {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  box-shadow: 0 18px 40px var(--shadow);
}

.panel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.panel-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 55%, rgba(74, 85, 104, 0.18));
  pointer-events: none;
}

.offer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 760px) {
  .offer-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.offer {
  padding: 0;
  border: 0;
  background: transparent;
}

.offer__media {
  margin-bottom: 0.9rem;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.offer__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.offer:hover .offer__media img {
  transform: scale(1.04);
}

.offer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--indigo);
  margin-bottom: 0.4rem;
}

.offer a {
  text-decoration: none;
  color: inherit;
}

.offer a:hover h3 {
  color: var(--terracotta-deep);
}

.quote-block {
  max-width: 38rem;
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  font-style: italic;
  line-height: 1.35;
  color: var(--ink-soft);
}

.quote-block cite {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--indigo);
}

/* Page heroes (inner) */
.page-hero {
  padding: clamp(2.5rem, 6vw, 4rem) 0 1.5rem;
}

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

.prose {
  max-width: var(--measure);
}

.prose h2 {
  margin-top: 1.8em;
}

.meta-line {
  color: var(--indigo-mute);
  font-size: 0.92rem;
}

.service-detail__media,
.post-cover {
  margin: 1.5rem 0 2rem;
  overflow: hidden;
  max-height: 420px;
}

.service-detail__media img,
.post-cover img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
}

.price-note {
  display: inline-block;
  margin: 0.5rem 0 1rem;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid var(--beige);
  font-weight: 600;
}

.includes {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 1.75rem;
}

.includes li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.3rem;
  border-bottom: 1px solid rgba(31, 27, 24, 0.08);
}

.includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  width: 0.55rem;
  height: 0.55rem;
  border: 1px solid var(--terracotta);
  border-radius: 50%;
}

/* Process steps */
.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.75rem;
}

.steps li {
  position: relative;
  padding-left: 3.5rem;
}

.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--terracotta);
}

/* Forms */
.form {
  max-width: 34rem;
  display: grid;
  gap: 1rem;
}

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

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--beige);
  background: rgba(245, 239, 228, 0.7);
  color: var(--ink);
  font: inherit;
  border-radius: var(--radius);
}

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

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

.form-status {
  padding: 0.85rem 1rem;
  border: 1px solid var(--beige);
  background: rgba(245, 239, 228, 0.8);
}

.form-status[data-state="success"] {
  border-color: var(--indigo);
}

.form-status[data-state="error"] {
  border-color: var(--terracotta);
  color: var(--terracotta-deep);
}

.form-status[hidden],
.field-error:empty {
  display: none;
}

/* Blog list */
.post-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2rem;
}

.post-item {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .post-item {
    grid-template-columns: 240px 1fr;
    align-items: start;
  }
}

.post-item__media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.post-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

/* Footer */
.site-footer {
  margin-top: 2rem;
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(31, 27, 24, 0.12);
  background: linear-gradient(180deg, transparent, rgba(74, 85, 104, 0.08));
}

.site-footer__inner {
  width: min(100% - 2 * var(--space), var(--wide));
  margin-inline: auto;
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 800px) {
  .site-footer__inner {
    grid-template-columns: 1.2fr 1fr auto;
  }
}

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

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

.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(--ink);
}

.site-footer__copy {
  width: min(100% - 2 * var(--space), var(--wide));
  margin: 2rem auto 0;
  font-size: 0.88rem;
  color: var(--indigo-mute);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 60;
  padding: var(--space);
  pointer-events: none;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__panel {
  pointer-events: auto;
  width: min(100%, 420px);
  margin-left: auto;
  padding: 1.25rem 1.35rem;
  background: var(--paper-white);
  border: 1px solid var(--beige);
  box-shadow: 0 12px 32px var(--shadow);
  animation: rise-in 0.45s var(--ease) both;
}

.cookie-banner__title {
  font-size: 1.35rem;
  margin: 0 0 0.4rem;
}

.cookie-banner__text {
  font-size: 0.95rem;
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.cookie-banner__error {
  margin: 0.75rem 0 0;
  color: var(--terracotta-deep);
  font-size: 0.88rem;
}

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

.error-page h1 {
  font-size: clamp(3rem, 10vw, 5rem);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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