/* ============================================================
   NB Knife Sharpening — Main Stylesheet
   Mobile-first. All sizing via custom properties. No hardcoded
   hex values outside :root. No inline styles.
   ============================================================ */

/* ─── 1. Custom Properties ──────────────────────────────────────────────────── */

:root {
  /* Colors */
  --color-espresso:   #3c2313;
  --color-walnut:     #5c3820;
  --color-sand:       #c2b59b;
  --color-linen:      #ede8e0;
  --color-off-white:  #faf8f5;
  --color-white:      #ffffff;
  --color-cta:        #b8620a;
  --color-cta-hover:  #d4741a;
  --color-text-muted: #7a6555;
  --color-border:     #d9d0c5;
  --color-error:      #c0392b;
  --color-error-rgb:  192, 57, 43;  /* for rgba() usage */

  /* Typography — families */
  --font-logo:    'Germania One', Georgia, serif;        /* Primary display: logo, hero headline, section headings */
  --font-heading: 'Germania One', Georgia, serif;         /* Secondary: subheadings, card titles */
  --font-body:    'Work Sans', system-ui, sans-serif;    /* Body text, pricing, forms, buttons */

  /* Type scale — fluid clamp(min, preferred, max) */
  --text-xs:   clamp(0.75rem,  1.5vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 1.8vw, 1rem);
  --text-base: clamp(1rem,     2vw,   1.125rem);
  --text-lg:   clamp(1.125rem, 2.2vw, 1.25rem);
  --text-xl:   clamp(1.25rem,  2.5vw, 1.5rem);
  --text-2xl:  clamp(1.5rem,   3.5vw, 2rem);
  --text-3xl:  clamp(1.875rem, 4.5vw, 2.625rem);
  --text-4xl:  clamp(2.25rem,  5.5vw, 3.25rem);

  /* Spacing scale */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Breakpoints (reference only — use in media queries as rem values) */
  --bp-md: 48rem;      /* 768px  */
  --bp-lg: 68.75rem;   /* 1100px */

  /* Layout */
  --max-width:    68.75rem;   /* 1100px */
  --nav-height:   6.5rem;     /* 104px — tall enough to contain the 100px logo with padding */
  --section-pad:  var(--space-16);

  /* Transitions */
  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   400ms ease;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(60, 35, 19, 0.08), 0 1px 2px rgba(60, 35, 19, 0.06);
  --shadow-md:  0 4px 6px rgba(60, 35, 19, 0.07), 0 2px 4px rgba(60, 35, 19, 0.06);
  --shadow-lg:  0 10px 15px rgba(60, 35, 19, 0.08), 0 4px 6px rgba(60, 35, 19, 0.06);

  /* Border radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
}

/* ─── 2. Reset & Base ───────────────────────────────────────────────────────── */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  /* Offset anchor scrolling by nav height */
  scroll-padding-top: var(--nav-height);
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--color-espresso);
  background-color: var(--color-off-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  display: block;
  max-width: 100%;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
}

/* ─── 3. Utilities ──────────────────────────────────────────────────────────── */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Skip-to-content link — visually hidden until focused by keyboard */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: 200;
  padding: var(--space-3) var(--space-5);
  background-color: var(--color-cta);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-4);
}

/* ─── 4. Focus Styles ───────────────────────────────────────────────────────── */

:focus-visible {
  outline: 3px solid var(--color-cta);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ─── 5. Buttons ────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1;
  text-align: center;
  border-radius: var(--radius-md);
  transition: background-color var(--transition-fast),
              transform var(--transition-fast),
              box-shadow var(--transition-fast);
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 3px solid var(--color-cta);
  outline-offset: 3px;
}

.btn--cta {
  background-color: var(--color-cta);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.btn--cta:hover {
  background-color: var(--color-cta-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn--cta:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

.btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}

/* ─── 6. Navigation ─────────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-espresso);
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--transition-base);
}

.site-nav {
  width: 100%;
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-2) var(--space-5);
  gap: var(--space-4);
}

/* ── Logo: .custom-logo-link is the direct nav flex child in both branches ──
   Image branch: the_custom_logo() outputs <a class="custom-logo-link"><img class="custom-logo"></a>
   Text branch:  our fallback <a class="custom-logo-link"><span class="nav-logo-text"></span></a>
   There is no wrapping .site-nav__logo <a> — that caused invalid nested <a> tags. */

.custom-logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: 100px;         /* caps the link box so the nav bar stays at --nav-height */
  line-height: 1;
  color: var(--color-sand);
  text-decoration: none;
}

/* The <img> WordPress injects carries inline width/height attributes.
   !important is required to override those attribute values. */
.custom-logo-link .custom-logo {
  width: auto    !important;
  height: 100px  !important;
  max-width: 260px;
  object-fit: contain;
  display: block;
}

/* Text fallback */
.nav-logo-text {
  font-family: var(--font-logo);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--color-sand);
  letter-spacing: 0.01em;
  line-height: 1;
}

