@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/source-serif-4-v14-latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/source-serif-4-v14-latin-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/source-sans-3-v19-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/source-sans-3-v19-latin-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/source-sans-3-v19-latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/source-sans-3-v19-latin-700.woff2') format('woff2');
}

:root {
  --bg: #fbf6eb;
  --bg-alt: #f3ead6;
  --surface: #fffdf8;
  --ink: #2e2a23;
  --ink-soft: #5f5849;
  --primary: #8a5a19;
  --primary-hover: #6f4712;
  --on-primary: #fffcf3;
  --accent: #dfa23a;
  --accent-text: #8a5a19;
  --border: #e7dcc2;
  --focus: #8a5a19;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 700;
  line-height: 1.22;
  margin: 0 0 0.55em;
  color: var(--ink);
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.05rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1.05em; }

main a:not(.btn) {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

main a:not(.btn):hover {
  color: var(--primary-hover);
}

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

.container {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 100;
  background: var(--primary);
  color: var(--on-primary);
  padding: 0.5rem 1rem;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.btn {
  display: inline-block;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.7rem 1.5rem;
  border-radius: 4px;
  border: 1px solid var(--primary);
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  background: var(--primary);
  color: var(--on-primary);
}

.btn:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: var(--on-primary);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--on-primary);
}

.btn-lg {
  font-size: 1.1rem;
  padding: 0.8rem 1.8rem;
}

.topbar {
  background: var(--ink);
  color: var(--bg);
  font-size: 0.95rem;
  padding: 0.45rem 0;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.topbar p {
  margin: 0;
}

.topbar a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.topbar a:hover {
  text-decoration: underline;
}

.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.4rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 6px;
  background: var(--primary);
  position: relative;
  flex-shrink: 0;
}

.brand-mark::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/images/logo-mark-router.svg') center / 78% no-repeat;
}

.brand-text {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.1;
}

.brand-text em {
  font-style: normal;
  color: var(--primary);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a:not(.btn) {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.02rem;
  padding: 0.3rem 0;
}

.site-nav a:not(.btn):hover,
.site-nav a[aria-current='page']:not(.btn) {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 0.35em;
}

.caret {
  display: inline-block;
  margin-left: 0.4rem;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  vertical-align: 0.15em;
}

.has-drop {
  position: relative;
}

.has-drop::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 0.9rem;
}

.drop {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: calc(100% + 0.7rem);
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: 0 8px 22px rgba(46, 42, 35, 0.12);
  padding: 0.9rem 1.2rem;
  min-width: 15rem;
  z-index: 70;
  transition: opacity 0.15s ease 0.35s, visibility 0s linear 0.5s;
}

.drop::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -0.8rem;
  height: 0.8rem;
}

.has-drop:hover .drop,
.has-drop:focus-within .drop,
.drop:hover {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.12s ease, visibility 0s;
}

.drop ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: block;
}

.drop-wide ul {
  columns: 2;
  column-gap: 2.2rem;
  min-width: 30rem;
}

.drop li {
  break-inside: avoid;
}

.site-nav .drop a:not(.btn) {
  display: block;
  padding: 0.3rem 0;
  font-weight: 400;
  font-size: 0.98rem;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.5rem 0.55rem;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 1.4rem;
  height: 2px;
  background: var(--ink);
  margin: 0.3rem 0;
}

.section {
  padding: 3.6rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-head {
  max-width: 46rem;
  margin-bottom: 2rem;
}

.section-head p {
  color: var(--ink-soft);
}

.work-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.7rem;
}

.work-band figure {
  margin: 0;
}

.work-band img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.hero {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 3.2rem 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: start;
}

.hero h1 {
  margin-bottom: 0.4em;
}

.hero-lead {
  font-size: 1.2rem;
  max-width: 34rem;
}

.hero-contact {
  margin: 1.7rem 0 0;
  display: flex;
  align-items: center;
  gap: 1.3rem;
  flex-wrap: wrap;
}

.hero-phone {
  font-size: 1.05rem;
}

.hero-phone a {
  font-size: 1.3rem;
  font-weight: 700;
  white-space: nowrap;
}

.hero-note {
  color: var(--ink-soft);
  font-size: 0.98rem;
  margin: 0.9rem 0 0;
}

.plan-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent);
  border-radius: 4px;
  padding: 1.7rem 1.9rem;
}

.plan-box h2 {
  font-size: 1.35rem;
  margin-bottom: 0.5em;
}

.plan-box ul {
  margin: 0 0 1.1rem;
  padding-left: 1.25rem;
}

.plan-box li {
  margin-bottom: 0.35rem;
}

.plan-box p {
  font-size: 1rem;
  color: var(--ink-soft);
}

.plan-box .plan-link {
  font-weight: 700;
}

.area-strip {
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0;
  font-size: 0.98rem;
  color: var(--ink-soft);
}

.area-strip p {
  margin: 0;
}

.area-strip strong {
  color: var(--ink);
}

.svc-menu {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem;
}

.svc-group h3 {
  font-size: 1.08rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary);
  margin-bottom: 0.8rem;
}

.svc-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.svc-group li {
  padding: 0.42rem 0;
  border-bottom: 1px solid var(--border);
}

.svc-group li:last-child {
  border-bottom: 0;
}

.svc-group a {
  font-weight: 600;
  text-decoration: none;
}

.svc-group a:hover {
  text-decoration: underline;
}

