/*
Theme Name: Press Rogers
Theme URI: https://pressrogers.xyz/
Author: Press Rogers
Description: The custom publishing theme for Press Rogers and Concept Knowledge Pods.
Version: 1.0.0
Requires at least: 7.0
Requires PHP: 8.3
Text Domain: press-rogers
*/

:root {
  color-scheme: light;
  --pr-paper: #fafaf8;
  --pr-soft: #f1f1ee;
  --pr-ink: #242422;
  --pr-charcoal: #303230;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100svh;
  overflow-x: hidden;
  background: var(--pr-paper);
  color: var(--pr-ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

a {
  color: inherit;
}

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

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100svh;
  padding: clamp(2rem, 6vw, 5rem);
}

.identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transform: translateY(-1.5svh);
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2.25rem, 3.5vmin, 3rem);
}

.hero-mark {
  display: block;
  width: clamp(13.875rem, 18.75vmin, 16.5rem);
  max-width: 100%;
  height: auto;
  opacity: 0;
  transform: scale(0.985);
  animation: arrive 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.08s forwards;
  user-select: none;
  -webkit-user-drag: none;
}

.hero h1 {
  margin: 0;
  padding-left: 0.1em;
  font-size: clamp(2.25rem, 3.4vmin, 2.7rem);
  font-weight: 100;
  line-height: 1;
  letter-spacing: 0.1em;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(0.35rem);
  animation: settle 1.15s cubic-bezier(0.22, 1, 0.36, 1) 0.42s forwards;
}

.hero-tagline {
  max-width: calc(100vw - 3rem);
  margin: clamp(4rem, 5.5vmin, 5rem) 0 0;
  color: #4f4f4b;
  font-size: clamp(1.125rem, 1.75vmin, 1.35rem);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.065em;
  text-align: center;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(0.35rem);
  animation: tagline-arrive 1.15s cubic-bezier(0.22, 1, 0.36, 1) 0.72s forwards;
}

.breathing-space {
  display: grid;
  width: 100%;
  min-height: 90svh;
  align-content: start;
  justify-items: center;
  padding: 8rem clamp(1.5rem, 6vw, 5rem) clamp(4rem, 10vw, 8rem);
  background: var(--pr-soft);
  color: var(--pr-charcoal);
  text-align: center;
}

.breathing-space h2 {
  margin: 0;
  font-size: 4.5rem;
  font-weight: 100;
  line-height: 1.1;
  letter-spacing: 0.025em;
  white-space: nowrap;
}

.pod-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
  width: min(100%, 68rem);
  margin-top: 5rem;
}

.pod-card {
  --pod-accent: #4f79a8;
  --pod-tint: #e7eef7;
  display: flex;
  min-height: 22rem;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 2rem 1.75rem 2.25rem;
  border: 1px solid rgba(48, 50, 48, 0.06);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 0.9rem 2.5rem rgba(40, 43, 40, 0.1);
}

.pod-card:nth-child(2) {
  --pod-accent: #7661a8;
  --pod-tint: #eeebf7;
}

.pod-card:nth-child(3) {
  --pod-accent: #668461;
  --pod-tint: #ebf1e9;
}

.pod-index {
  display: grid;
  width: 7.25rem;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: var(--pod-tint);
  color: var(--pod-accent);
  font-size: 2.25rem;
  font-weight: 100;
  line-height: 1;
  letter-spacing: 0.06em;
}

.pod-card h3 {
  margin: 1.5rem 0 0;
  color: var(--pod-accent);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.pod-card p {
  max-width: 26ch;
  margin: 1rem 0 0;
  color: #5b5d59;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.015em;
}

.site-footer {
  display: grid;
  width: 100%;
  min-height: 72svh;
  place-items: center;
  padding: clamp(4rem, 10vw, 8rem) clamp(1.5rem, 6vw, 5rem);
  background: var(--pr-charcoal);
  color: #f6f6f2;
  text-align: center;
}

.footer-identity {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.25rem, 2.6vmin, 2rem);
}

.footer-mark {
  display: block;
  width: clamp(6.5rem, 15vmin, 10.5rem);
  max-width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

.footer-name {
  margin: 0;
  padding-left: 0.1em;
  font-size: clamp(1.35rem, 2.5vmin, 2rem);
  font-weight: 100;
  line-height: 1;
  letter-spacing: 0.1em;
}

.footer-tagline {
  margin: clamp(2.5rem, 4vmin, 3.25rem) 0 0;
  color: #c9cbc7;
  font-size: clamp(0.9rem, 1.55vmin, 1.15rem);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.065em;
}

.content-shell {
  width: min(calc(100% - 3rem), 56rem);
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.content-shell h1 {
  margin: 0 0 2rem;
  font-size: clamp(2.5rem, 5vmin, 4.5rem);
  font-weight: 100;
  line-height: 1.08;
  letter-spacing: 0.02em;
}

.entry-content {
  font-size: 1.125rem;
  line-height: 1.7;
}

.single-pr_concept_pod .content-shell {
  width: 100%;
  padding: 0;
}

.pod-page {
  min-height: 100svh;
  padding: 4.5rem clamp(1.5rem, 6vw, 5rem);
  text-align: center;
}

.pod-page-title {
  margin: 0;
  font-size: 4rem;
  font-weight: 100;
  line-height: 1.08;
  letter-spacing: 0.02em;
}

.pod-page .entry-content {
  width: min(100%, 56rem);
  margin: 4rem auto 0;
  text-align: left;
}

@keyframes arrive {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes settle {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tagline-arrive {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 48rem) {
  .hero {
    padding-inline: 1.25rem;
  }

  .identity {
    transform: translateY(-1svh);
  }

  .brand-lockup {
    gap: 2rem;
  }

  .hero-mark {
    width: clamp(10.5rem, 52.5vw, 14.25rem);
  }

  .hero h1 {
    padding-left: 0.1em;
    font-size: clamp(1.85rem, 8.2vw, 2.65rem);
    letter-spacing: 0.1em;
  }

  .hero-tagline {
    max-width: calc(100% - 2rem);
    margin-top: clamp(3rem, 9vw, 3.5rem);
    font-size: clamp(1.075rem, 4.6vw, 1.225rem);
    letter-spacing: 0.05em;
    white-space: normal;
  }

  .breathing-space {
    min-height: 80svh;
    padding-top: 4.5rem;
  }

  .breathing-space h2 {
    font-size: 1.6rem;
    line-height: 1.1;
  }

  .pod-grid {
    grid-template-columns: 1fr;
    width: min(100%, 22rem);
    margin-top: 3.5rem;
  }

  .pod-card {
    min-height: 20rem;
  }

  .site-footer {
    min-height: 68svh;
  }

  .pod-page {
    padding-top: 3rem;
  }

  .pod-page-title {
    font-size: 2.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-mark,
  .hero h1,
  .hero-tagline {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
