:root {
  --ink: oklch(18% 0.008 255);
  --muted: oklch(43% 0.01 255);
  --paper: oklch(98% 0.008 86);
  --linen: oklch(91% 0.012 96);
  --stone: oklch(78% 0.013 98);
  --river: oklch(52% 0.12 218);
  --river-deep: oklch(38% 0.1 220);
  --copper: oklch(55% 0.012 255);
  --moss: oklch(40% 0.07 132);
  --radius: 8px;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Aptos", "Segoe UI", system-ui, sans-serif;
  overflow-x: hidden;
  opacity: 0;
  transform: translateY(3px);
  transition: opacity 160ms ease, transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

img {
  max-width: 100%;
}

.is-ready body {
  opacity: 1;
  transform: translateY(0);
}

.is-leaving body {
  opacity: 0.9;
  transform: translateY(-1px);
  transition-duration: 60ms;
}

::view-transition-old(root) {
  animation: trc-page-out 60ms cubic-bezier(0.55, 0, 1, 0.45) both;
}

::view-transition-new(root) {
  animation: trc-page-in 120ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes trc-page-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0.9;
    transform: translateY(-1px);
  }
}

@keyframes trc-page-in {
  from {
    opacity: 0.94;
    transform: translateY(2px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

a {
  color: inherit;
}

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid color-mix(in oklch, var(--stone), transparent 35%);
  background: color-mix(in oklch, var(--paper), transparent 7%);
  backdrop-filter: blur(18px);
}

.nav-inner {
  display: flex;
  flex-wrap: wrap;
  min-height: 76px;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  line-height: 0.9;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, transform 180ms ease;
}

.brand img {
  width: 48px;
  height: 48px;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.brand:hover {
  transform: translateY(-1px);
}

.brand:hover img {
  transform: rotate(-2deg) scale(1.04);
}

.brand span span {
  display: block;
  color: var(--river-deep);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
  color: var(--river-deep);
  font-size: 0.94rem;
  font-weight: 500;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  color: var(--river-deep);
  font-size: 0.94rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color 180ms ease;
}

.phone-link:hover {
  color: var(--river);
}

.phone-icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.nav-links a,
.footer a,
.post-card,
.button {
  text-decoration: none;
}

.nav-links a:hover,
.footer a:hover {
  color: var(--river-deep);
}

.nav-links a,
.footer a {
  transition: color 180ms ease;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--river-deep);
  border-radius: var(--radius);
  background: var(--river-deep);
  color: var(--paper);
  font-weight: 500;
  padding: 0 18px;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), background 180ms ease, border-color 180ms ease, box-shadow 220ms ease;
}

.button:hover {
  border-color: var(--river);
  background: var(--river);
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0) scale(0.985);
}

.button.secondary {
  background: color-mix(in oklch, var(--river), transparent 90%);
  color: var(--river-deep);
}

.button.secondary:hover {
  color: var(--paper);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding: clamp(48px, 7vw, 92px) 0 clamp(42px, 6vw, 72px);
  background: color-mix(in oklch, var(--paper), white 42%);
  padding-inline: max(16px, calc((100vw - 1180px) / 2));
}

.hero > * {
  min-width: 0;
}

.hero > div:first-child {
  justify-self: stretch;
  max-width: 536px;
  width: 100%;
}

.hero > .hero-card {
  justify-self: stretch;
  width: 100%;
}

.kicker {
  color: var(--river-deep);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
.display {
  color: var(--river-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.display {
  max-width: 12ch;
  margin: 16px 0 20px;
  font-size: clamp(2.9rem, 7.4vw, 6.4rem);
  line-height: 0.86;
}

.lede,
.section-head p,
.page-intro,
.card p,
.article p,
.article li {
  color: var(--muted);
  line-height: 1.68;
}

.lede {
  max-width: 64ch;
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-card,
.post-card,
.card,
.quote {
  border: 1px solid color-mix(in oklch, var(--stone), transparent 12%);
  border-radius: 10px;
  background: color-mix(in oklch, var(--paper), var(--linen) 42%);
}

.hero-card {
  overflow: hidden;
  box-shadow: 0 18px 42px color-mix(in oklch, var(--river-deep), transparent 91%);
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 520ms ease;
}

.hero-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 52px color-mix(in oklch, var(--river-deep), transparent 89%);
}

.hero-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 64%;
}

.hero-note {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 18px;
}

.stat strong {
  display: block;
  font-size: 1.55rem;
  line-height: 1;
}

.stat span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.band {
  border-top: 1px solid color-mix(in oklch, var(--stone), transparent 20%);
  padding: clamp(44px, 7vw, 88px) 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.58fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 32px;
}

.section-head h2,
.page-title,
.article h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 0.96;
  overflow-wrap: break-word;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
}

.card {
  padding: 22px;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), border-color 220ms ease, background 220ms ease;
}

