/* =====================================================
   James Harper Guides — styles.css
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Lora:ital,wght@0,400;0,500;1,400&display=swap');

/* ─── Custom Properties ─────────────────────────────── */
:root {
  --primary:   #2D4A3E;
  --bg:        #F7F2E8;
  --text:      #1A1A18;
  --accent:    #2E7D6B;
  --surface:   #FDFAF5;
  --border:    #DDD5C2;
  --muted:     #6B6556;

  --display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --body:    'Lora', Georgia, serif;

  --nav-h:  72px;
  --max:    1140px;
  --gap:    clamp(40px, 5vw, 80px);
  --ease:   cubic-bezier(.25,.1,.25,1);
}

/* ─── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ─── Typography helpers ─────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--primary);
}
h1 { font-size: clamp(2.1rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); }
h3 { font-size: 1.3rem; }
p  { max-width: 65ch; }
p + p { margin-top: 1.25em; }

.eyebrow {
  font-family: var(--body);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 14px;
}

.rule {
  width: 44px;
  height: 1.5px;
  background: var(--accent);
  margin: 22px 0;
}
.rule--center { margin-inline: auto; }
.rule--white  { background: rgba(255,255,255,.45); }

/* ─── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--body);
  font-size: 15px;
  letter-spacing: .04em;
  padding: 14px 30px;
  border-radius: 3px;
  transition: all .22s var(--ease);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn--green {
  background: var(--accent);
  color: #fff;
}
.btn--green:hover {
  background: #235f51;
  box-shadow: 0 4px 18px rgba(46,125,107,.28);
  transform: translateY(-1px);
}
.btn--outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn--outline:hover {
  background: var(--primary);
  color: #fff;
}
.btn--outline-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.55);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: #fff;
}
.btn--lg { font-size: 17px; padding: 17px 36px; }

/* ─── Navigation ─────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--nav-h);
  background: var(--primary);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo img { height: 56px; width: auto; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__links a {
  font-family: var(--body);
  font-size: 14px;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
  position: relative;
  padding-bottom: 3px;
  transition: color .2s;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: rgba(255,255,255,.55);
  transition: width .25s var(--ease);
}
.nav__links a:hover,
.nav__links a.active { color: #fff; }
.nav__links a:hover::after,
.nav__links a.active::after { width: 100%; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: rgba(255,255,255,.8);
  transition: var(--ease) .22s;
}

/* ─── Community section ──────────────────────────────── */
.community-section {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: calc(var(--gap) * 1.25) clamp(20px,4vw,40px);
}
.community-section__inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.community-section h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  margin: 16px 0 12px;
}
.community-section p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: none;
}

