/*
Theme Name:   Fringe
Theme URI:    https://example.com/fringe
Author:       Skyhawks Fusion
Description:  Static WordPress theme for Fringe A Salon Inc. — includes a Stylist Profile page template and a simple blog listing.
Version:      1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  fringe
*/

:root {
  --ink: #3f3b38;
  --charcoal: #292725;
  --ivory: #f7f6f2;
  --paper: #fffefa;
  --taupe: #a28d67;
  --mushroom: #d8d0c4;
  --clay: #956151;
  --line: rgba(63, 59, 56, .22);
  --stone: #b5aba5;
  --muted: #6f6a66;
  --font-display: "Julius Sans One", Arial, sans-serif;
  --font-body: "Roboto", Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
}
a { color: inherit; text-decoration: none; }
figure { margin: 0; }

.brand-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 112px;
  display: grid;
  grid-template-columns: minmax(130px, .7fr) minmax(275px, 1fr) minmax(730px, 3.2fr);
  align-items: center;
  padding: 0 1.5vw;
  color: #4b4743;
  background: var(--ivory);
  border-bottom: 1px solid rgba(63,59,56,.08);
  box-shadow: 0 7px 30px rgba(53,47,42,.04);
}

.gift-link {
  font-size: clamp(.75rem, 1.1vw, 1rem);
  font-weight: 600;
  letter-spacing: .08em;
  white-space: nowrap;
}

.brand-logo {
  display: block;
  justify-self: center;
  width: min(315px, 100%);
}

.brand-logo img,
.footer-logo img {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: normal;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(1rem, 1.65vw, 2rem);
  min-width: 0;
}

.desktop-nav > a:not(.book-button),
.nav-menu > summary {
  font-size: clamp(.68rem, 1vw, .88rem);
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  white-space: nowrap;
}

.desktop-nav > a:not(.book-button),
.nav-menu > summary,
.gift-link { transition: opacity 180ms ease; }
.desktop-nav > a:not(.book-button):hover,
.nav-menu > summary:hover,
.gift-link:hover { opacity: .55; }

.nav-menu { position: relative; }
.nav-menu summary { cursor: pointer; list-style: none; }
.nav-menu summary::-webkit-details-marker { display: none; }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 1.3rem);
  left: -1rem;
  width: 190px;
  padding: .7rem;
  color: var(--ivory);
  background: var(--charcoal);
  box-shadow: 0 18px 50px rgba(30,28,26,.18);
}

.nav-dropdown-right { left: auto; right: -1rem; }
.nav-dropdown a {
  display: block;
  padding: .75rem .8rem;
  font-size: .75rem;
  letter-spacing: .04em;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.nav-dropdown a:last-child { border: 0; }
.nav-dropdown a:hover { color: var(--charcoal); background: var(--mushroom); }

.social-icons {
  width: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  color: #4d4945;
}

.social-icons > span {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  line-height: 1;
}

.facebook-icon {
  font-family: Arial, sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  transform: translateY(-1px);
}
.instagram-icon { position: relative; border: 2px solid currentColor; border-radius: 6px; }
.instagram-icon::before {
  content: "";
  width: 8px;
  height: 8px;
  border: 2px solid currentColor;
  border-radius: 50%;
}
.instagram-icon::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 2px;
  height: 2px;
  background: currentColor;
  border-radius: 50%;
}
.book-button {
  min-width: 154px;
  min-height: 58px;
  display: inline-grid;
  place-items: center;
  padding: 0 1.5rem;
  color: white;
  background: var(--taupe);
  border: 1px solid var(--taupe);
  border-radius: 3px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease;
}
.book-button:hover { color: var(--taupe); background: transparent; }
.mobile-actions { display: none; }

