/* Peppy's Paintlife — layout and brand tokens */
:root {
  --ink: #182b35;
  --muted: #596b74;
  --accent: #137cab;
  --accent-dark: #075b82;
  --surface: #f1f5f6;
  --line: #d6e0e4;
  --shadow: 0 18px 45px rgba(20, 43, 56, .18), 0 4px 12px rgba(20, 43, 56, .1);
  --font-display: Arial, Helvetica, sans-serif;
  --font-body: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; color: var(--ink); background: #fff; font: 400 17px/1.7 var(--font-body); }
button, input, textarea { font: inherit; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-display); }
h1, h2 { font-weight: 500; letter-spacing: -.055em; line-height: 1.06; }
h2 { font-size: clamp(36px, 4.25vw, 62px); margin-bottom: 30px; }
h3 { font-size: 23px; font-weight: 500; letter-spacing: -.025em; line-height: 1.3; }
p { margin-bottom: 22px; }
a { color: inherit; text-decoration: none; position: relative; transition: color .3s, background-color .3s; }
a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  opacity: 0;
  transition: transform .45s cubic-bezier(.2,.7,.2,1), opacity .4s;
  pointer-events: none;
}
a:hover::after, a:focus-visible::after { transform: scaleX(1); opacity: .7; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.wrap { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
.muted { color: #6a7d87; }
.eyebrow { font-size: 14px; line-height: 1.4; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 24px; }
.section { padding-block: 120px; }
.skip { position: fixed; z-index: 100; top: 10px; left: 20px; background: #fff; padding: 12px 20px; transform: translateY(-180%); }
.skip:focus { transform: translateY(0); }

/* Header and navigation */
.header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.nav-row { height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.brand { flex-shrink: 0; display: flex; align-items: center; height: 76px; }
.brand img { width: 148px; height: 70px; object-fit: contain; }
.brand::after { display: none; }
nav { display: flex; align-items: center; gap: 32px; }
nav > a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 500; }
.menu-toggle { display: none; color: var(--ink); border: 1px solid var(--line); background: white; padding: 8px 14px; min-height: 46px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 56px; padding: 14px 26px; background: var(--accent); color: #fff; font-size: 15px; font-weight: 600; border: 1px solid transparent; isolation: isolate; overflow: hidden; transition: transform .2s, background-color .3s; }
.button::before { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.15); transform: scaleX(0); transform-origin: center; opacity: 0; transition: transform .5s, opacity .4s; z-index: -1; }
.button:hover::before, .button:focus-visible::before { opacity: 1; transform: scaleX(1); }
.button:hover { background: var(--accent-dark); transform: translateY(-2px); }
.button:active { transform: translateY(1px); }
.button::after { bottom: 9px; left: 25px; right: 25px; }
.nav-cta { min-height: 48px; padding: 10px 21px; margin-left: 8px; }
.button-ghost { background: transparent; border-color: #ffffff9c; color: #fff; }
.button-ghost:hover { background: #ffffff17; }
.button-light { background: #fff; color: var(--ink); }
.button-light:hover { background: #e7f0f4; }

/* Full photograph hero and photo-only parallax */
.hero { position: relative; min-height: calc(100svh - 96px); min-height: max(760px, calc(100svh - 96px)); display: flex; align-items: center; color: #fff; overflow: hidden; background: #2d3538; }
.hero-media, .hero-shade, .colour-media, .colour-shade { position: absolute; inset: 0; }
.hero-media { inset-block: -220px; will-change: transform; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 52%; }
.hero-shade { background: linear-gradient(90deg, rgba(8,24,34,.8) 0%, rgba(8,24,34,.58) 46%, rgba(8,24,34,.07) 100%); }
.hero-content { position: relative; z-index: 2; padding-block: 76px 125px; }
.hero h1 { font-size: clamp(58px, 6.5vw, 96px); margin: 0 0 26px; max-width: 920px; }
.hero h1 span { color: #a9d9ef; }
.hero-lead { font-size: 19px; line-height: 1.6; max-width: 510px; color: #fff; margin-bottom: 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-bottom { position: absolute; bottom: 0; inset-inline: 0; display: flex; justify-content: space-between; gap: 22px; align-items: center; border-top: 1px solid #ffffff45; min-height: 76px; font-size: 13px; letter-spacing: .04em; }
.hero-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
.hero-content { animation: hero-arrive .85s ease-out both; }
@keyframes hero-arrive { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Editorial sections and image shadows */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 88px; }
.section-copy p { color: var(--muted); }
.section-copy .eyebrow { color: var(--accent-dark); }
.photo { border-radius: 3px; box-shadow: var(--shadow); overflow: hidden; }
.photo img { width: 100%; height: 570px; object-fit: cover; will-change: transform; }
.text-link { display: inline-flex; align-items: center; min-height: 48px; font-size: 16px; font-weight: 600; color: var(--accent-dark); }
.services { background: var(--surface); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 50px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { color: var(--muted); font-size: 16px; margin-bottom: 4px; }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; margin-bottom: 25px; }
.service-card { display: flex; flex-direction: column; padding: 30px 25px 22px; background: #fff; border: 1px solid #dbe4e8; min-height: 296px; transition: transform .25s, border-color .3s, box-shadow .3s; }
.service-card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 12px 28px #1638490b; }
.service-card::after { inset-inline: 25px; bottom: 17px; background: var(--accent); }
.service-card h3 { font-size: 22px; margin-bottom: 16px; }
.service-card p { font-size: 15px; line-height: 1.7; color: var(--muted); margin-bottom: 25px; }
.service-more { margin-top: auto; display: flex; justify-content: space-between; gap: 12px; align-items: center; font-size: 14px; color: var(--accent-dark); }
.service-more > span { font-size: 24px; font-weight: 400; }
.colour-section { min-height: 680px; position: relative; overflow: hidden; display: flex; align-items: center; color: #fff; background: #8d3e0e; }
.colour-media { inset-block: -220px; will-change: transform; }
.colour-media img { height: 100%; width: 100%; object-fit: cover; }
.colour-shade { background: linear-gradient(90deg, #431b08d9, #49210b70 65%, #49210b20); }
.colour-copy { position: relative; padding-block: 100px; }
.colour-copy h2 { font-size: clamp(44px, 5.4vw, 80px); }
.colour-copy > p:not(.eyebrow) { max-width: 530px; font-size: 19px; }
.about .photo img { height: 660px; }
.story-text { font-size: 16px; }
.questions { background: #f6f8f9; }
.faq-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 100px; }
.faq-layout > div:first-child > p:last-child { max-width: 360px; color: var(--muted); }
.faq-list article { border-top: 1px solid var(--line); padding-block: 26px; }
.faq-list h3 { font-size: 21px; margin-bottom: 12px; }
.faq-list p { font-size: 16px; color: var(--muted); margin: 0; }
.contact { background: #123f55; color: #fff; }
.contact h2 { font-size: clamp(38px, 4.4vw, 66px); }
.contact h2 span { color: #afd7e9; }
.contact-lead { font-size: 20px; color: #d8e8ef; }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 50px; margin-block: 45px 30px; padding-top: 35px; border-top: 1px solid #ffffff38; }
.contact-grid h3 { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: #bed6e1; }
.contact-grid a { display: table; min-height: 44px; }
.contact-large { font-size: 26px; letter-spacing: -.02em; }
.contact-grid p { line-height: 1.8; }

/* Footer and content pages */
.footer { background: #fff; padding: 75px 0 25px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 60px; padding-bottom: 48px; }
.footer-grid h2 { font-size: 16px; line-height: 1.4; font-weight: 600; letter-spacing: 0; margin-bottom: 20px; }
.footer-grid p, .footer-grid a:not(.footer-brand) { color: var(--muted); font-size: 15px; }
.footer-grid a:not(.footer-brand) { display: table; min-height: 44px; }
.footer-brand { display: inline-block; font-size: 38px; font-weight: 600; letter-spacing: -.055em; line-height: 1; margin-bottom: 20px; }
.footer-brand span { color: var(--accent); }
.legal-row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 20px; font-size: 12px; color: var(--muted); }
.legal-row a { min-height: 44px; display: inline-flex; align-items: center; }
.legal-row > span { align-self: center; }
.detail-hero { background: var(--surface); padding: 55px 0 75px; }
.detail-hero h1 { font-size: clamp(43px, 5.2vw, 76px); max-width: 1050px; margin-bottom: 25px; }
.detail-hero .eyebrow { color: var(--accent-dark); }
.detail-lead { color: var(--muted); max-width: 760px; font-size: 20px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 12px; font-size: 14px; margin-bottom: 45px; color: var(--muted); }
.breadcrumbs a { min-height: 44px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 100px; align-items: start; }
.detail-grid article h2 { font-size: 34px; }
.detail-grid article p { color: var(--muted); }
.detail-grid aside { background: var(--surface); padding: 32px; border-top: 3px solid var(--accent); }
.detail-grid aside h2 { font-size: 24px; letter-spacing: -.02em; }
.detail-grid aside a { display: table; min-height: 44px; overflow-wrap: anywhere; }
.detail-grid aside p { font-size: 16px; }
.related { padding-block: 60px; border-top: 1px solid var(--line); }
.related h2 { font-size: 30px; }
.related-links { display: flex; gap: 15px 30px; flex-wrap: wrap; }
.related-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent-dark); }
.legal-copy { max-width: 950px; overflow-wrap: anywhere; }
.legal-copy h2 { font-size: 32px; letter-spacing: -.025em; margin-top: 45px; }
.legal-copy h3 { font-size: 23px; margin-top: 30px; }
.legal-copy ul { padding-left: 24px; }
.legal-copy a { color: var(--accent-dark); text-decoration: underline; }

/* Tablet and mobile */
@media (min-width: 1600px) {
  .hero { min-height: calc(100svh - 96px); }
}
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 64px); }
  nav { gap: 20px; }
  .nav-cta { padding-inline: 15px; margin-left: 0; }
  .split { gap: 45px; }
  .service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service-card { min-height: 245px; }
  .faq-layout { gap: 50px; }
  .hero h1 { font-size: 76px; }
  .detail-grid { gap: 45px; }
}
@media (max-width: 800px) {
  html { scroll-padding-top: 88px; }
  .nav-row { height: 80px; }
  .brand img { width: 125px; height: 62px; }
  .menu-toggle { display: flex; align-items: center; gap: 14px; }
  #navigation { display: none; position: absolute; top: 80px; left: 0; right: 0; height: calc(100svh - 80px); background: white; padding: 30px; align-items: stretch; justify-content: start; flex-direction: column; gap: 12px; overflow-y: auto; }
  #navigation.open { display: flex; }
  #navigation > a { font-size: 22px; padding: 12px 0; }
  #navigation .button { margin-top: 15px; padding-inline: 20px; font-size: 17px; }
  body.menu-open { overflow: hidden; }
  .hero { min-height: max(720px, calc(100svh - 80px)); }
  .hero h1 { font-size: clamp(52px, 8vw, 70px); }
  .hero-bottom > span:last-child { display: none; }
  .section { padding-block: 80px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .photo img, .about .photo img { height: auto; aspect-ratio: 4 / 3; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 25px; }
  .faq-layout { grid-template-columns: 1fr; gap: 30px; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .contact-grid > div:first-child { grid-column: 1/-1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-grid > div:first-child { grid-column: 1/-1; }
  .detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  body { font-size: 16px; line-height: 1.7; }
  .wrap { width: calc(100% - 40px); }
  h2 { font-size: 37px; margin-bottom: 25px; }
  .section { padding-block: 65px; }
  .eyebrow { font-size: 12px; letter-spacing: .09em; margin-bottom: 18px; }
  .hero { min-height: max(735px, calc(100svh - 80px)); }
  .hero-content { padding-block: 55px 118px; }
  .hero h1 { font-size: clamp(43px, 12vw, 58px); }
  .hero-shade { background: linear-gradient(90deg, #081822d6, #08182274); }
  .hero-media img { object-position: 57% center; }
  .hero-lead { font-size: 17px; max-width: 350px; }
  .actions { flex-direction: column; gap: 12px; }
  .actions .button { width: 100%; }
  .hero-bottom { font-size: 11px; gap: 10px; min-height: 65px; }
  .service-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card { min-height: 235px; padding: 28px 25px; }
  .service-card p { font-size: 16px; }
  .service-more { font-size: 15px; }
  .colour-section { min-height: 570px; }
  .colour-copy { padding-block: 65px; }
  .colour-copy h2 { font-size: 44px; }
  .colour-copy > p:not(.eyebrow) { font-size: 17px; }
  .contact h2 { font-size: 38px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-grid > div:first-child { grid-column: auto; }
  .contact-grid h3 { font-size: 13px; }
  .contact-large { font-size: 25px; }
  .footer { padding-top: 55px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
  .legal-row { flex-direction: column; gap: 4px; font-size: 12px; }
  .legal-row > span { align-self: start; margin-bottom: 8px; }
  .detail-hero { padding-block: 30px 50px; }
  .detail-hero h1 { font-size: 43px; }
  .detail-lead { font-size: 18px; }
  .breadcrumbs { gap: 8px; margin-bottom: 25px; }
  .breadcrumbs > span { display: inline-flex; align-items: center; }
  .detail-grid article h2 { font-size: 30px; }
  .detail-grid aside { padding: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; }
  [data-parallax], .photo > img { transform: none !important; will-change: auto; }
}
@media print {
  .header, .hero-bottom, .menu-toggle, .hero-media, .hero-shade { display: none; }
  .hero { color: #000; background: #fff; min-height: auto; }
  .hero h1 span, .hero-lead { color: #000; }
  .hero-content { padding: 30px 0; }
  .section { padding-block: 30px; }
  a { text-decoration: underline; }
}
