/* WolfCreek Cabinetry & Woodworking */
:root {
  --black: #1C1B1A;
  /* Brand dark: hero tint, dark buttons, CTA band, footer */
  --dark: #1C1B1A;
  --dark-deep: #121110;
  --dark-hover: #3A3734;
  --hero-overlay: rgba(20, 18, 16, .55);
  --ink: #2A2724;
  --ink-soft: #5E5852;
  --gold: #C9A04A;       /* from the logo */
  --gold-dark: #8A6A24;  /* gold for text on white */
  --white: #FFFFFF;
  --gray: #F4F3F1;
  --line: #E1DED9;
  --focus: #2F6F6A;
  --head: "Oswald", "Arial Narrow", sans-serif;
  --body: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 16px;
  --shadow: 0 10px 30px -12px rgba(28, 27, 26, .28);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--body); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; font-family: var(--head); font-weight: 600; text-transform: uppercase; line-height: 1.1; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px; border: 0; border-radius: 4px; cursor: pointer;
  font: 700 .9375rem/1 var(--body); text-decoration: none; transition: background .15s ease, color .15s ease;
}
.btn-dark { background: var(--dark); color: var(--white); }
.btn-dark:hover { background: var(--dark-hover); }
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: #D8B262; }
.btn-outline { background: transparent; color: var(--black); box-shadow: inset 0 0 0 2px var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { background: var(--gray); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--white); box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 58px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--head); font-weight: 600; font-size: 1.5rem; letter-spacing: .06em; text-transform: uppercase; }
.brand-sub { font-size: .75rem; font-weight: 700; color: var(--gold-dark); letter-spacing: .04em; }
.nav { display: flex; gap: 30px; margin-inline: auto; }
.nav a { text-decoration: none; font-size: 1rem; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--black); }
@media (max-width: 900px) {
  .nav { display: none; }
  .header-inner { justify-content: space-between; min-height: 72px; }
  .header-inner > .btn { min-height: 42px; padding: 0 16px; font-size: .875rem; }
}
@media (max-width: 400px) { .brand-sub { display: none; } .brand img { width: 46px; } }

/* Hero */
.hero { position: relative; min-height: clamp(520px, 78vh, 720px); display: grid; align-items: center; overflow: hidden; background: var(--dark); color: var(--white); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: var(--hero-overlay); }
.hero-inner { position: relative; z-index: 1; text-align: center; padding: 70px 0 150px; }
.kicker { color: var(--gold); font-size: 1.125rem; font-weight: 700; }
.hero h1 { font-size: clamp(2.6rem, 7.2vw, 5.4rem); letter-spacing: .01em; margin: 12px auto 18px; max-width: 14ch; }
.hero-sub { font-size: 1.1875rem; max-width: 44ch; margin: 0 auto 30px; color: #EEE9E2; }

/* Value cards overlapping the hero */
.values { position: relative; z-index: 2; margin-top: -100px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px 26px; text-align: center; }
.value svg { width: 44px; height: 44px; fill: none; stroke: var(--gold); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; margin: 0 auto 12px; }
.value h2 { font-size: 1.6rem; font-weight: 500; }
.value p { margin-top: 8px; color: var(--ink-soft); }
@media (max-width: 860px) { .values-grid { grid-template-columns: 1fr; gap: 14px; } .value { padding: 22px; } }

/* Shared headings */
.heading { font-size: clamp(2.2rem, 4.4vw, 3.2rem); }
.bar { display: block; width: 56px; height: 4px; background: var(--gold); margin: 16px 0 22px; }
.center-head { text-align: center; }
.center-head .bar { margin-inline: auto; }
.sub { font-family: var(--head); font-weight: 500; font-size: 1.25rem; }

/* Form section */
.start-section { padding: 90px 0; }
.start-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 620px); gap: 56px; align-items: start; }
.start-copy p { color: var(--ink-soft); max-width: 40ch; font-size: 1.125rem; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; font-weight: 700; }
.checks li { display: flex; gap: 10px; align-items: center; }
.checks li::before { content: ""; width: 20px; height: 20px; flex: none; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%231C1B1A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
@media (max-width: 960px) { .start-section { padding: 64px 0; } .start-grid { grid-template-columns: 1fr; gap: 28px; } .checks { display: none; } }

.planner { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow), 0 0 0 1px var(--line); padding: 28px 28px 24px; }
@media (max-width: 480px) { .planner { padding: 22px 16px 18px; } }
.planner-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.planner-head h3 { font-size: 1.5rem; font-weight: 500; }
.planner-step-label { font-size: .875rem; color: var(--ink-soft); font-weight: 700; }
.progress { height: 5px; background: var(--gray); border-radius: 5px; margin: 12px 0 22px; overflow: hidden; }
.progress span { display: block; height: 100%; width: 33.34%; background: var(--gold); transition: width .3s ease; }
.hp { position: absolute; left: -9999px; }

