/*
Theme Name: Helene Vabø
Theme URI: https://helenevabo.no
Author: Helene Vabø
Author URI: https://helenevabo.no
Description: Custom theme for helenevabo.no – SEO-optimized, fast, no page builder dependency.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Private
Text Domain: helene-vabo
*/

/* ============================================================
   CSS Custom Properties
   ============================================================ */
:root {
  --color-primary:    #DAA49C;
  --color-primary-light: #F2C8C2;
  --color-dark:       #1A202C;
  --color-body:       #2D3748;
  --color-muted:      #4A5568;
  --color-subtle:     #718096;
  --color-bg-light:   #EDF2F7;
  --color-bg-lighter: #F7FAFC;
  --color-white:      #ffffff;

  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
  --font-size-base: 17px;
  --line-height-base: 1.6;

  --content-width: 1290px;
  --content-narrow: 842px;
  --edge-padding: 1.5rem;

  --radius-pill: 9999px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow-md:  0 4px 12px rgba(0,0,0,.10);
  --shadow-lg:  0 15px 25px -7px rgba(0,0,0,.12);

  --transition: 0.28s ease;

  --header-height: 80px;
}

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

html { scroll-behavior: smooth; font-size: var(--font-size-base); }

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--color-body);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-dark); }

ul, ol { list-style: none; }

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-dark);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.5em;
}
h1 { font-size: clamp(28px, 5vw, 48px); }
h2 { font-size: clamp(24px, 4vw, 36px); }
h3 { font-size: clamp(20px, 3vw, 28px); }
h4 { font-size: 22px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

p { margin-bottom: 1.25rem; }
p:last-child { margin-bottom: 0; }

strong, b { font-weight: 700; }
em, i { font-style: italic; }

blockquote {
  border-left: 4px solid var(--color-primary);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--color-bg-lighter);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--color-muted);
}

/* ============================================================
   Layout Utilities
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: var(--edge-padding);
}

.container--narrow {
  max-width: var(--content-narrow);
}

.section {
  padding-block: 5rem;
}

.section--sm {
  padding-block: 3rem;
}

.section--lg {
  padding-block: 7rem;
}

@media (max-width: 768px) {
  .section { padding-block: 3rem; }
  .section--lg { padding-block: 4rem; }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.75em 1.75em;
  border-radius: var(--radius-pill);
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), box-shadow var(--transition),
              transform var(--transition);
  text-decoration: none;
  line-height: 1;
}

.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}
.btn--primary:hover {
  background: var(--color-dark);
  border-color: var(--color-dark);
  color: var(--color-white);
  box-shadow: var(--shadow-lg);
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn--outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-lg);
}

.btn--ghost {
  background: transparent;
  color: var(--color-dark);
  border-color: transparent;
}
.btn--ghost:hover {
  color: var(--color-primary);
}

.btn--sm {
  padding: 0.5em 1.25em;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 1em 2.25em;
  font-size: 1.05rem;
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  box-shadow: 0 1px 0 rgba(0,0,0,.08);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
}

/* Logo */
.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.site-logo img {
  max-height: 90px;
  width: auto;
}
.site-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-dark);
  letter-spacing: -0.02em;
}
.site-logo-text:hover { color: var(--color-primary); }

/* Primary Navigation */
.primary-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-menu > li {
  position: relative;
}

.nav-menu > li > a {
  display: block;
  padding: 0.5rem 0.875rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-body);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current-page-ancestor > a {
  color: var(--color-primary);
  background: var(--color-bg-lighter);
}

/* Dropdown */
.nav-menu .sub-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 200px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-bg-light);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity var(--transition), transform var(--transition);
  z-index: 200;
  list-style: none;
  padding: 0.5rem 0;
}
.nav-menu li:hover > .sub-menu,
.nav-menu li:focus-within > .sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.sub-menu li a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
  color: var(--color-body);
  transition: color var(--transition), background var(--transition);
}
.sub-menu li a:hover { color: var(--color-primary); background: var(--color-bg-lighter); }