.material-card {
  overflow: hidden;
  padding: 0;
  color: inherit;
  text-decoration: none;
}

.material-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid color-mix(in oklch, var(--stone), transparent 18%);
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.material-card:hover img {
  transform: scale(1.025);
}

.material-card .card-body {
  padding: 22px;
}

.card:hover,
.post-card:hover {
  border-color: color-mix(in oklch, var(--river), var(--stone) 46%);
  transform: translateY(-3px);
}

.brand-card {
  overflow: hidden;
  padding: 0;
}

.brand-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid color-mix(in oklch, var(--stone), transparent 18%);
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.brand-card:hover img,
.post-card:hover img {
  transform: scale(1.025);
}

.brand-card .card-body {
  padding: 22px;
}

.logo-card .logo-panel {
  display: grid;
  min-height: 156px;
  place-items: center;
  border-bottom: 1px solid color-mix(in oklch, var(--stone), transparent 18%);
  background: color-mix(in oklch, white, var(--paper) 18%);
  padding: 28px;
}

.logo-card .logo-panel.dark {
  background: oklch(20% 0.02 72);
}

.logo-card .brand-logo {
  display: block;
  width: auto;
  max-width: min(86%, 230px);
  height: auto;
  max-height: 78px;
  aspect-ratio: auto;
  border: 0;
  object-fit: contain;
}

.logo-card:hover .brand-logo {
  transform: none;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.22rem;
}

.card p {
  margin: 0;
}

.card small {
  display: block;
  margin-top: 18px;
  color: var(--river-deep);
  font-weight: 900;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid color-mix(in oklch, var(--stone), transparent 8%);
  border-radius: 10px;
  background: var(--stone);
}

.step {
  min-height: 230px;
  background: var(--paper);
  padding: 24px;
}

.step span {
  color: var(--river-deep);
  font-weight: 900;
}

.step h3 {
  margin: 34px 0 12px;
  font-size: 1.35rem;
}

.image-strip {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 14px;
}

.image-strip div {
  overflow: hidden;
  border-radius: 10px;
  background: var(--linen);
}

.image-strip div:first-child {
  aspect-ratio: 16 / 9;
}

.image-strip div:last-child {
  aspect-ratio: 4 / 5;
}

.image-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-area,
.faq-list {
  display: grid;
  gap: 14px;
}

.service-area {
  max-width: 980px;
}

.service-area p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.service-area strong {
  color: var(--river-deep);
}

.faq-list details {
  border: 1px solid color-mix(in oklch, var(--stone), transparent 12%);
  border-radius: 10px;
  background: color-mix(in oklch, var(--paper), var(--linen) 35%);
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--river-deep);
  font-weight: 650;
}

.faq-list p {
  max-width: 860px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.68;
}

.table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 10px;
}

.table th,
.table td {
  border-bottom: 1px solid color-mix(in oklch, var(--stone), transparent 22%);
  padding: 18px 14px;
  text-align: left;
  vertical-align: top;
}

.table th {
  color: var(--river-deep);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.table td:nth-child(2) {
  color: var(--ink);
  font-weight: 900;
  white-space: nowrap;
}

.page {
  padding: clamp(44px, 7vw, 86px) 0;
}

.page-header {
  display: grid;
  gap: 18px;
  max-width: 820px;
  margin-bottom: 34px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 18px;
}

.post-card {
  overflow: hidden;
  display: block;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), border-color 220ms ease;
}

.post-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  body,
  .is-ready body,
  .is-leaving body {
    opacity: 1;
    transform: none;
  }
}

