/* Multiworks Construction LLC — design system
   Editorial Utah architecture aesthetic
   Bone background, charcoal text, terracotta-bronze accent
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --bone: #F5F1EA;
  --paper: #FFFFFF;
  --ink: #1A1A1A;
  --ink-soft: #2A2A28;
  --mute: #6B6B66;
  --mute-2: #9A9690;
  --rule: #D8D2C7;
  --rule-soft: #E8E3D9;
  --accent: #8B5A3C;
  --accent-hover: #6F4530;
  --forest: #2E3A2C;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --maxw: 1320px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow--mute { color: var(--mute); }

h1, .h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
h1 em, .h1 em { font-style: italic; font-weight: 400; color: var(--accent); }

h2, .h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.005em;
}
h2 em, .h2 em { font-style: italic; color: var(--accent); }

h3, .h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  line-height: 1.2;
}

h4 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

p { margin: 0 0 1em; max-width: 65ch; }
p.lead { font-size: 1.15rem; line-height: 1.7; color: var(--ink-soft); }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65em;
  padding: 1em 1.85em;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border: 1px solid currentColor;
  white-space: nowrap;
}
.btn--solid { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.btn--solid:hover { background: var(--accent); border-color: var(--accent); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bone); }
.btn--ghost-light { color: var(--bone); background: transparent; }
.btn--ghost-light:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.btn .arrow { font-size: 1.2em; transition: transform 0.3s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.5rem 0;
  transition: background 0.4s ease, padding 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled, .nav.is-light {
  background: var(--bone);
  padding: 0.85rem 0;
  border-bottom-color: var(--rule);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  display: flex; flex-direction: column;
  line-height: 1;
  color: var(--bone);
  transition: color 0.3s ease;
}
.nav.is-scrolled .brand, .nav.is-light .brand { color: var(--ink); }
.brand__mark { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; letter-spacing: 0.02em; }
.brand__sub {
  font-family: var(--sans);
  font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.28em; text-transform: uppercase;
  opacity: 0.7; margin-top: 0.35em;
}
.nav__links { display: flex; gap: 2.2rem; align-items: center; list-style: none; }
.nav__links a {
  font-family: var(--sans);
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--bone);
  position: relative; padding: 0.4em 0;
  transition: color 0.3s ease;
}
.nav.is-scrolled .nav__links a, .nav.is-light .nav__links a { color: var(--ink); }
.nav__links a:hover { color: var(--accent); }
.nav__links a.is-active::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 100%; height: 1px; background: var(--accent);
}
.nav__cta {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--sans);
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--bone);
  padding: 0.75em 1.4em;
  border: 1px solid currentColor;
  transition: all 0.3s ease;
}
.nav.is-scrolled .nav__cta, .nav.is-light .nav__cta { color: var(--ink); }
.nav__cta:hover { background: var(--accent); color: var(--bone); border-color: var(--accent); }

.nav__toggle { display: none; width: 36px; height: 24px; position: relative; z-index: 110; }
.nav__toggle span {
  position: absolute; left: 0; width: 100%; height: 1.5px;
  background: var(--bone); transition: all 0.3s ease;
}
.nav.is-scrolled .nav__toggle span, .nav.is-light .nav__toggle span { background: var(--ink); }
.nav__toggle span:nth-child(1) { top: 4px; }
.nav__toggle span:nth-child(2) { top: 11px; }
.nav__toggle span:nth-child(3) { top: 18px; }
.nav__toggle.is-open span { background: var(--ink); }
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav__toggle { display: block; }
  .nav__links, .nav__cta {
    position: fixed; top: 0; right: 0;
    height: 100vh; width: min(420px, 100vw);
    background: var(--bone);
    padding: 5.5rem 2.5rem 2rem;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    z-index: 105;
  }
  .nav__links { flex-direction: column; align-items: flex-start; gap: 1.3rem; }
  .nav__links a { color: var(--ink); font-size: 0.92rem; }
  .nav__cta {
    top: auto; bottom: 0;
    height: auto; color: var(--ink);
    margin: 0; border: 0;
    border-top: 1px solid var(--rule);
    width: min(420px, 100vw);
    transform: translateX(100%);
    transition: transform 0.4s ease 0.05s;
    padding: 2rem 2.5rem;
    background: var(--bone);
  }
  body.nav-open .nav__links, body.nav-open .nav__cta { transform: translateX(0); }
  body.nav-open { overflow: hidden; }
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: flex-end;
  color: var(--bone);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 1; }
.hero__slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transition: opacity 0.9s ease-in-out;
  will-change: opacity;
}
.hero__slide.is-active { opacity: 1; }
.hero__bg::after {
  content: ''; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg,
    rgba(0,0,0,0.30) 0%,
    rgba(0,0,0,0.10) 35%,
    rgba(0,0,0,0.25) 70%,
    rgba(0,0,0,0.65) 100%);
}
.hero__inner {
  position: relative; z-index: 3;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 9rem var(--gutter) 5rem;
}
.hero__eyebrow { color: var(--bone); margin-bottom: 1.5rem; opacity: 0.9; }
.hero__title { max-width: 16ch; margin-bottom: 1.5rem; }
.hero__sub { max-width: 48ch; font-size: 1.1rem; line-height: 1.65; opacity: 0.9; margin-bottom: 2.5rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__meta {
  position: absolute; z-index: 3;
  bottom: 2.25rem; right: var(--gutter);
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone); opacity: 0.7;
}

/* page hero */
.page-hero {
  position: relative;
  min-height: 65vh;
  display: flex; align-items: center;
  color: var(--bone);
  overflow: hidden;
}
.page-hero__bg { position: absolute; inset: 0; z-index: 1; background-size: cover; background-position: center; }
.page-hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.6));
}
.page-hero__inner {
  position: relative; z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 10rem var(--gutter) 5rem;
  width: 100%;
}
.page-hero__title { max-width: 22ch; margin-bottom: 1.25rem; }
.page-hero__sub { max-width: 56ch; font-size: 1.05rem; opacity: 0.9; }
.crumbs { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.85; margin-bottom: 1.5rem; }
.crumbs a:hover { color: var(--accent); }