.svc-desc {
  display: block;
  font-size: 0.94rem;
  color: var(--ink-soft);
  margin-top: 0.1rem;
}

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.8rem;
  align-items: start;
}

.split figure {
  margin: 0;
}

.split img {
  border-radius: 4px;
  border: 1px solid var(--border);
}

figcaption {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-top: 0.5rem;
  line-height: 1.5;
}

.checklist {
  margin: 0 0 1.3rem;
  padding-left: 1.25rem;
}

.checklist li {
  margin-bottom: 0.4rem;
}

.cta-band {
  border-top: 1px solid var(--border);
  padding: 2.4rem 0;
  background: var(--bg-alt);
}

.cta-band .cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-band h2 {
  font-size: 1.4rem;
  margin-bottom: 0.25em;
}

.cta-band p {
  margin: 0;
  max-width: 38rem;
  color: var(--ink-soft);
}

.faq-list {
  max-width: 48rem;
}

.faq-list details {
  border-bottom: 1px solid var(--border);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.08rem;
  padding: 0.9rem 2.2rem 0.9rem 0;
  list-style: none;
  position: relative;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: '+';
  position: absolute;
  right: 0.3rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--primary);
}

.faq-list details[open] summary::after {
  content: '\2212';
}

.faq-list details > div {
  padding: 0 0 1.1rem;
  color: var(--ink-soft);
  max-width: 44rem;
}

.page-head {
  padding: 2.6rem 0 0.4rem;
  border-bottom: 0;
}

.page-head .container {
  max-width: 52rem;
}

.page-head h1 {
  margin-bottom: 0.35em;
}

.page-head .lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
}

.breadcrumbs {
  font-size: 0.92rem;
  margin-bottom: 1.2rem;
  color: var(--ink-soft);
}

.breadcrumbs a {
  color: var(--ink-soft);
}

.breadcrumbs span[aria-hidden] {
  margin: 0 0.35rem;
}

.prose {
  max-width: 52rem;
}

.prose h2 {
  margin-top: 1.7em;
}

.prose h2:first-child {
  margin-top: 0;
}

.service-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.8rem 0;
}

.service-photos img {
  border-radius: 4px;
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.plan-feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 4px;
  padding: 1.7rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2.4rem;
}

.plan-feature h2 {
  font-size: 1.35rem;
  margin-bottom: 0.3em;
}

.plan-feature p {
  margin: 0;
  max-width: 38rem;
  color: var(--ink-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 3rem;
  align-items: start;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.8rem;
  display: grid;
  gap: 1.1rem;
}

.field {
  display: grid;
  gap: 0.3rem;
}

.field label {
  font-weight: 700;
  font-size: 1rem;
}

.field-hint {
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--ink-soft);
}

.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 1.05rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.65rem 0.8rem;
  width: 100%;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}

.field textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.cw-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  border-radius: 4px;
  padding: 0.9rem 1.1rem;
  font-weight: 600;
  display: none;
}

.form-status.is-success {
  display: block;
  background: var(--bg-alt);
  border: 1px solid var(--primary);
}

.form-status.is-error {
  display: block;
  background: var(--bg-alt);
  border: 1px solid var(--accent-text);
}

.contact-aside h2 {
  font-size: 1.3rem;
}

.contact-aside .contact-block {
  margin-bottom: 1.6rem;
}

.contact-aside .contact-block p {
  margin-bottom: 0.3em;
}

.site-footer {
  background: var(--ink);
  color: var(--bg);
  padding: 2.8rem 0 1.4rem;
  margin-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 2.2rem;
}

.footer-brand {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.5em;
}

.footer-brand em {
  font-style: normal;
  color: var(--accent);
}

.footer-heading {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.7em;
  color: var(--accent);
}

.site-footer ul {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.35rem;
}

.site-footer a {
  color: var(--bg);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer p {
  color: var(--bg);
  opacity: 0.92;
  font-size: 0.98rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  margin-top: 2.2rem;
  padding-top: 1.2rem;
}

.footer-bottom p {
  font-size: 0.9rem;
  opacity: 0.75;
  margin: 0;
}

@media (max-width: 56rem) {
  .hero-grid,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .svc-menu {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  .work-band {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }
  .hero-grid {
    gap: 2rem;
  }
  .split {
    gap: 1.8rem;
  }
  .service-photos {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 48rem) {
  .nav-toggle {
    display: block;
  }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    z-index: 60;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.25rem 1.4rem;
    flex-direction: column;
    align-items: stretch;
  }
  .site-header {
    position: relative;
  }
  .site-nav.is-open {
    display: flex;
  }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .site-nav ul a:not(.btn) {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 1.1rem;
  }
  .has-drop::after {
    display: none;
  }
  .drop,
  .has-drop:hover .drop,
  .has-drop:focus-within .drop {
    visibility: visible;
    opacity: 1;
    transition: none;
    position: static;
    transform: none;
    border: 0;
    box-shadow: none;
    padding: 0 0 0 1.1rem;
    min-width: 0;
    background: transparent;
  }
  .drop::before {
    display: none;
  }
  .drop-wide ul {
    columns: 1;
    min-width: 0;
  }
  .site-nav .drop a:not(.btn) {
    font-size: 1rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid var(--border);
    white-space: normal;
  }
  .caret {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 2.6rem 0;
  }
  .service-photos {
    grid-template-columns: 1fr;
  }
  .topbar .container {
    justify-content: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
