/*
Theme Name: Harbor Mint Journal
Author: Rowan Vale Studio
Description: A mobile-first classic WordPress editorial theme with dynamic categories, flexible homepage copy, bundled visual assets, and a warm community magazine layout.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: tjm-theme
Tags: blog, news, custom-logo, custom-menu, featured-images, responsive-layout, translation-ready
*/

:root {
  --tjm-cream: #fcfbfa;
  --tjm-ink: #153a43;
  --tjm-muted: #5f747a;
  --tjm-coral: #ff7c4d;
  --tjm-coral-dark: #f45f35;
  --tjm-lime: #dcf86f;
  --tjm-aqua: #ecf8fc;
  --tjm-lavender: #efe2f9;
  --tjm-line: rgba(21, 58, 67, 0.16);
  --tjm-soft-shadow: 0 18px 44px rgba(21, 58, 67, 0.08);
  --tjm-radius-lg: 22px;
  --tjm-radius-md: 16px;
  --tjm-radius-sm: 12px;
  --tjm-max: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 8%, rgba(255, 124, 77, 0.06), transparent 26%),
    radial-gradient(circle at 92% 22%, rgba(220, 248, 111, 0.12), transparent 24%),
    var(--tjm-cream);
  color: var(--tjm-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
}

body.tjm-menu-locked {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.tjm-skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--tjm-ink);
  color: var(--tjm-cream);
  transition: top 160ms ease;
}

.tjm-skip-link:focus {
  top: 12px;
}

.tjm-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 251, 250, 0.92);
  backdrop-filter: blur(18px);
}

.tjm-header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(100%, var(--tjm-max));
  margin: 0 auto;
  padding: 18px 20px;
}

.tjm-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--tjm-ink);
  font-size: clamp(1.35rem, 3vw, 1.95rem);
  font-weight: 900;
  line-height: 1;
}

.tjm-brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.tjm-brand-mark {
  width: 28px;
  height: 28px;
  color: var(--tjm-coral);
  flex: 0 0 auto;
}

.tjm-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--tjm-line);
  border-radius: 999px;
  background: #fffdfb;
  color: var(--tjm-ink);
  cursor: pointer;
}

.tjm-menu-icon,
.tjm-menu-icon::before,
.tjm-menu-icon::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.tjm-menu-icon {
  position: relative;
}

.tjm-menu-icon::before,
.tjm-menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.tjm-menu-icon::before {
  top: -6px;
}

.tjm-menu-icon::after {
  top: 6px;
}

.tjm-nav-open .tjm-menu-icon {
  background: transparent;
}

.tjm-nav-open .tjm-menu-icon::before {
  transform: translateY(6px) rotate(45deg);
}

.tjm-nav-open .tjm-menu-icon::after {
  transform: translateY(-6px) rotate(-45deg);
}

.tjm-primary-nav {
  position: absolute;
  left: 20px;
  right: 20px;
  top: calc(100% + 8px);
  display: none;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--tjm-line);
  border-radius: var(--tjm-radius-md);
  background: #fffdfb;
  box-shadow: var(--tjm-soft-shadow);
}

.tjm-nav-open .tjm-primary-nav {
  display: flex;
}

.tjm-nav-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tjm-nav-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--tjm-ink);
  font-weight: 700;
}

.tjm-nav-link:hover,
.tjm-nav-link:focus-visible {
  background: rgba(21, 58, 67, 0.07);
  outline: none;
}

.tjm-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tjm-search-form {
  display: flex;
}

.tjm-search-label {
  display: grid;
  grid-template-columns: 1fr 42px;
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--tjm-line);
  border-radius: 999px;
  background: var(--tjm-cream);
  overflow: hidden;
}

.tjm-search-input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0 0 0 16px;
  color: var(--tjm-ink);
  outline: none;
}

.tjm-search-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--tjm-ink);
  cursor: pointer;
}

.tjm-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tjm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  width: fit-content;
  padding: 11px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--tjm-coral);
  color: var(--tjm-ink);
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  box-shadow: inset 0 -2px 0 rgba(21, 58, 67, 0.11);
  transition: transform 180ms ease, background 180ms ease;
}

.tjm-button:hover,
.tjm-button:focus-visible {
  background: var(--tjm-coral-dark);
  transform: translateY(-1px);
  outline: none;
}

.tjm-button--dark {
  background: var(--tjm-ink);
  color: var(--tjm-cream);
}

.tjm-button--ghost {
  background: transparent;
  color: var(--tjm-ink);
  box-shadow: none;
  padding-inline: 0;
}

