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

html { scroll-behavior: auto; } /* Lenis owns smooth scroll */

body {
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: clamp(16px, 1vw + 0.6rem, 18px);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--navy-mid); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.15;
  font-weight: 500;
}
h1 { font-size: clamp(2.4rem, 4vw + 1rem, 4rem); }
h2 { font-size: clamp(1.8rem, 2vw + 1rem, 2.6rem); }
h3 { font-size: clamp(1.3rem, 1vw + 1rem, 1.7rem); }

p + p { margin-top: 1em; }

.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--cream);
  padding: 10px 16px;
  z-index: 10000;
}
.skip-link:focus { left: 12px; top: 12px; }

/* Grain overlay — cut opacity vs. this shop's usual default; paper texture, not a design signature */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.review-banner {
  background: var(--brass-deep);
  color: var(--cream);
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 8px 16px;
  position: sticky;
  top: 0;
  z-index: 1001;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  border: 1.5px solid transparent;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  /* Navy is the primary action colour — the brass pill this replaced was the
     single loudest warm element on the page. Navy on cream is ~14:1. */
  background: var(--navy);
  color: var(--cream);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--navy-mid); color: var(--cream); }
/* On a navy section the navy button would vanish — invert it there. */
.section-navy .btn-primary,
.cta-banner .btn-primary { background: var(--cream); color: var(--navy); }
.section-navy .btn-primary:hover,
.cta-banner .btn-primary:hover { background: var(--sky); color: var(--navy-deep); }
.btn-outline {
  background: transparent;
  color: var(--cream);
  border-color: color-mix(in srgb, var(--cream) 40%, transparent);
}
.btn-outline:hover { border-color: var(--cream); background: color-mix(in srgb, var(--cream) 8%, transparent); }
.btn-block { width: 100%; }

/* Forms */
.form-row { margin-bottom: 18px; }
.form-row-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--charcoal);
  font-family: inherit;
  font-size: 1rem;
}
.form-input:focus {
  outline: 2px solid var(--navy-mid);
  outline-offset: 1px;
}
.form-disclaimer {
  font-size: 0.8rem;
  color: var(--charcoal-soft);
  margin-bottom: 16px;
  line-height: 1.5;
}
.form-status { margin-top: 12px; font-size: 0.9rem; font-weight: 600; }
.form-status.is-success { color: #2f6f4e; }
.form-status.is-error { color: #a83232; }

@media (max-width: 640px) {
  .form-row-split { grid-template-columns: 1fr; }
}

/* Placeholder / draft-content marker — visible so nobody ships it by accident */
.placeholder-note {
  border: 1.5px dashed var(--brass-deep);
  background: color-mix(in srgb, var(--brass) 10%, var(--surface));
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--charcoal-soft);
}
.placeholder-note strong { color: var(--brass-deep); }
