/* Meet at Infinity Press — shared stylesheet */

:root {
  --bg:      #FDFAF5;
  --text:    #1C1C1E;
  --accent:  #B8942A;
  --muted:   #6B6B6B;
  --border:  #E0D8C8;
  --serif:   Georgia, 'Times New Roman', serif;
  --sans:    -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --max-w:   1100px;
  --gap:     clamp(1.5rem, 4vw, 3rem);
}

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

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

/* ─── Navigation ─── */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem var(--gap);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(253, 250, 245, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.site-nav .wordmark {
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--text);
}

.site-nav .wordmark:hover {
  text-decoration: none;
  color: var(--accent);
}

/* ─── Hero ─── */

.hero {
  position: relative;
  height: 72vh;
  min-height: 420px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 8, 5, 0.72) 0%, rgba(10, 8, 5, 0.1) 55%, transparent 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 2.5rem var(--gap);
}

.hero__content h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: normal;
  color: #FDFAF5;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin-bottom: 0.6rem;
}

.hero__content .tagline {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: rgba(253, 250, 245, 0.82);
  letter-spacing: 0.03em;
  font-style: italic;
}

/* ─── Sections ─── */

.section {
  padding: var(--gap) var(--gap);
  max-width: var(--max-w);
  margin: 0 auto;
}

.section--wide {
  max-width: 100%;
  padding-left: var(--gap);
  padding-right: var(--gap);
}

.section + .section {
  padding-top: 0;
}

/* ─── About strip ─── */

.about {
  padding: 3rem var(--gap);
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.about__inner {
  max-width: 640px;
  margin: 0 auto;
}

.about p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

/* ─── Titles grid ─── */

.titles {
  padding: 3.5rem var(--gap);
  max-width: var(--max-w);
  margin: 0 auto;
}

.titles h2 {
  font-family: var(--serif);
  font-weight: normal;
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2rem;
}

.title-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  max-width: 480px;
}

@media (min-width: 768px) {
  .title-card {
    flex-direction: row;
    max-width: 640px;
  }
}


.title-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.title-card__series {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.title-card__title {
  font-family: var(--serif);
  font-weight: normal;
  font-size: 1.35rem;
  line-height: 1.25;
}

.title-card__subtitle {
  font-size: 0.95rem;
  color: var(--muted);
  font-style: italic;
}

.title-card__desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ─── Buttons ─── */

.btn {
  display: inline-block;
  padding: 0.65rem 1.4rem;
  border-radius: 3px;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
}

.btn--primary {
  background: var(--accent);
  color: #FDFAF5;
  border: 1px solid var(--accent);
}

.btn--primary:hover {
  background: #9a7a22;
  border-color: #9a7a22;
  text-decoration: none;
  color: #FDFAF5;
}

.btn--outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn--outline:hover {
  background: var(--accent);
  color: #FDFAF5;
  text-decoration: none;
}

/* ─── Product page layout ─── */

.product-header {
  padding-top: 5rem; /* clear fixed nav */
  padding-bottom: 1.5rem;
  padding-left: var(--gap);
  padding-right: var(--gap);
  border-bottom: 1px solid var(--border);
  max-width: var(--max-w);
  margin: 0 auto;
}

.product-header .series-label {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.product-header h1 {
  font-family: var(--serif);
  font-weight: normal;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.15;
  margin-bottom: 0.4rem;
}

.product-header h2 {
  font-family: var(--serif);
  font-weight: normal;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--muted);
  font-style: italic;
}

.product-body {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2.5rem var(--gap);
}

@media (min-width: 768px) {
  .product-body {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 3rem;
    align-items: start;
  }
}

/* ─── Product content ─── */

.product-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.product-hook {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  line-height: 1.65;
  color: var(--text);
}

.product-spread {
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.product-spread a img {
  display: block;
  cursor: zoom-in;
  transition: opacity 0.15s;
}

.product-spread a:hover img {
  opacity: 0.9;
}

.product-spread figcaption {
  font-size: 0.8rem;
  color: var(--muted);
  padding: 0.6rem 0.8rem;
  border-top: 1px solid var(--border);
  font-style: italic;
}

.value-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.value-list li {
  display: flex;
  gap: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.value-list li::before {
  content: '—';
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.05rem;
}

/* ─── Capture panel ─── */

.capture-panel {
  background: #F5F0E8;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .capture-panel {
    position: sticky;
    top: 5rem;
  }
}

.capture-panel .status {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.capture-panel h3 {
  font-family: var(--serif);
  font-weight: normal;
  font-size: 1.25rem;
  line-height: 1.3;
}

.capture-panel p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

.capture-panel .kit-embed {
  margin-top: 0.5rem;
}

.formkit-form[data-uid="b261044403"] {
  background: transparent !important;
  border: none !important;
  max-width: 100% !important;
}


.capture-panel .privacy-note {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}

/* ─── Stub page ─── */

.stub {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem var(--gap) 3rem;
}

.stub__inner {
  max-width: 560px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.stub__inner h1 {
  font-family: var(--serif);
  font-weight: normal;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
}

.stub__inner p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* ─── Footer ─── */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.75rem var(--gap);
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 4rem;
}
