/*
Theme Name: Hermit Crab City
Theme URI: https://hermitcrabcity.com
Author: DaxWay Unlimited
Author URI: https://daxway.com
Description: Lean, plugin-free theme for Hermit Crab City. Shared section pattern with Daxway and Dayani. Built to be portable across sites with a search-and-replace.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hermitcrabcity
Tags: blog, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   DESIGN TOKENS
   (Base values here are fallbacks — Customizer injects overrides via :root)
   ========================================================================== */
:root {
  --sand:        #f7f1e6;
  --sand-deep:   #ede2cc;
  --coral:       #e26a4c;
  --coral-deep:  #c44f33;
  --ocean:       #2a6f78;
  --ocean-deep:  #1c4f56;
  --ink:         #2a2118;
  --ink-soft:    #5a4a3a;
  --muted:       #8a7a68;
  --card:        #ffffff;
  --line:        #e4d9c4;

  /* Semantic shadows */
  --shadow:      0 2px 8px rgba(42, 33, 24, .06);
  --shadow-md:   0 6px 20px rgba(42, 33, 24, .09);
  --shadow-lg:   0 16px 40px rgba(42, 33, 24, .13);

  /* Transition system */
  --ease: cubic-bezier(.25, .46, .45, .94);
  --t:    .28s;

  /* Shape */
  --radius:    14px;
  --radius-sm: 8px;
  --radius-xs: 6px;
}

/* ==========================================================================
   RESET + BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a {
  color: var(--coral-deep);
  text-decoration: none;
  transition: color var(--t) var(--ease);
}
a:hover { color: var(--coral); }
button { font: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); margin-bottom: 20px; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 16px; }
h3 { font-size: 1.2rem; margin-bottom: 8px; }
h4 { font-size: 1rem; margin-bottom: 6px; }
p  { color: var(--ink-soft); margin-bottom: 16px; }

/* ==========================================================================
   LAYOUT
   ========================================================================== */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
section.block { padding: 80px 0; }
section.alt {
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Section with gradient-line ornaments top & bottom (Dayani technique) */
section.accent-lines { position: relative; }
section.accent-lines::before,
section.accent-lines::after {
  content: '';
  position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--coral), transparent);
  opacity: .4;
}
section.accent-lines::before { top: 0; }
section.accent-lines::after  { bottom: 0; }

/* ==========================================================================
   EYEBROW + SECTION HEADER
   ========================================================================== */
.eyebrow {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 14px;
}

/* Pill variant — wraps eyebrow in a subtle bordered capsule */
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(226, 106, 76, .08);
  border: 1px solid rgba(226, 106, 76, .25);
  color: var(--coral);
  font-size: .66rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 20px;
}

