/* ==========================================================================
   DAT Services LLC — styles
   Blue & white theme drawn from the DAT Services / DAT Handyman logo navy.
   ========================================================================== */

:root {
  color-scheme: light;

  /* Color tokens */
  --navy-900: #0F1F40;
  --navy-800: #172D5A;   /* logo navy */
  --navy-700: #1F3A70;
  --blue-600: #1F56C3;   /* primary action */
  --blue-700: #18469F;   /* primary hover */
  --blue-100: #DCE7F8;
  --blue-50:  #F1F5FC;
  --white:    #FFFFFF;

  --text:        #14213D;
  --text-muted:  #46546E;
  --text-on-dark: #FFFFFF;
  --text-on-dark-muted: #C9D5EC;
  --border:      #D3DDEE;
  --border-strong: #9FB1D2;
  --error:       #B42318;
  --error-bg:    #FEF3F2;
  --success:     #067647;
  --brown-700:   #6E4120;   /* hover/pressed */
  --brown:       #8B5329;   /* sampled from the DAT Workshop logo */
  --brown-100:   #EFDFCF;
  --brown-50:    #FAF4EE;
  --workshop:    var(--brown);

  /* Type */
  --font-display: "Zilla Slab", "Rockwell", Georgia, serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Spacing (8pt rhythm) */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgb(15 31 64 / .06), 0 1px 3px rgb(15 31 64 / .08);
  --shadow:    0 4px 12px rgb(15 31 64 / .08), 0 12px 32px rgb(15 31 64 / .08);

  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --dur-fast: 150ms;
  --dur: 220ms;

  --header-h: 72px;
  --z-header: 40;
  --z-mobilebar: 50;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 76px; /* room for mobile action bar */
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-600); text-underline-offset: 3px; }
a:hover { color: var(--blue-700); }
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.12;
  margin: 0 0 var(--s-4);
  color: var(--navy-800);
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 6vw + .5rem, 4.25rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 3vw + .75rem, 2.75rem); letter-spacing: -.005em; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 var(--s-4); }

:focus-visible {
  outline: 3px solid var(--blue-600);
  outline-offset: 3px;
  border-radius: 4px;
}
.section-navy :focus-visible, .hero :focus-visible, .site-footer :focus-visible { outline-color: #8DB4FF; }

.icon {
  width: 1.25em; height: 1.25em;
  flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--s-4);
}
@media (min-width: 768px) { .container { padding-inline: var(--s-6); } }

.skip-link {
  position: absolute; left: var(--s-4); top: -100px;
  background: var(--navy-800); color: var(--white);
  padding: var(--s-3) var(--s-4); border-radius: var(--radius-sm);
  z-index: 100; font-weight: 600;
}
.skip-link:focus { top: var(--s-4); color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 44px;
  padding: 10px 20px;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font: 700 1rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease,
              border-color var(--dur-fast) ease, transform var(--dur-fast) ease;
}
.btn:active { transform: scale(.98); }
.btn-lg { min-height: 48px; padding: 12px 22px; }
.btn-xl { min-height: 56px; padding: 14px 28px; font-size: 1.125rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue-600); color: var(--white); }
.btn-primary:hover { background: var(--blue-700); color: var(--white); }
.btn-white { background: var(--white); color: var(--navy-800); }
.btn-white:hover { background: var(--blue-100); color: var(--navy-900); }
.btn-outline { background: var(--white); color: var(--navy-800); border-color: var(--navy-800); }
.btn-outline:hover { background: var(--blue-50); color: var(--navy-900); }
.btn[aria-busy="true"] { opacity: .7; cursor: progress; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgb(255 255 255 / .97);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; gap: var(--s-4);
  min-height: var(--header-h);
}
.brand { flex: none; display: block; }
.brand img { width: 168px; }
@media (min-width: 1024px) { .brand img { width: 210px; } }

