/* ========================================
   Anna Milaeva — Personal Website Styles
   ======================================== */

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

/* ---- Reset & Base ---- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #FAF7F2;
  --accent: #C85A2A;
  --accent-hover: #A94A22;
  --gold: #E8A020;
  --text: #1A1A1A;
  --text-light: #6B6B6B;
  --divider: #E8E0D8;
  --white: #FFFFFF;
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Playfair Display', serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul { list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }

p {
  max-width: 680px;
}

/* ---- Utility ---- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section--sm {
  padding: 60px 0;
}

.text-center {
  text-align: center;
}

.text-center p {
  margin-left: auto;
  margin-right: auto;
}

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

/* Thin decorative line */
.line-accent {
  width: 48px;
  height: 2px;
  background: var(--accent);
  border: none;
  margin: 20px 0;
}

.line-accent--center {
  margin-left: auto;
  margin-right: auto;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 16px 36px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 90, 42, 0.25);
}

.btn--outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}

.btn--outline:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--accent);
  padding: 8px 0;
  border-bottom: 1.5px solid var(--accent);
  border-radius: 0;
}

.btn--ghost:hover {
  color: var(--accent-hover);
  border-color: var(--accent-hover);
}

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--divider);
  transition: box-shadow 0.3s ease;
}

.nav.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
}

.nav__logo:hover {
  color: var(--accent);
}

.nav__logo-role {
  display: block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-top: 2px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__links a {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-light);
  transition: color 0.25s ease;
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--text);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav__hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav */
.nav__mobile {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  width: 100%;
  background: var(--bg);
  border-bottom: 1px solid var(--divider);
  padding: 32px 24px;
  flex-direction: column;
  gap: 24px;
  z-index: 999;
}

.nav__mobile.open {
  display: flex;
}

.nav__mobile a {
  font-size: 1.1rem;
  color: var(--text-light);
  transition: color 0.25s ease;
}

.nav__mobile a:hover {
  color: var(--accent);
}

/* ---- Hero ---- */
.hero {
  padding: 160px 0 100px;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero--compact {
  min-height: auto;
  padding: 140px 0 80px;
}

.hero__content {
  max-width: 720px;
}

.hero__content--center {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  margin-bottom: 24px;
  color: var(--text);
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero__sub {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text-light);
  margin-bottom: 40px;
  max-width: 560px;
  line-height: 1.8;
}

.hero__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__blob {
  max-width: 100%;
}

.hero__content--center .hero__sub {
  margin-left: auto;
  margin-right: auto;
}

/* ---- Section Divider (SVG Wave) ---- */
.wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 48px;
}

.wave-divider--flip {
  transform: rotate(180deg);
}

/* ---- Columns ---- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  align-items: center;
}

/* ---- Cards ---- */
.card {
  background: var(--white);
  border-radius: 12px;
  padding: 40px 32px;
  border: 1px solid var(--divider);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  border-color: transparent;
}

.card__icon {
  font-size: 1.6rem;
  margin-bottom: 16px;
  display: block;
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Column card (who I work with) */
.col-card {
  text-align: center;
  padding: 20px;
}

.col-card h3 {
  margin-bottom: 12px;
  color: var(--text);
}

.col-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin: 0 auto;
}

.col-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(200, 90, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.3rem;
}

/* ---- Service Section ---- */
.service-block {
  padding: 80px 0;
  border-bottom: 1px solid var(--divider);
}

.service-block:last-of-type {
  border-bottom: none;
}

.service-block__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.service-block__label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.service-block h2 {
  margin-bottom: 20px;
}

.service-block p {
  color: var(--text-light);
  margin-bottom: 16px;
}

.service-block__who {
  margin-top: 24px;
}

.service-block__who h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 12px;
}

.service-block__who p {
  font-size: 0.92rem;
}

/* ---- Testimonial ---- */
.testimonial {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.testimonial__quote {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 32px;
  position: relative;
}

.testimonial__quote::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.3;
  position: absolute;
  top: -20px;
  left: -10px;
  line-height: 1;
}

.testimonial__author {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 400;
}

.testimonial__author strong {
  color: var(--text);
  font-weight: 500;
}

