/* Diversified Kitchen Solutions — stylesheet.
   Photography is the material. One background break per page (the dark
   trust/office block). Asymmetric gutters. Captions instead of labels. */

*, *::before, *::after { box-sizing: border-box; }
figure { margin: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

html { overflow-x: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.15; margin: 0; }
p { margin: 0 0 1em; max-width: 58ch; }
.measure-wide p { max-width: 66ch; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 7vw;
  padding-right: 4.5vw;
}

.muted { color: var(--muted); }

/* skip link */
.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--panel-dark); color: var(--ink-on-dark);
  padding: 12px 18px; z-index: 200; border-radius: 0 0 var(--radius) 0;
}
.skip:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 2px;
}

/* ===== Header ===== */
.site-head {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246, 244, 240, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--rule);
}
.site-head-in {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 7vw 14px 7vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
}
.brand {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand small {
  display: block;
  font-family: var(--body);
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  margin-top: 2px;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: var(--s4);
}
.site-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--ink);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.site-nav a[aria-current="page"] {
  border-bottom-color: var(--brass);
}
.site-nav a:hover { border-bottom-color: var(--rule-strong); }
.head-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 600;
  color: var(--panel-dark);
  white-space: nowrap;
  font-size: 0.95rem;
}
.head-call svg { width: 16px; height: 16px; flex: none; }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--rule-strong); border-radius: var(--radius);
  padding: 8px 12px; font: inherit; color: var(--ink); cursor: pointer;
  align-items: center; gap: 8px;
}
.nav-toggle .ico-shut { display: none; }
.nav-toggle[aria-expanded="true"] .ico-open { display: none; }
.nav-toggle[aria-expanded="true"] .ico-shut { display: block; }

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--s2) 7vw var(--s4);
    gap: var(--s2);
    display: none;
  }
  .site-nav.open { display: flex; }
  .head-call { display: none; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(86vh, 720px);
  color: #fff;
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 62%;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,18,15,.15) 0%, rgba(20,18,15,.35) 55%, rgba(15,13,11,.86) 100%);
}
.hero-in {
  position: relative;
  z-index: 2;
  padding-top: var(--s12);
  padding-bottom: var(--s8);
}
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  max-width: 14ch;
  color: #fff;
}
.hero-sub {
  margin-top: var(--s3);
  font-size: 1.08rem;
  max-width: 46ch;
  color: rgba(255,255,255,.88);
}
.hero-cta {
  margin-top: var(--s4);
  display: flex;
  align-items: center;
  gap: var(--s3);
  flex-wrap: wrap;
}
.hero-services {
  list-style: none;
  margin: var(--s3) 0 0;
  padding: 0;
  display: flex;
  gap: var(--s3);
  flex-wrap: wrap;
  font-size: 0.92rem;
  color: rgba(255,255,255,.82);
}
.hero-services li { display: flex; align-items: center; gap: 8px; }
.hero-services .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brass-bright); flex: none;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--brass);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  font-family: var(--body);
  transition: background var(--t-med) var(--t-ease), transform var(--t-med) var(--t-ease);
}
.btn:hover { background: var(--brass-press); }
.btn:active { transform: translateY(1px); }
.btn.block { width: 100%; justify-content: center; }
.btn.on-light { color: #fff; }

.tel-note {
  color: rgba(255,255,255,.82);
  font-size: 0.95rem;
}
.tel-note a { text-decoration: underline; color: #fff; }

.arrowlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 600;
  color: var(--brass-press);
  border-bottom: 1px solid transparent;
}
.arrowlink:hover { border-bottom-color: var(--brass-press); }
.arrowlink svg { width: 18px; height: 18px; transition: transform var(--t-med) var(--t-ease); }
.arrowlink:hover svg { transform: translateX(3px); }

/* ===== Sections ===== */
.sec {
  padding-top: var(--s10);
  padding-bottom: var(--s10);
}
.sec.tight { padding-top: var(--s8); padding-bottom: var(--s8); }
.sec.flush-top { padding-top: 0; }
.sec.dark {
  background: var(--panel-dark);
  color: var(--ink-on-dark);
}
.sec.dark .muted { color: var(--muted-on-dark); }
.sec.steel { background: var(--steel-100); }

h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); max-width: 16ch; }
h3 { font-size: 1.25rem; }

.sec-intro {
  margin-top: var(--s2);
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 60ch;
}
.sec.dark .sec-intro { color: var(--muted-on-dark); }

/* ===== Photo-forward feature rows (image outside container width) ===== */
.feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.feature-row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: var(--s8);
}
.feature-row.reverse { grid-template-columns: 0.95fr 1.05fr; }
.feature-row.reverse .feature-media { order: 2; }
.feature-row.reverse .feature-text { order: 1; }
.feature-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}
.feature-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.feature-text { max-width: 46ch; }
.feature-text h3 { margin-bottom: var(--s2); font-size: 1.55rem; }
.feature-num {
  display: block;
  font-family: var(--display);
  font-size: 0.95rem;
  color: var(--brass-press);
  margin-bottom: var(--s2);
  font-weight: 600;
}
.feature-note {
  font-size: 0.9rem;
  color: var(--muted);
  border-left: 2px solid var(--rule-strong);
  padding-left: var(--s2);
  margin-top: var(--s2);
}

