:root {
  --ink: #101820;
  --ink-soft: #3a4652;
  --paper: #f3eee6;
  --paper-deep: #e7dfd2;
  --white: #fffcf7;
  --copper: #b85c38;
  --copper-deep: #8c3e22;
  --line: rgba(16, 24, 32, 0.12);
  --cream: #f6efe6;
  --header: 4.75rem;
  --content: 1120px;
  --shadow: 0 18px 40px rgba(16, 24, 32, 0.08);
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 0.75rem);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
.logo strong,
.band p,
.footer-brand {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 0.75rem;
  z-index: 20;
  transform: translateY(-150%);
  background: var(--white);
  color: var(--ink);
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
}

.skip-link:focus {
  transform: none;
}

.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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--header);
  background: var(--paper);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-inner,
.section,
.band,
.footer-inner {
  width: min(var(--content), calc(100% - 2.5rem));
  margin-inline: auto;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-mark {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  position: relative;
  flex: none;
}

.logo-mark::after {
  content: "";
  position: absolute;
  inset: 0.62rem;
  border-radius: 50%;
  background: var(--copper);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo strong {
  font-size: 1.2rem;
}

.logo small {
  margin-top: 0.15rem;
  color: var(--ink-soft);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.site-nav a {
  text-decoration: none;
  font-size: 0.98rem;
}

.site-nav a:not(.nav-cta):hover,
.site-nav a:not(.nav-cta):focus-visible {
  color: var(--copper-deep);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  background: #9a4324;
  color: #fffaf6;
  text-decoration: none;
  border: 1px solid #9a4324;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}

.nav-cta {
  min-height: 2.5rem;
  padding: 0.45rem 0.95rem;
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.btn:hover,
.nav-cta:hover,
.btn:focus-visible,
.nav-cta:focus-visible {
  background: var(--copper-deep);
  border-color: var(--copper-deep);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1rem;
  height: 1.5px;
  background: var(--ink);
  position: relative;
}

.nav-toggle-bars {
  margin: 0 auto;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -5px;
}

.nav-toggle-bars::after {
  top: 5px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.hero {
  background:
    radial-gradient(ellipse 70% 55% at 88% 8%, rgba(184, 92, 56, 0.35), transparent 58%),
    radial-gradient(ellipse 45% 40% at 0% 100%, rgba(27, 92, 86, 0.45), transparent 60%),
    var(--ink);
  color: var(--cream);
}

.hero-grid {
  width: min(var(--content), calc(100% - 2.5rem));
  margin-inline: auto;
  min-height: calc(100vh - var(--header));
  min-height: calc(100svh - var(--header));
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 3rem;
  align-items: center;
  padding: 3.5rem 0;
}

.eyebrow {
  margin-bottom: 1rem;
  color: #e7c2b0;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow-dark {
  color: var(--copper-deep);
}

h1 {
  max-width: 11ch;
  font-size: clamp(3.3rem, 6.2vw, 5.6rem);
  line-height: 1.02;
}

.lede,
.section-intro,
.about-copy p:not(.eyebrow),
.service-card p,
.about-points p,
.contact-card p {
  color: var(--ink-soft);
}

.lede {
  max-width: 32rem;
  margin-top: 1.4rem;
  color: rgba(246, 239, 230, 0.82);
  font-size: 1.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(246, 239, 230, 0.4);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}

.hero-panel {
  justify-self: end;
  width: min(100%, 22rem);
  padding: 1.4rem 1.4rem 0.6rem;
  border: 1px solid rgba(246, 239, 230, 0.16);
  border-radius: 1.4rem;
  background: rgba(255, 252, 247, 0.05);
}

.panel-kicker {
  margin-bottom: 0.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e7c2b0;
}

.hero-panel ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: deliver;
}

.hero-panel li {
  counter-increment: deliver;
  border-top: 1px solid rgba(246, 239, 230, 0.12);
}

.hero-panel a {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  padding: 0.85rem 0;
  text-decoration: none;
}

.hero-panel a::before {
  content: counter(deliver, decimal-leading-zero);
  color: #e7c2b0;
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
}

.hero-panel a:hover,
.hero-panel a:focus-visible {
  color: #fff;
}

.section {
  padding: 5.5rem 0;
}

.section-head {
  max-width: 42rem;
  margin-bottom: 2.5rem;
}

h2 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.05;
}

.section-intro,
.about-copy p {
  margin-top: 1.1rem;
  font-size: 1.08rem;
}

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

.service-card {
  position: relative;
  min-height: 16.5rem;
  padding: 1.35rem 1.3rem 1.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  scroll-margin-top: calc(var(--header) + 1rem);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-card svg {
  width: 1.8rem;
  height: 1.8rem;
  margin: 1.6rem 0 0.9rem;
  color: var(--copper-deep);
}

.service-index {
  color: var(--ink-soft);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.service-card p {
  margin-top: 0.55rem;
}

.service-card:hover {
  border-color: rgba(140, 62, 34, 0.45);
  box-shadow: var(--shadow);
}

.band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 0;
  border-block: 1px solid var(--line);
}

.band p {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.band span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--copper);
  flex: none;
}

.about {
  background:
    linear-gradient(180deg, rgba(16, 24, 32, 0.02), transparent 18%),
    var(--paper);
}

.about-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: start;
}

.about-points {
  display: grid;
  gap: 0.85rem;
}

.about-points article {
  padding: 1.25rem 1.3rem;
  background: var(--ink);
  color: var(--cream);
  border-radius: 1.15rem;
}

.about-points h3 {
  font-size: 1.05rem;
  font-weight: 600;
}

.about-points p {
  margin-top: 0.4rem;
  color: rgba(246, 239, 230, 0.78);
}

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

.contact-card {
  padding: 1.35rem 1.3rem 1.45rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
}

.contact-card h3 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.contact-card p {
  margin-top: 0.7rem;
  color: var(--ink);
}

.contact-card > .text-link {
  display: inline-block;
  margin-top: 0.9rem;
}

.text-link {
  color: var(--copper-deep);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--ink);
}

button:focus-visible,
a:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 2px;
}

.site-footer {
  background: var(--ink);
  color: rgba(246, 239, 230, 0.78);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem 1.5rem;
  padding: 1.5rem 0;
}

.footer-brand {
  color: var(--cream);
  font-size: 1.25rem;
}

.site-footer a {
  color: var(--cream);
}

.site-footer p,
.site-footer a {
  font-size: 0.95rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .about-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    align-items: start;
    min-height: 0;
    gap: 2rem;
  }

  .hero-panel {
    justify-self: stretch;
    width: auto;
  }

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

  h1 {
    max-width: 12ch;
  }
}

