/*
  DownHill Cutters. Rebuilt 1 to 1 from the Weblium site, 2026-09-22.
  Live type scale measured at 1400px wide:
    hero h1 85px/1.1 Heebo 700 (-1.7px), h2 60px/1.18 Heebo 700 (-1.26px),
    band heading 36px/1.27, h3 26px/1.31 Heebo 600,
    body 17px/1.56 Open Sans 400, lead 22px/1.36, small 15px.
  Mobile (375px): h1 58px, h2 40px, band 30px, h3 22px.
  Sizes are fixed px like the original, with a single mobile override.
  Container 1170px + 15px gutters.
*/

:root {
  --brown: #462e22;
  --brown-deep: #3c2418;
  --cream: #f2efe9;
  --orange: #dc855b;
  --white: #ffffff;
  --ink: #462e22;
  --topbar: #000000;
  --container: 1170px;
  --gutter: 15px;
  --display: "Heebo", "Helvetica Neue", Arial, sans-serif;
  --body: "Open Sans", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.56;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { font-family: var(--display); margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* Live site: 1170px content at 1400, 944px at 1024 (40px side margins). */
.container {
  width: min(var(--container), 100% - 80px);
  margin: 0 auto;
}
@media (max-width: 767px) {
  .container { width: calc(100% - var(--gutter) * 2); }
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Type ---------- */
.h-hero {
  font-size: 85px; line-height: 1.1; font-weight: 700; letter-spacing: -1.7px; color: var(--white);
}
.h-section {
  font-size: 60px; line-height: 1.18; font-weight: 700; letter-spacing: -1.26px; color: var(--ink);
}
.h-band {
  font-size: 36px; line-height: 1.27; font-weight: 700; letter-spacing: -0.72px;
}
.h-card {
  font-size: 26px; line-height: 1.31; font-weight: 600;
}
.lead { font-size: 22px; line-height: 1.36; }
.center { text-align: center; }
.accent {
  display: block; width: 46px; height: 3px; background: var(--orange);
  margin: 24px 0 26px;
}
.center .accent, .accent.center { margin-left: auto; margin-right: auto; }
.on-dark, .on-dark .h-section { color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--body);
  font-size: 15.4px; line-height: 1.2; font-weight: 700;
  padding: 18px 30px;
  border: 1.6px solid currentColor;
  transition: background .2s, color .2s;
}
.btn-ghost-light { color: var(--white); }
.btn-ghost-light:hover { background: var(--white); color: var(--brown); }
.btn-solid {
  background: var(--orange); color: var(--white); border-color: var(--orange);
  padding: 14px 20px;
}
.btn-solid:hover { background: #c9724a; border-color: #c9724a; }
.btn-outline {
  color: var(--brown-deep); border-color: var(--orange); padding: 14px 20px;
}
.btn-outline:hover { background: var(--orange); color: var(--white); }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 40px; }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 20; color: var(--white); }
.home .site-header { position: absolute; top: 0; left: 0; right: 0; }
.topbar { background: var(--topbar); color: var(--cream); font-size: 17px; }
.topbar .container {
  height: 50px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; align-items: center;
}
.topbar a:hover { color: var(--orange); }
.topbar .social { justify-self: end; }
.social { display: flex; gap: 14px; align-items: center; }
.topbar .social a {
  width: 22px; height: 22px; background: var(--white); color: #000;
  display: grid; place-items: center;
}
.topbar .social a:hover { background: var(--orange); color: var(--white); }
.social svg { width: 14px; height: 14px; fill: currentColor; }

.navbar { background: var(--brown); }
.home .navbar { background: rgba(32, 19, 13, 0.33); }
.navbar .container {
  height: 148px; display: flex; align-items: center; justify-content: space-between;
}
.logo-link img { width: 119px; height: 119px; border-radius: 50%; }
.main-nav ul { display: flex; gap: 12px; margin-right: 36px; }
.main-nav a { font-size: 17px; color: var(--white); padding: 6px 0; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--orange); }