/* Ornament rule */
.hcc-rule {
  display: block;
  width: 56px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--coral), transparent);
  margin: 14px auto;
}
.hcc-rule.left { margin-left: 0; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head p { font-size: 1.05rem; color: var(--ink-soft); }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .06em;
  border: 2px solid transparent;
  transition:
    transform var(--t) var(--ease),
    box-shadow var(--t) var(--ease),
    background var(--t) var(--ease),
    color var(--t) var(--ease);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
}
.btn-primary {
  background: linear-gradient(135deg, var(--coral-deep) 0%, var(--coral) 60%, #f07a5a 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(226, 106, 76, .25);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--coral) 0%, #f07a5a 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(226, 106, 76, .38);
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-outline:hover {
  background: var(--card);
  border-color: var(--coral);
  color: var(--coral-deep);
  transform: translateY(-2px);
}
.btn-ocean {
  background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--ocean) 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(42, 111, 120, .22);
}
.btn-ocean:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(42, 111, 120, .32);
}
.btn-ghost {
  background: transparent;
  color: var(--coral);
  border-color: var(--coral);
}
.btn-ghost:hover {
  background: rgba(226, 106, 76, .08);
  color: var(--coral-deep);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(226, 106, 76, .15);
}
.btn-sm { padding: 10px 20px; font-size: .78rem; }

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
header.site {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 241, 230, .92);
  backdrop-filter: saturate(110%) blur(12px);
  -webkit-backdrop-filter: saturate(110%) blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 0 var(--line);
  transition: box-shadow var(--t) var(--ease), background var(--t) var(--ease);
}
header.site.scrolled {
  background: rgba(247, 241, 230, .97);
  box-shadow: 0 4px 24px rgba(42, 33, 24, .10);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  text-decoration: none;
}
.logo-mark {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--coral);
  display: grid; place-items: center;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 700;
  flex-shrink: 0;
}
.nav-links { display: flex; gap: 28px; align-items: center; list-style: none; }
.nav-links a {
  color: var(--ink-soft);
  font-size: .875rem;
  font-weight: 500;
  position: relative;
  padding-bottom: 3px;
  transition: color var(--t) var(--ease);
}
/* Underline-slide effect */
.nav-links a::after {
  content: '';
  position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--coral);
  transform: scaleX(0);
  transition: transform var(--t) var(--ease);
  transform-origin: left;
}
.nav-links a:hover,
.nav-links .current-menu-item > a,
.nav-links .current_page_item > a { color: var(--coral-deep); }
.nav-links a:hover::after,
.nav-links .current-menu-item > a::after,
.nav-links .current_page_item > a::after { transform: scaleX(1); }

.nav-cta { padding: 10px 18px; font-size: .8rem; }
.menu-toggle { display: none; background: none; border: none; color: var(--ink); padding: 4px; }
.menu-toggle svg { width: 26px; height: 26px; }

@media (max-width: 900px) {
  .logo span:not(.logo-mark) { display: none; }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: var(--card);
    padding: 12px 24px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 40px rgba(42, 33, 24, .10);
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border-bottom: 0; }
  .nav-links a { display: block; padding: 14px 4px; font-size: .9rem; }
  .nav-links a::after { display: none; }
  .nav-cta { display: none; }
  .menu-toggle { display: block; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { padding: 80px 0 60px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

.hero p.lede {
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 540px;
  color: var(--ink-soft);
  line-height: 1.75;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

/* Stats bar — bordered grid panel */
.stats {
  display: flex; flex-wrap: wrap;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  overflow: hidden;
}
.stat-item {
  flex: 1; min-width: 90px;
  padding: 18px 20px;
  border-right: 1px solid var(--line);
  text-align: center;
}
.stat-item:last-child { border-right: 0; }
.stat-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem; font-weight: 700;
  color: var(--ocean);
  line-height: 1; margin-bottom: 4px;
}
.stat-label {
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-visual {
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--sand-deep) 0%, #e7d3b5 100%);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   TRUST BAR
   ========================================================================== */
.trust-bar {
  padding: 28px 0;
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-bar__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.trust-bar__item {
  display: flex; flex-direction: column; gap: 3px;
  padding: 14px 22px;
  border-right: 1px solid var(--line);
}
.trust-bar__item:last-child { border-right: 0; }
.trust-bar__label {
  font-size: .62rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--coral); font-weight: 700;
}
.trust-bar__value { font-size: .95rem; font-weight: 600; color: var(--ink); }
@media (max-width: 680px) {
  .trust-bar__item { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-bar__item:last-child { border-bottom: 0; }
}

/* ==========================================================================
   GRIDS
   ========================================================================== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (max-width: 700px) { .grid-2 { grid-template-columns: 1fr; } }

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

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-4 { grid-template-columns: 1fr; } }

.grid-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .grid-6 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-6 { grid-template-columns: 1fr; } }

/* ==========================================================================
   CARDS (feature / service)
   ========================================================================== */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative; overflow: hidden;
  transition:
    transform var(--t) var(--ease),
    box-shadow var(--t) var(--ease),
    border-color var(--t) var(--ease);
}
/* Top shimmer on hover */
.card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--coral), transparent);
  opacity: 0;
  transition: opacity var(--t) var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(226, 106, 76, .28);
}
.card:hover::before { opacity: 1; }