.post-card div {
  padding: 20px;
}

.post-card h2,
.post-card h3 {
  margin: 6px 0 10px;
  color: var(--river-deep);
  font-size: 1.45rem;
}

.post-card p {
  color: var(--muted);
  line-height: 1.6;
}

.article {
  max-width: 880px;
  padding: clamp(38px, 7vw, 82px) 0;
}

.article-meta {
  color: var(--river-deep);
  font-weight: 900;
  text-transform: uppercase;
}

.post-hero {
  overflow: hidden;
  aspect-ratio: 16 / 8;
  border-radius: 10px;
  margin: 28px 0 34px;
}

.post-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article section {
  margin-top: 34px;
}

.article h2 {
  font-size: 1.6rem;
}

.answer-box,
.decision-grid,
.local-proof,
.next-step-box {
  border: 1px solid color-mix(in oklch, var(--stone), transparent 12%);
  border-radius: 10px;
  background: color-mix(in oklch, var(--paper), var(--linen) 36%);
}

.answer-box,
.local-proof,
.next-step-box {
  padding: 20px;
}

.answer-box p,
.local-proof p,
.next-step-box p {
  margin: 0;
}

.page > .answer-box,
.page > .local-proof,
.page > .next-step-box {
  margin: 20px 0;
}

.answer-box strong,
.local-proof strong,
.next-step-box strong {
  color: var(--river-deep);
}

.decision-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
}

.decision-grid > div {
  min-width: 0;
  border-bottom: 1px solid color-mix(in oklch, var(--stone), transparent 18%);
  padding: 18px;
}

.decision-grid > div:nth-child(odd) {
  border-right: 1px solid color-mix(in oklch, var(--stone), transparent 18%);
}

.decision-grid h3 {
  margin: 0 0 8px;
  color: var(--river-deep);
  font-size: 1rem;
}

.decision-grid p {
  margin: 0;
}

.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  border: 1px solid color-mix(in oklch, var(--stone), transparent 12%);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.faq summary {
  cursor: pointer;
  font-weight: 900;
}

.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid color-mix(in oklch, var(--stone), transparent 10%);
  border-radius: var(--radius);
  background: color-mix(in oklch, white 88%, var(--paper));
  color: var(--ink);
  padding: 14px 12px;
}

.form select {
  appearance: none;
  background-color: color-mix(in oklch, white 88%, var(--paper));
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='9' viewBox='0 0 14 9' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 2l5 5 5-5' fill='none' stroke='%23005166' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 16px center;
  background-repeat: no-repeat;
  background-size: 14px 9px;
  padding-right: 48px;
}

.form .submit-row {
  display: flex;
  grid-column: 1 / -1;
  justify-content: flex-end;
}

.form textarea,
.form .wide {
  grid-column: 1 / -1;
}

.quote {
  margin-top: 20px;
  padding: 22px;
}

.footer {
  border-top: 1px solid color-mix(in oklch, var(--stone), transparent 20%);
  padding: 42px 0 28px;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(150px, 0.75fr));
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.footer-about {
  max-width: 520px;
}

.footer-about p {
  margin: 16px 0 0;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  gap: 9px;
  line-height: 1.35;
}