.nav-toggle {
  display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--white);
}
.nav-toggle span { display: block; width: 32px; height: 2px; background: currentColor; margin: 7px 0; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ---------- Page title band (inner pages) ---------- */
.title-band { background: var(--cream); padding: 20px 0; }

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  background: var(--brown) url("/images/hero-home.webp") center / cover no-repeat;
  padding: 328px 0 192px;
  color: var(--cream);
}
.hero::before {
  content: ""; position: absolute; inset: 0; background: rgba(51, 33, 23, 0.56);
}
.hero .container { position: relative; }
.hero-eyebrow { font-size: 22px; line-height: 1.36; font-weight: 700; margin: 0 0 9px; }
.hero .h-hero { max-width: 78%; } /* live: 911px of 1170 at 1400, wraps to 3 lines at 1024 */
.hero .accent { margin: 18px 0 18px; }
.hero .lead { margin-bottom: 40px; }

/* ---------- Sections ---------- */
.section { padding: 120px 0; position: relative; }
.bg-cream { background: var(--cream); }
.bg-white { background: var(--white); }
.bg-orange { background: var(--orange); }
.bg-brown { background: var(--brown); }
.bg-topo-cream {
  background: linear-gradient(rgba(242, 239, 233, 0.95), rgba(242, 239, 233, 0.95)),
              var(--cream) url("/images/bg-topo-cream.webp") center / cover no-repeat;
}
.bg-topo-orange {
  background: linear-gradient(rgba(220, 133, 91, 0.86), rgba(220, 133, 91, 0.86)),
              var(--orange) url("/images/bg-topo-orange.webp") center / cover no-repeat;
}
.bg-finds {
  background: linear-gradient(rgba(70, 46, 34, 0.95), rgba(70, 46, 34, 0.95)),
              var(--brown) url("/images/bg-finds.webp") center / cover no-repeat;
}
.bg-process {
  background: linear-gradient(rgba(48, 24, 10, 0.88), rgba(48, 24, 10, 0.88)),
              #30180a url("/images/bg-process-wood.webp") center / cover no-repeat fixed;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.section-head { margin-bottom: 30px; }
.section-head .accent { margin-bottom: 0; }

/* For Sale */
.sale-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.sale-eyebrow {
  font-size: 15px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--orange); margin-bottom: 10px;
}
.price-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 30px 0; }
.price-card { background: var(--white); border-top: 3px solid var(--orange); padding: 22px 24px; }
.price { font-family: var(--display); font-size: 17px; font-weight: 600; margin: 0 0 4px; }
.price span { font-size: 36px; line-height: 1.1; font-weight: 700; letter-spacing: -0.72px; }
.price-qty { font-size: 15px; margin: 0; }
.sale-specs { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
.sale-specs + .btn-row { margin-top: 30px; }
.sale-media { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 16px; }
.video-frame.sale-video { aspect-ratio: 9 / 16; }
.sale-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* contain: size keeps the 450x600 photos from setting the row height; the video does */
.sale-photos { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; contain: size; }
.sale-photos img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }

/* About */
.about { align-items: center; }
.about-img { width: 100%; aspect-ratio: 570 / 636; height: auto; object-fit: cover; }
.about-text { padding-left: 0; }

/* When Requested We */
.req-card { background: var(--white); padding: 30px 30px 40px; }
.req-card img { width: 100px; height: 100px; object-fit: contain; object-position: left center; }
.req-card hr { border: 0; border-top: 1px solid rgba(70, 46, 34, 0.55); margin: 12px 0 20px; }

