/*
Theme Name: Steps
Theme URI: https://steps.pk
Author: Steps
Description: A single-page theme of short quotations about learning, effort and growth.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: steps
*/

:root {
  --slate: #1E2A38;
  --sky: #EEF4F8;
  --mint: #CFEDE0;
  --sun: #F2B632;
  --green: #2E7D63;
  --muted: #4F5D6B;
  --white: #FFFFFF;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--slate); background: var(--sky); line-height: 1.6; }
img { max-width: 100%; height: auto; }
a { color: var(--green); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
.wrap { width: min(1080px, 92%); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; background: var(--sun); color: var(--slate); padding: .6rem 1rem; z-index: 10; }
.skip-link:focus { top: 1rem; }

/* Header */
.site-header { padding: 1.5rem 0; }
.bar { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1.5rem; }
.wordmark { font-family: var(--serif); font-size: 2rem; font-weight: 700; margin: 0; line-height: 1; }
.wordmark a { color: var(--slate); text-decoration: none; }
.wordmark span { color: var(--green); }
.tagline { margin: 0; color: var(--muted); font-size: .95rem; }

/* Hero quote */
.hero { background: var(--slate); color: var(--white); padding: clamp(3rem, 8vw, 6rem) 0; }
.quote-card { margin: 0; max-width: 46rem; }
.quote-card blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.9rem, 4.2vw, 3.2rem); line-height: 1.2; font-weight: 600; text-wrap: balance; }
.quote-card figcaption { margin-top: 1.5rem; color: var(--sun); font-size: 1.05rem; font-weight: 600; }
.controls { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 2.25rem; }
.btn { font: inherit; font-weight: 600; font-size: 1rem; min-height: 44px; padding: .7rem 1.25rem; border-radius: 4px; border: 2px solid var(--sun); background: transparent; color: var(--white); cursor: pointer; }
.btn.primary { background: var(--sun); color: var(--slate); }
.btn:hover { filter: brightness(1.08); }
.status { color: var(--mint); font-size: .95rem; min-height: 1.5em; }

.site-footer { background: var(--slate); color: var(--mint); padding: 2rem 0; font-size: .95rem; }
.site-footer p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