/* Nav CTA button */
.nav-cta {
  margin-left: 1rem;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  .primary-nav {
    position: fixed;
    inset: var(--header-height) 0 0 0;
    background: var(--color-white);
    flex-direction: column;
    justify-content: flex-start;
    padding: 2rem var(--edge-padding);
    transform: translateX(100%);
    transition: transform var(--transition);
    overflow-y: auto;
    z-index: 99;
    align-items: flex-start;
  }
  .primary-nav.is-open { transform: translateX(0); }

  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }
  .nav-menu > li { width: 100%; }
  .nav-menu > li > a {
    font-size: 1.1rem;
    padding: 0.75rem 1rem;
    display: block;
    border-radius: var(--radius-md);
  }
  .nav-menu .sub-menu {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border: none;
    padding-left: 1rem;
    background: var(--color-bg-lighter);
    border-radius: var(--radius-md);
    margin-top: 0.25rem;
  }
  .nav-cta { margin: 1.5rem 0 0; }
}

/* ============================================================
   Hero Section
   ============================================================ */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-bg-lighter);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-block: 4rem;
}

.hero__content {
  max-width: 560px;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.hero__title {
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1.15;
  color: var(--color-dark);
  margin-bottom: 1.25rem;
}

.hero__title .highlight {
  color: var(--color-primary);
}

.hero__tagline {
  font-size: 1.15rem;
  color: var(--color-muted);
  margin-bottom: 2rem;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__image {
  position: relative;
  justify-self: end;
}

.hero__image img {
  border-radius: var(--radius-lg);
  object-fit: cover;
  max-height: 680px;
  width: 100%;
  box-shadow: var(--shadow-lg);
}

.hero__image::before {
  content: '';
  position: absolute;
  inset: -1rem -1rem 1rem 1rem;
  background: var(--color-primary-light);
  border-radius: var(--radius-lg);
  z-index: -1;
}

@media (max-width: 768px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  .hero__actions { justify-content: center; }
  .hero__content { max-width: 100%; }
  .hero__image { justify-self: center; max-width: 340px; width: 100%; }
  .hero__image::before { display: none; }
}

/* ============================================================
   Section Headers
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header--left { text-align: left; }

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(24px, 4vw, 36px);
  color: var(--color-dark);
  margin-bottom: 0.75rem;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--color-muted);
  max-width: 640px;
  margin-inline: auto;
  line-height: 1.7;
}
.section-header--left .section-lead { margin-inline: 0; }

/* ============================================================
   Services / Cards Grid
   ============================================================ */
.services {
  background: var(--color-bg-lighter);
}

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

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

.service-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  background: var(--color-primary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-card__icon svg {
  width: 26px;
  height: 26px;
  color: var(--color-primary);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0;
}

.service-card__desc {
  font-size: 0.925rem;
  color: var(--color-muted);
  line-height: 1.6;
  flex: 1;
}

.service-card__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  margin-top: 0.5rem;
}
.service-card__link svg { width: 14px; height: 14px; }
.service-card__link:hover { color: var(--color-dark); }

/* ============================================================
   Testimonials
   ============================================================ */
.testimonials {
  background: var(--color-white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
@media (max-width: 900px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .testimonials-grid { grid-template-columns: 1fr; } }

.testimonial-card {
  background: var(--color-bg-lighter);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  border: 1px solid var(--color-bg-light);
}

.testimonial-card__stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1rem;
  color: var(--color-primary);
  font-size: 1.1rem;
}

.testimonial-card__text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--color-muted);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-primary);
  flex-shrink: 0;
}

.testimonial-card__name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-dark);
}
.testimonial-card__role {
  font-size: 0.8rem;
  color: var(--color-subtle);
}

/* ============================================================
   Blog Posts
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .blog-grid { grid-template-columns: 1fr; } }

.post-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.post-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.post-card__image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.post-card:hover .post-card__image img { transform: scale(1.04); }

.post-card__image--placeholder {
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.post-card__image--placeholder svg {
  width: 48px;
  height: 48px;
  color: var(--color-primary);
  opacity: 0.5;
}

.post-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-card__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--color-subtle);
  margin-bottom: 0.75rem;
}
.post-card__category {
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.75rem;
}

.post-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.4;
  margin-bottom: 0.75rem;
  flex: 1;
}
.post-card__title a { color: inherit; }
.post-card__title a:hover { color: var(--color-primary); }

.post-card__excerpt {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card__read-more {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  margin-top: auto;
}
.post-card__read-more svg { width: 14px; height: 14px; }
.post-card__read-more:hover { color: var(--color-dark); }

/* ============================================================
   Newsletter Section
   ============================================================ */