/* ---- About Snippet ---- */
.about-snippet__img {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-snippet__text h2 {
  margin-bottom: 20px;
}

.about-snippet__text p {
  color: var(--text-light);
  margin-bottom: 16px;
}

/* ---- CTA Strip ---- */
.cta-strip {
  background: var(--white);
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
  text-align: center;
  padding: 80px 0;
}

.cta-strip h2 {
  margin-bottom: 8px;
}

.cta-strip p {
  color: var(--text-light);
  margin: 0 auto 32px;
}

/* ---- About Page ---- */
.bio-section {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.bio-section__img {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 96px;
}

.bio-section__text p {
  color: var(--text-light);
  margin-bottom: 20px;
}

.bio-section__text p:first-of-type {
  font-size: 1.1rem;
  color: var(--text);
}

/* Credentials */
.credentials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.credential {
  padding: 28px 24px;
  border: 1px solid var(--divider);
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease;
}

.credential:hover {
  border-color: var(--accent);
  background: var(--white);
}

.credential__label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 8px;
}

.credential__value {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--text);
}

/* How I work */
.how-i-work p {
  color: var(--text-light);
  margin-bottom: 24px;
  max-width: 680px;
}

/* ---- Contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--divider);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.25s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.form-group textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-info h3 {
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--text-light);
  margin-bottom: 24px;
}

.contact-info__item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--text-light);
  font-size: 0.95rem;
}

.contact-info__item a {
  color: var(--accent);
  transition: color 0.25s ease;
}

.contact-info__item a:hover {
  color: var(--accent-hover);
}

/* ---- Footer ---- */
.footer {
  background: var(--white);
  border-top: 1px solid var(--divider);
  padding: 0;
}

.footer__quote-block {
  text-align: center;
  padding: 56px 0 48px;
}

.footer__quote-line {
  width: 40px;
  height: 2px;
  background: var(--accent);
  border: none;
  margin: 0 auto 24px;
}

.footer__quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.2rem;
  color: rgba(26, 26, 26, 0.7);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.footer__main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding: 48px 0;
  border-top: 1px solid var(--divider);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer__brand-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
}

.footer__brand-role {
  font-size: 0.82rem;
  color: var(--accent);
}

.footer__brand-url {
  font-size: 0.82rem;
  color: var(--text-light);
}

.footer__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer__nav a {
  font-size: 0.88rem;
  color: var(--text-light);
  transition: color 0.25s ease;
}

.footer__nav a:hover {
  color: var(--accent);
}

.footer__social {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  align-items: center;
}

.footer__social a {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(200, 90, 42, 0.08);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.footer__social a:hover {
  background: var(--accent);
  color: var(--white);
}

.footer__social svg {
  width: 20px;
  height: 20px;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 24px 0;
  border-top: 1px solid var(--divider);
}

.footer__bottom span {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* ---- Article Cards (Writing page) ---- */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.article-card {
  background: var(--bg);
  border: 1px solid var(--divider);
  border-radius: 12px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  border-color: transparent;
}

.article-card h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.article-card p {
  color: var(--text-light);
  font-size: 0.92rem;
  flex-grow: 1;
  margin-bottom: 20px;
}

.article-card__link {
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.25s ease;
}

.article-card:hover .article-card__link {
  color: var(--accent-hover);
}

@media (max-width: 968px) {
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .article-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Landing Page Template ---- */
.landing-hero {
  padding: 120px 0 80px;
  text-align: center;
}

.landing-hero h1 {
  margin-bottom: 20px;
}

.landing-hero .hero__sub {
  margin: 0 auto 36px;
  max-width: 600px;
}

/* ---- Responsive ---- */

/* Tablet */
@media (max-width: 968px) {
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .grid-2,
  .bio-section,
  .contact-grid,
  .service-block__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .bio-section__img {
    position: static;
    max-width: 400px;
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    padding: 120px 0 72px;
    min-height: auto;
  }
}

/* Mobile */
/* Non-typography mobile layout rules are in the final mobile block below */

/* Small mobile */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 92px 0 48px;
  }

  .hero--compact {
    padding: 92px 0 40px;
  }

  .section {
    padding: 40px 0;
  }

  /* Buttons full width on small screens */
  .btn {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
  }

  .btn--ghost {
    width: auto;
  }

  /* Cards */
  .card {
    padding: 24px 16px;
  }

  .pricing-card {
    padding: 28px 20px;
  }

  .pricing-card__price {
    font-size: 1.8rem;
  }

  /* Credentials single column */
  .credentials {
    grid-template-columns: 1fr;
  }

  /* Steps */
  .steps__number {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .steps__item:not(:last-child)::after {
    left: 17px;
    top: 40px;
  }

  /* CTA */
  .cta-strip {
    padding: 44px 0;
  }

  /* Article cards */
  .article-card {
    padding: 24px 20px;
  }

  /* Nav */
  .nav__inner {
    height: 64px;
  }

  .nav__mobile {
    top: 64px;
  }

}

/* ---- FINO Link ---- */
.fino-link {
  color: var(--accent);
  text-decoration: none;
}

.fino-link:hover {
  text-decoration: underline;
}

/* ---- Book Announcement ---- */
.book-announcement {
  background: #3D2518;
  padding: 80px 0;
}

.book-announcement__label {
  display: block;
  font-size: 0.9rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #E8784A;
  margin-bottom: 20px;
}

.book-announcement__headline {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: #FFFFFF;
  margin-bottom: 24px;
}

.book-announcement__body {
  color: #CCCCCC;
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 36px;
}

.book-announcement__note {
  color: #CCCCCC;
  font-size: 1.05rem;
  margin: 20px auto 0;
}

/* book-announcement mobile rules moved to final mobile block */

/* ---- Circle Photos ---- */
.circle-photo {
  aspect-ratio: 1 / 1;
  max-width: 100%;
}

/* circle-photo mobile rules moved to final mobile block */

/* ---- Animations (subtle) ---- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Service cards grid for homepage */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

@media (max-width: 968px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ---- Checklist ---- */
.checklist {
  max-width: 680px;
}

.checklist__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--divider);
}

.checklist__item:last-child {
  border-bottom: none;
}

.checklist__check {
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 600;
  flex-shrink: 0;
  line-height: 1.7;
}

.checklist__item span:last-child {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.7;
}

/* ---- Steps ---- */
.steps {
  max-width: 680px;
}

.steps__item {
  display: flex;
  gap: 28px;
  padding-bottom: 40px;
  position: relative;
}

.steps__item:last-child {
  padding-bottom: 0;
}

.steps__item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 44px;
  bottom: 0;
  width: 2px;
  background: var(--divider);
}

