/* folkestonehandyman.co.uk - premium light coastal theme. Lora + Source Sans 3. Deep navy + brass gold on white. */
:root {
  --oak: #c6963c;
  --oak-deep: #a87b2c;
  --oak-soft: #dcb669;
  --putty: #faf8f4;
  --putty-dim: #c3cdd6;
  --brick: #1b3a52;
  --brick-deep: #10263a;
  --charcoal: #142a3d;
  --charcoal-soft: #3a5064;
  --ink: #16232c;
  --ink-soft: #4c5c6b;
  --rule: #e5e1d6;
  --rule-dark: #d2ccbb;
  --surface: #ffffff;

  --shadow: 0 1px 3px rgba(20,42,61,0.06), 0 2px 10px rgba(20,42,61,0.05);
  --shadow-lg: 0 6px 20px rgba(20,42,61,0.09), 0 16px 40px rgba(20,42,61,0.08);
  --max: 1120px;
  --content: 68ch;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--putty);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .serif {
  font-family: 'Lora', 'Times New Roman', Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.15;
  color: var(--charcoal);
}
h1 { font-size: clamp(2.3rem, 4.6vw, 3.4rem); margin: 0 0 0.5em; font-weight: 600; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.3rem); margin: 1.8em 0 0.55em; }
h3 { font-size: 1.35rem; margin: 1.4em 0 0.4em; }
h4 { font-size: 1.05rem; margin: 1.2em 0 0.4em; }
p { margin: 0 0 1.1em; }

a { color: var(--brick); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--oak-deep); }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--oak-deep);
  outline-offset: 2px;
}