.hero {
  min-height: calc(100svh - 112px);
  display: grid;
  grid-template-columns: 52% 48%;
  background: var(--ivory);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8vw 5vw 6vw;
}
.eyebrow,
.section-kicker {
  margin: 0 0 2rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  font-size: clamp(4.5rem, 8.2vw, 8.7rem);
  font-weight: 700;
  line-height: .79;
  letter-spacing: -.075em;
}
.hero h1 em,
.stylist-title h2 em,
.editorial-copy h3 em,
.services-heading h3 em,
.education-block h3 em,
.manifesto h3 em,
.site-footer h2 em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
.hero-intro {
  max-width: 35rem;
  margin: 3rem 0 2rem 16%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
  font-style: italic;
  line-height: 1.45;
}
.text-link {
  max-width: 27rem;
  display: flex;
  justify-content: space-between;
  margin-left: 16%;
  padding: 1rem 0;
  border-top: 1px solid var(--ink);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.hero-visual { position: relative; min-height: 640px; overflow: hidden; }
.image-frame { position: relative; overflow: hidden; }
.image-frame img { width: 100%; height: 100%; display: block; object-fit: cover; }
.hero-image { position: absolute; inset: 0; }
.hero-image img { filter: grayscale(1) contrast(1.03); }
.hero-label {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  grid-template-columns: 30% 1fr;
  padding: 5rem 2rem 1.5rem;
  color: white;
  background: linear-gradient(transparent, rgba(0,0,0,.72));
  font-size: .68rem;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.hero-label p { margin: 0; line-height: 1.5; }

.specialty-strip {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 2rem;
  padding: 1.3rem 3vw;
  color: white;
  background: var(--taupe);
  border-block: 1px solid rgba(0,0,0,.16);
  font-size: clamp(.72rem, 1.1vw, .95rem);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.specialty-strip b { color: var(--ivory); }
.stylist { scroll-margin-top: 112px; }

.stylist-header {
  position: relative;
  display: grid;
  grid-template-columns: 48% 52%;
  min-height: 760px;
  background: var(--paper);
}
.stylist-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8vw 5vw;
}
.stylist-title h2,
.editorial-copy h3,
.services-heading h3,
.education-block h3,
.manifesto h3 {
  margin: 0;
  font-size: clamp(3.7rem, 6vw, 6.8rem);
  font-weight: 700;
  line-height: .84;
  letter-spacing: -.065em;
}
.stylist-title > p:last-child {
  max-width: 30rem;
  margin: 3rem 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.45;
}
.profile-feature-image { min-height: 760px; }
.profile-stat {
  position: absolute;
  z-index: 2;
  right: calc(52% - 5.5rem);
  bottom: 4.5rem;
  width: 11rem;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 1.4rem;
  text-align: center;
  color: white;
  background: var(--taupe);
  border-radius: 50%;
  transform: none;
}
.profile-stat strong { font-size: 3.4rem; line-height: 1; letter-spacing: -.06em; }
.profile-stat span { font-size: .6rem; line-height: 1.45; letter-spacing: .1em; text-transform: uppercase; }

.editorial-copy {
  padding: 9rem 7vw;
  background: var(--ivory);
}
.split-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .86fr);
  gap: 10vw;
  align-items: start;
}
.body-copy {
  max-width: 42rem;
  font-size: clamp(1.1rem, 1.6vw, 1.45rem);
  line-height: 1.55;
}
.body-copy p { margin: 0 0 1.5rem; }