.card-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(226, 106, 76, .1);
  border: 1px solid rgba(226, 106, 76, .2);
  color: var(--coral);
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.card-icon svg { width: 24px; height: 24px; }
/* Letter-icon (legacy variant) */
.card-icon-letter {
  font-family: 'Playfair Display', serif;
  font-weight: 700; font-size: 22px;
}
/* Ghost number */
.card-num {
  position: absolute; top: 12px; right: 16px;
  font-family: 'Playfair Display', serif;
  font-size: 3rem; font-weight: 700;
  color: rgba(226, 106, 76, .07);
  line-height: 1; pointer-events: none;
}
.card p { font-size: .92rem; color: var(--ink-soft); }
.card a.more {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 16px; font-size: .8rem; font-weight: 600;
  color: var(--coral-deep);
  transition: gap var(--t) var(--ease), color var(--t) var(--ease);
}
.card a.more:hover { gap: 9px; color: var(--coral); }

/* Capability card (numbered variant) */
.cap-card { padding: 28px 24px; }
.cap-num {
  font-family: 'Playfair Display', serif;
  font-size: .82rem; font-weight: 700;
  color: var(--coral); letter-spacing: .12em;
  margin-bottom: 14px; display: block;
}

/* ==========================================================================
   CATEGORY CARDS
   ========================================================================== */
.cat-card {
  display: block; text-decoration: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    transform var(--t) var(--ease),
    box-shadow var(--t) var(--ease),
    border-color var(--t) var(--ease);
}
.cat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(226, 106, 76, .28);
}
.cat-card__img-wrap {
  aspect-ratio: 4 / 3; overflow: hidden;
  background: var(--sand-deep);
}
.cat-card__img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .55s var(--ease);
}
.cat-card:hover .cat-card__img { transform: scale(1.06); }
.cat-card__body { padding: 20px 22px; }
.cat-card__label {
  font-size: .66rem; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--coral);
  margin-bottom: 6px; display: block;
}
.cat-card__name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem; color: var(--ink);
}
.cat-card__count { font-size: .78rem; color: var(--muted); margin-top: 4px; display: block; }
.cat-card__desc  { font-size: .88rem; color: var(--ink-soft); margin: 4px 0 0; line-height: 1.5; }

/* Letter fallback when no image is set */
.cat-card__img-wrap--letter {
  background: linear-gradient(135deg, var(--sand-deep) 0%, #e7d3b5 100%);
  display: flex; align-items: center; justify-content: center;
}
.cat-card__letter {
  font-family: 'Playfair Display', serif;
  font-size: 4rem; font-weight: 700;
  color: var(--coral);
  opacity: .35;
  line-height: 1;
  user-select: none;
}

/* ==========================================================================
   POST CARDS
   ========================================================================== */
.post-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition:
    transform var(--t) var(--ease),
    box-shadow var(--t) var(--ease),
    border-color var(--t) var(--ease);
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(226, 106, 76, .22);
}
.post-card-image { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand-deep); }
.post-card-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .55s var(--ease);
}
.post-card:hover .post-card-image img { transform: scale(1.05); }
.post-card-body {
  padding: 22px 24px 26px;
  flex: 1; display: flex; flex-direction: column;
}
.post-card-cat {
  font-size: .64rem; text-transform: uppercase; letter-spacing: .18em;
  color: var(--coral); font-weight: 700; margin-bottom: 8px;
  display: inline-block;
}
.post-card-body h3 { font-size: 1.1rem; margin-bottom: 10px; line-height: 1.35; }
.post-card-body h3 a { color: var(--ink); transition: color var(--t) var(--ease); }
.post-card-body h3 a:hover { color: var(--coral-deep); }
.post-card-body p { font-size: .88rem; flex: 1; }
.post-card-meta {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: .72rem; color: var(--muted);
  margin-top: auto; padding-top: 14px;
  border-top: 1px solid var(--line);
}

