/* steveantoniotti.com
   One stylesheet. Warm, colorful, polished. */

:root {
  --bg: #f6f4ee;
  --surface: #ffffff;
  --text: #0f1d2e;
  --muted: #55606e;
  --line: #e3e1d8;
  --forest: #00274c;
  --forest-2: #0b3d6e;
  --sun: #ffcb05;
  --sun-text: #8f6c00;
  --sun-soft: #fff3c4;
  --on-dark: #f7f1e6;
  --todo-bg: #fff1a8;
  --todo-text: #463a00;

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1520;
    --surface: #112032;
    --text: #eee7da;
    --muted: #a7b3ad;
    --line: #1f3247;
    --forest: #001a33;
    --forest-2: #00274c;
    --sun: #ffcb05;
    --sun-text: #ffcb05;
    --sun-soft: #2b2a12;
    --on-dark: #eee7da;
    --todo-bg: #4d4000;
    --todo-text: #fff3b0;
  }
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 var(--body);
}

.wrap {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .wrap { padding: 0 2rem; }
}

a { color: var(--sun-text); text-underline-offset: 0.2em; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 0.75rem;
}

h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.3rem; }

/* Top bar */

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--forest) 92%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.75rem;
}

.brand {
  color: var(--on-dark);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
}

.top nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-size: 0.92rem;
}

.top nav a {
  color: color-mix(in srgb, var(--on-dark) 80%, transparent);
  text-decoration: none;
}

.top nav a:hover { color: var(--on-dark); }

.top nav .nav-cta {
  color: #00274c;
  background: var(--sun);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-weight: 600;
}

@media (max-width: 520px) {
  .top nav a:not(.nav-cta) { display: none; }
}

/* Hero */

.hero {
  background:
    radial-gradient(60rem 30rem at 85% -10%, color-mix(in srgb, var(--sun) 16%, transparent), transparent 60%),
    linear-gradient(160deg, var(--forest) 0%, var(--forest-2) 100%);
  color: var(--on-dark);
  padding: 3.5rem 0 4.5rem;
}

.hero-inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 860px) {
  .hero-inner { grid-template-columns: 1.3fr 1fr; }
  .hero { padding: 5rem 0 6rem; }
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--sun);
  margin: 0 0 1rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 7vw, 4.2rem);
}

.hero h1 span {
  color: var(--sun);
  font-weight: 500;
  font-style: italic;
}

.lead {
  font-size: 1.15rem;
  max-width: 34rem;
  color: color-mix(in srgb, var(--on-dark) 88%, transparent);
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.3rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--sun); color: #00274c; }

.btn-ghost {
  color: var(--on-dark);
  border: 1.5px solid color-mix(in srgb, var(--on-dark) 45%, transparent);
}

.hero-photo { margin: 0; justify-self: center; }

.photo {
  display: block;
  width: min(320px, 78vw);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 28px 28px 120px 28px;
  box-shadow: 0 30px 60px rgb(0 0 0 / 0.3);
}

.photo-placeholder {
  width: min(320px, 78vw);
  aspect-ratio: 4 / 5;
  border-radius: 28px 28px 120px 28px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--sun) 55%, transparent), transparent),
    color-mix(in srgb, var(--on-dark) 15%, transparent);
  border: 2px dashed color-mix(in srgb, var(--on-dark) 40%, transparent);
  display: grid;
  place-items: center;
  font-weight: 600;
  color: var(--on-dark);
  box-shadow: 0 30px 60px rgb(0 0 0 / 0.25);
}

/* Proof strip */

.proof {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.proof-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
}

@media (max-width: 420px) {
  .proof strong { font-size: 1.4rem; }
  .proof span { font-size: 0.8rem; }
}

.proof strong {
  display: block;
  font-family: var(--display);
  font-size: 1.8rem;
  color: var(--forest-2);
  line-height: 1.1;
}

@media (prefers-color-scheme: dark) {
  .proof strong { color: var(--sun); }
}

.proof span { color: var(--muted); font-size: 0.9rem; }

/* Sections */

.section { padding: 4.5rem 0; }

.kicker {
  color: var(--sun-text);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  margin: 0 0 0.5rem;
}

.cards {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (min-width: 820px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
}

.section-lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 40rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.75rem;
  box-shadow: 0 10px 30px rgb(0 39 76 / 0.07);
}

.card-accent {
  background: linear-gradient(180deg, var(--sun-soft), var(--surface) 70%);
}

.card-icon { font-size: 2rem; margin-bottom: 0.5rem; }

.card ul { padding-left: 1.1rem; margin: 1rem 0 0; }
.card li + li { margin-top: 0.35rem; }
.card li::marker { color: var(--sun-text); }

/* Steps */

.steps-section { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.steps {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}

.steps li { position: relative; padding-top: 0.25rem; }

.step-num {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--forest);
  color: var(--on-dark);
  font-family: var(--display);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

/* Story */

.story-inner {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 860px) {
  .story-inner { grid-template-columns: 1.4fr 1fr; align-items: start; }
}

.timeline {
  list-style: none;
  padding: 0 0 0 1.25rem;
  margin: 0;
  border-left: 3px solid var(--sun);
}

.timeline li { position: relative; padding: 0 0 1.25rem 0.5rem; }

.timeline li::before {
  content: "";
  position: absolute;
  left: -1.72rem;
  top: 0.45rem;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--sun);
}

.timeline span {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* Beyond work */

.beyond { padding-top: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.25rem; }

.chips span {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-weight: 500;
}

/* Quotes */

.quotes { background: var(--surface); border-top: 1px solid var(--line); }

blockquote {
  margin: 1rem 0 0;
  max-width: 46rem;
}

blockquote p {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  line-height: 1.35;
  margin: 0 0 0.75rem;
}

blockquote footer { color: var(--muted); font-size: 0.95rem; }

.todo-note { margin-top: 1.5rem; }

/* Contact */

.contact {
  background: linear-gradient(160deg, var(--forest) 0%, var(--forest-2) 100%);
  color: var(--on-dark);
  padding: 4.5rem 0;
  text-align: center;
}

.contact-inner { max-width: 40rem; }

.contact .email {
  font-family: var(--display);
  font-size: 1.6rem;
  margin-top: 1.25rem;
}

.foot {
  padding: 1.5rem 0 2rem;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Placeholder text. Remove the class once the real copy is in. */

.todo {
  background: var(--todo-bg);
  color: var(--todo-text);
  border-radius: 3px;
  padding: 0 0.2em;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
