:root {
  --ink: #0f2a2e;
  --ink-soft: #33484b;
  --sea: #a6acff;
  --sea-raised: #c3c7ff;
  --teal: #1f5a66;
  --teal-deep: #153f48;
  --brass: #c97a2b;
  --grey: #7c8683;
  --line: #c3cbc7;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--sea);
  color: var(--ink);
  font-family:
    "Work Sans",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
.wordmark {
  font-family: "Space Grotesk", "Work Sans", sans-serif;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
}
a {
  color: inherit;
}
img,
svg {
  max-width: 100%;
  display: block;
}
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

a:focus-visible,
button:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- waterline divider, recurring motif ---------- */
.waterline {
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    var(--line) 0 10px,
    transparent 10px 18px
  );
}

/* ---------- header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(228, 233, 231, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
}
.wordmark {
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
}
.wordmark span {
  color: var(--teal);
}
nav ul {
  list-style: none;
  display: flex;
  gap: 36px;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
}
nav ul a {
  text-decoration: none;
  color: var(--ink-soft);
}
nav ul a:hover {
  color: var(--teal);
}
.nav-cta {
  display: inline-block;
  padding: 11px 20px;
  background: var(--ink);
  color: var(--sea-raised);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  border: 1px solid var(--ink);
}
.nav-cta:hover {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
}
.nav-toggle {
  display: none;
}
.nav-toggle-label {
  display: none;
}

@media (max-width: 860px) {
  nav ul {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--sea-raised);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
  }
  nav ul li {
    border-top: 1px solid var(--line);
  }
  nav ul a {
    display: block;
    padding: 16px 32px;
  }
  .nav-toggle:checked ~ ul {
    max-height: 400px;
  }
  .nav-toggle-label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 26px;
    cursor: pointer;
  }
  .nav-toggle-label span {
    height: 2px;
    background: var(--ink);
    display: block;
  }
  .nav-cta {
    display: none;
  }
}

/* ---------- hero ---------- */
.hero {
  padding: 88px 0 0;
}
.hero .wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 56px;
}
.hero-eyebrow {
  font-size: 0.85rem;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.3rem, 4.4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.08;
  max-width: 15ch;
}
.hero-lede {
  margin-top: 24px;
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 48ch;
}
.hero-ctas {
  margin-top: 34px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-primary {
  padding: 14px 26px;
  background: var(--ink);
  color: var(--sea-raised);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid var(--ink);
}
.btn-primary:hover {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
}
.btn-secondary {
  padding: 14px 26px;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid var(--ink);
}
.btn-secondary:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* ---------- section scaffolding ---------- */
section {
  padding: 80px 0;
}
.section-head {
  margin-bottom: 52px;
  align-items: end;
}
.section-head h2 {
  font-size: clamp(1.65rem, 2.8vw, 2.2rem);
  font-weight: 700;
  line-height: 1.15;
}
.section-head p {
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0;
}
@media (max-width: 760px) {
  .section-head {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ---------- services ---------- */
.services {
  background: var(--sea-raised);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 36px 36px 40px;
}
.service h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.service p {
  color: var(--ink-soft);
  margin: 0;
  max-width: 42ch;
}
.service-mark {
  width: 34px;
  height: 34px;
  margin-bottom: 22px;
  stroke: var(--brass);
  fill: none;
  stroke-width: 1.6;
}
@media (max-width: 760px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- distinction ---------- */
.distinction {
  display: flex;
  justify-content: center;
  align-items: center;
}
.distinction-quote {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  border-left: 3px solid var(--brass);
  padding-left: 28px;
}
.distinction-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.distinction-list li {
  padding: 20px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
}
.distinction-list li:last-child {
  border-bottom: 1px solid var(--line);
}
.distinction-list h4 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin: 0;
  color: var(--teal-deep);
}
.distinction-list p {
  margin: 0;
  color: var(--ink-soft);
}
@media (max-width: 760px) {
  .distinction {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .distinction-list li {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* ---------- process ---------- */
.process {
  background: var(--sea-raised);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.steps {
    display: flex;
    flex-direction: column;
    align-items: center;
  position: relative;
  /* max-width: 760px; */
}
.steps::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: var(--line);
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding-bottom: 44px;
}
.step:last-child {
  padding-bottom: 0;
}
.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  position: relative;
  z-index: 1;
}
.step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.step p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 52ch;
}

/* ---------- recent work (no listings, service log style) ---------- */
.work-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.work-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.work-row h3 {
  font-size: 1.1rem;
  font-weight: 700;
}
.work-type {
  color: var(--teal);
  font-size: 0.92rem;
  font-weight: 600;
}
.work-loc {
  color: var(--grey);
  font-size: 0.92rem;
}
@media (max-width: 620px) {
  .work-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
.work-disclaimer {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--grey);
}

/* ---------- cta band ---------- */
.cta-band {
  background: var(--sea);
  color: var(--brass);
  padding: 76px 0;
}
.cta-band .wrap {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 32px;
  align-items: center;
}
.cta-band h2 {
  color: var(--ink);
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  font-weight: 700;
  line-height: 1.15;
}
.cta-band p {
  color: var(--ink);
  margin-top: 14px;
  max-width: 46ch;
}
.cta-band .btn-primary {
  background: var(--sea-raised);
  color: var(--ink);
}

@media (max-width: 760px) {
  .cta-band .wrap {
    grid-template-columns: 1fr;
  }
}

/* ---------- footer ---------- */
footer {
  padding: 52px 0 40px;
  background-color: var(--sea-raised);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
footer h4 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--ink-soft);
}
footer p {
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
footer li {
  margin-bottom: 8px;
  font-size: 0.95rem;
}
footer a {
  text-decoration: none;
  color: var(--ink-soft);
}
footer a:hover {
  color: var(--teal);
}
.footer-bottom {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 22px;
  font-size: 0.85rem;
  color: var(--grey);
}
@media (max-width: 700px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
