:root {
  --color-ivory: #f4efe6;
  --color-panel: #ebe5d8;
  --color-charcoal: #1c1c1c;
  --color-teal: #2f7a75;
  --color-white: #ffffff;
  --color-hero: #2a2a2a;
  --color-divider: rgba(28, 28, 28, 0.14);
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-charcoal);
  background: var(--color-ivory);
}

a {
  color: inherit;
}

/* Header */

.site-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 94px;
  padding: 0 2.5rem;
  background: var(--color-ivory);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
  text-decoration: none;
}

.site-logo {
  width: 55px;
  height: 55px;
  object-fit: contain;
  flex-shrink: 0;
}

.site-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.tm {
  font-size: 0.45em;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 0;
  text-transform: none;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  gap: 1rem;
}

.site-nav a {
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.site-nav a.active {
  color: var(--color-teal);
}

.header-cta {
  gap: 0.35rem;
  flex-shrink: 0;
  height: 2.85rem;
  padding: 0 1.6rem;
  font-size: 1.35rem;
  letter-spacing: 0;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.6rem;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-teal);
  border: 2px solid var(--color-teal);
  color: var(--color-white);
}

.btn-secondary {
  background: rgba(0, 0, 0, 0.35);
  border: 2px solid var(--color-white);
  color: var(--color-white);
}

.btn-amazon {
  background: #ffa41c;
  border: 2px solid #ffa41c;
  color: #111;
}

.amazon-logo {
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
}

/* Hero */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 480px;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  background: var(--color-hero);
}

.hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
<<<<<<< Updated upstream
  background: rgba(28, 28, 28, 0.42);
=======
  background: rgba(28, 28, 28, 0.16);
>>>>>>> Stashed changes
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
}

.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 6.25rem);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-white);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.75);
}

.hero-the {
  font-size: 0.7em;
}

.hero-tagline {
  margin: 1.15rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-white);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7);
}

.hero-description {
  margin: 0.7rem 0 0;
  max-width: 28rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--color-white);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.hero-actions .btn {
  min-height: 48px;
  padding: 0.8rem 1.8rem;
}

/* Features */

.features {
  padding: 4.75rem 2rem;
  background: var(--color-ivory);
}

.features-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  max-width: 1120px;
  margin: 0 auto;
}

.feature {
  padding: 0 1.35rem;
  text-align: center;
}

.feature:not(:last-child) {
  border-right: 1px solid var(--color-divider);
}

.feature-icon {
  display: block;
  width: 42px;
  height: 42px;
  margin: 0 auto 1rem;
  color: var(--color-teal);
}

.feature h2 {
  margin: 0 0 0.7rem;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-teal);
}

.feature p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--color-charcoal);
}

/* TSS: Scorched Earth */

.world {
  padding: 0 2rem 4.75rem;
}

.world-first {
  padding-top: 3.25rem;
}

.world-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.35fr) minmax(0, 0.65fr);
  align-items: center;
  gap: 2.5rem;
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.75rem;
  background: var(--color-panel);
  border-radius: 8px;
}

.world-panel-reverse {
  grid-template-columns: minmax(0, 0.65fr) minmax(0, 0.35fr);
}

.world-panel-portrait {
  grid-template-columns: minmax(0, 1fr) 14rem;
}

.world-panel-portrait-left {
  grid-template-columns: 14rem minmax(0, 1fr);
}

.world-kicker {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-teal);
}

.world-title {
  margin: 0.35rem 0 1.15rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.world-copy p {
  margin: 0;
  line-height: 1.65;
}

.world-copy p + p {
  margin-top: 1rem;
}

.world-copy p + .btn {
  margin-top: 1.5rem;
}

.world-copy .post-link {
  display: inline-block;
}

.world-copy p + .post-link {
  margin-top: 1rem;
}

.world-copy p a {
  color: var(--color-teal);
}

.world-tagline {
  margin: 1.15rem 0 1.5rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--color-teal);
}

.world-image {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  aspect-ratio: 2 / 1;
  border-radius: 6px;
  background: #4a4a4a;
  color: var(--color-white);
}

.world-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.world-image span {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.world-image-photo {
  width: 14rem;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #d8d2c6;
}

.world-image-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.world-image-photo:not(:has(img)) {
  background: #4a4a4a;
  color: var(--color-white);
}

.world-image-cover {
  width: 14rem;
  max-width: 100%;
  aspect-ratio: auto;
  height: auto;
  background: transparent;
  overflow: hidden;
}

.world-image-cover img {
  display: block;
  width: 100%;
  height: auto;
}

.world-video {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  background: #1c1c1c;
}

.world-video img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.world-video::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.22);
  transition: background 0.2s ease;
}