.custom-logo-link:hover,
.custom-logo-link:hover .nav-logo-text {
  color: var(--color-white);
}

.custom-logo-link:focus-visible {
  outline: 3px solid var(--color-sand);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Desktop links — hidden by default, shown at --bp-md */
.site-nav__links {
  display: none;
  align-items: center;
  gap: var(--space-1);
}

.site-nav__link {
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-sand);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.site-nav__link:hover,
.site-nav__link.is-active {
  color: var(--color-white);
  background-color: rgba(255, 255, 255, 0.08);
}

.site-nav__link:focus-visible {
  outline-color: var(--color-sand);
}

/* Right-side actions */
.site-nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-left: auto;
}

/* Phone link — hidden on small mobile, shown at 24rem */
.site-nav__phone {
  display: none;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-sand);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.site-nav__phone:hover {
  color: var(--color-white);
}

.site-nav__phone-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

/* CTA in nav — hide on mobile, show at --bp-md */
.site-nav__cta {
  display: none;
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
}

/* Hamburger */
.site-nav__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.25rem;
  height: 2.25rem;
  padding: var(--space-2);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.site-nav__hamburger:focus-visible {
  outline: 3px solid var(--color-sand);
  outline-offset: 2px;
}

.site-nav__hamburger-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-sand);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
  transform-origin: center;
}

/* Animated hamburger → X when open */
.site-nav__hamburger[aria-expanded="true"] .site-nav__hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-nav__hamburger[aria-expanded="true"] .site-nav__hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.site-nav__hamburger[aria-expanded="true"] .site-nav__hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile slide-down menu */
.site-nav__mobile {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--transition-base);
  overflow: hidden;
  background-color: var(--color-walnut);
}

.site-nav__mobile[aria-hidden="false"] {
  grid-template-rows: 1fr;
}

.site-nav__mobile-links {
  overflow: hidden;
  padding: var(--space-2) var(--space-5) var(--space-4);
}

.site-nav__mobile-link {
  display: block;
  padding: var(--space-3) 0;
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-sand);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color var(--transition-fast);
}

.site-nav__mobile-link:hover {
  color: var(--color-white);
}

.site-nav__mobile-link--phone {
  color: var(--color-cta-hover);
  border-bottom: none;
  padding-top: var(--space-4);
}

.site-nav__mobile-link--phone:hover {
  color: var(--color-white);
}

/* ── Nav responsive ──────────────────────────────────────────── */

/* Show phone number at 24rem */
@media (min-width: 24rem) {
  .site-nav__phone {
    display: flex;
  }
}

/* Full desktop nav at --bp-lg (1100px) — tablet keeps hamburger */
@media (min-width: 68.75rem) {
  .site-nav__links {
    display: flex;
  }

  .site-nav__cta {
    display: inline-flex;
  }

  .site-nav__hamburger {
    display: none;
  }

  .site-nav__mobile {
    display: none;
  }

  .site-nav__actions {
    margin-left: 0;
  }
}

/* ─── 7. Sections — base ────────────────────────────────────────────────────── */

.section {
  padding: var(--section-pad) var(--space-5);
}