.header-cta { margin-left: auto; display: flex; align-items: center; gap: var(--s-3); }
.phone-link {
  display: none;
  align-items: center; gap: var(--s-2);
  color: var(--navy-800); font-weight: 700; font-size: 1.1rem;
  text-decoration: none; white-space: nowrap;
  min-height: 44px;
}
.phone-link:hover { color: var(--blue-600); }
.header-cta .btn { display: none; }
@media (min-width: 640px) {
  .header-cta .btn { display: inline-flex; }
}
@media (min-width: 900px) {
  .phone-link { display: inline-flex; }
}

.menu-toggle {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  background: none; border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--navy-800); cursor: pointer;
}
.menu-toggle .icon { width: 24px; height: 24px; }
.menu-toggle .icon-close, .menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.primary-nav ul { list-style: none; margin: 0; padding: 0; }
.primary-nav a {
  display: flex; align-items: center; min-height: 44px;
  color: var(--text); font-weight: 600; text-decoration: none;
}
.primary-nav a:hover, .primary-nav a[aria-current="true"] { color: var(--blue-600); }

/* mobile nav panel */
@media (max-width: 1023.98px) {
  .primary-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: var(--s-2) var(--s-4) var(--s-4);
    display: none;
  }
  .primary-nav.is-open { display: block; }
  .primary-nav li + li { border-top: 1px solid var(--border); }
  .primary-nav a { min-height: 52px; font-size: 1.1rem; }
}
@media (min-width: 1024px) {
  .menu-toggle { display: none; }
  .primary-nav { margin-left: var(--s-5); }
  .primary-nav ul { display: flex; gap: var(--s-5); }
  .primary-nav a { position: relative; }
  .primary-nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px;
    background: currentColor; transform: scaleX(0); transform-origin: left;
    transition: transform var(--dur) var(--ease-out);
  }
  .primary-nav a:hover::after, .primary-nav a[aria-current="true"]::after { transform: scaleX(1); }
}

/* ---------- Shared section pieces ---------- */
.section { padding-block: var(--s-8); }
@media (min-width: 768px) { .section { padding-block: var(--s-9); } }
.section-tint { background: var(--blue-50); }
.section-navy { background: var(--navy-800); color: var(--text-on-dark); }
.section-navy h2, .section-navy h3 { color: var(--white); }

.eyebrow {
  display: inline-block;
  margin-bottom: var(--s-3);
  font-weight: 700; font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue-600);
}
.eyebrow-light { color: #A9C4F5; }

.section-head { max-width: 640px; margin-bottom: var(--s-7); }
.section-head p:not(.eyebrow) { color: var(--text-muted); font-size: 1.125rem; }
.section-navy .section-head p:not(.eyebrow) { color: var(--text-on-dark-muted); }
.section-head.center { text-align: center; margin-inline: auto; }
.lede { font-size: 1.1875rem; color: var(--text-muted); }

.tagline {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.5rem; margin: var(--s-6) 0 0;
  color: var(--white);
}
.tagline-sm { font-size: 1.25rem; margin-top: var(--s-5); }

/* blueprint grid texture used on navy surfaces */
.hero, .section-navy {
  background-color: var(--navy-800);
  background-image:
    linear-gradient(rgb(255 255 255 / .045) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / .045) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* ---------- Hero ---------- */
.hero { color: var(--text-on-dark); padding-block: var(--s-7) var(--s-8); overflow: hidden; }
.hero-grid { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 960px) {
  .hero { padding-block: var(--s-9); }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: var(--s-8); }
}
.hero h1 { color: var(--white); }
.hero h1 span { color: #A9C4F5; }
.hero-lede { font-size: 1.1875rem; color: var(--text-on-dark-muted); max-width: 36em; }
.hero-lede strong { color: var(--white); font-weight: 600; }

.hero-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-5);
  margin-top: var(--s-6);
}
.hero-phone {
  display: inline-flex; align-items: center; gap: var(--s-3);
  color: var(--white); text-decoration: none;
  font-weight: 700; font-size: 1.375rem; line-height: 1.15;
  min-height: 56px;
}
.hero-phone:hover { color: var(--blue-100); }
.hero-phone .icon {
  width: 48px; height: 48px; padding: 12px;
  border: 2px solid rgb(255 255 255 / .35); border-radius: 50%;
}
.hero-phone small {
  display: block; font-size: .8125rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: #A9C4F5;
}

