/* Pat Fleet — patfleet.com
   Modern rebuild, 2026. Light, editorial, typographic. */

:root {
  --bg:        #faf7f2;
  --bg-tint:   #f2ede3;
  --surface:   #ffffff;
  --ink:       #1c1a16;
  --muted:     #6d685f;
  --line:      #e6dfd2;
  --accent:    #1d5a7a;
  --accent-ink:#123c53;
  --accent-soft:#e8eef2;
  --gold:      #b9772f;
  --ok:        #1c7a4d;
  --err:       #b3261e;
  --shadow:    0 1px 2px rgba(28,26,22,.04), 0 12px 32px -12px rgba(28,26,22,.14);
  --radius:    14px;
  --maxw:      1080px;
  --pad:       clamp(1.25rem, 5vw, 2rem);
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0;
}

p { margin: 0 0 1.1em; }
a { color: var(--accent-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }

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

.section { padding-block: clamp(3.75rem, 9vw, 6.5rem); }
.section--tint { background: var(--bg-tint); }
.section__head { max-width: 62ch; margin-bottom: clamp(2rem, 5vw, 3rem); }
.section__head p { color: var(--muted); margin-bottom: 0; }

.eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 .9rem;
}

h2.h { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h3.h { font-size: 1.18rem; font-family: "Inter", sans-serif; font-weight: 600; letter-spacing: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  flex: none;
  white-space: nowrap;
  gap: .6rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -.01em;
}
.brand span { font-family: "Inter", sans-serif; font-size: .72rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; align-items: center; gap: clamp(.9rem, 3vw, 1.9rem); }
.nav a {
  font-size: .95rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}
.nav a:hover { color: var(--ink); }
.nav .nav__cta {
  color: var(--accent-ink);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line));
  border-radius: 999px;
  padding: .4rem .9rem;
}
.nav .nav__cta:hover { background: var(--accent-soft); }
@media (max-width: 620px) {
  .brand span { display: none; }
  .nav__hide-sm { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: .85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .12s ease, background-color .12s ease, border-color .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-ink); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-ink); }
.btn--light { background: #fff; color: var(--accent-ink); }
.btn--light:hover { background: var(--accent-soft); }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: clamp(3rem, 7vw, 5rem); }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 6vw, 4rem);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.15rem);
  margin-bottom: .5em;
}
.hero__lead { font-size: 1.2rem; color: var(--muted); max-width: 42ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero__figure { position: relative; }
.hero__figure img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.hero__caption {
  margin-top: .8rem;
  font-size: .82rem;
  color: var(--muted);
}
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__figure { order: -1; }
  .hero__figure img { aspect-ratio: 16 / 10; }
}

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(2rem, 6vw, 4rem);
  align-items: start;
}
.about__portrait img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 1/1; object-fit: cover; }
.about__body p:last-child { margin-bottom: 0; }
.about__body .lead { font-size: 1.22rem; }
@media (max-width: 820px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__portrait { max-width: 320px; }
}

.pullquote {
  margin: clamp(2.5rem, 6vw, 3.5rem) 0 0;
  padding-left: 1.4rem;
  border-left: 3px solid var(--gold);
}
.pullquote p {
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.4rem, 3.2vw, 1.9rem);
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: .4rem;
}
.pullquote cite { font-style: normal; font-size: .9rem; color: var(--muted); letter-spacing: .02em; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: clamp(2.5rem, 6vw, 3.5rem);
  border-top: 1px solid var(--line);
  padding-top: clamp(1.75rem, 4vw, 2.5rem);
}
.stats dt { font-family: "Fraunces", Georgia, serif; font-size: clamp(1.45rem, 3.2vw, 2rem); font-weight: 500; line-height: 1.15; }
.stats dd { margin: .15rem 0 0; font-size: .95rem; color: var(--muted); }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; gap: 1.1rem; text-align: left; } }

