/* John De Pasquale Tiling — Warboys, Cambridgeshire
   Bespoke build · Playfair Display + Inter · Terracotta + cream + gold
   Composition: full-bleed photo hero w/ centred narrow overlay,
   credential pills, masonry galleries, centred narrow footer. */

:root{
  --terra: #b75f3a;
  --terra-deep: #91482a;
  --terra-soft: #d8987a;
  --gold: #c39a3d;
  --ink: #1f1814;
  --ink-2: #3a2f28;
  --ink-soft: #6e5f54;
  --cream: #faf6f0;
  --cream-deep: #f0e8d9;
  --line: #e6dcc9;
  --paper: #fffdf9;
}

*{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(--cream);
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; height:auto; display:block; }
a{ color: var(--terra); text-decoration: none; }
a:hover{ color: var(--terra-deep); }

.serif{ font-family: 'Playfair Display', 'Cormorant Garamond', Georgia, serif; }
.container{ width: min(1180px, 92vw); margin: 0 auto; }

/* HEADER */
.site-header{
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 40;
}
.hd{
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0; gap: 22px;
}
.brand-mk{
  display: flex; align-items: baseline; gap: 14px;
  color: var(--ink); text-decoration: none;
}
.brand-mk .name{
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  letter-spacing: -.005em;
  line-height: 1.05;
}
.brand-mk .name .it{ font-style: italic; color: var(--terra); font-weight: 500; }
.brand-mk .sub{
  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 .sub{ display: inline-block; } }

.nav-list{ display:none; list-style: none; gap: 26px; align-items:center; }
@media (min-width: 980px){ .nav-list{ display: flex; } }
.nav-list a{
  color: var(--ink-2);
  font-size: .9rem;
  font-weight: 500;
  position: relative; padding: 6px 0;
  letter-spacing: .015em;
}
.nav-list a:hover, .nav-list a[aria-current="page"]{ color: var(--terra); }
.nav-list a::after{
  content: ''; position: absolute; left: 0; bottom: -3px;
  width: 0; height: 2px; background: var(--terra);
  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;
  background: transparent;
  color: var(--ink);
  font-weight: 600;
  font-size: .92rem;
  padding: 10px 0 10px 18px;
  border-left: 1px solid var(--line);
}
.phone-link:hover{ color: var(--terra); }
.phone-link svg{ width: 16px; height: 16px; color: var(--terra); }

.menu-btn{
  display: inline-flex; flex-direction: column; gap: 5px;
  background: transparent; border: 0; padding: 8px; cursor: pointer;
}
@media (min-width: 980px){ .menu-btn{ display: none; } }
.menu-btn span{ width: 24px; height: 2px; background: var(--ink); }
.mob-nav{
  display: none;
  background: var(--cream);
  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: 14px 0; color: var(--ink); font-weight: 500; }

