/*
Theme Name: AiRCO 2026
Theme URI: https://aircomechanical.com
Author: Thrive Digital Consulting
Description: Custom theme for AiRCO Mechanical — HVAC, Electrical & Plumbing in Central Texas. Navy/orange brand system, SEO and AI-SEO optimized.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: airco-2026
*/

/* ============================================================
   Design tokens
   ============================================================ */
:root {
  --paper: #FCFCFB;
  --card: #FFFFFF;
  --ink: #171C2E;
  --muted: #5A6172;
  --line: #E7E8EC;
  --navy: #23308F;
  --navy-text: #23308F;
  --navy-deep: #171F5C;
  --hero-ground: #0E1430;
  --orange: #F58220;
  --orange-deep: #E06E0A;
  --shadow: 0 1px 2px rgba(23,31,92,.05), 0 12px 32px rgba(23,31,92,.06);
  --shadow-lift: 0 2px 4px rgba(23,31,92,.06), 0 18px 44px rgba(23,31,92,.10);
  --logo: "Bahnschrift", "Avenir Next Condensed", "Franklin Gothic Medium", "Arial Narrow", sans-serif;
  --display: "Segoe UI", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --body: "Segoe UI", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Code", "SF Mono", Consolas, monospace;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #10141F; --card: #161C2C; --ink: #E8EAF2; --muted: #99A2B8;
    --line: #262E44; --navy-text: #A9B4F5; --navy-deep: #141A3E; --hero-ground: #0B1026;
    --orange-deep: #F58220;
    --shadow: 0 1px 2px rgba(0,0,0,.35), 0 12px 32px rgba(0,0,0,.35);
    --shadow-lift: 0 2px 4px rgba(0,0,0,.4), 0 18px 44px rgba(0,0,0,.5);
  }
}
:root[data-theme="light"] {
  --paper: #FCFCFB; --card: #FFFFFF; --ink: #171C2E; --muted: #5A6172;
  --line: #E7E8EC; --navy-text: #23308F; --navy-deep: #171F5C; --hero-ground: #0E1430;
  --orange-deep: #E06E0A;
  --shadow: 0 1px 2px rgba(23,31,92,.05), 0 12px 32px rgba(23,31,92,.06);
  --shadow-lift: 0 2px 4px rgba(23,31,92,.06), 0 18px 44px rgba(23,31,92,.10);
}
:root[data-theme="dark"] {
  --paper: #10141F; --card: #161C2C; --ink: #E8EAF2; --muted: #99A2B8;
  --line: #262E44; --navy-text: #A9B4F5; --navy-deep: #141A3E; --hero-ground: #0B1026;
  --orange-deep: #F58220;
  --shadow: 0 1px 2px rgba(0,0,0,.35), 0 12px 32px rgba(0,0,0,.35);
  --shadow-lift: 0 2px 4px rgba(0,0,0,.4), 0 18px 44px rgba(0,0,0,.5);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 16.5px; line-height: 1.7;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
section { padding: 100px 0; }

.kicker {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: .7rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--navy-text); margin: 0 0 20px;
}
.kicker::before { content: ""; width: 34px; height: 2px; background: var(--orange); flex: none; }
h2 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  font-weight: 700; letter-spacing: -0.022em; line-height: 1.12; color: var(--ink);
}
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head > p { color: var(--muted); margin: 18px 0 0; font-size: 1.05rem; }