/* ==========================================================================
   FEATURE SPLIT (2-col image + text)
   ========================================================================== */
.feature-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
@media (max-width: 860px) { .feature-split { grid-template-columns: 1fr; gap: 40px; } }
.feature-split__img {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.feature-split__img img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band {
  background: linear-gradient(135deg, var(--ocean) 0%, var(--ocean-deep) 100%);
  color: #fff;
  padding: 72px 0;
  text-align: center;
  position: relative; overflow: hidden;
}
/* Ornament lines (Dayani technique adapted to white) */
.cta-band::before,
.cta-band::after {
  content: '';
  position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .3), transparent);
}
.cta-band::before { top: 0; }
.cta-band::after  { bottom: 0; }

.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p {
  color: rgba(255, 255, 255, .8);
  max-width: 520px; margin: 0 auto 32px;
}
.cta-band-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-band .btn-primary {
  background: var(--coral);
  box-shadow: 0 4px 20px rgba(226, 106, 76, .35);
}
.cta-band .btn-primary:hover {
  background: linear-gradient(135deg, var(--coral-deep), var(--coral));
  box-shadow: 0 8px 28px rgba(226, 106, 76, .48);
}
.cta-band .btn-outline {
  color: #fff; border-color: rgba(255, 255, 255, .4);
}
.cta-band .btn-outline:hover {
  background: rgba(255, 255, 255, .1);
  color: #fff; border-color: rgba(255, 255, 255, .65);
}

/* ==========================================================================
   STATS PANEL (standalone stats section)
   ========================================================================== */
.stats-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
}
.stats-panel__item {
  padding: 32px 20px; text-align: center;
  border-right: 1px solid var(--line);
}
.stats-panel__item:last-child { border-right: 0; }
.stats-panel__number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--ocean); line-height: 1; margin-bottom: 6px;
}
.stats-panel__label {
  font-size: .65rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted);
}
@media (max-width: 600px) {
  .stats-panel { grid-template-columns: repeat(2, 1fr); }
  .stats-panel__item:nth-child(even) { border-right: 0; }
  .stats-panel__item { border-bottom: 1px solid var(--line); }
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.testimonial {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--coral);
  border-radius: var(--radius-sm);
  padding: 28px 28px 28px 30px;
  transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
}
.testimonial:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.testimonial__text {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic; font-size: 1rem;
  color: var(--ink); margin-bottom: 18px; line-height: 1.7;
}
.testimonial__author {
  font-size: .7rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--coral);
}

/* ==========================================================================
   SINGLE POST
   ========================================================================== */
.post-hero { padding: 60px 0 40px; text-align: center; }
.post-hero .eyebrow { color: var(--coral); }
.post-hero h1 { max-width: 800px; margin: 0 auto 20px; }
.post-meta {
  color: var(--muted); font-size: .82rem;
  display: flex; gap: 16px; justify-content: center; align-items: center; flex-wrap: wrap;
}
.post-meta span { display: flex; align-items: center; gap: 5px; }
.featured-image { max-width: 1180px; margin: 0 auto 60px; padding: 0 24px; }
.featured-image img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.post-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 80px;
  font-size: 1.05rem;
}
.post-body h2 { font-size: 1.7rem; margin: 40px 0 14px; }
.post-body h3 { font-size: 1.3rem; margin: 30px 0 10px; }
.post-body p  { margin-bottom: 20px; line-height: 1.8; }
.post-body img { border-radius: var(--radius-sm); margin: 28px 0; }
.post-body ul, .post-body ol { margin: 16px 0 20px 24px; color: var(--ink-soft); }
.post-body li { margin-bottom: 8px; line-height: 1.65; }
.post-body blockquote {
  border-left: 4px solid var(--coral);
  padding: 12px 22px;
  margin: 28px 0;
  font-style: italic;
  color: var(--ink-soft);
  background: rgba(226, 106, 76, .05);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 1.05rem; line-height: 1.7;
}
.post-body a { text-decoration: underline; text-underline-offset: 3px; }
.post-body a:hover { color: var(--coral); }

