/* ARK Heating & Plumbing — sidebar layout, burgundy/green brand */

:root {
  --burgundy: #971e59;
  --burgundy-dark: #7a1849;
  --burgundy-light: #b83278;
  --green: #7f9f40;
  --green-dark: #6a8535;
  --green-light: #96b84e;
  --charcoal: #303030;
  --charcoal-deep: #181818;
  --slate: #575758;
  --slate-light: #8a8a8c;
  --cream: #faf9f7;
  --cream-dark: #f0eeeb;
  --white: #ffffff;
  --sidebar-w: 17.5rem;
  --topbar-h: 3.75rem;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 0.75rem;
  --shadow: 0 12px 40px rgba(48, 48, 48, 0.1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body.ark-site {
  font-family: var(--font-body);
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.ark-burgundy-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: var(--burgundy);
  z-index: 200;
}

/* ── Sidebar nav (desktop) ── */
.ark-sidebar {
  position: fixed;
  top: 6px; left: 0; bottom: 0;
  width: var(--sidebar-w);
  background: var(--charcoal-deep);
  color: var(--white);
  display: flex;
  flex-direction: column;
  z-index: 150;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.ark-sidebar__head {
  padding: 1.5rem 1.25rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ark-sidebar__logo img { filter: brightness(0) invert(1); opacity: 0.95; }
.ark-sidebar__close { display: none; }
.ark-sidebar__nav {
  flex: 1;
  padding: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.ark-nav-link {
  display: block;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.75);
  border-left: 3px solid transparent;
  transition: all 0.2s var(--ease);
}
.ark-nav-link:hover,
.ark-nav-link.is-active {
  color: var(--white);
  background: rgba(151, 30, 89, 0.25);
  border-left-color: var(--burgundy);
}
.ark-sidebar__foot {
  padding: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.ark-gas-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(127, 159, 64, 0.15);
  border: 1px solid rgba(127, 159, 64, 0.35);
  border-radius: var(--radius);
  padding: 0.5rem 0.75rem;
  font-size: 0.8125rem;
}
.ark-gas-pill__label { color: var(--green-light); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; font-size: 0.6875rem; }
.ark-sidebar__email { font-size: 0.75rem; color: rgba(255,255,255,0.5); word-break: break-all; }

.ark-shell {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 6px;
}
.ark-topbar {
  display: none;
  position: sticky;
  top: 6px;
  z-index: 100;
  height: var(--topbar-h);
  background: var(--white);
  border-bottom: 1px solid rgba(48,48,48,0.08);
  align-items: center;
  padding: 0 1rem;
  gap: 1rem;
}
.ark-menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}
.ark-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 1px;
}
.ark-topbar__logo { flex: 1; }
.ark-topbar__logo img { height: 28px; width: auto; }
.ark-main { flex: 1; }

.ark-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 140;
}

/* ── Typography ── */
.ark-eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--burgundy);
  display: block;
  margin-bottom: 0.625rem;
}
.ark-h1, .ark-h2, .ark-h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--charcoal);
}
.ark-h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
.ark-h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
.ark-h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
.ark-lead { font-size: 1.0625rem; color: var(--slate); line-height: 1.7; max-width: 38rem; }
.ark-italic { font-style: italic; color: var(--burgundy); }
.ark-container { width: min(72rem, 100% - 3rem); margin-inline: auto; }

/* ── Buttons ── */
.ark-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  border-radius: 0.5rem;
  transition: all 0.2s var(--ease);
  border: 2px solid transparent;
}
.ark-btn--green {
  background: var(--green);
  color: var(--white);
}
.ark-btn--green:hover { background: var(--green-dark); }
.ark-btn--burgundy {
  background: var(--burgundy);
  color: var(--white);
}
.ark-btn--burgundy:hover { background: var(--burgundy-dark); }
.ark-btn--outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.ark-btn--outline:hover { background: rgba(255,255,255,0.12); }
.ark-btn--lg { padding: 0.875rem 1.75rem; font-size: 1.0625rem; }
.ark-btn--sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.ark-btn--block { width: 100%; padding: 0.75rem 1rem; }
.ark-link { color: var(--burgundy); font-weight: 700; font-size: 0.9375rem; }
.ark-link:hover { color: var(--burgundy-dark); }

