:root {
  --ink: #20231f;
  --ink-soft: #4f554b;
  --paper: #fbfaf6;
  --stone: #efebe2;
  --chalk: #ffffff;
  --line: #d8d2c6;
  --sage: #77856e;
  --sage-dark: #465141;
  --copper: #b46643;
  --blueprint: #2d6370;
  --shadow: 0 22px 55px rgba(32, 35, 31, 0.18);
  --content: min(1160px, calc(100% - 40px));
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(45, 99, 112, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(180, 102, 67, 0.05) 1px, transparent 1px),
    var(--paper);
  background-size: 72px 72px;
  font-family: "Work Sans", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.scroll-meter {
  position: fixed;
  z-index: 60;
  inset: 0 auto auto 0;
  width: var(--scroll, 0%);
  height: 3px;
  background: linear-gradient(90deg, var(--copper), var(--blueprint));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 20px;
  width: 100%;
  min-height: 76px;
  padding: 14px max(20px, calc((100% - 1160px) / 2));
  color: var(--paper);
  background: rgba(32, 35, 31, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid rgba(180, 102, 67, 0.8);
  border-radius: 50%;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.1rem;
  line-height: 1;
}

.brand small {
  margin-top: 2px;
  color: rgba(251, 250, 246, 0.72);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  min-height: 42px;
  padding: 10px 12px;
  border-radius: var(--radius);
  color: rgba(251, 250, 246, 0.82);
  font-size: 0.95rem;
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.header-call,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  line-height: 1.15;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.header-call {
  min-width: 158px;
  color: var(--paper);
  background: var(--sage-dark);
  border-color: rgba(255, 255, 255, 0.12);
}

.header-call:hover,
.button:hover {
  transform: translateY(-2px);
}

.header-call svg,
.button svg,
.service-card svg,
.estimate-header svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.hero {
  position: relative;
  min-height: 82svh;
  overflow: hidden;
  display: grid;
  align-items: center;
  color: var(--paper);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(24, 27, 24, 0.88) 0%, rgba(24, 27, 24, 0.72) 38%, rgba(24, 27, 24, 0.16) 74%),
    linear-gradient(0deg, rgba(24, 27, 24, 0.52), rgba(24, 27, 24, 0.08));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: var(--content);
  margin: 0 auto;
  padding: 62px 0 46px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--copper);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: #f0b38f;
}

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

h1,
h2,
h3 {
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 1040px;
  margin-bottom: 24px;
  font-size: 5.2rem;
}

h2 {
  margin-bottom: 18px;
  font-size: 3.15rem;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.hero-lead {
  max-width: 670px;
  margin-bottom: 30px;
  color: rgba(251, 250, 246, 0.86);
  font-size: 1.18rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button-primary {
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #fff4e8;
  outline: none;
}

.button-ghost {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
}

.button-ghost-light {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 780px;
  margin: 52px 0 0;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-facts div {
  min-height: 118px;
  padding: 22px;
  background: rgba(32, 35, 31, 0.55);
  backdrop-filter: blur(10px);
}

.hero-facts dt {
  margin-bottom: 6px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.9rem;
  font-weight: 800;
}

.hero-facts dd {
  margin: 0;
  color: rgba(251, 250, 246, 0.74);
  font-size: 0.95rem;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1px;
  width: 100%;
  background: var(--ink);
}

.trust-strip span {
  flex: 1 1 170px;
  min-height: 54px;
  display: grid;
  place-items: center;
  padding: 12px 14px;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 700;
  text-align: center;
}

.section {
  width: var(--content);
  margin: 0 auto;
  padding: 96px 0;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 44px;
}

.section-heading p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.section-heading.split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 54px;
  align-items: end;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  min-height: 260px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(32, 35, 31, 0.07);
}

.service-card svg {
  width: 34px;
  height: 34px;
  margin-bottom: 42px;
  color: var(--blueprint);
}

.service-card:nth-child(2) svg {
  color: var(--copper);
}

.service-card:nth-child(3) svg {
  color: var(--sage);
}

.service-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.portfolio-section {
  width: 100%;
  padding-inline: max(20px, calc((100% - 1160px) / 2));
  background: var(--ink);
  color: var(--paper);
}

.portfolio-section .section-heading {
  width: 100%;
}

.portfolio-section .section-heading p:not(.eyebrow) {
  color: rgba(251, 250, 246, 0.68);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}

.project-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #10120f;
}

.project-card-large {
  grid-row: span 2;
  min-height: 740px;
}

.project-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 450ms ease;
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.1) 58%);
}

.project-copy {
  position: absolute;
  z-index: 1;
  inset: auto 0 0 0;
  padding: 26px;
}

.project-copy p,
.project-copy span {
  color: rgba(251, 250, 246, 0.72);
  font-weight: 700;
}

.project-copy p {
  margin-bottom: 8px;
}

.project-copy h3 {
  max-width: 560px;
  font-size: 1.55rem;
}

