/* West Coast Builders Group — builders626.com
   Rebuilt from the Squarespace site (2026-10-05). Same palette and type as the original:
   cream FFFCF2 / FAF5E4, tan BEAB7B, ink 262020, orange E0592E, Hanken Grotesk + DM Sans. */
:root {
  --cream: #fffcf2; --cream-2: #faf5e4; --tan: #beab7b; --ink: #262020; --ink-2: #4a4242;
  --orange: #e0592e; --orange-dk: #c44a22; --line: #e8e0c8; --white: #fff;
  --head: "Hanken Grotesk", system-ui, sans-serif; --body: "DM Sans", system-ui, sans-serif;
  --wrap: 1180px; --gut: clamp(16px, 4vw, 40px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17.5px/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 500; letter-spacing: .01em; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(40px, 6vw, 68px); }
h2 { font-size: clamp(28px, 3.6vw, 42px); }
h3 { font-size: clamp(22px, 2.6vw, 32px); }
h4 { font-size: 21px; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; } .skip:focus { left: 8px; top: 8px; z-index: 99; background: #fff; padding: 8px 12px; }

/* header */
.site-header { position: absolute; inset: 0 0 auto; z-index: 20; }
.site-header.solid { position: relative; background: var(--cream); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 96px; }
.logo img { height: 56px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; text-transform: uppercase; letter-spacing: .1em; font-weight: 500; font-size: 15px; color: var(--cream); }
.solid .nav a { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--orange); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 26px;
  background: var(--orange); color: #fff !important; text-decoration: none; text-transform: uppercase; letter-spacing: .05em;
  font: 500 16px/1.2 var(--body); border: 0; border-radius: 999px; cursor: pointer; transition: background .2s; }
.btn:hover { background: var(--orange-dk); }
.btn.ghost { background: transparent; color: var(--ink) !important; border: 1.5px solid var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff !important; }
.menu { display: none; }
@media (max-width: 860px) {
  .nav { display: none; }
  .menu { display: block; position: relative; }
  .menu summary { list-style: none; cursor: pointer; width: 48px; height: 48px; display: grid; place-items: center; color: var(--cream); }
  .solid .menu summary { color: var(--ink); }
  .menu summary::-webkit-details-marker { display: none; }
  .menu summary svg { width: 30px; height: 30px; }
  .menu[open] .panel { position: fixed; inset: 0; background: var(--cream); z-index: 30; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 28px; }
  .menu .panel a { color: var(--ink); text-decoration: none; text-transform: uppercase; letter-spacing: .12em; font-size: 22px; }
  .menu .panel .btn { font-size: 18px; }
  .menu .close { position: absolute; top: 24px; right: var(--gut); font-size: 40px; line-height: 1; color: var(--ink); }
  .logo img { height: 46px; }
  .bar { min-height: 80px; }
}

/* hero */
.hero { position: relative; color: var(--cream); background: var(--ink) center/cover no-repeat; display: flex; align-items: center;
  min-height: 62vh; padding: 140px 0 80px; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(20,16,16,.55), rgba(20,16,16,.45)); }
.hero > * { position: relative; }
.hero.tall { min-height: 92vh; }
.hero h1 { margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 30px; }
.chips span { border: 1px solid rgba(255,252,242,.55); background: rgba(255,252,242,.12); backdrop-filter: blur(4px);
  border-radius: 12px; padding: 10px 18px; font: 500 19px/1.2 var(--head); }