@media (max-width: 860px) {
  .feature-row, .feature-row.reverse {
    grid-template-columns: 1fr;
    gap: var(--s4);
  }
  .feature-row.reverse .feature-media { order: 1; }
  .feature-row.reverse .feature-text { order: 2; }
  .feature-media img { aspect-ratio: 16/10; }
}

/* ===== Full-bleed photo band ===== */
.bleed {
  width: 100%;
  overflow: hidden;
}
.bleed img { width: 100%; object-fit: cover; }
.bleed.short img { aspect-ratio: 21/9; }
.bleed.tall img { aspect-ratio: 16/10; }
figcaption.cap {
  font-size: 0.85rem;
  color: var(--muted);
  padding-top: var(--s2);
  max-width: 58ch;
}
.sec.dark figcaption.cap { color: var(--muted-on-dark); }

/* ===== Photo grid (gallery-like but varied, not a uniform card grid) ===== */
.mosaic {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--s2);
}
.mosaic figure { margin: 0; overflow: hidden; border-radius: var(--radius); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic .m-a { grid-column: span 4; grid-row: span 2; }
.mosaic .m-a img { aspect-ratio: 4/3; }
.mosaic .m-b { grid-column: span 2; }
.mosaic .m-b img { aspect-ratio: 4/5; }
.mosaic .m-c { grid-column: span 2; }
.mosaic .m-c img { aspect-ratio: 4/5; }
.mosaic .m-d { grid-column: span 3; }
.mosaic .m-d img { aspect-ratio: 16/11; }
.mosaic .m-e { grid-column: span 3; }
.mosaic .m-e img { aspect-ratio: 16/11; }

@media (max-width: 760px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); }
  .mosaic .m-a { grid-column: span 2; grid-row: span 1; }
  .mosaic .m-b, .mosaic .m-c, .mosaic .m-d, .mosaic .m-e { grid-column: span 1; }
}

/* ===== Service list (no icon-on-top cards; text-led, photo companion) ===== */
.service-list {
  display: grid;
  gap: var(--s8);
  margin-top: var(--s6);
}

/* ===== Trust / office block (the one inverted section) ===== */
.office-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s8);
  align-items: start;
}
.office-facts {
  display: grid;
  gap: var(--s3);
  margin-top: var(--s4);
}
.fact-row {
  display: grid;
  grid-template-columns: 11ch 1fr;
  gap: var(--s3);
  padding-bottom: var(--s3);
  border-bottom: 1px solid var(--rule-dark);
  font-size: 0.98rem;
}
.fact-row .fk { color: var(--muted-on-dark); }
.fact-row .fv strong { color: #fff; font-weight: 600; }
.fact-row a { text-decoration: underline; text-decoration-color: var(--rule-dark); }
.fact-row a:hover { text-decoration-color: var(--brass-bright); }

@media (max-width: 860px) {
  .office-block { grid-template-columns: 1fr; }
}

/* ===== Contact page ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--s8);
  align-items: start;
}
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.infoblock {
  display: grid;
  gap: var(--s2);
  margin-top: var(--s3);
}
.ib-row {
  display: grid;
  grid-template-columns: 10ch 1fr;
  gap: var(--s3);
  padding: var(--s2) 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.98rem;
}
.ib-label { color: var(--muted); }
.ib-value a { text-decoration: underline; text-decoration-color: var(--rule-strong); }

form { margin-top: var(--s3); }
.field { margin-bottom: var(--s3); }
.field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.98rem;
  padding: 12px 14px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--brass);
  outline-offset: 1px;
  border-color: var(--brass);
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-msg { margin-top: var(--s2); font-size: 0.92rem; min-height: 1.2em; }
.form-msg[data-state="ok"] { color: #2E6B3E; }
.form-msg[data-state="err"] { color: #A23B2E; }

/* ===== Sticky call bar (mobile) ===== */
.call-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: var(--panel-dark);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  text-decoration: none;
  font-weight: 600;
  border-top: 1px solid var(--rule-dark);
}
.call-bar svg { width: 18px; height: 18px; }
@media (max-width: 760px) {
  .call-bar { display: flex; }
  body { padding-bottom: 58px; }
}

/* ===== Footer ===== */
.site-foot {
  background: var(--panel-dark);
  color: var(--ink-on-dark);
  padding-top: var(--s8);
  padding-bottom: var(--s6);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: var(--s6);
  padding-bottom: var(--s6);
  border-bottom: 1px solid var(--rule-dark);
}
.foot-name { font-family: var(--display); font-size: 1.1rem; font-weight: 600; margin: 0 0 var(--s2); }
.foot-col h4 { margin: 0 0 var(--s2); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted-on-dark); font-weight: 600; }
.foot-col a { display: block; text-decoration: none; color: var(--ink-on-dark); padding: 4px 0; }
.foot-col a:hover { color: var(--brass-bright); }
.foot-fine { padding-top: var(--s4); display: grid; gap: var(--s2); }
.foot-fine p { font-size: 0.82rem; color: var(--muted-on-dark); max-width: 72ch; margin: 0; }
@media (max-width: 760px) {
  .foot-grid { grid-template-columns: 1fr; gap: var(--s4); }
}

/* ===== Reveal-on-scroll, gated behind js class ===== */
.js .rv {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--t-med) var(--t-ease), transform var(--t-med) var(--t-ease);
}
.js .rv.in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; transition: none; }
}

/* ===== Utility ===== */
.center { text-align: center; }
.max-cta { max-width: 52ch; margin-left: auto; margin-right: auto; }