.section--alt {
  background-color: var(--color-linen);
  /* Subtle noise texture via SVG data URI — present but not distracting */
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

.section--dark {
  background-color: var(--color-espresso);
}

.section--dark .section__heading {
  color: var(--color-sand);
}

.section--dark .reviews-trustindex {
  color: var(--color-off-white);
}

.section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section__heading {
  font-family: var(--font-logo);
  font-size: var(--text-3xl);
  font-weight: 400; /* Germania One is a single-weight display face */
  color: var(--color-walnut);
  text-align: center;
  margin-bottom: var(--space-8);
  line-height: 1.2;
}

.section__heading--hero {
  font-size: var(--text-4xl);
  text-align: left;
}

/* Left-align modifier only applies tablet+ — mobile inherits centered from section__heading */
@media (min-width: 48rem) {
  .section__heading--left {
    text-align: left;
  }
}

.section__subhead {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 38rem;
  margin-bottom: var(--space-8);
}

.section__intro {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  text-align: center;
  max-width: 38rem;
  margin: 0 auto var(--space-10);
}

/* ─── 8. Hero Section ───────────────────────────────────────────────────────── */

.section--hero {
  position: relative;           /* stacking context for .hero-bg */
  min-height: calc(100svh - var(--nav-height));
  display: flex;
  align-items: center;
  padding-top: var(--space-20);
  padding-bottom: 8rem;         /* extra bottom padding so content clears the clip angle */
  /* Fallback bg if image is missing */
  background-color: var(--color-espresso);
  /* Angled bottom edge transitioning into the reviews section */
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
  margin-bottom: -4rem;         /* pull next section up under the angle */
}

/* Background image + overlay */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center left;
  /* Subtle desaturation so text pops regardless of image content */
  filter: saturate(0.8);
}

/* Directional dark overlay: dark on the left where text sits, fades to transparent right */
.hero-bg__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(60, 35, 19, 0.8) 0%, rgba(60, 35, 19, 0.4) 50%, rgba(60, 35, 19, 0) 100%);
}

/* Content sits above the bg layers */
.section--hero .section__inner {
  position: relative;
  z-index: 1;
}

/* Content column — centred, max width keeps lines readable */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-6);
  max-width: 48rem;
  margin: 0 auto;
}

/* Heading */
.hero__heading {
  font-family: var(--font-logo);
  font-size: clamp(2.75rem, 7vw, 4.25rem);
  font-weight: 400;
  color: var(--color-white);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

/* Subhead */
.hero__subhead {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: var(--color-off-white);
  line-height: 1.65;
  max-width: 44rem;
}

/* Button row */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
  justify-content: center;
}

/* Ghost / secondary button — default (light contexts) */
.btn--ghost {
  background-color: transparent;
  color: var(--color-espresso);
  border: 2px solid var(--color-espresso);
  box-shadow: none;
}

.btn--ghost:hover {
  background-color: var(--color-espresso);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--ghost:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Ghost button on dark hero background */
.section--hero .btn--ghost {
  color: var(--color-sand);
  border-color: var(--color-sand);
}

.section--hero .btn--ghost:hover {
  background-color: var(--color-sand);
  color: var(--color-espresso);
}

/* ── Hero responsive ───────────────────────────────────────────── */

/* Micro-copy below the CTA buttons */
.hero__micro {
  font-size: var(--text-sm);
  color: var(--color-white);
  font-style: italic;
}

/* ─── 9. Reviews Section ─────────────────────────────────────────────────────── */

/* Trustindex widget container */
.reviews-trustindex {
  max-width: var(--max-width);
  margin: 0 auto;
  /* Prevent section from collapsing to zero height before widget JS loads */
  min-height: 12rem;
}

/* ── Legacy review card styles below — kept as reference, not rendered ── */

.reviews-grid {
  display: grid;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

@media (min-width: 48rem) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 68.75rem) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.review-card__stars {
  display: flex;
  gap: var(--space-1);
}

.review-card__star {
  color: var(--color-cta);
  font-size: var(--text-lg);
  line-height: 1;
}

.review-card__text {
  font-size: var(--text-base);
  color: var(--color-espresso);
  line-height: 1.7;
  flex: 1;
}

.review-card__text p {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-card__footer {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-4);
}

.review-card__author {
  font-weight: 700;
  font-style: normal;
  font-size: var(--text-sm);
  color: var(--color-espresso);
}

.review-card__date {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.reviews-cta {
  text-align: center;
  margin-top: var(--space-6);
}

.link--external {
  color: var(--color-cta);
  font-weight: 700;
  font-size: var(--text-sm);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.link--external:hover {
  color: var(--color-cta-hover);
}

/* ─── 10. Services Section ──────────────────────────────────────────────────── */

.services-grid {
  display: grid;
  gap: var(--space-8);
}

@media (min-width: 30rem) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 68.75rem) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid var(--color-border);
  }
}

.service-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  text-align: center;
}

@media (min-width: 68.75rem) {
  .service-block {
    padding: var(--space-8) var(--space-6);
    border-right: 1px solid var(--color-border);
  }

  .service-block:last-child {
    border-right: none;
  }
}

