/* Brand: gksystems.live — G & K Systems, North Dartmouth */

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--dna-ink, #1c2426);
  background: var(--dna-bg, #f6f8f8);
  line-height: 1.55;
}

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

a { color: inherit; }

p { margin: 0 0 0.8em; }

h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 0.4em; }

.gks57-wrap {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.gks57-kicker {
  display: block;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--dna-accent, #3d8c8e);
  margin-bottom: 10px;
}

.gks57-btn,
.btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--dna-accent, #3d8c8e);
  color: var(--dna-accent-ink, #fff);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 20px;
  border: 0;
  cursor: pointer;
  border-radius: var(--btn-radius, 10px);
}

.gks57-btn-ghost,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--dna-ink, #1c2426);
  text-decoration: none;
  font-weight: 650;
  padding: 12px 16px;
  border: 1px solid var(--dna-line, #d5dddd);
  border-radius: var(--btn-radius, 10px);
}

/* Header — centered */
.gks57-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 22px 24px 16px;
  background: var(--dna-surface, #fff);
  border-bottom: 1px solid var(--dna-line, #d5dddd);
  position: sticky;
  top: 0;
  z-index: 20;
}

.gks57-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  text-align: left;
}

.gks57-mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--dna-accent, #3d8c8e);
  position: relative;
  flex: none;
}

.gks57-mark::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 9px;
  height: 16px;
  border: 1.6px solid #fff;
  border-bottom: 0;
  clip-path: polygon(50% 0, 100% 42%, 100% 100%, 0 100%, 0 42%);
}