/* SECTION */
.section { padding: clamp(4rem, 9vw, 8rem) 0; }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: var(--bone); }
.section--ink .eyebrow { color: var(--accent); }
.section--ink p { color: var(--bone); opacity: 0.85; }

.section__head { margin-bottom: 4rem; max-width: 720px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head .eyebrow { display: block; margin-bottom: 1rem; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.split--narrow { gap: 4rem; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; gap: 2.5rem; } }
.split__image { aspect-ratio: 4/5; background-size: cover; background-position: center; }
.split__image--landscape { aspect-ratio: 4/3; }

/* service grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border-block: 1px solid var(--rule);
}
@media (max-width: 900px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .service-grid { grid-template-columns: 1fr; } }
.service-card {
  background: var(--bone);
  padding: 2.5rem 2rem 2.25rem;
  display: flex; flex-direction: column; gap: 1.25rem;
  min-height: 380px;
  transition: background 0.3s ease;
  position: relative;
}
.service-card:hover { background: var(--paper); }
.service-card__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.05em;
}
.service-card__title { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; line-height: 1.15; }
.service-card__desc { font-size: 0.95rem; color: var(--mute); flex: 1; line-height: 1.6; }
.service-card__link {
  font-family: var(--sans);
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink);
  display: inline-flex; align-items: center; gap: 0.5em;
  transition: color 0.3s ease;
}
.service-card__link:hover { color: var(--accent); }
.service-card__link .arrow { transition: transform 0.3s ease; }
.service-card:hover .service-card__link .arrow { transform: translateX(4px); }

/* triptych */
.triptych {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
  margin: 4rem 0;
}
.triptych__item { background-size: cover; background-position: center; aspect-ratio: 4/3; }
.triptych__item:nth-child(1) { grid-row: span 2; aspect-ratio: 3/4; }
@media (max-width: 700px) {
  .triptych { grid-template-columns: 1fr 1fr; }
  .triptych__item:nth-child(1) { grid-row: span 1; aspect-ratio: 4/3; }
}

/* stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.stats__item {
  padding: 3rem 1.5rem;
  text-align: center;
  border-right: 1px solid var(--rule);
}
.stats__item:last-child { border-right: 0; }
.stats__num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  color: var(--ink);
}
.stats__num sup { font-size: 0.5em; color: var(--accent); top: -1.4em; }
.stats__label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  margin-top: 0.85rem;
}
@media (max-width: 700px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats__item:nth-child(2) { border-right: 0; }
  .stats__item:nth-child(1), .stats__item:nth-child(2) { border-bottom: 1px solid var(--rule); }
}

/* process */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}
@media (max-width: 900px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .process { grid-template-columns: 1fr; } }
.process__step { padding-top: 2rem; border-top: 1px solid var(--rule); }
.section--ink .process__step { border-top-color: rgba(255,255,255,0.18); }
.process__num {
  font-family: var(--serif); font-style: italic;
  font-size: 0.95rem;
  color: var(--accent);
  margin-bottom: 1rem;
}
.process__title { font-family: var(--serif); font-size: 1.4rem; font-weight: 400; margin-bottom: 0.75rem; }
.process__desc { font-size: 0.95rem; line-height: 1.65; color: var(--mute); }
.section--ink .process__desc { color: var(--bone); opacity: 0.78; }