.service-block__icon {
  width: 5rem;
  height: 5rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* SVG img icons — tinted to walnut via CSS filter */
.service-block__icon-img {
  width: 64px;
  height: 64px;
  display: block;
  /* Tint to --color-walnut (#5c3820): brightness(0)→black, invert lifts to gray, then colorize */
  filter: brightness(0) saturate(100%) invert(22%) sepia(100%) saturate(600%) hue-rotate(350deg) brightness(90%);
}

.service-block__title {
  font-family: var(--font-logo);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--color-walnut);
}

.service-block__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* Inline link inside a service block desc */
.service-block__link {
  color: var(--color-cta);
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.service-block__link:hover {
  color: var(--color-cta-hover);
}

/* 4-col grid fills evenly at desktop — no orphan handling needed */

/* ── Blade repair before/after showcase ──────────────────────────── */

.repair-showcase {
  margin-top: var(--space-16);
  padding-top: var(--space-12);
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.repair-showcase__header {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  text-align: center;
}

.repair-showcase__heading {
  font-family: var(--font-logo);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--color-walnut);
  line-height: 1.2;
}

.repair-showcase__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 38rem;
  margin: 0 auto;
  line-height: 1.65;
}

/* Repair grid — 1 col mobile, 3 col desktop (one card per repair set) */
.repair-grid {
  display: grid;
  gap: var(--space-6);
}

@media (min-width: 68.75rem) {
  .repair-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Split card: Before (left) | After (right) side by side in one figure */
.repair-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* Split layout: left half = before, right half = after */
.repair-card--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.repair-card__half {
  display: flex;
  flex-direction: column;
}

/* Placeholder fills the flex space between the top of the half and the badge */
.repair-card__placeholder {
  flex: 1;
  min-height: 8rem;
  background-color: var(--color-linen);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Dashed placeholder frame */
.repair-card__placeholder::after {
  content: 'Photo';
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: var(--space-3);
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-sm);
}

/* Real photo once placeholder is swapped out */
.repair-card__img {
  flex: 1;
  width: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Badge label at the bottom of each half */
.repair-card__badge {
  display: block;
  padding: var(--space-2) var(--space-3);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

.repair-card__half--before .repair-card__badge {
  background-color: var(--color-espresso);
  color: var(--color-sand);
}

.repair-card__half--after .repair-card__badge {
  background-color: var(--color-cta);
  color: var(--color-white);
}

/* Thin divider between before and after halves */
.repair-card--split .repair-card__half--after {
  border-left: 2px solid var(--color-white);
}

/* Bottom CTA line */
.repair-showcase__cta {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.link--cta {
  color: var(--color-cta);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-fast);
}

.link--cta:hover {
  color: var(--color-cta-hover);
}

/* ─── 10b. Blade Repair Section (§4 standalone) ────────────────────────────── */

.blade-repair__tagline {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: calc(-1 * var(--space-4));  /* pull up slightly under the heading */
  margin-bottom: var(--space-10);
}

/* Border framing for before/after halves */
#blade-repair .repair-card__half--before {
  border: 1px solid var(--color-walnut);
  border-right: none;
}

#blade-repair .repair-card__half--after {
  border: 2px solid var(--color-cta);
}

/* Override the white internal divider from the base style */
#blade-repair .repair-card--split .repair-card__half--after {
  border-left: none;
}

/* ─── 11. About Section ─────────────────────────────────────────────────────── */

.section--about {
  position: relative;
  overflow: hidden;
}

.about__seal {
  position: absolute;
  bottom: var(--space-6);
  right: var(--space-6);
  width: 8rem;
  opacity: 0.35;
  pointer-events: none;
}

.about-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-10);
}

@media (min-width: 48rem) {
  .about-layout {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: var(--space-16);
  }
}

.about-photo {
  flex-shrink: 0;
}

/* Real photo */
.about-photo__img {
  width: 100%;
  max-width: 18rem;
  height: auto;
  border-radius: var(--radius-lg);
  display: block;
  box-shadow: var(--shadow-lg);
}

/* Fallback placeholder — shown only if image file is missing (hidden attr) */
.about-photo__placeholder {
  width: 100%;
  max-width: 18rem;
  aspect-ratio: 3 / 4;
  background-color: var(--color-border);
  border-radius: var(--radius-lg);
}

@media (min-width: 48rem) {
  .about-photo__img,
  .about-photo__placeholder {
    width: 16rem;
    max-width: 16rem;
  }
}

.about-copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.about-copy p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
}

.about-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3) var(--space-8);
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border);
}

