@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Oswald:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,600;1,700&display=swap');

:root {
  --ink: #211d1e;
  --paper: #f4eddc;
  --gold: #ffda12;
  --fire: #c73834;
  --ember: #de9044;
  --clay: #a86f4c;
  --line: rgba(33, 29, 30, .22);
  --sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --serif: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono: 'DM Mono', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
a { color: inherit; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; z-index: 50; top: 10px; left: 10px; padding: 12px; background: #fff; }

/* Header */
.site-header { position: fixed; z-index: 100; top: 0; left: 0; width: 100%; height: 76px; display: flex; align-items: center; justify-content: flex-end; gap: 24px; padding: 0 clamp(20px, 4vw, 64px); color: #fff; background: rgba(20, 15, 14, .96); border-bottom: 1px solid rgba(255, 255, 255, .18); }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); font-size: 16px; text-transform: uppercase; letter-spacing: .4px; }
.site-nav a { text-decoration: none; }
.site-nav a:not(.nav-order):hover { color: var(--gold); }
.nav-social { display: inline-flex; width: 44px; padding: 8px; align-items: center; justify-content: center; line-height: 0; }
.facebook-icon { display: block; width: 28px; height: 28px; flex: 0 0 auto; }
.nav-social-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.nav-order { background: var(--fire); padding: 13px 18px; }
.menu-toggle { display: none; }

/* Hero */
.hero { position: relative; color: #fff; padding-top: 76px; }
.hero-media { position: relative; isolation: isolate; min-height: 560px; height: 76vh; max-height: 780px; display: flex; justify-content: center; align-items: flex-start; background: linear-gradient(90deg, rgba(24, 12, 8, .58), rgba(24, 12, 8, .12)), url('public/assets/firewood-cutting.jpg') center/cover; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 78% 68%, rgba(255, 100, 0, .42), transparent 29%), linear-gradient(0deg, rgba(0, 0, 0, .5), transparent 55%); }
.hero-logo { width: min(300px, 46vw); max-height: 152px; object-fit: contain; padding: 14px 18px; background: var(--ink); }
.hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; padding: clamp(44px, 7vw, 68px) 24px; background: var(--ink); }
.hero h1 { margin: 0; text-transform: uppercase; font-size: clamp(25px, 3.7vw, 51px); line-height: 1.02; letter-spacing: 0; font-weight: 500; }
.hero h1 .tag-orange { color: var(--ember); }
.hero h1 .tag-fire { color: var(--fire); }

.button { display: inline-flex; align-items: center; gap: 24px; padding: 17px 21px; font: 600 17px/1 var(--sans); text-transform: uppercase; letter-spacing: .4px; text-decoration: none; border: 0; cursor: pointer; }
.button span { font-size: 24px; line-height: 12px; }
.button-fire { margin-top: 32px; background: var(--fire); color: #fff; box-shadow: 0 10px 24px rgba(20, 10, 8, .3); transition: .2s transform, .2s box-shadow; }
.button-fire:hover { transform: translateY(2px); box-shadow: 0 5px 14px rgba(20, 10, 8, .32); }

/* Shared section layout: centered heading, content below */
.section-pad { padding: clamp(72px, 10vw, 144px) clamp(20px, 8vw, 128px); }
.section-pad h2 { margin: 0 0 8px; text-transform: uppercase; font-size: clamp(40px, 6vw, 76px); line-height: 1; letter-spacing: 0; font-weight: 500; }

/* About */
.about { background: var(--gold); text-align: center; }
.about-inner { max-width: 780px; margin: 0 auto; }
.about h2 { color: var(--fire); }
.about-copy { font: 400 20px/1.4 var(--sans); text-align: left; margin-top: 28px; }
.about-copy p { margin: 0 0 22px; }
.photo-ribbon { max-width: 1400px; height: 390px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 100%; margin: 80px auto -144px; overflow: hidden; }
.photo-ribbon img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.95) contrast(1.06); }
.photo-crew { object-position: center 30%; }
.photo-loader { object-position: center 45%; }
.photo-trailer { object-position: center 47%; transform: scale(1.45); }

/* Products */
.products { color: #fff; position: relative; overflow: hidden; background: var(--clay); padding-top: 220px; text-align: center; }
.products-bg { position: absolute; inset: 0; opacity: .18; background: url('public/assets/firewood-processing.jpg') center/cover; mix-blend-mode: multiply; }
.products-head, .product-list { position: relative; max-width: 900px; margin: 0 auto; }
.products h2 { color: var(--gold); }
.pricing-note { margin-top: 18px; font-size: 26px; font-weight: 600; text-transform: uppercase; }
.pricing-note span { display: inline-block; height: 23px; border-left: 2px solid var(--gold); margin: 0 15px -4px; }
.pricing-note small { display: block; margin-top: 12px; color: #fff; font: 11px var(--mono); letter-spacing: 1px; }
.product-list { margin-top: 72px; border-top: 1px solid rgba(255, 255, 255, .5); text-align: left; }
.product-list article { padding: 26px 0; border-bottom: 1px solid rgba(255, 255, 255, .5); }
.product-list h3 { margin: 0; font-size: 34px; text-transform: uppercase; }
.product-list p { max-width: 600px; margin: 6px 0 0; font: 19px/1.25 var(--sans); }
.products-cta { position: relative; }

/* FAQ */
.faq { background: var(--ember); text-align: center; }
.faq-heading { max-width: 780px; margin: 0 auto; }
.faq h2 { color: #fff; }
.faq-list { max-width: 860px; margin: 40px auto 0; text-align: left; }
.faq-item { padding: 22px 0; }
.faq-item h3 { margin: 0 0 10px; font-size: 24px; font-weight: 600; text-transform: uppercase; }
.faq-item p { max-width: 720px; margin: 0; font: 19px/1.35 var(--sans); }
.faq-item p a { font-weight: 600; }
.service-map { display: block; width: min(100%, 420px); max-height: 260px; object-fit: contain; object-position: left; margin: 16px 0 4px; }

/* Order — a clear, field-ready work-order flow */
.order { color: var(--ink); background: #f7f1e7; text-align: center; }
.order-page { padding-top: calc(76px + clamp(64px, 8vw, 112px)); }
.order-intro { max-width: 760px; margin: 0 auto; }
.order-kicker { margin: 0 0 12px !important; color: var(--ember) !important; font: 600 12px/1.2 var(--mono) !important; letter-spacing: 1.2px; text-transform: uppercase; }
.order h2 { color: var(--fire); }
.order-intro > p { max-width: 670px; margin: 14px auto 0; font: 20px/1.45 var(--sans); color: var(--ink); }
.phone-link { display: inline-block; margin-top: 20px; font: 600 clamp(18px, 2.4vw, 25px)/1.2 var(--sans); color: var(--fire); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.order-layout { display: grid; grid-template-columns: minmax(0, 760px) minmax(250px, 320px); gap: clamp(32px, 5vw, 72px); align-items: start; max-width: 1160px; margin: clamp(48px, 7vw, 80px) auto 0; text-align: left; }
.order-form-shell { min-width: 0; }
.order-layout.is-complete { grid-template-columns: minmax(0, 760px); justify-content: center; }
.order-layout.is-complete .order-summary { display: none; }
.order-form { min-width: 0; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-step { margin: 0; padding: 0 0 48px; border: 0; }
.form-step + .form-step { padding-top: 42px; border-top: 1px solid rgba(33, 29, 30, .24); }
.form-step legend { display: flex; width: 100%; align-items: center; gap: 14px; padding: 0; color: var(--ink); font: 600 clamp(22px, 3vw, 30px)/1.1 var(--sans); text-transform: uppercase; }
.step-number { display: inline-grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; color: #fff; background: var(--fire); font: 700 18px/1 var(--sans); }
.step-help { margin: 14px 0 22px; color: rgba(33, 29, 30, .75); font: 16px/1.4 var(--sans); }
.order-form label { display: block; color: var(--ink); font: 600 12px/1.2 var(--mono); letter-spacing: .5px; text-transform: uppercase; }
.order-form input,
.order-form select { width: 100%; min-height: 48px; margin-top: 8px; border: 1px solid rgba(33, 29, 30, .42); border-radius: 0; padding: 11px 12px; color: var(--ink); background: #fffdf8; font: 17px var(--sans); }
.order-form input:focus,
.order-form select:focus { outline: 3px solid color-mix(in srgb, var(--gold) 70%, transparent); border-color: var(--fire); outline-offset: 1px; }
.fulfillment-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice-tile { position: relative; display: grid !important; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; min-height: 88px; padding: 16px; border: 2px solid rgba(33, 29, 30, .3); background: #fffdf8; cursor: pointer; text-transform: none !important; transition: border-color .18s ease, background-color .18s ease, transform .18s ease; }
.choice-tile:hover { border-color: var(--ember); transform: translateY(-2px); }
.choice-tile:has(input:checked) { border-color: var(--fire); background: color-mix(in srgb, var(--gold) 17%, #fffdf8); }
.choice-tile input { width: 22px; height: 22px; min-height: 22px; margin: 0; padding: 0; accent-color: var(--fire); }
.choice-copy { display: grid; gap: 4px; }
.choice-copy strong { font: 600 20px/1.1 var(--sans); text-transform: uppercase; }
.choice-copy small { color: var(--ember); font: 12px/1.3 var(--mono); }
.choice-mark { display: grid; width: 28px; height: 28px; place-items: center; color: transparent; border: 1px solid rgba(33, 29, 30, .22); border-radius: 50%; font: 700 16px/1 var(--sans); }
.choice-tile:has(input:checked) .choice-mark { color: #fff; border-color: var(--fire); background: var(--fire); }
.fulfillment-details { margin-top: 20px; padding: 22px; background: color-mix(in srgb, var(--gold) 20%, #fffdf8); }
.fulfillment-details[hidden],
.address-field[hidden] { display: none; }
.schedule-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.address-field + .schedule-fields { margin-top: 18px; }
.field-note,
.privacy-note { margin: 13px 0 0; color: rgba(33, 29, 30, .72); font: 14px/1.45 var(--sans); }
.wood-list { border-top: 2px solid var(--ink); }
.wood-row { display: grid; grid-template-columns: minmax(180px, 1fr) 145px 145px; gap: 14px; align-items: end; padding: 18px 0; border-bottom: 1px solid rgba(33, 29, 30, .24); }
.wood-name { align-self: center; }
.wood-name strong { display: block; font: 600 19px/1.15 var(--sans); text-transform: uppercase; }
.wood-name small { display: block; margin-top: 5px; color: rgba(33, 29, 30, .66); font: 14px/1.25 var(--sans); }
.wood-row label span { display: flex; justify-content: space-between; gap: 5px; font-size: 10px; }
.wood-row label b { color: var(--ember); font-weight: 600; }
.wood-row input { margin-top: 7px; text-align: center; }
.field-error { min-height: 20px; margin: 12px 0 0; color: #9e2019; font: 600 14px/1.4 var(--sans); }
.customer-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; margin-top: 22px; }
.customer-fields label:last-child { grid-column: 1 / -1; }
.submit-step { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 0; }
.submit-heading { display: flex; align-items: center; gap: 14px; }
.submit-heading strong { display: block; font: 600 20px/1.1 var(--sans); text-transform: uppercase; }
.submit-heading small { display: block; margin-top: 5px; color: rgba(33, 29, 30, .7); font: 14px/1.3 var(--sans); }
.mobile-order-total { display: none; }
.order-form .button-fire { margin: 0; min-height: 52px; }
.order-form .button-fire:disabled { opacity: .6; cursor: wait; transform: none; }
.form-message { flex-basis: 100%; min-height: 22px; margin: 0; color: var(--fire); font: 600 14px/1.45 var(--sans); }
.basin-message { flex-basis: 100%; width: 100%; padding: 18px; border: 1px solid currentColor; font: 15px/1.45 var(--sans); }
.basin-message strong,
.basin-message span { display: block; }
.basin-message strong { margin-bottom: 3px; font-size: 17px; }
.basin-message-success { color: #2f5a31; background: #edf5e8; }
.basin-message-error { color: #8c251f; background: #fff0ec; }
.basin-message a { font-weight: 700; text-underline-offset: 3px; }
.basin-message:focus { outline: 3px solid color-mix(in srgb, var(--gold) 70%, transparent); outline-offset: 2px; }
.confirmation-order { margin-top: 24px; padding: 24px; color: var(--ink); background: #fffdf8; border-left: 5px solid var(--gold); }
.confirmation-kicker { margin: 0 0 16px; color: var(--ember); font: 600 12px/1 var(--mono); letter-spacing: 1px; text-transform: uppercase; }
.confirmation-items { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(33, 29, 30, .2); }
.confirmation-items li { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid rgba(33, 29, 30, .2); }
.confirmation-items li span { display: inline; color: var(--ink); font: 15px/1.4 var(--sans); }
.confirmation-items li strong { flex: 0 0 auto; margin: 0; color: var(--ink); font: 600 15px/1.4 var(--sans); }
.confirmation-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; margin: 24px 0 0; }
.confirmation-facts div { display: grid; gap: 5px; }
.confirmation-facts div[hidden] { display: none; }
.confirmation-facts dt { color: rgba(33, 29, 30, .68); font: 11px/1.2 var(--mono); letter-spacing: .5px; text-transform: uppercase; }
.confirmation-facts dd { margin: 0; color: var(--ink); font: 600 19px/1.2 var(--sans); }
.confirmation-facts .confirmation-total { grid-column: 1 / -1; padding-top: 18px; border-top: 2px solid var(--ink); }
.confirmation-facts .confirmation-total dd { color: var(--fire); font-size: 32px; }
.confirmation-note { margin: 20px 0 0; color: rgba(33, 29, 30, .75); font: 14px/1.5 var(--sans); }
.order-summary { position: sticky; top: 108px; padding: 28px; color: #fff; background: var(--ink); box-shadow: 12px 12px 0 var(--gold); }
.summary-kicker { margin: 0 0 22px; color: var(--gold); font: 600 12px/1 var(--mono); letter-spacing: 1px; text-transform: uppercase; }
.summary-values { display: grid; gap: 22px; }
.summary-values > div { display: grid; gap: 5px; }
.summary-values span { color: rgba(255, 255, 255, .74); font: 12px/1.2 var(--mono); text-transform: uppercase; }
.summary-values strong { color: var(--gold); font: 600 35px/1 var(--sans); }
.summary-values strong small { color: var(--gold); font-size: 14px; text-transform: uppercase; }
.delivery-summary { margin: 20px 0 0; color: var(--ember); font: 14px/1.4 var(--sans); }
.summary-rule { height: 1px; margin: 24px 0; background: rgba(255, 255, 255, .22); }
.order-summary > p:not(.summary-kicker):not(.delivery-summary) { margin: 0; font: 15px/1.5 var(--sans); }
.order-summary > p strong { color: #fff; }
.order-summary > a { display: inline-block; margin-top: 22px; color: var(--gold); font: 600 15px/1.3 var(--sans); text-underline-offset: 4px; }

/* Footer */
.site-footer { display: grid; grid-template-columns: 180px 1fr auto; grid-template-areas: "logo contact copyright" "nav nav nav"; gap: 12px 42px; align-items: center; padding: 33px clamp(20px, 8vw, 128px); color: #fff; background: #130f0f; border-top: 1px solid rgba(255, 255, 255, .2); }
.site-footer > img { grid-area: logo; width: 170px; height: 90px; object-fit: contain; mix-blend-mode: screen; }
.site-footer > div { grid-area: contact; }
.site-footer p { margin: 0; font: 18px/1.35 var(--sans); }
.footer-kicker { color: var(--gold); text-transform: uppercase; font-size: 13px !important; letter-spacing: 1px; }
.site-footer a { color: var(--ember); }
.copyright { grid-area: copyright; align-self: end; font: 11px var(--mono) !important; color: rgba(255, 255, 255, .65); }
.footer-nav { grid-area: nav; display: flex; flex-wrap: wrap; gap: 8px clamp(16px, 3vw, 32px); padding-top: 20px; margin-top: 8px; border-top: 1px solid rgba(255, 255, 255, .18); font: 12px var(--mono); text-transform: uppercase; letter-spacing: .8px; }
.footer-nav a { text-decoration: none; color: rgba(255, 255, 255, .8); }
.footer-nav a:hover { color: var(--gold); }
.footer-facebook { display: inline-flex; align-items: center; gap: 7px; }
.footer-facebook .facebook-icon { width: 18px; height: 18px; }

@keyframes lift { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes bob { 50% { transform: translateY(6px); } }

@media (max-width: 760px) {
  .site-header { height: 64px; }
  .hero { padding-top: 64px; }
  .order-page { padding-top: calc(64px + 64px); }
  .menu-toggle { display: block; width: 41px; padding: 8px; border: 0; background: transparent; }
  .menu-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: #fff; }
  .site-nav { display: none; position: absolute; top: 64px; right: 0; left: 0; padding: 20px; background: var(--ink); flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .2); }
  .site-nav .nav-social { width: 100%; gap: 10px; justify-content: flex-start; line-height: 1; }
  .site-nav .nav-social-label { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; white-space: normal; }
  .site-nav .nav-order { margin-top: 10px; padding: 14px; text-align: center; border: 0; }
  .hero-media { min-height: 0; height: clamp(360px, 52svh, 460px); }
  .hero h1 { font-size: 31px; }
  .hero-logo { width: 54vw; }
  .section-pad { padding-left: 24px; padding-right: 24px; }
  .about-copy { font-size: 18px; }
  .photo-ribbon { height: 260px; margin: 55px -24px -72px; }
  .products { padding-top: 145px; }
  .product-list { margin-top: 45px; }
  .product-list h3 { font-size: 27px; }
  .product-list p { font-size: 17px; }
  .faq-item h3 { font-size: 20px; }
  .faq-item p { font-size: 18px; }
  .order-intro > p { font-size: 18px; }
  .site-footer { grid-template-columns: 1fr; grid-template-areas: "logo" "contact" "copyright" "nav"; text-align: center; }
  .site-footer > img { margin: 0 auto; }
  .copyright { align-self: auto; }
  .footer-nav { justify-content: center; }
}