/* ── Hero (full-bleed, Ark photography) ── */
.ark-hero {
  position: relative;
  min-height: clamp(28rem, 70vh, 40rem);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--charcoal-deep);
}
.ark-hero__bg {
  position: absolute;
  inset: 0;
  background: url('/assets/images/hero-background.png') center/cover no-repeat;
  opacity: 0.85;
}
.ark-hero__boat {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(45%, 28rem);
  height: 100%;
  background: url('/assets/images/hero-foreground.png') right bottom/contain no-repeat;
  pointer-events: none;
}
.ark-hero__content {
  position: relative;
  z-index: 2;
  padding: 3rem clamp(1.5rem, 5vw, 4rem);
  max-width: 36rem;
  color: var(--white);
}
.ark-hero__content .ark-eyebrow { color: var(--green-light); }
.ark-hero__content .ark-h1 { color: var(--white); margin-bottom: 1rem; }
.ark-hero__content .ark-lead { color: rgba(255,255,255,0.88); margin-bottom: 1.75rem; }
.ark-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.ark-creds {
  background: var(--white);
  border-bottom: 1px solid rgba(48,48,48,0.08);
  padding: 1rem 0;
  overflow-x: auto;
}
.ark-creds__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: center;
  width: min(72rem, 100% - 2rem);
  margin-inline: auto;
}
.ark-cred {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--slate);
  white-space: nowrap;
}
.ark-cred--highlight { color: var(--burgundy); }

/* ── Sections ── */
.ark-section { padding: clamp(3rem, 6vw, 5rem) 0; }
.ark-section--alt { background: var(--cream-dark); }
.ark-section--burgundy {
  background: var(--burgundy);
  color: var(--white);
}
.ark-section--burgundy .ark-h2,
.ark-section--burgundy .ark-lead { color: var(--white); }
.ark-section--burgundy .ark-lead { opacity: 0.9; }
.ark-section-head { margin-bottom: 2.5rem; }
.ark-section-head--center { text-align: center; }
.ark-section-head--center .ark-lead { margin-inline: auto; }

/* ── Timeline service cards ── */
.ark-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.ark-timeline::before {
  content: '';
  position: absolute;
  left: 1.625rem;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(var(--burgundy), var(--green));
  opacity: 0.25;
}
.ark-timeline-card {
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
}
.ark-timeline-card__marker { position: relative; z-index: 1; }
.ark-timeline-card__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--burgundy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--burgundy);
}
.ark-timeline-card--featured .ark-timeline-card__num {
  background: var(--burgundy);
  color: var(--white);
}
.ark-timeline-card__icon { display: none; }
.ark-timeline-card__body {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(48,48,48,0.06);
}
.ark-timeline-card__body h3 { margin-bottom: 0.5rem; }
.ark-timeline-card__body p { color: var(--slate); font-size: 0.9375rem; margin-bottom: 0.75rem; }

/* ── About split ── */
.ark-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.ark-split__visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.ark-split__visual img { width: 100%; height: 100%; object-fit: cover; min-height: 18rem; }
.ark-quals {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
.ark-qual {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem;
  border-left: 4px solid var(--green);
  font-size: 0.875rem;
  font-weight: 600;
}

/* ── Brand marquee ── */
.ark-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ark-marquee__track {
  display: flex;
  gap: 3rem;
  animation: ark-scroll 30s linear infinite;
  width: max-content;
}
.ark-marquee__track img {
  height: 2.5rem;
  width: auto;
  opacity: 0.7;
  filter: grayscale(30%);
}
@keyframes ark-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── Areas list (not pills) ── */
.ark-areas-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 0.75rem;
}
.ark-area-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.15);
  transition: background 0.2s;
}
.ark-area-row:hover { background: rgba(255,255,255,0.2); }
.ark-area-row__pin {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  flex-shrink: 0;
}
.ark-area-row strong { display: block; font-size: 1rem; }
.ark-area-row span { font-size: 0.8125rem; opacity: 0.8; }

/* ── CTA band ── */
.ark-cta-band {
  background: var(--charcoal);
  color: var(--white);
  border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.ark-cta-band h2 { color: var(--white); margin-bottom: 0.5rem; }
.ark-cta-band p { color: rgba(255,255,255,0.75); }
.ark-cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ── Page header (inner pages) ── */
.ark-page-hero {
  position: relative;
  padding: clamp(3rem, 8vw, 5rem) 0;
  background: var(--charcoal-deep) url('/assets/images/page_header.png') center/cover no-repeat;
  color: var(--white);
}
.ark-page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(151,30,89,0.85), rgba(48,48,48,0.75));
}
.ark-page-hero .ark-container { position: relative; z-index: 1; }
.ark-page-hero .ark-h1 { color: var(--white); margin-bottom: 0.75rem; }
.ark-page-hero .ark-lead { color: rgba(255,255,255,0.9); }
.ark-breadcrumb {
  font-size: 0.8125rem;
  margin-bottom: 1rem;
  opacity: 0.8;
}
.ark-breadcrumb a:hover { text-decoration: underline; }

/* ── Content prose ── */
.ark-prose { max-width: 42rem; }
.ark-prose p { margin-bottom: 1rem; color: var(--slate); }
.ark-prose h2 { margin: 2rem 0 0.75rem; }
.ark-prose ul { margin: 1rem 0; padding-left: 1.25rem; list-style: disc; }
.ark-prose li { margin-bottom: 0.5rem; color: var(--slate); }

