/* ==========================================================================
   Take the Pressure Off Ltd — site stylesheet
   Clean & fresh: white surfaces, logo green and blue as accents.
   ========================================================================== */

/* ---- Fonts (self-hosted) ---- */
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/outfit-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/outfit-latin-800-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2");
}

/* ---- Tokens ---- */
:root {
  --ink: #17211b;
  --ink-soft: #46534a;
  --green: #2e7d0f;
  --green-deep: #256b0b;
  --green-bright: #4ca819;
  --blue: #0f7ab5;
  --blue-bright: #1d9fe0;
  --wash: #f2f8f1;
  --wash-blue: #eef4f8;
  --line: #dde6dd;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(23, 33, 27, 0.10);
  --font-display: "Outfit", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --z-dropdown: 10;
  --z-sticky: 20;
  --z-nav: 30;
}

/* ---- Reset & base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
a { color: var(--blue); }
a:hover { color: var(--green); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.12;
  text-wrap: balance;
  color: var(--ink);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); letter-spacing: -0.015em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
.lead { font-size: 1.2rem; color: var(--ink-soft); }
.measure { max-width: 68ch; }

.container { width: min(1120px, 92vw); margin-inline: auto; }
.section { padding: clamp(3.2rem, 7vw, 5.5rem) 0; }
.section-tint { background: var(--wash); }
.section-tint-blue { background: var(--wash-blue); }
.center { text-align: center; }
.center .measure { margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: var(--z-nav);
  background: var(--ink); color: #fff; padding: 0.6rem 1rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.02rem;
  padding: 0.85rem 1.6rem; border-radius: 999px; text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 2px; }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 6px 18px rgba(46, 125, 15, 0.28); }
.btn-green:hover { background: var(--green-deep); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-white { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.btn-white:hover { color: var(--green); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }
.btn-row.center-row { justify-content: center; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-nav);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-bar {
  display: flex; align-items: center; gap: 1.2rem;
  padding: 0.55rem 0;
}
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 54px; height: 54px; border-radius: 50%; }
.brand strong {
  font-family: var(--font-display); font-weight: 800; font-size: 1.06rem; line-height: 1.15;
  display: block;
}
.brand small { display: block; font-size: 0.74rem; color: var(--ink-soft); font-weight: 600; letter-spacing: 0.01em; }

.nav { display: flex; align-items: center; gap: 0.2rem; }
.nav a {
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  color: var(--ink); text-decoration: none; padding: 0.55rem 0.75rem; border-radius: 8px;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--green); }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 3px; text-decoration-color: var(--green-bright); }

.has-dropdown { position: relative; }
.has-dropdown > a::after { content: " ▾"; font-size: 0.72em; }
.dropdown {
  position: absolute; top: 100%; left: 0; z-index: var(--z-dropdown);
  min-width: 240px; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); padding: 0.45rem;
  display: none; flex-direction: column;
}
.dropdown a { display: block; padding: 0.55rem 0.8rem; font-weight: 600; font-family: var(--font-body); font-size: 0.97rem; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { display: flex; }

.header-phone { white-space: nowrap; }
.nav-toggle {
  display: none; background: none; border: 2px solid var(--ink); border-radius: 10px;
  padding: 0.45rem 0.7rem; font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  color: var(--ink); cursor: pointer;
}

@media (max-width: 940px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 0.4rem; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 0.6rem 4vw 1rem;
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { padding: 0.7rem 0.4rem; border-bottom: 1px solid var(--wash); }
  .has-dropdown > a { display: none; }
  .dropdown { display: flex; position: static; border: 0; box-shadow: none; padding: 0; min-width: 0; }
  .header-phone { display: none; }
}

/* Mobile call bar */
.call-bar {
  display: none;
}
@media (max-width: 940px) {
  .call-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky);
    background: var(--green); color: #fff; text-decoration: none;
    align-items: center; justify-content: center; gap: 0.6rem;
    font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
    padding: 0.95rem 1rem; box-shadow: 0 -6px 18px rgba(23, 33, 27, 0.18);
  }
  body { padding-bottom: 3.6rem; }
}

