:root {
  color-scheme: light;
  --ink: oklch(0.24 0.02 255);
  --ink-soft: oklch(0.44 0.015 255);
  --bg: oklch(0.985 0.003 255);
  --surface: oklch(0.955 0.005 255);
  --line: oklch(0.88 0.008 255);
  --steel: oklch(0.28 0.022 255);
  --steel-2: oklch(0.20 0.02 255);
  --on-steel: oklch(0.97 0.004 255);
  --on-steel-soft: oklch(0.80 0.012 255);
  --cedar: oklch(0.72 0.135 63);
  --cedar-strong: oklch(0.66 0.15 57);
  --on-cedar: oklch(0.22 0.05 60);
  --ring: oklch(0.72 0.135 63);
  --shadow: 0 1px 2px oklch(0.24 0.02 255 / 0.06), 0 8px 24px oklch(0.24 0.02 255 / 0.08);
  --maxw: 1080px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 clamp(1rem, 0.96rem + 0.2vw, 1.075rem)/1.65 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2 { font-family: ui-serif, Georgia, "Times New Roman", serif; font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; }

.skip {
  position: absolute; left: 0; top: -100%;
  background: var(--ink); color: var(--on-steel);
  padding: 0.6rem 1rem; border-radius: 0 0 8px 0; z-index: 60;
}
.skip:focus { top: 0; }

:where(a, button):focus-visible {
  outline: 3px solid var(--ring); outline-offset: 3px; border-radius: 4px;
}

/* Header */
.site-head {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 2.5rem);
  background: oklch(0.985 0.003 255 / 0.86);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { font-family: ui-serif, Georgia, serif; font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; }
.site-head nav { display: flex; align-items: center; gap: 0.4rem 1rem; flex-wrap: wrap; justify-content: flex-end; }
.head-phone { font-weight: 600; text-decoration: none; padding: 0.4rem 0.2rem; }
.head-phone:hover { color: var(--cedar-strong); }
.head-cta {
  text-decoration: none; font-weight: 600; font-size: 0.95rem;
  padding: 0.5rem 1rem; border-radius: 999px;
  background: var(--cedar); color: var(--on-cedar);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.head-cta:hover { background: var(--cedar-strong); transform: translateY(-1px); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; text-decoration: none; white-space: nowrap;
  padding: 0.95rem 1.6rem; border-radius: 10px; font-size: 1.02rem;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn-primary { background: var(--cedar); color: var(--on-cedar); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--cedar-strong); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--on-steel); border: 1.5px solid oklch(0.97 0.004 255 / 0.4); }
.btn-ghost:hover { border-color: var(--on-steel); transform: translateY(-2px); }
.btn-line { background: var(--bg); color: var(--ink); border: 1.5px solid var(--line); }
.btn-line:hover { border-color: var(--ink); transform: translateY(-2px); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--steel), var(--steel-2));
  color: var(--on-steel);
  padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1rem, 4vw, 2.5rem) 0;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(90deg, oklch(1 0 0 / 0.045) 0 1.5px, transparent 1.5px 26px);
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}
.hero-inner { position: relative; max-width: var(--maxw); margin: 0 auto; }
.pill {
  display: inline-block; margin: 0 0 1.1rem;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em;
  padding: 0.35rem 0.85rem; border-radius: 999px;
  background: oklch(1 0 0 / 0.1); color: var(--on-steel);
  border: 1px solid oklch(1 0 0 / 0.16);
}
.hero h1 { margin: 0; font-size: clamp(2.5rem, 1.6rem + 4.4vw, 4.75rem); }
.hero-sub {
  margin: 1.1rem 0 0; max-width: 46ch;
  font-size: clamp(1.08rem, 1rem + 0.5vw, 1.35rem); color: var(--on-steel-soft);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }
.facts {
  position: relative; max-width: var(--maxw); margin: clamp(2.5rem, 5vw, 4rem) auto 0;
  list-style: none; padding: 1.1rem 0; display: flex; flex-wrap: wrap; gap: 0.6rem 2rem;
  border-top: 1px solid oklch(1 0 0 / 0.14);
}
.facts li { position: relative; padding-left: 1.4rem; font-weight: 600; color: var(--on-steel); }
.facts li::before {
  content: ""; position: absolute; left: 0; top: 0.5em;
  width: 8px; height: 8px; background: var(--cedar); transform: rotate(45deg);
}

/* Sections */
.section-inner { max-width: var(--maxw); margin: 0 auto; padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 4vw, 2.5rem); }
.section-inner.narrow { max-width: 68ch; }
h2 { font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.4rem); margin: 0 0 1.5rem; }

.services { background: var(--bg); }
.svc-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0;
  border-top: 1px solid var(--line);
}
.svc-list li {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 1.05rem 0.4rem; font-weight: 500; font-size: 1.08rem;
  border-bottom: 1px solid var(--line);
}
.svc-mark { flex: none; width: 9px; height: 9px; background: var(--cedar); transform: rotate(45deg); }

.value { background: var(--surface); border-block: 1px solid var(--line); }
.value p { margin: 0; font-size: clamp(1.15rem, 1.05rem + 0.6vw, 1.5rem); line-height: 1.55; color: var(--ink); }
.value a { color: var(--cedar-strong); font-weight: 600; text-underline-offset: 3px; }

.contact { background: linear-gradient(160deg, var(--steel), var(--steel-2)); color: var(--on-steel); }
.contact h2 { color: var(--on-steel); }
.contact-lead { margin: 0 0 1.8rem; max-width: 48ch; color: var(--on-steel-soft); font-size: 1.15rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.addr { margin: 1.8rem 0 0; color: var(--on-steel-soft); font-size: 0.98rem; }

/* Footer */
.site-foot { max-width: var(--maxw); margin: 0 auto; padding: 2.5rem clamp(1rem, 4vw, 2.5rem); }
.foot-brand { font-family: ui-serif, Georgia, serif; font-weight: 600; font-size: 1.1rem; margin: 0; }
.foot-meta { margin: 0.3rem 0 0; color: var(--ink-soft); }
.foot-copy { margin: 1rem 0 0; color: var(--ink-soft); font-size: 0.85rem; }

/* Motion: entrance limited to non-LCP hero elements to protect paint timing. */
@media (prefers-reduced-motion: no-preference) {
  .pill, .hero-sub, .hero-actions {
    animation: rise 0.6s var(--ease) both;
  }
  .hero-sub { animation-delay: 0.05s; }
  .hero-actions { animation-delay: 0.1s; }
  @keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}
