/* ============================================
   JLK PAINTING SERVICES — Stylesheet
   Palette: warm bone/linen + rich charcoal + terracotta + sage
   Type: Raleway (display) / DM Sans (body) / Bebas Neue (numbers)
   Design: Warm, crafted, paint-swatch editorial feel
   ============================================ */

:root {
  --bone:       #F8F3EC;
  --linen:      #EFE7DA;
  --linen-deep: #E2D6C5;
  --charcoal:   #1C1C1A;
  --charcoal-2: #2A2A27;
  --charcoal-3: #3A3935;
  --terra:      #C5603A;
  --terra-lt:   #F5D9CC;
  --sage:       #6B8C72;
  --slate:      #666258;
  --line:       rgba(28, 28, 26, 0.10);
  --line-inv:   rgba(248, 243, 236, 0.12);

  --font-disp:  "Raleway", sans-serif;
  --font-body:  "DM Sans", sans-serif;
  --font-num:   "Bebas Neue", cursive;

  --mw:    1200px;
  --r:     10px;
  --r-lg:  20px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--charcoal);
  background: var(--bone);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

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

/* ============================================
   TYPE HELPERS
   ============================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-disp);
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 16px;
}
.eyebrow.center { display: flex; justify-content: center; }

.ey-dot {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terra);
  flex: none;
}

.section-title {
  font-family: var(--font-disp);
  font-weight: 800;
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  line-height: 1.16;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}
.section-title.center { text-align: center; }

.section-sub {
  margin-top: 14px;
  color: var(--slate);
  font-size: 1.02rem;
}

.section { padding: 100px 0; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 15px 28px;
  border-radius: var(--r);
  font-family: var(--font-disp);
  font-weight: 700;
  font-size: 0.96rem;
  letter-spacing: 0.04em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .18s, box-shadow .18s;
}

.btn-arr {
  width: 16px; height: 16px;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .2s;
}
.btn:hover .btn-arr { transform: translateX(3px); }

.btn-primary {
  background: var(--charcoal);
  color: var(--bone);
  box-shadow: 0 10px 26px -14px rgba(28, 28, 26, 0.55);
}
.btn-primary:hover {
  background: var(--terra);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -16px rgba(197, 96, 58, 0.55);
}

.btn-soft {
  background: var(--terra-lt);
  color: var(--terra);
  border-color: transparent;
}
.btn-soft:hover {
  background: var(--terra);
  color: var(--bone);
  transform: translateY(-2px);
}

.btn-block { width: 100%; justify-content: center; }

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

/* ============================================
   IMAGE PLACEHOLDER
   ============================================ */
.image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    repeating-linear-gradient(-45deg, rgba(28,28,26,.05) 0 10px, rgba(28,28,26,.01) 10px 20px),
    var(--linen-deep);
  border: 1.5px dashed rgba(102, 98, 88, 0.4);
  border-radius: var(--r);
  color: var(--slate);
  font-family: var(--font-disp);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  line-height: 1.7;
}

img.image-placeholder {
  object-fit: cover;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(248, 243, 236, 0.90);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 86px;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  white-space: nowrap;
}

.logo-mark { width: 42px; height: 42px; flex: none; }
.logo-mark svg { width: 100%; height: 100%; }
.logo-mark svg rect { fill: var(--charcoal); }
.logo-mark svg path { fill: none; stroke: var(--terra); }

.logo-mark-light svg rect { fill: var(--charcoal-2); }

.logo-wordmark { display: flex; flex-direction: column; line-height: 1; }
.lw-brand {
  font-family: var(--font-disp);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--charcoal);
  letter-spacing: 0.1em;
}
.logo-light .lw-brand { color: var(--bone); }

.lw-tagline {
  font-family: var(--font-body);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
  margin-top: 3px;
}
.logo-light .lw-tagline { color: rgba(248,243,236,.55); }

.main-nav {
  display: flex;
  gap: 32px;
  font-size: 0.94rem;
  font-weight: 500;
}

.main-nav a {
  position: relative;
  padding: 5px 0;
  transition: color .18s;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  height: 2px; width: 0;
  background: var(--terra);
  border-radius: 2px;
  transition: width .2s;
}
.main-nav a:hover::after { width: 100%; }

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-disp);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--charcoal);
}
.header-phone svg {
  width: 15px; height: 15px;
  fill: none; stroke: var(--terra);
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.header-phone:hover { color: var(--terra); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--bone);
  padding-top: 72px;
  padding-bottom: 0;
}

/* vertical colour swatch column */
.swatch-col {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 28px;
  display: flex;
  flex-direction: column;
  z-index: 2;
}
.sw {
  flex: 1;
  background: var(--c);
  display: block;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-bottom: 80px;
  padding-left: 44px; /* clear swatch col */
}