/* ─── Footer ─────────────────────────────────────────── */
.footer {
  background: var(--primary);
  padding: 72px clamp(20px, 4vw, 40px) 36px;
}
.footer__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer__logo img { height: 40px; width: auto; margin-bottom: 16px; }
.footer__tagline {
  font-family: var(--display);
  font-style: italic;
  font-size: 15px;
  color: rgba(255,255,255,.45);
  margin-top: 8px;
}
.footer__col-title {
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(255,255,255,.38);
  margin-bottom: 18px;
}
.footer__links { display: flex; flex-direction: column; gap: 12px; }
.footer__links a {
  font-size: 15px;
  color: rgba(255,255,255,.65);
  transition: color .2s;
}
.footer__links a:hover { color: #fff; }
.footer__contact p, .footer__contact a {
  font-size: 15px;
  color: rgba(255,255,255,.65);
  max-width: none;
}
.footer__contact a {
  border-bottom: 1px solid rgba(255,255,255,.25);
  transition: color .2s, border-color .2s;
}
.footer__contact a:hover { color: #fff; border-color: rgba(255,255,255,.6); }
.footer__contact p + p { margin-top: .6em; }
.footer__bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer__copy { font-size: 13px; color: rgba(255,255,255,.35); }

/* ─── Page header ────────────────────────────────────── */
.page-header {
  background: var(--primary);
  padding: 80px clamp(20px, 4vw, 40px) 72px;
  text-align: center;
}
.page-header__title {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 600;
  color: #fff;
  margin-bottom: 18px;
}
.page-header__sub {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.2rem;
  color: rgba(255,255,255,.6);
  max-width: 52ch;
  margin: 0 auto;
  line-height: 1.65;
}

/* ─── Section helpers ────────────────────────────────── */
.section { padding: var(--gap) clamp(20px, 4vw, 40px); }
.section--wide { padding-block: calc(var(--gap) * 1.5); }
.container { max-width: var(--max); margin: 0 auto; }

/* ─── Fade-in scroll animation ───────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* =====================================================
   INDEX — Hero
   ===================================================== */
.hero {
  background: var(--primary);
  min-height: 600px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}
.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px clamp(32px, 5vw, 80px) 72px clamp(20px, 5vw, 60px);
  max-width: 640px;
}
.hero__eyebrow {
  font-family: var(--body);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 20px;
}
.hero__title {
  font-family: var(--display);
  font-size: clamp(2.1rem, 3.8vw, 3rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.18;
  margin-bottom: 24px;
}
.hero__sub {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.15rem;
  color: rgba(255,255,255,.65);
  line-height: 1.6;
  max-width: 44ch;
  margin-bottom: 40px;
}
.hero__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.hero__secondary {
  font-size: 15px;
  color: rgba(255,255,255,.65);
  border-bottom: 1px solid rgba(255,255,255,.3);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.hero__secondary:hover { color: #fff; border-color: rgba(255,255,255,.65); }

.hero__photo {
  position: relative;
  overflow: hidden;
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  min-height: 520px;
}

/* ─── Bio strip ──────────────────────────────────────── */
.bio-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.bio-strip__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(48px,6vw,80px) clamp(20px,4vw,40px);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 56px;
  align-items: center;
}
.bio-strip__photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 4px solid var(--border);
}
.bio-strip__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.bio-strip__text h3 {
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 4px;
}
.bio-strip__location {
  font-size: 14px;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 16px;
  display: block;
}
.bio-strip__blurb { color: var(--text); font-size: 17px; }
.bio-strip__link {
  display: inline-block;
  margin-top: 20px;
  font-size: 15px;
  color: var(--accent);
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.bio-strip__link:hover { color: var(--primary); border-color: var(--accent); }

/* ─── Featured guides ────────────────────────────────── */
.guides-preview {
  background: var(--bg);
  padding: var(--gap) clamp(20px,4vw,40px) calc(var(--gap) * 1.25);
}
.guides-preview__header {
  max-width: var(--max);
  margin: 0 auto 48px;
  text-align: center;
}
.guides-preview__grid {
  max-width: 700px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.guide-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.guide-card:hover {
  box-shadow: 0 8px 32px rgba(45,74,62,.1);
  transform: translateY(-3px);
}
.guide-card__cover {
  position: relative;
  background: var(--primary);
  overflow: hidden;
}
.guide-card__cover img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  object-position: center top;
  transition: transform .4s var(--ease);
}
.guide-card:hover .guide-card__cover img { transform: scale(1.02); }

.guide-card__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--accent);
  color: #fff;
  font-family: var(--body);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 2px;
}
.guide-card__badge--free { background: #8B6914; }

.guide-card__body {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.guide-card__title {
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 10px;
}
.guide-card__sub {
  font-family: var(--display);
  font-style: italic;
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 20px;
  max-width: 40ch;
  line-height: 1.6;
}
.guide-card__btn { align-self: flex-start; margin-top: auto; }

/* ─── Pull quote ─────────────────────────────────────── */
.pull-quote-section {
  background: var(--primary);
  padding: calc(var(--gap) * 1.25) clamp(20px,4vw,40px);
}
.pull-quote-section__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.pull-quote-section blockquote {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  color: rgba(255,255,255,.88);
  line-height: 1.65;
  position: relative;
}
.pull-quote-section blockquote::before {
  content: '\201C';
  font-size: 5rem;
  color: rgba(255,255,255,.1);
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--display);
  line-height: 1;
  pointer-events: none;
}
.pull-quote-section__attr {
  display: block;
  margin-top: 28px;
  font-family: var(--body);
  font-size: 14px;
  letter-spacing: .06em;
  color: rgba(255,255,255,.45);
}

/* =====================================================
   ABOUT PAGE
   ===================================================== */
.about-body {
  padding: var(--gap) clamp(20px,4vw,40px) calc(var(--gap) * 1.5);
}
.about-body__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 72px;
  align-items: start;
}
.about-body__text { }
.about-body__text p {
  font-size: 17px;
  line-height: 1.85;
  color: var(--text);
}
.about-body__text p + p { margin-top: 1.4em; }
.about-body__text .highlight-para {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--primary);
  border-left: 2.5px solid var(--accent);
  padding-left: 22px;
  margin: 32px 0;
  line-height: 1.6;
  max-width: 55ch;
}
.about-body__sig {
  margin-top: 48px;
}
.about-body__sig img { height: 80px; width: auto; margin-bottom: 12px; }
.about-body__sig p {
  font-family: var(--body);
  font-size: 14px;
  color: var(--muted);
  font-style: italic;
  max-width: none;
}