/* areas */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  border-top: 1px solid var(--rule);
}
.areas-grid div {
  padding: 1.1rem 0.5rem;
  text-align: center;
  border-bottom: 1px solid var(--rule);
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--ink-soft);
}

/* testimonial */
.testimonial { text-align: center; max-width: 880px; margin: 0 auto; }
.testimonial__quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.35;
  margin-bottom: 2rem;
}
.testimonial__attr {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
}

/* faq */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--rule); padding: 1.75rem 0; }
.faq__q {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 1.5rem; width: 100%; text-align: left;
  font-family: var(--serif);
  font-size: 1.3rem; font-weight: 400;
  color: var(--ink); cursor: pointer;
}
.faq__q .plus {
  font-family: var(--sans); font-weight: 300;
  font-size: 1.4rem; color: var(--accent);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.faq__item.is-open .faq__q .plus { transform: rotate(45deg); }
.faq__a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  color: var(--mute);
}
.faq__item.is-open .faq__a { max-height: 500px; padding-top: 1rem; }

/* cta band */
.cta-band {
  background: var(--ink);
  color: var(--bone);
  text-align: center;
  padding: clamp(4rem, 8vw, 7rem) var(--gutter);
}
.cta-band h2 { margin-bottom: 1.5rem; max-width: 22ch; margin-inline: auto; }
.cta-band h2 em { color: var(--accent); }
.cta-band p { color: var(--bone); opacity: 0.85; margin: 0 auto 2.5rem; }
.cta-band .phone {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 400;
  color: var(--accent);
  margin-bottom: 2rem;
}
.cta-band .phone:hover { color: var(--bone); }

/* footer */
.footer {
  background: var(--ink);
  color: var(--bone);
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand .brand__mark { color: var(--bone); }
.footer__brand .brand__sub { color: var(--mute-2); }
.footer__about { color: var(--bone); opacity: 0.7; margin-top: 1.5rem; max-width: 38ch; font-size: 0.95rem; }
.footer h4 {
  font-family: var(--sans);
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.footer ul { list-style: none; }
.footer li { margin-bottom: 0.6em; }
.footer a {
  color: var(--bone); opacity: 0.7;
  font-size: 0.92rem;
  transition: opacity 0.3s ease, color 0.3s ease;
}
.footer a:hover { opacity: 1; color: var(--accent); }
.footer__contact p { color: var(--bone); opacity: 0.75; font-size: 0.92rem; margin-bottom: 0.4em; }
.footer__contact .phone {
  font-family: var(--serif); font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 0.5em; display: block;
}
.footer__contact .phone:hover { color: var(--bone); opacity: 1; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.75rem;
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  font-size: 0.78rem;
  color: var(--mute-2);
  letter-spacing: 0.08em;
}

/* form */
.form { display: grid; gap: 1.25rem; max-width: 640px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 540px) { .form__row { grid-template-columns: 1fr; } }
.form label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 0.5rem;
}
.form input, .form select, .form textarea {
  width: 100%;
  padding: 0.85rem 0;
  border: 0;
  border-bottom: 1px solid var(--rule);
  background: transparent;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.3s ease;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}
.form textarea { resize: vertical; min-height: 120px; }

/* contact grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2.5rem, 6vw, 6rem);
}
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { padding-right: 1rem; }
.contact-card h3 { margin-bottom: 1.5rem; }
.contact-card__row { border-top: 1px solid var(--rule); padding: 1.5rem 0; }
.contact-card__row:last-child { border-bottom: 1px solid var(--rule); }
.contact-card__label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 0.5rem;
}
.contact-card__value { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); }
.contact-card__value a:hover { color: var(--accent); }

/* sticky mobile call */
.tap-call {
  display: none;
  position: fixed; bottom: 1rem; left: 1rem; right: 1rem;
  z-index: 90;
  background: var(--ink);
  color: var(--bone);
  text-align: center;
  padding: 1rem;
  font-family: var(--sans);
  font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  border: 1px solid var(--accent);
}
.tap-call:hover { background: var(--accent); }
@media (max-width: 700px) { .tap-call { display: block; } body { padding-bottom: 4.5rem; } }

/* utility */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
