/* Homepage visual layer only. Shared pages and behavior stay in styles.css. */
body.home {
  --accent: #dda875;
  --muted: #c7bfb0;
  --card: #1c1b17;
  --border-subtle: rgba(201, 146, 95, .2);
  background: #141410;
  font-weight: 400;
}
.home .wrap { width: min(1320px, calc(100% - 80px)); }
.home .site-header {
  background: #141410;
  backdrop-filter: none;
  border-bottom: 1px solid rgba(201, 146, 95, .25);
}
.home .header-inner {
  min-height: 88px;
  padding: 14px 0;
  flex-direction: row;
  justify-content: space-between;
  gap: 28px;
}
.home .home-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 0;
  padding: 0;
  flex-shrink: 0;
  text-align: left;
}
.home-brand img { width: 48px; height: 48px; border-radius: 10px; }
.home-brand strong, .home-brand small { display: block; }
.home-brand strong {
  font-family: Georgia, 'Times New Roman', serif;
  color: #f5edde;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: .025em;
}
.home-brand small { margin-top: 3px; color: #c9b598; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; }
.home .main-nav { flex-wrap: wrap; gap: 22px; font-size: 13px; }
.home .main-nav a { color: #e7ddcd !important; padding: 10px 0; }
.home .header-checkup {
  border: 1px solid #826044;
  border-radius: 3px;
  padding: 12px 15px;
  white-space: nowrap;
  font-size: 12px;
}
.header-checkup span { margin-left: 9px; }
.home .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 730px;
  padding: 92px 0 88px;
  background: #141410;
  border-bottom: 1px solid rgba(201, 146, 95, .25);
}
.home .hero-visual {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 auto;
  width: 62%;
  margin: 0;
}
.hero-visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.hero-visual picture { display: block; width: 100%; height: 100%; }
.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #141410 0%, rgba(20,20,16,.86) 8%, transparent 38%), linear-gradient(0deg, rgba(20,20,16,.35), transparent 20%);
  pointer-events: none;
}
.home .hero-inner { padding: 0; border: 0; border-radius: 0; box-shadow: none; background: none; }
.home .hero-copy { width: 57%; text-align: left; }
.home .hero-copy > * { margin-left: 0; margin-right: 0; }
.home .hero-eyebrow {
  margin: 0 0 24px;
  max-width: none;
  color: #d5b490;
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.home .hero h1 {
  margin: 0 0 24px;
  color: #f5f0e7;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(48px, 4.7vw, 72px);
  line-height: 1.07;
  letter-spacing: -.035em;
  font-weight: 400;
}
.hero h1 span { color: #c78753; }
.home .hero-promise { margin: 0 0 29px; color: #ece3d5; font-size: 18px; line-height: 1.7; }
.home .hero-checkup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 58px;
  padding: 18px 24px;
  border: 1px solid #c58956;
  border-radius: 3px;
  background: linear-gradient(rgba(55,21,6,.3),rgba(55,21,6,.3)), url('/copper-btn.webp') center / cover, #90522c;
  box-shadow: 0 5px 20px rgba(0,0,0,.25);
  color: #fff3df !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .035em;
  line-height: 1.5;
}
.home .hero-checkup:hover { filter: brightness(1.12); }
.home .hero-note { margin: 12px 0 25px; color: #c7bfb0; font-size: 13px; }
.hero-utility { display: flex; flex-wrap: wrap; gap: 12px 22px; font-size: 12px; }
.hero-utility a { padding: 5px 0; }
.home :is(a,button):focus-visible { outline: 2px solid #efc49a; outline-offset: 5px; }
.home :is(section[id],main[id]) { scroll-margin-top: 112px; }

/* A quiet transition from the workbench to the existing content. */
.home #services { background: #d6bd9a url('/assets/bswd-parchment-oat-tile.webp') repeat; background-size: 627px 627px; padding: 64px 0; color: #312b24; }
.home #services :is(p,li) { color: #554c40; }
.home #services h2 { font-family: Georgia, 'Times New Roman', serif; font-size: 32px; font-weight: 400; }
.home #services .offer-card { background: #f7f1e7; border-color: #cfbda4; box-shadow: 0 8px 24px rgba(57,41,22,.06); }
.home #services h3 { color: #513c2b; }
.home #work { padding-top: 64px; }
.home #work h2 { font-family: Georgia, 'Times New Roman', serif; font-size: 34px; font-weight: 400; }

@media (min-width: 1800px) {
  .home .hero-visual { width: calc(50% + 120px); }
}
@media (max-width: 1100px) {
  .home .wrap { width: calc(100% - 48px); }
  .home .header-inner { flex-wrap: wrap; gap: 10px 22px; }
  .home .main-nav { order: 3; width: 100%; gap: 28px; }
  .home .hero { min-height: 660px; padding-top: 72px; }
  .home .hero h1 { font-size: clamp(43px, 5vw, 56px); }
  .home .hero-promise { font-size: 16px; }
}
@media (max-width: 760px) {
  .home .wrap { width: calc(100% - 40px); }
  .home .header-inner { min-height: 106px; padding: 12px 0 8px; gap: 10px 12px; }
  .home-brand img { width: 36px; height: 36px; border-radius: 7px; }
  .home-brand strong { font-size: 20px; }
  .home-brand small { font-size: 9px; }
  .home .home-brand { gap: 9px; }
  .home .header-checkup { padding: 10px; font-size: 10px; white-space: normal; max-width: 100px; line-height: 1.4; text-align: left; }
  .header-checkup span { display: none; }
  .home .main-nav { justify-content: space-between; gap: 7px; font-size: 11px; }
  .home .main-nav a { padding: 14px 0; }
  .home .hero { display: flex; flex-direction: column; min-height: 0; padding: 28px 0 0; }
  .home .hero-inner { order: 0; }
  .home .hero-copy { width: 100%; }
  .home .hero-eyebrow { display: none; }
  .home .hero h1 { font-size: clamp(34px, 8.9vw, 62px); line-height: 1.09; margin-bottom: 16px; }
  .home .hero-promise { font-size: 15px; line-height: 1.6; margin-bottom: 18px; }
  .home .hero-checkup { width: 100%; max-width: 410px; padding: 15px 13px; gap: 10px; font-size: 12px; min-height: 54px; }
  .home .hero-note { margin: 10px 0 14px; font-size: 12px; }
  .hero-utility { gap: 12px 20px; font-size: 11px; }
  .home .hero-visual { position: relative; z-index: 0; order: 1; inset: auto; width: 100%; height: auto; aspect-ratio: 1122 / 1152; margin: 14px 0 0; }
  .hero-visual img { object-fit: contain; }
  .hero-visual::after { background: linear-gradient(180deg, #141410, transparent 12%); }
  .home #services { padding: 44px 0; }
  .home #services h2, .home #work h2 { font-size: 28px; }
  .home :is(section[id],main[id]) { scroll-margin-top: 136px; }
}