.footer-links strong {
  color: var(--river-deep);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.footer-links a,
.footer-phone {
  color: var(--river-deep);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  justify-content: space-between;
  border-top: 1px solid color-mix(in oklch, var(--stone), transparent 24%);
  margin-top: 34px;
  padding-top: 18px;
  font-size: 0.88rem;
  line-height: 1.5;
}

@media (max-width: 1100px) {
  .wrap {
    width: min(100% - 40px, 1180px);
  }

  .hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
    gap: clamp(24px, 4vw, 48px);
  }

  .display {
    font-size: clamp(2.75rem, 7vw, 5.7rem);
  }

  .process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }

  .phone-link {
    margin-left: auto;
  }

  .nav-inner {
    min-height: 68px;
    gap: 12px;
  }

  .nav .button {
    min-height: 40px;
    padding-inline: 14px;
  }

  .hero,
  .section-head,
  .image-strip {
    grid-template-columns: 1fr;
  }

  .hero {
    align-items: start;
    padding-inline: max(20px, calc((100vw - 720px) / 2));
    padding-top: clamp(36px, 8vw, 62px);
  }

  .hero > *,
  .hero > div:first-child,
  .hero > .hero-card {
    justify-self: stretch;
    width: 100%;
    max-width: 720px;
  }

  .display {
    max-width: 11ch;
  }

  .hero-card img {
    aspect-ratio: 16 / 11;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .band {
    padding: 40px 0;
  }

  .page,
  .article {
    padding: 40px 0;
  }

  .page-header {
    gap: 14px;
    margin-bottom: 26px;
  }

  .section-head h2,
  .page-title,
  .article h1 {
    font-size: clamp(2rem, 9.2vw, 2.8rem);
  }

  .post-hero {
    aspect-ratio: 4 / 3;
    margin: 22px 0 28px;
  }

  .image-strip div:first-child,
  .image-strip div:last-child {
    aspect-ratio: 16 / 10;
  }

  .table,
  .table tbody,
  .table tr,
  .table td {
    display: block;
    width: 100%;
  }

  .table {
    border-collapse: separate;
    border-spacing: 0;
  }

  .table thead {
    display: none;
  }

  .table tr {
    border: 1px solid color-mix(in oklch, var(--stone), transparent 18%);
    border-radius: var(--radius);
    background: color-mix(in oklch, var(--paper), var(--linen) 35%);
    margin-bottom: 12px;
    overflow: hidden;
  }

  .table td {
    border-bottom: 1px solid color-mix(in oklch, var(--stone), transparent 34%);
    padding: 12px 14px;
    white-space: normal;
  }

  .table td:last-child {
    border-bottom: 0;
  }

  .table td::before {
    display: block;
    color: var(--river-deep);
    content: "";
    font-size: 0.72rem;
    font-weight: 700;
    margin-bottom: 4px;
    text-transform: uppercase;
  }

  .table td:nth-child(1)::before {
    content: "Service";
  }

  .table td:nth-child(2)::before {
    content: "Typical price";
  }

  .table td:nth-child(3)::before {
    content: "Notes";
  }
}

@media (max-width: 560px) {
  .wrap {
    width: min(100% - 24px, 1180px);
  }

  .brand span {
    display: none;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .nav-inner {
    min-height: 64px;
  }

  .nav .button {
    display: none;
  }

  .hero {
    gap: 24px;
    padding: 34px 12px 38px;
  }

  .hero > *,
  .hero > div:first-child,
  .hero > .hero-card {
    width: min(100% - 24px, 1180px);
  }

  .actions {
    flex-direction: column;
  }

  .actions .button {
    width: 100%;
  }

  .hero-card {
    border-radius: 8px;
    box-shadow: 0 12px 30px color-mix(in oklch, var(--river-deep), transparent 93%);
  }

  .hero-card:hover {
    transform: none;
    box-shadow: 0 12px 30px color-mix(in oklch, var(--river-deep), transparent 93%);
  }

  .hero-card img {
    aspect-ratio: 4 / 3;
  }

  .hero-note {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .page-title,
  .article h1 {
    font-size: clamp(1.9rem, 7.2vw, 2.2rem);
    line-height: 1;
  }

  .page-title {
    max-width: 10ch;
  }

  .process,
  .form {
    grid-template-columns: 1fr;
  }

  .decision-grid {
    grid-template-columns: 1fr;
  }

  .decision-grid > div:nth-child(odd) {
    border-right: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .step {
    min-height: auto;
  }

  .section-head {
    gap: 16px;
    margin-bottom: 24px;
  }

  .form textarea,
  .form .wide,
  .form .submit-row {
    grid-column: auto;
  }

  .form .submit-row {
    display: block;
  }

  .form .submit-row .button {
    width: 100%;
  }

  .card,
  .material-card .card-body,
  .brand-card .card-body,
  .post-card div,
  .quote {
    padding: 18px;
  }

  .faq details {
    padding: 14px 16px;
  }
}

@media (max-width: 390px) {
  .nav .button {
    padding-inline: 10px;
  }

  .display {
    font-size: clamp(2.55rem, 15vw, 3.4rem);
  }

  .stat strong {
    font-size: 1.35rem;
  }
}
