/* Professional contractor refinement */
:root {
  --ink: #090d0b;
  --ink-soft: #151b17;
  --paper: #f3f5f1;
  --white: #ffffff;
  --orange: #d2e53b;
  --orange-dark: #afc124;
  --neon: #d2e53b;
  --cyan: #d2e53b;
  --panel: #151b17;
  --line-dark: rgba(255, 255, 255, 0.14);
  --line-light: rgba(9, 13, 11, 0.16);
  --muted-dark: #aab2ad;
  --muted-light: #5f6862;
}

body {
  background: var(--ink);
  color: var(--white);
}

body::before {
  display: none;
}

.section-kicker {
  color: #a9bb22;
  letter-spacing: 0.13em;
}

.section-kicker::before {
  width: 1.1rem;
  margin-right: 0.6rem;
  box-shadow: none;
}

.site-header,
.site-header.is-scrolled {
  min-height: 5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(9, 13, 11, 0.92);
  box-shadow: none;
  backdrop-filter: blur(14px);
}

.brand-bars i,
.brand-bars i:nth-child(4),
.brand-bars i:nth-child(5) {
  background: var(--orange);
  box-shadow: none;
}

.brand-name b {
  color: var(--orange);
  text-shadow: none;
}

.site-nav > a:not(.nav-cta) {
  color: #d9dfdb;
}

.site-nav > a:not(.nav-cta)::after {
  height: 1px;
  background: var(--orange);
  box-shadow: none;
}

.nav-cta {
  border: 1px solid var(--orange);
  background: var(--orange);
  color: var(--ink);
  box-shadow: none;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
  box-shadow: none;
}

.hero {
  min-height: 100svh;
  padding-top: calc(var(--header-h) + clamp(3rem, 7vh, 5.5rem));
  border-bottom-color: rgba(255, 255, 255, 0.12);
  background: var(--ink);
}

.hero::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  opacity: 0.52;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.7) 48%, transparent 78%);
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.7) 48%, transparent 78%);
}

.hero::after {
  display: none;
}

.hero-copy {
  grid-column: 1 / 8;
}

.hero-meta {
  gap: clamp(1rem, 3vw, 2.75rem);
  width: max-content;
  max-width: 100%;
  padding: 0 0 0 0.85rem;
  border: 0;
  border-left: 2px solid var(--orange);
  background: transparent;
  color: #bfc7c2;
  box-shadow: none;
}

.hero h1 {
  max-width: 9ch;
  font-size: clamp(4.5rem, 9.6vw, 9.7rem);
  line-height: 0.81;
  letter-spacing: -0.045em;
  text-shadow: none;
}

.hero h1 span {
  color: var(--orange);
  -webkit-text-stroke: 0;
  text-shadow: none;
  animation: none;
}

.hero-intro {
  grid-template-columns: minmax(16rem, 25rem) minmax(12rem, 14rem);
  margin-top: clamp(2rem, 4vw, 3.5rem);
}

.hero-intro p {
  color: #c6cec9;
  line-height: 1.62;
}

.button {
  min-height: 3.5rem;
  border: 1px solid currentColor;
  clip-path: none;
  box-shadow: none;
}

.button-primary {
  background: var(--orange);
  color: var(--ink);
  box-shadow: none;
}

.button-primary:hover,
.button-primary:focus-visible {
  border-color: var(--white);
  background: var(--white);
  box-shadow: none;
  transform: translateY(-2px);
}

.hero-visual {
  top: calc(var(--header-h) + 1.5rem);
  right: var(--gutter);
  bottom: 4.6rem;
  width: 46vw;
  min-width: 33rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  clip-path: none;
  background: #111713;
  box-shadow: none;
}

.hero-visual::after {
  display: block;
  background:
    linear-gradient(90deg, rgba(9, 13, 11, 0.68) 0%, rgba(9, 13, 11, 0.08) 48%),
    linear-gradient(180deg, transparent 48%, rgba(9, 13, 11, 0.72) 100%);
  box-shadow: none;
}

.hero-visual img {
  filter: saturate(0.86) contrast(1.03) brightness(0.86);
}

.hero-visual-label {
  border-top-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.hero-visual-label span {
  color: var(--orange);
}

.ratio-mark {
  top: 1.25rem;
  left: 1.25rem;
  width: 7.6rem;
  min-height: 3.25rem;
  border: 0;
  border-left: 3px solid var(--orange);
  background: rgba(9, 13, 11, 0.9);
  color: var(--white);
  box-shadow: none;
  backdrop-filter: blur(8px);
}

.ratio-mark span {
  color: var(--orange);
}

.service-rail {
  border-top-color: rgba(255, 255, 255, 0.12);
  background: var(--ink);
  color: #d7ddd9;
}

.service-rail i {
  width: 0.22rem;
  height: 0.22rem;
  background: var(--orange);
  box-shadow: none;
}

.statement {
  background: var(--paper);
  color: var(--ink);
}

.statement::after {
  display: none;
}

.statement .section-kicker {
  border-bottom-color: rgba(9, 13, 11, 0.16);
}

.statement-grid {
  grid-template-columns: minmax(0, 1.5fr) minmax(19rem, 0.65fr);
}

.statement h2 {
  color: var(--ink);
}

.statement-copy p {
  color: #39423c;
}

.line-link {
  border-bottom-color: var(--ink);
  color: var(--ink);
}

.services {
  border-block: 0;
  background: #0e1310;
  color: var(--white);
}

.services::before {
  display: none;
}

.services-note {
  color: #b8c0bb;
}

.service-list {
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.14);
}

