:root {
  --chalk: #f7f4ef;
  --apricot: #f3e4d4;
  --terracotta: #c4653a;
  --olive: #6b7a4a;
  --coral: #d9897a;
  --espresso: #2a1f1a;
  --espresso-soft: #3d3029;
  --ink: #2a1f1a;
  --muted: #6a5a50;
  --line: rgba(42, 31, 26, 0.14);
  --paper: #fffaf5;
  --shadow: 0 14px 36px rgba(42, 31, 26, 0.08);
  --radius: 14px;
  --radius-sm: 10px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --space: clamp(1.25rem, 3vw, 2.5rem);
  --wide: 1180px;
  --header-h: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(217, 137, 122, 0.16), transparent 32%),
    radial-gradient(circle at 88% 0%, rgba(107, 122, 74, 0.12), transparent 28%),
    linear-gradient(180deg, var(--apricot) 0%, var(--chalk) 28%, var(--chalk) 100%);
  line-height: 1.65;
  min-height: 100vh;
}

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 0.75rem;
}

.lede {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--muted);
  max-width: 38rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.btn--primary {
  background: var(--terracotta);
  color: var(--espresso);
}

.btn--primary:hover {
  background: transparent;
  border-color: var(--terracotta);
  color: var(--espresso);
  text-decoration: underline;
}

.btn--olive {
  background: var(--olive);
  color: var(--chalk);
}

.btn--olive:hover {
  background: transparent;
  border-color: var(--olive);
  color: var(--olive);
}

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

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

.btn--nav {
  background: var(--terracotta);
  color: var(--espresso);
  padding: 0.55rem 1.1rem;
  min-height: 2.4rem;
}

.btn--nav:hover {
  background: var(--espresso);
  color: var(--chalk);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: rgba(247, 244, 239, 0.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-solid {
  background: rgba(247, 244, 239, 0.96);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(42, 31, 26, 0.05);
}

.has-hero .site-header {
  position: absolute;
  left: 0;
  right: 0;
  background: rgba(247, 244, 239, 0.35);
}

.has-hero .site-header.is-solid {
  position: sticky;
  background: rgba(247, 244, 239, 0.96);
}

.site-header__inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 var(--space);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header__brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--espresso);
  text-decoration: none;
  white-space: nowrap;
}

.site-header__toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.site-header__toggle span:not(.visually-hidden) {
  width: 1.1rem;
  height: 2px;
  background: var(--espresso);
}

.site-header__nav ul {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

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

.site-header__nav a:not(.btn):hover {
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

@media (max-width: 960px) {
  .site-header__toggle {
    display: inline-flex;
  }

  .site-header__nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 1rem var(--space) 1.25rem;
    display: none;
  }

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

  .site-header__nav ul {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

.section--tight {
  padding-top: 2.5rem;
}

.section__inner {
  max-width: var(--wide);
  margin: 0 auto;
}

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

.page-hero {
  padding: calc(var(--header-h) + 3rem) var(--space) 3rem;
}

.page-hero__inner {
  max-width: var(--wide);
  margin: 0 auto;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  max-width: 16ch;
}

/* Home hero — asymmetrical magazine layout */
.home-hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  overflow: hidden;
}

.home-hero__media {
  position: relative;
  min-height: 520px;
}

.home-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  will-change: transform;
}

.home-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--header-h) + 2.5rem) clamp(1.5rem, 4vw, 3.5rem) 3.5rem;
  background:
    linear-gradient(160deg, rgba(243, 228, 212, 0.92), rgba(247, 244, 239, 0.98));
}

.home-hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  line-height: 0.95;
  margin-bottom: 1.25rem;
  color: var(--espresso);
}

.home-hero__kicker {
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-family: var(--font-display);
  font-weight: 500;
  max-width: 22ch;
  margin-bottom: 1rem;
}

.home-hero__text {
  max-width: 34ch;
  color: var(--muted);
  margin-bottom: 1.75rem;
}

.home-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (max-width: 900px) {
  .home-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .home-hero__media {
    min-height: 42vh;
    order: -1;
  }

  .home-hero__copy {
    padding-top: 2rem;
  }
}

/* Cards & grids */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: linear-gradient(180deg, var(--paper), var(--apricot));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(42, 31, 26, 0.12);
}

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

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

.card__body {
  padding: 1.35rem 1.4rem 1.6rem;
}

.card__body h3 {
  font-size: 1.35rem;
  margin-bottom: 0.45rem;
}

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

.card__body h3 a:hover {
  text-decoration: underline;
}

.card__meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

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

.feature-split--reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.feature-split__media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.feature-split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
}

@media (max-width: 900px) {
  .feature-split,
  .feature-split--reverse {
    grid-template-columns: 1fr;
  }
}

.pull-quote {
  margin: 0;
  padding: 2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.pull-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  line-height: 1.35;
}

