@layer theme, base, revamp-tokens, components, utilities;
@layer revamp-tokens {


:root {
  /* Brand palette — anchored to The Boughton */
  --bg: #f7f2ea;
  --surface: #ece3d4;
  --text: #1f1a14;
  --muted: #7a6a58;

  --primary: #112c29;
  --accent: #aa998a;

  /* On-colors — readable text on colored surfaces */
  --on-primary: #f7f2ea;
  --on-accent: #1f1a14;

  /* Radii — soft */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;

  /* Shadows — soft */
  --shadow-sm: 0 1px 2px rgba(31, 26, 20, 0.06), 0 1px 3px rgba(31, 26, 20, 0.04);
  --shadow-md: 0 4px 12px rgba(31, 26, 20, 0.08), 0 2px 6px rgba(31, 26, 20, 0.05);
  --shadow-lg: 0 18px 40px rgba(31, 26, 20, 0.14), 0 6px 14px rgba(31, 26, 20, 0.08);

  /* Typography */
  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Section vertical rhythm — compact */
  --section-py: clamp(40px, 5vw, 64px);
}

/* Reusable component classes */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  background: var(--primary);
  color: var(--on-primary);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 1px solid var(--primary);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary:hover {
  background: #0a1f1c;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  background: transparent;
  color: var(--primary);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 1px solid var(--primary);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--on-primary);
  transform: translateY(-1px);
}

.card-surface {
  background: var(--bg);
  border: 1px solid rgba(122, 106, 88, 0.15);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s ease;
}

.card-surface:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--primary);
  border: 1px solid rgba(122, 106, 88, 0.2);
}

.section-shell {
  padding-block: var(--section-py);
}

/* Display heading rhythm — tight leading */
h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--text);
  line-height: 1.05;
  letter-spacing: -0.01em;
  font-weight: 400;
}

p {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.65;
}

/* Eyebrow / label */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Decorative rule */
.rule {
  display: inline-block;
  width: 36px;
  height: 1px;
  background: var(--accent);
  vertical-align: middle;
}
}

/* Hash-link navigation glides instead of teleporting, and the target
       section clears the sticky header. In the base layer so an explicit
       scroll-mt-* utility on an element still wins. */
    @layer base {
      @media (prefers-reduced-motion: no-preference) {
        html { scroll-behavior: smooth; }
      }
      [id] { scroll-margin-top: 6rem; }
    }


/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 64px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #25d366;
  box-shadow: 0 10px 30px rgba(17, 44, 41, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(17, 44, 41, 0.32);
}

.whatsapp-float img {
  width: 30px;
  height: 30px;
}
