:root {
  --color-bg: #fefdfc;
  --color-text: #000000;
  --color-heading: #06122f;
  --color-muted: #2e2e48;

  --color-primary-100: #e3e7fb;
  --color-primary-700: #06122f;
  --color-tertiary-500: #485511;
  --color-tertiary-600: #2a3307;

  --font-base: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-logo: "Georama", var(--font-base);

  --container-width: 1200px;
  --container-padding: clamp(16px, 6vw, 161px);
}

/* clip (not hidden): hidden would turn <body> into a scroll container
   and break position: sticky (header, home intro) */
html {
  /* overscroll / safe-area strips take the page colour, not white */
  background: #fbfaf6;
  overflow-x: hidden;
  overflow-x: clip;
  overflow-y: visible;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-base);
  overflow-x: hidden;
  overflow-x: clip;
  overflow-y: visible;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

/* Main 12-column grid (1920w spec: count 12, margin 0, gutter 16) */
/* Mobile: 16px left/right padding on every page */
@media (max-width: 600px) {
  :root {
    --container-padding: 16px;
  }
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.col-1  { grid-column: span 1; }
.col-2  { grid-column: span 2; }
.col-3  { grid-column: span 3; }
.col-4  { grid-column: span 4; }
.col-5  { grid-column: span 5; }
.col-6  { grid-column: span 6; }
.col-7  { grid-column: span 7; }
.col-8  { grid-column: span 8; }
.col-9  { grid-column: span 9; }
.col-10 { grid-column: span 10; }
.col-11 { grid-column: span 11; }
.col-12 { grid-column: span 12; }

section {
  padding-block: clamp(48px, 6vw, 80px);
}

/* Section eyebrow: bullet + label, used above section headings */
.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.section-eyebrow__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-heading);
  flex-shrink: 0;
}

.section-eyebrow__label {
  font-weight: 600;
  font-size: clamp(18px, 2vw, 24px);
  color: var(--color-text);
}

/* Shared button styles */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 90px;
  font-family: var(--font-base);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.15s ease;
}

.btn:hover {
  opacity: 0.85;
}

.btn--ghost {
  padding: 16px 24px;
  font-weight: 600;
  font-size: 16px;
  color: var(--color-tertiary-500);
  background: transparent;
}

.btn--dark-sm {
  padding: 12px 24px;
  height: 40px;
  background: var(--color-tertiary-600);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 14px;
}

.btn--dark-lg {
  padding: 16px 24px;
  background: var(--color-primary-700);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  box-shadow: 0 2px 2px rgba(27, 28, 29, 0.04);
}

.btn__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Shared pill tag */
.tag {
  padding: 8px 16px;
  border: 0.5px solid var(--color-primary-100);
  border-radius: 8px;
  font-weight: 500;
  font-size: 16px;
  color: var(--color-heading);
  background: rgba(255, 255, 255, 0.1);
}

.hashtag {
  padding: 8px;
  font-weight: 500;
  font-size: 16px;
  color: var(--color-text);
}

footer {
  border-top: 1px solid rgba(209, 209, 209, 0.5);
  padding-block: 48px 32px;
}

/* Home footer: illustration left, contact buttons right */
.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
  align-items: center;
  gap: 56px;
}

.site-footer__art {
  display: block;
  width: 100%;
  height: auto;
}

.site-footer__title {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  color: #333330;
}

.social-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  padding: 0;
  list-style: none;
}

.social-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px 12px 14px;
  border: 1px solid rgba(51, 51, 48, 0.18);
  border-radius: 999px;
  background: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: #333330;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.social-button svg {
  flex: none;
  width: 24px;
  height: 24px;
}

.social-button:hover {
  border-color: #2a3307;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px -8px rgba(42, 51, 7, 0.4);
}

.social-button:focus-visible {
  outline: 2px solid #2a3307;
  outline-offset: 3px;
}

.site-footer__copy {
  margin-top: 32px;
  font-size: 14px;
  color: rgba(51, 51, 48, 0.6);
}

@media (max-width: 760px) {
  .site-footer {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .site-footer__art {
    max-width: 360px;
  }

  .site-footer__title {
    font-size: 26px;
  }

  .social-button {
    padding: 10px 16px 10px 12px;
    font-size: 15px;
  }
}
