/* ============================================================
   alexstriler.com — clean, casual, classy
   Palette: warm paper, ink, desert olive-gold (from the family
   postcard lettering). Fraunces for display, Inter for body.
   ============================================================ */

:root {
  --paper: #f7f4ec;
  --paper-deep: #efeadd;
  --card: #fffdf8;
  --ink: #241f17;
  --ink-soft: #4c463a;
  --muted: #7a7263;
  --line: #e3dccb;
  --gold: #8a7732;
  --gold-bright: #a68d3b;
  --gold-pale: #f1ecdb;
  --dark: #211d15;
  --dark-2: #2b261c;
  --cream: #f5efdf;
  --shadow: 0 1px 2px rgba(36, 31, 23, 0.06), 0 10px 30px rgba(36, 31, 23, 0.08);
  --shadow-lift: 0 2px 4px rgba(36, 31, 23, 0.08), 0 18px 44px rgba(36, 31, 23, 0.14);
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-bright); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, .serif {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section { padding: 88px 0; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 12px; }
.section-head p { color: var(--ink-soft); font-size: 17px; }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 236, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 24px;
  max-width: 1120px;
  margin: 0 auto;
}
.nav-name {
  font-family: "Fraunces", Georgia, serif;
  font-size: 21px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.nav-name:hover { color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; justify-content: flex-end; }
.nav-links a {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}
.nav-links a:hover { color: var(--gold); }
.nav-links a.nav-cta {
  background: var(--ink);
  color: var(--cream);
  padding: 9px 16px;
  border-radius: 999px;
}
.nav-links a.nav-cta:hover { background: var(--gold); color: #fff; }

/* ---------- hero / family ---------- */
.hero { padding: 72px 0 40px; text-align: center; }
.hero .kicker { margin-bottom: 18px; }
.hero h1 { font-size: clamp(44px, 7vw, 76px); font-weight: 700; }
.hero .tagline {
  max-width: 640px;
  margin: 18px auto 0;
  font-size: 19px;
  color: var(--ink-soft);
}
.hero-photo { margin: 44px auto 0; max-width: 1020px; }
.hero-photo img {
  width: 100%;
  border-radius: 18px;
  box-shadow: var(--shadow-lift);
}
.hero-photo figcaption {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
  font-style: italic;
}

/* ---------- about ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
  align-items: start;
}
.about-copy p { margin-bottom: 18px; color: var(--ink-soft); font-size: 17.5px; }
.about-copy p strong { color: var(--ink); }
.stat-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 18px;
}
.stat .num { font-family: "Fraunces", Georgia, serif; font-size: 32px; font-weight: 700; color: var(--gold); }
.stat .lbl { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }

/* ---------- featured / next up ---------- */
/* PRI brand red, flat and simple like PRI's own materials */
.featured {
  background: #d82027;
  color: #fff;
  border-radius: 22px;
  padding: 56px 52px;
  box-shadow: var(--shadow-lift);
  position: relative;
  overflow: hidden;
}
.featured .kicker { color: rgba(255, 255, 255, 0.85); }
.featured h2 { font-size: clamp(30px, 4.4vw, 46px); margin-bottom: 14px; color: #fff; }
.featured .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 20px 0 18px;
  font-size: 15.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}
.featured .meta span::before { content: "— "; color: rgba(255, 255, 255, 0.6); }
.featured p.blurb { max-width: 640px; color: rgba(255, 255, 255, 0.88); margin-bottom: 28px; }
.featured .btn-gold { background: #fff; color: #d82027; }
.featured .btn-gold:hover { background: #ffe9ea; color: #b5121a; }
.featured .btn-ghost { border-color: rgba(255, 255, 255, 0.65); color: #fff; }
.featured .btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: #c9b25a; color: #211d15; }
.btn-gold:hover { background: #d8c26c; color: #211d15; }
.btn-ghost { border: 1.5px solid rgba(245, 239, 223, 0.4); color: var(--cream); }
.btn-ghost:hover { border-color: #c9b25a; color: #c9b25a; }
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { background: var(--gold); color: #fff; }
.btn-outline { border: 1.5px solid var(--ink); color: var(--ink); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- card grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: flex;
  flex-direction: column;
  color: var(--ink);
}
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); color: var(--ink); }
.card .thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-deep); position: relative; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card .thumb .badge {
  position: absolute;
  top: 10px;
  left: 10px;
  margin: 0;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(36, 31, 23, 0.3);
}
.card .body { padding: 16px 18px 18px; }
.card .body h3 { font-size: 17.5px; margin-bottom: 4px; }
.card .body .sub { font-size: 13.5px; color: var(--muted); }
.badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.badge-new { background: var(--gold); color: #fff; }
.badge-soon { background: rgba(255, 253, 248, 0.95); color: var(--ink-soft); }

.section-cta { margin-top: 40px; text-align: center; }

/* ---------- books ---------- */
.book-card .thumb { aspect-ratio: 3 / 4; }
.book-card .thumb img { object-fit: cover; object-position: top; }
.book-card .buy {
  margin-top: 10px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- 2nd edition placeholder cover ---------- */
.book-ph {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--dark-2) 0%, var(--dark) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
  padding: 24px 20px;
}
.book-ph-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: blur(1.5px);
  z-index: 0;
}
/* scrim over the cover so the kicker and title stay crisp */
.book-ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(33, 29, 21, 0.85) 0%,
    rgba(33, 29, 21, 0.66) 55%,
    rgba(33, 29, 21, 0.5) 100%
  );
  z-index: 0;
}
.book-ph > span {
  position: relative;
  z-index: 1;
}
.book-ph-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #c9b25a;
}
.book-ph-title {
  font-family: "Fraunces", Georgia, serif;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.25;
  color: #f5efdf;
}
.book-ph-rule { width: 36px; height: 2px; background: #c9b25a; }
.book-ph-date {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b7ae95;
}

/* ---------- publications ---------- */
.pub-list {
  columns: 2;
  column-gap: 48px;
  list-style: none;
}
.pub-list li {
  break-inside: avoid;
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
}
.pub-list a {
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 550;
  display: flex;
  align-items: center;
  gap: 16px;
}
.pub-thumb {
  flex: none;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.pub-thumb img { max-width: 78%; max-height: 78%; object-fit: contain; }
.pub-thumb.txt {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--gold);
  background: var(--gold-pale);
}
.pub-text { display: block; min-width: 0; }
.pub-list a:hover { color: var(--gold); }
.pub-list .src {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}

/* ---------- ultra4next ---------- */
.u4n {
  background:
    linear-gradient(100deg, rgba(245, 241, 230, 0.96) 0%, rgba(245, 241, 230, 0.9) 55%, rgba(245, 241, 230, 0.62) 100%),
    url("images/u4n-bg.jpg") center 38% / cover no-repeat;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 56px 52px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
.u4n h2 { font-size: clamp(28px, 3.6vw, 38px); margin-bottom: 14px; }
.u4n p { color: var(--ink-soft); margin-bottom: 16px; }
.u4n-proof {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: var(--shadow);
}
.u4n-proof .serif { font-size: 19px; margin-bottom: 8px; }
.u4n-proof p { font-size: 15px; color: var(--ink-soft); margin: 0; }

/* ---------- work with me ---------- */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; max-width: 880px; margin: 0 auto; }
.price-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px 34px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.price-card.hi { border-color: var(--gold); border-width: 1.5px; }
.price-card h3 { font-size: 22px; margin-bottom: 6px; }
.price-card .who { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.price-card .price-line { font-size: 14.5px; color: var(--muted); margin-bottom: 16px; }
.price-card ul { list-style: none; margin: 18px 0 22px; flex: 1; }
.price-card li { padding: 7px 0 7px 26px; position: relative; color: var(--ink-soft); font-size: 15.5px; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 800; }
.price-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 22px; }

/* ---------- contact ---------- */
.contact { text-align: center; }
.contact .email {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(22px, 3.4vw, 34px);
  font-weight: 600;
  color: var(--ink);
}
.contact .email:hover { color: var(--gold); }
.contact p { color: var(--ink-soft); max-width: 560px; margin: 0 auto 26px; }

/* ---------- footer ---------- */
footer {
  background: var(--dark);
  color: #b7ae95;
  padding: 64px 0 40px;
  margin-top: 40px;
}
footer .kicker { color: #c9b25a; }
.ventures { display: flex; flex-wrap: wrap; gap: 12px 14px; margin: 18px 0 40px; }
.ventures a {
  border: 1px solid rgba(245, 239, 223, 0.22);
  color: var(--cream);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14.5px;
  font-weight: 600;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.ventures a:hover { border-color: #c9b25a; color: #c9b25a; }
.foot-bottom {
  border-top: 1px solid rgba(245, 239, 223, 0.14);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  font-size: 13.5px;
}
.foot-bottom a { color: #d8cfb2; }
.foot-bottom a:hover { color: #c9b25a; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .about-grid, .u4n { grid-template-columns: 1fr; gap: 36px; }
  .featured { padding: 44px 32px; }
}
@media (max-width: 700px) {
  .section { padding: 64px 0; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pub-list { columns: 1; }
  .price-grid { grid-template-columns: 1fr; }
  .nav-links a:not(.nav-cta) { display: none; }
  .u4n { padding: 36px 26px; }
}
@media (max-width: 460px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