.tjm-main {
  overflow: hidden;
}

.tjm-shell {
  width: min(100% - 40px, var(--tjm-max));
  margin: 0 auto;
}

.tjm-hero {
  width: min(100% - 40px, var(--tjm-max));
  margin: 0 auto;
  padding: 8px 0 34px;
}

.tjm-hero-media {
  position: relative;
  min-height: clamp(360px, 55vw, 580px);
  border-radius: var(--tjm-radius-lg);
  overflow: hidden;
  background: #dceadf;
  box-shadow: var(--tjm-soft-shadow);
  isolation: isolate;
}

.tjm-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tjm-hero-shade {
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  background: linear-gradient(180deg, transparent, rgba(10, 39, 45, 0.36));
  z-index: 1;
}

.tjm-hero-title {
  position: absolute;
  left: clamp(20px, 3vw, 34px);
  right: clamp(20px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 34px);
  z-index: 2;
  margin: 0;
  color: var(--tjm-coral);
  font-size: clamp(4rem, 13.5vw, 11.2rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.78;
  text-wrap: balance;
}

.tjm-hero-copy {
  display: grid;
  gap: 18px;
  max-width: 700px;
  padding: 28px 12px 0;
}

.tjm-hero-copy p {
  margin: 0;
  color: var(--tjm-ink);
  font-size: clamp(1.1rem, 2vw, 1.42rem);
  line-height: 1.45;
}

.tjm-belief {
  width: min(100% - 40px, var(--tjm-max));
  margin: 0 auto 42px;
  padding: clamp(22px, 4vw, 44px);
  border: 1px solid rgba(21, 58, 67, 0.08);
  border-radius: var(--tjm-radius-md);
  background:
    linear-gradient(135deg, rgba(255, 124, 77, 0.08), transparent 45%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.86), rgba(236, 248, 252, 0.72));
}

.tjm-belief-grid {
  display: grid;
  gap: 22px;
}

.tjm-belief-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 86px;
  height: 86px;
  border: 1px solid rgba(21, 58, 67, 0.18);
  border-radius: 999px;
  background: rgba(236, 248, 252, 0.82);
  color: var(--tjm-ink);
}

.tjm-belief h2 {
  margin: 0;
  max-width: 500px;
  font-size: clamp(1.9rem, 4vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.tjm-belief p {
  margin: 0;
  color: #243e45;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.tjm-topic-strip {
  width: min(100% - 40px, var(--tjm-max));
  margin: 0 auto 38px;
}

.tjm-chip-list {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 2px 0 8px;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: thin;
}

.tjm-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 16px;
  border: 1px solid var(--tjm-line);
  border-radius: 999px;
  background: #fffdfb;
  color: var(--tjm-ink);
  font-size: 0.9rem;
  font-weight: 750;
  white-space: nowrap;
}

.tjm-chip:hover,
.tjm-chip:focus-visible,
.tjm-chip--active {
  border-color: rgba(255, 124, 77, 0.72);
  background: var(--tjm-coral);
  outline: none;
}

.tjm-chip-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.65;
}

.tjm-feature {
  width: min(100% - 40px, var(--tjm-max));
  margin: 0 auto clamp(42px, 7vw, 80px);
}

.tjm-feature-grid {
  display: grid;
  gap: 18px;
}

.tjm-feature-card {
  position: relative;
  min-height: 350px;
  padding: clamp(24px, 4vw, 36px);
  border-radius: var(--tjm-radius-md);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(220, 248, 111, 0.98), rgba(236, 248, 252, 0.68)),
    radial-gradient(circle at 88% 82%, rgba(255, 124, 77, 0.3), transparent 26%);
  color: var(--tjm-ink);
}

.tjm-feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(45deg, rgba(21, 58, 67, 0.08) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(21, 58, 67, 0.08) 25%, transparent 25%);
  background-size: 10px 10px;
  pointer-events: none;
}

.tjm-feature-label {
  position: relative;
  display: inline-flex;
  margin-bottom: 20px;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.tjm-feature-title {
  position: relative;
  max-width: 360px;
  margin: 0 0 18px;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1;
  letter-spacing: 0;
}

.tjm-feature-text {
  position: relative;
  max-width: 330px;
  margin: 0 0 28px;
}

.tjm-feature-art {
  position: absolute;
  right: 24px;
  bottom: 22px;
  width: 118px;
  color: var(--tjm-ink);
  opacity: 0.92;
}

.tjm-mosaic-main,
.tjm-mosaic-tile {
  overflow: hidden;
  border-radius: var(--tjm-radius-md);
  background: var(--tjm-aqua);
}

.tjm-mosaic-main {
  min-height: 350px;
}

.tjm-mosaic-main img,
.tjm-mosaic-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tjm-mosaic-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.tjm-mosaic-tile {
  min-height: 168px;
}

.tjm-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  width: min(100% - 40px, var(--tjm-max));
  margin: 0 auto 22px;
}

