/*
Theme Name:  Maribeth Laureen
Theme URI:   https://maribethlaureen.xyz
Author:      Maribeth Laureen Web Design
Author URI:  https://maribethlaureen.xyz
Description: Custom warm, conversion-focused web design agency theme.
Version:     1.0.0
License:     GNU General Public License v2 or later
Text Domain: maribethlaureen
*/

/* ── RESET & BASE ── */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: 'DM Sans', sans-serif;
      background-color: #FAF7F2;
      color: #2C2420;
      line-height: 1.7;
      overflow-x: hidden;
    }
    img { max-width: 100%; display: block; }
    a { text-decoration: none; color: inherit; }

    /* ── CSS VARIABLES ── */
    :root {
      --terracotta: #C17F5A;
      --terracotta-dark: #A8683D;
      --charcoal: #2C2420;
      --cream: #FAF7F2;
      --sand: #F0EAE0;
      --sage: #8A9E7E;
      --white: #FFFFFF;
      --mid: #7A6E6A;
      --light: #B5ADA9;
      --shadow-sm: 0 4px 20px rgba(44,36,32,0.06);
      --shadow-md: 0 8px 40px rgba(44,36,32,0.10);
      --shadow-lg: 0 20px 60px rgba(44,36,32,0.14);
      --radius-sm: 4px;
      --radius-md: 8px;
      --radius-lg: 16px;
      --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* ── TYPOGRAPHY ── */
    h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.2; }
    h4, h5, h6, p, span, a, button, label { font-family: 'DM Sans', sans-serif; }

    /* ── LAYOUT ── */
    .container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
    .container--narrow { max-width: 780px; margin: 0 auto; padding: 0 40px; }

    /* ── GRAIN OVERLAY ── */
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
      pointer-events: none;
      z-index: 9999;
      opacity: 0.4;
    }

    /* ══════════════════════════════════
       NAVIGATION
    ══════════════════════════════════ */
    .nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 100;
      padding: 20px 0;
      transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
    }
    .nav.scrolled {
      background: rgba(250,247,242,0.95);
      backdrop-filter: blur(12px);
      box-shadow: 0 1px 0 rgba(44,36,32,0.08);
      padding: 14px 0;
    }
    .nav__inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .nav__logo {
      font-family: 'Playfair Display', serif;
      font-size: 1.25rem;
      font-weight: 700;
      color: var(--charcoal);
      letter-spacing: -0.02em;
    }
    .nav__logo span { color: var(--terracotta); }
    .nav__links {
      display: flex;
      align-items: center;
      gap: 36px;
      list-style: none;
    }
    .nav__links a {
      font-size: 0.875rem;
      font-weight: 500;
      color: var(--mid);
      letter-spacing: 0.02em;
      transition: color var(--transition);
    }
    .nav__links a:hover { color: var(--charcoal); }
    .nav__cta {
      background: var(--terracotta);
      color: var(--white) !important;
      padding: 10px 22px;
      border-radius: var(--radius-sm);
      font-weight: 600 !important;
      font-size: 0.875rem !important;
      transition: background var(--transition), transform var(--transition) !important;
    }
    .nav__cta:hover {
      background: var(--terracotta-dark) !important;
      transform: translateY(-1px);
    }

    /* ══════════════════════════════════
       HERO
    ══════════════════════════════════ */
    .hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      position: relative;
      overflow: hidden;
      padding: 120px 0 80px;
    }
    .hero__bg {
      position: absolute;
      inset: 0;
      z-index: 0;
    }
    .hero__blob1 {
      position: absolute;
      top: -100px;
      right: -150px;
      width: 700px;
      height: 700px;
      background: radial-gradient(ellipse, rgba(193,127,90,0.12) 0%, transparent 70%);
      border-radius: 50%;
    }
    .hero__blob2 {
      position: absolute;
      bottom: -200px;
      left: -100px;
      width: 600px;
      height: 600px;
      background: radial-gradient(ellipse, rgba(138,158,126,0.10) 0%, transparent 70%);
      border-radius: 50%;
    }
    .hero__inner {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: center;
    }
    .hero__tag {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 0.8rem;
      font-weight: 600;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--terracotta);
      margin-bottom: 24px;
      opacity: 0;
      animation: fadeUp 0.7s 0.1s forwards;
    }
    .hero__tag::before {
      content: '';
      display: inline-block;
      width: 24px;
      height: 2px;
      background: var(--terracotta);
      border-radius: 2px;
    }
    .hero__headline {
      font-size: clamp(2.6rem, 5vw, 4rem);
      font-weight: 700;
      line-height: 1.12;
      letter-spacing: -0.03em;
      color: var(--charcoal);
      margin-bottom: 24px;
      opacity: 0;
      animation: fadeUp 0.7s 0.2s forwards;
    }
    .hero__headline em {
      font-style: italic;
      color: var(--terracotta);
    }
    .hero__subhead {
      font-size: 1.1rem;
      color: var(--mid);
      line-height: 1.75;
      margin-bottom: 40px;
      max-width: 480px;
      opacity: 0;
      animation: fadeUp 0.7s 0.3s forwards;
    }
    .hero__actions {
      display: flex;
      gap: 16px;
      align-items: center;
      flex-wrap: wrap;
      opacity: 0;
      animation: fadeUp 0.7s 0.4s forwards;
    }
    .btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-family: 'DM Sans', sans-serif;
      font-weight: 600;
      font-size: 0.9rem;
      padding: 14px 28px;
      border-radius: var(--radius-sm);
      border: none;
      cursor: pointer;
      transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
      letter-spacing: 0.01em;
    }
    .btn--primary {
      background: var(--terracotta);
      color: var(--white);
    }
    .btn--primary:hover {
      background: var(--terracotta-dark);
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(193,127,90,0.35);
    }
    .btn--ghost {
      background: var(--charcoal);
      color: var(--cream);
      border: 1.5px solid var(--charcoal);
    }
    .btn--ghost:hover {
      background: #1a100c;
      border-color: #1a100c;
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(44,36,32,0.25);
    }
    .btn__arrow { transition: transform var(--transition); }
    .btn:hover .btn__arrow { transform: translateX(4px); }

    /* Hero social proof */
    .hero__social {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-top: 48px;
      opacity: 0;
      animation: fadeUp 0.7s 0.5s forwards;
    }
    .hero__avatars {
      display: flex;
    }
    .hero__avatar {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      border: 2.5px solid var(--cream);
      background: var(--sand);
      margin-left: -10px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.75rem;
      font-weight: 700;
      color: var(--terracotta);
      overflow: hidden;
    }
    .hero__avatar:first-child { margin-left: 0; }
    .hero__social-text { font-size: 0.82rem; color: var(--mid); line-height: 1.4; }
    .hero__social-text strong { color: var(--charcoal); font-weight: 600; }

    /* Hero visual */
    .hero__visual {
      position: relative;
      opacity: 0;
      animation: fadeIn 0.9s 0.4s forwards;
    }
    .hero__card-main {
      background: var(--white);
      border-radius: var(--radius-lg);
      padding: 32px;
      box-shadow: var(--shadow-lg);
      position: relative;
      z-index: 2;
    }
    .hero__card-label {
      font-size: 0.7rem;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--light);
      margin-bottom: 12px;
    }
    .hero__card-title {
      font-family: 'Playfair Display', serif;
      font-size: 1.3rem;
      font-weight: 700;
      color: var(--charcoal);
      margin-bottom: 16px;
      line-height: 1.3;
    }
    .hero__card-bar { height: 6px; background: var(--sand); border-radius: 99px; margin-bottom: 8px; overflow: hidden; }
    .hero__card-fill { height: 100%; background: var(--terracotta); border-radius: 99px; animation: growBar 1.5s 1s ease-out forwards; width: 0; }
    .hero__card-fill--short { animation-duration: 1.2s; animation-delay: 1.2s; }
    .hero__card-fill--med { animation-duration: 1.3s; animation-delay: 1.4s; }
    .hero__card-stat { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--light); margin-bottom: 20px; }
    .hero__card-metric { display: flex; align-items: flex-end; gap: 8px; }
    .hero__card-number { font-family: 'Playfair Display', serif; font-size: 2.4rem; font-weight: 700; color: var(--charcoal); line-height: 1; }
    .hero__card-up { font-size: 0.8rem; font-weight: 600; color: var(--sage); padding: 3px 8px; background: rgba(138,158,126,0.12); border-radius: 99px; margin-bottom: 6px; }

    .hero__card-float {
      position: absolute;
      background: var(--white);
      border-radius: var(--radius-md);
      padding: 14px 18px;
      box-shadow: var(--shadow-md);
      z-index: 3;
    }
    .hero__card-float--tl {
      top: -24px;
      left: -32px;
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .hero__card-float--br {
      bottom: -24px;
      right: -24px;
    }
    .float__icon {
      width: 36px;
      height: 36px;
      background: rgba(193,127,90,0.12);
      border-radius: var(--radius-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.1rem;
    }
    .float__text { font-size: 0.78rem; color: var(--charcoal); font-weight: 600; }
    .float__sub { font-size: 0.7rem; color: var(--light); }
    .float__score { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 700; color: var(--sage); line-height: 1; }
    .float__score-label { font-size: 0.7rem; color: var(--mid); }

    /* ══════════════════════════════════
       LOGOS / SOCIAL PROOF BAR
    ══════════════════════════════════ */
    .logos {
      padding: 40px 0;
      border-top: 1px solid rgba(44,36,32,0.07);
      border-bottom: 1px solid rgba(44,36,32,0.07);
      background: var(--white);
    }
    .logos__label {
      font-size: 0.75rem;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--light);
      text-align: center;
      margin-bottom: 24px;
    }
    .logos__row {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 48px;
      flex-wrap: wrap;
    }
    .logos__item {
      font-family: 'Playfair Display', serif;
      font-size: 1rem;
      font-weight: 600;
      color: var(--light);
      letter-spacing: -0.01em;
      transition: color var(--transition);
    }
    .logos__item:hover { color: var(--charcoal); }

    /* ══════════════════════════════════
       SERVICES
    ══════════════════════════════════ */
    .services {
      padding: 120px 0;
      background: var(--cream);
    }
    .section__header {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: end;
      margin-bottom: 72px;
    }
    .section__eyebrow {
      font-size: 0.78rem;
      font-weight: 600;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--terracotta);
      margin-bottom: 16px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .section__eyebrow::before {
      content: '';
      width: 20px;
      height: 2px;
      background: var(--terracotta);
      border-radius: 2px;
    }
    .section__title {
      font-size: clamp(2rem, 3.5vw, 2.8rem);
      font-weight: 700;
      line-height: 1.15;
      letter-spacing: -0.03em;
      color: var(--charcoal);
    }
    .section__title em { font-style: italic; color: var(--terracotta); }
    .section__desc {
      font-size: 1.05rem;
      color: var(--mid);
      line-height: 1.8;
      align-self: end;
    }

    .services__grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .service-card {
      background: var(--charcoal);
      border-radius: var(--radius-md);
      padding: 36px 32px;
      box-shadow: var(--shadow-sm);
      transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
      position: relative;
      overflow: hidden;
      border: 1px solid rgba(250,247,242,0.07);
    }
    .service-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 3px;
      background: var(--terracotta);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform var(--transition);
    }
    .service-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(44,36,32,0.25); background: #352a26; }
    .service-card:hover::before { transform: scaleX(1); }
    .service-card__icon {
      width: 52px;
      height: 52px;
      background: rgba(193,127,90,0.15);
      border-radius: var(--radius-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.4rem;
      margin-bottom: 24px;
    }
    .service-card__title {
      font-family: 'Playfair Display', serif;
      font-size: 1.2rem;
      font-weight: 700;
      color: var(--cream);
      margin-bottom: 12px;
      line-height: 1.3;
    }
    .service-card__desc {
      font-size: 0.9rem;
      color: rgba(250,247,242,0.5);
      line-height: 1.75;
      margin-bottom: 24px;
    }
    .service-card__link {
      font-size: 0.85rem;
      font-weight: 600;
      color: var(--terracotta);
      display: inline-flex;
      align-items: center;
      gap: 6px;
      transition: gap var(--transition);
    }
    .service-card:hover .service-card__link { gap: 10px; }

    /* ══════════════════════════════════
       ABOUT / WHY US
    ══════════════════════════════════ */
    .about {
      padding: 120px 0;
      background: var(--charcoal);
      position: relative;
      overflow: hidden;
    }
    .about__blob {
      position: absolute;
      top: -200px;
      right: -200px;
      width: 600px;
      height: 600px;
      background: radial-gradient(ellipse, rgba(193,127,90,0.15) 0%, transparent 70%);
      pointer-events: none;
    }
    .about__inner {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: center;
      position: relative;
      z-index: 1;
    }
    .about__content .section__eyebrow { color: var(--terracotta); }
    .about__content .section__eyebrow::before { background: var(--terracotta); }
    .about__content .section__title { color: var(--cream); }
    .about__content .section__title em { color: var(--terracotta); }
    .about__text {
      font-size: 1rem;
      color: rgba(250,247,242,0.65);
      line-height: 1.8;
      margin: 24px 0 40px;
    }
    .about__stats {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
      margin-top: 48px;
    }
    .stat-card {
      background: rgba(250,247,242,0.06);
      border: 1px solid rgba(250,247,242,0.1);
      border-radius: var(--radius-md);
      padding: 24px;
    }
    .stat-card__number {
      font-family: 'Playfair Display', serif;
      font-size: 2.2rem;
      font-weight: 700;
      color: var(--terracotta);
      line-height: 1;
      margin-bottom: 6px;
    }
    .stat-card__label { font-size: 0.85rem; color: rgba(250,247,242,0.5); }

    /* About visual */
    .about__visual { position: relative; }
    .about__img-wrap {
      position: relative;
      border-radius: var(--radius-lg);
      overflow: hidden;
      background: var(--sand);
      aspect-ratio: 4/5;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .about__img-placeholder {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 16px;
      color: var(--light);
    }
    .about__img-placeholder .icon { font-size: 3rem; }
    .about__img-placeholder p { font-size: 0.85rem; text-align: center; line-height: 1.5; }
    .about__badge {
      position: absolute;
      bottom: -20px;
      left: -20px;
      background: var(--terracotta);
      color: var(--white);
      border-radius: var(--radius-md);
      padding: 20px 24px;
      box-shadow: var(--shadow-md);
    }
    .about__badge-number {
      font-family: 'Playfair Display', serif;
      font-size: 2rem;
      font-weight: 700;
      line-height: 1;
    }
    .about__badge-text { font-size: 0.78rem; opacity: 0.85; margin-top: 4px; }

    /* ══════════════════════════════════
       PROCESS
    ══════════════════════════════════ */
    .process {
      padding: 120px 0;
      background: var(--sand);
    }
    .process__steps {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 32px;
      margin-top: 72px;
      position: relative;
    }
    .process__steps::before {
      content: '';
      position: absolute;
      top: 28px;
      left: 10%;
      right: 10%;
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--terracotta), transparent);
      opacity: 0.3;
    }
    .process-step { text-align: center; }
    .process-step__num {
      width: 56px;
      height: 56px;
      border-radius: 50%;
      background: var(--white);
      border: 2px solid rgba(193,127,90,0.25);
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: 'Playfair Display', serif;
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--terracotta);
      margin: 0 auto 20px;
      position: relative;
      z-index: 1;
      transition: background var(--transition), border-color var(--transition);
    }
    .process-step:hover .process-step__num {
      background: var(--terracotta);
      color: var(--white);
      border-color: var(--terracotta);
    }
    .process-step__title {
      font-family: 'Playfair Display', serif;
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--charcoal);
      margin-bottom: 10px;
    }
    .process-step__desc { font-size: 0.875rem; color: var(--mid); line-height: 1.7; }

    /* ══════════════════════════════════
       PORTFOLIO PREVIEW
    ══════════════════════════════════ */
    .portfolio {
      padding: 120px 0;
      background: var(--cream);
    }
    .portfolio__header {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      margin-bottom: 56px;
    }
    .portfolio__grid {
      display: grid;
      grid-template-columns: 1.4fr 1fr;
      grid-template-rows: auto auto;
      gap: 20px;
    }
    .portfolio-item {
      border-radius: var(--radius-md);
      overflow: hidden;
      position: relative;
      background: var(--sand);
      cursor: pointer;
    }
    .portfolio-item:first-child { grid-row: 1 / 3; }
    .portfolio-item__img {
      aspect-ratio: 16/9;
      background: linear-gradient(135deg, var(--sand) 0%, rgba(193,127,90,0.2) 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2rem;
      color: var(--light);
      transition: transform var(--transition);
    }
    .portfolio-item:first-child .portfolio-item__img {
      aspect-ratio: 3/4;
    }
    .portfolio-item:hover .portfolio-item__img { transform: scale(1.03); }
    .portfolio-item__overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(44,36,32,0.7) 0%, transparent 50%);
      opacity: 0;
      transition: opacity var(--transition);
      display: flex;
      align-items: flex-end;
      padding: 24px;
    }
    .portfolio-item:hover .portfolio-item__overlay { opacity: 1; }
    .portfolio-item__info { color: var(--white); }
    .portfolio-item__tag { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.7; margin-bottom: 6px; }
    .portfolio-item__name { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; }

    /* ══════════════════════════════════
       TESTIMONIALS
    ══════════════════════════════════ */
    .testimonials {
      padding: 120px 0;
      background: var(--white);
    }
    .testimonials__grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      margin-top: 72px;
    }
    .testimonial-card {
      background: var(--cream);
      border-radius: var(--radius-md);
      padding: 32px;
      position: relative;
    }
    .testimonial-card__quote {
      font-family: 'Playfair Display', serif;
      font-size: 3rem;
      line-height: 1;
      color: var(--terracotta);
      opacity: 0.3;
      margin-bottom: 8px;
    }
    .testimonial-card__text {
      font-size: 0.95rem;
      color: var(--charcoal);
      line-height: 1.8;
      margin-bottom: 24px;
      font-style: italic;
    }
    .testimonial-card__author {
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .testimonial-card__avatar {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      background: var(--sand);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 0.85rem;
      color: var(--terracotta);
    }
    .testimonial-card__name { font-size: 0.875rem; font-weight: 600; color: var(--charcoal); }
    .testimonial-card__role { font-size: 0.78rem; color: var(--light); }
    .testimonial-card__stars { color: var(--terracotta); font-size: 0.75rem; margin-bottom: 16px; letter-spacing: 2px; }

    /* ══════════════════════════════════
       CTA BANNER
    ══════════════════════════════════ */
    .cta-banner {
      padding: 100px 0;
      background: var(--terracotta);
      position: relative;
      overflow: hidden;
      text-align: center;
    }
    .cta-banner__blob {
      position: absolute;
      width: 500px;
      height: 500px;
      border-radius: 50%;
      background: rgba(255,255,255,0.06);
    }
    .cta-banner__blob--1 { top: -200px; left: -100px; }
    .cta-banner__blob--2 { bottom: -200px; right: -100px; }
    .cta-banner__eyebrow {
      font-size: 0.78rem;
      font-weight: 600;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.6);
      margin-bottom: 20px;
    }
    .cta-banner__title {
      font-family: 'Playfair Display', serif;
      font-size: clamp(2rem, 4vw, 3rem);
      font-weight: 700;
      color: var(--white);
      line-height: 1.2;
      margin-bottom: 16px;
      letter-spacing: -0.02em;
    }
    .cta-banner__sub {
      font-size: 1rem;
      color: rgba(255,255,255,0.75);
      max-width: 480px;
      margin: 0 auto 40px;
      line-height: 1.7;
    }
    .cta-banner .btn--light {
      background: var(--white);
      color: var(--terracotta);
      font-weight: 700;
    }
    .cta-banner .btn--light:hover {
      background: var(--cream);
      transform: translateY(-2px);
      box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    }
    .cta-banner .btn--outline-light {
      background: transparent;
      color: var(--white);
      border: 1.5px solid rgba(255,255,255,0.4);
    }
    .cta-banner .btn--outline-light:hover {
      border-color: var(--white);
      transform: translateY(-2px);
    }

    /* ══════════════════════════════════
       FOOTER
    ══════════════════════════════════ */
    .footer {
      padding: 72px 0 40px;
      background: var(--charcoal);
    }
    .footer__top {
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr 1fr;
      gap: 48px;
      padding-bottom: 56px;
      border-bottom: 1px solid rgba(250,247,242,0.1);
    }
    .footer__brand-name {
      font-family: 'Playfair Display', serif;
      font-size: 1.3rem;
      font-weight: 700;
      color: var(--cream);
      margin-bottom: 12px;
    }
    .footer__brand-name span { color: var(--terracotta); }
    .footer__tagline { font-size: 0.875rem; color: rgba(250,247,242,0.45); line-height: 1.7; max-width: 220px; }
    .footer__col-title { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(250,247,242,0.4); margin-bottom: 20px; }
    .footer__links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
    .footer__links a { font-size: 0.875rem; color: rgba(250,247,242,0.55); transition: color var(--transition); }
    .footer__links a:hover { color: var(--cream); }
    .footer__bottom {
      padding-top: 32px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .footer__copy { font-size: 0.8rem; color: rgba(250,247,242,0.3); }
    .footer__copy a { color: var(--terracotta); transition: opacity var(--transition); }
    .footer__copy a:hover { opacity: 0.8; }

    /* ══════════════════════════════════
       ANIMATIONS
    ══════════════════════════════════ */
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(20px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    @keyframes fadeIn {
      from { opacity: 0; }
      to   { opacity: 1; }
    }
    @keyframes growBar {
      from { width: 0; }
      to   { width: var(--bar-width, 75%); }
    }

    .reveal {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }
    .reveal--delay-1 { transition-delay: 0.1s; }
    .reveal--delay-2 { transition-delay: 0.2s; }
    .reveal--delay-3 { transition-delay: 0.3s; }
    .reveal--delay-4 { transition-delay: 0.4s; }

    /* ══════════════════════════════════
       RESPONSIVE
    ══════════════════════════════════ */
    @media (max-width: 1024px) {
      .hero__inner { grid-template-columns: 1fr; gap: 60px; }
      .hero__visual { display: none; }
      .services__grid { grid-template-columns: repeat(2, 1fr); }
      .about__inner { grid-template-columns: 1fr; }
      .about__visual { display: none; }
      .process__steps { grid-template-columns: repeat(2, 1fr); }
      .process__steps::before { display: none; }
      .testimonials__grid { grid-template-columns: 1fr; }
      .footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }
    }

    @media (max-width: 768px) {
      .container { padding: 0 24px; }
      .nav__links { display: none; }
      .hero { padding: 100px 0 60px; }
      .section__header { grid-template-columns: 1fr; gap: 24px; }
      .services__grid { grid-template-columns: 1fr; }
      .portfolio__header { flex-direction: column; align-items: flex-start; gap: 20px; }
      .portfolio__grid { grid-template-columns: 1fr; }
      .portfolio-item:first-child { grid-row: auto; }
      .footer__top { grid-template-columns: 1fr; }
      .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
      .cta-banner__actions { flex-direction: column; align-items: center; }
    }

/* === FROM blog-index.html === */

/* ── RESET & BASE ── */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: 'DM Sans', sans-serif;
      background-color: #FAF7F2;
      color: #2C2420;
      line-height: 1.7;
      overflow-x: hidden;
    }
    img { max-width: 100%; display: block; }
    a { text-decoration: none; color: inherit; }

    /* ── CSS VARIABLES ── */
    :root {
      --terracotta: #C17F5A;
      --terracotta-dark: #A8683D;
      --charcoal: #2C2420;
      --cream: #FAF7F2;
      --sand: #F0EAE0;
      --sage: #8A9E7E;
      --white: #FFFFFF;
      --mid: #7A6E6A;
      --light: #B5ADA9;
      --shadow-sm: 0 4px 20px rgba(44,36,32,0.06);
      --shadow-md: 0 8px 40px rgba(44,36,32,0.10);
      --radius-sm: 4px;
      --radius-md: 8px;
      --radius-lg: 16px;
      --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.2; }

    /* ── GRAIN ── */
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
      pointer-events: none;
      z-index: 9999;
      opacity: 0.4;
    }

    /* ── LAYOUT ── */
    .container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

    /* ── BUTTONS ── */
    .btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-family: 'DM Sans', sans-serif;
      font-weight: 600;
      font-size: 0.9rem;
      padding: 12px 24px;
      border-radius: var(--radius-sm);
      border: none;
      cursor: pointer;
      transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    }
    .btn--primary { background: var(--terracotta); color: var(--white); }
    .btn--primary:hover { background: var(--terracotta-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(193,127,90,0.35); }
    .btn--ghost { background: transparent; color: var(--charcoal); border: 1.5px solid rgba(44,36,32,0.2); }
    .btn--ghost:hover { border-color: var(--charcoal); transform: translateY(-1px); }
    .btn__arrow { transition: transform var(--transition); }
    .btn:hover .btn__arrow { transform: translateX(4px); }

    /* ══════════════════════════════════
       NAVIGATION
    ══════════════════════════════════ */
    .nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      padding: 20px 0;
      transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
    }
    .nav.scrolled {
      background: rgba(250,247,242,0.95);
      backdrop-filter: blur(12px);
      box-shadow: 0 1px 0 rgba(44,36,32,0.08);
      padding: 14px 0;
    }
    .nav__inner { display: flex; align-items: center; justify-content: space-between; }
    .nav__logo { font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 700; color: var(--charcoal); letter-spacing: -0.02em; }
    .nav__logo span { color: var(--terracotta); }
    .nav__links { display: flex; align-items: center; gap: 36px; list-style: none; }
    .nav__links a { font-size: 0.875rem; font-weight: 500; color: var(--mid); letter-spacing: 0.02em; transition: color var(--transition); }
    .nav__links a:hover, .nav__links a.active { color: var(--charcoal); }
    .nav__links a.active { font-weight: 600; }
    .nav__cta { background: var(--terracotta); color: var(--white) !important; padding: 10px 22px; border-radius: var(--radius-sm); font-weight: 600 !important; transition: background var(--transition) !important; }
    .nav__cta:hover { background: var(--terracotta-dark) !important; }

    /* ══════════════════════════════════
       BLOG HERO / HEADER
    ══════════════════════════════════ */
    .blog-hero {
      padding: 140px 0 80px;
      background: var(--charcoal);
      position: relative;
      overflow: hidden;
    }
    .blog-hero__blob1 {
      position: absolute;
      top: -150px; right: -150px;
      width: 500px; height: 500px;
      background: radial-gradient(ellipse, rgba(193,127,90,0.18) 0%, transparent 70%);
      border-radius: 50%;
      pointer-events: none;
    }
    .blog-hero__blob2 {
      position: absolute;
      bottom: -200px; left: -100px;
      width: 400px; height: 400px;
      background: radial-gradient(ellipse, rgba(138,158,126,0.12) 0%, transparent 70%);
      border-radius: 50%;
      pointer-events: none;
    }
    .blog-hero__inner {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: center;
    }
    .blog-hero__eyebrow {
      font-size: 0.78rem;
      font-weight: 600;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--terracotta);
      margin-bottom: 16px;
      display: flex;
      align-items: center;
      gap: 8px;
      opacity: 0;
      animation: fadeUp 0.6s 0.1s forwards;
    }
    .blog-hero__eyebrow::before { content: ''; width: 20px; height: 2px; background: var(--terracotta); border-radius: 2px; }
    .blog-hero__title {
      font-size: clamp(2.2rem, 4vw, 3.2rem);
      font-weight: 700;
      color: var(--cream);
      line-height: 1.15;
      letter-spacing: -0.03em;
      margin-bottom: 20px;
      opacity: 0;
      animation: fadeUp 0.6s 0.2s forwards;
    }
    .blog-hero__title em { font-style: italic; color: var(--terracotta); }
    .blog-hero__desc {
      font-size: 1rem;
      color: rgba(250,247,242,0.6);
      line-height: 1.8;
      max-width: 420px;
      opacity: 0;
      animation: fadeUp 0.6s 0.3s forwards;
    }

    /* Newsletter signup in hero */
    .blog-hero__signup {
      background: rgba(250,247,242,0.06);
      border: 1px solid rgba(250,247,242,0.12);
      border-radius: var(--radius-lg);
      padding: 36px;
      opacity: 0;
      animation: fadeUp 0.7s 0.3s forwards;
    }
    .blog-hero__signup-label {
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--terracotta);
      margin-bottom: 12px;
    }
    .blog-hero__signup-title {
      font-family: 'Playfair Display', serif;
      font-size: 1.3rem;
      font-weight: 700;
      color: var(--cream);
      line-height: 1.3;
      margin-bottom: 10px;
    }
    .blog-hero__signup-desc {
      font-size: 0.875rem;
      color: rgba(250,247,242,0.5);
      margin-bottom: 24px;
      line-height: 1.6;
    }
    .blog-hero__form { display: flex; gap: 10px; flex-wrap: wrap; }
    .blog-hero__input {
      flex: 1;
      min-width: 180px;
      padding: 12px 16px;
      border-radius: var(--radius-sm);
      border: 1px solid rgba(250,247,242,0.15);
      background: rgba(250,247,242,0.08);
      color: var(--cream);
      font-family: 'DM Sans', sans-serif;
      font-size: 0.875rem;
      outline: none;
      transition: border-color var(--transition);
    }
    .blog-hero__input::placeholder { color: rgba(250,247,242,0.3); }
    .blog-hero__input:focus { border-color: var(--terracotta); }
    .blog-hero__submit {
      background: var(--terracotta);
      color: var(--white);
      border: none;
      padding: 12px 20px;
      border-radius: var(--radius-sm);
      font-family: 'DM Sans', sans-serif;
      font-weight: 600;
      font-size: 0.875rem;
      cursor: pointer;
      transition: background var(--transition), transform var(--transition);
      white-space: nowrap;
    }
    .blog-hero__submit:hover { background: var(--terracotta-dark); transform: translateY(-1px); }
    .blog-hero__privacy {
      font-size: 0.72rem;
      color: rgba(250,247,242,0.3);
      margin-top: 10px;
    }

    /* ══════════════════════════════════
       FILTER / CATEGORIES BAR
    ══════════════════════════════════ */
    .filter-bar {
      padding: 20px 0;
      background: var(--charcoal);
      border-bottom: 1px solid rgba(250,247,242,0.08);
      position: sticky;
      top: 64px;
      z-index: 50;
    }
    .filter-bar__inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      flex-wrap: nowrap;
      overflow-x: auto;
    }
    .filter-bar__cats {
      display: flex;
      gap: 8px;
      flex-wrap: nowrap;
      flex-shrink: 0;
    }
    .filter-cat {
      padding: 7px 18px;
      border-radius: 99px;
      font-size: 0.82rem;
      font-weight: 500;
      background: transparent;
      border: 1.5px solid rgba(250,247,242,0.18);
      color: rgba(250,247,242,0.6);
      cursor: pointer;
      transition: all var(--transition);
      font-family: 'DM Sans', sans-serif;
      white-space: nowrap;
    }
    .filter-cat:hover { border-color: var(--terracotta); color: var(--terracotta); }
    .filter-cat.active { background: var(--terracotta); border-color: var(--terracotta); color: var(--white); font-weight: 600; }
    .filter-bar__search {
      display: flex;
      align-items: center;
      gap: 8px;
      background: rgba(250,247,242,0.08);
      border-radius: var(--radius-sm);
      padding: 8px 14px;
      border: 1.5px solid rgba(250,247,242,0.12);
      transition: border-color var(--transition);
      flex-shrink: 0;
    }
    .filter-bar__search:focus-within { border-color: var(--terracotta); }
    .filter-bar__search input {
      border: none;
      background: transparent;
      font-family: 'DM Sans', sans-serif;
      font-size: 0.875rem;
      color: var(--cream);
      outline: none;
      width: 160px;
    }
    .filter-bar__search input::placeholder { color: rgba(250,247,242,0.35); }
    .search-icon { color: rgba(250,247,242,0.35); font-size: 0.9rem; }

    /* ══════════════════════════════════
       FEATURED POST
    ══════════════════════════════════ */
    .featured {
      padding: 72px 0 0;
      background: var(--cream);
    }
    .featured__label {
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--terracotta);
      margin-bottom: 24px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .featured__label::before { content: ''; width: 20px; height: 2px; background: var(--terracotta); border-radius: 2px; }
    .featured__card {
      display: grid;
      grid-template-columns: 1.1fr 1fr;
      gap: 0;
      background: var(--white);
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: var(--shadow-md);
      transition: transform var(--transition), box-shadow var(--transition);
    }
    .featured__card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(44,36,32,0.14); }
    .featured__img {
      background: linear-gradient(135deg, var(--charcoal) 0%, #4a3028 100%);
      min-height: 420px;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      overflow: hidden;
    }
    .featured__img-placeholder {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 12px;
      color: rgba(250,247,242,0.3);
    }
    .featured__img-placeholder .icon { font-size: 3rem; }
    .featured__img-placeholder p { font-size: 0.8rem; text-align: center; }
    .featured__img-blob {
      position: absolute;
      width: 300px; height: 300px;
      background: radial-gradient(ellipse, rgba(193,127,90,0.2) 0%, transparent 70%);
      border-radius: 50%;
    }
    .featured__body {
      padding: 48px 44px;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    .featured__meta {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 20px;
    }
    .post-cat {
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      padding: 4px 10px;
      border-radius: 99px;
    }
    .post-cat--web { background: rgba(193,127,90,0.12); color: var(--terracotta); }
    .post-cat--seo { background: rgba(138,158,126,0.15); color: var(--sage); }
    .post-cat--biz { background: rgba(44,36,32,0.08); color: var(--mid); }
    .post-cat--cro { background: rgba(193,127,90,0.18); color: var(--terracotta-dark); }
    .post-date { font-size: 0.8rem; color: var(--light); }
    .featured__title {
      font-size: clamp(1.5rem, 2.5vw, 2rem);
      font-weight: 700;
      color: var(--charcoal);
      line-height: 1.25;
      margin-bottom: 16px;
      letter-spacing: -0.02em;
      transition: color var(--transition);
    }
    .featured__card:hover .featured__title { color: var(--terracotta); }
    .featured__excerpt {
      font-size: 0.95rem;
      color: var(--mid);
      line-height: 1.8;
      margin-bottom: 28px;
    }
    .featured__footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .post-author {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .post-author__avatar {
      width: 36px; height: 36px;
      border-radius: 50%;
      background: var(--sand);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.75rem;
      font-weight: 700;
      color: var(--terracotta);
    }
    .post-author__name { font-size: 0.85rem; font-weight: 600; color: var(--charcoal); }
    .post-author__read { font-size: 0.78rem; color: var(--light); }
    .read-link {
      font-size: 0.85rem;
      font-weight: 600;
      color: var(--terracotta);
      display: inline-flex;
      align-items: center;
      gap: 6px;
      transition: gap var(--transition);
    }
    .read-link:hover { gap: 10px; }

    /* ══════════════════════════════════
       MAIN BLOG GRID
    ══════════════════════════════════ */
    .blog-main {
      padding: 64px 0 100px;
      background: var(--cream);
    }
    .blog-main__layout {
      display: grid;
      grid-template-columns: 1fr 340px;
      gap: 56px;
      align-items: start;
    }

    /* Post grid */
    .posts-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 28px;
    }
    .post-card {
      background: var(--white);
      border-radius: var(--radius-md);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
      transition: transform var(--transition), box-shadow var(--transition);
      display: flex;
      flex-direction: column;
    }
    .post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
    .post-card__img {
      height: 200px;
      background: linear-gradient(135deg, var(--sand) 0%, rgba(193,127,90,0.15) 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2.5rem;
      position: relative;
      overflow: hidden;
      transition: transform var(--transition);
    }
    .post-card:hover .post-card__img { transform: scale(1.03); }
    .post-card__img-inner { overflow: hidden; }
    .post-card__reading-time {
      position: absolute;
      bottom: 12px; right: 12px;
      background: rgba(44,36,32,0.7);
      color: var(--cream);
      font-size: 0.7rem;
      font-weight: 600;
      padding: 4px 10px;
      border-radius: 99px;
      backdrop-filter: blur(4px);
    }
    .post-card__body {
      padding: 24px;
      flex: 1;
      display: flex;
      flex-direction: column;
    }
    .post-card__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
    .post-card__title {
      font-family: 'Playfair Display', serif;
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--charcoal);
      line-height: 1.35;
      margin-bottom: 10px;
      transition: color var(--transition);
      flex: 1;
    }
    .post-card:hover .post-card__title { color: var(--terracotta); }
    .post-card__excerpt {
      font-size: 0.86rem;
      color: var(--mid);
      line-height: 1.7;
      margin-bottom: 20px;
    }
    .post-card__footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding-top: 16px;
      border-top: 1px solid var(--sand);
      margin-top: auto;
    }

    /* Load more */
    .load-more {
      text-align: center;
      margin-top: 48px;
    }

    /* ══════════════════════════════════
       SIDEBAR
    ══════════════════════════════════ */
    .sidebar { display: flex; flex-direction: column; gap: 32px; position: sticky; top: 130px; }

    .sidebar-widget {
      background: var(--white);
      border-radius: var(--radius-md);
      padding: 28px;
      box-shadow: var(--shadow-sm);
    }
    .sidebar-widget__title {
      font-family: 'Playfair Display', serif;
      font-size: 1rem;
      font-weight: 700;
      color: var(--charcoal);
      margin-bottom: 20px;
      padding-bottom: 12px;
      border-bottom: 2px solid var(--sand);
    }

    /* About widget */
    .sidebar-about {
      text-align: center;
      background: var(--charcoal);
    }
    .sidebar-about .sidebar-widget__title { color: var(--cream); border-bottom-color: rgba(250,247,242,0.1); }
    .sidebar-about__avatar {
      width: 72px; height: 72px;
      border-radius: 50%;
      background: var(--sand);
      margin: 0 auto 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: 'Playfair Display', serif;
      font-size: 1.4rem;
      font-weight: 700;
      color: var(--terracotta);
      border: 3px solid rgba(193,127,90,0.3);
    }
    .sidebar-about__name { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--cream); margin-bottom: 8px; }
    .sidebar-about__bio { font-size: 0.85rem; color: rgba(250,247,242,0.55); line-height: 1.7; margin-bottom: 20px; }
    .sidebar-about .btn--primary { width: 100%; justify-content: center; }

    /* Popular posts */
    .popular-post {
      display: flex;
      gap: 12px;
      align-items: flex-start;
      padding: 12px 0;
      border-bottom: 1px solid var(--sand);
      transition: background var(--transition);
    }
    .popular-post:last-child { border-bottom: none; padding-bottom: 0; }
    .popular-post:first-child { padding-top: 0; }
    .popular-post__num {
      font-family: 'Playfair Display', serif;
      font-size: 1.4rem;
      font-weight: 700;
      color: var(--sand);
      line-height: 1;
      min-width: 24px;
    }
    .popular-post__title {
      font-size: 0.875rem;
      font-weight: 600;
      color: var(--charcoal);
      line-height: 1.4;
      transition: color var(--transition);
    }
    .popular-post:hover .popular-post__title { color: var(--terracotta); }
    .popular-post__meta { font-size: 0.75rem; color: var(--light); margin-top: 4px; }

    /* Tags */
    .tags-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
    .tag {
      padding: 5px 12px;
      border-radius: 99px;
      font-size: 0.78rem;
      font-weight: 500;
      background: var(--sand);
      color: var(--mid);
      transition: all var(--transition);
      cursor: pointer;
    }
    .tag:hover { background: var(--terracotta); color: var(--white); }

    /* Services sidebar widget */
    .sidebar-services { display: flex; flex-direction: column; gap: 4px; }
    .sidebar-service {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 10px 12px;
      border-radius: var(--radius-sm);
      transition: background var(--transition);
      text-decoration: none;
    }
    .sidebar-service:hover { background: var(--sand); }
    .sidebar-service__icon {
      width: 36px; height: 36px;
      background: rgba(193,127,90,0.10);
      border-radius: var(--radius-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1rem;
      flex-shrink: 0;
    }
    .sidebar-service__name {
      font-size: 0.875rem;
      font-weight: 600;
      color: var(--charcoal);
      line-height: 1.3;
    }
    .sidebar-service__cta {
      font-size: 0.75rem;
      color: var(--terracotta);
      font-weight: 500;
      margin-top: 2px;
      transition: gap var(--transition);
    }
    .sidebar-service:hover .sidebar-service__cta { text-decoration: underline; }

    /* Contact form sidebar widget */
    .sidebar-contact { border: 2px solid var(--terracotta); }
    .sidebar-contact .sidebar-widget__title { color: var(--terracotta); }
    .sidebar-contact__desc {
      font-size: 0.85rem;
      color: var(--mid);
      line-height: 1.6;
      margin-bottom: 18px;
    }
    .sidebar-form { display: flex; flex-direction: column; gap: 10px; }
    .sidebar-input {
      width: 100%;
      padding: 10px 14px;
      border-radius: var(--radius-sm);
      border: 1.5px solid var(--sand);
      background: var(--cream);
      font-family: 'DM Sans', sans-serif;
      font-size: 0.875rem;
      color: var(--charcoal);
      outline: none;
      transition: border-color var(--transition);
      appearance: none;
    }
    .sidebar-input:focus { border-color: var(--terracotta); }
    .sidebar-input::placeholder { color: var(--light); }
    .sidebar-select { cursor: pointer; color: var(--mid); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23B5ADA9' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
    .sidebar-textarea { min-height: 80px; resize: vertical; line-height: 1.6; }
    .sidebar-submit {
      width: 100%;
      padding: 12px;
      background: var(--terracotta);
      color: var(--white);
      border: none;
      border-radius: var(--radius-sm);
      font-family: 'DM Sans', sans-serif;
      font-weight: 700;
      font-size: 0.9rem;
      cursor: pointer;
      transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    }
    .sidebar-submit:hover {
      background: var(--terracotta-dark);
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(193,127,90,0.35);
    }
    .sidebar-contact__note {
      font-size: 0.75rem;
      color: var(--light);
      text-align: center;
      margin-top: 10px;
      line-height: 1.5;
    }

    /* Newsletter sidebar widget */
    .sidebar-newsletter { background: var(--terracotta); }
    .sidebar-newsletter .sidebar-widget__title { color: var(--white); border-bottom-color: rgba(255,255,255,0.2); }
    .sidebar-newsletter__desc { font-size: 0.875rem; color: rgba(255,255,255,0.8); line-height: 1.6; margin-bottom: 16px; }
    .sidebar-newsletter__input {
      width: 100%;
      padding: 11px 14px;
      border-radius: var(--radius-sm);
      border: none;
      background: rgba(255,255,255,0.15);
      color: var(--white);
      font-family: 'DM Sans', sans-serif;
      font-size: 0.875rem;
      margin-bottom: 10px;
      outline: none;
      transition: background var(--transition);
    }
    .sidebar-newsletter__input::placeholder { color: rgba(255,255,255,0.5); }
    .sidebar-newsletter__input:focus { background: rgba(255,255,255,0.22); }
    .sidebar-newsletter__btn {
      width: 100%;
      padding: 11px;
      border-radius: var(--radius-sm);
      border: 1.5px solid rgba(255,255,255,0.5);
      background: transparent;
      color: var(--white);
      font-family: 'DM Sans', sans-serif;
      font-weight: 600;
      font-size: 0.875rem;
      cursor: pointer;
      transition: background var(--transition), border-color var(--transition);
    }
    .sidebar-newsletter__btn:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }

    /* ══════════════════════════════════
       CTA BANNER
    ══════════════════════════════════ */
    .cta-banner {
      padding: 90px 0;
      background: var(--charcoal);
      position: relative;
      overflow: hidden;
      text-align: center;
    }
    .cta-banner__blob { position: absolute; width: 500px; height: 500px; border-radius: 50%; background: rgba(193,127,90,0.08); }
    .cta-banner__blob--1 { top: -200px; left: -100px; }
    .cta-banner__blob--2 { bottom: -200px; right: -100px; }
    .cta-banner__eyebrow { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 20px; }
    .cta-banner__title { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; color: var(--cream); line-height: 1.2; margin-bottom: 16px; letter-spacing: -0.02em; }
    .cta-banner__sub { font-size: 1rem; color: rgba(250,247,242,0.55); max-width: 460px; margin: 0 auto 36px; line-height: 1.7; }
    .cta-banner__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
    .btn--terracotta { background: var(--terracotta); color: var(--white); }
    .btn--terracotta:hover { background: var(--terracotta-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(193,127,90,0.4); }
    .btn--outline-cream { background: var(--cream); color: var(--charcoal); border: 1.5px solid var(--cream); }
    .btn--outline-cream:hover { background: var(--sand); border-color: var(--sand); transform: translateY(-2px); }

    /* ══════════════════════════════════
       FOOTER
    ══════════════════════════════════ */
    .footer { padding: 72px 0 40px; background: var(--charcoal); }
    .footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(250,247,242,0.1); }
    .footer__brand-name { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; color: var(--cream); margin-bottom: 12px; }
    .footer__brand-name span { color: var(--terracotta); }
    .footer__tagline { font-size: 0.875rem; color: rgba(250,247,242,0.4); line-height: 1.7; max-width: 220px; }
    .footer__col-title { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(250,247,242,0.35); margin-bottom: 20px; }
    .footer__links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
    .footer__links a { font-size: 0.875rem; color: rgba(250,247,242,0.5); transition: color var(--transition); }
    .footer__links a:hover { color: var(--cream); }
    .footer__bottom { padding-top: 32px; display: flex; justify-content: space-between; align-items: center; }
    .footer__copy { font-size: 0.8rem; color: rgba(250,247,242,0.3); }
    .footer__copy a { color: var(--terracotta); }

    /* ══════════════════════════════════
       ANIMATIONS
    ══════════════════════════════════ */
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(20px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
    .reveal.visible { opacity: 1; transform: translateY(0); }
    .reveal--delay-1 { transition-delay: 0.1s; }
    .reveal--delay-2 { transition-delay: 0.2s; }
    .reveal--delay-3 { transition-delay: 0.3s; }
    .reveal--delay-4 { transition-delay: 0.4s; }

    /* ══════════════════════════════════
       RESPONSIVE
    ══════════════════════════════════ */
    @media (max-width: 1024px) {
      .blog-hero__inner { grid-template-columns: 1fr; gap: 48px; }
      .blog-main__layout { grid-template-columns: 1fr; }
      .sidebar { position: static; }
      .footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }
    }
    @media (max-width: 768px) {
      .container { padding: 0 24px; }
      .nav__links { display: none; }
      .featured__card { grid-template-columns: 1fr; }
      .featured__img { min-height: 240px; }
      .posts-grid { grid-template-columns: 1fr; }
      .filter-bar__inner { flex-direction: column; align-items: flex-start; }
      .footer__top { grid-template-columns: 1fr; }
      .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
    }

/* === FROM blog-single.html === */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: 'DM Sans', sans-serif;
      background-color: #FAF7F2;
      color: #2C2420;
      line-height: 1.7;
      overflow-x: hidden;
    }
    img { max-width: 100%; display: block; }
    a { text-decoration: none; color: inherit; }

    :root {
      --terracotta: #C17F5A;
      --terracotta-dark: #A8683D;
      --charcoal: #2C2420;
      --cream: #FAF7F2;
      --sand: #F0EAE0;
      --sage: #8A9E7E;
      --white: #FFFFFF;
      --mid: #7A6E6A;
      --light: #B5ADA9;
      --shadow-sm: 0 4px 20px rgba(44,36,32,0.06);
      --shadow-md: 0 8px 40px rgba(44,36,32,0.10);
      --shadow-lg: 0 20px 60px rgba(44,36,32,0.14);
      --radius-sm: 4px;
      --radius-md: 8px;
      --radius-lg: 16px;
      --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.25; }

    /* ── GRAIN ── */
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
      pointer-events: none;
      z-index: 9999;
      opacity: 0.4;
    }

    .container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

    /* ── BUTTONS ── */
    .btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-family: 'DM Sans', sans-serif;
      font-weight: 600;
      font-size: 0.9rem;
      padding: 12px 24px;
      border-radius: var(--radius-sm);
      border: none;
      cursor: pointer;
      transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    }
    .btn--primary { background: var(--terracotta); color: var(--white); }
    .btn--primary:hover { background: var(--terracotta-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(193,127,90,0.35); }
    .btn--charcoal { background: var(--charcoal); color: var(--cream); }
    .btn--charcoal:hover { background: #1a100c; transform: translateY(-2px); }
    .btn__arrow { transition: transform var(--transition); }
    .btn:hover .btn__arrow { transform: translateX(4px); }

    /* ══════════════════════════════════
       NAVIGATION
    ══════════════════════════════════ */
    .nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      padding: 20px 0;
      transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
    }
    .nav.scrolled {
      background: rgba(250,247,242,0.95);
      backdrop-filter: blur(12px);
      box-shadow: 0 1px 0 rgba(44,36,32,0.08);
      padding: 14px 0;
    }
    .nav__inner { display: flex; align-items: center; justify-content: space-between; }
    .nav__logo { font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 700; color: var(--charcoal); letter-spacing: -0.02em; }
    .nav__logo span { color: var(--terracotta); }
    .nav__links { display: flex; align-items: center; gap: 36px; list-style: none; }
    .nav__links a { font-size: 0.875rem; font-weight: 500; color: var(--mid); letter-spacing: 0.02em; transition: color var(--transition); }
    .nav__links a:hover { color: var(--charcoal); }
    .nav__cta { background: var(--terracotta); color: var(--white) !important; padding: 10px 22px; border-radius: var(--radius-sm); font-weight: 600 !important; transition: background var(--transition) !important; }
    .nav__cta:hover { background: var(--terracotta-dark) !important; }

    /* ══════════════════════════════════
       READING PROGRESS BAR
    ══════════════════════════════════ */
    .progress-bar {
      position: fixed;
      top: 0; left: 0;
      height: 3px;
      background: var(--terracotta);
      width: 0%;
      z-index: 200;
      transition: width 0.1s linear;
    }

    /* ══════════════════════════════════
       POST HERO
    ══════════════════════════════════ */
    .post-hero {
      padding: 130px 0 0;
      background: var(--charcoal);
      position: relative;
      overflow: hidden;
    }
    .post-hero__blob {
      position: absolute;
      top: -150px; right: -150px;
      width: 500px; height: 500px;
      background: radial-gradient(ellipse, rgba(193,127,90,0.15) 0%, transparent 70%);
      border-radius: 50%;
      pointer-events: none;
    }
    .post-hero__inner {
      position: relative;
      z-index: 1;
      max-width: 860px;
      margin: 0 auto;
      padding: 0 40px 56px;
    }
    .post-hero__breadcrumb {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 0.8rem;
      color: rgba(250,247,242,0.4);
      margin-bottom: 28px;
    }
    .post-hero__breadcrumb a { color: rgba(250,247,242,0.4); transition: color var(--transition); }
    .post-hero__breadcrumb a:hover { color: var(--terracotta); }
    .post-hero__breadcrumb span { color: rgba(250,247,242,0.2); }
    .post-hero__meta {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 24px;
      flex-wrap: wrap;
    }
    .post-cat {
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      padding: 4px 10px;
      border-radius: 99px;
    }
    .post-cat--web { background: rgba(193,127,90,0.2); color: var(--terracotta); }
    .post-cat--seo { background: rgba(138,158,126,0.2); color: var(--sage); }
    .post-cat--cro { background: rgba(193,127,90,0.25); color: #e8a070; }
    .post-date { font-size: 0.8rem; color: rgba(250,247,242,0.4); }
    .post-read { font-size: 0.8rem; color: rgba(250,247,242,0.4); }
    .post-read::before { content: '·'; margin-right: 8px; }
    .post-hero__title {
      font-size: clamp(2rem, 4vw, 3rem);
      font-weight: 700;
      color: var(--cream);
      line-height: 1.15;
      letter-spacing: -0.03em;
      margin-bottom: 24px;
    }
    .post-hero__title em { font-style: italic; color: var(--terracotta); }
    .post-hero__excerpt {
      font-size: 1.1rem;
      color: rgba(250,247,242,0.6);
      line-height: 1.75;
      max-width: 680px;
      margin-bottom: 36px;
    }
    .post-hero__author {
      display: flex;
      align-items: center;
      gap: 14px;
      padding-top: 28px;
      border-top: 1px solid rgba(250,247,242,0.1);
    }
    .post-hero__avatar {
      width: 48px; height: 48px;
      border-radius: 50%;
      background: var(--sand);
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: 'Playfair Display', serif;
      font-size: 1rem;
      font-weight: 700;
      color: var(--terracotta);
      border: 2px solid rgba(193,127,90,0.3);
      flex-shrink: 0;
    }
    .post-hero__author-name { font-size: 0.9rem; font-weight: 600; color: var(--cream); }
    .post-hero__author-title { font-size: 0.78rem; color: rgba(250,247,242,0.4); margin-top: 2px; }

    /* Post hero image */
    .post-hero__img {
      max-width: 860px;
      margin: 0 auto;
      padding: 0 40px;
      position: relative;
      z-index: 1;
    }
    .post-hero__img-wrap {
      border-radius: var(--radius-lg) var(--radius-lg) 0 0;
      overflow: hidden;
      background: linear-gradient(135deg, #3d2e2a 0%, #1a100c 100%);
      min-height: 380px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .post-hero__img-placeholder {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 12px;
      color: rgba(250,247,242,0.2);
    }
    .post-hero__img-placeholder .icon { font-size: 3.5rem; }
    .post-hero__img-placeholder p { font-size: 0.82rem; text-align: center; line-height: 1.6; }

    /* ══════════════════════════════════
       POST LAYOUT
    ══════════════════════════════════ */
    .post-body {
      background: var(--cream);
      padding: 72px 0 100px;
    }
    .post-layout {
      display: grid;
      grid-template-columns: 1fr 320px;
      gap: 64px;
      max-width: 1100px;
      margin: 0 auto;
      padding: 0 40px;
      align-items: start;
    }

    /* ══════════════════════════════════
       ARTICLE CONTENT
    ══════════════════════════════════ */
    .article {
      min-width: 0;
    }

    /* Table of contents */
    .toc {
      background: var(--white);
      border: 1px solid var(--sand);
      border-left: 4px solid var(--terracotta);
      border-radius: var(--radius-md);
      padding: 24px 28px;
      margin-bottom: 48px;
    }
    .toc__title {
      font-family: 'DM Sans', sans-serif;
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--terracotta);
      margin-bottom: 14px;
    }
    .toc__list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
    .toc__list li { counter-increment: toc; }
    .toc__list a {
      font-size: 0.9rem;
      color: var(--mid);
      display: flex;
      align-items: baseline;
      gap: 10px;
      transition: color var(--transition);
    }
    .toc__list a::before {
      content: counter(toc, decimal-leading-zero);
      font-size: 0.72rem;
      font-weight: 700;
      color: var(--terracotta);
      opacity: 0.6;
      flex-shrink: 0;
    }
    .toc__list a:hover { color: var(--terracotta); }
    .toc { counter-reset: toc; }

    /* Article typography */
    .article__section { margin-bottom: 56px; }
    .article__section:last-child { margin-bottom: 0; }

    .article h2 {
      font-size: 1.65rem;
      font-weight: 700;
      color: var(--charcoal);
      margin-bottom: 16px;
      letter-spacing: -0.02em;
      padding-top: 8px;
    }
    .article h3 {
      font-size: 1.2rem;
      font-weight: 700;
      color: var(--charcoal);
      margin-bottom: 12px;
      margin-top: 32px;
    }
    .article p {
      font-size: 1.05rem;
      color: #4a3e3a;
      line-height: 1.85;
      margin-bottom: 20px;
    }
    .article p:last-child { margin-bottom: 0; }
    .article strong { color: var(--charcoal); font-weight: 600; }
    .article a { color: var(--terracotta); text-decoration: underline; text-underline-offset: 3px; transition: color var(--transition); }
    .article a:hover { color: var(--terracotta-dark); }

    /* Pull quote */
    .pull-quote {
      border-left: 4px solid var(--terracotta);
      margin: 40px 0;
      padding: 20px 28px;
      background: var(--white);
      border-radius: 0 var(--radius-md) var(--radius-md) 0;
    }
    .pull-quote p {
      font-family: 'Playfair Display', serif;
      font-size: 1.25rem;
      font-style: italic;
      color: var(--charcoal);
      line-height: 1.6;
      margin: 0;
    }
    .pull-quote cite {
      font-family: 'DM Sans', sans-serif;
      font-size: 0.8rem;
      color: var(--light);
      font-style: normal;
      display: block;
      margin-top: 10px;
    }

    /* Callout / tip box */
    .callout {
      border-radius: var(--radius-md);
      padding: 24px 28px;
      margin: 32px 0;
      display: flex;
      gap: 16px;
      align-items: flex-start;
    }
    .callout--tip { background: rgba(138,158,126,0.1); border: 1px solid rgba(138,158,126,0.25); }
    .callout--warning { background: rgba(193,127,90,0.08); border: 1px solid rgba(193,127,90,0.2); }
    .callout--stat { background: var(--charcoal); }
    .callout__icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
    .callout__content p {
      font-size: 0.95rem;
      line-height: 1.7;
      margin: 0;
    }
    .callout--tip .callout__content p { color: #4a6040; }
    .callout--warning .callout__content p { color: var(--charcoal); }
    .callout--stat .callout__content p { color: rgba(250,247,242,0.75); }
    .callout--stat .callout__content strong { color: var(--terracotta); font-size: 1.6rem; font-family: 'Playfair Display', serif; display: block; margin-bottom: 6px; }

    /* Numbered fix list */
    .fix-list { list-style: none; display: flex; flex-direction: column; gap: 16px; margin: 24px 0; counter-reset: fix; }
    .fix-list li {
      display: flex;
      gap: 16px;
      align-items: flex-start;
      counter-increment: fix;
    }
    .fix-list li::before {
      content: counter(fix);
      min-width: 28px; height: 28px;
      background: var(--terracotta);
      color: var(--white);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.78rem;
      font-weight: 700;
      flex-shrink: 0;
      margin-top: 2px;
    }
    .fix-list li p { font-size: 1rem; color: #4a3e3a; line-height: 1.75; margin: 0; }
    .fix-list li strong { color: var(--charcoal); }

    /* Checklist */
    .checklist { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 20px 0; }
    .checklist li {
      display: flex;
      gap: 12px;
      align-items: flex-start;
      font-size: 0.95rem;
      color: #4a3e3a;
      line-height: 1.6;
    }
    .checklist li::before {
      content: '✓';
      min-width: 22px; height: 22px;
      background: rgba(138,158,126,0.15);
      color: var(--sage);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.72rem;
      font-weight: 700;
      flex-shrink: 0;
      margin-top: 1px;
    }

    /* Comparison table */
    .compare-table {
      width: 100%;
      border-collapse: collapse;
      margin: 28px 0;
      border-radius: var(--radius-md);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
    }
    .compare-table th {
      background: var(--charcoal);
      color: var(--cream);
      font-family: 'DM Sans', sans-serif;
      font-size: 0.82rem;
      font-weight: 600;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      padding: 14px 20px;
      text-align: left;
    }
    .compare-table th:first-child { width: 40%; }
    .compare-table td {
      padding: 14px 20px;
      font-size: 0.92rem;
      color: #4a3e3a;
      border-bottom: 1px solid var(--sand);
      vertical-align: top;
      line-height: 1.6;
    }
    .compare-table tr:last-child td { border-bottom: none; }
    .compare-table tr:nth-child(even) td { background: var(--white); }
    .compare-table tr:nth-child(odd) td { background: var(--cream); }
    .compare-table .bad { color: #c0392b; }
    .compare-table .good { color: var(--sage); font-weight: 600; }

    /* In-article CTA */
    .inline-cta {
      background: var(--charcoal);
      border-radius: var(--radius-lg);
      padding: 36px 40px;
      margin: 48px 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 32px;
      position: relative;
      overflow: hidden;
    }
    .inline-cta::before {
      content: '';
      position: absolute;
      right: -60px; top: -60px;
      width: 200px; height: 200px;
      background: radial-gradient(ellipse, rgba(193,127,90,0.2) 0%, transparent 70%);
      border-radius: 50%;
    }
    .inline-cta__text { position: relative; z-index: 1; }
    .inline-cta__label {
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--terracotta);
      margin-bottom: 8px;
    }
    .inline-cta__title {
      font-family: 'Playfair Display', serif;
      font-size: 1.3rem;
      font-weight: 700;
      color: var(--cream);
      line-height: 1.3;
      margin-bottom: 6px;
    }
    .inline-cta__sub { font-size: 0.875rem; color: rgba(250,247,242,0.5); }
    .inline-cta__btn { flex-shrink: 0; position: relative; z-index: 1; }

    /* Section divider */
    .section-divider {
      display: flex;
      align-items: center;
      gap: 16px;
      margin: 48px 0;
    }
    .section-divider::before, .section-divider::after {
      content: '';
      flex: 1;
      height: 1px;
      background: var(--sand);
    }
    .section-divider span {
      font-size: 1rem;
      color: var(--light);
    }

    /* ── Article image ── */
    .article-img {
      border-radius: var(--radius-md);
      overflow: hidden;
      margin: 32px 0;
      background: var(--sand);
      min-height: 240px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.82rem;
      color: var(--light);
      flex-direction: column;
      gap: 8px;
    }
    .article-img span { font-size: 2rem; }
    .article-img figcaption { font-size: 0.78rem; color: var(--light); text-align: center; margin-top: 10px; }

    /* Tags */
    .article__tags {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin: 40px 0;
      padding: 32px 0;
      border-top: 1px solid var(--sand);
      border-bottom: 1px solid var(--sand);
    }
    .article__tags-label { font-size: 0.78rem; font-weight: 700; color: var(--mid); text-transform: uppercase; letter-spacing: 0.08em; margin-right: 4px; line-height: 2; }
    .tag { padding: 5px 14px; border-radius: 99px; font-size: 0.78rem; font-weight: 500; background: var(--sand); color: var(--mid); transition: all var(--transition); cursor: pointer; }
    .tag:hover { background: var(--terracotta); color: var(--white); }

    /* Share bar */
    .share-bar {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 48px;
      flex-wrap: wrap;
    }
    .share-bar__label { font-size: 0.82rem; font-weight: 600; color: var(--mid); margin-right: 4px; }
    .share-btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 8px 16px;
      border-radius: 99px;
      font-size: 0.8rem;
      font-weight: 600;
      border: 1.5px solid var(--sand);
      color: var(--mid);
      background: var(--white);
      cursor: pointer;
      transition: all var(--transition);
      font-family: 'DM Sans', sans-serif;
    }
    .share-btn:hover { border-color: var(--terracotta); color: var(--terracotta); background: rgba(193,127,90,0.05); }

    /* Author bio */
    .author-bio {
      background: var(--white);
      border-radius: var(--radius-lg);
      padding: 32px;
      display: flex;
      gap: 24px;
      margin-bottom: 56px;
      box-shadow: var(--shadow-sm);
    }
    .author-bio__avatar {
      width: 72px; height: 72px;
      border-radius: 50%;
      background: var(--sand);
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: 'Playfair Display', serif;
      font-size: 1.3rem;
      font-weight: 700;
      color: var(--terracotta);
      flex-shrink: 0;
      border: 3px solid rgba(193,127,90,0.2);
    }
    .author-bio__name { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--charcoal); margin-bottom: 4px; }
    .author-bio__role { font-size: 0.78rem; color: var(--terracotta); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; }
    .author-bio__text { font-size: 0.9rem; color: var(--mid); line-height: 1.7; }

    /* Related posts */
    .related { margin-top: 0; }
    .related__title {
      font-size: 1.3rem;
      font-weight: 700;
      color: var(--charcoal);
      margin-bottom: 24px;
      padding-bottom: 16px;
      border-bottom: 2px solid var(--sand);
    }
    .related__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .related-card {
      background: var(--white);
      border-radius: var(--radius-md);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
      transition: transform var(--transition), box-shadow var(--transition);
    }
    .related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
    .related-card__img {
      height: 140px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2rem;
    }
    .related-card__body { padding: 16px; }
    .related-card__cat { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 8px; }
    .related-card__title { font-size: 0.95rem; font-weight: 700; color: var(--charcoal); line-height: 1.35; transition: color var(--transition); }
    .related-card:hover .related-card__title { color: var(--terracotta); }
    .related-card__read { font-size: 0.78rem; color: var(--light); margin-top: 6px; }

    /* ══════════════════════════════════
       SIDEBAR
    ══════════════════════════════════ */
    .sidebar { display: flex; flex-direction: column; gap: 28px; position: sticky; top: 110px; }
    .sidebar-widget { background: var(--white); border-radius: var(--radius-md); padding: 24px; box-shadow: var(--shadow-sm); }
    .sidebar-widget__title { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; color: var(--charcoal); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--sand); }

    /* Progress / reading tracker */
    .sidebar-progress { background: var(--charcoal); }
    .sidebar-progress .sidebar-widget__title { color: var(--cream); border-bottom-color: rgba(250,247,242,0.1); }
    .sidebar-progress__bar-wrap { height: 6px; background: rgba(250,247,242,0.1); border-radius: 99px; overflow: hidden; margin-bottom: 8px; }
    .sidebar-progress__bar { height: 100%; background: var(--terracotta); border-radius: 99px; width: 0%; transition: width 0.2s linear; }
    .sidebar-progress__text { font-size: 0.78rem; color: rgba(250,247,242,0.4); }

    /* Services */
    .sidebar-services { display: flex; flex-direction: column; gap: 2px; }
    .sidebar-service { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: var(--radius-sm); transition: background var(--transition); text-decoration: none; }
    .sidebar-service:hover { background: var(--sand); }
    .sidebar-service__icon { width: 32px; height: 32px; background: rgba(193,127,90,0.10); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; flex-shrink: 0; }
    .sidebar-service__name { font-size: 0.82rem; font-weight: 600; color: var(--charcoal); line-height: 1.3; }
    .sidebar-service__cta { font-size: 0.7rem; color: var(--terracotta); font-weight: 500; margin-top: 1px; }

    /* Contact form */
    .sidebar-contact { border: 2px solid var(--terracotta); }
    .sidebar-contact .sidebar-widget__title { color: var(--terracotta); }
    .sidebar-contact__desc { font-size: 0.82rem; color: var(--mid); line-height: 1.6; margin-bottom: 14px; }
    .sidebar-form { display: flex; flex-direction: column; gap: 8px; }
    .sidebar-input { width: 100%; padding: 9px 12px; border-radius: var(--radius-sm); border: 1.5px solid var(--sand); background: var(--cream); font-family: 'DM Sans', sans-serif; font-size: 0.82rem; color: var(--charcoal); outline: none; transition: border-color var(--transition); appearance: none; }
    .sidebar-input:focus { border-color: var(--terracotta); }
    .sidebar-input::placeholder { color: var(--light); }
    .sidebar-select { cursor: pointer; color: var(--mid); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23B5ADA9' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }
    .sidebar-textarea { min-height: 70px; resize: vertical; line-height: 1.6; }
    .sidebar-submit { width: 100%; padding: 11px; background: var(--terracotta); color: var(--white); border: none; border-radius: var(--radius-sm); font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 0.875rem; cursor: pointer; transition: background var(--transition), transform var(--transition); }
    .sidebar-submit:hover { background: var(--terracotta-dark); transform: translateY(-1px); }
    .sidebar-contact__note { font-size: 0.72rem; color: var(--light); text-align: center; margin-top: 8px; }

    /* Newsletter sidebar */
    .sidebar-newsletter { background: var(--terracotta); }
    .sidebar-newsletter .sidebar-widget__title { color: var(--white); border-bottom-color: rgba(255,255,255,0.2); }
    .sidebar-newsletter__desc { font-size: 0.82rem; color: rgba(255,255,255,0.8); line-height: 1.6; margin-bottom: 12px; }
    .sidebar-newsletter__input { width: 100%; padding: 10px 12px; border-radius: var(--radius-sm); border: none; background: rgba(255,255,255,0.15); color: var(--white); font-family: 'DM Sans', sans-serif; font-size: 0.82rem; margin-bottom: 8px; outline: none; }
    .sidebar-newsletter__input::placeholder { color: rgba(255,255,255,0.5); }
    .sidebar-newsletter__btn { width: 100%; padding: 10px; border-radius: var(--radius-sm); border: 1.5px solid rgba(255,255,255,0.5); background: transparent; color: var(--white); font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 0.82rem; cursor: pointer; transition: background var(--transition); }
    .sidebar-newsletter__btn:hover { background: rgba(255,255,255,0.15); }

    /* ══════════════════════════════════
       CTA BANNER
    ══════════════════════════════════ */
    .cta-banner { padding: 90px 0; background: var(--terracotta); position: relative; overflow: hidden; text-align: center; }
    .cta-banner__blob { position: absolute; width: 500px; height: 500px; border-radius: 50%; background: rgba(255,255,255,0.06); }
    .cta-banner__blob--1 { top: -200px; left: -100px; }
    .cta-banner__blob--2 { bottom: -200px; right: -100px; }
    .cta-banner__eyebrow { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 16px; }
    .cta-banner__title { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; color: var(--white); line-height: 1.2; margin-bottom: 14px; letter-spacing: -0.02em; }
    .cta-banner__sub { font-size: 1rem; color: rgba(255,255,255,0.75); max-width: 460px; margin: 0 auto 32px; line-height: 1.7; }
    .cta-banner__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
    .btn--white { background: var(--white); color: var(--terracotta); font-weight: 700; }
    .btn--white:hover { background: var(--cream); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
    .btn--outline-white { background: var(--cream); color: var(--charcoal); border: 1.5px solid var(--cream); }
    .btn--outline-white:hover { background: var(--sand); border-color: var(--sand); transform: translateY(-2px); }

    /* ══════════════════════════════════
       FOOTER
    ══════════════════════════════════ */
    .footer { padding: 72px 0 40px; background: var(--charcoal); }
    .footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(250,247,242,0.1); }
    .footer__brand-name { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; color: var(--cream); margin-bottom: 12px; }
    .footer__brand-name span { color: var(--terracotta); }
    .footer__tagline { font-size: 0.875rem; color: rgba(250,247,242,0.4); line-height: 1.7; max-width: 220px; }
    .footer__col-title { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(250,247,242,0.35); margin-bottom: 20px; }
    .footer__links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
    .footer__links a { font-size: 0.875rem; color: rgba(250,247,242,0.5); transition: color var(--transition); }
    .footer__links a:hover { color: var(--cream); }
    .footer__bottom { padding-top: 32px; display: flex; justify-content: space-between; align-items: center; }
    .footer__copy { font-size: 0.8rem; color: rgba(250,247,242,0.3); }
    .footer__copy a { color: var(--terracotta); }

    /* ══════════════════════════════════
       ANIMATIONS
    ══════════════════════════════════ */
    @keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
    .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
    .reveal.visible { opacity: 1; transform: translateY(0); }

    /* ══════════════════════════════════
       RESPONSIVE
    ══════════════════════════════════ */
    @media (max-width: 1024px) {
      .post-layout { grid-template-columns: 1fr; }
      .sidebar { position: static; }
      .related__grid { grid-template-columns: 1fr; }
    }
    @media (max-width: 768px) {
      .container, .post-hero__inner, .post-hero__img, .post-layout { padding-left: 24px; padding-right: 24px; }
      .nav__links { display: none; }
      .inline-cta { flex-direction: column; gap: 20px; }
      .author-bio { flex-direction: column; }
      .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
      .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
    }/*
Theme Name:  Maribeth Laureen
Theme URI:   https://maribethlaureen.xyz
Author:      Maribeth Laureen Web Design
Author URI:  https://maribethlaureen.xyz
Description: Custom warm, conversion-focused web design agency theme. Built for lead generation with semantic HTML5, Schema markup, and AI-ready structure.
Version:     1.0.0
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: maribethlaureen
Tags:        custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ── CSS VARIABLES ── */
:root {
  --terracotta: #C17F5A;
  --terracotta-dark: #A8683D;
  --charcoal: #2C2420;
  --cream: #FAF7F2;
  --sand: #F0EAE0;
  --sage: #8A9E7E;
  --white: #FFFFFF;
  --mid: #7A6E6A;
  --light: #B5ADA9;
  --shadow-sm: 0 4px 20px rgba(44,36,32,0.06);
  --shadow-md: 0 8px 40px rgba(44,36,32,0.10);
  --shadow-lg: 0 20px 60px rgba(44,36,32,0.14);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--cream);
  color: var(--charcoal);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { text-decoration: none; color: inherit; }

/* ── GRAIN OVERLAY ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.2; }
h4, h5, h6, p, span, a, button, label { font-family: 'DM Sans', sans-serif; }

/* ── LAYOUT ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.container--narrow { max-width: 780px; margin: 0 auto; padding: 0 40px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn--primary { background: var(--terracotta); color: var(--white); }
.btn--primary:hover { background: var(--terracotta-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(193,127,90,0.35); }
.btn--charcoal { background: var(--charcoal); color: var(--cream); }
.btn--charcoal:hover { background: #1a100c; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(44,36,32,0.25); }
.btn--ghost { background: transparent; color: var(--charcoal); border: 1.5px solid rgba(44,36,32,0.2); }
.btn--ghost:hover { border-color: var(--charcoal); transform: translateY(-1px); }
/* CTA banner buttons — always solid, never transparent */
.btn--terracotta { background: var(--terracotta); color: var(--white); }
.btn--terracotta:hover { background: var(--terracotta-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(193,127,90,0.4); }
.btn--outline-cream { background: var(--cream); color: var(--charcoal); border: 1.5px solid var(--cream); }
.btn--outline-cream:hover { background: var(--sand); border-color: var(--sand); transform: translateY(-2px); }
.btn--white { background: var(--white); color: var(--terracotta); font-weight: 700; }
.btn--white:hover { background: var(--cream); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.btn--outline-white { background: var(--cream); color: var(--charcoal); border: 1.5px solid var(--cream); }
.btn--outline-white:hover { background: var(--sand); border-color: var(--sand); transform: translateY(-2px); }
.btn--light { background: var(--white); color: var(--terracotta); font-weight: 700; }
.btn--light:hover { background: var(--cream); transform: translateY(-2px); }
.btn--outline-light { background: var(--cream); color: var(--charcoal); border: 1.5px solid var(--cream); }
.btn--outline-light:hover { background: var(--sand); transform: translateY(-2px); }
.btn__arrow { transition: transform var(--transition); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes growBar { from { width: 0; } to { width: var(--bar-width, 75%); } }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }

/* ── RESPONSIVE BASE ── */
@media (max-width: 768px) {
  .container, .container--narrow { padding: 0 24px; }
}

/* ══════════════════════════════════
   HOMEPAGE UPDATES — logos, dark testimonials, blog, FAQ
══════════════════════════════════ */

/* Colored logos bar */
.logos--colored {
  background: var(--charcoal);
  border-top: none;
  border-bottom: none;
}
.logos--colored .logos__label { color: rgba(250,247,242,0.35); }
.logos--colored .logos__item { color: rgba(250,247,242,0.45); }
.logos--colored .logos__item:hover { color: var(--terracotta); }

/* Dark testimonials section */
.testimonials--dark { background: var(--charcoal); padding: 120px 0; }
.section__eyebrow--light { color: var(--terracotta) !important; }
.section__eyebrow--light::before { background: var(--terracotta) !important; }
.section__title--light { color: var(--cream) !important; }
.section__title--light em { color: var(--terracotta) !important; }
.testimonial-card--dark {
  background: rgba(250,247,242,0.06);
  border: 1px solid rgba(250,247,242,0.1);
}
.testimonial-card--dark .testimonial-card__text { color: rgba(250,247,242,0.75); }
.testimonial-card--dark .testimonial-card__name { color: var(--cream); }
.testimonial-card--dark .testimonial-card__role { color: rgba(250,247,242,0.4); }
.testimonial-card--dark .testimonial-card__quote { color: var(--terracotta); opacity: 0.5; }
.testimonial-card--dark .testimonial-card__avatar {
  background: rgba(193,127,90,0.2);
  color: var(--terracotta);
}

/* Blog preview section */
.home-blog { padding: 120px 0; background: var(--sand); }
.home-blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.home-blog__card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.home-blog__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.home-blog__img {
  height: 200px;
  background: linear-gradient(135deg, var(--sand) 0%, rgba(193,127,90,0.15) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.home-blog__img img { width: 100%; height: 100%; object-fit: cover; }
.home-blog__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.home-blog__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.home-blog__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.35;
  margin-bottom: 10px;
  transition: color var(--transition);
}
.home-blog__card:hover .home-blog__title { color: var(--terracotta); }
.home-blog__excerpt { font-size: 0.875rem; color: var(--mid); line-height: 1.7; margin-bottom: 16px; flex: 1; }
.home-blog__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--terracotta);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  transition: gap var(--transition);
}
.home-blog__card:hover .home-blog__link { gap: 8px; }

/* FAQ section */
.faq { padding: 120px 0; background: var(--cream); }
.faq__grid { max-width: 800px; margin: 56px auto 0; display: flex; flex-direction: column; gap: 0; }
.faq__item { border-bottom: 1px solid var(--sand); }
.faq__item:first-child { border-top: 1px solid var(--sand); }
.faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  background: none;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
  cursor: pointer;
  text-align: left;
  gap: 16px;
  transition: color var(--transition);
}
.faq__question:hover { color: var(--terracotta); }
.faq__question[aria-expanded="true"] { color: var(--terracotta); }
.faq__icon {
  font-size: 1.4rem;
  color: var(--terracotta);
  flex-shrink: 0;
  transition: transform var(--transition);
  font-weight: 300;
}
.faq__question[aria-expanded="true"] .faq__icon { transform: rotate(45deg); }
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq__answer.open { max-height: 300px; padding-bottom: 20px; }
.faq__answer p { font-size: 0.95rem; color: var(--mid); line-height: 1.8; }

/* Responsive */
@media (max-width: 768px) {
  .home-blog__grid { grid-template-columns: 1fr; }
}

/* Fix hero space left by removed social proof block */
.hero__actions { margin-bottom: 0 !important; }
.hero__social { display: none !important; }

/* Testimonial cards — transparent, dark section stays */
.testimonial-card--dark {
  background: transparent !important;
  border: 1px solid rgba(250,247,242,0.12) !important;
}
.testimonials--dark .testimonials__grid {
  gap: 24px;
}

/* Fix floating card overlapping hero headline */
.hero__card-float--tl {
  top: 20px !important;
  left: 20px !important;
}

/* Force dark testimonials section */
section.testimonials--dark {
  background: #2C2420 !important;
  padding: 120px 0 !important;
}
section.testimonials--dark .testimonial-card--dark {
  background: rgba(250,247,242,0.05) !important;
  border: 1px solid rgba(250,247,242,0.1) !important;
}
section.testimonials--dark .testimonial-card__text {
  color: rgba(250,247,242,0.75) !important;
}
section.testimonials--dark .testimonial-card__name {
  color: var(--cream) !important;
}
section.testimonials--dark .testimonial-card__role {
  color: rgba(250,247,242,0.4) !important;
}
section.testimonials--dark .testimonial-card__quote {
  color: var(--terracotta) !important;
  opacity: 0.6 !important;
}
section.testimonials--dark .testimonial-card__stars {
  color: var(--terracotta) !important;
}
section.testimonials--dark .testimonial-card__avatar {
  background: rgba(193,127,90,0.2) !important;
  color: var(--terracotta) !important;
  border: 2px solid rgba(193,127,90,0.3) !important;
}

/* ══ FINAL FIXES v7 ══ */

/* 1. Hero space — kill height of hidden social block */
.hero__social {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}
.hero__actions {
  margin-bottom: 0 !important;
}

/* 2. Floating card — push it fully inside the visual card, no overflow left */
.hero__card-float--tl {
  top: -10px !important;
  left: 10px !important;
  right: auto !important;
}

/* 3. Testimonials — LIGHT section, DARK cards */
section.testimonials--dark {
  background: var(--sand) !important;
}
section.testimonials--dark .section__eyebrow--light {
  color: var(--terracotta) !important;
}
section.testimonials--dark .section__title--light {
  color: var(--charcoal) !important;
}
section.testimonials--dark .section__title--light em {
  color: var(--terracotta) !important;
}
.testimonial-card--dark {
  background: var(--charcoal) !important;
  border: 1px solid rgba(250,247,242,0.08) !important;
}
.testimonial-card--dark .testimonial-card__text {
  color: rgba(250,247,242,0.75) !important;
}
.testimonial-card--dark .testimonial-card__name {
  color: var(--cream) !important;
}
.testimonial-card--dark .testimonial-card__role {
  color: rgba(250,247,242,0.4) !important;
}
.testimonial-card--dark .testimonial-card__quote {
  color: var(--terracotta) !important;
  opacity: 0.6 !important;
}
.testimonial-card--dark .testimonial-card__stars {
  color: var(--terracotta) !important;
}
.testimonial-card--dark .testimonial-card__avatar {
  background: rgba(193,127,90,0.2) !important;
  color: var(--terracotta) !important;
  border: 2px solid rgba(193,127,90,0.3) !important;
}

/* Bolder PageSpeed Score float card */
.hero__card-float--br {
  background: var(--charcoal) !important;
  border: none !important;
  padding: 20px 28px !important;
  box-shadow: 0 12px 40px rgba(44,36,32,0.25) !important;
}
.float__score {
  font-family: 'Playfair Display', serif !important;
  font-size: 2.4rem !important;
  font-weight: 700 !important;
  color: var(--terracotta) !important;
  line-height: 1 !important;
}
.float__score-label {
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  color: rgba(250,247,242,0.6) !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  margin-top: 4px !important;
}

/* Reduce CTA banner height */
.cta-banner {
  padding: 60px 0 !important;
}

/* ══════════════════════════════════
   V9 FIXES
══════════════════════════════════ */

/* Logo image sizing */
.nav__logo .custom-logo-link { display: flex; align-items: center; }
.nav__logo .custom-logo-link img,
.nav__logo img.custom-logo { max-height: 46px; width: auto; }

/* Nav — always-on background */
.nav { background: rgba(250,247,242,0.97); box-shadow: 0 1px 0 rgba(44,36,32,0.07); }
.nav.scrolled { background: rgba(250,247,242,0.97); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(44,36,32,0.10); }

/* Hide page H1 title on the Let's Talk page */
.page-id-39 #main h1 { display: none; }

/* ── Contact Form 7 — Let's Talk page ── */
.page-id-39 .wpcf7-form { display: flex; flex-direction: column; gap: 20px; }
.page-id-39 .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.page-id-39 .form-row-full { width: 100%; }
.page-id-39 label { display: block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mid); margin-bottom: 6px; }
.page-id-39 input[type="text"],
.page-id-39 input[type="email"],
.page-id-39 select,
.page-id-39 textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid rgba(44,36,32,0.15);
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  color: var(--charcoal);
  background: #fff;
  transition: border-color var(--transition);
  outline: none;
  display: block;
}
.page-id-39 input:focus,
.page-id-39 select:focus,
.page-id-39 textarea:focus { border-color: var(--terracotta); }
.page-id-39 textarea { resize: vertical; min-height: 140px; }
.page-id-39 select { appearance: none; cursor: pointer; }
.page-id-39 .wpcf7-submit {
  display: inline-block;
  background: var(--terracotta);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 14px 36px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  letter-spacing: 0.02em;
  align-self: flex-start;
}
.page-id-39 .wpcf7-submit:hover { background: var(--terracotta-dark); transform: translateY(-1px); }
.page-id-39 .wpcf7-not-valid-tip { font-size: 0.75rem; color: #c0392b; margin-top: 4px; }
.page-id-39 .wpcf7-response-output { margin-top: 16px; padding: 12px 16px; border-radius: var(--radius-sm); font-size: 0.875rem; }

@media (max-width: 640px) {
  .page-id-39 .form-row { grid-template-columns: 1fr; }
}
