/* A B Kirby & Sons - Pointing Contractors, Rayleigh, Essex
   Bespoke build · Cormorant Garamond + Inter · Oxblood + aged cream + charcoal
   Composition: heritage editorial, before/after pair cards, family-name signature footer */

:root{
  --oxblood: #6b2222;
  --oxblood-deep: #4a1717;
  --oxblood-soft: #8e3a3a;
  --aged: #f4ecdc;
  --aged-deep: #e6d7b8;
  --paper: #fbf7ec;
  --ink: #1a1612;
  --ink-2: #3a342c;
  --ink-soft: #5e564a;
  --line: #d9cdb2;
  --gold: #b08c3d;
}

*{box-sizing:border-box; margin:0; padding:0;}
html{ scroll-behavior:smooth; }
body{
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 17px; line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; height:auto; display:block; }
a{ color: var(--oxblood); text-decoration: none; }
a:hover{ color: var(--oxblood-deep); }
.serif{ font-family: 'Cormorant Garamond', Georgia, serif; font-weight:500; }
.container{ width: min(1180px, 92vw); margin: 0 auto; }

/* HEADER */
.site-header{
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 40;
}
.hd{ display: flex; align-items: center; justify-content: space-between; padding: 16px 0; gap: 22px; }
.brand-mk{ display: flex; align-items: baseline; gap: 14px; color: var(--ink); text-decoration: none; }
.brand-mk .name{
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  letter-spacing: -.005em;
  line-height: 1.05;
}
.brand-mk .name .amp{ color: var(--oxblood); font-style: italic; font-weight: 500; }
.brand-mk .since{
  display: none;
  font-family: 'Inter', sans-serif;
  font-size: .66rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--ink-soft);
  padding-left: 14px; border-left: 1px solid var(--line);
}
@media (min-width: 760px){ .brand-mk .since{ display: inline-block; } }

.nav-list{ display:none; list-style: none; gap: 16px; align-items:center; flex-wrap:nowrap; }
@media (min-width: 1240px){ .nav-list{ display: flex; } }
.nav-list a{
  color: var(--ink-2);
  font-size: .82rem; font-weight: 500;
  position: relative; padding: 6px 0;
  letter-spacing: .02em;; white-space: nowrap; }
.nav-list a:hover, .nav-list a[aria-current="page"]{ color: var(--oxblood); }
.nav-list a::after{
  content: ''; position: absolute; left: 0; bottom: -3px;
  width: 0; height: 2px; background: var(--oxblood);
  transition: width .22s ease;
}
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after{ width: 100%; }

.phone-link{
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); font-weight: 600; font-size: .9rem;
  padding: 10px 0 10px 18px;
  border-left: 1px solid var(--line);
}
.phone-link:hover{ color: var(--oxblood); }
.phone-link svg{ width: 16px; height: 16px; color: var(--oxblood); }

.menu-btn{ display: inline-flex; flex-direction: column; gap: 5px; background: transparent; border: 0; padding: 8px; cursor: pointer; }
@media (min-width: 1240px){ .menu-btn{ display: none; } }
.menu-btn span{ width: 24px; height: 2px; background: var(--ink); }
.mob-nav{ display: none; background: var(--paper); border-bottom: 1px solid var(--line); }
.mob-nav.open{ display: block; }
.mob-nav ul{ list-style: none; padding: 8px 24px 24px; }
.mob-nav li{ border-bottom: 1px solid var(--line); }
.mob-nav a{ display: block; padding: 12px 0; color: var(--ink); font-size: .92rem; }