.tjm-section-head h2 {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  line-height: 1;
  letter-spacing: 0;
}

.tjm-section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  color: var(--tjm-ink);
  font-weight: 800;
  white-space: nowrap;
}

.tjm-post-grid {
  display: grid;
  gap: 22px;
  width: min(100% - 40px, var(--tjm-max));
  margin: 0 auto clamp(50px, 7vw, 88px);
}

.tjm-post-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid var(--tjm-line);
  border-radius: var(--tjm-radius-md);
  background: #fffdfb;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(21, 58, 67, 0.04);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.tjm-post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--tjm-soft-shadow);
}

.tjm-post-thumb {
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--tjm-aqua);
  overflow: hidden;
}

.tjm-post-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tjm-post-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.tjm-post-category {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(220, 248, 111, 0.78);
  color: var(--tjm-ink);
  font-size: 0.77rem;
  font-weight: 800;
}

.tjm-post-card:nth-child(2n) .tjm-post-category {
  background: rgba(239, 226, 249, 0.88);
}

.tjm-post-card:nth-child(3n) .tjm-post-category {
  background: rgba(236, 248, 252, 0.95);
}

.tjm-post-card:nth-child(4n) .tjm-post-category {
  background: rgba(255, 124, 77, 0.18);
}

.tjm-post-title {
  margin: 0 0 10px;
  font-size: 1.22rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.tjm-post-title a:hover,
.tjm-post-title a:focus-visible {
  color: var(--tjm-coral-dark);
  outline: none;
}

.tjm-post-excerpt {
  margin: 0 0 18px;
  color: #2f4b52;
  font-size: 0.95rem;
}

.tjm-post-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--tjm-muted);
  font-size: 0.88rem;
}

.tjm-empty-state {
  width: min(100% - 40px, 760px);
  margin: 40px auto;
  padding: 28px;
  border: 1px solid var(--tjm-line);
  border-radius: var(--tjm-radius-md);
  background: #fffdfb;
  text-align: center;
}

.tjm-archive-hero,
.tjm-single-hero {
  width: min(80vw, 960px);
  margin: 0 auto;
  padding: clamp(42px, 7vw, 88px) 0 clamp(28px, 5vw, 54px);
}