.newsletter {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  padding-block: 4rem;
}

.newsletter .section-title { color: var(--color-white); }
.newsletter .section-lead { color: rgba(255,255,255,.85); }

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 520px;
  margin: 2rem auto 0;
  flex-wrap: wrap;
}

.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 0.75em 1.25em;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-family);
  font-size: 0.95rem;
  background: rgba(255,255,255,.95);
  color: var(--color-dark);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.newsletter-form input[type="email"]:focus {
  border-color: var(--color-dark);
  box-shadow: 0 0 0 3px rgba(255,255,255,.4);
}
.newsletter-form input[type="email"]::placeholder { color: var(--color-subtle); }

.newsletter-form .btn {
  white-space: nowrap;
  background: var(--color-dark);
  color: var(--color-white);
  border-color: var(--color-dark);
}
.newsletter-form .btn:hover {
  background: var(--color-white);
  color: var(--color-dark);
  border-color: var(--color-white);
}

.newsletter-form__notice {
  width: 100%;
  font-size: 0.8rem;
  color: rgba(255,255,255,.75);
  text-align: center;
}

/* ============================================================
   About / Intro Section
   ============================================================ */
.about-intro {
  background: var(--color-white);
}

.about-intro__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
@media (max-width: 768px) {
  .about-intro__inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

.about-intro__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.about-intro__image::after {
  content: '';
  position: absolute;
  bottom: -1.25rem;
  right: -1.25rem;
  width: 60%;
  height: 60%;
  background: var(--color-primary-light);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.about-intro__image img { width: 100%; }

.about-intro__content .section-header { text-align: left; }
.about-intro__content .section-lead { margin-inline: 0; }

/* ============================================================
   CTA Banner
   ============================================================ */
.cta-banner {
  background: var(--color-bg-lighter);
  padding-block: 5rem;
  text-align: center;
}

.cta-banner__title {
  font-size: clamp(26px, 5vw, 42px);
  color: var(--color-dark);
  margin-bottom: 1rem;
}
.cta-banner__text {
  font-size: 1.1rem;
  color: var(--color-muted);
  margin-bottom: 2.5rem;
  max-width: 560px;
  margin-inline: auto;
}
.cta-banner__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   Contact Section
   ============================================================ */
.contact-section {
  background: var(--color-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}

.contact-info__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.contact-info__icon {
  width: 44px;
  height: 44px;
  background: var(--color-primary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info__icon svg {
  width: 22px;
  height: 22px;
  color: var(--color-primary);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-info__label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-subtle);
  display: block;
  margin-bottom: 0.2rem;
}
.contact-info__value {
  font-size: 0.95rem;
  color: var(--color-body);
}

/* Contact Form */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-field label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-body);
}
.form-field input,
.form-field textarea,
.form-field select {
  padding: 0.8em 1.1em;
  border: 2px solid var(--color-bg-light);
  border-radius: var(--radius-md);
  font-family: var(--font-family);
  font-size: 0.95rem;
  color: var(--color-dark);
  background: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(218,164,156,.2);
}
.form-field textarea { resize: vertical; min-height: 120px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--color-dark);
  color: rgba(255,255,255,.75);
  padding-block: 4rem 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (max-width: 900px) {
  .footer-top { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; gap: 1.5rem; }
}

.footer-brand__logo img { max-height: 50px; width: auto; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.footer-brand__logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-white);
  display: block;
  margin-bottom: 0.75rem;
}
.footer-brand__tagline {
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(255,255,255,.6);
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}
.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.footer-social a:hover { background: var(--color-primary); }
.footer-social svg {
  width: 16px;
  height: 16px;
  fill: var(--color-white);
}

.footer-col__title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-white);
  margin-bottom: 1.25rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul a {
  font-size: 0.875rem;
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--color-primary); }