/* ---------- Clips / audio ---------- */
.clips { display: grid; gap: 1rem; }
.clips--feature { margin-bottom: 1rem; }
.clip {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem 1.35rem;
  box-shadow: var(--shadow);
}
.clip--feature { border-color: color-mix(in srgb, var(--accent) 30%, var(--line)); background: linear-gradient(180deg, var(--accent-soft), var(--surface) 55%); }
.clip figcaption { display: block; margin-bottom: .9rem; }
.clip__title { display: block; font-weight: 600; font-size: 1.05rem; }
.clip__desc { display: block; color: var(--muted); font-size: .95rem; }

.ap { display: flex; align-items: center; gap: .85rem; }
.ap__toggle {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color .12s ease, transform .12s ease;
}
.ap__toggle:hover { background: var(--accent-ink); }
.ap__toggle:active { transform: scale(.96); }
.ap__toggle svg { width: 18px; height: 18px; display: block; }
.ap__seek {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--accent) var(--progress, 0%), var(--line) var(--progress, 0%));
  cursor: pointer;
}
.ap__seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 15px; height: 15px;
  border-radius: 999px;
  background: var(--accent-ink);
  border: 2px solid #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.25);
}
.ap__seek::-moz-range-thumb {
  width: 15px; height: 15px;
  border-radius: 999px;
  background: var(--accent-ink);
  border: 2px solid #fff;
}
.ap__seek:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.ap__time {
  flex: none;
  font-variant-numeric: tabular-nums;
  font-size: .85rem;
  color: var(--muted);
  min-width: 4.4ch;
  text-align: right;
}
.clip audio { width: 100%; margin-top: .25rem; }

/* ---------- Services ---------- */
.tags { display: flex; flex-wrap: wrap; gap: .6rem; }
.tags li {
  list-style: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: .5rem 1rem;
  font-size: .95rem;
  font-weight: 500;
}

/* ---------- Clients ---------- */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: .7rem;
  margin-top: .5rem;
  padding: 0;
}
.clients-grid li {
  list-style: none;
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 74px;
  padding: .75rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-weight: 500;
  font-size: .98rem;
}

/* ---------- Contact ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(2rem, 6vw, 4rem);
  align-items: start;
}
.contact__intro p { color: var(--muted); margin-bottom: 0; }
@media (max-width: 820px) { .contact__grid { grid-template-columns: 1fr; } }

.form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2rem);
  box-shadow: var(--shadow);
}
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: .4rem; }
.field__opt { font-weight: 400; color: var(--muted); }
.form input, .form textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .7rem .85rem;
}
.form textarea { resize: vertical; min-height: 120px; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.form button { margin-top: .3rem; }
.form__status { margin: 1rem 0 0; font-size: .95rem; min-height: 1.2em; }
.form__status.is-success { color: var(--ok); }
.form__status.is-error { color: var(--err); }

/* ---------- Links / elsewhere ---------- */
.linklist { display: grid; gap: .25rem; }
.linklist a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .5rem 1rem;
  align-items: baseline;
  padding: 1.1rem .25rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
}
.linklist a:first-child { border-top: 1px solid var(--line); }
.linklist a:hover { color: var(--accent-ink); }
.linklist a:hover .linklist__title { text-decoration: underline; text-underline-offset: 3px; }
.linklist__title { font-weight: 600; }
.linklist__desc { grid-column: 1 / -1; color: var(--muted); font-size: .95rem; }
.linklist__arrow { color: var(--accent); flex: none; }

/* ---------- Press ---------- */
.press-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.press-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}
.press-card h3 { margin-bottom: .3rem; }
.press-card p { color: var(--muted); font-size: .95rem; margin-bottom: 1rem; }
.press-contact { margin-top: 2rem; color: var(--muted); }
.press-contact strong { color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #c9c4ba;
  padding-block: clamp(2.5rem, 6vw, 3.5rem);
  font-size: .92rem;
}
.site-footer a { color: #f1ede4; }
.site-footer__inner { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: start; }
.site-footer__brand { font-family: "Fraunces", Georgia, serif; font-size: 1.15rem; color: #fff; }
.site-footer__note { max-width: 42ch; }

/* ---------- Utilities ---------- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
section[id], main[id] { scroll-margin-top: 84px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