/* HERO - full-bleed photo + centred narrow overlay */
.hero{
  position: relative;
  min-height: 86vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; isolation: isolate;
  text-align: center;
}
.hero-bg{
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  filter: saturate(.92) brightness(.78);
}
.hero::before{
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,15,12,.25) 0%, rgba(20,15,12,.55) 60%, rgba(20,15,12,.75) 100%);
}
.hero-inner{
  max-width: 720px;
  padding: 80px 24px;
  color: #fff;
}
.hero-eyebrow{
  display: inline-flex; align-items: center; gap: 18px;
  font-size: .76rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: #f0d9ad;
  margin-bottom: 30px;
}
.hero-eyebrow::before, .hero-eyebrow::after{
  content: ''; width: 36px; height: 1px; background: #f0d9ad;
}
.hero h1{
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.4rem, 5.6vw, 4.6rem);
  line-height: 1.06;
  letter-spacing: -.01em;
  margin-bottom: 24px;
}
.hero h1 em{ font-style: italic; color: #f0d9ad; }
.hero p.lede{
  font-size: clamp(1.05rem, 1.65vw, 1.18rem);
  line-height: 1.55;
  color: rgba(255,255,255,.85);
  margin-bottom: 38px;
  max-width: 560px; margin-left: auto; margin-right: auto;
}
.hero-act{ display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

.btn{
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  font-size: .9rem; 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(--terra); color: #fff; }
.btn-primary:hover{ background: var(--terra-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(--cream); }
.btn-dark:hover{ background: #000; color: #fff; }
.btn-light{ background: var(--cream); color: var(--ink); }
.btn-light:hover{ background: var(--cream-deep); }

/* CRED PILLS */
.creds-strip{
  background: var(--paper);
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.creds-row{
  display: flex; justify-content: center; align-items: center;
  flex-wrap: wrap; gap: 14px;
}
.cred-pill{
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 20px;
  background: var(--cream-deep);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.cred-pill::before{
  content: ''; width: 6px; height: 6px; background: var(--terra);
  border-radius: 50%;
}

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

.section-head{
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-head .eyebrow{
  display: inline-block;
  font-size: .74rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 18px;
  font-weight: 600;
}
.section-head h2{
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08; letter-spacing: -.01em;
  color: var(--ink);
  margin-bottom: 16px;
}
.section-head h2 em{ font-style: italic; color: var(--terra); }
.section-head p.kicker{ font-size: 1.08rem; color: var(--ink-soft); max-width: 560px; margin: 0 auto; }

/* About - centred narrow */
.about{ background: var(--paper); }
.about-narrow{
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.about-narrow p{
  color: var(--ink-2);
  font-size: 1.08rem;
  line-height: 1.7;
  margin-bottom: 22px;
}
.about-narrow p.lead-p{
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 32px;
}
.signature{
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1.3rem;
  color: var(--ink);
}
.signature .role{
  display: block;
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-size: .76rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--terra);
  margin-top: 8px;
  font-weight: 600;
}

/* CATEGORIES - 3 photo-blocks on home */
.categories{ background: var(--cream); }
.cat-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 880px){ .cat-grid{ grid-template-columns: 1fr; } }
.cat-card{
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  isolation: isolate;
}
.cat-card-bg{
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  transition: transform .6s ease;
}
.cat-card::before{
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,15,12,0) 40%, rgba(20,15,12,.78) 100%);
  transition: opacity .3s ease;
}
.cat-card:hover .cat-card-bg{ transform: scale(1.05); }
.cat-card .inner{
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 32px 28px;
}
.cat-card .label{
  display: inline-block;
  font-size: .72rem; letter-spacing: .26em; text-transform: uppercase;
  color: #f0d9ad;
  margin-bottom: 10px;
  font-weight: 600;
}
.cat-card h3{
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.5rem, 2.5vw, 1.95rem);
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.1;
}
.cat-card .view{
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.85);
  font-weight: 600;
}
.cat-card .view::after{ content: ' →'; }

/* Materials list */
.materials{ background: var(--ink); color: var(--cream); padding: 80px 0; }
.materials .mat-wrap{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center;
}
@media (max-width: 720px){ .materials .mat-wrap{ grid-template-columns: 1fr; } }
.materials h3{
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  line-height: 1.1;
  color: #fff; margin-bottom: 14px;
}
.materials h3 em{ font-style: italic; color: var(--terra-soft); }
.materials p{ color: rgba(255,255,255,.78); margin-bottom: 14px; }
.mat-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.mat-tag{
  padding: 16px 18px;
  background: rgba(255,255,255,.06);
  border-left: 2px solid var(--terra);
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1.1rem;
  color: #fff;
}

/* Page hero (sub-pages) */
.page-hero{
  background: var(--ink);
  color: #fff;
  padding: 96px 0 60px;
  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: .35;
}
.page-hero h1{
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.4rem, 4.8vw, 3.6rem);
  line-height: 1.08;
  margin-bottom: 18px;
}
.page-hero h1 em{ font-style: italic; color: #f0d9ad; }
.page-hero p{ color: rgba(255,255,255,.82); max-width: 540px; margin: 0 auto; font-size: 1.08rem; }
.page-hero .crumbs{
  font-size: .74rem; letter-spacing: .26em; text-transform: uppercase;
  color: rgba(240,217,173,.85); margin-bottom: 22px;
}
.page-hero .crumbs a{ color: rgba(240,217,173,.85); }

/* GALLERY - masonry-ish */
.gallery-page{ background: var(--cream); padding: 80px 0 96px; }
.masonry{
  column-count: 3;
  column-gap: 16px;
}
@media (max-width: 880px){ .masonry{ column-count: 2; } }
@media (max-width: 560px){ .masonry{ column-count: 1; } }
.masonry .m-item{
  break-inside: avoid;
  margin-bottom: 16px;
  display: block;
  cursor: zoom-in;
  overflow: hidden;
  position: relative;
  background: var(--cream-deep);
}
.masonry .m-item img{
  width: 100%; height: auto; display: block;
  transition: transform .4s ease;
}
.masonry .m-item:hover img{ transform: scale(1.03); }
.masonry .m-item::after{
  content: '';
  position: absolute; inset: 0;
  background: rgba(20,15,12,0);
  transition: background .25s ease;
}
.masonry .m-item:hover::after{ background: rgba(20,15,12,.15); }

/* CTA */
.cta-band{
  background: var(--terra);
  color: #fff;
  padding: 88px 0;
  text-align: center;
}
.cta-band h2{
  font-family: 'Playfair Display', 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(--cream); }
.cta-band p{ max-width: 560px; margin: 0 auto 32px; color: rgba(255,255,255,.92); font-size: 1.05rem; }
.cta-band .btn-dark{ background: var(--ink); color: #fff; }
.cta-band .btn-outline{ border-color: rgba(255,255,255,.5); color: #fff; }

/* 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(--cream); padding: 40px 36px; border-top: 4px solid var(--terra); }
.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: .74rem; letter-spacing: .16em; 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(--terra); 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: 'Playfair Display', Georgia, serif;
  font-size: 1.7rem;
  font-weight: 600;
  margin-bottom: 26px;
}
.c-info dl{ display: grid; grid-template-columns: 100px 1fr; row-gap: 18px; align-items: baseline; }
.c-info dt{
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--terra); font-weight: 700;
}
.c-info dd a{ color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.c-info dd a:hover{ color: var(--terra); }
.c-map{ margin-top: 32px; border: 1px solid var(--line); }
.c-map iframe{ width: 100%; border: 0; display: block; }

/* FOOTER - centred narrow */
.site-footer{
  background: var(--ink);
  color: rgba(255,255,255,.7);
  padding: 64px 0 28px;
  text-align: center;
}
.foot-mark{
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem; font-weight: 600;
  color: #fff;
  margin-bottom: 14px;
}
.foot-mark .it{ font-style: italic; color: var(--terra-soft); }
.foot-tag{
  font-size: .8rem; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 28px;
}
.foot-links{
  display: flex; justify-content: center; gap: 26px; flex-wrap: wrap;
  margin-bottom: 18px;
}
.foot-links a{ color: rgba(255,255,255,.72); font-size: .92rem; }
.foot-links a:hover{ color: #fff; }
.foot-cred-row{
  display: flex; justify-content: center; gap: 14px; flex-wrap: wrap;
  margin-top: 18px;
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.foot-cred-row span::after{ content: ' · '; color: var(--terra-soft); padding: 0 4px; }
.foot-cred-row span:last-child::after{ display: none; }
.foot-bottom{
  margin-top: 36px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .78rem;
  color: rgba(255,255,255,.5);
}

/* 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 mobile call */
.sticky-call{
  position: fixed; bottom: 14px; left: 14px; right: 14px;
  background: var(--terra); 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(183,95,58,.4);
}
.sticky-call:hover{ color: #fff; }
@media (min-width: 900px){ .sticky-call{ display: none; } }