.container { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
.prose { max-width: var(--content); margin: 0 auto; padding: 0 1.5rem; }

/* Topbar */
.topbar { background: var(--charcoal); color: var(--putty); font-size: 0.875rem; padding: 0.55rem 0; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.topbar a { color: var(--putty-dim); text-decoration: none; }
.topbar a:hover { color: var(--putty); }
.topbar span em { color: var(--oak-soft); font-style: italic; font-family: 'Lora', serif; font-size: 1.02rem; font-weight: 500; }
.pensioner-pill { display:inline-block; background: var(--oak-deep); color: #fff; padding:.2rem .6rem; border-radius:.25rem; font-size:.82rem; font-weight:600; margin-right:.6rem; }

/* Header */
header.site { background: rgba(255,255,255,0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); padding: 1.05rem 0; position: sticky; top: 0; z-index: 50; box-shadow: var(--shadow); }
header.site .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: center; gap: 0.65rem; font-family: 'Lora', serif; font-size: 1.7rem; font-weight: 700; color: var(--charcoal); text-decoration: none; line-height: 1; }
.brand::before { content: ''; display: inline-block; width: 34px; height: 34px; flex-shrink: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' rx='8' fill='%231b3a52'/%3E%3Cpath d='M6 20 Q10 13 16 13 Q22 13 26 20' stroke='%23c6963c' stroke-width='2.4' fill='none' stroke-linecap='round'/%3E%3Ccircle cx='16' cy='9' r='2.6' fill='%23c6963c'/%3E%3C/svg%3E"); background-size: contain; background-repeat: no-repeat; }
.brand .ampersand { color: var(--oak-deep); padding: 0 0.15em; font-weight: 500; }
.brand small { display: block; font-family: 'Source Sans 3', sans-serif; font-size: 0.68rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); margin-top: 0.25rem; }
nav.primary ul { display: flex; gap: 1.7rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
nav.primary a { color: var(--charcoal); text-decoration: none; font-weight: 500; font-size: 0.95rem; position: relative; padding: 0.25rem 0; }
nav.primary a:hover { color: var(--oak-deep); }
nav.primary a.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -0.4rem; height: 2px; background: var(--oak-deep); }

/* Hero - premium light, coastal graphic */
.hero {
  background: linear-gradient(180deg, #eef3f6 0%, var(--putty) 100%);
  color: var(--ink);
  padding: 5.5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
}
.hero::before {
  content: '';
  position: absolute; right: -6%; top: -8%; width: 62%; max-width: 620px; aspect-ratio: 1/1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400'%3E%3Cg fill='none' stroke='%23c6963c' stroke-width='1.4' opacity='0.35'%3E%3Ccircle cx='200' cy='200' r='60'/%3E%3Ccircle cx='200' cy='200' r='110'/%3E%3Ccircle cx='200' cy='200' r='160'/%3E%3C/g%3E%3Cg fill='none' stroke='%231b3a52' stroke-width='2' opacity='0.14'%3E%3Cpath d='M20 260 Q100 230 180 260 T340 260'/%3E%3Cpath d='M0 300 Q90 270 180 300 T360 300'/%3E%3Cpath d='M20 340 Q100 315 180 340 T340 340'/%3E%3C/g%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat; pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { max-width: 720px; color: var(--charcoal); }
.hero .lede { font-size: 1.2rem; max-width: 600px; color: var(--ink-soft); margin-bottom: 2rem; }
.hero .section-eyebrow { color: var(--oak-deep); }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero.hero-light { background: linear-gradient(180deg, #eef3f6 0%, var(--putty) 100%); padding: 3.5rem 0 2.5rem; }
.hero.hero-light::before { opacity: 0.7; width: 46%; }

/* Buttons */
.btn { display: inline-block; padding: 0.9rem 1.8rem; font-weight: 600; font-size: 0.98rem; text-decoration: none; border-radius: 8px; transition: all 0.15s ease; border: 2px solid transparent; cursor: pointer; font-family: 'Source Sans 3', sans-serif; }
.btn-primary { background: var(--brick); color: #fff; border-color: var(--brick); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--brick-deep); border-color: var(--brick-deep); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-ghost { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn-ghost:hover { background: var(--charcoal); color: #fff; }

section { padding: 4rem 0; background: var(--putty); }
section.tight { padding: 2rem 0; }
section.alt { background: #f0ece2; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section-eyebrow { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: var(--oak-deep); margin: 0 0 0.5em; font-family: 'Source Sans 3', sans-serif; }

.grid { display: grid; gap: 1.6rem; }
.grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
  .grid-4 .card { padding: 1.4rem; }
}

.card { background: var(--surface); border: 1px solid var(--rule); padding: 1.8rem; border-radius: 14px; transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--oak), var(--brick)); opacity: 0; transition: opacity 0.15s ease; }
section.alt .card { background: var(--surface); border-color: var(--rule-dark); }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--oak-soft); }
.card:hover::before { opacity: 1; }
.card h3 { margin-top: 0; }
.card a.card-link { color: var(--charcoal); text-decoration: none; }
.card a.card-link:hover { color: var(--oak-deep); }
.card .more { display: inline-block; margin-top: 0.5rem; font-size: 0.9rem; font-weight: 600; color: var(--brick); text-decoration: none; font-family: 'Source Sans 3', sans-serif; }
.card .more::after { content: ' →'; }

.promise { background: var(--surface); border: 1px solid var(--rule); padding: 1.8rem; border-radius: 14px; box-shadow: var(--shadow); }
.promise h3 { margin: 0 0 0.5em; font-size: 1.15rem; color: var(--charcoal); font-family: 'Lora', serif; font-weight: 600; }
.promise p { margin: 0; font-size: 0.95rem; color: var(--ink-soft); line-height: 1.55; }
.promise .icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--oak), var(--oak-deep)); color: #fff; margin-bottom: 0.9rem; box-shadow: var(--shadow); }
.promise .icon svg { width: 22px; height: 22px; }
.guarantee-pill { display: inline-block; background: var(--surface); color: var(--charcoal); border: 1px solid var(--rule-dark); padding: 0.4rem 1rem; border-radius: 999px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.03em; margin: 0.5rem 0.5rem 0 0; box-shadow: var(--shadow); }
.guarantee-pill::before { content: '●'; color: var(--oak); margin-right: 0.4em; font-size: 0.6em; vertical-align: middle; }

.panel { background: linear-gradient(155deg, var(--charcoal) 0%, var(--brick) 100%); color: var(--putty); padding: 2.5rem; border-radius: 16px; position: relative; box-shadow: var(--shadow-lg); overflow: hidden; }
.panel::after { content: ''; position: absolute; right: -60px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle at center, rgba(198,150,60,0.25) 0%, transparent 70%); pointer-events: none; }
.panel h2, .panel h3 { color: #fff; margin-top: 0; }
.panel .lede { color: rgba(250,248,244,0.85); }
.panel p { position: relative; z-index: 1; }
.panel a { color: var(--oak-soft); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; font-weight: 600; }
.panel a:hover { color: #fff; }
.panel .section-eyebrow { color: var(--oak-soft); }

footer.site { background: var(--charcoal); color: var(--putty-dim); padding: 3rem 0 2rem; margin-top: 4rem; }
footer.site h4 { color: #fff; font-size: 0.95rem; margin: 0 0 0.8em; font-family: 'Source Sans 3', sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin: 0.4rem 0; }
footer.site a { color: var(--putty-dim); text-decoration: none; font-size: 0.95rem; }
footer.site a:hover { color: var(--oak-soft); }
.foot-grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 2.5rem; padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: 0.85rem; color: var(--putty-dim); }

article.guide { padding: 3rem 0; }
article.guide .meta { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 0.1em; font-family: 'Source Sans 3', sans-serif; }
article.guide .meta a { color: var(--brick); }
article.guide blockquote { border-left: 3px solid var(--oak); margin: 1.8em 0; padding: 0.5em 0 0.5em 1.5em; font-style: italic; color: var(--ink-soft); font-family: 'Lora', serif; font-size: 1.25rem; line-height: 1.5; }
article.guide ul, article.guide ol { margin: 0 0 1.2em; padding-left: 1.5em; }
article.guide li { margin: 0.4em 0; }
article.guide .callout { background: var(--surface); border-left: 3px solid var(--oak); padding: 1.2rem 1.5rem; margin: 1.8em 0; border-radius: 0 10px 10px 0; box-shadow: var(--shadow); }
article.guide .callout h4 { margin-top: 0; color: var(--charcoal); }

.callout { background: var(--surface); border-left: 3px solid var(--oak); padding: 1.2rem 1.5rem; margin: 1.8em 0; border-radius: 0 10px 10px 0; box-shadow: var(--shadow); }
.callout h4 { margin-top: 0; color: var(--charcoal); }

.job { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: start; padding: 1.5rem 0; border-bottom: 1px solid var(--rule); }
.job:last-child { border-bottom: none; }
.job-date { font-family: 'Lora', serif; font-size: 1.05rem; color: var(--oak-deep); font-weight: 600; min-width: 95px; }
.job-where { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-soft); margin-bottom: 0.3rem; font-family: 'Source Sans 3', sans-serif; }
.job h3 { margin: 0 0 0.4em; font-size: 1.15rem; }
.job p { margin: 0; font-size: 0.95rem; color: var(--ink-soft); }
.job .price { font-family: 'Lora', serif; font-size: 1.3rem; color: var(--charcoal); font-weight: 600; white-space: nowrap; }

.muted { color: var(--ink-soft); }
.center { text-align: center; }

.wa-btn { display: inline-flex; align-items: center; gap: 0.5rem; background: #25d366; color: #fff !important; padding: 0.45rem 0.85rem; border-radius: 999px; font-weight: 600; font-size: 0.85rem; text-decoration: none !important; transition: background 0.15s ease; }
.wa-btn:hover { background: #1ebe57; color: #fff !important; }
.wa-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn.wa-btn-lg { background: #25d366; border-color: #25d366; color: #fff; padding: 0.9rem 1.6rem; border-radius: 8px; display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.98rem; box-shadow: var(--shadow); }
.btn.wa-btn-lg:hover { background: #1ebe57; border-color: #1ebe57; color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn.wa-btn-lg svg { width: 20px; height: 20px; }
.topbar .wa-btn { padding: 0.25rem 0.7rem; font-size: 0.8rem; }
.topbar .wa-btn svg { width: 14px; height: 14px; }

@media (max-width: 700px) {
  nav.primary ul { gap: 1rem; font-size: 0.9rem; }
  header.site .container { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .hero { padding: 2.5rem 0 2rem; }
  .hero::before { width: 70%; opacity: 0.5; }
  .panel { padding: 2rem 1.5rem; }
  .job { grid-template-columns: 1fr; gap: 0.4rem; }
  .job-date { font-size: 0.95rem; }
  .topbar .wa-btn { display: none; }
}
