/* jeskridge.com hub — shares the palette of The Rolling Point of Contact so the
   whole domain reads as one property. */

:root {
  --accent: #E4572E;
  --accent-soft: #fbeee8;
  --blue: #26497d;
  --ink: #14161a;
  --body: #2c3038;
  --muted: #6b7280;
  --faint: #9aa1ab;
  --paper: #fbfaf8;
  --card: #ffffff;
  --rule: #e3e0da;
  --rule-soft: #eeebe5;
  --shadow: 0 1px 2px rgba(20,22,26,.05), 0 8px 24px -12px rgba(20,22,26,.18);
  --shadow-lift: 0 2px 4px rgba(20,22,26,.06), 0 18px 40px -18px rgba(20,22,26,.28);
  --serif: Georgia, 'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', serif;
  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1180px;
  --narrow: 44rem;
  --radius: 12px;
}
:root[data-theme="dark"] {
  --accent: #ff7a4d; --accent-soft: #2a1c15; --blue: #8fb4e8;
  --ink: #f2f0ec; --body: #cdc9c2; --muted: #9b958c; --faint: #746e66;
  --paper: #131417; --card: #1a1c20; --rule: #2c2f35; --rule-soft: #23262b;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px -12px rgba(0,0,0,.6);
  --shadow-lift: 0 2px 4px rgba(0,0,0,.5), 0 18px 40px -18px rgba(0,0,0,.8);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --accent: #ff7a4d; --accent-soft: #2a1c15; --blue: #8fb4e8;
    --ink: #f2f0ec; --body: #cdc9c2; --muted: #9b958c; --faint: #746e66;
    --paper: #131417; --card: #1a1c20; --rule: #2c2f35; --rule-soft: #23262b;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px -12px rgba(0,0,0,.6);
    --shadow-lift: 0 2px 4px rgba(0,0,0,.5), 0 18px 40px -18px rgba(0,0,0,.8);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--paper); color: var(--body);
  font-family: var(--serif); font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { font-family: var(--sans); color: var(--ink); line-height: 1.18;
  letter-spacing: -.018em; font-weight: 650; margin: 0; }
a { color: var(--blue); text-underline-offset: .18em; }
img { max-width: 100%; height: auto; display: block; }

.skip { position: absolute; left: -9999px; }
.skip:focus { position: fixed; top: .5rem; left: .5rem; z-index: 200;
  padding: .6rem 1rem; background: var(--accent); color: #fff; border-radius: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }
.wrap.narrow { max-width: calc(var(--narrow) + 3rem); }

/* header */
.site-header { position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--rule-soft); }
.site-header .bar { max-width: var(--wrap); margin: 0 auto; padding: .7rem 1.5rem;
  display: flex; align-items: center; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none;
  color: var(--ink); font-family: var(--sans); font-weight: 700; letter-spacing: -.01em; }
.brand .mark { width: 30px; height: 18px; flex: none; position: relative; }
.brand .mark::before, .brand .mark::after { content: ""; position: absolute; top: 0;
  width: 18px; height: 18px; border: 2.5px solid currentColor; border-radius: 50%; }
.brand .mark::before { left: 0; color: var(--accent); }
.brand .mark::after { right: 0; color: var(--ink); opacity: .55; }
#site-nav { margin-left: auto; display: flex; align-items: center; gap: .1rem; flex-wrap: wrap;
  justify-content: flex-end; }
#site-nav a { font-family: var(--sans); font-size: .84rem; font-weight: 550; color: var(--muted);
  text-decoration: none; padding: .4rem .6rem; border-radius: 7px; white-space: nowrap; }
#site-nav a:hover, #site-nav a.active { color: var(--ink); background: var(--rule-soft); }
.theme-toggle { margin-left: .35rem; width: 32px; height: 32px; border: 1px solid var(--rule);
  border-radius: 8px; background: transparent; cursor: pointer; color: var(--muted); }
.theme-toggle::before { content: "◐"; font-size: 1rem; line-height: 1; }
.theme-toggle:hover { color: var(--ink); border-color: var(--faint); }
.nav-toggle { display: none; }
@media (max-width: 820px) {
  .nav-toggle { display: flex; flex-direction: column; justify-content: center; gap: 4px;
    margin-left: auto; width: 38px; height: 34px; padding: 0 7px; background: transparent;
    border: 1px solid var(--rule); border-radius: 8px; cursor: pointer; }
  .nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }
  #site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: .5rem;
    background: var(--paper); border-bottom: 1px solid var(--rule); box-shadow: var(--shadow); }
  #site-nav.open { display: flex; }
  #site-nav a { padding: .7rem .8rem; font-size: 1rem; }
  .theme-toggle { margin: .4rem .8rem; width: auto; padding: .5rem; }
}

