/* Minc Cabinetry — site styles
   Photo-led portfolio layout. Colors match the black-and-white logo,
   with warm oak neutrals and one brick-red accent. */
:root {
  --ink: #1A1917;
  --paper: #FAF8F4;
  --white: #FFFFFF;
  --oak: #EFE6D8;
  --line: #DDD5C8;
  --muted: #5E5850;
  --body: #4E4943;
  --red: #A3321F;
  --red-dark: #8A2818;
  --red-soft: #F2B8A8;
  --on-dark: #CFC7BA;
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --text: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 3px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--text); font-size: 16px; line-height: 1.5; }
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: inherit; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; }
p { margin: 0; }

.wrap { max-width: 1280px; margin: 0 auto; padding-left: max(20px, 4vw); padding-right: max(20px, 4vw); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--white); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: var(--radius); font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .03em; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); color: var(--white); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: #000; color: var(--white); }
.btn-light { border-color: var(--white); color: var(--white); }
.btn-light:hover { background: var(--white); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { font-family: var(--display); font-weight: 700; font-size: 16px; text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: 2px; align-self: flex-start; }

/* Type helpers */
.eyebrow { font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.eyebrow.light { color: var(--red-soft); }
h2 { font-weight: 800; font-size: clamp(32px, 3.6vw, 48px); line-height: 1.04; letter-spacing: -.015em; }
h3 { font-weight: 700; font-size: 22px; line-height: 1.2; }
.lead { font-size: 18px; line-height: 1.65; color: var(--body); max-width: 60ch; }
.lead.light { color: var(--on-dark); }

/* Header */
.header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-top: 12px; padding-bottom: 12px; }
.brand img { height: 58px; width: auto; }
.nav { display: flex; flex-wrap: wrap; gap: 8px 32px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; }
.header-cta { display: flex; align-items: center; gap: 18px; }
.phone { font-family: var(--display); font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap; }
.menu-btn { display: none; min-height: 44px; padding: 0 16px; border: 2px solid var(--ink); background: transparent; border-radius: var(--radius); font: 700 15px var(--display); color: var(--ink); cursor: pointer; }

@media (max-width: 980px) {
  .header { position: static; }
  .menu-btn { display: inline-flex; align-items: center; }
  .nav { display: none; width: 100%; flex-direction: column; gap: 0; order: 3; border-top: 1px solid var(--line); padding-top: 8px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; font-size: 17px; }
  .header-cta { width: 100%; justify-content: space-between; order: 2; }
  .brand img { height: 46px; }
}

/* Hero — full-width photo */
.hero { position: relative; min-height: min(88vh, 860px); display: flex; align-items: flex-end; color: var(--white); overflow: hidden; background: var(--ink); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%; }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(20,18,16,.62) 0%, rgba(20,18,16,.38) 40%, rgba(20,18,16,0) 70%),
  linear-gradient(180deg, rgba(20,18,16,.05) 0%, rgba(20,18,16,.20) 45%, rgba(20,18,16,.75) 100%); }
.hero .eyebrow.light { color: #FFD9CC; text-shadow: 0 1px 8px rgba(0,0,0,.45); }
.hero-content { position: relative; width: 100%; padding-top: 120px; padding-bottom: clamp(48px, 7vw, 96px); display: flex; flex-direction: column; gap: 22px; }
.hero h1 { font-weight: 800; font-size: clamp(40px, 5.6vw, 80px); line-height: .98; letter-spacing: -.025em; max-width: 14ch; }
.hero-lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: #EDE7DE; max-width: 52ch; }

/* Statement */
.statement { padding: clamp(64px, 9vw, 120px) 0; }
.statement-inner { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 48px 80px; align-items: end; }
.statement-text { font-family: var(--display); font-weight: 600; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.3; letter-spacing: -.01em; }
.facts { margin: 0; display: grid; gap: 22px; border-left: 2px solid var(--ink); padding-left: 28px; }
.facts div { display: flex; flex-direction: column; gap: 2px; }
.facts dt { font-family: var(--display); font-weight: 800; font-size: 20px; }
.facts dd { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .statement-inner { grid-template-columns: minmax(0, 1fr); } }

/* Featured work */
.work { padding-bottom: clamp(48px, 7vw, 96px); }
.work-title { margin: 12px 0 clamp(32px, 4vw, 56px); }
.feature { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 80px); max-width: 1440px; margin: 0 auto clamp(56px, 8vw, 112px); padding-right: max(20px, 4vw); }
.feature.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); padding-right: 0; padding-left: max(20px, 4vw); }
.feature.flip .feature-img { order: 2; }
.feature-img { aspect-ratio: 5 / 4; overflow: hidden; background: var(--oak); }
.feature-img img { width: 100%; height: 100%; object-fit: cover; }
.feature-text { display: flex; flex-direction: column; gap: 16px; max-width: 460px; }
.feature-n { font-family: var(--display); font-weight: 800; font-size: 14px; letter-spacing: .14em; color: var(--red); }
.feature-text h3 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.08; font-weight: 800; }
.feature-text p:not(.feature-n) { color: var(--body); font-size: 17px; line-height: 1.65; }
@media (max-width: 860px) {
  .feature, .feature.flip { grid-template-columns: minmax(0, 1fr); padding-left: 0; padding-right: 0; }
  .feature.flip .feature-img { order: 0; }
  .feature-text { padding-left: max(20px, 4vw); padding-right: max(20px, 4vw); max-width: none; }
}

