/* ==========================================================================
   Roll With It Painting & Decorating
   Design tokens
   ========================================================================== */
:root {
  /* Colour: steel-blue brand core, deepened for contrast, plus a warm putty
     accent lifted from render/plaster tones so it reads as "materials", not
     decoration. */
  --navy-deep: #1f3145;
  --navy: #3e5975;      /* original brand colour, kept for continuity */
  --navy-light: #6f93b6;
  --putty: #c9a875;
  --putty-soft: #e9dcc4;
  --cream: #f6f3ee;
  --paper: #ffffff;
  --ink: #202b35;
  --ink-soft: #55636e;
  --line: #e2ddd3;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-s: 4px;
  --radius-m: 10px;
  --shadow-card: 0 12px 30px -18px rgba(31, 49, 69, 0.35);
  --shadow-lift: 0 20px 45px -20px rgba(31, 49, 69, 0.45);

  --container: 1180px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

a { color: inherit; }

h1, h2, h3 { font-family: var(--font-display); color: var(--navy-deep); line-height: 1.15; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy-deep);
  color: #fff;
  padding: 12px 18px;
  z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

/* --------------------------------------------------------------------------
   Signature element: a roller-stroke swash, reused as a logo flourish,
   heading underline, and section divider throughout the site.
   -------------------------------------------------------------------------- */
.roller-stroke {
  display: block;
  height: 14px;
  width: 100%;
  max-width: 220px;
}
.roller-stroke path { fill: var(--putty); }
.roller-stroke.on-dark path { fill: var(--putty-soft); }

.section-eyebrow-stroke {
  width: 84px;
  height: 10px;
  margin-bottom: 18px;
}

/* ==========================================================================
   Header + Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-mark {
  width: 76px;
  height: 76px;
  flex-shrink: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(15, 23, 32, 0.28);
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text .brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  color: #fff;
  letter-spacing: 0.01em;
}

.brand-text .brand-sub {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--putty-soft);
  margin-top: 3px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 10px 14px;
  border-radius: var(--radius-s);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.main-nav a:hover { color: #fff; background: rgba(255,255,255,0.08); }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--putty);
  color: var(--navy-deep);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.header-cta:hover { background: var(--putty-soft); transform: translateY(-1px); }
.header-cta svg { width: 16px; height: 16px; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-s);
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--navy-deep);
    z-index: 60;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 90px 12px 24px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    box-shadow: var(--shadow-lift);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a {
    padding: 16px 14px;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .header-cta { display: none; }
  .menu-toggle { display: flex; }
}

.nav-scrim {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 32, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 40;
}
.nav-scrim.visible { opacity: 1; pointer-events: auto; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,32,45,0.35) 0%, rgba(20,32,45,0.55) 55%, rgba(19,28,38,0.92) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 64px 24px 56px;
}

.hero-content .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--putty-soft);
  margin-bottom: 18px;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 600;
  color: #fff;
  max-width: 18ch;
}

.hero-content .roller-stroke {
  margin: 20px 0 22px;
}

.hero-content p {
  font-size: 1.1rem;
  max-width: 46ch;
  color: rgba(255,255,255,0.88);
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--putty); color: var(--navy-deep); }
.btn-primary:hover { background: var(--putty-soft); }

.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

.btn-dark { background: var(--navy-deep); color: #fff; }
.btn-dark:hover { background: var(--navy); }

/* ==========================================================================
   Trust strip
   ========================================================================== */
.trust-strip {
  background: var(--navy);
  color: #fff;
}
.trust-strip .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 22px 24px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  text-align: left;
  font-size: 0.95rem;
}
.trust-item svg { width: 26px; height: 26px; flex-shrink: 0; color: var(--putty-soft); }
.trust-item strong { display: block; font-size: 0.98rem; }
.trust-item span { display: block; font-size: 0.8rem; color: rgba(255,255,255,0.75); }

@media (max-width: 720px) {
  .trust-strip .container { grid-template-columns: 1fr; }
  .trust-item { justify-content: flex-start; }
}

/* ==========================================================================
   Section scaffolding
   ========================================================================== */
.section { padding: 88px 0; }
.section-tight { padding: 64px 0; }
.section-alt { background: var(--paper); }

.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 600; }
.section-head p { color: var(--ink-soft); margin-top: 14px; font-size: 1.05rem; }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   About
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.about-copy p { color: var(--ink-soft); margin-bottom: 16px; font-size: 1.02rem; }
.about-copy p:last-child { margin-bottom: 0; }

.about-media {
  position: relative;
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.about-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }

.about-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: rgba(31, 49, 69, 0.88);
  color: #fff;
  padding: 14px 18px;
  border-radius: var(--radius-s);
  backdrop-filter: blur(3px);
}
.about-badge strong { font-family: var(--font-display); font-size: 1.5rem; display: block; }
.about-badge span { font-size: 0.78rem; letter-spacing: 0.05em; color: var(--putty-soft); }

@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-media { order: -1; }
}