.step { border: 0; padding: 0; margin: 0; min-width: 0; }
.step legend { font-weight: 700; font-size: 1.1875rem; padding: 0; }
.hint { color: var(--ink-soft); font-size: .9375rem; }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.tile { position: relative; cursor: pointer; }
.tile input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.tile-face {
  display: flex; flex-direction: column; justify-content: center; text-align: center;
  min-height: 92px; padding: 12px 10px; border-radius: 10px;
  border: 2px solid var(--line); background: var(--white);
  transition: border-color .15s ease, background .15s ease;
}
@media (max-width: 600px) { .tiles { grid-template-columns: 1fr; } .tile-face { min-height: 64px; } }
.tile-title { font-weight: 700; line-height: 1.25; }
.tile-note { font-size: .8125rem; color: var(--ink-soft); line-height: 1.3; margin-top: 3px; }
.tile:hover .tile-face { border-color: #C8C3BB; }
.tile input:checked + .tile-face { border-color: var(--gold); background: #FBF5E8; box-shadow: inset 0 0 0 1px var(--gold); }
.tile input:focus-visible + .tile-face { outline: 3px solid var(--focus); outline-offset: 2px; }

.group { margin-top: 18px; }
.group:first-of-type { margin-top: 12px; }
.group-label { font-weight: 700; font-size: .9375rem; margin-bottom: 8px; }
.opt { font-weight: 400; color: var(--ink-soft); font-size: .8125rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--line); font-size: .9375rem; font-weight: 700; }
.chip:hover span { border-color: #C8C3BB; }
.chip input:checked + span { border-color: var(--gold); background: #FBF5E8; }
.chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

.field { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; }
.field label { font-weight: 700; font-size: .9375rem; }
.field input, .field textarea { font: 400 1rem var(--body); color: var(--ink); background: var(--white); border: 2px solid var(--line); border-radius: 8px; padding: 11px 12px; min-height: 48px; width: 100%; }
.field textarea { resize: vertical; min-height: 88px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--focus); }
.field input[aria-invalid="true"] { border-color: #A3402E; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
@media (max-width: 440px) { .field-row { grid-template-columns: 1fr; } }

.error { color: #A3402E; font-size: .9375rem; font-weight: 700; margin-top: 10px; }
.error:empty { margin: 0; }
.planner-nav { display: flex; gap: 10px; margin-top: 22px; }
.planner-nav .btn { background: var(--dark); color: var(--white); }
.planner-nav .btn:hover { background: var(--dark-hover); }
.planner-nav .btn-ghost { background: transparent; color: var(--ink); }
.planner-nav .btn-ghost:hover { background: var(--gray); }
.planner-nav [data-next], .planner-nav [data-submit] { flex: 1; }

.done { text-align: center; padding: 16px 4px 6px; }
.done img { margin: 0 auto 12px; width: 64px; height: auto; }
.done h3 { font-size: 1.8rem; }
.done p { margin-top: 6px; color: var(--ink-soft); }
.done:focus { outline: none; }

/* Services */
.services { background: var(--gray); padding: 90px 0; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 40px; }
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.card-img { aspect-ratio: 4 / 3; background: linear-gradient(135deg, #8A6A4A, #4C3A2B); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 1.5rem; font-weight: 500; text-transform: none; }
.card p { color: var(--ink-soft); margin: 8px 0 20px; flex: 1; }
.card .btn { align-self: flex-start; }
@media (max-width: 760px) { .service-grid { grid-template-columns: 1fr; } }

/* About */
.about { padding: 90px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-copy p { color: var(--ink-soft); margin-bottom: 16px; max-width: 52ch; }
.about-copy .btn { margin-top: 10px; }
.about-img { border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, #8A6A4A, #4C3A2B); aspect-ratio: 4 / 3; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .about { padding: 64px 0; } .about-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Process */
.process { background: var(--gray); padding: 90px 0; }
.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.steps li { counter-increment: step; background: var(--white); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: var(--black); font: 600 1.25rem var(--head); margin-bottom: 14px; }
.steps h3 { font-size: 1.3rem; font-weight: 500; }
.steps p { margin-top: 8px; color: var(--ink-soft); font-size: 1rem; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { background: var(--dark); color: var(--white); padding: 56px 0; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta-inner h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 500; }

/* Footer */
.site-footer { background: var(--dark-deep); color: #BDB7AE; padding: 56px 0 26px; }
.footer-grid { display: grid; grid-template-columns: auto 1fr 1fr; gap: 40px 64px; align-items: start; }
.footer-logo { width: 180px; height: auto; }
.footer-head { font-family: var(--head); text-transform: uppercase; color: var(--gold); font-size: 1rem; margin-bottom: 10px; letter-spacing: .04em; }
.footer-grid p { margin-top: 6px; }
.footer-grid a { color: #E9E4DC; text-underline-offset: 3px; }
.fine { font-size: .8125rem; color: #847E76; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); }
@media (max-width: 700px) { .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .footer-logo { grid-column: 1 / -1; width: 150px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.footer-grid a { overflow-wrap: anywhere; }

/* Mobile tightening */
.btn { white-space: nowrap; }
@media (max-width: 600px) {
  .brand-name { font-size: 1.25rem; }
  .brand img { width: 44px; }
  .hero-inner { padding: 48px 0 110px; }
  .hero-sub { font-size: 1.0625rem; }
  .values { margin-top: -70px; }
  .values-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .value { padding: 16px 6px; border-radius: 12px; }
  .value svg { width: 30px; height: 30px; margin-bottom: 6px; }
  .value h2 { font-size: 1rem; }
  .value p { display: none; }
  .start-section { padding: 44px 0 64px; }
}

/* Hero with the project form built in */
.hero { align-items: start; min-height: 0; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 48px; align-items: center; text-align: left; padding: 64px 0 140px; }
.hero h1 { margin: 12px 0 18px; max-width: 12ch; font-size: clamp(2.6rem, 5.6vw, 4.6rem); }
.hero-sub { margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-light-outline { background: transparent; color: var(--white); box-shadow: inset 0 0 0 2px rgba(255,255,255,.85); }
.btn-light-outline:hover { background: var(--white); color: var(--black); }
.hero-form { color: var(--ink); }
.hero-form .planner { box-shadow: 0 24px 60px -20px rgba(0,0,0,.55); }
.values { margin-top: -90px; }
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 26px; padding: 40px 0 120px; }
  .hero-form { max-width: 600px; }
  .hero-actions { display: none; }
}
@media (max-width: 600px) {
  .hero-inner { padding: 28px 0 100px; }
  .hero h1 { font-size: 2.4rem; }
  .hero-sub { margin-bottom: 0; }
}

/* From the shop gallery (AJ's own photos) */
.shop { padding: 90px 0; }
.shop-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 16px; margin-top: 40px; }
.shop-item { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--gray); aspect-ratio: 3 / 4; }
.shop-wide { aspect-ratio: auto; }
.shop-item img { width: 100%; height: 100%; object-fit: cover; }
.shop-item figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(28, 27, 26, .82); color: var(--white); font-size: .875rem; font-weight: 700; padding: 6px 10px; border-radius: 6px; }
@media (max-width: 960px) { .shop-grid { grid-template-columns: 1fr 1fr; } .shop-wide { grid-column: 1 / -1; aspect-ratio: 4 / 3; } }
@media (max-width: 480px) { .shop { padding: 64px 0; } .shop-grid { gap: 10px; } }
.about-img img { object-position: center 60%; }
.shop-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; grid-auto-rows: 380px; align-items: stretch; }
.shop-item, .shop-wide { aspect-ratio: auto; height: 100%; }
@media (max-width: 960px) { .shop-grid { grid-template-columns: 1fr 1fr 1fr; grid-auto-rows: 300px; } .shop-wide { grid-column: 1 / -1; } }
@media (max-width: 600px) { .shop-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 240px; } .shop-wide { grid-column: 1 / -1; } .shop-item:last-child { grid-column: 1 / -1; } }
.shop-item { width: 100%; justify-self: stretch; }
.shop-item img { position: absolute; inset: 0; }
figure { margin: 0; }

/* DIY kits (Etsy) — secondary, quieter than the main services */
.diy { padding: 90px 0; }
.diy-card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow), 0 0 0 1px var(--line); overflow: hidden; }
.diy-img { position: relative; min-height: 340px; background: linear-gradient(135deg, #8A6A4A, #4C3A2B); }
.diy-badge { position: absolute; top: 16px; left: 16px; z-index: 1; background: var(--dark); color: var(--white); font-family: var(--head); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; font-size: .875rem; padding: 7px 12px; border-radius: 6px; border: 1px solid var(--gold); }
.diy-img img { width: 100%; height: 100%; object-fit: cover; }
.diy-copy { padding: 44px 48px; align-self: center; }
.diy-copy .heading { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.diy-copy p:not(.kicker-dark) { color: var(--ink-soft); max-width: 50ch; margin-bottom: 24px; }
.kicker-dark { color: var(--gold-dark); font-weight: 700; margin-bottom: 8px; }
.btn[aria-disabled="true"] { opacity: .55; cursor: default; pointer-events: none; }
@media (max-width: 760px) {
  .diy { padding: 64px 0; }
  .diy-card { grid-template-columns: 1fr; }
  .diy-img { min-height: 0; aspect-ratio: 16 / 10; }
  .diy-copy { padding: 26px 22px 28px; }
}

/* Testimonials */
.reviews { padding: 90px 0; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.review { margin: 0; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow), 0 0 0 1px var(--line); padding: 28px 26px; display: flex; flex-direction: column; }
.stars { color: var(--gold); font-size: 1.15rem; letter-spacing: .12em; }
.review blockquote { margin: 12px 0 20px; font-size: 1.0625rem; line-height: 1.6; flex: 1; }
.review figcaption { display: flex; flex-direction: column; border-top: 1px solid var(--line); padding-top: 14px; }
.review-name { font-family: var(--head); font-weight: 500; font-size: 1.15rem; text-transform: uppercase; }
.review-meta { color: var(--ink-soft); font-size: .9375rem; }
.review[data-placeholder] blockquote { color: var(--ink-soft); font-style: italic; }
.review-note { text-align: center; color: var(--ink-soft); font-size: .9375rem; margin-top: 22px; }
@media (max-width: 900px) { .review-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }
@media (max-width: 600px) { .reviews { padding: 64px 0; } }

/* Gallery v2: bar (2x2), fireplace (2x1), two shop shots */
.shop-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; }
.g-bar { grid-column: span 2; grid-row: span 2; }
.g-bar img { object-position: center 70%; }
.g-fire { grid-column: span 2; }
.g-fire { grid-row: span 2; }
.g-mantel img { object-position: center 45%; }
.g-case img { object-position: center 70%; }
@media (max-width: 960px) { .g-fire { grid-row: auto; } }
@media (max-width: 960px) { .shop-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 240px; } .g-bar { grid-column: 1 / -1; grid-row: span 2; } .g-fire { grid-column: 1 / -1; } }
@media (max-width: 600px) { .shop-grid { grid-auto-rows: 200px; } .shop-item:last-child { grid-column: auto; } }
.diy-img img { object-position: center 45%; }