.about-sidebar { display: flex; flex-direction: column; gap: 20px; }
.about-sidebar__photo {
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.about-sidebar__photo img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center top;
}

/* ─── CTA strip (about, guides pages) ───────────────── */
.cta-strip {
  background: var(--primary);
  padding: 64px clamp(20px,4vw,40px);
  text-align: center;
}
.cta-strip__title {
  font-family: var(--display);
  font-size: 1.9rem;
  color: #fff;
  margin-bottom: 10px;
}
.cta-strip__sub {
  font-family: var(--display);
  font-style: italic;
  color: rgba(255,255,255,.6);
  font-size: 1rem;
  margin-bottom: 30px;
  max-width: none;
}
.cta-strip__btn { margin-top: 4px; }

/* =====================================================
   GUIDES PAGE
   ===================================================== */
.guides-list {
  padding: var(--gap) clamp(20px,4vw,40px) calc(var(--gap) * 1.5);
}
.guides-list__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.guide-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 52px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow .25s;
}
.guide-row:hover { box-shadow: 0 6px 28px rgba(45,74,62,.09); }
.guide-row__cover {
  position: relative;
  overflow: hidden;
  background: var(--primary);
  align-self: stretch;
}
.guide-row__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  min-height: 360px;
  transition: transform .4s;
}
.guide-row:hover .guide-row__cover img { transform: scale(1.02); }
.guide-row__badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 2px;
  font-family: var(--body);
}
.guide-row__badge--free { background: #8B6914; }
.guide-row__content {
  padding: 40px 44px 40px 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.guide-row__meta {
  font-family: var(--body);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.guide-row__title {
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.25;
}
.guide-row__tagline {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--accent);
  margin-bottom: 20px;
  max-width: 55ch;
  line-height: 1.55;
}
.guide-row__desc {
  font-size: 16px;
  color: #3a3a38;
  line-height: 1.8;
  margin-bottom: 32px;
}
.guide-row__desc p { max-width: 58ch; }
.guide-row__btn { align-self: flex-start; margin-top: auto; }

/* ─── Guides author strip ────────────────────────────── */
.guides-author {
  background: var(--bg);
  padding: calc(var(--gap) * .9) clamp(20px,4vw,40px);
  border-top: 1px solid var(--border);
}
.guides-author__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 32px;
  align-items: center;
}
.guides-author__photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--border);
  flex-shrink: 0;
}
.guides-author__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.guides-author__name {
  font-family: var(--display);
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 4px;
}
.guides-author__bio {
  font-size: 15px;
  color: var(--muted);
  max-width: 60ch;
}
.guides-author__email {
  font-size: 14px;
  color: var(--accent);
  margin-top: 6px;
  display: block;
  border-bottom: 1px solid transparent;
  width: fit-content;
  transition: border-color .2s;
}
.guides-author__email:hover { border-bottom-color: var(--accent); }