.footer-contact-item {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}
.footer-contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-primary);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer-contact-item span {
  font-size: 0.875rem;
  color: rgba(255,255,255,.65);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,.45);
}
.footer-bottom a { color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: var(--color-primary); }
.footer-bottom-links { display: flex; gap: 1.5rem; }

/* ============================================================
   Single Post / Page Content
   ============================================================ */
.entry-content {
  max-width: var(--content-narrow);
  margin-inline: auto;
}

.entry-header {
  text-align: center;
  padding-block: 4rem 2rem;
  background: var(--color-bg-lighter);
}

.entry-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: var(--color-subtle);
  margin-bottom: 1.25rem;
}
.entry-meta .category-link {
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
}

.entry-title { font-size: clamp(28px, 5vw, 48px); }

.entry-featured-image {
  margin-bottom: 3rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: var(--content-narrow);
  margin-inline: auto;
}
.entry-featured-image img { width: 100%; }

.entry-content p,
.entry-content ul,
.entry-content ol {
  margin-bottom: 1.25rem;
}
.entry-content ul { list-style: disc; padding-left: 1.5rem; }
.entry-content ol { list-style: decimal; padding-left: 1.5rem; }
.entry-content li { margin-bottom: 0.4rem; }
.entry-content h2 { margin-top: 2.5rem; }
.entry-content h3 { margin-top: 2rem; }
.entry-content img {
  border-radius: var(--radius-md);
  margin-block: 1.5rem;
}

/* Post navigation */
.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: var(--content-narrow);
  margin: 4rem auto 0;
  border-top: 1px solid var(--color-bg-light);
  padding-top: 2rem;
}
.post-nav-link {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.post-nav-link--next { text-align: right; }
.post-nav-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-subtle);
}
.post-nav-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-dark);
}
.post-nav-title:hover { color: var(--color-primary); }

/* ============================================================
   Archive (Blog listing)
   ============================================================ */
.archive-header {
  background: var(--color-bg-lighter);
  padding-block: 3rem;
  text-align: center;
}
.archive-posts { padding-block: 4rem; }

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-body);
  border: 2px solid var(--color-bg-light);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.page-numbers:hover,
.page-numbers.current {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

/* ============================================================
   Page Hero (interior pages)
   ============================================================ */
.page-hero {
  background: var(--color-bg-lighter);
  padding-block: 4rem;
  text-align: center;
}
.page-hero__title { margin-bottom: 0.5rem; }
.page-hero__subtitle {
  font-size: 1.1rem;
  color: var(--color-muted);
  max-width: 560px;
  margin-inline: auto;
}

/* ============================================================
   Generic page content wrapper
   ============================================================ */
.page-content {
  padding-block: 4rem;
}

/* ============================================================
   Utility classes
   ============================================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.bg-light { background: var(--color-bg-lighter); }
.bg-white { background: var(--color-white); }

/* ============================================================
   Skip link accessibility
   ============================================================ */
.skip-link {
  position: absolute;
  top: -999px;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--color-dark);
  color: var(--color-white);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  z-index: 9999;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

/* ============================================================
   Animations / Fade-in on scroll
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   WordPress core classes (alignment, captions, etc.)
   ============================================================ */
.alignleft { float: left; margin-right: 1.5rem; margin-bottom: 1rem; }
.alignright { float: right; margin-left: 1.5rem; margin-bottom: 1rem; }
.aligncenter { display: block; margin-inline: auto; margin-bottom: 1rem; }
.alignwide { max-width: calc(var(--content-narrow) + 200px); margin-inline: auto; }
.alignfull { width: 100vw; margin-inline: calc(50% - 50vw); }

.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.8rem; color: var(--color-subtle); text-align: center; margin-top: 0.5rem; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.gallery-item { margin: 0; }
.gallery-item img { border-radius: var(--radius-sm); }

/* ============================================================
   Print
   ============================================================ */
@media print {
  .site-header, .site-footer, .newsletter, .cta-banner { display: none; }
  body { font-size: 12pt; color: #000; }
  a { color: #000; text-decoration: underline; }
}