/* Full-width band */
.band { position: relative; min-height: min(70vh, 640px); display: flex; align-items: center; overflow: hidden; color: var(--white); background: var(--ink); }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band-shade { position: absolute; inset: 0; background: rgba(20,18,16,.45); }
.band-content { position: relative; width: 100%; padding-top: 80px; padding-bottom: 80px; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.band-quote { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 4.4vw, 60px); line-height: 1.02; letter-spacing: -.02em; max-width: 16ch; }

/* Sections */
.section { padding: clamp(72px, 9vw, 112px) 0; }
.section.tint { background: var(--oak); }
.section.dark { background: var(--ink); color: var(--white); }
.section.red { background: var(--red); color: var(--white); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; margin-bottom: 40px; }
.section-head > div { display: flex; flex-direction: column; gap: 12px; max-width: 680px; }

/* Services list */
.services { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px 80px; }
.services-head { display: flex; flex-direction: column; gap: 12px; }
.service-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); column-gap: 48px; }
.service-list li { border-top: 1px solid var(--ink); padding: 20px 0 28px; display: flex; flex-direction: column; gap: 8px; }
.service-list p { color: var(--muted); font-size: 15px; line-height: 1.55; }
@media (max-width: 860px) { .services { grid-template-columns: minmax(0, 1fr); } }

/* Contractors */
.contractors { display: flex; flex-wrap: wrap; gap: 48px 80px; }
.contractors-text { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.perks { flex: 1 1 480px; min-width: 0; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); column-gap: 40px; }
.perks li { border-top: 1px solid #4A4640; padding: 20px 0 24px; display: flex; flex-direction: column; gap: 8px; }
.perks h3 { font-size: 19px; }
.perks p { color: var(--on-dark); font-size: 15px; line-height: 1.55; }
.perks a { color: var(--red-soft); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(200px, 22vw, 320px); gap: 12px; }
.gallery figure { position: relative; overflow: hidden; background: var(--oak); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; background: linear-gradient(transparent, rgba(20,18,16,.75)); color: var(--white); font-size: 14px; font-weight: 600; }
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 200px; }
  .g-wide { grid-column: span 2; }
}
@media (prefers-reduced-motion: reduce) { .gallery img { transition: none; } }

/* Process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); column-gap: 40px; }
.steps li { border-top: 2px solid var(--ink); padding: 20px 0 8px; display: flex; flex-direction: column; gap: 10px; }
.step-n { font-family: var(--display); font-weight: 800; font-size: 14px; letter-spacing: .14em; color: var(--red); }
.steps p { color: var(--body); font-size: 15px; line-height: 1.55; }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 80px; align-items: center; }
.about-photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--oak); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-text { display: flex; flex-direction: column; gap: 20px; }
.small-link { font-size: 15px; color: var(--muted); }
.small-link a { font-weight: 600; color: var(--ink); }
@media (max-width: 860px) { .about { grid-template-columns: minmax(0, 1fr); } .about-photo { aspect-ratio: 4 / 3; } }

/* Quote */
.quote { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.quote-text { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.quote-text .lead { color: #FBE7E1; }
.quote-text a { color: var(--white); }
.quote-addr { color: #FBE7E1; }
.big-phone { font-family: var(--display); font-weight: 800; font-size: 32px; }
.big-phone a { text-decoration: none; }
.quote-form { flex: 1 1 460px; min-width: 0; background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full, .full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 14px; }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { min-height: 46px; border: 1px solid #BDB3A4; border-radius: var(--radius); padding: 10px 12px; font: inherit; background: var(--white); color: var(--ink); width: 100%; }
.field textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { font-weight: 600; min-height: 1.5em; }
.form-status.ok { color: #1E6B3A; }
.form-status.err { color: var(--red); }

/* Footer */
.footer { background: var(--ink); color: var(--on-dark); font-size: 15px; padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px 48px; }
.footer-logo { width: 200px; }
.footer h3 { color: var(--white); font-size: 16px; margin-bottom: 10px; }
.footer p { margin-bottom: 10px; line-height: 1.6; }
.footer a { color: var(--on-dark); text-decoration: none; }
.footer a:hover { color: var(--white); }
.footer nav { display: flex; flex-direction: column; gap: 8px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid #3A3733; margin-top: 40px; padding-top: 20px; padding-bottom: 32px; font-size: 13px; }