@media (min-width: 48rem) {
  .about-trust {
    justify-content: flex-start;
  }
}

.about-trust li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-espresso);
}

.about-trust li::before {
  content: '';
  display: block;
  width: 0.4rem;
  height: 0.4rem;
  background-color: var(--color-cta);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ─── 12. Pricing Section ───────────────────────────────────────────────────── */

/* Note above the list */
.pricing-note {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-align: center;
  max-width: 36rem;
  margin: 0 auto var(--space-8);
  line-height: 1.65;
}

.pricing-note strong {
  color: var(--color-espresso);
}

.pricing-note a {
  color: var(--color-cta);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pricing-note a:hover {
  color: var(--color-cta-hover);
}

/* Guardrail box above the pricing grid — policy + payment info */
.pricing-guardrail {
  border: 2px solid var(--color-cta);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6);
  margin-bottom: var(--space-8);
  background: var(--color-white);
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Centered list — no bullets, items stack with spacing */
.pricing-guardrail__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.pricing-guardrail__list li {
  font-size: var(--text-sm);
  color: var(--color-espresso);
  line-height: 1.65;
}

/* Pricing card grid — 1 col mobile, 2 col at 48rem */
.pricing-grid {
  display: grid;
  gap: var(--space-5);
  margin: 0 auto;
  max-width: var(--max-width);
}

@media (min-width: 48rem) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Tools card spans full width in its row */
  .pricing-card--full {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
    width: 100%;
  }
}

/* Individual pricing card */
.pricing-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-2);
  border-top: 4px solid var(--color-espresso);
}

.pricing-card__name {
  font-family: var(--font-logo);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--color-walnut);
  line-height: 1.2;
}

.pricing-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.4;
  flex: 1;
}

.pricing-card__price {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-cta);
  font-family: var(--font-heading);
  line-height: 1;
  margin-top: var(--space-2);
}

/* ─── 13. Contact Form ──────────────────────────────────────────────────────── */

.contact-form {
  max-width: 40rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

/* Honeypot — visually hide from real users */
.contact-form__honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.contact-form__row {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

@media (min-width: 36rem) {
  .contact-form__row {
    flex-direction: row;
  }

  .contact-form__row .contact-form__field {
    flex: 1;
  }
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.contact-form__label {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-espresso);
}

.contact-form__required {
  color: var(--color-cta);
}

.contact-form__input {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-espresso);
  background-color: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  appearance: none;
  -webkit-appearance: none;
}

.contact-form__input:focus {
  outline: none;
  border-color: var(--color-cta);
  box-shadow: 0 0 0 3px rgba(184, 98, 10, 0.15);
}

.contact-form__input.has-error {
  border-color: var(--color-error);
  box-shadow: 0 0 0 3px rgba(var(--color-error-rgb), 0.1);
}

.contact-form__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237a6555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-3) center;
  padding-right: var(--space-10);
}

.contact-form__textarea {
  resize: vertical;
  min-height: 7rem;
}

.contact-form__error {
  font-size: var(--text-xs);
  color: var(--color-error);
  min-height: 1.2em;
}

.contact-form__footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}

.contact-form__submit {
  position: relative;
}

/* Loading state — JS toggles .is-loading */
.contact-form__submit-loading {
  display: none;
}

.contact-form__submit.is-loading .contact-form__submit-label {
  display: none;
}

.contact-form__submit.is-loading .contact-form__submit-loading {
  display: inline;
}

.contact-form__submit.is-loading {
  opacity: 0.7;
  pointer-events: none;
}

.contact-form__status {
  font-size: var(--text-sm);
  font-weight: 500;
  min-height: 1.5em;
}

.contact-form__status--success {
  display: block;
  background-color: var(--color-cta);
  color: var(--color-white);
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  padding: var(--space-8) var(--space-6);
  border-radius: var(--radius-md);
  margin-top: var(--space-4);
}

.contact-form__status--error {
  color: var(--color-error);
}

/* SMS consent checkbox */
.contact-form__field--consent {
  margin-top: var(--space-2);
}

.contact-form__consent-label {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
  cursor: pointer;
}

.contact-form__consent-label input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 0.15em;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--color-cta);
  cursor: pointer;
}

