:root {
  --ink: #0c2927;
  --ink-soft: #244845;
  --cream: #f5f0e6;
  --paper: #fffdf8;
  --orange: #ef9d4e;
  --orange-deep: #d97f2b;
  --sage: #6a9164;
  --mint: #cfe5df;
  --line: rgba(12, 41, 39, 0.14);
  --shadow: 0 24px 70px rgba(12, 41, 39, 0.14);
  --shell: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.sr-only {
  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: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: white;
  background: var(--ink);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.scrolled {
  background: rgba(255, 253, 248, 0.94);
  border-color: var(--line);
  box-shadow: 0 8px 30px rgba(12, 41, 39, 0.06);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--ink);
}

.brand-mark svg {
  width: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-mark .spark {
  fill: var(--orange);
  stroke: var(--orange);
  stroke-width: 1;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-copy strong {
  font-family: "Avenir Next", "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  letter-spacing: 0.14em;
}

.brand-copy span {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.27em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 15px;
  font-weight: 600;
}

.site-nav > a:not(.button) {
  position: relative;
}

.site-nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 2px;
  background: var(--orange);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.site-nav > a:hover::after,
.site-nav > a:focus-visible::after {
  transform: scaleX(1);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 0;
  color: var(--ink);
  background: transparent;
}

.menu-button span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin-block: 5px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 14px 23px;
  border: 2px solid var(--ink);
  color: white;
  background: var(--ink);
  border-radius: 6px;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 5px 5px 0 var(--orange);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  background: #123d3a;
  box-shadow: 2px 2px 0 var(--orange);
  transform: translate(3px, 3px);
}

.button svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-small {
  min-height: 44px;
  padding: 10px 18px;
  box-shadow: none;
  font-size: 14px;
}

.button-small:hover,
.button-small:focus-visible {
  box-shadow: none;
  transform: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 148px 0 82px;
  background:
    radial-gradient(circle at 8% 15%, rgba(106, 145, 100, 0.12), transparent 28%),
    linear-gradient(135deg, var(--paper) 0%, #f7f1e5 100%);
}

.hero::after {
  position: absolute;
  right: -70px;
  bottom: -160px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(12, 41, 39, 0.08);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 62px rgba(12, 41, 39, 0.02), 0 0 0 124px rgba(12, 41, 39, 0.018);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(48px, 7vw, 100px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 21px;
  color: var(--sage);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow span {
  width: 31px;
  height: 2px;
  background: currentColor;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: "Avenir Next", "Segoe UI", Arial, sans-serif;
  line-height: 1.08;
}

h1 {
  max-width: 760px;
  margin-bottom: 27px;
  font-size: clamp(51px, 6.2vw, 82px);
  letter-spacing: -0.055em;
}

h1 em {
  position: relative;
  color: var(--orange-deep);
  font-style: normal;
}

h1 em::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 2px;
  height: 9px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10'%3E%3Cpath d='M2 7c40-5 80-5 196-3' fill='none' stroke='%23ef9d4e' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  content: "";
}

h2 {
  margin-bottom: 26px;
  font-size: clamp(38px, 4.5vw, 61px);
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 13px;
  font-size: 23px;
  letter-spacing: -0.025em;
}

.hero-lead {
  max-width: 620px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 29px;
  margin-top: 34px;
}

.text-link {
  border-bottom: 1px solid currentColor;
  font-weight: 700;
}

.text-link span {
  display: inline-block;
  margin-left: 5px;
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateY(3px);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 13px 22px;
  padding: 0;
  margin: 35px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
  list-style: none;
}

.trust-list span {
  display: inline-grid;
  width: 19px;
  height: 19px;
  margin-right: 5px;
  place-items: center;
  color: white;
  background: var(--sage);
  border-radius: 50%;
  font-size: 11px;
}

.hero-visual {
  position: relative;
  min-height: 570px;
}

.visual-glow {
  position: absolute;
  top: 7%;
  right: -8%;
  width: 105%;
  aspect-ratio: 1;
  background: var(--mint);
  border-radius: 48% 52% 47% 53% / 60% 44% 56% 40%;
  transform: rotate(5deg);
}

.building-card {
  position: absolute;
  top: 7%;
  right: 4%;
  bottom: 6%;
  left: 5%;
  overflow: hidden;
  background: #e8f0e7;
  border: 2px solid var(--ink);
  border-radius: 160px 160px 14px 14px;
  box-shadow: 13px 13px 0 rgba(12, 41, 39, 0.12);
}

.building {
  position: absolute;
  right: 0;
  bottom: -3px;
  width: 100%;
}

.sky-spark {
  position: absolute;
  z-index: 2;
  width: 19px;
  height: 19px;
}

.sky-spark::before,
.sky-spark::after {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--orange);
  border-radius: 50%;
  content: "";
}

.sky-spark::after {
  transform: rotate(90deg);
}

.spark-one {
  top: 20%;
  left: 15%;
}

.spark-two {
  top: 11%;
  right: 20%;
  transform: scale(0.65);
}

.service-badge {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
  padding: 13px 17px;
  background: white;
  border: 1px solid var(--ink);
  border-radius: 9px;
  box-shadow: 6px 6px 0 rgba(12, 41, 39, 0.16);
}

.service-badge strong,
.service-badge small {
  display: block;
  line-height: 1.3;
}

.service-badge strong {
  font-size: 14px;
}

.service-badge small {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 11px;
}

.badge-top {
  top: 3%;
  left: -3%;
}

.badge-bottom {
  right: -2%;
  bottom: 3%;
}

.badge-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: white;
  background: var(--sage);
  border-radius: 50%;
  font-size: 16px;
  font-weight: 800;
}

.badge-icon-orange {
  color: var(--ink);
  background: var(--orange);
}

.section {
  padding: clamp(90px, 10vw, 140px) 0;
}

.services {
  background: white;
}

.section-heading {
  display: grid;
  align-items: end;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 70px;
  margin-bottom: 55px;
}

.section-heading h2,
.section-heading p {
  margin-bottom: 0;
}

.section-heading > p {
  max-width: 470px;
  color: var(--ink-soft);
  font-size: 18px;
}

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

.service-card {
  position: relative;
  padding: 35px 31px 34px;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-7px);
}

.service-card-featured {
  background: var(--ink);
  color: white;
}

.service-card-featured p,
.service-card-featured li {
  color: rgba(255, 255, 255, 0.75);
}

.service-card-featured .service-icon {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

.service-card-featured .service-icon .accent {
  stroke: var(--orange);
}

.service-icon {
  display: grid;
  width: 62px;
  height: 62px;
  margin-bottom: 37px;
  place-items: center;
  background: white;
  border-radius: 50%;
}

.service-icon svg {
  width: 36px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-icon .accent {
  stroke: var(--orange-deep);
}

.card-number {
  position: absolute;
  top: 31px;
  right: 30px;
  margin: 0;
  color: rgba(12, 41, 39, 0.35);
  font-family: "Avenir Next", "Segoe UI", Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.service-card > p:not(.card-number) {
  min-height: 84px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.service-card-featured > p:not(.card-number),
.service-card-featured .card-number {
  color: rgba(255, 255, 255, 0.75);
}

.service-card ul {
  padding: 23px 0 0;
  margin: 25px 0 0;
  border-top: 1px solid rgba(12, 41, 39, 0.13);
  font-size: 14px;
  font-weight: 600;
  list-style: none;
}

.service-card-featured ul {
  border-color: rgba(255, 255, 255, 0.13);
}

.service-card li {
  position: relative;
  padding-left: 19px;
  margin-top: 7px;
}

.service-card li::before {
  position: absolute;
  top: 10px;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  content: "";
}

.about {
  background: var(--cream);
}

.about-grid {
  display: grid;
  align-items: center;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(60px, 9vw, 130px);
}

.about-visual {
  position: relative;
  display: grid;
  width: 100%;
  max-width: 430px;
  aspect-ratio: 0.88;
  place-items: center;
  background:
    radial-gradient(circle at 40% 35%, rgba(255, 255, 255, 0.16), transparent 35%),
    var(--ink);
  border: 2px solid var(--ink);
  border-radius: 160px 160px 10px 10px;
  box-shadow: 15px 15px 0 var(--orange);
}

.about-visual::before,
.about-visual::after {
  position: absolute;
  width: 70px;
  height: 70px;
  border: 2px solid rgba(255, 255, 255, 0.19);
  border-radius: 50%;
  content: "";
}

.about-visual::before {
  top: 45px;
  left: 44px;
  box-shadow: 0 0 0 18px rgba(255, 255, 255, 0.035);
}

.about-visual::after {
  right: 40px;
  bottom: 50px;
}

.monogram {
  position: relative;
  z-index: 1;
  color: white;
  font-family: "Avenir Next", "Segoe UI", Arial, sans-serif;
  font-size: clamp(84px, 12vw, 142px);
  font-weight: 800;
  letter-spacing: -0.1em;
  line-height: 1;
}

.monogram::after {
  position: absolute;
  right: -6px;
  bottom: -14px;
  left: 6px;
  height: 7px;
  background: var(--orange);
  border-radius: 50%;
  content: "";
  transform: rotate(-3deg);
}

.about-label {
  position: absolute;
  right: -24px;
  bottom: 37px;
  padding: 10px 16px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--ink);
  border-radius: 5px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-copy {
  max-width: 600px;
}

.about-copy > p {
  color: var(--ink-soft);
}

.about-copy .large-copy {
  color: var(--ink);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.55;
}

.signature {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
}

.signature-line {
  width: 56px;
  height: 2px;
  background: var(--orange-deep);
}

.signature strong,
.signature small {
  display: block;
  line-height: 1.3;
}

.signature small {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 12px;
  text-transform: uppercase;
}

.process {
  background: white;
}

.section-heading.centered {
  display: block;
  max-width: 730px;
  margin-inline: auto;
  text-align: center;
}

.section-heading.centered .eyebrow {
  justify-content: center;
}

.process-grid {
  position: relative;
  display: grid;
  padding: 0;
  margin: 60px 0 0;
  counter-reset: item;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
}

.process-grid::before {
  position: absolute;
  top: 33px;
  right: 16%;
  left: 16%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px);
  content: "";
}

.process-step {
  position: relative;
  z-index: 1;
  padding: 0 26px;
  text-align: center;
}

.step-number {
  display: grid;
  width: 66px;
  height: 66px;
  margin: 0 auto 27px;
  place-items: center;
  color: white;
  background: var(--ink);
  border: 5px solid white;
  border-radius: 50%;
  font-family: "Avenir Next", "Segoe UI", Arial, sans-serif;
  font-size: 19px;
  font-weight: 800;
  box-shadow: 0 0 0 1px var(--ink);
}

.process-step:nth-child(2) .step-number {
  color: var(--ink);
  background: var(--orange);
}

.process-step p {
  max-width: 300px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 15px;
}

.contact {
  padding: 95px 0;
  color: white;
  background:
    radial-gradient(circle at 75% 130%, rgba(239, 157, 78, 0.21), transparent 38%),
    var(--ink);
}

.contact-inner {
  display: grid;
  align-items: center;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 90px;
}

.contact h2 {
  margin-bottom: 0;
  font-size: clamp(42px, 5vw, 67px);
}

.eyebrow-light {
  color: var(--orange);
}

.contact-copy p {
  margin-top: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

.button-light {
  max-width: 100%;
  margin-top: 13px;
  border-color: white;
  color: var(--ink);
  background: white;
  box-shadow: 5px 5px 0 var(--orange);
  font-size: 15px;
  overflow-wrap: anywhere;
}

.button-light:hover,
.button-light:focus-visible {
  color: var(--ink);
  background: var(--cream);
}

.site-footer {
  padding: 60px 0 24px;
  background: var(--cream);
}

.footer-grid {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 1fr auto;
  gap: 45px;
  padding-bottom: 45px;
}

.brand-footer {
  justify-self: start;
}

.footer-grid > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
  font-weight: 600;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 12px;
}

.reveal {
  opacity: 1;
  transform: none;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.legal-page {
  min-height: 100vh;
  background: var(--cream);
}

.legal-main {
  width: min(780px, calc(100% - 40px));
  padding: 145px 0 90px;
  margin-inline: auto;
}

.legal-main h1 {
  font-size: clamp(42px, 7vw, 66px);
}

.legal-main h2 {
  margin-top: 42px;
  font-size: 25px;
}

.legal-main p,
.legal-main li {
  color: var(--ink-soft);
}

.back-link {
  display: inline-flex;
  margin-top: 40px;
  border-bottom: 1px solid currentColor;
  font-weight: 700;
}

@media (max-width: 950px) {
  .site-nav {
    position: fixed;
    top: 78px;
    right: 20px;
    left: 20px;
    display: none;
    align-items: stretch;
    padding: 24px;
    background: var(--paper);
    border: 1px solid var(--ink);
    border-radius: 8px;
    box-shadow: var(--shadow);
    flex-direction: column;
    gap: 18px;
  }

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

  .menu-button {
    display: block;
  }

  .menu-button[aria-expanded="true"] span:nth-of-type(2) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:nth-of-type(3) {
    opacity: 0;
  }

  .menu-button[aria-expanded="true"] span:nth-of-type(4) {
    transform: translateY(-7px) rotate(-45deg);
  }

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

  .hero-copy {
    max-width: 720px;
  }

  .hero-visual {
    width: min(570px, 100%);
    margin-inline: auto;
  }

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

  .service-card:last-child {
    grid-column: 1 / -1;
  }

  .about-grid,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .about-visual {
    width: min(430px, calc(100% - 20px));
  }

  .contact-inner {
    gap: 25px;
  }
}

@media (max-width: 680px) {
  :root {
    --shell: min(100% - 28px, 1180px);
  }

  body {
    font-size: 16px;
  }

  .header-inner {
    min-height: 76px;
  }

  .brand-mark {
    width: 37px;
    height: 37px;
  }

  .brand-copy strong {
    font-size: 16px;
  }

  .hero {
    padding-top: 124px;
  }

  h1 {
    font-size: clamp(45px, 14.2vw, 64px);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .text-link {
    align-self: flex-start;
  }

  .hero-visual {
    min-height: 440px;
  }

  .service-badge {
    min-width: 155px;
    padding: 10px 12px;
  }

  .badge-top {
    left: 0;
  }

  .badge-bottom {
    right: 0;
  }

  .building-card {
    right: 3%;
    left: 3%;
  }

  .section-heading {
    display: block;
  }

  .section-heading > p {
    margin-top: 22px;
  }

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

  .service-card:last-child {
    grid-column: auto;
  }

  .service-card > p:not(.card-number) {
    min-height: 0;
  }

  .about-visual {
    max-width: 340px;
  }

  .about-label {
    right: -7px;
  }

  .process-grid {
    display: block;
  }

  .process-grid::before {
    display: none;
  }

  .process-step {
    display: grid;
    grid-template-columns: 57px 1fr;
    gap: 18px;
    padding: 0;
    margin-top: 32px;
    text-align: left;
  }

  .step-number {
    width: 55px;
    height: 55px;
    margin: 0;
  }

  .process-step p {
    margin: 0;
  }

  .contact {
    padding: 75px 0;
  }

  .button-light {
    width: 100%;
    padding-inline: 14px;
    font-size: 13px;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 5px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
