:root {
  --ink: #024C68;
  --petrol: #0776A0;
  --petrol-ink: #05627F;
  --copper: #A84B1F;
  --mist: #E8F1F5;
  --body: #1B242A;
  --caption: #4E5B64;
  --amber-light: #FFD9A8;
}

@font-face {
  font-family: 'League Spartan';
  src: url('../fonts/league-spartan.woff2') format('woff2');
  font-weight: 700 800;
  font-display: swap;
}

@font-face {
  font-family: 'Mulish';
  src: url('../fonts/mulish.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Mulish', sans-serif;
  color: var(--body);
  line-height: 1.5;
  background: #fff;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6, .display {
  font-family: 'League Spartan', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.bento-numeral { font-size: clamp(2.5rem, 6vw, 4.5rem); font-family: 'League Spartan', sans-serif; font-weight: 800; }
a { color: var(--petrol-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

:focus {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.button, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--petrol);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-family: 'Mulish', sans-serif;
}
.button:hover, .btn:hover { text-decoration: none; background: var(--petrol-ink); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: #fff;
}

/* Header */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: #fff;
}
.logo { height: 40px; display: flex; align-items: center; gap: 0.5rem; font-family: 'League Spartan', sans-serif; font-weight: 800; font-size: 1.25rem; color: var(--ink); text-transform: uppercase; }
.logo img { height: 100%; }
.desktop-nav { display: flex; gap: 2rem; align-items: center; }
.desktop-nav a { color: var(--body); font-weight: 700; }
.desktop-nav .btn { margin-left: 1rem; color: #fff; }

.mobile-nav { display: none; }
@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav details { position: relative; }
  .mobile-nav summary { list-style: none; padding: 10px; font-weight: 700; display: flex; align-items: center; gap: 0.5rem; cursor: pointer; min-height: 44px; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav nav {
    position: absolute; right: 0; top: 100%; background: #fff; border: 1px solid #eee;
    padding: 1rem; display: flex; flex-direction: column; gap: 1rem; width: 200px; z-index: 100;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }
}

/* Bento Hero */
.hero-section {
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}
.bento-cell {
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.bento-cell-1 {
  grid-column: 1 / 9;
  grid-row: 1;
  background: var(--mist);
  padding: 3rem;
  justify-content: center;
}
.kicker { font-size: 0.875rem; font-weight: 700; color: var(--copper); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1rem; display: block; }
.bento-cell-1 h1 { margin-bottom: 1rem; }
.bento-cell-1 p { font-size: 1.125rem; margin-bottom: 2rem; color: var(--caption); }
.cta-group { display: flex; gap: 1rem; flex-wrap: wrap; }

.bento-cell-2 {
  grid-column: 9 / 13;
  grid-row: 1 / 3;
}
.bento-cell-2 img { width: 100%; height: 100%; object-fit: cover; }

.bento-cell-3 {
  grid-column: 1 / 4;
  grid-row: 2 / 4;
  background: var(--petrol-ink);
  color: #fff;
  padding: 2rem;
  text-align: left;
}
.bento-cell-3 .bento-numeral { color: #fff; line-height: 1; margin-bottom: 0.5rem; }
.bento-cell-3 .stars { color: var(--amber-light); font-size: 1.25rem; margin-bottom: 0.5rem; }
.bento-cell-3 a { color: #fff; text-decoration: underline; font-size: 0.875rem; }

.bento-cell-4 {
  grid-column: 4 / 7;
  grid-row: 2 / 4;
  background: #fff;
  border: 1px solid #eee;
  padding: 2rem;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--body);
  display: flex;
  align-items: center;
}

.bento-cell-5 {
  grid-column: 7 / 9;
  grid-row: 2 / 4;
  background: var(--copper);
  color: #fff;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.bento-cell-5 .seal-title { font-family: 'League Spartan', sans-serif; font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.bento-cell-5 p { font-size: 1rem; }

.bento-cell-6 {
  grid-column: 9 / 13;
  grid-row: 3;
  background: #fff;
  border: 1px solid #eee;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1rem;
}
.swatch-strip { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.swatch-strip img { width: 32px; height: 32px; border-radius: 4px; border: 1px solid #ddd; }
.color-text { display: flex; flex-direction: column; gap: 0.25rem; font-weight: 700; }
.color-text a { font-size: 0.875rem; font-weight: 400; }

@media (max-width: 992px) {
  .bento-grid { display: flex; flex-direction: column; }
  .bento-cell-2 { order: 2; height: 400px; }
  .bento-cell-3 { order: 3; }
  .bento-cell-4 { order: 4; }
  .bento-cell-5 { order: 5; }
  .bento-cell-6 { order: 6; flex-direction: column; align-items: flex-start; gap: 1rem; }
}

/* Services Trio */
.services-section { padding: 4rem 2rem; max-width: 1400px; margin: 0 auto; background: var(--mist); }
.services-header { margin-bottom: 3rem; }
.services-header p { color: var(--caption); margin-top: 0.5rem; }
.services-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card { background: #fff; border-radius: 8px; overflow: hidden; padding: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.service-card-wide { grid-column: 1 / 4; display: grid; grid-template-columns: 1fr 1fr; padding: 0; gap: 0; }
.service-card-wide img { width: 100%; height: 100%; object-fit: cover; min-height: 300px; }
.service-card-wide-content { padding: 3rem; display: flex; flex-direction: column; justify-content: center; gap: 1rem; }
.service-card h3 { font-size: 1.5rem; }
.service-link { margin-top: auto; font-weight: 700; font-size: 0.875rem; }

@media (max-width: 992px) {
  .services-trio { grid-template-columns: 1fr; }
  .service-card-wide { grid-column: 1 / 2; grid-template-columns: 1fr; }
}

/* Craft Band */
.craft-band { display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); color: #fff; }
.craft-content { padding: 4rem; display: flex; flex-direction: column; justify-content: center; gap: 1.5rem; }
.craft-content h2 { color: #fff; }
.craft-content p { color: var(--mist); font-size: 1.125rem; }
.craft-img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 992px) { .craft-band { grid-template-columns: 1fr; } .craft-content { padding: 2rem; } .craft-img { height: 300px; } }

/* Testimonials */
.testimonials-section { padding: 4rem 2rem; max-width: 1400px; margin: 0 auto; }
.testimonials-section h2 { margin-bottom: 2rem; }
.testimonials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.testimonial-card { background: var(--mist); padding: 2rem; border-radius: 8px; }
.testimonial-card p { font-size: 1.125rem; font-style: italic; margin-bottom: 1rem; color: var(--body); }
.testimonial-card .author { font-weight: 700; font-size: 0.875rem; color: var(--ink); font-style: normal; }
@media (max-width: 768px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* Ask Band / Form */
.ask-band { background: var(--mist); padding: 4rem 2rem; }
.ask-container { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.ask-content h2 { margin-bottom: 2rem; }
.contact-info { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.contact-info div { display: flex; gap: 0.5rem; align-items: flex-start; }
.contact-info svg { width: 24px; height: 24px; color: var(--petrol); flex-shrink: 0; }
.mock-form { background: #fff; padding: 2rem; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 700; margin-bottom: 0.5rem; font-size: 0.875rem; }
.form-group input { width: 100%; padding: 0.75rem; border: 1px solid #ccc; border-radius: 4px; font-family: 'Mulish', sans-serif; }
.form-note { font-size: 0.875rem; color: var(--caption); margin-top: 1rem; display: none; }
@media (max-width: 992px) { .ask-container { grid-template-columns: 1fr; gap: 2rem; } }

/* Services Page Header */
.services-page-header { position: relative; padding: 6rem 2rem; background: var(--ink); color: #fff; text-align: center; }
.services-page-header::before {
  content: ""; position: absolute; inset: 0;
  background: url('../img/services-header.jpg') center/cover;
  opacity: 0.3; z-index: 0;
}
.services-page-header h1 { position: relative; z-index: 1; color: #fff; }

/* Sections */
.page-section { padding: 4rem 2rem; max-width: 1000px; margin: 0 auto; }
.page-section h2 { margin-bottom: 1.5rem; color: var(--ink); }
.page-section p { margin-bottom: 1rem; }
.materials-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.materials-list h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

/* Color Chart */
.color-chart-section { padding: 4rem 2rem; max-width: 1400px; margin: 0 auto; background: var(--mist); }
.color-chart-section h2 { margin-bottom: 1rem; }
.color-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.color-tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.5rem; }
.color-tile img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; border: 1px solid #ddd; }
.color-tile span { font-size: 0.875rem; font-weight: 700; color: var(--caption); }

/* Safety Plate */
.safety-plate { background: var(--copper); color: #fff; padding: 2rem; border-radius: 8px; margin: 2rem 0; font-weight: 700; text-align: center; }
.safety-plate div { font-size: 1.25rem; margin-bottom: 0.5rem; }
.safety-plate .big-warning { font-size: 1.5rem; text-transform: uppercase; margin-bottom: 1rem; }

/* Footer */
.site-footer { background: var(--ink); color: var(--mist); padding: 4rem 2rem; text-align: center; font-size: 0.875rem; }
.site-footer .footer-logo { font-family: 'League Spartan', sans-serif; font-weight: 800; font-size: 1.25rem; color: #fff; margin-bottom: 1rem; text-transform: uppercase; }
.site-footer p { margin-bottom: 0.5rem; }
.site-footer a { color: var(--mist); }

/* Sticky Mobile Bar */
.mobile-call-bar { display: none; }
@media (max-width: 768px) {
  .mobile-call-bar {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; background: var(--petrol); color: #fff;
    padding: 1rem; justify-content: center; align-items: center; gap: 0.5rem; font-weight: 700; z-index: 1000;
  }
  .mobile-call-bar a { color: #fff; text-decoration: none; }
  body { padding-bottom: 60px; }
}

/* Ribbon */
.preview-ribbon {
  background: var(--body); color: #fff; padding: 0.5rem 1rem; display: flex; justify-content: center;
  align-items: center; gap: 1rem; font-size: 0.75rem; z-index: 1001; position: relative; text-align: center; flex-wrap: wrap;
}
.preview-ribbon a { color: var(--amber-light); text-decoration: underline; }
.ribbon-close { background: none; border: none; color: #fff; cursor: pointer; padding: 0.25rem; margin-left: 1rem; }
@media (max-width: 768px) {
  .preview-ribbon { position: fixed; bottom: 56px; left: 0; right: 0; }
  body { padding-bottom: 110px; }
}

/* Reveal */
@media (prefers-reduced-motion: no-preference) {
  .reveal.pre { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
  .reveal.active { opacity: 1; transform: translateY(0); }
}

/* Utilities */
.text-copper { color: var(--copper); }
.text-petrol { color: var(--petrol); }
.mt-2 { margin-top: 2rem; }

.footer-cols { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; max-width: 1312px; margin: 0 auto; text-align: left; flex-wrap: wrap; }
.footer-line { color: #DCEBF2; font-size: 0.9rem; margin-top: 0.35rem; }
.footer-line a { color: #DCEBF2; }
.footer-phone { font-family: 'League Spartan', sans-serif; font-weight: 800; font-size: 1.5rem; color: #fff; text-decoration: none; }
.footer-right { text-align: right; }
