/* ==========================================================================
   Let Heaven Smile — design tokens + base
   Brand cyan sampled from the supplied logo: #00AEEF
   ========================================================================== */

:root {
  /* Brand */
  --brand:        #00AEEF;
  --brand-deep:   #0089BF;
  --brand-ink:    #062A3A;   /* deep teal-navy ground */
  --brand-tint:   #E8F7FE;   /* pale cyan wash */

  /* Support — warm accent keeps the palette from reading cold/corporate */
  --sun:          #FFB000;
  --sun-deep:     #E09000;

  /* Neutrals — warm paper and warm taupe body copy, not clinical black-on-white */
  --paper:        #FFFFFF;
  --paper-2:      #F6F3EF;
  --line:         #E4DFD8;
  --ink:          #14181C;   /* headings */
  --ink-2:        #5A5049;   /* body copy — warm taupe */
  --ink-3:        #857A70;

  /* Type */
  --font-display: "Archivo", "Archivo Black", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Fluid type scale */
  --fs-hero:  clamp(2.5rem, 1.5rem + 4.1vw, 4.5rem);
  --fs-h1:    clamp(2.25rem, 1.5rem + 3.2vw, 4rem);
  --fs-h2:    clamp(1.75rem, 1.25rem + 2.1vw, 2.9rem);
  --fs-h3:    clamp(1.25rem, 1.05rem + 0.8vw, 1.6rem);
  --fs-lead:  clamp(1.05rem, 0.98rem + 0.42vw, 1.3rem);
  --fs-body:  1.0625rem;
  --fs-sm:    0.9375rem;
  --fs-xs:    0.8125rem;

  /* Space */
  --sp-section: clamp(3.5rem, 2rem + 6vw, 7rem);
  --gutter:     clamp(1.25rem, 0.6rem + 2.4vw, 3rem);
  --maxw:       1240px;
  --maxw-prose: 68ch;

  --radius:     14px;
  --radius-lg:  24px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(6,42,58,.06), 0 2px 8px rgba(6,42,58,.05);
  --shadow-md: 0 4px 12px rgba(6,42,58,.08), 0 12px 32px rgba(6,42,58,.09);
  --shadow-lg: 0 12px 28px rgba(6,42,58,.12), 0 28px 64px rgba(6,42,58,.14);

  --ease: cubic-bezier(.2, .7, .3, 1);
}

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

html { -webkit-text-size-adjust: 100%; }
html:focus-within { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg, video { display: block; max-width: 100%; }
img, video { height: auto; }

input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.022em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.012em; }

/* Forced break that only applies once there's room for it */
br.wide-only { display: none; }
@media (min-width: 860px) { br.wide-only { display: inline; } }

/* Display voice — echoes the all-caps logo. Reserved for hero/band headlines. */
.h-caps {
  text-transform: uppercase;
  letter-spacing: 0.022em;
  line-height: 0.95;
  text-wrap: balance;
}

p  { text-wrap: pretty; }
a  { color: var(--brand-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand); }

ul, ol { padding-left: 1.15em; }

/* Visible, consistent focus for keyboard users */
:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 8px; top: -100px;
  background: var(--brand-ink); color: #fff;
  padding: .7rem 1.1rem; border-radius: 0 0 8px 8px;
  z-index: 200; font-weight: 600; text-decoration: none;
  transition: top .18s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* --------------------------------------------------------- layout */
.wrap {
  width: min(100% - (var(--gutter) * 2), var(--maxw));
  margin-inline: auto;
}
.wrap--narrow { width: min(100% - (var(--gutter) * 2), 860px); margin-inline: auto; }

.section { padding-block: var(--sp-section); }
.section--tint { background: var(--paper-2); }
.section--brand-tint { background: var(--brand-tint); }
.section--ink { background: var(--brand-ink); color: #fff; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink p { color: rgba(255,255,255,.82); }

.prose { max-width: var(--maxw-prose); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }

.stack > * + * { margin-top: 1rem; }
.stack-lg > * + * { margin-top: 2rem; }

.grid { display: grid; gap: clamp(1.25rem, .6rem + 1.6vw, 2rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

/* --------------------------------------------------------- type helpers */
.eyebrow {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-deep);
  display: flex; align-items: center; gap: .6rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 3px; border-radius: 2px;
  background: var(--brand); flex: none;
}
.section--ink .eyebrow { color: var(--brand); }
.section--ink .eyebrow::before { background: var(--sun); }

.lead { font-size: var(--fs-lead); color: var(--ink-2); line-height: 1.55; }
.section--ink .lead { color: rgba(255,255,255,.85); }

.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 1rem + 2.5vw, 3.25rem); }
.section-head > * + * { margin-top: .9rem; }

/* --------------------------------------------------------- buttons
   One accent owns every primary action: marigold. Cyan is structural only.
   The arrow slides away from the label on hover. */
.btn {
  --btn-bg: var(--sun);
  --btn-fg: #2A1B00;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.7rem;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 2px solid transparent; border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 700; font-size: var(--fs-sm);
  text-transform: uppercase; letter-spacing: .06em;
  text-decoration: none; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              background-color .18s var(--ease), color .18s var(--ease);
}
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn--arrow::after {
  content: "→"; font-size: 1.05em; line-height: 1;
  transition: transform .5s cubic-bezier(.4, 0, .2, 1);
}
.btn--arrow:hover::after { transform: translateX(6px); }

.btn--ink   { --btn-bg: var(--brand-ink); --btn-fg: #fff; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--ink); --btn-fg: #fff; border-color: var(--ink); }
.btn--on-dark { --btn-bg: #fff; --btn-fg: var(--brand-ink); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255,255,255,.55); }
.btn--outline-light:hover { background: rgba(255,255,255,.14); }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

/* --------------------------------------------------------- motion */
@media (prefers-reduced-motion: reduce) {
  html:focus-within { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
