/* Yancey's LLC website. Rebuilt from the Framer version as plain HTML/CSS. */
:root {
  --black: #000;
  --ink: #0c0407;
  --gray: #999;
  --gray-dark: #777;
  --body-gray: #333;
  --card: #f5f5f5;
  --field: #ebebeb;
  --line: #eaeaea;
  --faq-dark: #191919;
  --wrap: 960px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { overflow-x: clip; }
body {
  margin: 0;
  background: #fff;
  color: var(--black);
  font-family: "Inter", "Inter Placeholder", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-feature-settings: "cv01", "cv05", "cv09", "cv11", "ss03";
  font-variation-settings: "opsz" 24;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: 0; padding-right: 0; }
@media (max-width: 1000px) { .wrap { padding-left: 20px; padding-right: 20px; } }

/* ---------- header ---------- */
.banner { width: 100%; height: auto; aspect-ratio: 2400 / 448; object-fit: cover; }
.nav { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav a { font-size: 15px; line-height: 15px; letter-spacing: -0.01em; color: var(--nav-color, var(--gray)); transition: color .15s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--black); }
body.alt { --nav-color: var(--gray-dark); }

.mark { width: 51px; height: 17px; display: block; }
.mark path { fill: currentColor; }

/* ---------- shared type ---------- */
.display { font-size: 40px; line-height: 1; letter-spacing: -0.04em; font-weight: 700; font-variation-settings: "opsz" 32; text-wrap: balance; }
.muted { color: var(--gray); }
.muted-dark { color: var(--gray-dark); }
.title { font-size: 32px; line-height: 1; letter-spacing: -0.03em; font-weight: 700; font-variation-settings: "opsz" 32; }
.lead { font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; font-weight: 500; font-variation-settings: "opsz" 32; color: var(--gray); }
.small { font-size: 15px; line-height: 1.4; letter-spacing: -0.01em; }

.pill {
  display: inline-flex; align-items: center; justify-content: center;
  height: 30px; padding: 0 12px; border-radius: 100px;
  background: var(--black); color: #fff;
  font-size: 14px; letter-spacing: -0.01em; font-weight: 600; font-variation-settings: "opsz" 20;
  transition: opacity .15s;
}
.pill:hover { opacity: .8; }
.pill.light { background: #fff; color: var(--black); }

/* ---------- home ---------- */
.hero { text-align: center; padding-top: 43px; display: grid; justify-items: center; gap: 40px; }
.hero h1 { width: 100%; max-width: 930px; }
.features { display: grid; gap: 0; padding-top: 83px; }
.features .feature:nth-child(3) { margin-top: 75px; }
.feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.feature .copy { padding-left: 80px; display: grid; gap: 15px; max-width: 400px; }
.feature.flip .copy { padding-left: 82px; }
.feature .card { position: relative; width: 480px; height: 480px; border-radius: 20px; background: var(--card); justify-self: end; }
.feature.flip .card { justify-self: start; width: 475px; height: 475px; }
.feature .card img { position: absolute; object-fit: cover; }
.card.kitchen img { left: -37px; top: 72px; width: 447px; height: 336px; }
.card.bath img { left: 11px; top: 4px; width: 351px; height: 466px; }
.card.bath::after { content: ""; position: absolute; right: -30px; top: 50%; width: 60px; height: 60px; margin-top: -30px; border-radius: 50%; background: #fff; }
.card.addition img { left: -68px; top: 10px; width: 615px; height: 461px; max-width: none; }

.quote { max-width: 600px; margin: 0 auto; padding-top: 90px; display: grid; gap: 18px; }
.quote h2 { font-size: 32px; line-height: 1; letter-spacing: -0.03em; font-weight: 700; font-variation-settings: "opsz" 32; text-wrap: balance; }
.quote .by { font-size: 15px; line-height: 21px; color: var(--gray); padding-bottom: 12px; border-bottom: 1px solid var(--line); }

.cta { text-align: center; display: grid; justify-items: center; gap: 10px; padding-top: 75px; }
.cta .lead { max-width: 280px; line-height: 1.1; }
.cta .pill { margin-top: 20px; font-weight: 500; }

/* ---------- services ---------- */
.page-head { text-align: center; padding-top: 39px; }
.svc3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-top: 63px; }
.svc3 h3 { font-size: 22px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 600; font-variation-settings: "opsz" 32; }
.svc3 p { max-width: 250px; margin-top: 10px; font-size: 18px; line-height: 1.2; letter-spacing: -0.01em; color: var(--gray); font-variation-settings: "opsz" 32; }
.svc2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 40px; }
.svc2 > div { text-align: center; display: grid; gap: 10px; align-content: start; }
.svc2 .lead { max-width: 447px; margin: 0 auto; }
.svc2 > div:first-child .lead { max-width: 320px; }
.svc1 { width: 320px; margin: 0 auto; padding-top: 32px; display: grid; gap: 10px; }
.svc1 .lead { line-height: 1.2; }
.about { padding-top: 150px; display: grid; gap: 15px; }
.about h2 { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.about p { max-width: 600px; font-size: 15px; line-height: 1.4; color: var(--gray-dark); letter-spacing: -0.01em; }

/* ---------- contact ---------- */
.intro { padding-top: 10px; max-width: 330px; display: grid; gap: 10px; }
.intro p { color: var(--gray-dark); }
.intro a { color: inherit; white-space: nowrap; }
.form { width: 400px; max-width: 100%; margin: 120px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.form label { display: grid; gap: 8px; font-size: 12px; color: var(--gray); font-weight: 500; }
.form .full { grid-column: 1 / -1; }
.form input, .form textarea {
  width: 100%; border: 0; border-radius: 8px; background: var(--field); color: var(--black);
  font: inherit; font-size: 14px; font-weight: 400; padding: 10px 12px; outline: none;
}
.form input:focus, .form textarea:focus { box-shadow: 0 0 0 1px #0099ff; }
.form textarea { height: 120px; resize: vertical; }
.form input::placeholder, .form textarea::placeholder { color: #aaa; }
.form button {
  grid-column: 1 / -1; height: 49px; border: 0; border-radius: 10px; background: var(--black); color: #fff;
  font: inherit; font-size: 14px; font-weight: 600; font-variation-settings: "opsz" 20; cursor: pointer; margin-top: -12px;
}
.form button:disabled { opacity: .6; cursor: default; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { grid-column: 1 / -1; font-size: 14px; text-align: center; min-height: 20px; }

/* ---------- FAQ accordion ---------- */
.faq-group { width: 340px; max-width: 100%; margin: 0 auto; display: grid; gap: 5px; }
.faq-block { padding: 110px 0; }
.faq-block + .faq-block { border-top: 1px solid var(--line); }
details { background: var(--field); border-radius: 10px; }
summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px;
  min-height: 40px; padding: 10px 13px; font-size: 15px; line-height: 1.1; letter-spacing: -0.025em; color: var(--black);
}
summary::-webkit-details-marker { display: none; }
summary .plus { position: relative; width: 14px; height: 14px; flex: none; }
summary .plus::before, summary .plus::after { content: ""; position: absolute; background: var(--gray-dark); border-radius: 1px; transition: transform .2s; }
summary .plus::before { left: 0; top: 6px; width: 14px; height: 2px; }
summary .plus::after { left: 6px; top: 0; width: 2px; height: 14px; }
details[open] summary .plus::after { transform: scaleY(0); }
details p { padding: 0 13px 14px 39px; font-size: 15px; line-height: 1.3; color: var(--gray); }
.faq-dark details { background: var(--faq-dark); }
.faq-dark summary { color: #fff; }
.faq-dark details p { color: var(--gray-dark); }

/* ---------- FAQ page ---------- */
.faq-head { text-align: center; padding-top: 22px; display: grid; justify-items: center; gap: 0; }
.faq-head h2 { font-size: 56px; line-height: 66px; letter-spacing: -2px; font-weight: 700; color: var(--ink); }
.faq-head .pill { margin-top: 20px; }
.faq-head .display { margin-top: 31px; color: var(--gray-dark); }
.faq-head .lead { color: var(--gray-dark); line-height: 1.2; }
.faq-head + .faq-block { margin-top: 60px; border-top: 1px solid var(--line); }

/* ---------- legal ---------- */
.legal-wrap { max-width: 1240px; margin: 0 auto; padding: 0 30px; }
.legal-wrap > h2 { font-size: 56px; line-height: 66px; letter-spacing: -2px; font-weight: 700; color: var(--ink); padding: 70px 13px 0; }
.legal-card { margin-top: 64px; border: 1px solid #eee; border-radius: 24px; padding: 40px 30px; display: grid; gap: 20px; box-shadow: 0 2px 6px rgba(0,0,0,.02); }
.legal-card h3 { font-size: 28px; line-height: 38px; letter-spacing: -0.8px; font-weight: 700; color: #0f0f0f; }
.legal-card p, .legal-card li { font-size: 16px; line-height: 26px; letter-spacing: -0.6px; color: var(--body-gray); font-weight: 400; }
.legal-card ul { margin: 0; padding-left: 20px; }
.legal-card h3:not(:first-of-type) { margin-top: 24px; }
.legal-card h4 { margin: 12px 0 -8px; font-size: 18px; line-height: 26px; letter-spacing: -0.4px; font-weight: 600; color: #0f0f0f; }
.legal-card a { text-decoration: underline; text-underline-offset: 2px; }
.legal-card strong { font-weight: 600; color: #0f0f0f; }
.legal-card .updated { font-size: 14px; color: var(--gray-dark); margin-bottom: -8px; }
.foot .copy { margin-top: 28px; text-align: center; font-size: 13px; line-height: 1.4; color: var(--gray); letter-spacing: -0.01em; }
.legal-foot { max-width: 1240px; margin: 0 auto; padding: 200px 30px 40px; }
.legal-foot .cols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; align-items: start; }
.legal-foot .blurb { font-size: 20px; line-height: 28px; font-weight: 400; color: var(--ink); max-width: 400px; margin-top: 25px; }
.legal-foot .links { display: grid; gap: 28px; padding-left: 0; }
.legal-foot .links a, .legal-foot .fb { font-family: "Poppins", sans-serif; font-weight: 600; font-size: 24px; line-height: 26px; color: var(--ink); }
.legal-foot .fb { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.legal-foot .fb svg { width: 14px; height: 14px; }
.legal-foot .bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 80px; font-size: 16px; line-height: 26px; letter-spacing: -0.6px; color: var(--body-gray); font-weight: 400; }

/* ---------- footer ---------- */
.foot { margin-top: 100px; padding: 0 0 50px; }
.foot .inner { display: flex; justify-content: center; gap: 40px; align-items: flex-start; padding-top: 40px; border-top: 1px solid var(--line); }
.foot .mark { color: rgba(0,0,0,.15); margin-top: 0; }
.foot .col { display: grid; gap: 10px; font-size: 15px; line-height: 15px; letter-spacing: -0.01em; }
.foot .col strong { font-weight: 500; color: var(--black); }
.foot .col a { color: var(--gray); }
.foot .col a:hover { color: var(--black); }
.foot .legal-link { margin-top: 10px; }

/* ---------- phones & tablets ---------- */
@media (max-width: 1000px) {
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 30px; }
  .feature .copy, .feature.flip .copy { padding-left: 0; max-width: none; }
  .feature.flip .copy { order: -1; }
  .feature .card, .feature.flip .card { justify-self: center; width: 100%; max-width: 480px; height: auto; aspect-ratio: 1; }
  .feature .card img, .card.kitchen img, .card.bath img, .card.addition img { position: static; width: 100%; height: 100%; max-width: 100%; border-radius: 20px; }
  .card.bath::after { display: none; }
  .svc3, .svc2 { grid-template-columns: 1fr; }
  .svc3 p { max-width: none; }
  .legal-foot .cols { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .nav { overflow-x: auto; gap: 22px; justify-content: flex-start; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; }
  .display { font-size: 30px; }
  .title, .quote h2 { font-size: 26px; }
  .lead { font-size: 19px; }
  .faq-head h2, .legal-wrap > h2 { font-size: 40px; line-height: 46px; }
  .form { grid-template-columns: 1fr; margin-top: 50px; }
  .svc1 { width: auto; }
  .faq-block { padding: 60px 0; }
  .legal-wrap, .legal-foot { padding-left: 20px; padding-right: 20px; }
  .legal-card { padding: 28px 20px; }
  .legal-foot .bottom { flex-direction: column; }
}