/* ---- Hero ---- */
.hero { padding: clamp(2.6rem, 6vw, 5rem) 0 clamp(2.8rem, 6vw, 5rem); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(1.8rem, 4vw, 3.5rem);
  align-items: center;
}
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }
.hero .lead { font-size: 1.25rem; }
.hero-note { font-size: 0.95rem; color: var(--ink-soft); margin-top: 0.9rem; }
.hero-note strong { color: var(--ink); }

.page-hero { padding: clamp(2.6rem, 6vw, 4.2rem) 0; }
.page-hero .lead { max-width: 62ch; }

/* ---- Before / after reveal ---- */
.reveal {
  position: relative; margin: 0; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); cursor: pointer; background: var(--ink);
}
.reveal img { width: 100%; height: 100%; object-fit: cover; }
.reveal:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 3px; }
.reveal .after {
  position: absolute; inset: 0;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.9s cubic-bezier(0.65, 0, 0.35, 1);
}
.reveal.show-after .after { clip-path: inset(0 0 0 0); }
.reveal .tag {
  position: absolute; top: 0.9rem; left: 0.9rem; z-index: 2;
  background: rgba(23, 33, 27, 0.82); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.04em; padding: 0.3rem 0.85rem; border-radius: 999px;
  pointer-events: none; transition: background-color 0.4s ease;
}
.reveal.show-after .tag { background: var(--green); }
.reveal .hint {
  position: absolute; bottom: 0.9rem; right: 0.9rem; z-index: 2;
  background: rgba(255, 255, 255, 0.92); color: var(--ink);
  font-family: var(--font-display); font-weight: 700; font-size: 0.8rem;
  padding: 0.3rem 0.85rem; border-radius: 999px; pointer-events: none;
}
.reveal figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: 2.2rem 0.9rem 0.7rem;
  background: linear-gradient(transparent, rgba(23, 33, 27, 0.72));
  color: #fff; font-size: 0.92rem; font-weight: 600;
}
.reveal-tall { aspect-ratio: 4 / 5; }
.reveal-wide { aspect-ratio: 16 / 11; }

/* When JS is unavailable, show the finished result rather than the grime. */
html:not(.js) .reveal .after { clip-path: none; }
html:not(.js) .reveal .hint { display: none; }
html:not(.js) .reveal .tag { background: var(--green); }

.reveal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
@media (max-width: 900px) { .reveal-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .reveal-grid { grid-template-columns: 1fr; } }
.reveal-grid.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) { .reveal-grid.two { grid-template-columns: 1fr; } }

/* Simple photo pair (no interaction) */
.pair-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
@media (max-width: 640px) { .pair-grid { grid-template-columns: 1fr; } }
.photo-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin: 0; }
.photo-card img { width: 100%; }
.photo-card figcaption { padding: 0.65rem 1rem; background: #fff; font-size: 0.92rem; font-weight: 600; color: var(--ink-soft); }

/* ---- Service cards ---- */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
@media (max-width: 1000px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .card-grid { grid-template-columns: 1fr; } }
.service-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  text-decoration: none; color: var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 16px 38px rgba(23, 33, 27, 0.16); color: var(--ink); }
.service-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.service-card .card-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.service-card h3 { margin: 0; }
.service-card p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; flex: 1; }
.service-card .go { font-family: var(--font-display); font-weight: 700; color: var(--green); font-size: 0.95rem; margin-top: 0.7rem; }
.service-card:hover .go { text-decoration: underline; text-underline-offset: 4px; }

/* ---- Service list (what we clean) ---- */
.tick-list { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 0.85rem; }
.tick-list li { padding-left: 2.1rem; position: relative; }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: 0.28em;
  width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--green-bright) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 62% no-repeat;
}
.tick-list strong { font-family: var(--font-display); font-weight: 700; }
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: start; }
@media (max-width: 820px) { .split-2 { grid-template-columns: 1fr; } }