.services-section {
  display: grid;
  grid-template-columns: 42% 58%;
  color: var(--ivory);
  background: var(--charcoal);
}
.services-heading {
  position: sticky;
  top: 112px;
  align-self: start;
  min-height: calc(100svh - 112px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7rem 5vw;
  border-right: 1px solid rgba(255,255,255,.18);
}
.services-heading > p:last-child {
  max-width: 26rem;
  margin: 3rem 0 0;
  color: rgba(255,255,255,.65);
  line-height: 1.6;
}
.service-list { margin: 0; padding: 0; list-style: none; }
.service-list li {
  min-height: 88px;
  display: grid;
  grid-template-columns: 4rem 1fr auto;
  align-items: center;
  padding: 1rem 4vw 1rem 2rem;
  border-bottom: 1px solid rgba(255,255,255,.18);
  transition: color 180ms ease, background 180ms ease;
}
.service-list li:hover { color: var(--charcoal); background: var(--mushroom); }
.service-list li span { font-size: .6rem; opacity: .6; }
.service-list li p { margin: 0; font-size: clamp(1.15rem, 1.8vw, 1.8rem); letter-spacing: -.02em; }
.service-list li i { font-style: normal; }

.image-story {
  display: grid;
  grid-template-columns: 38% 24% 38%;
  grid-template-rows: 340px 500px;
  color: white;
  background: var(--clay);
}
.image-story figure { position: relative; }
.image-story figure::after {
  content: "";
  position: absolute;
  inset: 48% 0 0;
  background: linear-gradient(transparent, rgba(0,0,0,.62));
}
.image-story figcaption {
  position: absolute;
  z-index: 2;
  inset: auto 1.3rem 1.3rem;
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.image-tall { grid-row: 1 / 3; }
.image-wide { grid-column: 2 / 4; grid-row: 2; }
.fit-card {
  grid-column: 2 / 4;
  grid-row: 1;
  padding: 3.2rem;
  background: var(--clay);
}
.fit-card .fit-lead {
  max-width: 31rem;
  margin: 0 0 1.3rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 2.5vw, 2.8rem);
  font-style: italic;
  line-height: 1.05;
  letter-spacing: -.03em;
}
.fit-card > p:last-child { max-width: 48rem; margin: 0; line-height: 1.6; }

.education-block {
  display: grid;
  grid-template-columns: 43% minmax(0, 1fr);
  gap: 8vw;
  padding: 9rem 6vw;
  background: var(--mushroom);
}
.education-block > div > p:last-child {
  max-width: 30rem;
  margin: 3rem 0 0;
  font-size: 1.08rem;
  line-height: 1.6;
}
.education-list { margin: 0; padding: 0; list-style: none; }
.education-list li {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--ink);
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  line-height: 1.4;
}
.education-list li:last-child { border-bottom: 1px solid var(--ink); }
.education-list span { padding-top: .25rem; font-size: .62rem; }

.requested { padding: 7rem 4vw; text-align: center; background: var(--ivory); }
.requested .section-kicker { margin-bottom: 3rem; }
.tag-list { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; }
.tag-list span {
  padding: .82rem 1.2rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: clamp(.8rem, 1.1vw, .98rem);
  transition: color 180ms ease, background 180ms ease;
}
.tag-list span:hover { color: white; background: var(--ink); }

.love-quote {
  position: relative;
  margin: 0;
  padding: 9rem 8vw 5rem;
  color: var(--ivory);
  background: var(--charcoal);
}
.quote-mark {
  position: absolute;
  top: 3.8rem;
  left: 4vw;
  color: var(--taupe);
  font-family: Georgia, serif;
  font-size: 7rem;
  line-height: 1;
}
.love-quote > p {
  max-width: 1200px;
  margin: 0 auto 6rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 5.6vw, 5.8rem);
  font-style: italic;
  line-height: .98;
  letter-spacing: -.045em;
  text-align: center;
}
.love-quote footer {
  display: flex;
  justify-content: space-between;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255,255,255,.3);
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.manifesto {
  min-height: 720px;
  display: grid;
  grid-template-columns: 48% 52%;
  color: var(--ink);
  background: var(--paper);
}
.manifesto-image { min-height: 720px; }
.manifesto > div:last-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7rem 6vw;
}
.manifesto > div:last-child > p:last-child {
  max-width: 34rem;
  margin: 3rem 0 0;
  font-size: 1.15rem;
  line-height: 1.6;
}

.site-footer {
  padding: 8rem 4vw 2rem;
  color: var(--ivory);
  background: var(--charcoal);
  text-align: center;
}
.site-footer h2 {
  margin: 0 auto 4rem;
  font-size: clamp(3.8rem, 7.8vw, 8.8rem);
  line-height: .84;
  letter-spacing: -.07em;
}
.footer-cta {
  min-width: 280px;
  display: inline-flex;
  justify-content: space-between;
  gap: 3rem;
  padding: 1.3rem 1.5rem;
  color: white;
  background: var(--taupe);
  border: 1px solid var(--taupe);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.footer-cta:hover { color: var(--taupe); background: transparent; }
.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-top: 6rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.25);
  font-size: .63rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.footer-logo { width: 210px; padding: .35rem; background: var(--ivory); }