/* ==========================================================================
   ARCHIVE
   ========================================================================== */
.archive-head { padding: 60px 0 30px; text-align: center; }
.archive-head h1 { margin-bottom: 10px; }
.archive-head .description { color: var(--ink-soft); max-width: 600px; margin: 0 auto; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info h2 { margin-bottom: 14px; }
.contact-info p  { color: var(--ink-soft); margin-bottom: 24px; }
.contact-details { list-style: none; }
.contact-details li {
  display: flex; gap: 14px; align-items: flex-start;
  margin-bottom: 18px;
}
.contact-details__icon {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(226, 106, 76, .1);
  border: 1px solid rgba(226, 106, 76, .2);
  color: var(--coral);
  display: grid; place-items: center;
}
.contact-details strong { display: block; font-size: .82rem; color: var(--ink); }
.contact-details span   { font-size: .88rem; color: var(--ink-soft); }

/* Form card */
.contact-form-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-md);
  position: relative; overflow: hidden;
}
/* Top accent bar */
.contact-form-box::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--coral-deep), var(--coral), #f07a5a);
}
.contact-form-box label {
  display: block;
  font-size: .7rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 7px;
}
.contact-form-box input[type="text"],
.contact-form-box input[type="email"],
.contact-form-box input[type="tel"],
.contact-form-box select,
.contact-form-box textarea {
  width: 100%; padding: 13px 16px;
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  color: var(--ink);
  font-family: inherit; font-size: .92rem;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
  margin-bottom: 18px;
}
.contact-form-box input:focus,
.contact-form-box textarea:focus,
.contact-form-box select:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(226, 106, 76, .1);
}
.contact-form-box input::placeholder,
.contact-form-box textarea::placeholder { color: var(--muted); }
.contact-form-box textarea { resize: vertical; min-height: 120px; }
.contact-form-box .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 600px) { .contact-form-box .form-row { grid-template-columns: 1fr; } }
.contact-form-box button[type="submit"],
.contact-form-box .wpforms-submit {
  width: 100%; padding: 16px 24px;
  background: linear-gradient(135deg, var(--coral-deep), var(--coral));
  color: #fff; border: 0; border-radius: var(--radius-xs);
  font-family: inherit; font-size: .82rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; cursor: pointer;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
  margin-top: 4px;
}
.contact-form-box button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(226, 106, 76, .35);
}

/* ==========================================================================
   PAGINATION
   ========================================================================== */
.pagination {
  display: flex; gap: 6px;
  justify-content: center;
  margin: 50px 0; flex-wrap: wrap;
}
.pagination .page-numbers {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  color: var(--ink);
  font-size: .85rem; font-weight: 600;
  transition:
    border-color var(--t) var(--ease),
    color var(--t) var(--ease),
    background var(--t) var(--ease);
}
.pagination .page-numbers.current {
  background: var(--coral); color: #fff; border-color: var(--coral);
}
.pagination .page-numbers:hover:not(.current) {
  border-color: var(--coral); color: var(--coral-deep);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer.site {
  background: var(--ink);
  color: rgba(255, 255, 255, .6);
  padding: 72px 0 0;
  margin-top: 60px;
  border-top: 3px solid var(--coral);
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
@media (max-width: 700px) { .foot-grid { grid-template-columns: 1fr; gap: 28px; } }

footer h4 {
  font-family: 'Inter', sans-serif;
  font-size: .62rem; font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--coral); margin-bottom: 18px;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; }
footer a {
  color: rgba(255, 255, 255, .5);
  font-size: .88rem;
  transition: color var(--t) var(--ease);
}
footer a:hover { color: var(--coral); }
.footer-desc { color: rgba(255, 255, 255, .45); font-size: .88rem; max-width: 300px; line-height: 1.65; }

.footer-social { display: flex; gap: 8px; margin-top: 20px; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, .45);
  font-size: .82rem;
  transition: border-color var(--t) var(--ease), color var(--t) var(--ease);
}
.footer-social a:hover { border-color: var(--coral); color: var(--coral); }