/* Video + What We Do */
.wwd { width: min(822px, 66%); margin: 0 auto; }
.video-frame { position: relative; width: 100%; aspect-ratio: 822 / 479; background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.wwd-text { padding: 50px 26px 0; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.checklist svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 4px; fill: var(--brown); }

/* Orange call band */
.call-band { padding: 110px 0; }
.call-band .container { display: grid; grid-template-columns: 3fr 1fr; gap: 30px; align-items: center; }
.call-band .h-band { color: var(--cream); max-width: 470px; }
.call-box { justify-self: start; }
.call-box .h-band { color: var(--white); margin-bottom: 18px; }
.call-box a { font-size: 22px; line-height: 1.36; font-weight: 700; color: var(--white); }
.call-box a:hover { text-decoration: underline; }

/* Our Process */
.process { padding: 110px 0 170px; }
.process-card { background: rgba(26, 13, 6, 0.59); padding: 46px 30px 50px; text-align: center; color: var(--white); }
.process-card .h-card { margin-bottom: 16px; }

/* Framed photo cards */
.photo-card { padding: 10px; }
.photo-card img { width: 100%; object-fit: cover; }
.photo-card figcaption { text-align: center; padding: 22px 18px 16px; }
.pc-white { background: var(--white); }
.pc-cream { background: var(--cream); }
.pc-brown { background: var(--brown); }
.gallery-4 .photo-card img { aspect-ratio: 250 / 258; height: auto; }
.finds .photo-card img { aspect-ratio: 350 / 404; height: auto; }
.finds .photo-card figcaption { padding: 22px 20px 26px; }
.frames .photo-card img { aspect-ratio: 350 / 357; height: auto; }

/* Our Choice Slabs */
.choice { padding: 100px 0; }
.choice .h-section { margin-bottom: 40px; }
.choice-grid img { width: 100%; aspect-ratio: 570 / 296; height: auto; object-fit: cover; }

/* Products and Projects */
.projects-sec { padding: 100px 0 90px; }
.post-card { max-width: 365px; }
.post-card img { width: 100%; aspect-ratio: 365 / 219; object-fit: cover; margin-bottom: 18px; transition: opacity .2s; }
.post-card:hover img { opacity: .85; }
.post-card .h-card { margin-bottom: 14px; }
.post-card:hover .h-card { color: var(--orange); }

/* Carousel */
.carousel-sec { padding: 80px 0; overflow: hidden; }
.carousel { position: relative; }
.carousel-viewport { overflow: hidden; margin: 0 -15px; }
.carousel-track { display: flex; transition: transform .45s ease; }
.slide { flex: 0 0 25%; padding: 0 15px; }
.slide .frame { background: var(--white); padding: 5px; }
.slide img { width: 100%; aspect-ratio: 263 / 284; height: auto; object-fit: cover; }
.slide p { color: var(--white); font-weight: 700; text-align: center; padding: 22px 12px 0; }
.car-btn {
  position: absolute; top: 47%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; border: 0;
  background: rgba(60, 36, 24, 0.85); color: var(--white); cursor: pointer;
  display: grid; place-items: center; z-index: 2;
}
.car-btn:hover { background: var(--brown-deep); }
.car-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.car-prev { left: -4px; }
.car-next { right: -4px; }

/* Contact */
.contact .grid-2 { align-items: start; }
.contact .h-section { color: var(--white); }
.contact-lead { font-size: 19px; line-height: 1.5; color: var(--white); }
.contact-sub { color: var(--cream); margin-top: 20px; }
.contact-rows { margin-top: 26px; }
.contact-row { display: grid; grid-template-columns: 135px 1fr; gap: 0 20px; align-items: baseline; margin-bottom: 14px; }
.contact-row .h-card { color: var(--white); }
.contact-row .val { font-size: 15px; line-height: 1.67; font-weight: 700; color: var(--white); }
.contact-row .val a { display: block; }
.contact-row .val a:hover { color: var(--orange); }
.contact-photo { background: var(--white); padding: 10px; }
.contact-photo img { width: 100%; aspect-ratio: 550 / 407; height: auto; object-fit: cover; }

/* ---------- Footer ---------- */
.site-footer { background: var(--white); padding: 34px 0 0; color: var(--ink); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-bottom: 20px; }
.footer-logo img { width: 152px; height: 152px; }
.footer-right { display: flex; align-items: center; gap: 66px; }
.footer-nav ul { display: flex; gap: 12px; }
.footer-nav a { font-size: 15px; font-weight: 600; }
.footer-nav a:hover { color: var(--orange); }
.site-footer .social a {
  width: 30px; height: 30px; border-radius: 50%; background: var(--orange); color: var(--white);
  display: grid; place-items: center;
}
.site-footer .social a:hover { background: var(--brown); }
.site-footer .social { gap: 12px; }
.footer-bottom {
  border-top: 1px solid rgba(70, 46, 34, 0.15);
  display: flex; justify-content: space-between; font-size: 15px; line-height: 1.67;
  padding: 16px 0 17px;
}

/* ---------- Inner pages ---------- */
.page-sec { padding: 80px 0 100px; }
.rounded { border-radius: 8px; }
.cvo-intro { align-items: start; }
.cvo-intro img { width: 100%; aspect-ratio: 449 / 374; height: auto; object-fit: cover; }
.cvo-body { margin-top: 70px; }
.video-grid { margin-top: 150px; row-gap: 42px; }
.video-grid .video-frame { aspect-ratio: 449 / 334; }
.findings { margin-top: 150px; align-items: center; }
.findings img { width: 100%; aspect-ratio: 449 / 384; height: auto; object-fit: cover; }
.findings .h-band { margin-bottom: 30px; }
.letters { margin-top: 170px; }
.letters img { width: 100%; height: auto; margin-bottom: 20px; }

.projects-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.projects-grid .post-card img { aspect-ratio: 284 / 171; }

.post-hero { padding-top: 32px; }
.post-hero img { width: 100%; height: auto; }
.post-body { max-width: 700px; margin: 0 auto; padding: 38px 0 90px; }
.post-meta { font-size: 15px; color: var(--orange); margin: 0; }
.post-body .h-section { margin: 14px 0 16px; }
.post-body .post-meta + p { margin-top: 20px; }
.post-body img { margin-top: 18px; width: 100%; height: auto; }

.notfound { padding: 140px 0; text-align: center; }
.notfound .btn { margin-top: 30px; }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .logo-link img { width: 93px; height: 93px; }
}

