/*
Theme Name: RUN / Жизнь в движении
Theme URI: https://example.com/runcoach
Author: OpenAI for Elena Travina
Description: Тема для тренера по бегу, трейлраннингу и триатлону. Включает продающую главную страницу, отдельный блог и адаптивную вёрстку.
Version: 1.4.3
Requires at least: 6.2
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: runcoach
*/

:root {
  --ink: #253038;
  --paper: #f4f6f7;
  --white: #ffffff;
  --blue: #355c6a;
  --blue-dark: #294955;
  --accent: #d7795d;
  --accent-bright: #f09a79;
  --mist: #e5eaec;
  --muted: #59666d;
  --line: rgba(37, 48, 56, 0.17);
  --radius: 1rem;
  --shadow: 0 1.25rem 3rem rgba(37, 48, 56, 0.1);
  --page: min(100% - 2rem, 76rem);
  --display: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --body: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  -webkit-hyphens: none !important;
  -ms-hyphens: none !important;
  hyphens: none !important;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  overflow-wrap: normal;
  word-break: normal;
  text-rendering: optimizeLegibility;
}

main {
  width: 100%;
  flex: 1 0 auto;
}

h1,
h2,
h3,
h4,
h5,
h6,
a,
button,
summary,
strong {
  overflow-wrap: normal !important;
  word-break: keep-all !important;
  -webkit-hyphens: none !important;
  -ms-hyphens: none !important;
  hyphens: none !important;
}

h1,
h2,
h3,
.section-title,
.page-title {
  text-wrap: balance;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 0.2rem solid var(--blue);
  outline-offset: 0.2rem;
}

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

.skip-link:focus {
  position: fixed;
  z-index: 9999;
  top: 0.75rem;
  left: 0.75rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  margin: 0;
  clip: auto;
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
}

.container {
  width: var(--page);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(10, 17, 15, 0.5);
  color: var(--white);
  backdrop-filter: blur(1rem);
}

.site-header__inner {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  font-family: var(--display);
  font-size: 1.15rem;
  font-stretch: condensed;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.brand__mark {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  font-size: 0.82rem;
  letter-spacing: -0.1em;
}

.custom-logo {
  width: auto;
  max-height: 2.75rem;
}

.site-nav,
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  font-size: 0.88rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--accent-bright);
}