@media (max-width: 760px) {
  .header-inner,
  .section,
  .band,
  .footer-inner,
  .hero-grid {
    width: min(var(--content), calc(100% - 1.5rem));
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 0.75rem;
    right: 0.75rem;
    z-index: 2;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: 0.8rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 1rem;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.75rem 0.7rem;
    border-radius: 0.7rem;
  }

  .site-nav a:not(.nav-cta):hover,
  .site-nav a:not(.nav-cta):focus-visible {
    background: var(--paper);
  }

  .nav-cta {
    background: #9a4324;
    border-color: #9a4324;
    color: #fffaf6;
    text-align: center;
  }

  .nav-cta:hover,
  .nav-cta:focus-visible {
    background: var(--copper-deep);
    border-color: var(--copper-deep);
    color: #fffaf6;
  }

  .hero-grid,
  .about-layout,
  .contact-grid,
  .service-grid,
  .band {
    grid-template-columns: 1fr;
    display: grid;
  }

  .band {
    justify-items: start;
    gap: 0.35rem;
  }

  .band span {
    display: none;
  }

  h1 {
    max-width: 12ch;
    font-size: clamp(2.8rem, 13vw, 4rem);
  }

  .section {
    padding: 4rem 0;
  }

  .service-card {
    min-height: 0;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .service-card {
    transition: none;
  }
}