.hero-photo { position: relative; margin: 0; max-width: 520px; justify-self: center; width: 100%; }
.hero-photo::before {
  content: ""; position: absolute; inset: 16px -16px -16px 16px;
  border: 2px solid rgb(169 196 245 / .5); border-radius: var(--radius-lg);
}
.hero-photo img {
  position: relative; border-radius: var(--radius-lg);
  aspect-ratio: 1; object-fit: cover; object-position: 62% 50%; width: 100%;
}
.hero-photo figcaption {
  position: absolute; left: var(--s-4); right: var(--s-4); bottom: var(--s-4);
  background: var(--white); color: var(--navy-800);
  padding: var(--s-3) var(--s-4); border-radius: var(--radius);
  font-weight: 600; font-size: .9375rem; box-shadow: var(--shadow);
}

/* ---------- Trust strip ---------- */
.trust { background: var(--white); border-bottom: 1px solid var(--border); }
.trust-list {
  list-style: none; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4) var(--s-5);
  padding-block: var(--s-5);
}
@media (min-width: 900px) { .trust-list { grid-template-columns: repeat(4, auto); justify-content: space-between; } }
.trust-list li {
  display: flex; align-items: center; gap: var(--s-2);
  font-weight: 600; color: var(--navy-800); font-size: .9375rem;
}
.trust-list .icon { color: var(--blue-600); }

/* ---------- Branch cards ---------- */
.branch-cards { display: grid; gap: var(--s-5); }
@media (min-width: 768px) { .branch-cards { grid-template-columns: 1fr 1fr; } }
.branch-card {
  display: grid; grid-template-columns: 112px 1fr; gap: var(--s-5); align-items: center;
  padding: var(--s-5);
  background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  color: var(--text); text-decoration: none;
  transition: border-color var(--dur) ease, box-shadow var(--dur) ease, transform var(--dur) var(--ease-out);
}
.branch-card:hover { color: var(--text); border-color: var(--blue-600); box-shadow: var(--shadow); transform: translateY(-2px); }
.branch-card img { border-radius: var(--radius); }
.branch-card h3 { margin-bottom: var(--s-2); }
.branch-card p { color: var(--text-muted); margin-bottom: var(--s-3); }
.branch-card--workshop:hover { border-color: var(--workshop); }
.link-arrow { display: inline-flex; align-items: center; gap: var(--s-2); color: var(--blue-600); font-weight: 700; }
.branch-card--workshop .link-arrow { color: var(--workshop); }
.branch-card:hover .link-arrow .icon { transform: translateX(3px); }
.link-arrow .icon { transition: transform var(--dur) var(--ease-out); }
@media (min-width: 1024px) { .branch-card { grid-template-columns: 160px 1fr; padding: var(--s-6); } }

