/*
  Western Renovations — gitlab-pages property ("technical process guide")
  Evidenced brand tokens only (see output/brand-profile.json). No invented colors/fonts.
  Layout designed as: "/" = step-by-step process/timeline, "/checklist/" = grouped
  scannable checklist — intentionally distinct from glossary/comparison/gallery layouts
  used on the other business-web-properties platforms.
*/

:root {
  /* Evidenced brand colors */
  --color-primary: #40766c;          /* primary-600, muted sage/teal */
  --color-secondary: #D08753;        /* secondary-400, terracotta CTA color */
  --color-secondary-accessible: #96502A; /* derived: accessible white-on-terracotta background */
  --color-secondary-on-light: #B36234;   /* derived: accessible terracotta text on cream/white */
  --color-neutral-900: #461C0C;      /* dark warm brown, body text */
  --color-neutral-950: #2A1107;      /* near-black brown, deep overlay */
  --color-bg: #F7F5F0;               /* cream page background */
  --color-primary-tint: #F0F9F7;     /* derived: light sage tint surface */
  --color-white: #ffffff;

  /* Typography (evidenced) */
  --font-heading: "Outfit Variable", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-body: "Inter Variable", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";

  /* Radius scale (evidenced) */
  --radius-button: 0.5rem;
  --radius-pill: 9999px;
  --radius-card: 0.75rem;
  --radius-card-lg: 1rem;

  --content-max: 46rem;
  --shell-max: 72rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--color-bg);
  color: var(--color-neutral-900);
  font-family: var(--font-body);
  line-height: 1.6;
  font-size: 1rem;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--color-neutral-900);
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--color-secondary-on-light);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

img {
  max-width: 100%;
  display: block;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-neutral-900);
  color: var(--color-white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-button);
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header / primary nav */
.site-header {
  border-bottom: 4px solid var(--color-secondary);
  background-color: var(--color-bg);
}

.header-inner {
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-neutral-900);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand:hover,
.brand:focus-visible {
  color: var(--color-primary);
}

.brand-sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.site-nav a {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  color: var(--color-neutral-900);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
}

.site-nav a:hover {
  border-color: var(--color-primary);
}

.site-nav a[aria-current="page"] {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* Page hero */
.page-hero {
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 3rem 1.5rem 1.5rem;
}

.eyebrow {
  display: inline-block;
  background-color: var(--color-secondary);
  color: var(--color-neutral-900);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.page-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
}

.page-intro {
  font-size: 1.05rem;
}

/* Main shell */
main {
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

/* ---------- Process timeline ("/") ---------- */
.process-timeline {
  list-style: none;
  margin: 2rem 0;
  padding: 0;
  position: relative;
}

.process-timeline::before {
  content: "";
  position: absolute;
  left: 1.35rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 3px;
  background-color: var(--color-primary);
  opacity: 0.35;
}

.process-step {
  position: relative;
  padding-left: 4rem;
  margin-bottom: 1.75rem;
}

.step-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-pill);
  background-color: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(42, 17, 7, 0.18);
}

.step-card {
  background-color: var(--color-white);
  border-radius: var(--radius-card);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 1px 3px rgba(42, 17, 7, 0.1);
  border: 1px solid rgba(64, 118, 108, 0.15);
}

.step-card h2 {
  font-size: 1.25rem;
  color: var(--color-primary);
}

.step-card p:last-child {
  margin-bottom: 0;
}

/* Further reading callout */
.callout {
  background-color: var(--color-primary-tint);
  border-left: 4px solid var(--color-secondary);
  border-radius: var(--radius-card);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}

.callout h2 {
  font-size: 1.15rem;
}

.callout p:last-child {
  margin-bottom: 0;
}

.callout a {
  font-weight: 600;
  text-decoration-thickness: 2px;
}

/* ---------- Checklist layout ("/checklist/") ---------- */
.checklist-groups {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

.checklist-group {
  background-color: var(--color-white);
  border-radius: var(--radius-card-lg);
  padding: 1.5rem 1.75rem;
  box-shadow: 0 1px 3px rgba(42, 17, 7, 0.1);
  border: 1px solid rgba(64, 118, 108, 0.15);
}

.checklist-group h2 {
  font-size: 1.2rem;
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-primary-tint);
  padding-bottom: 0.5rem;
}

.checklist-group ul {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.checklist-group li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.checklist-group li:last-child {
  margin-bottom: 0;
}

.check-box {
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
  border: 2px solid var(--color-secondary);
  border-radius: 4px;
  background-color: var(--color-bg);
}

.check-text {
  flex: 1;
}

/* ---------- CTA band (shared) ---------- */
.cta-band {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-card-lg);
  padding: 2.25rem 2rem;
  margin: 2rem 0 0;
}

