/* DEAR WIFE COFFEE — EDIT THE SHARED COLOURS AND FONT HERE. */
:root {
  --background: #f6f5f0;
  --ink: #171717;
  --accent: #c86a44;
  --muted: #70706a;
  --line: #d0cec7;
  --paper: #ffffff;
  --panel-text: #f6f5f0;
  --font: Arial, Helvetica, sans-serif;
  --page-width: 1440px;
  --page-gutter: clamp(20px, 3.7vw, 54px);
}
* { box-sizing: border-box; }
html { color-scheme: light; background: var(--background); }
body { margin: 0; color: var(--ink); font-family: var(--font); font-size: 16px; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
main:focus { outline: none; }
h1, h2, h3, p { margin-top: 0; }
p { line-height: 1.5; }
.page-shell { max-width: var(--page-width); min-height: 100vh; min-height: 100svh; margin: 0 auto; padding: 0 var(--page-gutter); display: flex; flex-direction: column; }
.site-header { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--ink); }
.brand { display: inline-flex; align-items: center; gap: clamp(24px, 4vw, 56px); text-decoration: none; white-space: nowrap; min-height: 44px; }
.brand-name { font-size: 18px; font-weight: 800; letter-spacing: -1.1px; }
.brand-category { font-size: 11px; font-weight: 700; color: var(--accent); }
.site-nav { display: flex; flex-wrap: wrap; gap: clamp(14px, 2vw, 28px); }
.site-nav a { min-height: 44px; display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; text-decoration: none; }
.site-nav a[aria-current="page"], .site-nav a:hover { color: var(--accent); }
main { flex: 1; min-width: 0; }
.eyebrow { margin: 0 0 24px; color: var(--accent); font-size: 12px; line-height: 1.4; letter-spacing: 1.5px; font-weight: 700; }
h1 { font-size: clamp(30px, 2.85vw, 41px); line-height: 1.2; letter-spacing: -.65px; font-weight: 700; margin-bottom: 28px; }
.page-heading { padding-top: clamp(34px, 3.5vw, 52px); }
.page-heading .eyebrow { margin-bottom: 22px; }
.section-intro { color: var(--muted); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; }
.text-link { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; color: var(--accent); text-decoration: none; font-family: var(--font); font-size: 13px; font-weight: 700; line-height: 1.4; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.statement-panel { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--panel-text); min-width: 0; }
.statement-panel h2 { font-size: clamp(28px, 2.65vw, 38px); line-height: 1.29; letter-spacing: -.65px; }
.statement-panel p { line-height: 1.35; }
.panel-photo { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.33); }
.home-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: clamp(40px, 8vw, 112px); padding: 46px 0; }
.hero-copy { min-width: 0; }
.hero-copy h1 { margin-top: 50px; font-size: clamp(34px, 3.85vw, 56px); line-height: 1.27; letter-spacing: -.9px; margin-bottom: 48px; }
.hero-intro { font-size: clamp(18px, 1.65vw, 24px); color: var(--muted); margin-bottom: 0; }
.hero-action { margin-top: 65px; border-bottom: 1px solid var(--line); padding-bottom: 22px; }
.home-panel { min-height: clamp(470px, 45vw, 620px); padding: clamp(28px, 3vw, 42px); display: flex; align-items: center; }
.home-panel-copy { padding-top: 10px; }
.home-panel h2 { margin-bottom: 60px; }
.home-panel p { font-size: clamp(16px, 1.3vw, 18px); }
.story-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.44fr); gap: clamp(34px, 4.8vw, 70px); padding: 20px 0 50px; }
.story-panel { background: var(--accent); padding: clamp(26px, 3vw, 42px); min-height: 470px; display: flex; flex-direction: column; justify-content: space-between; }
.story-panel h2 { font-size: clamp(28px, 2.9vw, 42px); line-height: 1.32; }
.story-panel p { margin: 0 0 65px; font-size: clamp(16px, 1.3vw, 19px); }
.story-copy { padding-top: 35px; min-width: 0; }
.story-lead { font-size: clamp(19px, 1.8vw, 26px); line-height: 1.35; padding-bottom: 42px; border-bottom: 1px solid var(--line); margin-bottom: 48px; }
.story-dream { color: var(--muted); font-size: clamp(17px, 1.6vw, 23px); line-height: 1.45; margin-bottom: 48px; }
.story-close { font-size: clamp(17px, 1.6vw, 23px); line-height: 1.4; font-weight: 700; }
.services-layout { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 72px); padding: 42px 0 58px; }
.services-copy { min-width: 0; }
.services-copy .section-intro { margin-bottom: 40px; }
.service-list { padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--line); }
.service-list li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 28px; align-items: start; padding: 28px 0; min-height: 115px; border-bottom: 1px solid var(--line); }
.service-list h2 { font-size: 15px; line-height: 1.4; margin: 3px 0 0; }
.service-list p { font-size: 16px; line-height: 1.45; color: var(--muted); margin: 0; }
.service-price { display: block; font-size: 15px; font-weight: 700; color: var(--accent); margin-top: 10px; }
.quality-panel { align-self: start; margin-top: 44px; min-height: 555px; padding: clamp(30px, 3vw, 43px); display: flex; flex-direction: column; }
.quality-panel h2 { margin: 20px 0 70px; }
.quality-copy { font-size: clamp(18px, 1.5vw, 22px); margin-bottom: 58px; }
.quality-signoff { color: var(--accent); font-size: 15px; margin: auto 0 0; }
.inquiries-page .section-intro { margin-bottom: 36px; }
.inquiry-layout { display: grid; grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 72px); padding-bottom: 56px; }
.inquiry-form { background: var(--paper); border: 1px solid var(--line); border-radius: 3px; padding: 34px 32px 24px; align-self: start; min-width: 0; }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px 28px; }
.field { min-width: 0; }
.field label { display: block; font-size: 12px; font-weight: 700; line-height: 1.5; color: #4c4c46; margin-bottom: 8px; }
.field input, .field select, .field textarea { display: block; width: 100%; min-width: 0; max-width: 100%; min-height: 44px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 8px 0; background: transparent; font: 16px var(--font); color: var(--ink); }
.field select { padding-right: 4px; text-overflow: ellipsis; }
.field select:disabled { color: var(--muted); opacity: 1; }
.field textarea { resize: vertical; min-height: 100px; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 3px; border-bottom-color: var(--accent); }
.field-wide { grid-column: 1 / -1; }
.field-help { font-size: 12px; color: var(--muted); line-height: 1.5; margin: 8px 0 0; }
.submit-button { background: none; border: 0; padding: 0; margin-top: 30px; cursor: pointer; text-align: left; }
.submit-button:disabled { opacity: .6; cursor: not-allowed; }
.form-status { font-size: 14px; margin: 12px 0 0; line-height: 1.5; }
.form-status:empty { display: none; }
.form-status[data-state="error"] { color: #8e3026; }
.form-status[data-state="success"] { color: #315738; }
.form-note { font-size: 14px; }
.form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.inquiry-aside { padding-top: 16px; }
.inquiry-aside .eyebrow { margin-bottom: 34px; }
.inquiry-checklist { padding: 0; margin: 0; list-style: none; }
.inquiry-checklist li { position: relative; padding-left: 36px; margin-bottom: 34px; font-size: 16px; line-height: 1.5; font-weight: 700; }
.inquiry-checklist li::before { content: ''; position: absolute; top: 4px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); }
.follow-up { margin-top: 56px; }
.follow-up p { font-size: 16px; color: var(--muted); max-width: 320px; }
/* GALLERY: duplicate gallery-card / customer-story blocks in gallery.html. */
.gallery-page { padding-bottom: 44px; }
.gallery-page .section-intro { max-width: 700px; margin-bottom: 36px; }
.gallery-grid, .stories-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.gallery-card, .customer-story { min-width: 0; }
.gallery-card img, .customer-story img { display: block; width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: cover; }
.gallery-card-copy { padding: 24px 0 28px; border-bottom: 1px solid var(--line); }
.gallery-meta { color: var(--accent); font-size: 12px; line-height: 1.5; letter-spacing: .7px; font-weight: 700; margin-bottom: 16px; }
.gallery-card h2 { font-size: clamp(23px, 2.1vw, 30px); line-height: 1.25; letter-spacing: -.4px; margin-bottom: 15px; }
.gallery-card-copy > p:last-child { color: var(--muted); margin-bottom: 0; }
.customer-stories { margin-top: 64px; padding: 44px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stories-heading h2 { font-size: clamp(25px, 2.5vw, 36px); line-height: 1.25; margin-bottom: 24px; letter-spacing: -.5px; }
.stories-empty { color: var(--muted); margin-bottom: 0; max-width: 620px; }
.story-card-copy { padding-top: 24px; }
.story-card-copy h3 { font-size: 24px; line-height: 1.3; }
.story-card-copy blockquote { margin: 24px 0; padding-left: 22px; border-left: 2px solid var(--accent); }
.story-card-copy cite { font-size: 14px; font-style: normal; color: var(--muted); }
.gallery-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 32px; }
.gallery-cta p { font-size: 18px; margin: 0; }
/* Shared footer. No page numbers or presentation labels. */
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; font-size: 14px; color: var(--muted); padding: 22px 0; margin-top: auto; border-top: 1px solid var(--line); }
.site-footer p { margin: 0; }
.footer-email { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.footer-email:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 5px; }
.skip-link { position: absolute; left: 12px; top: -100px; z-index: 10; padding: 12px; background: var(--ink); color: var(--paper); }
.skip-link:focus { top: 10px; }
/* Tablets: keep comfortable text and form widths instead of shrinking type. */
@media (max-width: 1050px) {
  .site-header { gap: 16px; }
  .brand { gap: 24px; }
  .site-nav { gap: 16px; }
  .home-layout { gap: 38px; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  .hero-copy h1 { margin-top: 34px; margin-bottom: 32px; }
  .home-panel { min-height: 450px; }
  .home-panel h2 { margin-bottom: 40px; }
  .services-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .quality-panel { margin-top: 0; min-height: 0; padding: 34px; }
  .quality-panel h2 { margin: 0 0 30px; }
  .quality-copy { max-width: 540px; margin-bottom: 30px; }
  .inquiry-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .inquiry-aside { padding-top: 0; }
  .inquiry-checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .inquiry-checklist li { margin: 0; }
  .follow-up { margin-top: 28px; }
  .follow-up p { max-width: none; }
  .story-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); gap: 32px; }
  .story-panel { min-height: 420px; padding: 28px; }
  .story-panel p { margin-bottom: 40px; }
  .story-copy { padding-top: 22px; }
  .story-lead { padding-bottom: 28px; margin-bottom: 30px; }
  .story-dream { margin-bottom: 32px; }
  .desktop-break { display: none; }
}
/* Phones and small tablets: one column, visible navigation, 44px controls. */
@media (max-width: 760px) {
  .site-header { flex-wrap: wrap; gap: 0; padding-top: 12px; }
  .brand { margin-bottom: 6px; gap: 32px; }
  .site-nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); width: 100%; gap: 6px; }
  .site-nav a { justify-content: center; font-size: 12px; min-height: 48px; text-align: center; }
  .home-layout, .story-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .home-layout { padding: 34px 0; }
  .hero-copy h1 { font-size: clamp(32px, 8.5vw, 50px); margin-top: 30px; margin-bottom: 28px; }
  .hero-intro { font-size: 18px; }
  .hero-action { margin-top: 28px; padding-bottom: 18px; }
  .home-panel { min-height: 350px; padding: 32px; }
  .home-panel h2 { font-size: 31px; margin-bottom: 38px; }
  .page-heading { padding-top: 34px; }
  h1 { font-size: clamp(28px, 6.5vw, 34px); }
  .story-layout { padding: 0 0 34px; }
  .story-panel { min-height: 330px; padding: 32px; }
  .story-panel h2 { font-size: 33px; }
  .story-panel p { margin-bottom: 12px; }
  .story-copy { padding: 0; }
  .story-lead { font-size: 20px; }
  .story-dream, .story-close { font-size: 18px; }
  .services-layout { padding: 34px 0; }
  .services-copy .section-intro { margin-bottom: 30px; }
  .service-list li { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 24px 0; }
  .quality-panel { padding: 32px; }
  .quality-panel h2 { font-size: 31px; }
  .quality-copy { font-size: 19px; }
  .inquiries-page .section-intro { margin-bottom: 28px; }
  .inquiry-layout { padding-bottom: 34px; }
  .inquiry-form { padding: 28px 22px 20px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .submit-button { margin-top: 26px; }
  .inquiry-checklist { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .gallery-grid, .stories-grid { gap: 30px; }
  .customer-stories { margin-top: 36px; padding: 32px 0; }
  .gallery-cta { display: block; }
  .gallery-cta .text-link { margin-top: 16px; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 5px; padding: 20px 0; }
}
@media (max-width: 620px) { .gallery-grid, .stories-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 360px) { .site-nav a { font-size: 11px; } .inquiry-form { padding: 24px 16px 18px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }
