.root {
  --bg: #f5f1ea;
  --ink: #1d1a17;
  --muted: #6b625a;
  --accent: #c45a2f;
  --accent-dark: #8f3d1e;
  --paper: #ffffff;
  --sand: #efe6d8;
  --olive: #d5d2c0;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}

img {
  display: block;
  max-width: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

.header {
  padding: 28px 0 12px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.94rem;
}

.nav-links a {
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}

.nav-links a:hover {
  border-bottom-color: var(--ink);
}

.ad-label {
  font-size: 0.82rem;
  padding: 6px 10px;
  background: var(--sand);
  border-radius: 999px;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 36px 0 48px;
}

.hero-visual {
  background-color: #dcd2c2;
  border-radius: 18px;
  overflow: hidden;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-text h1 {
  font-size: clamp(2.1rem, 2.6vw, 3.1rem);
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: 0.95rem;
  cursor: pointer;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.button:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--paper);
}

.section {
  padding: 46px 0;
}

.section.alt {
  background: var(--sand);
}

.section.dark {
  background: #1f1b17;
  color: #f5f0e6;
}

.section.bg-library {
  background-image: url("https://images.unsplash.com/photo-1778585856958-22aed2acc7dd?w=1400&q=80");
  background-size: cover;
  background-position: center;
  color: #f7f2ea;
}

.section.bg-archive {
  background-image: url("https://images.unsplash.com/photo-1702848946800-1afb31a03814?w=1400&q=80");
  background-size: cover;
  background-position: center;
  color: #f7f2ea;
}

.section.bg-library .callout,
.section.bg-archive .callout {
  background: rgba(25, 21, 18, 0.75);
  color: #f7f2ea;
}

.section-title {
  font-size: clamp(1.6rem, 2.2vw, 2.4rem);
  margin: 0 0 18px;
}

.magazine-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: stretch;
}

.magazine-col {
  flex: 1 1 280px;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.callout {
  background: var(--paper);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.callout p {
  margin: 0 0 12px;
}

.callout p:last-child {
  margin-bottom: 0;
}

.image-frame {
  border-radius: 16px;
  overflow: hidden;
  background-color: #d4c8b8;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.service-card {
  flex: 1 1 240px;
  min-width: 220px;
  background: var(--paper);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.service-card h3 {
  margin: 0;
}

.price {
  font-weight: 700;
  color: var(--accent-dark);
}

.inline-link {
  color: var(--accent-dark);
  border-bottom: 1px solid var(--accent-dark);
}

.inline-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.form-wrapper {
  background: var(--paper);
  border-radius: 18px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-row input,
.form-row select,
.form-row textarea {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #cfc5b8;
  font-size: 0.98rem;
}

.sticky-cta {
  position: sticky;
  bottom: 12px;
  margin: 0 auto 20px;
  width: min(720px, 92%);
  background: #1f1b17;
  color: #f5f0e6;
  padding: 12px 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 2;
}

.sticky-cta .button {
  border-color: #f5f0e6;
  background: #f5f0e6;
  color: #1f1b17;
}

.sticky-cta .button:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.footer {
  padding: 36px 0 48px;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer small {
  color: var(--muted);
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: #fffaf2;
  border: 1px solid #e0d4c4;
  border-radius: 16px;
  padding: 16px;
  display: none;
  gap: 12px;
  z-index: 10;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
}

.cookie-banner.active {
  display: flex;
  flex-direction: column;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-subgrid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.hero-subgrid .callout {
  flex: 1 1 220px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--olive);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
}

.two-tone {
  background: linear-gradient(120deg, var(--sand), var(--bg));
}

.highlight {
  background: #fff0dc;
  padding: 2px 6px;
  border-radius: 6px;
}

@media (max-width: 860px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .sticky-cta {
    flex-direction: column;
    align-items: flex-start;
    border-radius: 16px;
  }
}