/* hero */
.hero { padding: 5rem 1.5rem 3rem; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -30% 20% auto; height: 420px;
  background: radial-gradient(ellipse at center,
    color-mix(in srgb, var(--accent) 13%, transparent), transparent 68%); pointer-events: none; }
.hero-inner { max-width: 46rem; margin: 0 auto; position: relative; }
.hero h1 { font-family: var(--serif); font-weight: 400; letter-spacing: -.025em;
  font-size: clamp(2.6rem, 7vw, 4.2rem); margin: 0 0 1rem; }
.hero h1 em { font-style: italic; color: var(--accent); }
.lede { font-size: 1.18rem; line-height: 1.6; color: var(--muted); margin: 0 auto; max-width: 36rem; }

/* groups + tiles */
.group { padding: 2.5rem 0; border-top: 1px solid var(--rule-soft); }
.group:first-child { border-top: none; }
.group-title { font-family: var(--sans); font-size: .74rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 1.25rem; }
.tile-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.tile { display: flex; flex-direction: column; gap: .4rem; padding: 1.5rem;
  background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius);
  text-decoration: none; color: var(--body);
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
  border-top: 3px solid var(--accent); }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--faint); }
.tile h3 { font-size: 1.2rem; }
.tile p { margin: 0; font-size: .96rem; color: var(--muted); flex: 1; }
.tile-go { font-family: var(--sans); font-size: .8rem; font-weight: 650; color: var(--accent);
  margin-top: .6rem; }

/* page head */
.page-head { padding: 3.5rem 0 2rem; border-bottom: 1px solid var(--rule-soft); }
.page-head h1 { font-family: var(--serif); font-weight: 400; letter-spacing: -.022em;
  font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 .6rem; }
.eyebrow { font-family: var(--sans); font-size: .74rem; font-weight: 650; letter-spacing: .13em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 1rem; }
.eyebrow a { color: inherit; }

/* prose */
.prose { max-width: var(--narrow); margin: 0 auto; padding: 2rem 0 1rem; }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { font-size: 1.4rem; margin-top: 2.5rem; padding-top: .35rem; color: var(--blue); }
.prose p { margin: 0; }
.prose strong { color: var(--ink); }

/* gallery */
.gallery { display: grid; gap: .6rem; padding: 2rem 0 3rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.shot { padding: 0; border: 1px solid var(--rule); border-radius: 10px; overflow: hidden;
  background: var(--card); cursor: zoom-in; position: relative; aspect-ratio: 4/3; }
.shot img { width: 100%; height: 100%; object-fit: cover;
  transition: transform .2s ease; }
.shot:hover img { transform: scale(1.04); }
.shot span { position: absolute; left: 0; right: 0; bottom: 0; padding: .5rem .7rem;
  font-family: var(--sans); font-size: .78rem; color: #fff; text-align: left;
  background: linear-gradient(transparent, rgba(0,0,0,.65)); }

.coming-soon { max-width: var(--narrow); margin: 2rem auto 4rem; padding: 2.5rem;
  text-align: center; border: 1.5px dashed var(--rule); border-radius: var(--radius);
  color: var(--muted); font-family: var(--sans); }
.coming-soon p { margin: 0; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 2rem;
  background: rgba(10,11,13,.92); cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 95vw; max-height: 90vh; width: auto; height: auto;
  border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.6); }

/* footer */
.site-footer { margin-top: auto; padding: 3rem 1.5rem; border-top: 1px solid var(--rule);
  background: color-mix(in srgb, var(--ink) 3.5%, var(--paper)); }
.foot-inner { max-width: var(--wrap); margin: 0 auto; }
.foot-title { font-family: var(--sans); font-weight: 650; color: var(--ink); margin: 0; }
.foot-sub { font-size: .95rem; color: var(--muted); margin: .2rem 0 1rem; }
.contact-link { display: inline-block; font-family: var(--sans); font-size: .92rem; font-weight: 600;
  padding: .55rem 1.1rem; border-radius: 999px; background: var(--accent); color: #fff;
  text-decoration: none; margin-bottom: 1rem; }
.foot-nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.foot-nav a { font-family: var(--sans); font-size: .87rem; color: var(--muted); text-decoration: none; }
.foot-nav a:hover { color: var(--ink); }