.footer-bottom p { margin: 0; }
.footer-bottom > a:last-child { justify-self: end; }

@media (max-width: 1120px) {
  .brand-header { grid-template-columns: 260px 1fr; min-height: 96px; padding: 0 2.5vw; }
  .gift-link, .desktop-nav { display: none; }
  .brand-logo { justify-self: start; width: 250px; }
  .mobile-actions { display: flex; justify-self: end; align-items: center; gap: .8rem; }
  .mobile-menu { position: relative; }
  .mobile-menu > summary {
    cursor: pointer;
    list-style: none;
    padding: .8rem;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
  }
  .mobile-menu > summary::-webkit-details-marker { display: none; }
  .mobile-menu > nav {
    position: absolute;
    top: calc(100% + 1.5rem);
    right: 0;
    width: 260px;
    padding: 1.3rem;
    color: var(--ivory);
    background: var(--charcoal);
    box-shadow: 0 20px 50px rgba(0,0,0,.2);
  }
  .mobile-menu nav > a,
  .mobile-menu .nav-menu > summary {
    display: block;
    padding: .75rem 0;
    border-bottom: 1px solid rgba(255,255,255,.18);
    font-size: .73rem;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  .mobile-menu .nav-dropdown { position: static; width: 100%; padding: .4rem 0 .7rem .8rem; box-shadow: none; }
  .mobile-menu .nav-dropdown a { padding: .55rem; }
  .mobile-book { min-width: 86px; min-height: 44px; }
  .hero { min-height: calc(100svh - 96px); }
  .stylist, #about, #services, #education, #requested, #client-love, #booking { scroll-margin-top: 96px; }
  .services-heading { top: 96px; min-height: calc(100svh - 96px); }
}

@media (max-width: 800px) {
  .brand-header { grid-template-columns: minmax(150px, 1fr) auto; min-height: 78px; padding: 0 4vw; }
  .brand-logo { width: min(220px, 58vw); }
  .mobile-book { min-width: 72px; min-height: 42px; padding: 0 .8rem; }
  .mobile-menu > summary { font-size: 0; }
  .mobile-menu > summary::before { content: "☰"; font-size: 1.25rem; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { min-height: 68svh; padding: 7rem 5vw 4rem; }
  .hero h1 { font-size: clamp(4rem, 18vw, 6.3rem); }
  .hero-intro, .text-link { margin-left: 0; }
  .hero-visual { min-height: 78svh; }
  .specialty-strip { justify-content: flex-start; overflow-x: auto; }
  .stylist-header { grid-template-columns: 1fr; min-height: auto; }
  .stylist-title { min-height: 65svh; padding: 6rem 5vw 4rem; }
  .stylist-title h2, .editorial-copy h3, .services-heading h3, .education-block h3, .manifesto h3 {
    font-size: clamp(3.5rem, 15vw, 5.4rem);
  }
  .profile-feature-image { min-height: 75svh; }
  .profile-stat { right: 1rem; bottom: 70svh; width: 8.5rem; }
  .profile-stat strong { font-size: 2.7rem; }
  .editorial-copy { padding: 6rem 5vw; }
  .split-copy { grid-template-columns: 1fr; gap: 3rem; }
  .services-section { grid-template-columns: 1fr; }
  .services-heading { position: relative; top: auto; min-height: auto; padding: 6rem 5vw; border-right: 0; }
  .service-list li { grid-template-columns: 3rem 1fr auto; min-height: 75px; padding: 1rem 5vw; }
  .image-story { grid-template-columns: 1fr; grid-template-rows: auto; }
  .image-tall, .image-wide, .fit-card { grid-column: 1; grid-row: auto; }
  .image-tall { min-height: 80svh; }
  .fit-card { padding: 4rem 5vw; }
  .image-wide { min-height: 55svh; }
  .education-block { grid-template-columns: 1fr; gap: 4rem; padding: 6rem 5vw; }
  .requested { padding: 5rem 5vw; }
  .love-quote { padding: 8rem 5vw 4rem; }
  .quote-mark { top: 3rem; }
  .love-quote > p { margin-bottom: 4rem; }
  .love-quote footer { gap: 2rem; }
  .manifesto { grid-template-columns: 1fr; min-height: auto; }
  .manifesto-image { min-height: 70svh; }
  .manifesto > div:last-child { padding: 6rem 5vw; }
  .site-footer { padding-top: 6rem; }
  .footer-bottom { grid-template-columns: 1fr auto; gap: 2rem; }
  .footer-bottom p { display: none; }
  .footer-logo { width: 150px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   WordPress additions (additive — original design styles above are untouched)
   ========================================================================== */

/* Keep the sticky header below the WP admin bar when logged in */
.admin-bar .brand-header { top: 32px; }
@media (max-width: 782px) {
  .admin-bar .brand-header { top: 46px; }
}
@media (max-width: 600px) {
  .admin-bar .brand-header { top: 0; }
}

/* WordPress core helpers */
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}
.alignleft { float: left; margin: .4rem 2rem 1.5rem 0; }
.alignright { float: right; margin: .4rem 0 1.5rem 2rem; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption-text { font-size: .75rem; letter-spacing: .06em; opacity: .7; }
img { max-width: 100%; height: auto; }

/* ---------- Blog: listing header ---------- */
.blog-hero {
  padding: 9rem 5vw 5rem;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
}
.blog-hero h1 {
  margin: 0;
  font-size: clamp(3.7rem, 7vw, 7.4rem);
  font-weight: 700;
  line-height: .84;
  letter-spacing: -.065em;
}
.blog-hero h1 em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
.blog-hero-intro {
  max-width: 34rem;
  margin: 2.5rem 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  font-style: italic;
  line-height: 1.45;
}

/* ---------- Blog: post list ---------- */
.blog-list {
  padding: 5rem 5vw 7rem;
  background: var(--paper);
}
.post-list { margin: 0; padding: 0; list-style: none; }
.post-card {
  display: grid;
  grid-template-columns: 4rem minmax(0, 360px) minmax(0, 1fr);
  gap: 3vw;
  align-items: start;
  padding: 3rem 0;
  border-top: 1px solid var(--ink);
}
.post-card:last-child { border-bottom: 1px solid var(--ink); }
.post-card.no-thumb { grid-template-columns: 4rem minmax(0, 1fr); }
.post-card-index { padding-top: .4rem; font-size: .62rem; }
.post-card-thumb { aspect-ratio: 4 / 3; }
.post-card-thumb img { transition: transform 500ms ease; }
.post-card:hover .post-card-thumb img { transform: scale(1.03); }
.post-card-meta {
  margin: 0 0 1.2rem;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .75;
}
.post-card-title {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.045em;
}
.post-card-title a { transition: opacity 180ms ease; }
.post-card-title a:hover { opacity: .6; }
.post-card-excerpt {
  max-width: 40rem;
  margin: 1.4rem 0 1.6rem;
  font-size: 1.05rem;
  line-height: 1.6;
}
.post-card-excerpt p { margin: 0; }
.post-card .text-link { margin-left: 0; max-width: 16rem; }

/* ---------- Blog: pagination ---------- */
.blog-pagination { margin-top: 4rem; }
.blog-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem;
}
.blog-pagination .page-numbers {
  min-width: 46px;
  min-height: 46px;
  display: inline-grid;
  place-items: center;
  padding: 0 1rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease;
}
.blog-pagination a.page-numbers:hover,
.blog-pagination .page-numbers.current { color: white; background: var(--ink); }
.blog-pagination .page-numbers.dots { border-color: transparent; }

/* ---------- Blog: empty state ---------- */
.no-posts { padding: 4rem 0; text-align: center; }
.no-posts h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -.05em;
}

/* ---------- Single post / default page ---------- */
.entry {
  max-width: 820px;
  margin: 0 auto;
  padding: 8rem 5vw 7rem;
}
.entry-header { margin-bottom: 3rem; }
.entry-title {
  margin: 0;
  font-size: clamp(2.8rem, 5.5vw, 5.4rem);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -.06em;
}
.entry-thumb { margin-bottom: 3rem; aspect-ratio: 16 / 10; }
.entry-content {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.7;
}
.entry-content h2,
.entry-content h3 { margin: 2.5rem 0 1rem; letter-spacing: -.03em; line-height: 1.1; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content blockquote {
  margin: 2.5rem 0;
  padding-left: 1.5rem;
  border-left: 3px solid var(--taupe);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-style: italic;
}
.entry-footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.entry-footer .text-link { margin-left: 0; }

@media (max-width: 800px) {
  .blog-hero { padding: 7rem 5vw 4rem; }
  .blog-list { padding: 3rem 5vw 5rem; }
  .post-card,
  .post-card.no-thumb { grid-template-columns: 1fr; gap: 1.5rem; padding: 2.5rem 0; }
  .post-card-index { display: none; }
  .entry { padding: 6rem 5vw 5rem; }
}

/* ==========================================================================
   Shared: textured background (assets/images/bgcolor.webp)
   Set --texture-tint on a section to darken/recolor it.
   ========================================================================== */
.textured {
  background:
    linear-gradient(var(--texture-tint, transparent), var(--texture-tint, transparent)),
    url("assets/images/bgcolor.webp") center / cover,
    var(--stone);
}

/* ==========================================================================
   Main footer (site-wide)
   ========================================================================== */
.main-footer {
  --texture-tint: rgba(52, 46, 42, .74);
  color: #f1eeea;
  font-family: var(--font-body);
  font-weight: 300;
}
.main-footer a { transition: opacity 180ms ease; }
.main-footer a:hover { opacity: .7; }

.main-footer-grid {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 3rem 2.5rem;
  padding: 4.5rem 5vw 5rem;
}
.footer-title {
  margin: 0 0 2.2rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.5vw, 1.5rem);
  font-weight: 400;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.footer-address,
.footer-hours {
  margin: 0;
  padding: 0;
  font-size: 1.125rem;
  font-style: normal;
  line-height: 1.5;
  letter-spacing: .07em;
  list-style: none;
}
.footer-strong {
  font-weight: 700;
  color: #e5dfd9;
}
.footer-call {
  display: inline-block;
  margin-top: 1.6rem;
  font-size: 1.4rem;
  letter-spacing: .1em;
}
.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 1.125rem;
  line-height: 1.55;
  letter-spacing: .03em;
}
.footer-links a { display: inline-flex; align-items: center; gap: .45rem; }
.footer-links img { width: 20px; height: 20px; border-radius: 2px; }
.footer-app-text {
  margin: 0 0 2.2rem;
  font-size: 1rem;
  font-style: italic;
  line-height: 1.6;
}
.footer-badges {
  display: grid;
  gap: 1.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-badges img { width: 190px; height: auto; border-radius: 8px; }

.footer-bar {
  padding: 1rem 5vw 1.1rem;
  color: #f1eeea;
  background: #3b3a39;
  text-align: center;
}
.footer-bar p { margin: 0; }
.footer-areas { font-size: .85rem; line-height: 1.6; }
.footer-copy { margin-top: .7rem !important; font-size: 1rem; line-height: 1.6; }

@media (max-width: 1120px) {
  .main-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .main-footer-grid { grid-template-columns: 1fr; gap: 2.8rem; padding: 3.5rem 6vw 4rem; }
  .footer-title { margin-bottom: 1.2rem; }
  .footer-badges { grid-template-columns: repeat(2, max-content); gap: 1rem; }
  .footer-badges img { width: 150px; }
}

.social-icons span {
    cursor: pointer;
}

.service-list h4 {
    margin: 0 0 .85rem;
    font-size: clamp(1.25rem, 1.9vw, 1.9rem);
    font-weight: 400;
    line-height: 1.22;
    letter-spacing: -.025em;
}
.service-list li p.service-description {
    font-size: 1rem;
    line-height: 1.65;
    letter-spacing: 0;
    opacity: .8;
}
.service-list li {
    padding-top: 2.2rem;
    padding-bottom: 2.2rem;
    align-items: start;
}
ol.education-list h4 {
    margin: 0;
}.education-list li p {
    font-size: 15px;
    margin-top: 6px;
}