:root {
  --bg: #f3f2ef;
  --bg-deep: #e7e5df;
  --surface: #fffcf8;
  --ink: #1c1b19;
  --muted: #5f5c55;
  --line: #d5d2ca;
  --accent: #3d5a4c;
  --accent-hover: #2f463b;
  --accent-soft: #e4ebe6;
  --focus: #c4a35a;
  --danger: #8b3a3a;
  --success: #2f5d45;
  --radius: 4px;
  --shadow: 0 18px 50px rgba(28, 27, 25, 0.08);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", sans-serif;
  --space: clamp(1rem, 2vw, 1.5rem);
  --wrap: min(1120px, calc(100% - 2.5rem));
  --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(1200px 600px at 10% -10%, rgba(61, 90, 76, 0.08), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(196, 163, 90, 0.1), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, #ebe9e3 100%);
  min-height: 100vh;
  line-height: 1.65;
  font-size: 1.05rem;
}

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

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

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--surface);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(243, 242, 239, 0.88);
  border-bottom: 1px solid rgba(213, 210, 202, 0.8);
  transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(28, 27, 25, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

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

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.site-nav a:hover {
  color: var(--accent);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.95rem;
  background: var(--accent);
  color: #f7f6f2 !important;
  border-radius: var(--radius);
}

.nav-cta:hover {
  background: var(--accent-hover);
  color: #fff !important;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.45rem 0.7rem;
  align-items: center;
  gap: 0.5rem;
  font: inherit;
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

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

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

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.35rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }

.lede,
.section-intro {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 42rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  padding: 0.8rem 1.25rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #f7f6f2;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

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

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

.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

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

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

/* Home hero — editorial split, not SaaS */
.hero-home {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: calc(100vh - var(--header-h));
  align-items: stretch;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 3rem);
  background:
    linear-gradient(160deg, rgba(255, 252, 248, 0.92), rgba(243, 242, 239, 0.75));
}

.hero-copy .brand-mark {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin-bottom: 1.5rem;
  color: var(--accent);
}

.hero-copy h1 {
  max-width: 12ch;
  margin-bottom: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero-media {
  position: relative;
  overflow: hidden;
  min-height: 420px;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: slow-rise 1.2s ease both;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(243, 242, 239, 0.35), transparent 35%);
  pointer-events: none;
}

@keyframes slow-rise {
  from { transform: scale(1.06); opacity: 0.6; }
  to { transform: scale(1); opacity: 1; }
}

.fade-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.offer-strip {
  background: var(--surface);
  border-block: 1px solid var(--line);
  padding: 1.5rem 0;
}

.offer-strip-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem;
  align-items: center;
}

.offer-strip strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-tile {
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.service-tile:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.service-tile a {
  color: inherit;
  text-decoration: none;
  display: block;
}

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

.service-tile-body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.service-tile .meta {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0.5rem 0 0;
}

.story-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
}

.story-band img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.quote-list {
  display: grid;
  gap: 1.25rem;
}

.quote {
  border-left: 3px solid var(--accent);
  padding: 0.25rem 0 0.25rem 1.25rem;
}

.quote p {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

.quote cite {
  font-style: normal;
  color: var(--muted);
  font-size: 0.92rem;
}

.page-hero {
  padding: clamp(3rem, 7vw, 4.5rem) 0 2rem;
}

.page-hero.with-image {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: end;
  padding-bottom: 0;
}

.page-hero.with-image img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--radius);
}

.prose {
  max-width: 44rem;
}

.prose p + p {
  margin-top: 1rem;
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
}

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

.detail-aside {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.5rem;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.detail-aside dl {
  margin: 0;
}

.detail-aside dt {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-top: 1rem;
}

.detail-aside dd {
  margin: 0.25rem 0 0;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
}

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

.price-table th {
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.note-box {
  background: var(--accent-soft);
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius);
  margin-top: 2rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

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

.blog-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

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

.blog-card-body {
  padding: 1.2rem 1.3rem 1.5rem;
}

.blog-meta {
  color: var(--muted);
  font-size: 0.88rem;
}

.form {
  display: grid;
  gap: 1rem;
  max-width: 36rem;
}

.form-row {
  display: grid;
  gap: 0.4rem;
}

.form-row.two {
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  font-weight: 600;
  font-size: 0.95rem;
}

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

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

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

.form-status {
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  display: none;
}

.form-status.is-success {
  display: block;
  background: var(--accent-soft);
  color: var(--success);
}

.form-status.is-error {
  display: block;
  background: #f4e6e6;
  color: var(--danger);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
}

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

.steps {
  display: grid;
  gap: 1.25rem;
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.25rem 1.4rem;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent);
  width: 2rem;
}

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

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.95rem;
}

.legal th,
.legal td {
  border: 1px solid var(--line);
  padding: 0.7rem 0.8rem;
  text-align: left;
  vertical-align: top;
  background: var(--surface);
}

.site-footer {
  margin-top: 3rem;
  padding: 3rem 0 1.5rem;
  background: #1c1b19;
  color: #d8d5cd;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #f5f4f1;
  margin: 0 0 0.75rem;
}

.footer-label {
  color: #f5f4f1;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.footer-text {
  margin: 0 0 0.75rem;
  color: #bdb9b0;
}

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

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

.footer-links a,
.site-footer a {
  color: #d8d5cd;
  text-decoration: none;
}

.footer-links a:hover,
.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #333129;
  color: #9e9a90;
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  background: rgba(28, 27, 25, 0.96);
  color: #f3f2ef;
  padding: 1rem 0;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.25);
}

.cookie-inner {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner a {
  color: #e6d5a8;
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.cookie-banner .btn-ghost {
  color: #f3f2ef;
  border-color: #5a564c;
}

.cookie-banner .btn-primary {
  background: #c4a35a;
  color: #1c1b19;
}

.cookie-banner .btn-primary:hover {
  background: #d4b56b;
  color: #1c1b19;
}

.not-found {
  min-height: 60vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 3rem 1rem;
}

@media (max-width: 900px) {
  .hero-home,
  .page-hero.with-image,
  .story-band,
  .detail-layout,
  .contact-grid,
  .service-grid,
  .blog-grid,
  .footer-grid,
  .offer-strip-inner {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: rgba(243, 242, 239, 0.98);
    border-bottom: 1px solid var(--line);
    display: none;
    padding: 1rem 1.25rem 1.25rem;
  }

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

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

  .hero-media {
    min-height: 320px;
  }

  .cookie-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .form-row.two {
    grid-template-columns: 1fr;
  }

  .detail-aside {
    position: static;
  }
}

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