/* HERO - full-bleed photo, headline bottom-left */
.hero{
  position: relative;
  min-height: 78vh;
  display: flex; align-items: flex-end;
  overflow: hidden; isolation: isolate;
  background: #1a1612;
}
.hero-bg{
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  filter: saturate(.88) brightness(.78);
}
.hero::before{
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, rgba(20,15,10,.82) 0%, rgba(20,15,10,.4) 60%, rgba(20,15,10,.1) 100%);
}
.hero-inner{
  padding: 100px 0 80px;
  max-width: 720px;
  color: #fff;
}
.hero-eyebrow{
  display: inline-flex; align-items: center; gap: 14px;
  font-size: .76rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--aged-deep);
  margin-bottom: 26px;
}
.hero-eyebrow::before{ content: ''; width: 32px; height: 1px; background: var(--aged-deep); }
.hero h1{
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.4rem, 5.6vw, 4.6rem);
  line-height: 1.05; letter-spacing: -.01em;
  color: #fff;
  margin-bottom: 22px;
}
.hero h1 em{ font-style: italic; color: var(--aged-deep); font-weight: 500; }
.hero p.lede{
  font-size: clamp(1.04rem, 1.65vw, 1.2rem);
  line-height: 1.55;
  color: rgba(255,255,255,.85);
  margin-bottom: 36px;
  max-width: 560px;
}
.hero-act{ display: flex; gap: 14px; flex-wrap: wrap; }

.btn{
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  font-size: .88rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; border: 0;
  transition: transform .15s ease, background .2s ease, color .2s ease;
}
.btn-primary{ background: var(--oxblood); color: #fff; }
.btn-primary:hover{ background: var(--oxblood-deep); transform: translateY(-1px); color: #fff; }
.btn-outline{ background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); }
.btn-outline:hover{ border-color: #fff; background: rgba(255,255,255,.06); color: #fff; }
.btn-dark{ background: var(--ink); color: var(--paper); }
.btn-dark:hover{ background: #000; color: #fff; }
.btn-aged{ background: var(--aged-deep); color: var(--ink); }
.btn-aged:hover{ background: var(--aged); color: var(--ink); }

/* Heritage strip */
.heritage{
  background: var(--ink);
  color: var(--paper);
  padding: 28px 0;
  border-bottom: 4px solid var(--oxblood);
}
.heritage-row{
  display: flex; justify-content: center; align-items: center;
  flex-wrap: wrap; gap: 36px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.05rem;
}
.heritage-row .it{ font-style: italic; color: var(--aged-deep); }
.heritage-row .dot{ width: 4px; height: 4px; background: var(--oxblood); border-radius: 50%; opacity: .6; }

/* SECTIONS */
section{ padding: 96px 0; }
@media (max-width: 720px){ section{ padding: 64px 0; } }

.section-head{ max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow{
  display: inline-block;
  font-size: .74rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--oxblood);
  margin-bottom: 16px; font-weight: 600;
}
.section-head h2{
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.06; letter-spacing: -.005em;
  color: var(--ink);
  margin-bottom: 16px;
}
.section-head h2 em{ font-style: italic; color: var(--oxblood); }
.section-head p.kicker{ font-size: 1.1rem; color: var(--ink-soft); max-width: 600px; margin: 0 auto; line-height: 1.6; }

/* About / Heritage */
.about{ background: var(--paper); }
.about-narrow{
  max-width: 760px; margin: 0 auto; text-align: center;
}
.about-narrow p{
  color: var(--ink-2); font-size: 1.08rem; line-height: 1.75;
  margin-bottom: 22px;
}
.about-narrow p.intro{
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.55rem; line-height: 1.5;
  color: var(--ink);
  margin-bottom: 32px;
}
.about-photos{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 48px;
}
@media (max-width: 720px){ .about-photos{ grid-template-columns: repeat(2, 1fr); } }
.about-photos .pp{
  aspect-ratio: 3/4;
  background-size: cover; background-position: center;
  filter: sepia(.12) saturate(.92);
}

/* Services list */
.services{ background: var(--aged); }
.svc-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 880px){ .svc-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px){ .svc-grid{ grid-template-columns: 1fr; } }
.svc-card{
  background: var(--paper);
  padding: 32px 26px;
  border-top: 3px solid var(--oxblood);
  text-decoration: none;
  color: var(--ink);
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex; flex-direction: column;
}
.svc-card:hover{ transform: translateY(-4px); box-shadow: 0 18px 36px rgba(26,22,18,.08); color: var(--ink); }
.svc-card .label{
  font-size: .7rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--oxblood); font-weight: 600;
  margin-bottom: 12px;
}
.svc-card h3{
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.45rem; font-weight: 600;
  margin-bottom: 12px; line-height: 1.1;
}
.svc-card p{ color: var(--ink-soft); font-size: .94rem; flex: 1; }
.svc-card .arrow{
  margin-top: 18px;
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--oxblood); font-weight: 600;
}
.svc-card .arrow::after{ content: ' →'; }