/* sections */
.sec { padding: clamp(56px, 8vw, 104px) 0; }
.sec.alt { background: var(--cream-2); }
.sec.tan { background: var(--tan); color: var(--cream); }
.sec.dark { background: var(--ink); color: var(--cream); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-weight: 500; font-size: 14px; color: var(--orange); margin-bottom: 10px; }
.tan .eyebrow, .dark .eyebrow { color: var(--cream); opacity: .85; }
.lead { font-size: 19px; color: var(--ink-2); max-width: 760px; }
.center { text-align: center; } .center .lead { margin-left: auto; margin-right: auto; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.rev > :first-child { order: 2; }
.split img, .photo { border-radius: 14px; width: 100%; object-fit: cover; aspect-ratio: 4/3; box-shadow: 0 10px 30px rgba(38,32,32,.12); }
.grid { display: grid; gap: clamp(18px, 3vw, 30px); }
.g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 26px; box-shadow: 0 6px 20px rgba(38,32,32,.06); }
.card h4 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card .icon { width: 64px; height: 64px; object-fit: contain; margin-bottom: 14px; }
.card .thumb { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 10px; margin-bottom: 16px; }
.service { text-align: center; text-decoration: none; display: block; }
.service .icon { margin: 0 auto 12px; width: 84px; height: 84px; }
.service h4 { font-size: 20px; margin: 0; }
.steps { counter-reset: s; }
.steps .card { position: relative; padding-top: 34px; }
.steps .card::before { counter-increment: s; content: counter(s); position: absolute; top: -16px; left: 22px; width: 34px; height: 34px;
  border-radius: 50%; background: var(--orange); color: #fff; font: 600 16px/34px var(--body); text-align: center; }
.cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.center .cta { justify-content: center; }

/* team */
.team { display: grid; grid-template-columns: 220px 1fr; gap: clamp(20px, 4vw, 44px); align-items: start; padding: 34px 0; border-top: 1px solid var(--line); }
.team:first-child { border-top: 0; }
.team img { width: 220px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: 0 8px 24px rgba(38,32,32,.14); }
.team .role { text-transform: uppercase; letter-spacing: .1em; font-size: 14px; color: var(--orange); font-weight: 500; margin-bottom: 12px; }

/* contact */
.contact-btns { display: grid; gap: 12px; max-width: 520px; }
.contact-btns .btn { justify-content: flex-start; padding: 14px 22px; text-transform: none; letter-spacing: 0; font-size: 17px; border-radius: 14px; }
.contact-btns .btn svg { width: 22px; height: 22px; flex: none; }
.contact-btns small { display: block; opacity: .85; font-size: 14px; }

/* posts / downloads */
.post-card { display: grid; grid-template-columns: 300px 1fr; gap: 26px; text-decoration: none; align-items: center; }
.post-card img { border-radius: 12px; aspect-ratio: 4/3; object-fit: cover; }
.meta { color: var(--ink-2); font-size: 15px; margin-bottom: 8px; }
.article { max-width: 760px; margin: 0 auto; }
.article img { border-radius: 14px; margin: 0 0 28px; }
.dl { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; text-decoration: none; }
.dl strong { font: 500 21px/1.25 var(--head); display: block; }
.dl span { color: var(--ink-2); font-size: 15px; }
.dl .arrow { font-size: 26px; color: var(--orange); flex: none; }
.dl.feature { border: 2px solid var(--orange); }
.map { width: 100%; height: min(70vh, 640px); border: 0; border-radius: 14px; background: var(--cream-2); }

/* footer */
.site-footer { background: var(--ink); color: var(--cream); padding: 64px 0 28px; font-size: 16px; }
.foot { display: grid; grid-template-columns: 1.3fr 1fr 1fr 0.8fr; gap: 32px; }
.site-footer h4 { font-size: 19px; color: #fff; }
.site-footer a { text-decoration: none; } .site-footer a:hover { color: var(--tan); }
.site-footer p { margin: 0 0 .4em; color: #e9e2cf; }
.site-footer nav a { display: block; text-transform: uppercase; letter-spacing: .08em; font-size: 14px; margin-bottom: 10px; color: #e9e2cf; }
.copy { border-top: 1px solid rgba(255,252,242,.15); margin-top: 40px; padding-top: 20px; font-size: 13px; text-transform: uppercase;
  letter-spacing: .08em; color: #bdb4a0; }

@media (max-width: 900px) {
  .split, .g2, .g3 { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .foot { grid-template-columns: 1fr 1fr; }
  .team { grid-template-columns: 1fr; text-align: center; }
  .team img { width: 180px; margin: 0 auto; }
  .post-card { grid-template-columns: 1fr; }
  .hero { min-height: 52vh; padding: 120px 0 56px; }
  .hero.tall { min-height: 86vh; }
}
@media (max-width: 520px) {
  body { font-size: 17px; }
  .foot { grid-template-columns: 1fr; }
  .chips span { font-size: 16px; padding: 8px 14px; }
  .g4 { gap: 14px; }
  .card { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