/* Logo */
.logo { text-decoration: none; display: inline-block; line-height: 1; }
.logo-word { font-family: var(--logo); font-weight: 700; letter-spacing: .005em; font-size: 1.72rem; color: var(--navy-text); display: block; }
.logo-word .co { color: var(--orange); }
.logo-word .iiq { position: relative; display: inline-block; }
.logo-word .iiq::before {
  content: ""; position: absolute; top: .06em; left: 50%; transform: translateX(-50%);
  width: .22em; height: .22em; background: var(--orange);
}
.logo-sub { display: block; font-family: var(--logo); font-weight: 400; font-size: .56rem; letter-spacing: .58em; text-transform: uppercase; color: var(--navy-text); margin-top: 5px; }
.logo--footer .logo-word { font-size: 2.3rem; color: #fff; }
.logo--footer .logo-sub { color: #C9CFF2; font-size: .72rem; margin-top: 7px; }
.logo-trades { display: block; font-family: var(--logo); font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: #C9CFF2; margin-top: 14px; padding-top: 12px; border-top: 2px solid var(--orange); width: max-content; }
.custom-logo-link { display: inline-block; line-height: 1; }
.custom-logo { max-height: 56px; width: auto; display: block; }
.foot-logo-img { max-width: 240px; height: auto; display: block; }
.photo .photo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.foot-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.foot-actions .btn { padding: 10px 18px; font-size: .82rem; }
.foot-nap strong { color: #fff; }
.foot-social a { color: #D5DAF3; text-decoration: none; }
.foot-social a:hover { color: #fff; text-decoration: underline; }
.foot-legal a { color: inherit; }

/* Header */
header.site {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-inner { display: flex; align-items: center; gap: 36px; padding: 15px 0; }
nav.main { display: flex; gap: 30px; margin-left: auto; }
nav.main ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 30px; }
nav.main a {
  text-decoration: none; font-size: .93rem; font-weight: 500; color: var(--muted);
  padding: 6px 0; position: relative; transition: color .18s ease;
}
nav.main a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--orange); transition: right .22s ease; }
nav.main a:hover { color: var(--ink); }
nav.main a:hover::after { right: 0; }
.head-phone { text-align: right; text-decoration: none; line-height: 1.25; }
.head-phone b { font-size: 1.02rem; font-weight: 700; color: var(--ink); display: block; font-variant-numeric: tabular-nums; }
.head-phone span { font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.btn {
  display: inline-block; text-decoration: none; text-align: center; cursor: pointer;
  font-family: var(--display); font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  padding: 14px 28px; border-radius: 6px; border: 1.5px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn-primary { background: var(--orange); color: #131A45; box-shadow: 0 4px 14px rgba(245,130,32,.28); }
.btn-primary:hover { background: var(--orange-deep); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(245,130,32,.34); }
.btn-secondary { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-secondary:hover { border-color: var(--navy-text); transform: translateY(-1px); }
.btn-on-dark { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-on-dark:hover { border-color: #fff; transform: translateY(-1px); }
header .btn { padding: 11px 22px; font-size: .88rem; }

/* Photo slots (real photos drop in here) */
.photo {
  position: relative; overflow: hidden;
  background:
    linear-gradient(160deg, rgba(35,48,143,.5), rgba(14,20,48,.15) 55%, rgba(245,130,32,.45)),
    radial-gradient(120% 90% at 20% 15%, #24347E 0%, #131A3C 55%, #0E1430 100%);
}
.photo::before { content: ""; position: absolute; inset: 0; background: var(--grain); mix-blend-mode: overlay; opacity: .8; }
.photo-tag {
  position: absolute; left: 12px; bottom: 10px; z-index: 2;
  font-family: var(--mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.7); background: rgba(14,20,48,.65); padding: 4px 9px; border-radius: 3px;
}

/* ---- HERO ---- */
.hero { position: relative; background: var(--hero-ground); overflow: hidden; }
.hero .photo.hero-bg { position: absolute; inset: 0; }
.hero .photo.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(14,20,48,.92) 25%, rgba(14,20,48,.55) 60%, rgba(14,20,48,.75) 100%);
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center;
  padding: 110px 0 96px;
}
.hero .kicker { color: #C9CFF2; }
.hero h1 {
  font-family: var(--logo);
  font-size: clamp(3rem, 7.4vw, 5.6rem);
  font-weight: 700; text-transform: uppercase; letter-spacing: .01em; line-height: .98;
  color: #fff; margin: 0 0 24px;
}
.hero h1 .o { color: var(--orange); }
.hero .lede { font-size: 1.15rem; color: #C7CEE9; max-width: 30em; margin: 0 0 36px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 42px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 36px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.16); }
.hero-proof span { font-size: .88rem; color: #9FA9CE; }
.hero-proof b { color: #fff; font-weight: 700; margin-right: 7px; font-variant-numeric: tabular-nums; }

/* Dispatch card — glows on the dark hero */
.dispatch {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 24px 64px rgba(0,0,0,.45); padding: 30px; position: relative;
}
.dispatch-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.dispatch-head .label { font-family: var(--mono); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.live { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--navy-text); }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
@media (prefers-reduced-motion: no-preference) {
  .live i { animation: pulse 2s ease-in-out infinite; }
  @keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
}
.dispatch-temp { display: flex; align-items: baseline; gap: 16px; }
.dispatch-temp b { font-family: var(--logo); font-size: 3.6rem; font-weight: 700; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.dispatch-temp b sup { font-size: 1.3rem; color: var(--orange); }
.dispatch-temp span { color: var(--muted); font-size: .92rem; }
.dispatch-rows { margin-top: 24px; border-top: 1px solid var(--line); }
.dispatch-row { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.dispatch-row span { color: var(--muted); }
.dispatch-row b { font-weight: 600; color: var(--ink); }
.dispatch-row b.ok { color: var(--navy-text); }
.dispatch .btn { width: 100%; margin-top: 22px; }

/* City marquee */
.marquee { border-bottom: 1px solid var(--line); overflow: hidden; padding: 15px 0; background: var(--card); }
.marquee-track { display: flex; width: max-content; }
.marquee-seq {
  display: flex; align-items: center; flex: none;
  font-family: var(--logo); font-weight: 700; font-size: .9rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
.marquee-seq span { padding: 0 24px; white-space: nowrap; }
.marquee-seq i { font-style: normal; color: var(--orange); }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: slide 44s linear infinite; }
  @keyframes slide { to { transform: translateX(-50%); } }
}

/* Specials strip */
.strip {
  background: color-mix(in srgb, var(--orange) 9%, var(--paper));
  border-bottom: 1px solid color-mix(in srgb, var(--orange) 28%, transparent);
  padding: 15px 0;
}
.strip-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 28px; text-align: center; }
.strip b { font-weight: 700; color: var(--ink); }
.strip span { color: var(--muted); font-size: .95rem; }
.strip a { color: var(--navy-text); font-weight: 650; text-decoration: none; white-space: nowrap; }
.strip a:hover { text-decoration: underline; }

/* Trades */
.trades-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.trade {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform .22s ease, box-shadow .22s ease;
}
.trade:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.trade .photo { aspect-ratio: 16/8; }
.trade-body { padding: 26px 30px 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.trade-num { font-family: var(--mono); font-size: .68rem; letter-spacing: .2em; color: var(--muted); text-transform: uppercase; }
.trade h3 { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.015em; color: var(--ink); }
.trade ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; color: var(--muted); font-size: .95rem; }
.trade li { padding-left: 20px; position: relative; }
.trade li::before { content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 2px; background: var(--orange); }
.trade .more { margin-top: auto; padding-top: 16px; font-weight: 600; font-size: .93rem; color: var(--navy-text); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.trade .more::after { content: "→"; transition: transform .18s ease; }
.trade .more:hover::after { transform: translateX(4px); }

/* Commercial band */
.band { background: var(--navy-deep); color: #E9EBF8; padding: 96px 0; }
.band .kicker { color: #C9CFF2; }
.band h2 { color: #fff; }
.band-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.band p { color: #BFC7ED; font-size: 1.04rem; max-width: 36em; }
.band .photo { aspect-ratio: 16/9; border-radius: 12px; }
.num-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 64px; padding-top: 52px; border-top: 1px solid rgba(255,255,255,.14); }
.num b {
  display: block; font-family: var(--logo); font-weight: 700;
  font-size: clamp(2.8rem, 5.6vw, 4.4rem); line-height: .95;
  color: #fff; font-variant-numeric: tabular-nums;
}
.num b i { font-style: normal; color: var(--orange); }
.num span { display: block; margin-top: 8px; font-family: var(--mono); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: #97A1D0; }

/* Membership */
.member-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.member-copy p { color: var(--muted); font-size: 1.04rem; }
.member-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lift); overflow: hidden; }
.member-card-head { padding: 26px 32px; border-bottom: 2px solid var(--orange); display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.member-card-head h3 { font-size: 1.15rem; font-weight: 700; }
.member-card-head .price { font-family: var(--logo); font-size: 2rem; font-weight: 700; color: var(--navy-text); font-variant-numeric: tabular-nums; }
.member-card-head .price small { font-size: .82rem; font-family: var(--body); font-weight: 400; color: var(--muted); }
.member-card-body { padding: 28px 32px 32px; }
.member-card-body ul { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 13px; font-size: .96rem; color: var(--muted); }
.member-card-body li { padding-left: 30px; position: relative; }
.member-card-body li::before {
  content: "✓"; position: absolute; left: 0; top: -1px;
  width: 19px; height: 19px; border-radius: 50%;
  background: color-mix(in srgb, var(--orange) 16%, transparent);
  color: var(--orange-deep); font-size: .7rem; font-weight: 700;
  display: grid; place-items: center;
}
.member-card-body .btn { width: 100%; }
.member-note { font-size: .84rem; color: var(--muted); margin: 14px 0 0; text-align: center; }

/* Reviews */
.quote-hero { max-width: 880px; margin-bottom: 56px; }
.quote-hero blockquote {
  margin: 0 0 22px; font-family: var(--logo); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.6rem, 3.8vw, 2.7rem); line-height: 1.12; color: var(--ink);
}
.quote-hero blockquote .o { color: var(--orange); }
.quote-hero cite { font-style: normal; font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.rev-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.rev { border-top: 2px solid var(--navy-text); padding: 24px 4px 0; }
.rev .stars { color: var(--orange); font-size: .82rem; letter-spacing: .16em; margin-bottom: 12px; }
.rev blockquote { margin: 0 0 16px; font-size: 1.01rem; line-height: 1.65; color: var(--ink); }
.rev cite { font-style: normal; font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.faq-intro p { color: var(--muted); }
details { border-bottom: 1px solid var(--line); }
summary {
  cursor: pointer; list-style: none; position: relative;
  font-weight: 650; font-size: 1.06rem; padding: 22px 44px 22px 0; color: var(--ink);
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; position: absolute; right: 6px; top: 50%;
  width: 12px; height: 12px; transform: translateY(-50%);
  border-right: 2px solid var(--orange); border-bottom: 2px solid var(--orange);
  rotate: 45deg; transition: rotate .2s ease;
}
details[open] summary::after { rotate: 225deg; }
details p { margin: 0 0 26px; color: var(--muted); max-width: 60ch; }

/* Area */
.area-cities { display: flex; flex-wrap: wrap; gap: 10px; max-width: 760px; margin-top: 8px; }
.area-cities span { font-size: .9rem; font-weight: 500; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 7px 18px; background: var(--card); }

/* Finale */
.finale { background: var(--navy-deep); text-align: center; padding: 110px 0; position: relative; overflow: hidden; }
.finale::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 90% at 50% 100%, rgba(245,130,32,.18), transparent 70%); pointer-events: none; }
.finale h2 {
  font-family: var(--logo); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1; color: #fff; margin-bottom: 34px; position: relative;
}
.finale h2 .o { color: var(--orange); }
.finale .btn { position: relative; }

/* Footer */
footer.site { background: var(--hero-ground); color: #E8EAF6; padding: 72px 0 36px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; }
.foot-grid h4 { font-family: var(--mono); font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: #9AA5DE; margin: 0 0 16px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: .92rem; }
.foot-grid a { text-decoration: none; color: #D5DAF3; }
.foot-grid a:hover { color: #fff; text-decoration: underline; }
.foot-nap { font-size: .92rem; color: #C4CBEE; line-height: 1.9; margin-top: 22px; font-style: normal; }
.foot-nap a { color: inherit; }
.foot-legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); font-size: .78rem; color: #8B96D2; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* Mobile call bar */
.callbar { display: none; }
@media (max-width: 940px) {
  section { padding: 68px 0; }
  nav.main, .head-phone { display: none; }
  .site-inner { justify-content: space-between; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; padding: 72px 0 60px; }
  .trades-grid { grid-template-columns: 1fr; }
  .band-grid, .member-grid, .faq-grid, .rev-grid { grid-template-columns: 1fr; gap: 40px; }
  .num-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--paper) 92%, transparent);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
  }
  .callbar .btn { padding: 13px 8px; font-size: .88rem; }
  .callbar .btn-call { background: var(--navy); color: #fff; border-radius: 6px; text-align: center; text-decoration: none; font-weight: 700; padding: 13px 8px; font-size: .88rem; }
  body { padding-bottom: 78px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero .lede, .hero-ctas, .hero-proof, .dispatch { animation: rise .7s cubic-bezier(.22,.8,.35,1) backwards; }
  .hero .lede { animation-delay: .09s; }
  .hero-ctas { animation-delay: .17s; }
  .hero-proof { animation-delay: .25s; }
  .dispatch { animation-delay: .3s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}

/* ============================================================
   WordPress additions — content pages, blog, pagination
   ============================================================ */

/* Page shells */
.page-shell { padding: 72px 0 100px; }
.page-header { max-width: 720px; margin-bottom: 48px; }
.page-header h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 700; letter-spacing: -0.022em; line-height: 1.12; color: var(--ink);
}
.page-header .archive-description { color: var(--muted); margin-top: 16px; }
.entry-meta { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 14px; }

/* Entry content typography */
.entry-content { max-width: 65ch; }
.entry-content h2, .entry-content h3, .entry-content h4 {
  font-family: var(--display); font-weight: 700; letter-spacing: -0.015em;
  line-height: 1.2; color: var(--ink); margin: 2em 0 .6em;
}
.entry-content h2 { font-size: 1.7rem; }
.entry-content h3 { font-size: 1.35rem; }
.entry-content h4 { font-size: 1.1rem; }
.entry-content p { margin: 0 0 1.4em; }
.entry-content a { color: var(--navy-text); text-decoration-color: color-mix(in srgb, var(--navy-text) 40%, transparent); }
.entry-content a:hover { text-decoration-color: var(--orange); }
.entry-content ul, .entry-content ol { margin: 0 0 1.4em; padding-left: 1.4em; }
.entry-content li { margin-bottom: .5em; }
.entry-content blockquote {
  margin: 2em 0; padding: 4px 0 4px 24px;
  border-left: 3px solid var(--orange);
  color: var(--muted); font-size: 1.08rem;
}
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content img { max-width: 100%; height: auto; border-radius: 10px; }
.entry-content figure { margin: 2em 0; }
.entry-content figcaption { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.entry-content hr { border: none; border-top: 1px solid var(--line); margin: 3em 0; }
.entry-content code { font-family: var(--mono); font-size: .88em; background: color-mix(in srgb, var(--ink) 6%, transparent); padding: 2px 6px; border-radius: 4px; }
.entry-content pre { overflow-x: auto; background: var(--navy-deep); color: #E8EAF6; padding: 20px 24px; border-radius: 10px; }
.entry-content pre code { background: none; padding: 0; }

/* Tables — wrapped for overflow */
.entry-content table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.entry-content th, .entry-content td { padding: 12px 16px; border: 1px solid var(--line); text-align: left; }
.entry-content th { background: color-mix(in srgb, var(--navy) 6%, var(--card)); font-weight: 700; color: var(--ink); }
.table-scroll, .entry-content .wp-block-table { overflow-x: auto; margin: 2em 0; }

/* Core block + classic alignment */
.wp-block-image { margin: 2em 0; }
.wp-block-image img { max-width: 100%; height: auto; border-radius: 10px; }
.alignleft { float: left; margin: 6px 28px 18px 0; max-width: 50%; }
.alignright { float: right; margin: 6px 0 18px 28px; max-width: 50%; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignwide, .alignfull { max-width: 100%; }
@media (max-width: 640px) {
  .alignleft, .alignright { float: none; margin: 1.5em 0; max-width: 100%; }
}
.entry-content::after { content: ""; display: table; clear: both; }

/* Featured image on single posts */
.entry-thumb { margin: 0 0 40px; }
.entry-thumb img { width: 100%; height: auto; border-radius: 14px; box-shadow: var(--shadow); }

/* Post-card grid (blog archives) */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 940px) { .post-grid { grid-template-columns: 1fr; } }
.post-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform .22s ease, box-shadow .22s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.post-card .thumb { aspect-ratio: 16/9; display: block; overflow: hidden; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card-body { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card time { font-family: var(--mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.post-card h2, .post-card h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
.post-card h2 a, .post-card h3 a { text-decoration: none; color: var(--ink); }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--navy-text); }
.post-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.post-card .more { margin-top: auto; padding-top: 14px; font-weight: 600; font-size: .93rem; color: var(--navy-text); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.post-card .more::after { content: "→"; transition: transform .18s ease; }
.post-card .more:hover::after { transform: translateX(4px); }

/* Pagination */
.pagination, .navigation.pagination { margin-top: 56px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.nav-links .page-numbers {
  display: inline-block; min-width: 42px; padding: 9px 14px; text-align: center;
  border: 1px solid var(--line); border-radius: 6px; background: var(--card);
  text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--ink);
  transition: border-color .18s ease, color .18s ease;
}
.nav-links a.page-numbers:hover { border-color: var(--navy-text); color: var(--navy-text); }
.nav-links .page-numbers.current { background: var(--navy); border-color: var(--navy); color: #fff; }
.nav-links .page-numbers.dots { border: none; background: none; }

/* Single post prev/next */
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line); max-width: 65ch; }
.post-nav a { display: block; text-decoration: none; padding: 18px 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); transition: border-color .18s ease; }
.post-nav a:hover { border-color: var(--navy-text); }
.post-nav .nav-label { display: block; font-family: var(--mono); font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.post-nav .nav-title { font-weight: 600; font-size: .95rem; color: var(--ink); line-height: 1.4; }
.post-nav .next { text-align: right; }
@media (max-width: 640px) { .post-nav { grid-template-columns: 1fr; } }

/* Comments */
.comments-area { max-width: 65ch; margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--line); }
.comments-area .comments-title { font-size: 1.4rem; margin-bottom: 28px; }
.comment-list { list-style: none; margin: 0 0 40px; padding: 0; }
.comment-list .comment { padding: 20px 0; border-bottom: 1px solid var(--line); }
.comment-list .children { list-style: none; margin: 0; padding-left: 28px; }
.comment-author { font-weight: 700; }
.comment-metadata { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.comment-metadata a { color: var(--muted); text-decoration: none; }
.comment-form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px;
  background: var(--card); color: var(--ink); font-family: var(--body); font-size: 1rem;
}
.comment-form input:focus, .comment-form textarea:focus { outline: 2px solid var(--orange); outline-offset: 1px; }
.comment-form .submit {
  display: inline-block; cursor: pointer;
  font-family: var(--display); font-weight: 700; font-size: .95rem;
  padding: 14px 28px; border-radius: 6px; border: 1.5px solid transparent;
  background: var(--orange); color: #131A45; box-shadow: 0 4px 14px rgba(245,130,32,.28);
  transition: background .18s ease;
}
.comment-form .submit:hover { background: var(--orange-deep); }

/* 404 */
.err-404 { text-align: center; padding: 120px 0; }
.err-404 h1 {
  font-family: var(--logo); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2.6rem, 7vw, 5rem); line-height: 1; color: var(--ink); margin-bottom: 20px;
}
.err-404 h1 .o { color: var(--orange); }
.err-404 p { color: var(--muted); margin: 0 0 36px; }
.err-404 .hero-ctas { justify-content: center; }

/* ============================================================
   WooCommerce — light touch so checkout keeps working
   ============================================================ */
.woocommerce-shell { padding: 64px 0 100px; }
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #payment #place_order,
.woocommerce-page #payment #place_order {
  font-family: var(--display); font-weight: 700; font-size: .95rem;
  padding: 13px 26px; border-radius: 6px; border: 1.5px solid transparent;
  background: var(--orange); color: #131A45;
  box-shadow: 0 4px 14px rgba(245,130,32,.28);
  transition: background .18s ease;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce #payment #place_order:hover {
  background: var(--orange-deep); color: #131A45;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-page form .form-row input.input-text {
  padding: 11px 13px; border: 1px solid var(--line); border-radius: 6px;
  background: var(--card); color: var(--ink); font-family: var(--body);
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus { outline: 2px solid var(--orange); outline-offset: 1px; border-color: var(--orange); }
.woocommerce table.shop_table { border: 1px solid var(--line); border-radius: 10px; border-collapse: separate; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { border-color: var(--line); }
.woocommerce-message, .woocommerce-info { border-top-color: var(--navy); }
.woocommerce-error { border-top-color: var(--orange-deep); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--display); font-weight: 700; color: var(--ink); }
.woocommerce ul.products li.product .price { color: var(--navy-text); font-weight: 700; }
.woocommerce nav.woocommerce-pagination ul { border: none; }
.woocommerce nav.woocommerce-pagination ul li { border: none; margin: 0 3px; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  border: 1px solid var(--line); border-radius: 6px; padding: 9px 14px; font-weight: 600;
}
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Screen-reader text (WordPress standard) */
.screen-reader-text {
  border: 0; clip-path: inset(50%); height: 1px; width: 1px;
  margin: -1px; overflow: hidden; padding: 0; position: absolute;
  word-wrap: normal;
}
.screen-reader-text:focus {
  clip-path: none; height: auto; width: auto;
  background: var(--card); color: var(--ink); padding: 14px 22px;
  left: 8px; top: 8px; z-index: 100000; border-radius: 6px; box-shadow: var(--shadow-lift);
}

/* Sticky posts / misc safety */
.sticky { /* WP requires this class to exist */ }
.bypostauthor { /* WP requires this class to exist */ }
.gallery-caption { font-family: var(--mono); font-size: .72rem; color: var(--muted); }
img { max-width: 100%; height: auto; }
embed, iframe, object, video { max-width: 100%; }