.cta-band .eyebrow {
  background-color: var(--color-bg);
  color: var(--color-primary);
}

.cta-band h2 {
  color: var(--color-white);
  font-size: 1.5rem;
}

.cta-band p {
  margin-bottom: 0;
}

.cta-band a {
  color: var(--color-white);
  text-decoration-thickness: 2px;
}

/* Footer */
.site-footer {
  background-color: var(--color-neutral-950);
  color: var(--color-bg);
  padding: 2.5rem 1.5rem;
}

.footer-inner {
  max-width: var(--shell-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.footer-inner address {
  font-style: normal;
  line-height: 1.7;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--color-bg);
  text-decoration: underline;
}

.footer-inner h2 {
  color: var(--color-white);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.footer-note {
  max-width: var(--shell-max);
  margin: 1.5rem auto 0;
  font-size: 0.8rem;
  opacity: 0.75;
}

/* Responsive */
@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .process-timeline::before {
    left: 1.1rem;
  }

  .process-step {
    padding-left: 3.25rem;
  }

  .step-number {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 1rem;
  }

  .cta-band {
    padding: 1.75rem 1.25rem;
  }
}

@media (min-width: 641px) {
  .checklist-groups {
    grid-template-columns: repeat(2, 1fr);
    max-width: none;
  }
}


/* Footer links: social profiles + press/media mentions */
.site-footer .footer-social{display:flex;flex-wrap:wrap;gap:.5rem 1.25rem}

.site-footer .wrap{width:100%}
.site-footer{display:flex;flex-wrap:wrap;gap:2rem 3rem;align-items:flex-start}
.site-footer>*{flex:1 1 220px;min-width:200px}

/* Header logo, centered */
.site-logo{height:48px;width:auto;display:block;margin:0 auto}
.site-header>div:first-child{display:flex;flex-direction:column;align-items:center;text-align:center;gap:.6rem}

/* Header row: name (left) / logo (center) / phone number (right) */
.header-row{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:1rem;width:100%}
.header-row .site-logo{margin:0 auto}
.header-name{justify-self:start;font-family:var(--font-heading,inherit);font-weight:700;font-size:1.0625rem;color:#461C0C;text-decoration:none;margin:0}
.header-row .header-call{justify-self:end}
.header-call{display:inline-flex;align-items:center;gap:0.5rem;background-color:#96502A;color:#fff;padding:0.55rem 1rem;border-radius:9999px;font-size:0.9375rem;font-weight:600;text-decoration:none;white-space:nowrap}
.header-call:hover,.header-call:focus-visible{filter:brightness(0.92);color:#fff}
.icon-phone{width:1rem;height:1rem;fill:currentColor;flex-shrink:0}
@media (max-width:640px){
  .header-row{grid-template-columns:1fr;justify-items:center;gap:.75rem}
  .header-name{justify-self:center}
  .header-row .header-call{justify-self:center}
}

/* Footer links: redesigned (ui-ux-pro-max pass) */
.site-footer .footer-links{margin-top:1.5rem;padding-top:1.5rem;position:relative;display:flex;flex-wrap:wrap;gap:2rem 3rem}
.site-footer .footer-links::before{content:"";position:absolute;top:0;left:0;width:64px;height:2px;background:rgba(208,135,83,0.45)}
.site-footer .footer-links-col{flex:1 1 200px;min-width:180px}
.site-footer .footer-links-heading{font-family:var(--font-heading,inherit);font-weight:700;margin:0 0 .85rem;font-size:.75rem;letter-spacing:.09em;text-transform:uppercase;color:#E3A874}
.site-footer .footer-social,.site-footer .footer-press{list-style:none;margin:0;padding:0}
.site-footer .footer-social{display:flex;flex-wrap:wrap;gap:.6rem}
.site-footer .footer-press{display:flex;flex-direction:column;gap:.5rem}

/* Footer link styling v2: icon-only circular social badges, plain press links */
.site-footer .footer-social a{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,0.12);color:#F7F5F0;transition:background-color .15s ease,transform .15s ease}
.site-footer .footer-social a svg{width:18px;height:18px;flex-shrink:0;fill:currentColor}
.site-footer .footer-social a:hover,.site-footer .footer-social a:focus-visible{background:#D08753;transform:translateY(-2px)}
.site-footer .footer-press a{display:inline-block;color:#F7F5F0;text-decoration:underline;text-underline-offset:3px;font-size:.9rem;font-weight:500;transition:color .15s ease}
.site-footer .footer-press a:hover,.site-footer .footer-press a:focus-visible{color:#ffffff}
.site-footer .footer-links a:focus-visible{outline:2px solid #E3A874;outline-offset:2px}