.process-section {
  position: relative;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.process-list li {
  min-height: 285px;
  padding: 26px;
  background: rgba(251, 250, 246, 0.94);
}

.process-list span {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 58px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 50%;
  font-weight: 800;
}

.process-list p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.pricing-section {
  padding-top: 20px;
}

.pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 22px;
  align-items: start;
}

.price-table {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.price-table div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  min-height: 76px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

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

.price-table strong {
  color: var(--blueprint);
  white-space: nowrap;
}

.estimate-box,
.contact-form {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.estimate-box {
  padding: 24px;
  color: var(--paper);
  background: var(--sage-dark);
  box-shadow: var(--shadow);
}

.estimate-header {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.estimate-header svg {
  width: 34px;
  height: 34px;
  color: #f4c7aa;
}

.estimate-header h3 {
  margin-bottom: 4px;
}

.estimate-header p {
  margin-bottom: 0;
  color: rgba(251, 250, 246, 0.68);
}

.estimate-box label {
  display: block;
  margin: 16px 0 8px;
  color: rgba(251, 250, 246, 0.78);
  font-weight: 700;
}

.estimate-box select,
.estimate-box input,
.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.meter-control {
  position: relative;
}

.meter-control span {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  color: var(--ink-soft);
  font-weight: 700;
}

.meter-control input {
  padding-right: 48px;
}

.estimate-result {
  display: block;
  margin-top: 20px;
  padding: 18px;
  color: var(--ink);
  background: #fff4e8;
  border-radius: var(--radius);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 800;
}

.estimate-note {
  margin: 12px 0 0;
  color: rgba(251, 250, 246, 0.68);
  font-size: 0.9rem;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  min-height: 720px;
  color: var(--paper);
  background: var(--ink);
}

.contact-media {
  position: relative;
  min-height: 520px;
  overflow: hidden;
}

.contact-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(32, 35, 31, 0.1), rgba(32, 35, 31, 0.76));
}

.contact-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-content {
  width: min(620px, calc(100% - 40px));
  margin: auto 0;
  padding: 72px 0 72px 54px;
}

.contact-content h2 {
  font-size: 3.05rem;
}

.contact-content > p {
  color: rgba(251, 250, 246, 0.72);
  font-size: 1.05rem;
}

.contact-actions {
  margin: 30px 0;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.07);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(251, 250, 246, 0.78);
  font-weight: 700;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .button {
  width: fit-content;
  border: 0;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 28px max(20px, calc((100% - 1160px) / 2));
  color: rgba(251, 250, 246, 0.7);
  background: #151713;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--paper);
  font-weight: 700;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 20px 20px;
    background: rgba(32, 35, 31, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

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

  .site-nav a {
    min-height: 52px;
    display: flex;
    align-items: center;
  }

  .header-call {
    display: none;
  }

  h1 {
    font-size: 4rem;
  }

  h2,
  .contact-content h2 {
    font-size: 2.45rem;
  }

  .section-heading.split,
  .pricing-layout,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

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

  .project-card-large {
    min-height: 520px;
  }

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

  .contact-media {
    min-height: 360px;
  }

  .contact-media::after {
    background: linear-gradient(0deg, rgba(32, 35, 31, 0.76), rgba(32, 35, 31, 0.1));
  }

  .contact-content {
    width: var(--content);
    margin: 0 auto;
    padding: 58px 0 70px;
  }
}

@media (max-width: 660px) {
  :root {
    --content: min(100% - 28px, 1160px);
  }

  body {
    font-size: 15px;
  }

  .site-header {
    min-height: 68px;
    padding: 10px 14px;
  }

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

  .brand small {
    display: none;
  }

  .menu-toggle span {
    display: none;
  }

  .site-nav {
    top: 68px;
  }

  .hero {
    min-height: 78svh;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(24, 27, 24, 0.9), rgba(24, 27, 24, 0.66)),
      linear-gradient(0deg, rgba(24, 27, 24, 0.6), rgba(24, 27, 24, 0.16));
  }

  .hero-content {
    padding: 58px 0 46px;
  }

  h1 {
    font-size: 3.05rem;
  }

  h2,
  .contact-content h2 {
    font-size: 2rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 34px;
  }

  .hero-facts div {
    min-height: 68px;
    padding: 12px;
  }

  .hero-facts dt {
    margin-bottom: 0;
    font-size: 1.35rem;
  }

  .hero-facts dd {
    display: none;
  }

  .section {
    padding: 66px 0;
  }

  .section-heading {
    margin-bottom: 28px;
  }

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

  .service-card,
  .process-list li {
    min-height: auto;
  }

  .service-card svg,
  .process-list span {
    margin-bottom: 28px;
  }

  .portfolio-section {
    padding-inline: 14px;
  }

  .project-card,
  .project-card-large {
    min-height: 390px;
  }

  .project-copy {
    padding: 20px;
  }

  .price-table div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .price-table strong {
    white-space: normal;
  }

  .estimate-result {
    font-size: 1.25rem;
  }

  .contact-form .button {
    width: 100%;
  }
}

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