/* ---------- Split sections (Handyman / Workshop) ---------- */
.split { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: .8fr 1.2fr; gap: var(--s-8); }
  .split--reverse .split-media { order: 2; }
}
.split-media { display: flex; justify-content: center; }
.logo-tile {
  width: 100%; max-width: 400px;
  background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
#workshop .eyebrow { color: var(--workshop); }

.service-list {
  list-style: none; padding: 0; margin: var(--s-5) 0 var(--s-6);
  display: grid; gap: var(--s-3) var(--s-5);
}
@media (min-width: 560px) { .service-list { grid-template-columns: 1fr 1fr; } }
.service-list li { display: flex; align-items: flex-start; gap: var(--s-3); font-weight: 500; }
.service-list .icon {
  width: 24px; height: 24px; padding: 4px; margin-top: 1px;
  background: var(--blue-100); color: var(--blue-700); border-radius: 50%;
  stroke-width: 3;
}

/* ---------- Steps ---------- */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: var(--s-5);
}
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li {
  padding: var(--s-6);
  background: rgb(255 255 255 / .06);
  border: 1px solid rgb(255 255 255 / .14);
  border-radius: var(--radius-lg);
}
.steps p { color: var(--text-on-dark-muted); margin: 0; }
.step-num {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; margin-bottom: var(--s-4);
  border-radius: 50%; background: var(--white); color: var(--navy-800);
  font: 700 1.25rem/1 var(--font-display);
}

/* ---------- About ---------- */
.about-grid { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: .9fr 1.1fr; gap: var(--s-8); } }
.about-photo { margin: 0; }
.about-photo img {
  border-radius: var(--radius-lg); aspect-ratio: 4 / 5; object-fit: cover; width: 100%;
  box-shadow: var(--shadow);
}
.about-copy > p:not(.eyebrow):not(.lede):not(.signature) { color: var(--text-muted); }
.about-copy strong { color: var(--navy-800); }
.values {
  list-style: none; padding: 0; margin: var(--s-6) 0;
  display: grid; gap: var(--s-3);
}
@media (min-width: 600px) { .values { grid-template-columns: repeat(3, 1fr); } }
.values li {
  padding: var(--s-4);
  border-left: 3px solid var(--blue-600);
  background: var(--blue-50); border-radius: 0 var(--radius) var(--radius) 0;
}
.values strong { display: block; font-family: var(--font-display); font-size: 1.15rem; }
.values span { color: var(--text-muted); font-size: .9375rem; }
.signature { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--navy-800); }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid; gap: var(--s-4);
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; }
  .gallery-item--feature { grid-column: span 2; grid-row: span 2; }
}
.gallery-item--feature { grid-column: span 2; }
.gallery-item {
  margin: 0; position: relative; overflow: hidden;
  border-radius: var(--radius); aspect-ratio: 1;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: var(--s-6) var(--s-4) var(--s-3);
  background: linear-gradient(transparent, rgb(15 31 64 / .85));
  color: var(--white); font-weight: 600;
}
.gallery-placeholder {
  display: grid; place-content: center; justify-items: center; gap: var(--s-2);
  border: 2px dashed var(--border-strong); background: var(--white);
  color: var(--text-muted); font-size: .875rem; font-weight: 600;
}
.gallery-placeholder .icon { width: 32px; height: 32px; }
.gallery-insta {
  display: grid; place-content: center; justify-items: center; gap: var(--s-1);
  text-align: center; padding: var(--s-4);
  background: var(--navy-800); color: var(--white); text-decoration: none;
  transition: background-color var(--dur) ease;
}
.gallery-insta:hover { background: var(--blue-700); color: var(--white); }
.gallery-insta .icon { width: 32px; height: 32px; margin-bottom: var(--s-2); }
.gallery-insta--wide { grid-column: span 2; aspect-ratio: auto; min-height: 140px; }
.gallery-insta span { font-size: .875rem; color: var(--text-on-dark-muted); }
.gallery-insta strong { font-size: 1rem; overflow-wrap: anywhere; }

/* ---------- Estimate ---------- */
.estimate-grid { display: grid; gap: var(--s-7); align-items: start; }
@media (min-width: 960px) { .estimate-grid { grid-template-columns: .85fr 1.15fr; gap: var(--s-8); } }
.estimate-info > p:not(.eyebrow):not(.tagline) { color: var(--text-on-dark-muted); font-size: 1.125rem; }
@media (min-width: 960px) { .estimate-info { position: sticky; top: calc(var(--header-h) + var(--s-6)); } }