.world-video::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 16px 0 16px 26px;
  border-color: transparent transparent transparent var(--color-white);
  transform: translate(-35%, -50%);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
}

.world-video:hover::before {
  background: rgba(0, 0, 0, 0.38);
}

/* Resource cards */

.resources {
  padding: 0 2rem 4.75rem;
}

.resources-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  max-width: 1120px;
  margin: 0 auto;
}

.resource-card {
  display: flex;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  background: var(--color-panel);
  border: 1px solid rgba(28, 28, 28, 0.1);
  border-radius: 6px;
}

.resource-image {
  display: flex;
  flex: 0 0 38%;
  align-items: center;
  justify-content: center;
  padding: 0.4rem;
  background: #4a4a4a;
  color: var(--color-white);
  text-align: center;
}

.resource-image:has(img) {
  background: transparent;
  padding: 0.35rem;
}

.resource-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.resource-image-sm img {
  width: 78%;
  height: auto;
  max-height: 78%;
}

.resource-image span {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.resource-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 0.75rem 0.8rem 0.7rem;
}

.resource-body h2 {
  margin: 0 0 0.3rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-teal);
}

.resource-body p {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--color-charcoal);
}

.resource-body a {
  margin-top: auto;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--color-teal);
}

.resource-links {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.resource-links a {
  margin-top: 0;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--color-divider);
  background: var(--color-ivory);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 3.25rem 2rem 1.5rem;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr 1.15fr;
}

.footer-col {
  min-width: 0;
  padding: 0 1.15rem;
}

.footer-col:first-child {
  padding-left: 0;
}

.footer-col:last-child {
  padding-right: 0;
}

.footer-col:not(:last-child) {
  border-right: 1px solid var(--color-divider);
}

.footer-col h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-col p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
}

.footer-col p + p {
  margin-top: 0.75rem;
}

.footer-col p a {
  color: var(--color-teal);
}

.footer-col .post-link {
  display: inline-block;
  margin-top: 0.75rem;
}

.footer-col .post-link + p {
  margin-top: 0.75rem;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li + li {
  margin-top: 0.4rem;
}

.footer-links a {
  font-size: 0.88rem;
  text-decoration: none;
}

.footer-links a[href*="amazon.com"]::after {
  content: " →";
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.9rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--color-divider);
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-social img {
  width: 1.15rem;
  height: 1.15rem;
  object-fit: contain;
}

.footer-bottom {
  margin-top: 2.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--color-divider);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--color-charcoal);
}

/* Smaller screens */

@media (max-width: 1100px) {
  .site-header {
    height: auto;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 0.9rem 1.5rem;
  }

  .site-nav {
    order: 3;
    flex: 1 1 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem 1.15rem;
    padding-top: 0.5rem;
  }

  .site-name {
    font-size: 1.35rem;
  }
}

@media (max-width: 960px) {
  .footer-columns {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 0;
  }

  .footer-col {
    padding: 0 1.15rem;
  }

  .footer-col:first-child,
  .footer-col:nth-child(odd) {
    padding-left: 0;
  }

  .footer-col:nth-child(even),
  .footer-col:last-child {
    padding-right: 0;
  }

  .footer-col:not(:last-child) {
    border-right: none;
  }

  .footer-col:nth-child(odd) {
    border-right: 1px solid var(--color-divider);
  }

  .resources-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .features-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 2.5rem;
  }

  .feature:not(:last-child) {
    border-right: none;
  }

  .feature:nth-child(odd) {
    border-right: 1px solid var(--color-divider);
  }

  .feature:last-child {
    border-right: none;
    grid-column: 1 / -1;
    max-width: 20rem;
    margin: 0 auto;
  }
}