/* Gallery - before/after pair cards */
.gallery{ background: var(--paper); }
.pair-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}
@media (max-width: 720px){ .pair-grid{ grid-template-columns: 1fr; gap: 28px; } }
.pair-card{
  background: var(--aged);
  padding: 24px 24px 28px;
  border-bottom: 3px solid var(--oxblood);
}
.pair-card .pair-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}
.pair-card .pair-cell{
  aspect-ratio: 4/3;
  background-size: cover; background-position: center;
  cursor: zoom-in;
  position: relative;
}
.pair-card .pair-cell::before{
  content: attr(data-label);
  position: absolute; top: 8px; left: 8px;
  padding: 4px 10px;
  background: rgba(20,15,10,.78); color: #fff;
  font-size: .66rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 600;
}
.pair-card h4{
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem; font-weight: 600;
  margin-bottom: 4px;
}
.pair-card p{ font-size: .9rem; color: var(--ink-soft); line-height: 1.5; }

/* CTA */
.cta-band{
  background: var(--oxblood);
  color: #fff;
  padding: 88px 0;
  text-align: center;
}
.cta-band h2{
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.1; margin-bottom: 18px;
}
.cta-band h2 em{ font-style: italic; color: var(--aged-deep); }
.cta-band p{ max-width: 560px; margin: 0 auto 30px; color: rgba(255,255,255,.88); font-size: 1.05rem; }
.cta-band .btn-dark{ background: var(--ink); color: #fff; }
.cta-band .btn-aged{ background: var(--aged-deep); color: var(--ink); }
.cta-band .promise{
  display: block; margin-top: 26px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--aged-deep);
}