.tjm-archive-hero h1,
.tjm-single-title {
  margin: 0;
  font-size: clamp(2.6rem, 8vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.tjm-archive-description,
.tjm-single-meta {
  margin-top: 18px;
  color: #2f4b52;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.tjm-single-main {
  width: min(80vw, 960px);
  margin: 0 auto clamp(58px, 9vw, 110px);
}

.tjm-single-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.tjm-single-content {
  color: #173f49;
  font-size: clamp(1.05rem, 1.45vw, 1.2rem);
}

.tjm-single-content > * {
  margin-top: 0;
  margin-bottom: 1.25em;
}

.tjm-single-content h2,
.tjm-single-content h3 {
  margin-top: 1.6em;
  margin-bottom: 0.55em;
  line-height: 1.1;
  letter-spacing: 0;
}

.tjm-single-content a {
  color: var(--tjm-coral-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tjm-single-content img {
  border-radius: var(--tjm-radius-md);
}

.tjm-post-nav {
  display: grid;
  gap: 14px;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid var(--tjm-line);
}

.tjm-post-nav a {
  display: block;
  padding: 16px;
  border: 1px solid var(--tjm-line);
  border-radius: var(--tjm-radius-sm);
  background: #fffdfb;
  font-weight: 800;
}

.tjm-pagination {
  width: min(100% - 40px, var(--tjm-max));
  margin: -30px auto 70px;
}

.tjm-site-footer {
  margin-top: 40px;
  border-radius: 18px 18px 0 0;
  background:
    linear-gradient(160deg, var(--tjm-aqua), rgba(252, 251, 250, 0.96) 52%, rgba(239, 226, 249, 0.55));
}

.tjm-newsletter {
  width: min(100% - 40px, var(--tjm-max));
  margin: 0 auto;
  padding: clamp(28px, 5vw, 46px) 0;
}

.tjm-newsletter-box {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid rgba(21, 58, 67, 0.1);
  border-radius: var(--tjm-radius-md);
  background:
    linear-gradient(135deg, rgba(236, 248, 252, 0.96), rgba(252, 251, 250, 0.92)),
    radial-gradient(circle at 92% 8%, rgba(220, 248, 111, 0.3), transparent 30%);
}

.tjm-newsletter-title {
  margin: 0 0 4px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1;
  letter-spacing: 0;
}

.tjm-newsletter-text {
  margin: 0;
  color: #2f4b52;
}

.tjm-newsletter-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.tjm-newsletter-input {
  min-height: 48px;
  width: 100%;
  border: 1px solid var(--tjm-line);
  border-radius: 999px;
  background: #fffdfb;
  color: var(--tjm-ink);
  padding: 0 18px;
  outline: none;
}

.tjm-footer-main {
  display: grid;
  gap: 28px;
  width: min(100% - 40px, var(--tjm-max));
  margin: 0 auto;
  padding: 30px 0 38px;
  border-top: 1px solid var(--tjm-line);
}

.tjm-footer-brand {
  display: grid;
  gap: 12px;
}

.tjm-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
}

.tjm-footer-copy {
  max-width: 280px;
  margin: 0;
  color: #2f4b52;
  font-size: 0.95rem;
}

.tjm-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tjm-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--tjm-ink);
  color: var(--tjm-cream);
  font-size: 0.8rem;
  font-weight: 900;
}

.tjm-footer-menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.tjm-footer-column h2 {
  margin: 0 0 12px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.tjm-footer-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tjm-footer-list a {
  color: #2f4b52;
  font-size: 0.95rem;
}

.tjm-footer-list a:hover,
.tjm-footer-list a:focus-visible {
  color: var(--tjm-coral-dark);
  outline: none;
}

.tjm-footer-image {
  align-self: end;
  overflow: hidden;
  min-height: 140px;
  border-radius: var(--tjm-radius-md);
  background: var(--tjm-aqua);
}

.tjm-footer-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tjm-copyright {
  width: min(100% - 40px, var(--tjm-max));
  margin: 0 auto;
  padding: 0 0 28px;
  color: var(--tjm-muted);
  font-size: 0.85rem;
}

@media (min-width: 620px) {
  .tjm-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tjm-newsletter-form {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .tjm-post-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 780px) {
  .tjm-menu-toggle {
    display: none;
  }

  .tjm-primary-nav {
    position: static;
    display: flex;
    flex: 1;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .tjm-nav-menu {
    flex-direction: row;
    align-items: center;
    gap: 4px;
  }

  .tjm-nav-link {
    min-height: 40px;
    padding: 8px 12px;
    font-size: 0.96rem;
  }

  .tjm-nav-actions {
    flex-direction: row;
    align-items: center;
  }

  .tjm-search-label {
    grid-template-columns: 0 42px;
    width: 42px;
    transition: width 180ms ease;
  }

  .tjm-search-label:focus-within {
    grid-template-columns: 180px 42px;
    width: 222px;
  }

  .tjm-search-input {
    padding-left: 0;
  }

  .tjm-search-label:focus-within .tjm-search-input {
    padding-left: 16px;
  }

  .tjm-belief-grid {
    grid-template-columns: 96px minmax(0, 1fr) 1px minmax(240px, 0.8fr);
    align-items: center;
  }

  .tjm-belief-rule {
    width: 1px;
    min-height: 104px;
    background: var(--tjm-line);
  }

  .tjm-feature-grid {
    grid-template-columns: 0.9fr 0.62fr 1fr;
    align-items: stretch;
  }

  .tjm-post-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .tjm-footer-main {
    grid-template-columns: 1.1fr 1.4fr 0.85fr;
    align-items: start;
  }
}

@media (min-width: 1020px) {
  .tjm-header-shell {
    padding-inline: 0;
  }

  .tjm-hero-copy {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .tjm-hero-copy p {
    max-width: 720px;
  }
}

@media (max-width: 420px) {
  .tjm-shell,
  .tjm-hero,
  .tjm-belief,
  .tjm-topic-strip,
  .tjm-feature,
  .tjm-section-head,
  .tjm-post-grid,
  .tjm-newsletter,
  .tjm-footer-main,
  .tjm-copyright {
    width: min(100% - 28px, var(--tjm-max));
  }

  .tjm-hero-title {
    font-size: clamp(3.5rem, 16vw, 5rem);
  }

  .tjm-section-head {
    align-items: start;
    flex-direction: column;
  }
}
