/* Base */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Georgia", "Times New Roman", serif;
  color: #1f2328;
  background: #f6f3ef;
  line-height: 1.6;
}

a {
  color: #1f4c7a;
  text-decoration: none;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #1f2328;
  color: #f9f7f4;
  font-size: 13px;
  letter-spacing: 0.3px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  background: #1f2328;
  color: #f9f7f4;
  border: none;
  font-size: 15px;
  cursor: pointer;
}

.btn-light {
  background: #f9f7f4;
  color: #1f2328;
  border: 1px solid #1f2328;
}

.btn-outline {
  background: transparent;
  border: 1px solid #1f2328;
  color: #1f2328;
}

.muted {
  color: #5d6770;
}

/* Header */
.masthead {
  padding: 24px 0 12px;
  border-bottom: 1px solid #d7d2c8;
  background: #f6f3ef;
}

.masthead-top {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: lowercase;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  font-size: 14px;
}

.nav a {
  padding: 6px 0;
}

.nav-note {
  font-size: 12px;
  color: #4c555d;
  border-left: 1px solid #c7c0b3;
  padding-left: 12px;
}

/* Hero */
.hero {
  padding: 38px 0 50px;
  background: #f0ece5;
}

.hero-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: stretch;
}

.hero-copy {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-image {
  flex: 1 1 360px;
  min-height: 320px;
  border-radius: 18px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0));
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Magazine columns */
.columns {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.column {
  flex: 1 1 260px;
}

.column-wide {
  flex: 1 1 520px;
}

.section {
  padding: 48px 0;
}

.section-alt {
  background: #ffffff;
}

.section-ink {
  background: #1f2328;
  color: #f9f7f4;
}

.section-ink a {
  color: #f7d7a6;
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.editorial-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
  background: #f9f7f4;
  border-radius: 12px;
  border: 1px solid #e0dbd1;
}

.card-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.card {
  flex: 1 1 220px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e3ddd3;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.img-wrap {
  background-color: #d8d0c6;
  position: relative;
  overflow: hidden;
}

.media-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.img-hero {
  min-height: 260px;
}

.img-inline {
  min-height: 220px;
}

.price-tag {
  font-weight: 700;
  font-size: 18px;
}

/* Form */
.form-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid #e3ddd3;
  border-radius: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #cfc7ba;
  font-family: inherit;
  font-size: 15px;
}

.inline-cta {
  font-weight: 700;
}

.sticky-cta {
  position: sticky;
  top: 22px;
  padding: 18px;
  border-radius: 16px;
  background: #f0e7dc;
  border: 1px solid #d4c7b7;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Footer */
.footer {
  margin-top: auto;
  padding: 32px 0;
  background: #f0ece5;
  border-top: 1px solid #d7d2c8;
  font-size: 14px;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer a {
  color: #1f4c7a;
}

.legal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  right: 16px;
  left: 16px;
  padding: 16px;
  background: #ffffff;
  border: 1px solid #d7d2c8;
  border-radius: 14px;
  display: none;
  z-index: 999;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

/* Image assignments */
.hero-home {
  background-image: url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?w=1400&q=80");
}

.section-bg-desk {
  background-image: url("https://images.unsplash.com/photo-1469474968028-56623f02e42e?w=1400&q=80");
  background-size: cover;
  background-position: center;
  color: #f9f7f4;
  position: relative;
}

.section-bg-desk::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(16, 18, 20, 0.65);
}

.section-bg-desk .container {
  position: relative;
  z-index: 1;
}

/* Utility */
.spacer-sm {
  margin-top: 10px;
}

.spacer-md {
  margin-top: 18px;
}

.spacer-lg {
  margin-top: 26px;
}