@media (max-width: 991px) {
  .grid-4, .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .slide { flex-basis: 50%; }
  .call-band .container { grid-template-columns: 1fr; }
  .call-box { justify-self: start; }
  .bg-process { background-attachment: scroll; }
  .sale-grid { grid-template-columns: 1fr; gap: 50px; }
  .sale-media { max-width: 560px; }
}

@media (max-width: 767px) {
  body { font-size: 17px; }
  .h-hero { font-size: 58px; line-height: 1.1; letter-spacing: -1.2px; }
  .h-section { font-size: 40px; line-height: 1.2; letter-spacing: -0.8px; }
  .h-band { font-size: 30px; }
  .h-card { font-size: 22px; }

  .topbar { display: none; }
  .navbar, .home .navbar { background: var(--brown); }
  .home .navbar { background: transparent; }
  .navbar .container { height: auto; padding-top: 20px; padding-bottom: 20px; }
  .logo-link img, .home .logo-link img { width: 130px; height: 130px; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--brown); padding: 10px var(--gutter) 24px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { display: block; padding: 12px 0; font-size: 18px; border-bottom: 1px solid rgba(255,255,255,.12); }

  .hero { padding: 220px 0 110px; }
  .section, .call-band, .process, .choice, .projects-sec { padding: 80px 0; }
  .carousel-sec { padding: 60px 0; }
  .grid-2, .grid-3, .grid-4, .projects-grid { grid-template-columns: 1fr; }
  .about-img { height: auto; aspect-ratio: 345 / 385; }
  .about { gap: 40px; }
  .gallery-4 .photo-card img, .frames .photo-card img { height: auto; aspect-ratio: 1 / 1; }
  .finds .photo-card img { height: auto; aspect-ratio: 350 / 404; }
  .choice-grid img { height: auto; aspect-ratio: 570 / 296; }
  .slide { flex-basis: 100%; }
  .slide img { height: auto; aspect-ratio: 263 / 284; }
  .car-btn { top: 44%; }
  .car-prev { left: 4px; }
  .car-next { right: 4px; }
  .wwd { width: 100%; }
  .wwd-text { padding: 40px 0 0; }
  .contact-photo img { height: auto; aspect-ratio: 550 / 407; }
  .price-row { gap: 12px; }
  .price-card { padding: 18px 16px; }
  .price span { font-size: 30px; }
  .sale-specs { grid-template-columns: 1fr; }
  .sale-media, .sale-photos { gap: 10px; }
  .contact .grid-2 { gap: 50px; }
  .post-card { max-width: none; }

  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-right { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-bottom { flex-direction: column; gap: 4px; }

  .cvo-intro img, .findings img { height: auto; aspect-ratio: 4 / 3; }
  .video-grid, .findings, .letters { margin-top: 70px; }
  .cvo-body { margin-top: 50px; }
  .post-body { padding: 30px 0 70px; }
}