.contact-list { list-style: none; padding: 0; margin: var(--s-6) 0 0; display: grid; gap: var(--s-4); }
.contact-list li { display: flex; align-items: center; gap: var(--s-3); overflow-wrap: anywhere; }
.contact-list .icon {
  width: 40px; height: 40px; padding: 10px;
  background: rgb(255 255 255 / .1); border-radius: 50%; color: #A9C4F5;
}
.contact-list a { color: var(--white); font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; color: var(--white); }

.estimate-form {
  background: var(--white); color: var(--text);
  border-radius: var(--radius-lg);
  padding: var(--s-5);
  box-shadow: 0 24px 60px rgb(0 0 0 / .25);
}
@media (min-width: 600px) { .estimate-form { padding: var(--s-7) var(--s-6); } }

.field { margin: 0 0 var(--s-5); padding: 0; border: 0; min-width: 0; }
.field-row { display: grid; gap: 0 var(--s-4); }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field > label, .field > legend {
  display: block; margin-bottom: var(--s-2); padding: 0;
  font-weight: 700; color: var(--navy-800);
}
.req { color: var(--error); }
.optional { font-weight: 400; color: var(--text-muted); }
.req-note { font-size: .875rem; color: var(--text-muted); }

input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  font: 400 1rem/1.4 var(--font-body);
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23172D5A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  padding-right: 44px; cursor: pointer;
}
select:disabled { background-color: var(--blue-50); color: var(--text-muted); cursor: not-allowed; opacity: .8; }
textarea { resize: vertical; min-height: 112px; }
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: none; border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgb(31 86 195 / .25);
}
[aria-invalid="true"] { border-color: var(--error) !important; }
.field-help { margin: var(--s-2) 0 0; font-size: .875rem; color: var(--text-muted); }
.field-error {
  margin: var(--s-2) 0 0; font-size: .875rem; font-weight: 600; color: var(--error);
}

/* Branch choice cards */
.choice-cards { display: grid; gap: var(--s-3); }
@media (min-width: 480px) { .choice-cards { grid-template-columns: 1fr 1fr; } }
.choice-card { position: relative; display: block; cursor: pointer; }
.choice-card input, .pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice-card > span {
  display: block; height: 100%;
  padding: var(--s-4); padding-left: 48px;
  border: 1.5px solid var(--border-strong); border-radius: var(--radius);
  transition: border-color var(--dur-fast) ease, background-color var(--dur-fast) ease;
  position: relative;
}
.choice-card > span::before {
  content: ""; position: absolute; left: 16px; top: 18px;
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid var(--border-strong); background: var(--white);
}
.choice-card strong { display: block; color: var(--navy-800); font-size: 1.05rem; }
.choice-card small { color: var(--text-muted); font-size: .875rem; }
.choice-card:hover > span { border-color: var(--blue-600); }
.choice-card input:checked + span { border-color: var(--blue-600); background: var(--blue-50); }
.choice-card input:checked + span::before { border: 6px solid var(--blue-600); }
.choice-card input:focus-visible + span { outline: 3px solid var(--blue-600); outline-offset: 2px; }