/* Contact */
.contact{ background: var(--paper); }
.c-grid{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px; align-items: start;
}
@media (max-width: 880px){ .c-grid{ grid-template-columns: 1fr; gap: 40px; } }
.c-form{ background: var(--aged); padding: 40px 36px; border-top: 4px solid var(--oxblood); }
.c-form .row{ display: grid; gap: 16px; margin-bottom: 16px; grid-template-columns: 1fr 1fr; }
@media (max-width: 600px){ .c-form .row{ grid-template-columns: 1fr; } }
.c-form label{
  display: block;
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 600;
  margin-bottom: 6px;
}
.c-form input, .c-form select, .c-form textarea{
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: inherit; font-size: 1rem; color: var(--ink);
  border-radius: 0;
}
.c-form input:focus, .c-form select:focus, .c-form textarea:focus{
  outline: 2px solid var(--oxblood); outline-offset: -2px;
}
.c-form textarea{ min-height: 130px; resize: vertical; }
.c-form button{ width: 100%; margin-top: 12px; }
.c-form .promise{ margin-top: 14px; font-size: .8rem; color: var(--ink-soft); }
.c-info h3{
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.75rem; font-weight: 600;
  margin-bottom: 22px;
}
.c-info dl{ display: grid; grid-template-columns: 100px 1fr; row-gap: 16px; align-items: baseline; }
.c-info dt{
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--oxblood); font-weight: 700;
}
.c-info dd{ color: var(--ink-2); }
.c-info dd a{ color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.c-info dd a:hover{ color: var(--oxblood); }
.c-map{ margin-top: 28px; border: 1px solid var(--line); }
.c-map iframe{ width: 100%; border: 0; display: block; }

/* Footer - centred narrow with family signature */
.site-footer{
  background: var(--ink);
  color: rgba(255,255,255,.72);
  padding: 80px 0 28px;
  text-align: center;
}
.foot-mark{
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.85rem; font-weight: 600;
  color: #fff;
  margin-bottom: 14px;
}
.foot-mark .amp{ color: var(--oxblood-soft); font-style: italic; font-weight: 500; }
.foot-tag{
  font-size: .8rem; letter-spacing: .26em; text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 32px;
}
.foot-signature{
  margin: 32px auto 24px;
  max-width: 500px;
  padding: 24px 32px;
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(255,255,255,.78);
  line-height: 1.6;
}
.foot-signature .surnames{
  display: block; margin-top: 8px;
  font-size: .76rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--oxblood-soft); font-style: normal;
  font-family: 'Inter', sans-serif; font-weight: 600;
}
.foot-links{ display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin-bottom: 24px; }
.foot-links a{ color: rgba(255,255,255,.7); font-size: .92rem; }
.foot-links a:hover{ color: #fff; }
.foot-contact{ display: flex; justify-content: center; gap: 26px; flex-wrap: wrap; font-size: .9rem; color: rgba(255,255,255,.7); margin-bottom: 24px; }
.foot-contact a{ color: rgba(255,255,255,.7); }
.foot-contact a:hover{ color: #fff; }
.foot-bottom{
  margin-top: 32px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: .78rem; color: rgba(255,255,255,.45);
}

/* Page hero */
.page-hero{
  background: var(--ink);
  color: #fff;
  padding: 96px 0 64px;
  position: relative; overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.page-hero-bg{
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  opacity: .32;
}
.page-hero h1{
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.06; letter-spacing: -.005em;
  margin-bottom: 16px;
}
.page-hero h1 em{ font-style: italic; color: var(--aged-deep); }
.page-hero p{ color: rgba(255,255,255,.82); max-width: 560px; margin: 0 auto; font-size: 1.05rem; }
.page-hero .crumbs{
  font-size: .74rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--aged-deep); margin-bottom: 22px;
}
.page-hero .crumbs a{ color: var(--aged-deep); }

/* Sub-page body */
.sub-body{ background: var(--paper); padding: 80px 0; }
.sub-narrow{ max-width: 820px; margin: 0 auto; }
.sub-narrow h2{
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  margin-bottom: 22px;
  color: var(--ink);
}
.sub-narrow p{ font-size: 1.04rem; color: var(--ink-2); margin-bottom: 18px; line-height: 1.7; }
.sub-narrow img{ margin: 24px 0; }
.sub-narrow .photo-row{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 32px 0;
}
@media (max-width: 560px){ .sub-narrow .photo-row{ grid-template-columns: 1fr; } }
.sub-narrow .photo-row .ph{
  aspect-ratio: 4/3;
  background-size: cover; background-position: center;
}

/* Lightbox */
.lb{
  position: fixed; inset: 0;
  background: rgba(10,7,5,.94);
  display: none; align-items: center; justify-content: center;
  padding: 24px; z-index: 100;
}
.lb.open{ display: flex; }
.lb img{ max-width: 92vw; max-height: 86vh; object-fit: contain; }
.lb-btn{ position: absolute; background: transparent; border: 0; color: #fff; font-size: 30px; cursor: pointer; width: 52px; height: 52px; }
.lb-close{ top: 16px; right: 16px; }
.lb-prev{ left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next{ right: 16px; top: 50%; transform: translateY(-50%); }

/* Sticky call */
.sticky-call{
  position: fixed; bottom: 14px; left: 14px; right: 14px;
  background: var(--oxblood); color: #fff;
  padding: 13px 18px;
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 600; font-size: .94rem;
  z-index: 50; text-decoration: none;
  box-shadow: 0 14px 28px rgba(107,34,34,.4);
}
.sticky-call:hover{ color: #fff; }
@media (min-width: 900px){ .sticky-call{ display: none; } }
