:root {
  --ink: #141811;
  --forest: #24301f;
  --sage: #6d815c;
  --moss: #8ea07a;
  --ivory: #f3eee4;
  --paper: #faf7f1;
  --sand: #e6d9c6;
  --brass: #c4a06a;
  --brass-soft: #dcc4a0;
  --clay: #c9a392;
  --white: #fffcf7;
  --line: rgba(20, 24, 17, 0.12);
  --shadow: 0 30px 80px rgba(20, 24, 17, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Outfit", "Avenir Next", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  font-size: 17px;
  overflow-x: hidden;
}

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

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

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

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection {
  background: var(--sage);
  color: var(--white);
}

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 500;
  color: var(--sage);
}

.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
.display {
  font-family: var(--serif);
  font-weight: 420;
  letter-spacing: -0.03em;
  line-height: 0.96;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 15px 26px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--brass);
  color: var(--ink);
}

.btn-ink {
  background: var(--ink);
  color: var(--ivory);
}

.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border: 1px solid rgba(255, 252, 247, 0.28);
}

.btn-line {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  color: var(--ivory);
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), padding 0.4s var(--ease), color 0.4s var(--ease);
}

.nav.scrolled,
.nav.open {
  background: rgba(243, 238, 228, 0.94);
  backdrop-filter: blur(16px);
  padding: 12px 28px;
  color: var(--ink);
  box-shadow: 0 10px 40px rgba(20, 24, 17, 0.06);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

.logo-mark {
  width: 42px;
  height: 42px;
}

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

.logo-text strong {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
}

.logo-text span {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-soft);
  margin-top: 4px;
}

.nav.scrolled .logo-text span,
.nav.open .logo-text span {
  color: var(--sage);
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
}

.nav-links a {
  opacity: 0.78;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav .btn {
  padding: 11px 18px;
  font-size: 14px;
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  position: relative;
}

.menu-btn span::before,
.menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-btn span::before {
  top: -7px;
}

.menu-btn span::after {
  top: 7px;
}

/* HERO */
.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: var(--forest);
  color: var(--ivory);
}

.hero-copy {
  padding: 140px 56px 72px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  font-size: clamp(48px, 7vw, 92px);
  max-width: 9ch;
  margin: 22px 0 24px;
}

.hero-copy p.lead {
  max-width: 38ch;
  font-size: 18px;
  opacity: 0.86;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 56px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  border-top: 1px solid rgba(255, 252, 247, 0.14);
  padding-top: 28px;
}

.hero-meta b {
  display: block;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 450;
  color: var(--brass-soft);
}

.hero-meta span {
  font-size: 13px;
  opacity: 0.7;
}

.hero-visual {
  position: relative;
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 100vh;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--forest) 0%, transparent 28%);
}

.hero-badge {
  position: absolute;
  left: 28px;
  bottom: 32px;
  z-index: 2;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: 0.32em;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--ivory);
  opacity: 0.8;
}

/* MARQUEE */
.marquee {
  background: var(--ivory);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.marquee-track {
  display: flex;
  gap: 42px;
  width: max-content;
  animation: drift 38s linear infinite;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--forest);
}

@keyframes drift {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* SECTIONS */
section {
  padding: 110px 0;
  scroll-margin-top: 88px;
}

.section-head {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  margin-bottom: 56px;
  align-items: end;
}

.section-head h2 {
  font-size: clamp(40px, 5.4vw, 68px);
}

.section-head p {
  color: #4d5448;
  max-width: 48ch;
}

/* ABOUT */
.about {
  background: var(--ivory);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.about-photos {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
}

.about-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}

.about-photos img:first-child {
  min-height: 460px;
  grid-row: span 2;
}

.about-photos img:nth-child(2),
.about-photos img:nth-child(3) {
  min-height: 223px;
}

.about-copy h2 {
  font-size: clamp(40px, 5vw, 64px);
  margin: 14px 0 22px;
}

.about-copy p {
  color: #4a5246;
  margin-bottom: 16px;
}

.about-note {
  margin-top: 28px;
  padding: 22px 24px;
  border-left: 2px solid var(--brass);
  background: var(--white);
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  line-height: 1.35;
}

/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 340px 340px;
  gap: 16px;
}

.card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  color: var(--white);
  isolation: isolate;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 0.8s var(--ease);
}

.card:hover img {
  transform: scale(1.1);
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(20, 24, 17, 0.78) 100%);
}

.card-body {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
}

.card-body small {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--brass-soft);
}

.card-body h3 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 450;
  margin: 6px 0 8px;
}

.card.tall {
  grid-row: span 2;
}

.card.pale {
  background: var(--forest);
  color: var(--ivory);
  display: flex;
  align-items: flex-end;
  padding: 32px;
}

.card.pale::after {
  display: none;
}

.card.pale h3 {
  font-size: 36px;
}