.steps__number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(200, 90, 42, 0.1);
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.steps__content h3 {
  margin-bottom: 8px;
}

.steps__content p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ---- Pricing Cards ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--divider);
  border-radius: 12px;
  padding: 40px 32px;
  text-align: center;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  border-color: transparent;
}

.pricing-card--featured {
  border-color: var(--accent);
  position: relative;
}

.pricing-card h3 {
  margin-bottom: 16px;
}

.pricing-card__price {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 20px;
}

.pricing-card p {
  color: var(--text-light);
  font-size: 0.92rem;
  margin: 0 auto 28px;
}

@media (max-width: 968px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ---- Cohort Details ---- */
.cohort-details {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 1rem;
  color: var(--text);
}

.cohort-details__dot {
  color: var(--text-light);
}

/* ---- FAQ Accordion ---- */
.faq {
  max-width: 680px;
}

.faq__item {
  border-bottom: 1px solid var(--divider);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  text-align: left;
  transition: color 0.25s ease;
}

.faq__question:hover {
  color: var(--accent);
}

.faq__icon {
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq__item.open .faq__icon {
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq__item.open .faq__answer {
  max-height: 300px;
  padding-bottom: 20px;
}

.faq__answer p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ---- Mobile Override (final, nothing should follow) ---- */
@media (max-width: 768px) {

  /* --- Typography --- */
  html, body {
    font-size: 18px !important;
  }

  body, p, li {
    font-size: 18px !important;
    line-height: 1.85 !important;
    color: #1A1A1A !important;
  }

  h1 {
    font-size: 38px !important;
    line-height: 1.15 !important;
    margin-top: 32px !important;
  }

  h2 {
    font-size: 30px !important;
    line-height: 1.2 !important;
  }

  h3 {
    font-size: 22px !important;
  }

  /* --- Nav --- */
  .nav__links {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__inner {
    height: auto !important;
    min-height: 72px;
    padding-top: 16px !important;
    padding-bottom: 16px !important;
  }

  .nav__logo, .nav__logo a, .nav-logo, .site-title {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #1A1A1A !important;
    letter-spacing: -0.01em !important;
    padding-top: 4px !important;
  }

  .nav__logo-role, .nav-subtitle, .site-tagline {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #C85A2A !important;
    display: block !important;
    margin-top: 6px !important;
    padding-bottom: 4px !important;
  }

  .nav__mobile {
    top: auto !important;
  }

  .nav__mobile a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  /* Ghost buttons need adequate tap target */
  .btn--ghost {
    min-height: 44px;
    padding: 12px 0 !important;
  }

  /* --- Footer --- */
  footer p, footer span, footer div, footer li, footer a {
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: #3A3A3A !important;
  }

  .footer__quote-block {
    padding: 40px 0 36px;
  }

  .footer__main {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 28px;
    padding: 36px 0;
  }

  .footer__brand {
    align-items: center;
  }

  .footer__social {
    justify-content: center;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding: 20px 0;
  }

  /* --- Dark background sections --- */
  .book-announcement, .book-section, .writing-section {
    padding: 50px 0;
  }

  .book-announcement__headline {
    font-size: 1.6rem;
  }

  .book-section, .writing-section, .book-section p, .writing-section p {
    color: #FAF7F2 !important;
  }

  .book-announcement__label,
  .book-announcement__headline,
  .book-announcement__body,
  .book-announcement__note {
    color: #FAF7F2 !important;
  }

  /* --- Sections & Layout --- */
  section, .section {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }

  .section--sm {
    padding: 36px 0 !important;
  }

  .container {
    padding: 0 20px;
  }

  /* --- Hero --- */
  .hero {
    padding: 100px 0 56px !important;
    min-height: auto;
  }

  .hero--compact {
    padding: 100px 0 48px !important;
  }

  .hero__content,
  .hero__content--center {
    max-width: 100%;
  }

  .hero__buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__buttons .btn {
    width: 100%;
    text-align: center;
  }

  .hero__blob {
    width: 280px !important;
    margin: 0 auto;
  }

  /* --- Grids --- */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .bio-section,
  .contact-grid,
  .service-block__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .bio-section__img {
    position: static;
    max-width: 100%;
    max-height: 350px;
    object-fit: cover;
  }

  /* --- Cards --- */
  .card {
    padding: 28px 20px;
  }

  .col-card {
    padding: 16px 0;
  }

  /* --- Buttons --- */
  .btn {
    padding: 14px 28px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* --- Images --- */
  .about-snippet__img {
    aspect-ratio: 16 / 10;
    max-height: 300px;
  }

  .circle-photo {
    width: 260px !important;
    height: 260px !important;
    margin-left: auto;
    margin-right: auto;
  }

  .circle-photo-wrapper {
    margin-bottom: 24px !important;
  }

  /* --- Service blocks --- */
  .service-block {
    padding: 48px 0;
  }

  /* --- Pricing --- */
  .pricing-grid {
    grid-template-columns: 1fr !important;
    max-width: 100% !important;
  }

  .pricing-card {
    padding: 32px 24px;
  }

  /* --- Steps --- */
  .steps {
    max-width: 100%;
  }

  .steps__item {
    gap: 20px;
    padding-bottom: 32px;
  }

  /* --- Checklist --- */
  .checklist {
    max-width: 100%;
  }

  /* --- Contact --- */
  .contact-grid {
    gap: 40px;
  }

  .contact-info {
    text-align: center;
  }

  .form-group input,
  .form-group textarea {
    font-size: 16px; /* Prevents iOS zoom on focus */
  }

  /* --- Article grid --- */
  .article-grid {
    grid-template-columns: 1fr;
  }

  .article-card {
    padding: 28px 24px;
  }

  /* --- FAQ --- */
  .faq {
    max-width: 100%;
  }

  .faq__question {
    padding: 16px 0;
    min-height: 48px;
  }

  /* --- CTA --- */
  .cta-strip {
    padding: 56px 0;
  }

  /* --- Credentials / Training / About grids --- */
  .credentials,
  .credentials-grid, .training-grid, .certifications-grid,
  .about-grid, .training-list, .credentials-list {
    grid-template-columns: 1fr !important;
    columns: 1 !important;
    gap: 16px;
  }

  .credential {
    padding: 20px 16px;
  }

  /* --- Testimonials --- */
  .testimonial__quote {
    font-size: 1.3rem;
  }

  .testimonial__quote::before {
    font-size: 3rem;
    top: -16px;
    left: -4px;
  }

  /* --- How I work --- */
  .how-i-work p {
    max-width: 100%;
  }

  /* --- Landing hero --- */
  .landing-hero {
    padding: 100px 0 56px;
  }
}