.contact-form__consent-label a {
  color: var(--color-cta);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-form__consent-label a:hover {
  color: var(--color-cta-hover);
}

.contact-form__tos-notice {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.5;
}

.contact-form__tos-notice a {
  color: var(--color-text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-form__tos-notice a:hover {
  color: var(--color-walnut);
}

/* ─── 14. Process Section ───────────────────────────────────────────────────── */

.section--process {
  background-color: var(--color-white);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-10);
}

@media (min-width: 48rem) {
  .process-steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-3);
}

.process-step__number {
  font-family: var(--font-logo);
  font-size: var(--text-4xl);
  color: var(--color-border);
  line-height: 1;
}

.process-step__icon {
  width: 4rem;
  height: 4rem;
  display: block;
  /* Tint to --color-walnut (#5c3820): same filter as service icons */
  filter: brightness(0) saturate(100%) invert(22%) sepia(100%) saturate(600%) hue-rotate(350deg) brightness(90%);
}

.process-step__title {
  font-family: var(--font-logo);
  font-size: var(--text-lg);
  color: var(--color-walnut);
  line-height: 1.2;
}

.process-step__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ─── 15. FAQ Section ───────────────────────────────────────────────────────── */

.faq-layout {
  display: grid;
  gap: var(--space-10);
  text-align: center;
}

@media (min-width: 48rem) {
  .faq-layout {
    grid-template-columns: 1fr 2fr;
    align-items: start;
    text-align: left;
  }
}

.faq-layout__heading {
  font-family: var(--font-logo);
  font-size: var(--text-2xl);
  color: var(--color-walnut);
  line-height: 1.2;
}

@media (min-width: 48rem) {
  .faq-layout__heading {
    position: sticky;
    top: calc(var(--nav-height) + var(--space-8));
  }
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-list dt {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-walnut);
  padding: var(--space-5) 0 var(--space-2);
}

.faq-list dd {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--color-border);
}

.faq-list dd:last-child {
  border-bottom: none;
}

/* ─── 16. Footer ────────────────────────────────────────────────────────────── */

.site-footer {
  background-color: var(--color-espresso);
  color: var(--color-off-white);
  padding: var(--space-12) var(--space-5) var(--space-6);
}

.site-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 48rem) {
  .site-footer__inner {
    grid-template-columns: 1fr 1fr 1fr;
    align-items: start;
  }
}

.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.site-footer__col--seal {
  align-items: flex-end;
  justify-content: flex-start;
}

.site-footer__brand-name {
  font-family: var(--font-logo);
  font-size: var(--text-xl);
  color: var(--color-sand);
  line-height: 1.2;
}

.site-footer__tagline {
  font-size: var(--text-sm);
  color: var(--color-off-white);
  line-height: 1.5;
}

.site-footer__col-heading {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-sand);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-1);
}

.site-footer__contact-link {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-off-white);
  transition: color var(--transition-fast);
}

.site-footer__contact-link:hover {
  color: var(--color-sand);
}

.site-footer__seal {
  width: 7rem;
  opacity: 0.5;
  display: block;
}

.site-footer__fine-print {
  grid-column: 1 / -1;
  text-align: center;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(194, 181, 155, 0.15);
  margin-top: var(--space-2);
}

.site-footer__legal-link {
  color: var(--color-sand);
  text-decoration: underline;
  text-underline-offset: 2px;
  opacity: 0.75;
  transition: opacity var(--transition-fast);
}

.site-footer__legal-link:hover {
  opacity: 1;
}

/* =============================================================
   STANDALONE PAGES (page.php — Privacy Policy, etc.)
   ============================================================= */

.page-content {
  background: var(--color-off-white, #faf8f5);
  min-height: 60vh;
  padding: 3rem 1.25rem 5rem;
}

.page-content__inner {
  max-width: 780px;
  margin: 0 auto;
}

.page-article__header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--color-sand, #c2b59b);
}

.page-article__title {
  font-family: 'Work Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--color-espresso, #3c2313);
  margin: 0;
  line-height: 1.2;
}

.page-article__body {
  font-family: 'Work Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-espresso, #3c2313);
}

.page-article__body h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-walnut, #5c3820);
  margin: 2rem 0 0.5rem;
}

.page-article__body p {
  margin: 0 0 1rem;
}

.page-article__body ul,
.page-article__body ol {
  margin: 0 0 1rem 1.5rem;
  padding: 0;
}

.page-article__body li {
  margin-bottom: 0.35rem;
}

.page-article__body a {
  color: var(--color-cta, #b8620a);
  text-decoration: underline;
}

.page-article__body a:hover {
  color: var(--color-cta-hover, #d4741a);
}

@media (min-width: 768px) {
  .page-content {
    padding: 4rem 2rem 6rem;
  }
}