/*
Theme Name: Londoners Flooring
Theme URI: https://www.londonersflooring.co.uk/
Author: Londoners Flooring
Author URI: https://www.londonersflooring.co.uk/
Description: A warm, editorial redesign for Londoners Flooring — a family-run London flooring business. Serif display type, cream palette, terracotta accent, and category pages that lead with the category description.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: londoners-flooring
Tags: blog, one-column, two-columns, custom-menu, featured-images, threaded-comments, translation-ready, block-styles
*/

:root{
  --ink:#1a1613;
  --ink-soft:#4b4038;
  --paper:#f5efe4;
  --paper-2:#efe6d5;
  --cream:#faf6ed;
  --line:#e2d6bd;
  --accent:#b7513b;
  --accent-ink:#7a3222;
  --gold:#c39858;
  --radius:14px;
  --shadow:0 10px 30px rgba(43,29,17,0.08);
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:'Fraunces',Georgia,serif;
  font-family:'Inter',system-ui,-apple-system,sans-serif;
  color:var(--ink);
  background:var(--cream);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--accent-ink);text-decoration:none}
a:hover{text-decoration:underline}
h1,h2,h3,h4{font-family:'Fraunces',Georgia,serif;font-weight:600;letter-spacing:-0.01em;line-height:1.15;margin:0 0 .5em}
h1{font-size:clamp(2.4rem,5vw,4rem);font-weight:500}
h2{font-size:clamp(1.8rem,3.5vw,2.6rem);font-weight:500}
h3{font-size:1.35rem;font-weight:600}
h1 em,h2 em,.brand-name em{font-style:italic;font-weight:400;color:var(--accent)}
p{margin:0 0 1em}
.wrap{max-width:1180px;margin:0 auto;padding:0 1.5rem}
.muted{color:var(--ink-soft)}
.eyebrow{display:inline-block;font-family:'Inter',sans-serif;text-transform:uppercase;letter-spacing:.18em;font-size:.72rem;font-weight:600;color:var(--accent);margin-bottom:.75rem}
.lede{font-size:1.1rem;color:var(--ink-soft);max-width:60ch}

/* Header */
.site-header{position:sticky;top:0;z-index:20;backdrop-filter:blur(10px);background:rgba(250,246,237,.85);border-bottom:1px solid var(--line)}
.header-row{display:flex;align-items:center;gap:2rem;padding:1rem 1.5rem}
.brand{display:flex;align-items:center;gap:.6rem;font-family:'Fraunces',serif;font-size:1.15rem;font-weight:500;color:var(--ink)}
.brand:hover{text-decoration:none}
.brand-mark{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:var(--ink);color:var(--cream);font-family:'Fraunces',serif;font-weight:600;font-size:.85rem}
.site-nav{display:flex;gap:1.5rem;margin-left:auto;flex-wrap:wrap;list-style:none;padding:0}
.site-nav a{color:var(--ink);font-size:.92rem;font-weight:500;position:relative;padding:.25rem 0}
.site-nav a:hover{text-decoration:none;color:var(--accent-ink)}
.site-nav .current-menu-item > a,.site-nav .current_page_item > a,.site-nav .current-cat > a{color:var(--accent-ink)}
.site-nav .current-menu-item > a::after,.site-nav .current_page_item > a::after,.site-nav .current-cat > a::after{content:"";position:absolute;bottom:-4px;left:0;right:0;height:2px;background:var(--accent);border-radius:2px}
.quote-btn{background:var(--ink);color:var(--cream)!important;padding:.55rem 1rem;border-radius:999px;font-size:.88rem;font-weight:500}
.quote-btn:hover{background:var(--accent);text-decoration:none}

/* Buttons */
.btn{display:inline-flex;align-items:center;gap:.5rem;padding:.9rem 1.4rem;border-radius:999px;font-weight:500;font-size:.95rem;transition:transform .15s,background .15s,color .15s;border:1px solid transparent;cursor:pointer}
.btn--primary{background:var(--ink);color:var(--cream)}
.btn--primary:hover{background:var(--accent);text-decoration:none;color:var(--cream);transform:translateY(-1px)}
.btn--ghost{background:transparent;border-color:var(--ink);color:var(--ink)}
.btn--ghost:hover{background:var(--ink);color:var(--cream);text-decoration:none}

