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

html {
  scroll-behavior: smooth;
}

:root {
  --bg: #f4f0e8;
  --bg-soft: #fbf8f2;
  --bg-alt: #efe7db;
  --bg-panel: rgba(251, 248, 242, 0.84);
  --bg-panel-strong: rgba(251, 248, 242, 0.94);
  --text: #252019;
  --text-soft: #5e5448;
  --text-muted: #766b5e;
  --line: rgba(188, 173, 152, 0.62);
  --line-strong: rgba(171, 154, 132, 0.82);
  --accent-dark: #2d2822;
  --accent-soft: #8c7b69;
  --olive: #7b7f6b;
  --shadow: 0 14px 36px rgba(34, 28, 22, 0.07);
  --shadow-hover: 0 18px 44px rgba(34, 28, 22, 0.12);
  --radius: 24px;
  --radius-sm: 16px;
  --heading-font: "Baskerville", "Palatino Linotype", "Book Antiqua", "Iowan Old Style", "Georgia", serif;
  --body-font: Inter, "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

html,
body {
  overflow-x: hidden;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(122, 102, 76, 0.07), transparent 28%),
    linear-gradient(180deg, #f7f3eb 0%, var(--bg) 16%, var(--bg) 100%);
  color: var(--text);
  font-family: var(--body-font);
  line-height: 1.72;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: min(1180px, calc(100% - 52px));
  margin: 0 auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 243, 235, 0.80);
  backdrop-filter: blur(14px) saturate(135%);
  -webkit-backdrop-filter: blur(14px) saturate(135%);
  border-bottom: 1px solid rgba(193, 178, 157, 0.5);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  min-height: 78px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  z-index: 4;
}

.brand-wordmark-only {
  display: flex;
  align-items: center;
}

.brand-wordmark {
  display: inline-block;
  font-family: var(--body-font);
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: #2f2923;
  white-space: nowrap;
  text-transform: uppercase;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--body-font);
  font-size: 0.93rem;
  color: #4f463d;
}

.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible {
  background: rgba(125, 129, 109, 0.11);
  color: var(--accent-dark);
  transform: translateY(-1px);
  outline: none;
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-toggle-label {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: rgba(251, 248, 242, 0.92);
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.nav-toggle-label span {
  width: 18px;
  height: 2px;
  background: var(--accent-dark);
  border-radius: 999px;
  display: block;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  background: #e7dccd;
}

.hero-clean {
  min-height: 720px;
}

.hero-image-wrap {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.96) contrast(1.02) brightness(0.88);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(35, 29, 24, 0.10) 0%,
      rgba(247, 243, 235, 0.18) 24%,
      rgba(247, 243, 235, 0.06) 54%,
      rgba(247, 243, 235, 0.01) 100%
    ),
    linear-gradient(
      180deg,
      rgba(247, 243, 235, 0.05) 0%,
      rgba(247, 243, 235, 0.01) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: end;
  min-height: 720px;
  padding: 96px 0 56px;
}

.hero-content-single {
  grid-template-columns: minmax(0, 760px);
}

.hero-copy-clean {
  max-width: 760px;
}

.hero-copy-panel {
  max-width: 35rem;
  padding: 20px 22px 18px;
  background: rgba(251, 248, 242, 0.76);
  border: 1px solid rgba(188, 173, 152, 0.34);
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(34, 28, 22, 0.05);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.eyebrow {
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.73rem;
  color: #7f705e;
  font-family: var(--body-font);
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--text);
  font-family: var(--heading-font);
  line-height: 1.12;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2.5rem, 4vw, 4.1rem);
  max-width: 10.8ch;
  margin-bottom: 16px;
  line-height: 1.03;
  letter-spacing: -0.018em;
}

h2 {
  font-size: clamp(1.72rem, 2.75vw, 2.7rem);
  margin-bottom: 14px;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.lead {
  margin: 0;
  max-width: 30ch;
  font-size: 1.04rem;
  line-height: 1.54;
  color: #3b322a;
}

.hero-meta {
  margin-top: 24px;
}

.hero-pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  font-family: var(--body-font);
}