/* =====================================================
   CONTACT PAGE
   ===================================================== */
.contact-body {
  padding: var(--gap) clamp(20px,4vw,40px) calc(var(--gap) * 1.5);
}
.contact-body__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 72px;
  align-items: start;
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-family: var(--body);
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-group input,
.form-group textarea {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 3px;
  padding: 14px 16px;
  font-family: var(--body);
  font-size: 16px;
  color: var(--text);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(46,125,107,.1);
}
.form-group textarea { min-height: 180px; resize: vertical; line-height: 1.7; }
.form-note {
  font-size: 14px;
  color: var(--muted);
  font-style: italic;
  line-height: 1.65;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  max-width: 60ch;
}

.form-success {
  font-size: 15px;
  color: var(--green);
  font-weight: 600;
  padding: 14px 18px;
  background: rgba(46,125,107,.08);
  border-left: 3px solid var(--green);
  border-radius: 4px;
}
.form-error {
  font-size: 15px;
  color: #b94040;
  padding: 14px 18px;
  background: rgba(185,64,64,.07);
  border-left: 3px solid #b94040;
  border-radius: 4px;
}
.form-field-error {
  font-size: 13px;
  color: #b94040;
  margin-top: 4px;
}

.contact-sidebar { display: flex; flex-direction: column; gap: 24px; }
.contact-sidebar__photo {
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.contact-sidebar__photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center top;
}
.contact-sidebar__info { padding: 4px 0; }
.contact-sidebar__info h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.contact-sidebar__info p {
  font-size: 15px;
  color: var(--muted);
  max-width: none;
  line-height: 1.75;
}
.contact-sidebar__email {
  display: inline-block;
  margin-top: 14px;
  font-size: 15px;
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.contact-sidebar__email:hover { border-bottom-color: var(--accent); }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero__photo {
    order: -1;
    height: 55vw;
    min-height: 260px;
  }
  .hero__photo img { min-height: 0; }
  .hero__content {
    padding: 48px clamp(20px,5vw,40px) 56px;
    max-width: 100%;
  }
  .bio-strip__inner {
    grid-template-columns: 140px 1fr;
    gap: 32px;
  }
  .bio-strip__photo { width: 140px; height: 140px; }
  .guides-preview__grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .about-body__inner { grid-template-columns: 1fr; }
  .about-sidebar { flex-direction: row; gap: 16px; }
  .about-sidebar__photo { flex: 1; }
  .guides-list__inner { gap: 32px; }
  .guide-row { grid-template-columns: 220px 1fr; }
  .guide-row__content { padding: 28px 28px 28px 0; }
  .contact-body__inner { grid-template-columns: 1fr; }
  .contact-sidebar { flex-direction: row; gap: 20px; }
  .contact-sidebar__photo { flex: 0 0 160px; }
}

@media (max-width: 680px) {
  .nav__links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--primary);
    flex-direction: column;
    padding: 24px clamp(20px,4vw,40px) 32px;
    gap: 18px;
    border-top: 1px solid rgba(255,255,255,.07);
    box-shadow: 0 8px 28px rgba(0,0,0,.22);
  }
  .nav__links.open { display: flex; }
  .nav__toggle { display: flex; }

  .hero__photo { height: 72vw; }
  .bio-strip__inner { grid-template-columns: 1fr; text-align: center; }
  .bio-strip__photo { margin: 0 auto; }
  .rule { margin-inline: auto; }
  .bio-strip__link { display: block; }

  .about-sidebar { flex-direction: column; }
  .guide-row { grid-template-columns: 1fr; }
  .guide-row__cover img { min-height: auto; aspect-ratio: 3/2; }
  .guide-row__content { padding: 28px 24px 32px; }

  .contact-sidebar { flex-direction: column; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 10px; text-align: center; }

  .guides-author__inner { grid-template-columns: 72px 1fr; gap: 20px; }
  .guides-author__photo { width: 72px; height: 72px; }
}