/* ---- Steps ---- */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: step; background: #fff; border-radius: var(--radius); padding: 1.4rem 1.3rem; box-shadow: var(--shadow); }
.steps li::before {
  content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: var(--blue-bright); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem;
  margin-bottom: 0.7rem;
}
.steps h3 { margin-bottom: 0.25em; }
.steps p { margin: 0; color: var(--ink-soft); font-size: 0.97rem; }

/* ---- Why us ---- */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem 2.2rem; }
@media (max-width: 720px) { .why-grid { grid-template-columns: 1fr; } }
.why-item { display: flex; gap: 0.9rem; align-items: flex-start; }
.why-item svg { width: 1.7rem; height: 1.7rem; flex: none; color: var(--blue-bright); margin-top: 0.15rem; }
.why-item p { margin: 0; color: var(--ink-soft); }
.why-item strong { display: block; color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }

/* ---- CTA band ---- */
.cta-band { background: var(--green); color: #fff; }
.cta-band h2, .cta-band p { color: #fff; }
.cta-band .lead { color: rgba(255, 255, 255, 0.92); }
.cta-band .btn-outline { border-color: #fff; color: #fff; }
.cta-band .btn-outline:hover { background: #fff; color: var(--green); }

/* ---- Georgie's band & page ---- */
.georgie-band { background: var(--wash-blue); }
.georgie-page h1, .georgie-page h2 { letter-spacing: 0; }
.georgie-quiet { font-size: 1.12rem; }

/* ---- Areas ---- */
.area-pills { display: flex; flex-wrap: wrap; gap: 0.6rem; padding: 0; list-style: none; margin: 0; }
.area-pills li {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 0.42rem 1.05rem; font-weight: 600; font-size: 0.97rem; color: var(--ink-soft);
}

/* ---- Contact ---- */
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
@media (max-width: 720px) { .contact-cards { grid-template-columns: 1fr; } }
.contact-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 2rem 1.8rem; text-align: center;
}
.contact-card svg { width: 2.4rem; height: 2.4rem; color: var(--green-bright); margin-bottom: 0.6rem; }
.contact-card h3 { margin-bottom: 0.2em; }
.contact-card p { color: var(--ink-soft); margin-bottom: 1rem; }
.contact-card .big-link {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  color: var(--ink); text-decoration: none; word-break: break-word;
}
.contact-card .big-link:hover { color: var(--green); }

/* ---- Footer ---- */
.site-footer { background: var(--ink); color: #c8d2c9; padding: 3.2rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.2rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h3 { color: #fff; font-size: 1.02rem; }
.site-footer a { color: #c8d2c9; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; }
.site-footer img { width: 74px; height: 74px; border-radius: 50%; margin-bottom: 0.9rem; }
.footer-note { border-top: 1px solid rgba(255, 255, 255, 0.14); margin-top: 2.4rem; padding-top: 1.4rem; font-size: 0.9rem; color: #97a59a; display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; justify-content: space-between; }
.footer-note a { color: #97a59a; }

/* ---- 404 ---- */
.notfound { min-height: 55vh; display: grid; place-items: center; text-align: center; }

/* ---- Motion ----
   Content is never hidden by default: the rise-and-fade is additive, applied
   only at the moment an element enters the viewport. If the script or the
   observer never runs, everything is simply visible. */
@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
html.js .fx.animate { animation: rise 0.6s ease both; }
html.js .fx-d1.animate { animation-delay: 0.08s; }
html.js .fx-d2.animate { animation-delay: 0.16s; }
html.js .fx-d3.animate { animation-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .fx.animate { animation: none; }
  .reveal .after { transition: opacity 0.3s ease; clip-path: none; opacity: 0; }
  .reveal.show-after .after { opacity: 1; }
  .btn, .service-card { transition: none; }
  .btn:hover, .service-card:hover { transform: none; }
}

/* ---- Print ---- */
@media print {
  .site-header, .call-bar, .cta-band, .site-footer { display: none; }
}