.copyright {
  padding: 22px 0;
  font-size: .78rem;
  color: rgba(255, 255, 255, .3);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  align-items: center;
}
@media (max-width: 680px) { .copyright { flex-direction: column; text-align: center; } }

/* ==========================================================================
   STICKY MOBILE ACTION BAR
   ========================================================================== */
.hcc-action-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: var(--ink);
  border-top: 3px solid var(--coral);
  display: grid;
  grid-template-columns: repeat(var(--hcc-action-count, 3), 1fr);
}
.hcc-action-bar a {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  min-width: 0;
  padding: 12px 6px calc(12px + env(safe-area-inset-bottom));
  color: rgba(255, 255, 255, .6);
  font-size: .62rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  border-right: 1px solid rgba(255, 255, 255, .06);
  transition: background var(--t) var(--ease), color var(--t) var(--ease);
  text-decoration: none;
}
.hcc-action-bar a:last-child { border-right: 0; }
.hcc-action-bar a:hover { background: rgba(255, 255, 255, .06); color: var(--coral); }
.hcc-action-bar svg { width: 20px; height: 20px; flex-shrink: 0; }
.hcc-action-bar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }

@media (min-width: 900px)  { .hcc-action-bar { display: none; } }
@media (max-width: 899px)  { body.has-action-bar { padding-bottom: calc(72px + env(safe-area-inset-bottom)); } }

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.hcc-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.hcc-reveal.is-visible { opacity: 1; transform: translateY(0); }
.hcc-reveal-delay-1 { transition-delay: .1s; }
.hcc-reveal-delay-2 { transition-delay: .2s; }
.hcc-reveal-delay-3 { transition-delay: .3s; }
.hcc-reveal-delay-4 { transition-delay: .4s; }

/* ==========================================================================
   WP ALIGNMENT CLASSES
   ========================================================================== */
.alignleft   { float: left;  margin: 0 24px 16px 0; }
.alignright  { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin: 0 auto 16px; }
.alignwide   { max-width: 1000px; margin-left: auto; margin-right: auto; }
.alignfull   { width: 100vw; margin-left: calc(50% - 50vw); }

/* ==========================================================================
   SCREEN READER
   ========================================================================== */
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute; width: 1px; word-wrap: normal !important;
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */
.text-coral  { color: var(--coral)  !important; }
.text-ocean  { color: var(--ocean)  !important; }
.text-muted  { color: var(--muted)  !important; }
.text-center { text-align: center; }
.text-left   { text-align: left; }
.mt-0  { margin-top: 0 !important; }
.mb-0  { margin-bottom: 0 !important; }
.mb-8  { margin-bottom: 8px  !important; }
.mb-16 { margin-bottom: 16px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mb-40 { margin-bottom: 40px !important; }

/* ==========================================================================
   RESPONSIVE OVERRIDES
   ========================================================================== */
@media (max-width: 960px) {
  .hero { padding: 60px 0 48px; }
  section.block { padding: 64px 0; }
}
@media (max-width: 680px) {
  section.block { padding: 52px 0; }
  .cta-band { padding: 52px 0; }
  .hero-grid { gap: 32px; }
  .stats { flex-direction: column; }
  .stat-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat-item:last-child { border-bottom: 0; }
}
@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .cta-band-actions { flex-direction: column; align-items: center; }
  .cta-band-actions .btn { min-width: 200px; justify-content: center; }
}