/* Hero */
.hero{padding:3rem 0 4rem;background:linear-gradient(180deg,var(--cream) 0,var(--paper) 100%)}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:3rem;align-items:center}
.hero-copy h1{margin-top:.4rem}
.hero-cta{display:flex;gap:.75rem;margin:1.5rem 0 2rem;flex-wrap:wrap}
.hero-marks{list-style:none;padding:0;margin:0;display:flex;gap:2rem;border-top:1px solid var(--line);padding-top:1.25rem;flex-wrap:wrap}
.hero-marks li{display:flex;flex-direction:column;gap:.15rem}
.hero-marks strong{font-family:'Fraunces',serif;font-size:1.7rem;font-weight:500;color:var(--ink)}
.hero-marks span{font-size:.8rem;color:var(--ink-soft);text-transform:uppercase;letter-spacing:.1em}
.hero-img{position:relative;aspect-ratio:4/5;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
.hero-img img{width:100%;height:100%;object-fit:cover}
.hero-badge{position:absolute;bottom:1.25rem;left:1.25rem;background:var(--cream);border-radius:12px;padding:.75rem 1rem;box-shadow:var(--shadow)}
.hero-badge strong{display:block;font-family:'Fraunces',serif;font-size:1.05rem;color:var(--ink)}

/* Sections */
.section{padding:5rem 0}
.section.alt{background:var(--paper)}
.section-head{max-width:640px;margin:0 auto 2.5rem;text-align:center}

/* Services */
.svc-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.25rem}
.svc-card{display:flex;flex-direction:column;background:var(--cream);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;color:var(--ink);transition:transform .2s,box-shadow .2s;text-decoration:none}
.svc-card:hover{transform:translateY(-3px);box-shadow:var(--shadow);text-decoration:none}
.svc-img{aspect-ratio:4/3;overflow:hidden}
.svc-img img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.svc-card:hover .svc-img img{transform:scale(1.05)}
.svc-body{padding:1.25rem 1.25rem 1.5rem;flex:1;display:flex;flex-direction:column}
.svc-body h3{margin:.2rem 0 .6rem}
.svc-body p{color:var(--ink-soft);font-size:.94rem;flex:1}
.arrow-link{font-weight:500;color:var(--accent-ink);font-size:.92rem;margin-top:.75rem}

/* Craft */
.craft-grid{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center}
.tick-list{list-style:none;padding:0;margin:1.5rem 0 2rem}
.tick-list li{padding:.5rem 0 .5rem 1.5rem;position:relative;border-bottom:1px dashed var(--line)}
.tick-list li::before{content:"";position:absolute;left:0;top:1.1rem;width:.6rem;height:.6rem;border-radius:50%;background:var(--accent)}
.craft-img{aspect-ratio:5/4;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
.craft-img img{width:100%;height:100%;object-fit:cover}

/* Post grid */
.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem}
.post-card{background:var(--cream);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:transform .2s,box-shadow .2s}
.post-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.post-card-link{display:block;padding:1.5rem;color:var(--ink)}
.post-card-link:hover{text-decoration:none}
.post-card h3{font-size:1.2rem;margin:.3rem 0 .6rem}
.post-card p{color:var(--ink-soft);font-size:.94rem}

/* CTA */
.cta{background:var(--ink);color:var(--cream);padding:4.5rem 0}
.cta h2{color:var(--cream)}
.cta-inner{text-align:center;max-width:640px;margin:0 auto}
.cta p{color:rgba(245,239,228,.75)}
.cta .btn--primary{background:var(--accent);color:var(--cream);margin-top:1rem}
.cta .btn--primary:hover{background:var(--cream);color:var(--ink)}

/* Footer */
.site-footer{background:var(--paper-2);color:var(--ink);padding:3.5rem 0 2rem;border-top:1px solid var(--line)}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:2rem;margin-bottom:2rem}
.foot-list{list-style:none;padding:0;margin:0}
.foot-list li{padding:.3rem 0}
.foot-list a{color:var(--ink)}
.brand--footer{margin-bottom:.75rem}
.foot-bottom{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:1.25rem;font-size:.85rem;color:var(--ink-soft);flex-wrap:wrap;gap:.5rem}

/* Category / archive */
.cat-hero{padding:3rem 0 4rem;background:linear-gradient(180deg,var(--cream) 0,var(--paper) 100%)}
.cat-hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:3rem;align-items:center}
.crumb{display:inline-block;margin-bottom:1rem;color:var(--ink-soft);font-size:.9rem}
.cat-hero-img{aspect-ratio:4/3;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
.cat-hero-img img{width:100%;height:100%;object-fit:cover}
.cat-description{font-size:1.1rem;color:var(--ink-soft);margin-bottom:1.5rem}

/* Post */
.post-page{padding:3rem 0 4rem}
.post-head{max-width:760px;margin:0 auto 2rem;text-align:left}
.post-body{max-width:720px;margin:0 auto;font-size:1.05rem}
.post-body h2{font-size:1.6rem;margin-top:2rem}
.post-body p,.post-body li{color:var(--ink)}
.post-body ul,.post-body ol{padding-left:1.2rem}
.post-body figure{margin:1.5rem 0}
.post-body figure img{border-radius:var(--radius)}
.post-meta{color:var(--ink-soft);font-size:.9rem;margin-bottom:1rem}
.post-foot{max-width:720px;margin:2.5rem auto 0;text-align:center}

/* Pagination */
.pagination{max-width:720px;margin:2rem auto;text-align:center}
.pagination .page-numbers{display:inline-block;padding:.5rem .9rem;margin:.15rem;border-radius:8px;background:var(--paper);color:var(--ink);border:1px solid var(--line)}
.pagination .page-numbers.current{background:var(--ink);color:var(--cream)}

/* Comments */
.comments-area{max-width:720px;margin:3rem auto;padding:0 1.5rem}

/* Responsive */
@media (max-width:960px){
  .hero-grid,.craft-grid,.cat-hero-grid,.footer-grid{grid-template-columns:1fr}
  .svc-grid{grid-template-columns:repeat(2,1fr)}
  .post-grid{grid-template-columns:repeat(2,1fr)}
  .site-nav{display:none}
}
@media (max-width:560px){
  .svc-grid,.post-grid{grid-template-columns:1fr}
  .section{padding:3.5rem 0}
  .hero{padding:2rem 0 3rem}
}