.service-card,
.service-card:first-child {
  min-height: 29rem;
  border: 0;
  background: #141a16;
  clip-path: none;
  transition: background 200ms ease, transform 200ms ease;
}

.service-card::before {
  display: none;
}

.service-card:hover {
  border-color: transparent;
  background: #1c241e;
  color: var(--white);
  box-shadow: none;
  transform: translateY(-0.2rem);
}

.service-index {
  color: var(--orange);
  text-shadow: none;
}

.service-card p {
  color: #acb6b0;
}

.service-arrow {
  width: auto;
  height: auto;
  border: 0;
  color: var(--orange);
  box-shadow: none;
}

.projects {
  background: var(--paper);
  color: var(--ink);
}

.projects h2 {
  color: var(--ink);
}

.projects-intro {
  color: #4e5851;
}

.project-media {
  border: 0;
  background: #d8dcd7;
}

.project-media::after {
  border-color: var(--orange);
  background: transparent;
}

.project:hover .project-media::after {
  border-width: 0.25rem;
  box-shadow: none;
}

.project-media img,
.project:hover .project-media img {
  filter: saturate(0.9) contrast(1.03);
}

.project figcaption {
  border-bottom-color: rgba(9, 13, 11, 0.18);
}

.project figcaption span,
.project figcaption b {
  color: #6b7816;
}

.principles {
  background: #171d19;
  color: var(--white);
}

.principles::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 5rem 5rem;
  -webkit-mask-image: none;
  mask-image: none;
}

.principles-heading .section-kicker,
.principle-list li > span {
  color: var(--orange);
}

.principles h2 {
  color: var(--white);
}

.principle-list {
  border-top-color: rgba(255, 255, 255, 0.16);
}

.principle-list li {
  border-bottom-color: rgba(255, 255, 255, 0.16);
}

.principle-list p {
  color: #aeb7b1;
}

.story {
  background: var(--paper);
  color: var(--ink);
}

.story::before {
  background: linear-gradient(transparent, rgba(9, 13, 11, 0.18), transparent);
}

.story-mark {
  border: 1px solid rgba(9, 13, 11, 0.16);
  background: #e5e9e3;
  color: var(--ink);
  box-shadow: none;
}

.story-mark::before,
.story-mark::after {
  border-color: rgba(9, 13, 11, 0.16);
  box-shadow: none;
}

.story-bars i {
  background: var(--ink);
  box-shadow: none;
}

.story-mark > b {
  color: #71800f;
  text-shadow: none;
}

.story-two {
  color: var(--ink);
  -webkit-text-stroke: 0;
  text-shadow: none;
}

.story h2 {
  color: var(--ink);
}

.story-copy > p:last-child {
  color: #515b54;
}

.contact {
  grid-template-columns: 0.9fr 1.1fr;
  border-top: 0;
  background: var(--paper);
  color: var(--ink);
}

.contact-image {
  grid-column: 1;
  grid-row: 1;
  border: 0;
  border-right: 1px solid rgba(9, 13, 11, 0.14);
}

.contact-image::after {
  background: linear-gradient(180deg, transparent 48%, rgba(9, 13, 11, 0.32));
}

.contact-image img {
  filter: saturate(0.82) contrast(1.04) brightness(0.9);
}

.contact-panel {
  grid-column: 2;
  grid-row: 1;
  background: var(--paper);
}

.contact h2 {
  color: var(--ink);
}

.contact-panel > p:not(.section-kicker) {
  color: #465048;
}

.button-light {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
  box-shadow: none;
}

.button-light:hover,
.button-light:focus-visible {
  border-color: #2b332e;
  background: #2b332e;
  color: var(--white);
  box-shadow: none;
}

.contact-email {
  border-bottom-color: #728013;
  color: #59650c;
}

.contact-region {
  border-bottom-color: rgba(9, 13, 11, 0.24);
  color: #515b54;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: #070a08;
}

.back-to-top {
  border-bottom-color: var(--orange);
  color: var(--orange);
}

.footer-legal {
  border-top-color: rgba(255, 255, 255, 0.12);
  color: #858f89;
}

:focus-visible {
  outline-color: var(--orange);
  box-shadow: none;
}

@media (max-width: 1080px) {
  .hero-visual {
    right: 0;
    width: 45vw;
  }

  .service-card,
  .service-card:first-child {
    border: 0;
  }
}

@media (max-width: 760px) {
  .site-nav {
    background: var(--ink);
  }

  .site-nav > a:not(.nav-cta) {
    border-top-color: rgba(255, 255, 255, 0.14);
  }

  .hero::before {
    -webkit-mask-image: linear-gradient(#000, transparent 58%);
    mask-image: linear-gradient(#000, transparent 58%);
  }

  .hero-meta {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(3.8rem, 18vw, 5.8rem);
  }

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

  .hero-visual {
    right: auto;
    width: calc(100% + (2 * var(--gutter)));
    min-width: 0;
    border-inline: 0;
  }

  .ratio-mark {
    left: var(--gutter);
  }

  .service-list {
    gap: 1px;
  }

  .service-card,
  .service-card:first-child,
  .service-card:nth-child(3),
  .service-card:nth-child(4) {
    min-height: 22rem;
    border: 0;
  }

  .project-media img,
  .project:hover .project-media img {
    filter: saturate(0.88) contrast(1.03);
  }

  .contact-image,
  .contact-panel {
    grid-column: auto;
    grid-row: auto;
  }

  .contact-image {
    border-right: 0;
    border-bottom: 1px solid rgba(9, 13, 11, 0.14);
  }
}

@media (max-width: 430px) {
  .hero-meta span:last-child {
    display: block;
  }

  .hero-meta {
    flex-direction: column;
    gap: 0.25rem;
  }
}