/* Pills */
.pill-group { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.pill { position: relative; cursor: pointer; }
.pill span {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 8px 18px; border-radius: 999px;
  border: 1.5px solid var(--border-strong); font-weight: 600; color: var(--navy-800);
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.pill:hover span { border-color: var(--blue-600); }
.pill input:checked + span { background: var(--navy-800); border-color: var(--navy-800); color: var(--white); }
.pill input:focus-visible + span { outline: 3px solid var(--blue-600); outline-offset: 2px; }

.error-summary {
  margin-bottom: var(--s-5); padding: var(--s-4);
  border: 2px solid var(--error); border-radius: var(--radius);
  background: var(--error-bg); color: var(--error);
}
.error-summary h3 {
  display: flex; align-items: center; gap: var(--s-2);
  font-family: var(--font-body); font-size: 1rem; color: var(--error); margin-bottom: var(--s-2);
}
.error-summary ul { margin: 0; padding-left: var(--s-5); }
.error-summary a { color: var(--error); font-weight: 600; }

.form-status { margin: var(--s-4) 0 0; font-weight: 600; text-align: center; }
.form-status.is-success { color: var(--success); }
.form-status.is-error { color: var(--error); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--text-on-dark-muted); padding-top: var(--s-8); }
.footer-grid { display: grid; gap: var(--s-6); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; } }
.footer-logo {
  display: inline-block; background: var(--white);
  padding: var(--s-3) var(--s-4); border-radius: var(--radius); margin-bottom: var(--s-4);
}
.footer-logo img { width: 220px; }
.footer-heading {
  font-family: var(--font-body); font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase;
  color: #A9C4F5; margin-bottom: var(--s-3);
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-1); }
.site-footer li { min-height: 32px; display: flex; align-items: center; overflow-wrap: anywhere; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--white); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-3);
  margin-top: var(--s-7); padding-block: var(--s-5);
  border-top: 1px solid rgb(255 255 255 / .12); font-size: .875rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom .tagline { margin: 0; }

/* ---------- Mobile action bar ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-mobilebar);
  display: grid; grid-template-columns: auto 1fr; gap: var(--s-2);
  padding: var(--s-2) var(--s-4) calc(var(--s-2) + env(safe-area-inset-bottom));
  background: var(--white); border-top: 1px solid var(--border);
  box-shadow: 0 -4px 16px rgb(15 31 64 / .08);
}
.mobile-bar .btn { min-height: 52px; }
@media (min-width: 640px) {
  .mobile-bar { display: none; }
  body { padding-bottom: 0; }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; }
  .reveal { opacity: 1; transform: none; }
  .branch-card:hover { transform: none; }
}

.nowrap { white-space: nowrap; }

/* ---------- Brown accents (DAT Workshop logo brown) ---------- */
.btn-brown { background: var(--brown); color: var(--white); }
.btn-brown:hover { background: var(--brown-700); color: var(--white); }

/* small wood-tone rule before every eyebrow label */
.eyebrow::before {
  content: ""; display: inline-block; vertical-align: middle;
  width: 24px; height: 3px; margin: -2px 10px 0 0;
  background: var(--brown); border-radius: 2px;
}
/* Handyman section keeps its accent line blue to match its label */
#handyman .eyebrow::before { background: var(--blue-600); }
.section-head.center .eyebrow::after {
  content: ""; display: inline-block; vertical-align: middle;
  width: 24px; height: 3px; margin: -2px 0 0 10px;
  background: var(--brown); border-radius: 2px;
}

/* hero: brown offset frame */
.hero-photo::before { border-color: var(--brown); border-width: 3px; }

.trust-list .icon { color: var(--brown); }

/* workshop section in a warm tint with brown details */
#workshop { background: var(--brown-50); }
#workshop .logo-tile { border-color: var(--brown-100); }
#workshop .service-list .icon { background: var(--brown-100); color: var(--brown-700); }
.branch-card--workshop { border-top: 4px solid var(--brown); }
.branch-card:not(.branch-card--workshop) { border-top: 4px solid var(--blue-600); }

/* process steps: brown number badges */
.step-num { background: var(--brown); color: var(--white); }

/* about */
.values li { border-left-color: var(--brown); }
.signature { color: var(--brown); }

/* gallery Instagram tile accent */
.gallery-insta { border-bottom: 4px solid var(--brown); }

/* form: Workshop choice uses brown when selected */
.choice-card input[value="DAT Workshop"]:checked + span { border-color: var(--brown); background: var(--brown-50); }
.choice-card input[value="DAT Workshop"]:checked + span::before { border-color: var(--brown); }
.choice-card:has(input[value="DAT Workshop"]):hover > span { border-color: var(--brown); }

/* footer: wood-tone strip on top */
.site-footer { border-top: 6px solid var(--brown); }
