/* Chase Miller — plain CSS, system fonts only, mobile-first */
:root {
  --bg: #f6f5f2;
  --surface: #ffffff;
  --text: #1c1c1a;
  --muted: #5a5a55;
  --accent: #3f5a3c;        /* the one accent colour: olive green */
  --accent-dark: #2d4330;
  --line: #dedbd3;
  --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::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-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
}

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

a { color: var(--accent); }

main, footer {
  width: min(100% - 2.5rem, 62rem);
  margin-inline: auto;
}

section { padding-block: 2.5rem; }
section + section { border-top: 1px solid var(--line); }

h1, h2 { line-height: 1.15; margin: 0 0 .75rem; }
h1 { font-size: clamp(2.5rem, 9vw, 3.75rem); letter-spacing: -.02em; }
h2 { font-size: 1.5rem; }

p { margin: 0 0 1rem; }
.muted { color: var(--muted); }

.eyebrow {
  margin: 0 0 .5rem;
  color: var(--accent);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.lead { font-size: 1.15rem; }

/* Skip link */
.skip {
  position: absolute; left: .75rem; top: -4rem;
  background: var(--text); color: #fff; padding: .6rem 1rem; border-radius: 8px;
  z-index: 10;
}
.skip:focus { top: .75rem; }

/* Hero */
.hero { display: grid; gap: 1.5rem; padding-top: 1.25rem; }
.hero img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 20%;
  border-radius: var(--radius);
  background: var(--line);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: .8rem 1.4rem;
  min-height: 2.75rem;
  border: 2px solid var(--accent);
  border-radius: 999px;
  font: inherit;
  font-weight: 650;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: background-color .15s, color .15s;
}
.btn-solid { background: var(--accent); color: #fff; }
.btn-solid:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: var(--accent); color: #fff; }
.btn:focus-visible, a:focus-visible { outline: 3px solid #1c1c1a; outline-offset: 3px; }

.hero-text .btn { margin: 0 .5rem .5rem 0; }

/* Social buttons: full-width stack on phones, grid on larger screens */
.social, .gallery { list-style: none; margin: 1.25rem 0 0; padding: 0; }
.social { display: grid; gap: .75rem; }
.social .btn { display: block; }

/* Gallery */
.gallery { display: grid; gap: 1rem; }
.gallery img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--line);
}

/* Footer */
footer {
  padding-block: 2rem 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .95rem;
  text-align: center;
}
footer p { margin: 0 0 .25rem; }

/* Wider screens */
@media (min-width: 520px) {
  .social { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 760px) {
  body { font-size: 1.125rem; }
  section { padding-block: 3.5rem; }
  .hero { grid-template-columns: 460px 1fr; align-items: center; gap: 3rem; padding-top: 2.5rem; }
  .social { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

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