.hero-pills li {
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(251, 248, 242, 0.86);
  border: 1px solid rgba(191, 176, 156, 0.54);
  color: #5d5246;
  font-size: 0.86rem;
  line-height: 1;
  box-shadow: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 21px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-family: var(--body-font);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button.primary {
  background: var(--accent-dark);
  color: #faf6ef;
  box-shadow: 0 10px 24px rgba(34, 28, 22, 0.12);
}

.button.primary:hover,
.button.primary:focus-visible {
  box-shadow: var(--shadow-hover);
}

.button.secondary {
  background: rgba(251, 248, 242, 0.82);
  color: var(--accent-dark);
  border: 1px solid var(--line-strong);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: rgba(251, 248, 242, 0.94);
}

/* Cards / Panels */

.intro-card,
.difference-card,
.service-card,
.formats-copy,
.process-step,
.principle-card,
.contact-card,
.image-card,
.faq-card,
.not-card,
.trust-card,
.legal-block {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.intro-card,
.difference-card,
.service-card,
.formats-copy,
.process-step,
.principle-card,
.contact-card,
.faq-card,
.not-card,
.trust-card,
.legal-block {
  padding: 26px;
}

.difference-card,
.service-card,
.process-step,
.principle-card,
.faq-card,
.image-card,
.stat-box {
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease;
}

.difference-card:hover,
.service-card:hover,
.process-step:hover,
.principle-card:hover,
.faq-card:hover,
.image-card:hover,
.stat-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--line-strong);
}

.intro-card p:last-child,
.difference-card p,
.service-card p,
.formats-copy p,
.process-step p,
.principle-card p,
.about-copy p,
.faq-card p,
.not-card p,
.trust-card p,
.output-points li,
.contact-card p,
.contact-copy p {
  color: var(--text-soft);
}

/* Lists */

.output-points {
  margin: 0;
  padding-left: 18px;
  font-family: var(--body-font);
}

.output-points li {
  margin-bottom: 8px;
}

/* Sections */

.section {
  padding: 82px 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(251, 248, 242, 0.7), rgba(244, 240, 232, 0.28));
}

.section-alt {
  background: linear-gradient(180deg, rgba(239, 231, 219, 0.5), rgba(244, 240, 232, 0.14));
}

.section-head {
  max-width: 860px;
  margin-bottom: 32px;
}

/* Intro */

.intro-strip {
  padding-top: 34px;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 22px;
  align-items: stretch;
}

.intro-grid-simple .intro-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.intro-stat {
  display: grid;
  gap: 14px;
}

.stat-box {
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(241, 234, 223, 0.92), rgba(251, 248, 242, 0.98));
  box-shadow: var(--shadow);
}

.stat-number {
  display: block;
  margin-bottom: 6px;
  font-family: var(--heading-font);
  font-size: 1.32rem;
  color: var(--accent-dark);
}

.stat-label {
  display: block;
  font-size: 0.94rem;
  color: #64584c;
  font-family: var(--body-font);
}

/* Grids */

.difference-grid,
.services-grid,
.principles-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.difference-card,
.service-card,
.faq-card {
  min-height: 212px;
}

.service-card.featured,
.trust-card {
  background: linear-gradient(180deg, rgba(241, 234, 223, 0.96), rgba(251, 248, 242, 0.99));
  border-color: var(--line-strong);
}

/* Split sections */

.image-split,
.about-grid,
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.image-split.reverse {
  direction: rtl;
}

.image-split.reverse > * {
  direction: ltr;
}

.image-card {
  padding: 10px;
  overflow: hidden;
}

.image-card img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.not-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Process */

.process-wrap {
  display: grid;
  gap: 28px;
}

