/* ==========================================================================
   base.css — design tokens, typography and Bootstrap overrides
   Brand: Menghayati / Erik's Reptile Edventures
   Client rules: no rounded corners, no gradients, no emoji, real photos only.
   ========================================================================== */

:root {
  /* Menghayati palette (from Erik's show art and cards) */
  --c-blue:        #004AAD;   /* royal blue — main brand background */
  --c-blue-deep:   #003580;   /* flat darker blue for hover / footer */
  --c-lavender:    #4C60AC;
  --c-green:       #196935;   /* forest green */
  --c-yellow:      #FFCF00;
  --c-ink:         #0F1E36;   /* text on light backgrounds */
  --c-white:       #FFFFFF;
  --c-mist:        #EEF4FF;   /* flat light band */

  --f-display: "Lilita One", "Arial Black", Arial, sans-serif;
  --f-body:    "Nunito", "Segoe UI", Arial, sans-serif;

  --frame: 6px;               /* photo frame thickness (yellow, square) */

  /* Bootstrap: every radius is zero, everywhere */
  --bs-border-radius: 0;
  --bs-border-radius-sm: 0;
  --bs-border-radius-lg: 0;
  --bs-border-radius-xl: 0;
  --bs-border-radius-xxl: 0;
  --bs-border-radius-2xl: 0;
  --bs-border-radius-pill: 0;
  --bs-body-font-family: var(--f-body);
  --bs-body-color: var(--c-ink);
  --bs-link-color-rgb: 0, 74, 173;
}

*, *::before, *::after { border-radius: 0 !important; box-shadow: none !important; }

html { scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-white);
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 400;              /* Lilita One has a single heavy weight */
  letter-spacing: .01em;
  line-height: 1.1;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.45rem; }

a { color: var(--c-blue); }
a:hover { color: var(--c-green); }

/* keyboard focus must always show (Bootstrap sets outline: 0 on .btn / .nav-link):
   dark ring on light backgrounds, yellow ring on the blue / green / lavender bands */
:focus-visible, .btn:focus-visible, .nav-link:focus-visible, .navbar-toggler:focus-visible {
  outline: 4px solid var(--c-ink) !important;
  outline-offset: 3px !important;
}
.bg-blue :focus-visible, .bg-green :focus-visible, .bg-lavender :focus-visible, .card-stage :focus-visible,
.site-nav :focus-visible, .site-footer :focus-visible,
.site-head :focus-visible, .site-foot :focus-visible, .join-photo :focus-visible {
  outline-color: var(--c-yellow) !important;
}

.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.bg-blue   { background: var(--c-blue);  color: var(--c-white); }
.bg-green  { background: var(--c-green); color: var(--c-white); }
.bg-yellow { background: var(--c-yellow); color: var(--c-ink); }
.bg-mist   { background: var(--c-mist); }
.bg-lavender { background: var(--c-lavender); color: var(--c-white); }
.bg-blue a:not(.btn):not(.tile), .bg-green a:not(.btn):not(.tile) { color: var(--c-yellow); }

.text-yellow { color: var(--c-yellow); }

.visually-hidden-focusable:focus { position: static !important; }