.pull-quote cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  color: var(--muted);
  font-size: 0.95rem;
}

.story-stack {
  display: grid;
  gap: 1.25rem;
}

.story-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.25rem;
  padding: 1.1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.story-item img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
}

@media (max-width: 600px) {
  .story-item {
    grid-template-columns: 1fr;
  }

  .story-item img {
    width: 100%;
    height: 180px;
  }
}

/* Pricing */
.rate-list {
  display: grid;
  gap: 1rem;
}

.rate-item {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 1rem;
  padding: 1.4rem 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.rate-item__price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-align: right;
  color: var(--terracotta);
}

@media (max-width: 700px) {
  .rate-item {
    grid-template-columns: 1fr;
  }

  .rate-item__price {
    text-align: left;
  }
}

/* Reviews */
.review-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
}

.review-card {
  padding: 1.6rem;
  background: linear-gradient(165deg, var(--paper), #f6ebe0);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.review-card--wide {
  grid-column: 1 / -1;
}

@media (max-width: 800px) {
  .review-grid {
    grid-template-columns: 1fr;
  }
}

/* Forms */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 2.5rem;
}

@media (max-width: 860px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.form {
  display: grid;
  gap: 1rem;
  padding: 1.75rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  font: inherit;
  background: #fff;
  color: var(--ink);
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

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

.field-error {
  color: #9b2c1a;
  font-size: 0.85rem;
  font-weight: 500;
}

.form-status {
  margin: 0.4rem 0 0;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  font-weight: 600;
}

.form-status.is-success {
  background: rgba(107, 122, 74, 0.15);
  color: var(--olive);
}

.form-status.is-error {
  background: rgba(196, 101, 58, 0.15);
  color: #9b2c1a;
}

.contact-aside {
  padding: 1.5rem;
  background: var(--espresso);
  color: #e8d9cb;
  border-radius: var(--radius);
}

.contact-aside a {
  color: #f3c6a8;
}

.contact-aside h2 {
  color: var(--chalk);
}

/* Legal / prose */
.prose {
  max-width: 68ch;
}

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

.prose h3 {
  margin-top: 1.4rem;
  font-size: 1.2rem;
}

.prose ul,
.prose ol {
  margin: 0 0 1em 1.2em;
  padding: 0;
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

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

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.92rem;
}

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

.prose th {
  background: var(--apricot);
}

/* Service detail */
.service-detail__hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: var(--wide);
  margin: 0 auto;
  padding: calc(var(--header-h) + 2.5rem) var(--space) 2rem;
  align-items: center;
}

.service-detail__media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.service-detail__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 340px;
}

.service-detail__body {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 1rem var(--space) 4rem;
}

@media (max-width: 860px) {
  .service-detail__hero {
    grid-template-columns: 1fr;
  }
}

/* Article */
.article {
  max-width: 820px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 2rem) var(--space) 4rem;
}

.article__title {
  font-size: clamp(2rem, 4.5vw, 3rem);
}

.article__meta {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.article__hero {
  margin: 0 0 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.article__hero img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article__back {
  margin-top: 2.5rem;
}

/* Footer */
.site-footer {
  background: var(--espresso);
  color: #d7c6b8;
  margin-top: 2rem;
  padding: 4rem var(--space) 1.5rem;
}

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

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer__inner {
  max-width: var(--wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1.4fr 0.9fr;
  gap: 2.5rem;
}

.site-footer__name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--chalk);
  margin-bottom: 0.6rem;
}

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

.site-footer h2 {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.9rem;
}

.site-footer__cols li,
.site-footer__contact p {
  margin-bottom: 0.45rem;
}

.newsletter__label {
  display: block;
  font-weight: 600;
  color: var(--chalk);
  margin-bottom: 0.6rem;
}

.newsletter__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.newsletter input {
  flex: 1;
  min-width: 180px;
  border: 1px solid rgba(247, 244, 239, 0.2);
  background: var(--espresso-soft);
  color: var(--chalk);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font: inherit;
}

.site-footer__bottom {
  max-width: var(--wide);
  margin: 3rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(247, 244, 239, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.site-footer__social {
  display: flex;
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-footer__cols {
    grid-template-columns: 1fr 1fr;
  }
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  max-width: 520px;
}

.cookie-banner__inner {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(42, 31, 26, 0.18);
  padding: 1.25rem 1.35rem;
}

.cookie-banner__inner h2 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.cookie-banner__error {
  color: #9b2c1a;
  margin-top: 0.6rem;
}

/* Reveal motion */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }

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

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

/* Briefings timeline */
.timeline {
  display: grid;
  gap: 1.25rem;
}

.timeline__item {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.timeline__step {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--terracotta);
}

.faq details {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

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

.team-card {
  text-align: left;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.team-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.team-card__body {
  padding: 1.1rem 1.2rem 1.4rem;
}

@media (max-width: 800px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}