.gks57-brand small {
  display: block;
  color: var(--dna-ink-soft, #5c6a6b);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.gks57-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}

.gks57-nav a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--dna-ink-soft, #5c6a6b);
}

.gks57-nav a[aria-current="page"] { color: var(--dna-ink, #1c2426); }

.gks57-burger {
  display: none;
  position: absolute;
  right: 18px;
  top: 22px;
  background: var(--dna-surface-2, #eef3f3);
  border: 1px solid var(--dna-line, #d5dddd);
  border-radius: 8px;
  padding: 8px 12px;
  font-weight: 700;
  cursor: pointer;
}

/* Hero mirror */
.gks57-hero { background: var(--dna-bg, #f6f8f8); }

.gks57-hero-mirror .gks57-hero-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  align-items: center;
  padding: 72px 0 64px;
}

.gks57-frame {
  position: relative;
  border-radius: var(--radius-lg, 20px);
  overflow: hidden;
  min-height: 380px;
  border: 1px solid var(--dna-line, #d5dddd);
  background: var(--dna-surface-2, #e7eeee);
}

.gks57-frame img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.gks57-chip {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: var(--dna-surface, #fff);
  border: 1px solid var(--dna-line, #d5dddd);
  border-radius: 14px;
  padding: 12px 14px;
  max-width: 240px;
}

.gks57-chip b { display: block; font-size: 14px; }
.gks57-chip span { font-size: 12.5px; color: var(--dna-ink-soft, #5c6a6b); }

.gks57-hero h1 { font-size: clamp(34px, 4vw, 48px); margin: 8px 0 14px; }

.gks57-lead {
  max-width: 480px;
  color: var(--dna-ink-soft, #5c6a6b);
  font-size: 17px;
}

.gks57-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* Shared section rhythm */
.gks57-block { padding: 78px 0; }
.gks57-block h2 { font-size: clamp(28px, 3vw, 36px); max-width: 16ch; }
.gks57-intro { max-width: 560px; color: var(--dna-ink-soft, #5c6a6b); }

/* Testimonials */
.gks57-quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.gks57-quotes article {
  background: var(--dna-surface, #fff);
  border: 1px solid var(--dna-line, #d5dddd);
  border-radius: 16px;
  padding: 22px;
}

.gks57-quotes blockquote {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.gks57-quotes cite {
  font-style: normal;
  font-size: 13px;
  color: var(--dna-ink-soft, #5c6a6b);
}

/* Services numbered */
.gks57-svc { background: var(--dna-bg, #f6f8f8); }
.gks57-svc .gks57-head { max-width: 560px; margin-bottom: 8px; }
.gks57-svc-list { display: grid; }
.gks57-svc-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-top: 1px solid var(--dna-line, #d5dddd);
}
.gks57-svc-row:last-child { border-bottom: 1px solid var(--dna-line, #d5dddd); }
.gks57-num {
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  color: var(--dna-accent, #3d8c8e);
  opacity: 0.55;
}
.gks57-svc-row p { color: var(--dna-ink-soft, #5c6a6b); max-width: 62ch; margin: 0; }

/* About quoteled */
.gks57-about { background: var(--dna-surface-2, #e7eeee); }
.gks57-quote-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}
.gks57-about blockquote {
  margin: 8px 0 0;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.28;
}
.gks57-about blockquote span { color: var(--dna-accent, #3d8c8e); }
.gks57-who { display: flex; gap: 14px; align-items: center; margin-top: 22px; }
.gks57-av {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--dna-accent, #3d8c8e), var(--dna-accent-2, #6a90b0));
}
.gks57-who small { color: var(--dna-ink-soft, #5c6a6b); }
.gks57-about .gks57-body p { color: var(--dna-ink-soft, #5c6a6b); }

/* Team */
.gks57-team-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  margin-top: 28px;
  align-items: stretch;
}
.gks57-principal {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  background: var(--dna-surface, #fff);
  border: 1px solid var(--dna-line, #d5dddd);
  border-radius: 18px;
  overflow: hidden;
}
.gks57-principal img { height: 100%; object-fit: cover; min-height: 200px; }
.gks57-principal div { padding: 20px 20px 20px 0; }
.gks57-roles { display: grid; gap: 12px; }
.gks57-roles article {
  background: var(--dna-surface, #fff);
  border: 1px solid var(--dna-line, #d5dddd);
  border-radius: 14px;
  padding: 16px 18px;
}
.gks57-roles h3 { font-size: 16px; display: flex; gap: 8px; align-items: center; }
.gks57-roles p { margin: 6px 0 0; color: var(--dna-ink-soft, #5c6a6b); font-size: 14.5px; }
.dna-ic { width: 22px; height: 22px; color: var(--dna-accent, #3d8c8e); }

/* Case studies */
.gks57-cases { background: var(--dna-surface-2, #e7eeee); }
.gks57-case-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 16px;
  margin-top: 28px;
}
.gks57-case {
  background: var(--dna-surface, #fff);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--dna-line, #d5dddd);
}
.gks57-case img { height: 190px; width: 100%; object-fit: cover; }
.gks57-case div, .gks57-case-plain { padding: 18px; }
.gks57-case h3 { font-size: 18px; }
.gks57-case p { color: var(--dna-ink-soft, #5c6a6b); font-size: 14.5px; margin: 0; }

/* Pricing */
.gks57-price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.service-card {
  background: var(--dna-surface, #fff);
  border: 1px solid var(--dna-line, #d5dddd);
  border-radius: var(--radius-lg, 18px);
  padding: 24px;
}
.service-card h3 { font-size: 20px; }
.service-card p { color: var(--dna-ink-soft, #5c6a6b); font-size: 15px; }
.service-card ul { margin: 0; padding-left: 18px; color: var(--dna-ink-soft, #5c6a6b); font-size: 14.5px; }
.service-card li { margin: 6px 0; }

/* CTA boxed */
.gks57-cta { padding: 20px 0 80px; }
.gks57-cta-box {
  background: var(--dna-surface-2, #e7eeee);
  border: 1px solid var(--dna-line, #d5dddd);
  border-radius: var(--radius-lg, 22px);
  padding: 48px 28px;
  text-align: center;
}
.gks57-cta-box h2 { margin-left: auto; margin-right: auto; }
.gks57-cta-box p {
  color: var(--dna-ink-soft, #5c6a6b);
  max-width: 46ch;
  margin: 0 auto 22px;
}

/* Footer big CTA */
.gks57-foot {
  background: var(--dna-ink, #1a2426);
  color: #f4f7f7;
  padding: 56px 0 28px;
}
.gks57-foot-cta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.gks57-foot h2 { color: #fff; max-width: 16ch; }
.gks57-foot p { color: rgba(255, 255, 255, 0.78); }
.gks57-foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  padding: 28px 0 12px;
}
.gks57-foot a { color: #fff; text-decoration: none; }
.gks57-foot strong { display: block; margin-bottom: 8px; }
.gks57-legal { font-size: 13px; color: rgba(255, 255, 255, 0.6); margin: 0; }

/* Inner pages */
.gks57-pagehead { padding: 56px 0 12px; }
.gks57-pagehead h1 { font-size: clamp(34px, 4vw, 48px); max-width: 18ch; }
.gks57-pagehead p { max-width: 58ch; color: var(--dna-ink-soft, #5c6a6b); font-size: 17px; }

.gks57-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}
.gks57-split img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--dna-line, #d5dddd);
}

/* Process steps */
.gks57-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.gks57-step {
  background: var(--dna-surface, #fff);
  border: 1px solid var(--dna-line, #d5dddd);
  border-radius: 16px;
  padding: 20px;
}
.gks57-step .n {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--dna-accent, #3d8c8e);
  color: var(--dna-accent-ink, #fff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 12px;
}
.gks57-step p { color: var(--dna-ink-soft, #5c6a6b); font-size: 14.5px; margin: 0; }

/* Trust metric bar */
.gks57-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: var(--radius-lg, 18px);
  overflow: hidden;
  background: linear-gradient(120deg, var(--dna-ink, #1a2426), var(--dna-accent, #3d8c8e));
  color: #fff;
  margin-top: 28px;
}
.gks57-bar div { padding: 28px 18px; border-right: 1px solid rgba(255, 255, 255, 0.16); }
.gks57-bar div:last-child { border-right: 0; }
.gks57-bar b { display: block; font-size: 28px; letter-spacing: -0.03em; }
.gks57-bar span { display: block; margin-top: 6px; font-size: 13.5px; opacity: 0.85; }

/* Contact + compact booking */
.gks57-contact { padding-bottom: 72px; }

.gks57-book {
  background: var(--dna-surface, #fff);
  border: 1px solid var(--dna-line, #d5dddd);
  border-radius: 18px;
  padding: 22px;
  margin-top: 18px;
}

.gks57-book-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
}

.gks57-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.gks57-field span { font-size: 13px; font-weight: 700; }

.gks57-field input,
.gks57-field select,
.gks57-field textarea {
  font: inherit;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid var(--dna-line, #d5dddd);
  background: var(--dna-bg, #f6f8f8);
  color: var(--dna-ink, #1c2426);
}

.gks57-fmts { display: flex; flex-wrap: wrap; gap: 8px; }
.gks57-fmt {
  border: 1px solid var(--dna-line, #d5dddd);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13.5px;
  cursor: pointer;
  display: flex;
  gap: 6px;
  align-items: center;
}
.gks57-fmt.is-pick { border-color: var(--dna-accent, #3d8c8e); background: color-mix(in srgb, var(--dna-accent, #3d8c8e) 12%, white); }
.gks57-fmt input { accent-color: var(--dna-accent, #3d8c8e); }
.gks57-blurb { color: var(--dna-ink-soft, #5c6a6b); font-size: 14px; min-height: 1.3em; }
.gks57-err { color: #9a3412; font-size: 14px; display: none; margin: 0 0 10px; }
.gks57-err.is-on { display: block; }
.gks57-thanks {
  background: var(--dna-surface-2, #e7eeee);
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
}
.gks57-thanks h2 { margin-left: auto; margin-right: auto; }

.gks57-prose { max-width: 68ch; }
.gks57-prose h2 { font-size: 22px; margin-top: 28px; }
.gks57-prose p { color: var(--dna-ink-soft, #5c6a6b); }

@media (max-width: 900px) {
  .gks57-burger { display: block; }
  .gks57-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
    gap: 12px;
    padding-top: 8px;
  }
  .gks57-nav.is-open { display: flex; }
  .gks57-hero-mirror .gks57-hero-grid,
  .gks57-quote-grid,
  .gks57-team-grid,
  .gks57-split,
  .gks57-book-row,
  .gks57-foot-cta,
  .gks57-foot-grid { grid-template-columns: 1fr; }
  .gks57-quotes,
  .gks57-case-grid,
  .gks57-price-grid,
  .gks57-steps,
  .gks57-bar { grid-template-columns: 1fr 1fr; }
  .gks57-principal { grid-template-columns: 1fr; }
  .gks57-principal div { padding: 16px; }
  .gks57-principal img { height: 220px; }
  .gks57-bar div:nth-child(2) { border-right: 0; }
}

@media (max-width: 620px) {
  .gks57-quotes,
  .gks57-case-grid,
  .gks57-price-grid,
  .gks57-steps,
  .gks57-bar,
  .gks57-svc-row { grid-template-columns: 1fr; }
  .gks57-wrap { width: min(1120px, calc(100% - 32px)); }
}