@media (max-width: 900px) {
  .world-panel {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 860px) {
  .site-header {
    height: auto;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0.9rem 1.25rem;
  }

  .site-nav {
    order: 3;
    flex: 1 1 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    padding-top: 0.75rem;
  }

  .hero {
    height: auto;
    min-height: 420px;
  }
}

@media (max-width: 520px) {
  .brand {
    gap: 0.65rem;
  }

  .site-logo {
    width: 44px;
    height: 44px;
  }

  .site-name {
    font-size: 1.15rem;
  }

  .header-cta {
    height: 2.4rem;
    padding: 0 1.1rem;
    font-size: 1.12rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 16rem;
  }

  .features {
    padding: 3.25rem 1.25rem;
  }

  .features-row {
    grid-template-columns: 1fr;
    row-gap: 2rem;
  }

  .feature:nth-child(odd),
  .feature:not(:last-child) {
    border-right: none;
  }

  .feature:last-child {
    max-width: none;
  }

  .world {
    padding: 0 1.25rem 3.25rem;
  }

  .world-first {
    padding-top: 2.5rem;
  }

  .world-panel {
    padding: 1.75rem 1.35rem;
  }

  .resources {
    padding: 0 1.25rem 3.25rem;
  }

  .resources-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    padding: 2.5rem 1.25rem 1.25rem;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .footer-col,
  .footer-col:first-child,
  .footer-col:nth-child(odd),
  .footer-col:nth-child(even),
  .footer-col:last-child {
    padding: 0;
    border-right: none;
  }
}

/* Blog page */

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 3.25rem 2rem 4.75rem;
}

.page-intro {
  margin-bottom: 2.25rem;
}

.page-kicker {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-teal);
}

.page-kicker-lg {
  font-size: 1.15rem;
}

.page-title {
  margin: 0.35rem 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.page-lead {
  margin: 0;
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.6;
}

.page-lead + .page-lead {
  margin-top: 1rem;
}

.page-lead-center {
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.page-section-title {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--color-teal);
}

.page-section-title-lg {
  font-size: clamp(1.7rem, 3.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.post-list + .page-section-title {
  margin-top: 2.25rem;
}

.post-list {
  display: grid;
  gap: 1rem;
}

.post-card {
  padding: 1.5rem 1.6rem;
  background: var(--color-panel);
  border: 1px solid rgba(28, 28, 28, 0.1);
  border-radius: 8px;
}

.post-card-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 1.5rem;
}

.post-card-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.post-date {
  margin: 0 0 0.45rem;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: #5a5a5a;
}

.post-card h2 {
  margin: 0 0 0.55rem;
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-teal);
}

.post-list-history .post-card h2 {
  color: var(--color-charcoal);
}

.accent {
  color: var(--color-teal);
}

.post-card p {
  margin: 0 0 1rem;
  line-height: 1.6;
}

.post-photo {
  display: block;
  width: 100%;
  max-width: 18rem;
  height: auto;
  margin: 0.25rem 0 0;
  border-radius: 8px;
}

.page-banner {
  display: block;
  width: 100%;
  max-width: 42rem;
  height: auto;
  margin: 2.5rem auto 0;
  border-radius: 8px;
}

.page-banner-figure {
  max-width: 42rem;
  margin: 2.5rem auto 0;
}

.page-banner-figure .page-banner {
  margin: 0;
}

.post-link {
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--color-teal);
}

.post-link::after {
  content: " →";
}

.text-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 2.5rem;
  margin-top: 2.75rem;
}

.text-block-reverse .text-block-copy {
  order: 2;
}

.text-block-reverse .text-block-image,
.text-block-reverse .text-block-figure {
  order: 1;
}

.text-block-copy h2 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-teal);
}

.text-block-copy p {
  margin: 0;
  line-height: 1.65;
}

.text-block-copy p + p {
  margin-top: 0.9rem;
}

.text-block-image {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  background: #4a4a4a;
  border-radius: 6px;
  color: var(--color-white);
}

.text-block-image span {
  padding: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.text-block-figure {
  margin: 0;
}

.text-block-figure img {
  display: block;
  width: 100%;
  max-height: 26rem;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 6px;
}

.text-block-figure figcaption,
.page-banner-figure figcaption {
  margin-top: 0.35rem;
  font-size: 0.65rem;
  line-height: 1.35;
  color: #b0aaa0;
}

.text-full {
  margin-top: 1.75rem;
}

.text-full p {
  margin: 0;
  line-height: 1.65;
}

.text-full p + p {
  margin-top: 0.9rem;
}

.text-full a {
  font-weight: 600;
  color: var(--color-teal);
}

@media (max-width: 800px) {
  .text-block {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .text-block-reverse .text-block-copy,
  .text-block-reverse .text-block-image,
  .text-block-reverse .text-block-figure {
    order: 0;
  }

  .post-card-media {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .page {
    padding: 2.25rem 1.25rem 3.25rem;
  }
}