/* ESTIMATE */
.estimate {
  background: var(--forest);
  color: var(--ivory);
}

.estimate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.estimate-panel {
  background: rgba(255, 252, 247, 0.05);
  border: 1px solid rgba(255, 252, 247, 0.1);
  border-radius: 28px;
  padding: 32px;
}

label.field {
  display: block;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 18px 0 10px;
  opacity: 0.8;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--brass);
}

.range-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  opacity: 0.7;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  border: 1px solid rgba(255, 252, 247, 0.18);
  background: transparent;
  color: var(--ivory);
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
}

.pill.active {
  background: var(--brass);
  color: var(--ink);
  border-color: var(--brass);
}

.price-box {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 252, 247, 0.12);
}

.price-box em {
  font-style: normal;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-soft);
}

.price-box strong {
  display: block;
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 420;
  margin: 6px 0 8px;
}

.sqft-out {
  font-family: var(--serif);
  font-size: 28px;
}

/* GALLERY */
.gallery-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-auto-rows: 240px;
  gap: 12px;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.gallery-grid img:first-child {
  grid-row: span 2;
  height: 100%;
}

/* PROCESS */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.step {
  padding: 28px 24px;
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--line);
  min-height: 240px;
}

.step b {
  font-family: var(--serif);
  font-size: 34px;
  color: var(--brass);
}

.step h3 {
  font-family: var(--serif);
  font-size: 26px;
  margin: 18px 0 10px;
  font-weight: 450;
}

/* COVERAGE */
.coverage {
  background: var(--ivory);
}

.coverage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.map-frame,
.place-card {
  border-radius: 24px;
  overflow: hidden;
  min-height: 420px;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  filter: saturate(0.7) contrast(1.05);
}

.place-card {
  position: relative;
}

.place-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.place-card .overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 32px;
  background: linear-gradient(transparent, rgba(20, 24, 17, 0.86));
  color: var(--ivory);
}

.cities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.cities span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  background: var(--white);
}

/* BOOK */
.book {
  background:
    linear-gradient(180deg, rgba(20, 24, 17, 0.55), rgba(20, 24, 17, 0.78)),
    url("assets/kitchen.jpg") center/cover no-repeat;
  color: var(--ivory);
}

.book-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}

.form {
  background: var(--white);
  color: var(--ink);
  border-radius: 28px;
  padding: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  margin-top: 8px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 12px;
  padding: 13px 14px;
  outline: none;
}

.form textarea {
  min-height: 110px;
  resize: vertical;
}

.form label {
  font-size: 13px;
}

.hp {
  display: none;
}

.contact-list {
  margin-top: 28px;
  display: grid;
  gap: 14px;
}

.contact-list a,
.contact-list p {
  display: block;
  font-size: 18px;
}

.contact-list small {
  display: block;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--brass-soft);
  margin-bottom: 4px;
}

/* FOOTER */
footer {
  background: var(--ink);
  color: var(--ivory);
  padding: 42px 0 28px;
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 14px;
  opacity: 0.8;
}

.mobile-bar {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  animation: up 0.9s var(--ease) forwards;
}

@keyframes up {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1180px) {
  .nav-cta .hide-sm {
    display: none;
  }
}

@media (max-width: 980px) {
  .hero,
  .about-grid,
  .section-head,
  .estimate-grid,
  .coverage-grid,
  .book-grid,
  .steps,
  .services-grid,
  .gallery-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero {
    position: relative;
    display: block;
    min-height: 100svh;
  }

  .hero-visual {
    position: absolute;
    inset: 0;
  }

  .hero-visual img {
    min-height: 100svh;
  }

  .hero-visual::after {
    background: linear-gradient(180deg, rgba(36, 48, 31, 0.42) 0%, rgba(20, 24, 17, 0.88) 72%);
  }

  .hero-copy {
    position: relative;
    z-index: 2;
    min-height: 100svh;
    padding: 120px 24px 108px;
    justify-content: flex-end;
  }

  .hero-badge {
    display: none;
  }

  .nav-cta .btn {
    display: none;
  }

  .services-grid,
  .gallery-grid {
    grid-auto-rows: 260px;
  }

  .card.tall {
    grid-row: auto;
  }

  .nav-links,
  .nav-cta span.hide-sm {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    inset: 0 0 auto 0;
    background: var(--ivory);
    padding: 90px 28px 28px;
    gap: 18px;
    font-size: 22px;
  }

  .mobile-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 50;
  }

  body {
    padding-bottom: 76px;
  }

  .mobile-bar a {
    text-align: center;
    padding: 14px;
    border-radius: 999px;
    font-weight: 500;
  }

  .mobile-bar .call {
    background: var(--ink);
    color: var(--ivory);
  }

  .mobile-bar .book {
    background: var(--brass);
    color: var(--ink);
    padding: 14px;
  }

  .about-photos img:first-child {
    min-height: 280px;
  }
}