/* ── Contact form ── */
.ark-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}
.ark-contact-info { display: flex; flex-direction: column; gap: 1.25rem; }
.ark-contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid rgba(48,48,48,0.08);
}
.ark-contact-card strong { display: block; color: var(--burgundy); margin-bottom: 0.25rem; }
.ark-form label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.375rem;
}
.ark-form input,
.ark-form textarea,
.ark-form select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(48,48,48,0.15);
  border-radius: 0.5rem;
  font: inherit;
  margin-bottom: 1rem;
  background: var(--white);
}
.ark-form textarea { min-height: 8rem; resize: vertical; }

/* ── Service hub grid ── */
.ark-service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 1.25rem;
}
.ark-service-tile {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid rgba(48,48,48,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}
.ark-service-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.ark-service-tile__icon { font-size: 1.75rem; margin-bottom: 0.75rem; }
.ark-service-tile h3 { margin-bottom: 0.5rem; font-size: 1.125rem; }
.ark-service-tile p { font-size: 0.875rem; color: var(--slate); margin-bottom: 0.75rem; }

/* ── Footer ── */
.ark-footer {
  background: var(--charcoal-deep);
  color: rgba(255,255,255,0.75);
  padding: 3rem 0 0;
  margin-top: auto;
}
.ark-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2rem;
  width: min(72rem, 100% - 3rem);
  margin-inline: auto;
  padding-bottom: 2rem;
}
.ark-footer h3 {
  color: var(--white);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.ark-footer ul li { margin-bottom: 0.5rem; font-size: 0.875rem; }
.ark-footer a:hover { color: var(--green-light); }
.ark-footer__brand img { margin-bottom: 1rem; filter: brightness(0) invert(1); opacity: 0.9; }
.ark-footer__brand p { font-size: 0.875rem; margin-bottom: 0.75rem; }
.ark-footer__legal { font-size: 0.75rem; opacity: 0.6; }
.ark-footer__base {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1rem 0;
  text-align: center;
  font-size: 0.8125rem;
}

/* ── Mobile FAB ── */
.ark-fab {
  display: none;
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(127,159,64,0.45);
  z-index: 120;
}

/* ── Outreach ── */
body.outreach .ark-sidebar { display: none; }
body.outreach .ark-shell { margin-left: 0; }
body.outreach .ark-topbar { display: flex; }
.outreach-hero {
  background: linear-gradient(135deg, var(--burgundy), var(--charcoal-deep));
  color: var(--white);
  padding: 4rem 2rem;
  text-align: center;
}
.outreach-hero .ark-h1 { color: var(--white); margin-bottom: 1rem; }
.outreach-hero .ark-lead { color: rgba(255,255,255,0.85); margin-inline: auto; margin-bottom: 1.5rem; }
.outreach-preview {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  padding: 0.875rem 1.75rem;
  border-radius: 0.5rem;
  font-weight: 700;
}
.outreach-body { width: min(48rem, 100% - 2rem); margin: 0 auto; padding: 3rem 0; }
.outreach-section { margin-bottom: 3rem; }
.outreach-section h2 { margin-bottom: 1rem; color: var(--burgundy); }
.issue-item, .fix-list li { margin-bottom: 1rem; padding: 1rem; background: var(--white); border-radius: var(--radius); border-left: 4px solid var(--burgundy); }
.issue-item p, .fix-list li { font-size: 0.9375rem; color: var(--slate); margin-top: 0.375rem; }
.email-copy {
  background: var(--cream-dark);
  border-radius: var(--radius);
  padding: 1.5rem;
  font-size: 0.9375rem;
  white-space: pre-wrap;
  line-height: 1.7;
  position: relative;
}
.copy-btn {
  display: block;
  margin-top: 1rem;
  background: var(--burgundy);
  color: var(--white);
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  font-weight: 700;
}
.pricing-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.pricing-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid rgba(48,48,48,0.08);
}
.pricing-card--featured { border-color: var(--burgundy); border-width: 2px; }
.pricing-card .price { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--burgundy); margin: 0.75rem 0; }
.pricing-card .price span { font-size: 1rem; font-weight: 400; color: var(--slate); }

/* ── Reveal animation ── */
.reveal { opacity: 0; transform: translateY(1.25rem); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ── Mobile ── */
@media (max-width: 900px) {
  .ark-sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s var(--ease);
    width: min(18rem, 85vw);
    z-index: 160;
  }
  .ark-sidebar.is-open { transform: translateX(0); }
  .ark-sidebar__close {
    display: block;
    position: absolute;
    top: 1rem; right: 1rem;
    font-size: 1.75rem;
    color: var(--white);
    line-height: 1;
  }
  .ark-shell { margin-left: 0; }
  .ark-topbar { display: flex; }
  .ark-overlay.is-visible { display: block; }
  .ark-fab { display: flex; }
  .ark-split, .ark-contact-grid, .ark-footer__grid, .pricing-cards { grid-template-columns: 1fr; }
  .ark-hero__boat { width: 55%; opacity: 0.6; }
  .ark-quals { grid-template-columns: 1fr; }
}