.process-head {
  margin-bottom: 8px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.step-number {
  display: inline-block;
  margin-bottom: 14px;
  letter-spacing: 0.14em;
  color: var(--olive);
  font-size: 0.78rem;
  font-family: var(--body-font);
}

/* About / Contact */

.about-grid {
  grid-template-columns: 0.8fr 1.2fr;
}

.contact-wrap {
  align-items: start;
}

.languages {
  font-size: 0.94rem;
  color: #685c50;
  font-family: var(--body-font);
}

/* Legal */

.legal-page main {
  padding: 56px 0 84px;
}

.legal-block {
  max-width: 780px;
  background: var(--bg-panel-strong);
}

/* Footer */

.site-footer {
  padding: 26px 0 38px;
  background: rgba(239, 232, 220, 0.72);
  border-top: 1px solid var(--line);
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-logo-slot {
  width: 78px;
  height: 78px;
  flex: 0 0 78px;
  display: grid;
  place-items: center;
}

.footer-logo-slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-brand-text strong {
  display: block;
  font-family: var(--heading-font);
  font-size: 1.28rem;
  line-height: 1.05;
  letter-spacing: 0.01em;
}

.footer-brand-text p {
  margin: 8px 0 0;
  max-width: 42ch;
}

.footer-wrap p {
  margin: 6px 0 0;
  color: #6b5f52;
  font-size: 0.9rem;
  font-family: var(--body-font);
}

.footer-links {
  display: flex;
  gap: 18px;
  font-size: 0.92rem;
  font-family: var(--body-font);
}

.footer-links a {
  padding: 6px 10px;
  border-radius: 999px;
  transition: background-color 0.22s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  background: rgba(125, 129, 109, 0.12);
  outline: none;
}

/* Tablet */

@media (max-width: 1100px) {
  .hero-clean,
  .hero-content {
    min-height: auto;
  }

  .hero-content {
    padding: 72px 0 48px;
  }

  .hero-content-single {
    grid-template-columns: minmax(0, 720px);
  }

  .hero-copy-panel {
    max-width: 31rem;
  }

  .hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(35, 29, 24, 0.12) 0%,
        rgba(247, 243, 235, 0.34) 28%,
        rgba(247, 243, 235, 0.14) 62%,
        rgba(247, 243, 235, 0.06) 100%
      );
  }

  .difference-grid,
  .services-grid,
  .principles-grid,
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-grid,
  .image-split,
  .about-grid,
  .contact-wrap,
  .not-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile nav */

@media (max-width: 840px) {
  .nav-toggle-label {
    display: inline-flex;
    margin-left: auto;
    z-index: 5;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: grid;
    gap: 8px;
    padding: 16px;
    background: rgba(251, 248, 242, 0.98);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-hover);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  .nav a {
    background: rgba(239, 232, 220, 0.55);
    padding: 12px 14px;
  }

  .nav-toggle:checked ~ .nav {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

/* Mobile */

@media (max-width: 720px) {
  .nav-wrap,
  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-wrap {
    min-height: auto;
    padding: 14px 0;
    align-items: stretch;
  }

  .brand {
    max-width: calc(100% - 64px);
  }

  .difference-grid,
  .services-grid,
  .process-steps,
  .principles-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .container {
    width: min(100% - 28px, 1180px);
  }

  .hero-clean,
  .hero-content {
    min-height: auto;
  }

  .hero-content {
    padding-top: 68px;
    padding-bottom: 28px;
    align-items: end;
  }

  .hero-content-single {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-copy-clean {
    max-width: 19.6rem;
  }

  .hero-copy-panel {
    max-width: 19.6rem;
    padding: 15px 15px 14px;
    border-radius: 18px;
    background: rgba(251, 248, 242, 0.78);
  }

  .hero-image {
    filter: saturate(0.96) contrast(1.03) brightness(0.86);
  }

  .hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(35, 29, 24, 0.12) 0%,
        rgba(247, 243, 235, 0.40) 18%,
        rgba(247, 243, 235, 0.20) 44%,
        rgba(247, 243, 235, 0.10) 68%,
        rgba(247, 243, 235, 0.05) 100%
      ),
      linear-gradient(
        90deg,
        rgba(35, 29, 24, 0.12) 0%,
        rgba(247, 243, 235, 0.30) 26%,
        rgba(247, 243, 235, 0.12) 62%,
        rgba(247, 243, 235, 0.03) 100%
      );
  }

  .eyebrow {
    margin-bottom: 12px;
    font-size: 0.68rem;
    letter-spacing: 0.13em;
  }

  h1 {
    font-size: clamp(1.9rem, 6.1vw, 2.6rem);
    max-width: 8.6ch;
    line-height: 1.02;
    margin-bottom: 12px;
  }

  h2 {
    font-size: clamp(1.52rem, 6vw, 2.2rem);
  }

  .lead {
    max-width: 18.2rem;
    font-size: 0.92rem;
    line-height: 1.44;
    color: #3d332b;
  }

  .hero-meta {
    margin-top: 14px;
  }

  .hero-pills {
    gap: 8px;
    margin-bottom: 12px;
  }

  .hero-pills li {
    padding: 7px 11px;
    font-size: 0.8rem;
  }

  .hero-actions {
    gap: 10px;
    flex-wrap: wrap;
  }

  .button {
    min-height: 44px;
    padding: 12px 18px;
    font-size: 0.92rem;
  }

  .brand-wordmark {
    font-size: 0.94rem;
    letter-spacing: 0.12em;
  }

  .footer-brand {
    align-items: flex-start;
  }

  .footer-logo-slot {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
  }
}