.nav-cta {
  display: inline-flex;
  min-height: 2.6rem;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1rem;
  border: 1px solid var(--accent-bright);
  border-radius: 999px;
  background: var(--accent-bright);
  box-shadow: 0 0.45rem 1.35rem rgba(240, 154, 121, 0.3);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.nav-cta:hover {
  background: var(--white);
  border-color: var(--white);
  box-shadow: 0 0.6rem 1.6rem rgba(255, 255, 255, 0.22);
  transform: translateY(-0.1rem);
}

.menu-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 0.3rem 0;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  min-height: min(56rem, 100svh);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.hero__media,
.hero__media::after {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 38%;
}

.hero__media::after {
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 14, 12, 0.92) 0%, rgba(7, 14, 12, 0.64) 44%, rgba(7, 14, 12, 0.02) 74%),
    linear-gradient(0deg, rgba(7, 14, 12, 0.82) 0%, transparent 45%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(48rem, 75%);
  padding-block: clamp(8rem, 18vh, 12rem) clamp(3rem, 8vh, 6rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 2.5rem;
  height: 0.25rem;
  background: var(--accent);
}

.hero h1,
.section-title,
.quote-card blockquote,
.cta-panel h2,
.page-title {
  margin: 0;
  font-family: var(--display);
  font-stretch: condensed;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

h1,
h2,
h3,
.section-title,
.quote-card blockquote,
.community-link strong {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.hero h1 {
  max-width: 14ch;
  font-size: clamp(2.3rem, 4.8vw, 4.2rem);
}

.hero h1 .accent {
  color: var(--accent-bright);
}

.hero__lede {
  max-width: 38rem;
  margin: 1.6rem 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.55;
}

.hero__actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 3.2rem;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--white);
}

.button--outline {
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.button--outline:hover {
  background: var(--white);
  color: var(--ink);
}

.button--blue {
  background: var(--blue);
  color: var(--white);
}

.button--blue:hover {
  background: var(--blue-dark);
  color: var(--white);
}

.hero__note {
  position: absolute;
  right: max(1rem, calc((100vw - 76rem) / 2));
  bottom: 2.6rem;
  z-index: 2;
  display: flex;
  width: 9.5rem;
  height: 9.5rem;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  text-align: center;
  transform: rotate(6deg);
}

.proof-strip {
  background: var(--accent);
  color: var(--ink);
}

.proof-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof {
  min-height: 7rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem;
  border-right: 1px solid rgba(17, 23, 21, 0.25);
}

.proof:last-child {
  border-right: 0;
}

.proof__value {
  font-family: var(--display);
  font-size: clamp(1.9rem, 3vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.proof__label {
  max-width: 8rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.25;
}

.section {
  padding-block: clamp(4.5rem, 10vw, 8.5rem);
}

.section--white {
  background: var(--white);
}

.section--ink {
  background: var(--ink);
  color: var(--white);
}

.section--blue {
  background: var(--blue);
  color: var(--white);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(16rem, 0.6fr);
  align-items: end;
  gap: 3rem;
  margin-bottom: 3rem;
}

.section-title {
  max-width: 16ch;
  font-size: clamp(1.9rem, 3.5vw, 3.25rem);
}

.section-intro {
  max-width: 32rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section--ink .section-intro,
.section--blue .section-intro {
  color: rgba(255, 255, 255, 0.75);
}

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

.fit-card,
.service-card,
.post-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  min-width: 0;
  overflow-wrap: normal;
}

.fit-card {
  min-height: 0;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.fit-card:nth-child(2),
.fit-card:nth-child(3) {
  background: var(--mist);
}

.fit-card__number,
.service-card__number {
  display: block;
  margin-bottom: 2.5rem;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.fit-card h3,
.service-card h3,
.method-step h3,
.post-card h3 {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.fit-card h3,
.service-card h3,
.method-step h3,
.post-card h3 {
  max-width: 100%;
}

.fit-card p,
.service-card p,
.method-step p,
.post-card p {
  margin: 0;
  color: var(--muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.service-card:first-child {
  background: var(--accent);
  color: var(--ink);
  transform: translateY(-1.5rem);
}

.service-card__number {
  color: var(--accent-bright);
}

.service-card:first-child .service-card__number,
.service-card:first-child p {
  color: var(--ink);
}

.service-card h3 {
  font-size: clamp(1.55rem, 2.5vw, 2.1rem);
}

.service-card p {
  color: rgba(255, 255, 255, 0.7);
}

.service-card ul {
  margin: auto 0 0;
  padding: 2rem 0 0;
  list-style: none;
}

.service-card li {
  padding-block: 0.65rem;
  border-top: 1px solid currentColor;
  font-size: 0.9rem;
  font-weight: 700;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(18rem, 0.8fr) minmax(0, 1.2fr);
  align-items: stretch;
  gap: 1rem;
}

.story-image {
  min-height: 48rem;
  overflow: hidden;
  border-radius: var(--radius);
}

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

.story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 6vw, 5rem);
  border-radius: var(--radius);
  background: var(--blue);
  color: var(--white);
}

.story-copy .section-title {
  margin-bottom: 2rem;
}

.story-copy p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.04rem;
}

.story-copy strong {
  color: var(--accent-bright);
}

.quote-card {
  margin-top: 1rem;
  padding: clamp(2rem, 5vw, 4rem);
  border-left: 0.45rem solid var(--accent-bright);
  border-radius: var(--radius);
  background: var(--blue-dark);
  box-shadow: var(--shadow);
}

.quote-card blockquote {
  width: 100%;
  max-width: none;
  color: var(--white);
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  line-height: 1.1;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.method-step {
  position: relative;
  min-height: 0;
  padding: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.method-step:last-child {
  border-right: 0;
}

.method-step p {
  color: rgba(255, 255, 255, 0.7);
}

.seo-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem 3.5rem;
}

.seo-copy__item {
  min-width: 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.seo-copy__item h3 {
  margin: 0 0 1rem;
  font-size: clamp(1.3rem, 1.8vw, 1.65rem);
  line-height: 1.25;
}

.seo-copy__item p {
  margin: 0;
  color: var(--muted);
}

.seo-copy__item p + p {
  margin-top: 1rem;
}

.text-link {
  display: inline-block;
  margin-top: 1.25rem;
  color: var(--blue);
  font-weight: 700;
}

.gallery {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  grid-template-rows: repeat(2, minmax(18rem, 25rem));
  gap: 1rem;
}

.gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--mist);
}

.gallery figure:first-child {
  grid-row: 1 / 3;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery figure:hover img {
  transform: scale(1.025);
}

.gallery figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  background: rgba(17, 23, 21, 0.72);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: center;
  backdrop-filter: blur(0.5rem);
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.community-link {
  min-height: 12rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.community-link:hover {
  background: var(--accent);
  color: var(--ink);
  transform: translateY(-0.3rem);
}

.community-link__arrow {
  align-self: flex-end;
  font-size: 2rem;
  line-height: 1;
}

.community-link strong {
  max-width: none;
  font-family: var(--display);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.blog-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
  gap: 1rem;
}

.blog-teaser__action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: var(--radius);
  background: var(--blue);
  color: var(--white);
}

.blog-teaser__action p {
  max-width: 28rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
}

.post-card {
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 1.6rem;
}

.post-card__meta {
  margin-bottom: 3rem;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-card__link {
  margin-top: auto;
  padding-top: 2rem;
  color: var(--blue);
  font-weight: 700;
}

.post-card__tags {
  margin-top: 1rem !important;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.post-card p + p {
  margin-top: 0.85rem;
}

.post-card h2 {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  line-height: 1.2;
}

.post-card h2 a,
.post-card h3 a {
  text-decoration: none;
}

.post-card__thumb {
  height: 13rem;
  margin: -1.6rem -1.6rem 1.5rem;
  overflow: hidden;
}

.post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-empty {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.post-empty h3,
.post-empty p {
  margin: 0;
}

.faq-list {
  max-width: 56rem;
  margin-inline: auto;
}

.faq-list details {
  border-top: 1px solid var(--line);
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 1.5rem 3.5rem 1.5rem 0;
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  font-family: var(--body);
  font-size: 1.35rem;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 44rem;
  margin: 0;
  padding: 0 0 1.5rem;
  color: var(--muted);
}

.cta-section {
  padding-block: 1rem 0;
  background: var(--white);
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.75fr);
  gap: clamp(2rem, 7vw, 6rem);
  padding: clamp(2rem, 7vw, 6rem);
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--blue);
  color: var(--white);
}

.cta-panel h2 {
  max-width: 14ch;
  font-size: clamp(2rem, 3.5vw, 3.4rem);
}

.cta-panel__copy > p {
  max-width: 34rem;
  margin: 1.5rem 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.cta-panel--simple {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.cta-panel--simple .button {
  min-width: 13rem;
  background: var(--accent);
}

.site-footer {
  flex: 0 0 auto;
  margin-top: auto;
  padding-block: 2rem;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-footer p {
  margin: 0;
  font-size: 0.84rem;
}

.site-footer a {
  color: var(--white);
}

.content-page {
  min-height: 70vh;
  padding-block: 8rem 5rem;
}

.blog-page {
  min-height: 70vh;
}

.blog-hero {
  padding-block: 9rem 5rem;
  background: var(--ink);
  color: var(--white);
}

.blog-hero h1 {
  max-width: 18ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.35rem, 5vw, 4.75rem);
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.blog-hero > .container > p:last-child {
  max-width: 44rem;
  margin: 1.5rem 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
}

.blog-list {
  background: var(--paper);
}

.blog-grid {
  align-items: stretch;
}

.navigation.pagination {
  margin-top: 2.5rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.nav-links .page-numbers {
  min-width: 2.75rem;
  min-height: 2.75rem;
  display: grid;
  place-items: center;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  text-decoration: none;
}

.nav-links .current {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--ink);
}

.page-title {
  max-width: 14ch;
  margin-bottom: 2rem;
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.entry-card {
  max-width: 50rem;
  padding-block: 2rem;
  border-top: 1px solid var(--line);
}

.entry-card h2 {
  font-family: var(--display);
  font-size: 2.25rem;
  line-height: 1;
}

.entry-card h2 a {
  text-decoration: none;
}

.entry-content {
  max-width: 50rem;
  font-size: 1.08rem;
}

.entry-content > * + * {
  margin-top: 1.4em;
}

.entry-content h2 {
  margin-top: 2.2em;
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.entry-content h3 {
  margin-top: 1.8em;
  font-family: var(--display);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.entry-content ul {
  padding-left: 1.3rem;
}

.entry-content li + li {
  margin-top: 0.55rem;
}

.entry-content a {
  color: var(--blue-dark);
  font-weight: 700;
}

.entry-tags {
  max-width: 50rem;
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.entry-tags span {
  color: var(--ink);
  font-weight: 700;
}

.entry-tags a {
  color: var(--blue-dark);
}

.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 600ms ease, transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 4.5rem 0 auto;
    display: none;
    min-height: calc(100svh - 4.5rem);
    align-items: flex-start;
    padding: 2rem 1rem;
    background: var(--ink);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav a {
    font-family: var(--display);
    font-size: 1.75rem;
    line-height: 1.2;
  }

  .nav-cta {
    display: none;
  }

  .hero__content {
    width: 90%;
  }

  .proof-strip__inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof:nth-child(2) {
    border-right: 0;
  }

  .proof:nth-child(-n+2) {
    border-bottom: 1px solid rgba(17, 23, 21, 0.25);
  }

  .section-heading,
  .story-grid,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .community-grid,
  .posts-grid,
  .seo-copy,
  .blog-teaser {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card:first-child {
    transform: none;
  }

  .method-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .method-step:nth-child(2) {
    border-right: 0;
  }

  .story-image {
    min-height: 36rem;
  }

  .cta-panel__copy > p {
    margin-bottom: 2rem;
  }

  .cta-panel--simple {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  :root {
    --page: min(100% - 1.25rem, 76rem);
  }

  .hero {
    min-height: 48rem;
  }

  .hero__media img {
    object-position: 62% center;
  }

  .hero__media::after {
    background: linear-gradient(0deg, rgba(7, 14, 12, 0.96) 0%, rgba(7, 14, 12, 0.64) 58%, rgba(7, 14, 12, 0.12) 100%);
  }

  .hero__content {
    width: 100%;
    padding-bottom: 2.25rem;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2rem, 8.5vw, 2.8rem);
  }

  .section-title {
    max-width: none;
    font-size: 1.75rem;
  }

  .quote-card blockquote {
    font-size: 1.7rem;
    line-height: 1.16;
  }

  .cta-panel h2 {
    max-width: none;
    font-size: 1.85rem;
  }

  .hero__note {
    display: none;
  }

  .hero__actions .button {
    flex: 1 1 100%;
  }

  .proof {
    min-height: 6rem;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.35rem;
    padding: 1rem 0.75rem;
    min-width: 0;
  }

  .proof__value {
    font-size: 2.2rem;
  }

  .proof__label {
    font-size: 0.75rem;
    max-width: none;
    min-width: 0;
  }

  .section-heading {
    align-items: start;
    gap: 1.2rem;
  }

  .cards,
  .services-grid,
  .community-grid,
  .posts-grid,
  .seo-copy,
  .method-grid,
  .blog-teaser {
    grid-template-columns: 1fr;
  }

  .service-card,
  .fit-card {
    min-height: 0;
  }

  .service-card ul {
    margin-top: 2rem;
  }

  .method-step {
    min-height: 0;
    border-right: 0;
  }

  .method-step::before {
    margin-bottom: 2rem;
  }

  .story-image {
    min-height: 29rem;
  }

  .story-copy {
    padding: 1.75rem;
  }

  .gallery {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-rows: 28rem;
  }

  .gallery figure:first-child {
    grid-row: auto;
    min-height: 32rem;
  }

  .gallery figure:first-child img {
    object-position: center top;
  }

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

  .blog-hero h1 {
    max-width: none;
    font-size: 2.2rem;
  }

  .cta-panel {
    padding-inline: 1.25rem;
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
