/* Set Apart Press — site styles */

:root {
  --cream: #FBF7EE;
  --parchment: #F3E9D6;
  --line: #E6D7BA;
  --ink: #0C1301;
  --burgundy: #571B01;
  --amber: #AF6A02;
  --gold: #D6A531;
  --sand: #DDBF8F;
  --muted: #5A4A3A;
  --crimson: #6E1222;
  --pad: 80px;
  --maxw: 1360px;
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --caps: Cinzel, "Trajan Pro", Georgia, serif;
  --body: "Libre Franklin", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--burgundy); }
a:hover { color: var(--amber); }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; margin: 0; line-height: 1.05; }
h1 { font-size: clamp(2.6rem, 1.6rem + 3.6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.9rem); }
p { margin: 0; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); width: 100%; }
section { padding: clamp(56px, 6vw, 96px) 0; }

.eyebrow {
  font-family: var(--caps);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--amber);
}
.eyebrow--gold { color: var(--gold); }
.lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.2rem); line-height: 1.7; color: var(--muted); }
.muted { color: var(--muted); }
.serif-italic { font-family: var(--display); font-style: italic; }

.stack { display: flex; flex-direction: column; gap: 18px; }
.stack--lg { gap: 26px; }
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split--wide-left { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(12,19,1,.18); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn--primary { background: var(--burgundy); color: var(--cream); border-color: var(--burgundy); }
.btn--primary:hover { color: var(--cream); }
.btn--gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn--gold:hover { color: var(--ink); }
.btn--outline { background: transparent; color: var(--burgundy); border-color: var(--burgundy); }
.btn--cream { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn--cream:hover { color: var(--ink); }
.btn--outline-light { background: transparent; color: var(--sand); border-color: var(--sand); }
.btn--outline-light:hover { color: var(--cream); }
.arrowlink { font-weight: 600; font-size: 15px; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }

/* header */
.site-header { background: var(--cream); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 12px; padding-bottom: 12px; }
.site-header img { height: 76px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 10px 0 8px;
  border-bottom: 2px solid transparent;
}
.nav a:not(.btn):hover { color: var(--amber); }
.nav a.is-current { border-bottom-color: var(--gold); }
.nav .btn { min-height: 46px; padding: 0 22px; font-size: 14px; }
.nav .btn:hover { transform: none; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }

/* hero with photo */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  padding: 88px 0;
  background: var(--ink);
  overflow: hidden;
}
.hero > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,19,1,.94) 0%, rgba(12,19,1,.82) 44%, rgba(12,19,1,.3) 76%, rgba(12,19,1,.08) 100%); }
.hero .wrap { position: relative; }
.hero-copy { max-width: 720px; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { color: var(--cream); }
.hero .sub { font-family: var(--display); font-style: italic; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); color: var(--sand); line-height: 1.35; }
.hero p.lead { color: #E4D8C2; }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; padding-top: 4px; }

/* bands */
.band-dark { background: var(--burgundy); color: var(--cream); }
.band-dark h2, .band-dark h3 { color: var(--cream); }
.band-dark p { color: #EBD9C2; }
.band-ink { background: var(--ink); color: var(--sand); }
.band-ink h1, .band-ink h2, .band-ink h3 { color: var(--cream); }
.band-parch { background: var(--parchment); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.scripture { text-align: center; max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; align-items: center; }
.scripture p { font-family: var(--display); font-style: italic; font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.5rem); line-height: 1.3; color: var(--cream); }
.scripture cite { font-family: var(--caps); font-size: 14px; letter-spacing: .24em; color: var(--gold); font-style: normal; }

/* cards */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card .body { padding: 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card img { width: 100%; height: 300px; object-fit: cover; }

.door { position: relative; border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; min-height: 420px; }
.door img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.door .scrim { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12,19,1,.92) 8%, rgba(12,19,1,.45) 55%, rgba(12,19,1,.15) 100%); }
.door .body { position: relative; margin-top: auto; padding: 40px; display: flex; flex-direction: column; gap: 12px; color: var(--cream); }
.door h3 { color: var(--cream); font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.5rem); }
.door p { color: #E4D8C2; }
.door a { color: var(--gold); font-weight: 600; text-decoration: none; }

/* book covers */
.book { display: flex; flex-direction: column; gap: 14px; }
.cover {
  aspect-ratio: 2 / 3;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px 20px;
  color: var(--cream);
  box-shadow: 0 14px 28px rgba(12,19,1,.22);
  text-align: center;
  border: 1px solid rgba(255,255,255,.12);
}
.cover .imprint { font-family: var(--caps); font-size: 9px; letter-spacing: .24em; opacity: .85; }
.cover .title { font-family: var(--display); font-size: clamp(1.15rem, 1rem + .6vw, 1.6rem); line-height: 1.15; }
.cover .kicker { font-family: var(--body); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.cover--1 { background: linear-gradient(160deg, #571B01, #2E0E00); }
.cover--2 { background: linear-gradient(160deg, #AF6A02, #6B3B00); }
.cover--3 { background: linear-gradient(160deg, #0C1301, #2B3320); }
.cover--4 { background: linear-gradient(160deg, #6E1222, #35060F); }
.cover--5 { background: linear-gradient(160deg, #D6A531, #9A7010); color: #2E1F00; }
.cover--soon { background: repeating-linear-gradient(45deg, #EFE3CC, #EFE3CC 12px, #E8DAC0 12px, #E8DAC0 24px); color: var(--muted); border: 1px dashed var(--line); box-shadow: none; }
.book .tag { font-family: var(--caps); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--amber); }
.book h3 { font-size: 1.35rem; }
.book .meta { font-size: 14px; color: var(--muted); }
.book .price { font-family: var(--display); font-size: 1.4rem; color: var(--burgundy); }

/* steps */
.step { display: flex; flex-direction: column; gap: 12px; }
.step img { width: 100%; height: 180px; object-fit: cover; border-radius: 16px; }
.step .num { font-family: var(--display); font-size: 2.6rem; color: var(--gold); line-height: 1; }

/* lists */
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ticks li { display: flex; gap: 14px; line-height: 1.5; }
.ticks .mark { color: var(--amber); font-weight: 700; width: 16px; flex-shrink: 0; }
.ticks .mark--no { color: var(--crimson); }

/* forms */
.signup { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 34px; display: flex; flex-direction: column; gap: 16px; }
.signup.dark { background: var(--ink); border-color: #2A3018; color: var(--sand); }
.signup.dark h3 { color: var(--cream); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
input, select, textarea {
  font: inherit;
  font-size: 16px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  width: 100%;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--amber); outline-offset: 1px; border-color: var(--amber); }
.hp { display: none !important; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* misc */
.photo { border-radius: 24px; object-fit: cover; width: 100%; }
.photo--tall { height: 520px; }
.photo--mid { height: 380px; }
.photo--short { height: 320px; }
.chips { display: flex; gap: 12px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
}
.chip.is-on { background: var(--burgundy); border-color: var(--burgundy); color: var(--cream); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 40px; display: flex; flex-direction: column; gap: 20px; }
.panel--parch { background: var(--parchment); }
.faith-item { border-bottom: 1px solid var(--line); padding-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.faith-item h3 { font-size: 1.5rem; }
.todo { background: #FFF6DE; border-left: 3px solid var(--gold); padding: 2px 10px; border-radius: 4px; }

/* footer */
.site-footer { background: var(--ink); color: var(--sand); padding: 72px 0 40px; }
.footer-top { display: flex; justify-content: space-between; gap: 56px; flex-wrap: wrap; }
.site-footer .brand { font-family: var(--display); font-size: 2.2rem; color: var(--cream); }
.site-footer .tagline { font-family: var(--display); font-style: italic; font-size: 1.3rem; color: var(--sand); }
.footer-cols { display: flex; gap: 72px; flex-wrap: wrap; }
.footer-cols h4 { font-family: var(--caps); font-size: 13px; letter-spacing: .24em; color: var(--gold); font-weight: 600; }
.footer-cols ul { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-cols a { color: var(--sand); text-decoration: none; font-size: 15px; }
.footer-cols a:hover { color: var(--cream); text-decoration: underline; }
.footer-legal {
  border-top: 1px solid #3A3222;
  margin-top: 48px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #B8A07A;
}

/* responsive */
@media (max-width: 1100px) {
  :root { --pad: 44px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split--wide-left { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  :root { --pad: 22px; }
  .site-header img { height: 56px; }
  .nav a:not(.btn) { display: none; }
  .nav-toggle { display: block; }
  .site-header .wrap { position: relative; }
  .nav.is-open {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 22px 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(12,19,1,.12);
  }
  .nav.is-open a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav.is-open .btn { margin-top: 14px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: 0; padding: 56px 0; }
  .hero .scrim { background: linear-gradient(0deg, rgba(12,19,1,.94) 0%, rgba(12,19,1,.86) 60%, rgba(12,19,1,.7) 100%); }
  .btn { width: 100%; }
  .nav .btn, .btn-row .btn { width: auto; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
  .photo--tall, .photo--mid { height: 280px; }
  .form-row { grid-template-columns: 1fr; }
  .panel, .signup { padding: 24px; }
  .door { min-height: 340px; }
  .door .body { padding: 26px; }
  .footer-cols { gap: 36px; }
  .book .cover { max-width: 240px; width: 100%; margin: 0 auto; }
  .book { align-items: stretch; }
}