/* ==========================================================================
   Services
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
}

.service-card .service-icon {
  width: 46px;
  height: 46px;
  color: var(--navy);
  margin-bottom: 18px;
}

.service-card h3 { font-size: 1.35rem; margin-bottom: 6px; }
.service-card .roller-stroke { width: 96px; margin-bottom: 18px; }

.service-card ul { list-style: none; }
.service-card li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: var(--ink-soft);
  font-size: 1rem;
}
.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--putty);
}
.service-card li:last-child { margin-bottom: 0; }

@media (max-width: 720px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Benefits
   ========================================================================== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.benefit-card { padding: 4px; }
.benefit-icon {
  width: 44px;
  height: 44px;
  color: var(--navy);
  margin-bottom: 16px;
}
.benefit-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.benefit-card p { color: var(--ink-soft); font-size: 0.98rem; }

@media (max-width: 880px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .benefits-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery-wrap { position: relative; }

.gallery-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--navy-light) transparent;
}
.gallery-track::-webkit-scrollbar { height: 8px; }
.gallery-track::-webkit-scrollbar-thumb { background: var(--navy-light); border-radius: 999px; }

.gallery-item {
  scroll-snap-align: start;
  flex: 0 0 auto;
  width: min(340px, 78vw);
  border-radius: var(--radius-m);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-card);
}
.gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }

.gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 16px 14px;
  background: linear-gradient(180deg, rgba(31,49,69,0) 0%, rgba(20,30,41,0.85) 100%);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
}

.gallery-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}
.gallery-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--navy-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.gallery-arrow:hover { background: var(--navy-deep); color: #fff; border-color: var(--navy-deep); }
.gallery-arrow svg { width: 18px; height: 18px; }

/* ==========================================================================
   FAQ teaser (index) + accordion (FAQ page)
   ========================================================================== */
.faq-teaser {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: var(--navy-deep);
  color: #fff;
  border-radius: var(--radius-m);
  padding: 40px 44px;
}
.faq-teaser h2 { color: #fff; font-size: 1.6rem; }
.faq-teaser p { color: rgba(255,255,255,0.78); margin-top: 8px; max-width: 46ch; }

.accordion { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin: 0 auto; }

.accordion-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: transparent;
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--navy-deep);
  cursor: pointer;
}

.accordion-header .plus {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
}
.accordion-header .plus::before,
.accordion-header .plus::after {
  content: "";
  position: absolute;
  background: var(--navy);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.accordion-header .plus::before { left: 0; top: 50%; width: 100%; height: 2px; transform: translateY(-50%); }
.accordion-header .plus::after { top: 0; left: 50%; height: 100%; width: 2px; transform: translateX(-50%); }
.accordion-header[aria-expanded="true"] .plus::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.accordion-content p {
  padding: 0 24px 22px;
  color: var(--ink-soft);
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}

.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 36px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 0.88rem; font-weight: 600; color: var(--navy-deep); }
.form-row .required { color: #b3522f; }

.form-row input,
.form-row textarea {
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 12px 14px;
  font-size: 1rem;
  font-family: var(--font-body);
  background: var(--cream);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--navy);
  background: var(--paper);
  outline: none;
}
.form-row textarea { min-height: 130px; resize: vertical; }

.contact-form .btn { align-self: flex-start; margin-top: 6px; }

.contact-info {
  background: var(--navy-deep);
  color: #fff;
  border-radius: var(--radius-m);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact-info h3 { color: #fff; font-size: 1.3rem; }
.contact-info p { color: rgba(255,255,255,0.75); font-size: 0.98rem; }

.contact-info-list { display: flex; flex-direction: column; gap: 16px; }
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #fff;
  padding: 10px 12px;
  border-radius: var(--radius-s);
  transition: background-color 0.2s ease;
}
.contact-info-item:hover { background: rgba(255,255,255,0.08); }
.contact-info-item .icon-wrap {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info-item svg { width: 18px; height: 18px; }
.contact-info-item strong { display: block; font-size: 0.95rem; }
.contact-info-item span { display: block; font-size: 0.78rem; color: rgba(255,255,255,0.6); }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy);
  color: #fff;
  padding: 48px 0 28px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand .brand-mark { width: 34px; height: 34px; border-radius: 8px; }
.footer-brand span { font-family: var(--font-display); font-size: 1.15rem; }

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #fff;
  font-size: 0.95rem;
}
.contact-item svg { width: 18px; height: 18px; color: var(--putty-soft); }
.contact-item:hover { color: var(--putty-soft); }

.copyright {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
}

/* ==========================================================================
   FAQ page hero (simpler header banner for the FAQ page)
   ========================================================================== */
.page-banner {
  background: var(--navy-deep);
  color: #fff;
  padding: 72px 0 56px;
  text-align: center;
}
.page-banner h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); }
.page-banner p { color: rgba(255,255,255,0.75); margin-top: 12px; }
.page-banner .roller-stroke { margin: 22px auto 0; }

/* ==========================================================================
   Utility
   ========================================================================== */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