.hero-copy h1 {
  font-family: var(--font-disp);
  font-weight: 800;
  font-size: clamp(3.2rem, 6.5vw, 5.4rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--charcoal);
  margin-bottom: 22px;
}
.hero-copy h1 em {
  font-style: italic;
  font-weight: 700;
  color: var(--terra);
}

.hero-sub {
  max-width: 440px;
  color: var(--slate);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-credentials {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  width: fit-content;
}

.hc-item {
  display: flex;
  flex-direction: column;
  padding: 12px 20px;
}
.hc-val {
  font-family: var(--font-disp);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terra);
}
.hc-key {
  font-size: 0.82rem;
  color: var(--charcoal);
  font-weight: 500;
  margin-top: 2px;
}
.hc-sep {
  width: 1px;
  height: 32px;
  background: var(--line);
  flex: none;
}

/* hero media */
.hero-media { position: relative; }

.hero-img {
  width: 100%;
  aspect-ratio: 3 / 4;
}

.stroke-badge {
  position: absolute;
  left: -32px;
  bottom: 44px;
  background: var(--charcoal);
  color: var(--bone);
  border-radius: var(--r);
  padding: 16px 18px;
  max-width: 230px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 18px 40px -22px rgba(28, 28, 26, 0.6);
}
.sb-brush {
  width: 22px; height: 22px; flex: none;
  fill: none; stroke: var(--terra);
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.stroke-badge strong {
  display: block;
  font-family: var(--font-disp);
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 2px;
}
.stroke-badge span {
  font-size: 0.78rem;
  color: rgba(248,243,236,.7);
}

/* MARQUEE */
.marquee-wrap {
  overflow: hidden;
  background: var(--charcoal);
  border-top: 1px solid rgba(248,243,236,.08);
  padding: 16px 0;
}

.marquee-track {
  display: flex;
  gap: 28px;
  white-space: nowrap;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  font-family: var(--font-disp);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: rgba(248,243,236,.78);
}
.m-sep {
  color: var(--terra) !important;
  font-size: 0.7rem !important;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================
   SERVICES
   ============================================ */
.services { background: var(--linen); }

.sec-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: end;
  margin-bottom: 56px;
}
.sh-right {
  color: var(--slate);
  font-size: 1.02rem;
  max-width: 440px;
  padding-bottom: 4px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: auto;
  gap: 16px;
}

.svc-card {
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.svc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px -22px rgba(28,28,26,.22);
}

.svc-large { grid-column: span 2; }
.svc-dark { background: var(--charcoal); }

.svc-img {
  height: 200px;
  border-radius: 0;
  border: none;
  background-color: var(--linen-deep);
}
.svc-img-dark { background-color: var(--charcoal-3); border-color: rgba(248,243,236,.08); color: rgba(248,243,236,.5); }
.svc-large .svc-img { height: 240px; }

.svc-info {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.svc-num {
  font-family: var(--font-num);
  font-size: 1.6rem;
  color: var(--terra);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}
.svc-dark .svc-num { color: rgba(197,96,58,.85); }

.svc-info h3 {
  font-family: var(--font-disp);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--charcoal);
  margin-bottom: 8px;
  line-height: 1.28;
}
.svc-dark .svc-info h3 { color: var(--bone); }

.svc-info p { color: var(--slate); font-size: 0.92rem; }
.svc-dark .svc-info p { color: rgba(248,243,236,.65); }

/* ============================================
   PROCESS
   ============================================ */
.process { background: var(--bone); }

.process-row {
  margin-top: 56px;
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.proc-step {
  flex: 1;
  background: var(--linen);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 26px;
  position: relative;
}

.ps-num {
  font-family: var(--font-num);
  font-size: 3rem;
  color: var(--terra);
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}

.ps-body h3 {
  font-family: var(--font-disp);
  font-weight: 700;
  font-size: 1.14rem;
  color: var(--charcoal);
  margin-bottom: 10px;
}

.ps-body p {
  color: var(--slate);
  font-size: 0.94rem;
}

.proc-arrow {
  flex: none;
  width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 48px;
}
.proc-arrow svg {
  width: 36px; height: 22px;
  fill: none;
  stroke: var(--terra);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============================================
   WHY JLK
   ============================================ */
.why { background: var(--linen); }

.why-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.why-points {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.wp {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.wp:last-child { border-bottom: none; padding-bottom: 0; }

.wp-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--terra-lt);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.wp-icon svg {
  width: 20px; height: 20px;
  fill: none; stroke: var(--terra);
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.wp h3 {
  font-family: var(--font-disp);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--charcoal);
  margin-bottom: 5px;
}
.wp p { color: var(--slate); font-size: 0.95rem; }

/* why media */
.why-media { position: relative; }
.why-img {
  width: 100%;
  aspect-ratio: 4 / 5;
}

.why-pull {
  position: absolute;
  bottom: -32px;
  left: -32px;
  background: var(--charcoal);
  border-radius: var(--r-lg);
  padding: 22px 24px;
  max-width: 260px;
  box-shadow: 0 20px 44px -24px rgba(28,28,26,.55);
}

.why-pull blockquote {
  font-family: var(--font-disp);
  font-style: italic;
  font-weight: 600;
  font-size: 1.06rem;
  color: var(--bone);
  line-height: 1.5;
  margin-bottom: 10px;
}
.why-pull cite {
  font-size: 0.78rem;
  font-style: normal;
  color: var(--terra);
  font-family: var(--font-disp);
  font-weight: 500;
  letter-spacing: 0.08em;
}

/* ============================================
   PORTFOLIO
   ============================================ */
.portfolio { background: var(--bone); }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 260px 260px;
  gap: 16px;
}

.pg-img { height: 100%; }
.pg-tall { grid-row: span 2; }
.pg-wide { grid-column: span 2; }

/* ============================================
   COLOUR STRIP
   ============================================ */
.colour-strip {
  display: flex;
  height: 20px;
}
.colour-strip span {
  flex: 1;
  background: var(--c);
}

/* ============================================
   CONTACT
   ============================================ */
.contact { background: var(--linen); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
}

.detail-list {
  list-style: none;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.detail-list li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.dl-label {
  font-family: var(--font-disp);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  padding-top: 2px;
}
.dl-val {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--charcoal);
  line-height: 1.65;
}
.dl-val a:hover { color: var(--terra); }

.contact-form {
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-title-row h3 {
  font-family: var(--font-disp);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--charcoal);
  margin-bottom: 4px;
}
.form-title-row p {
  font-size: 0.88rem;
  color: var(--slate);
}

.form-row { display: flex; flex-direction: column; gap: 7px; }
.form-row label {
  font-family: var(--font-disp);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.form-row input,
.form-row select,
.form-row textarea {
  font-family: var(--font-body);
  font-size: 0.98rem;
  padding: 13px 16px;
  border-radius: var(--r);
  border: 1.5px solid var(--line);
  background: var(--bone);
  color: var(--charcoal);
  resize: vertical;
  transition: border-color .18s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--terra);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer { background: var(--charcoal); color: var(--bone); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 72px 36px 48px;
}

.fg-brand p {
  margin-top: 18px;
  font-size: 0.92rem;
  color: rgba(248,243,236,.55);
  max-width: 260px;
  line-height: 1.7;
}

.fg-col h4 {
  font-family: var(--font-disp);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 18px;
}
.fg-col p {
  font-size: 0.92rem;
  color: rgba(248,243,236,.72);
  margin-bottom: 10px;
  line-height: 1.6;
}
.fg-col a:hover { color: var(--terra); }

.footer-bottom {
  border-top: 1px solid var(--line-inv);
  padding: 22px 36px;
  font-family: var(--font-disp);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: rgba(248,243,236,.4);
  text-align: center;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1060px) {
  .stroke-badge { left: 0; }
  .why-pull     { left: 0; }
}

@media (max-width: 980px) {
  .main-nav     { display: none; }
  .hero-layout  { grid-template-columns: 1fr; padding-left: 48px; }
  .hero-media   { order: -1; }
  .stroke-badge { display: none; }
  .sec-head     { grid-template-columns: 1fr; gap: 16px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-large    { grid-column: span 2; }
  .process-row  { flex-direction: column; gap: 20px; }
  .proc-arrow   { transform: rotate(90deg); margin: 0 auto; }
  .why-layout   { grid-template-columns: 1fr; }
  .why-pull     { display: none; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .pg-tall      { grid-row: span 1; }
  .pg-wide      { grid-column: span 2; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container   { padding: 0 20px; }
  .section     { padding: 72px 0; }
  .header-inner { height: 74px; }
  .header-phone { display: none; }
  .hero-layout { padding-left: 40px; }
  .swatch-col  { width: 20px; }
  .service-grid { grid-template-columns: 1fr; }
  .svc-large   { grid-column: span 1; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .pg-wide     { grid-column: span 1; }
  .detail-list li { grid-template-columns: 1fr; gap: 4px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-credentials { flex-wrap: wrap; }
  .hc-sep      { display: none; }
  .hc-item     { border-bottom: 1px solid var(--line); width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  * { transition: none !important; }
}
