/* ==========================================================================
   Lilo Socials — Base styles & reset
   ========================================================================== */

@font-face {
  font-family: 'Garet';
  src: url('../assets/fonts/Garet-Book.woff2') format('woff2'),
       url('../assets/fonts/Garet-Book.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Garet';
  src: url('../assets/fonts/Garet-Heavy.woff2') format('woff2'),
       url('../assets/fonts/Garet-Heavy.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

html {
  scroll-behavior: auto; /* Lenis handles smooth scroll */
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'kern' 1, 'liga' 1;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, p {
  margin: 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 100;
  font-weight: 500;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-display);
  color: var(--text-primary);
}

/* Accent word convention — e.g. "Strategy. Content. <span class='accent'>Growth.</span>" */
.accent {
  font-style: italic;
  color: var(--brand-primary);
}

.accent-sun {
  font-style: italic;
  color: var(--ink-soft);
  background: linear-gradient(180deg, transparent 60%, var(--accent-sun) 60%);
}

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

section {
  padding-block: var(--section-pad-y);
}

.text-lead {
  font-size: var(--text-lead);
  line-height: var(--leading-snug);
  color: var(--text-muted);
}

h1 + p, h2 + p, h3 + p {
  margin-top: var(--content-gap);
}

p + p {
  margin-top: var(--space-3);
}

/* ---------------------------------- Section label ---------------------------------- */
.eyebrow {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding-bottom: 0.6rem;
  font-size: var(--text-caption);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--brand-primary);
  margin-bottom: var(--space-2);
}

.eyebrow-row {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}

.eyebrow-row .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-coral);
  flex-shrink: 0;
}

.eyebrow .label-wave {
  width: 84px;
  height: 10px;
  overflow: visible;
}

.eyebrow .label-wave path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 140;
  stroke-dashoffset: 140;
}

.eyebrow.is-visible .label-wave path {
  animation: draw-wave 1.1s var(--ease-premium) forwards;
}

@keyframes draw-wave {
  to { stroke-dashoffset: 0; }
}

/* Statement variant — for the rare moment a "label" needs to read as a
   genuine greeting/headline rather than a small kicker. Compound selector
   so it reliably wins over the base .eyebrow rules regardless of source order. */
.eyebrow.eyebrow--statement {
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 100;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.25rem, 1.6rem + 3vw, 4rem);
  letter-spacing: var(--tracking-display);
  text-transform: none;
}

.eyebrow--statement .label-wave {
  width: 140px;
  height: 16px;
}

/* Compact variant for small photo-overlay tags (work cards) — no wave, no dot */
.eyebrow--tag {
  flex-direction: row;
  align-items: center;
  padding-bottom: 0;
  margin-bottom: 0;
  gap: var(--space-1);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 3px;
  border-radius: 4px;
}
