/* Wallflower Projects: site styles
   Colours, fonts and spacing live in :root so they can be changed in one place. */

:root {
  --teal: #0C2C33;
  --cream: #F6F4EE;
  --white: #FBFBFB;
  --ink: #14201F;
  --ink-2: #2A3836;
  --muted: #45524F;
  --line: #C9C5B8;
  --error: #9B2C2C;

  --serif-display: 'Cormorant Garamond', Georgia, serif;
  --serif: 'EB Garamond', Georgia, serif;
  --sans: 'Jost', Arial, sans-serif;

  --gutter: max(20px, 5%);
  --section: 112px;
  --max: 1200px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.55;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--ink); text-underline-offset: 4px; }
a:hover { color: var(--muted); }

:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.on-teal :focus-visible { outline-color: var(--cream); }

p, h1, h2, h3, ul, figure, blockquote { margin: 0; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 10;
  background: var(--teal); color: var(--cream); padding: 10px 16px;
  font-family: var(--sans); font-size: 14px;
}
.skip-link:focus { top: 12px; color: var(--cream); }

/* ---------- Type ---------- */

h1, .h1 {
  font-family: var(--serif-display); font-weight: 500;
  font-size: clamp(40px, 4.6vw, 68px); line-height: 1.06; letter-spacing: 0.01em;
}
h2, .h2 {
  font-family: var(--serif-display); font-weight: 500;
  font-size: clamp(32px, 3.2vw, 46px); line-height: 1.1; letter-spacing: 0.02em;
}
.h2-small { font-size: clamp(28px, 2.6vw, 38px); }
h3, .h3 {
  font-family: var(--serif-display); font-weight: 500;
  font-size: 30px; line-height: 1.1; letter-spacing: 0.02em;
}
.eyebrow {
  font-family: var(--sans); font-weight: 500; font-size: 13px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.on-teal .eyebrow { color: var(--cream); }
.lede { font-size: 21px; line-height: 1.5; color: var(--ink-2); max-width: 560px; }
.on-teal .lede { color: var(--cream); }
.note { font-size: 17px; font-style: italic; color: var(--muted); }
.muted { color: var(--muted); }
.price { font-family: var(--serif-display); font-weight: 500; font-size: 30px; line-height: 1.2; }
.prose { display: flex; flex-direction: column; gap: 18px; max-width: 680px; }
.prose h2 { margin-top: 28px; }
.prose h3 { font-size: 26px; margin-top: 16px; }
.prose ul { padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; }

/* ---------- Layout ---------- */

.section { padding: var(--section) var(--gutter); }
.section-tight { padding-top: 0; }
.bg-white { background: var(--white); }
.bg-cream { background: var(--cream); }
.bg-teal, .on-teal { background: var(--teal); color: var(--cream); }
.wrap { max-width: var(--max); margin: 0 auto; display: flex; flex-direction: column; gap: 56px; }
.wrap-narrow { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 22px; }
.center { align-items: center; text-align: center; }
.stack { display: flex; flex-direction: column; gap: 22px; }
.stack-sm { display: flex; flex-direction: column; gap: 14px; }
.intro { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 56px 72px; }
.split > * { flex: 1 1 420px; min-width: 0; }
.split-reverse { flex-wrap: wrap-reverse; }
.row { display: flex; flex-wrap: wrap; gap: 32px; }
.row > * { flex: 1 1 320px; min-width: 0; }
.ruled { border-top: 1px solid var(--line); padding-top: 72px; }

/* ---------- Header ---------- */

.site-header {
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  padding: 36px var(--gutter) 10px; background: var(--white); border-bottom: 1px solid var(--line);
}
.logo { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--teal); text-align: center; }
.logo:hover { color: var(--teal); }
.logo-mark { width: 72px; height: 72px; display: block; }
.logo-word {
  margin-top: 22px; font-family: var(--sans); font-weight: 500; font-size: 20px; line-height: 1;
  letter-spacing: 0.24em; padding-left: 0.24em; text-transform: uppercase; white-space: nowrap;
}
.logo-tag { margin-top: 12px; font-family: var(--serif); font-size: 16px; line-height: 1.3; color: var(--ink); }
.site-nav { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 32px; }
.site-nav a {
  font-family: var(--sans); font-weight: 500; font-size: 13px; letter-spacing: 0.14em;
  text-transform: uppercase; text-decoration: none; padding: 12px 0; line-height: 20px;
}
.site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.site-nav .btn { padding: 0 22px; min-height: 44px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 30px; border: 1px solid var(--teal);
  color: var(--teal); background: transparent;
  font-family: var(--sans); font-weight: 500; font-size: 13px; letter-spacing: 0.16em;
  text-transform: uppercase; text-decoration: none; cursor: pointer; text-align: center;
}
.btn:hover { background: var(--teal); color: var(--cream); }
.btn-solid { background: var(--teal); color: var(--cream); }
.btn-solid:hover { background: #1F4A4F; border-color: #1F4A4F; color: var(--cream); }
.on-teal .btn { border-color: var(--cream); color: var(--cream); }
.on-teal .btn:hover { background: var(--cream); color: var(--teal); }
.on-teal .btn-solid { background: var(--cream); color: var(--teal); }
.on-teal .btn-solid:hover { background: transparent; color: var(--cream); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.center .btn-row { justify-content: center; }
.text-link {
  display: inline-block; padding: 12px 0; font-family: var(--sans); font-weight: 500;
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
}

/* ---------- Hero ---------- */

.hero { display: flex; flex-wrap: wrap; background: var(--cream); }
.hero-text {
  flex: 1 1 440px; padding: 96px var(--gutter);
  display: flex; flex-direction: column; justify-content: center; gap: 28px;
}
.hero-img {
  flex: 1 1 440px; min-width: 0; width: 100%; height: 680px;
  object-fit: cover; object-position: 38% 50%;
}
.page-head { padding: 104px var(--gutter) 88px; background: var(--cream); }

/* ---------- Cards, lists, figures ---------- */

.card {
  border: 1px solid var(--line); padding: 48px;
  display: flex; flex-direction: column; gap: 20px;
}
.card-sm { padding: 40px; gap: 16px; }
.card .card-foot { margin-top: auto; padding-top: 12px; }
.card .meta {
  font-family: var(--sans); font-weight: 500; font-size: 13px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.ruled-list { list-style: none; padding: 0; display: flex; flex-direction: column; }
.ruled-list li { padding: 12px 0; border-top: 1px solid var(--line); }
.ruled-list li:last-child { border-bottom: 1px solid var(--line); }
.frame { background: #FFFFFF; border: 1px solid var(--line); padding: 16px; }
figure { display: flex; flex-direction: column; gap: 12px; }
figcaption, .caption {
  font-family: var(--sans); font-weight: 500; font-size: 12px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.cover { width: 100%; object-fit: cover; }

/* Planting palettes */
.palettes { display: flex; flex-wrap: wrap; gap: 40px 32px; }
.palette { flex: 1 1 220px; display: flex; flex-direction: column; gap: 20px; }
.palette-strips { display: flex; flex-direction: column; gap: 4px; }
.palette-strips img { width: 100%; aspect-ratio: 3 / 1; object-fit: cover; }
.palette h3 { font-size: 28px; }
.palette p { font-size: 17px; color: var(--ink-2); }

/* Process */
.steps { display: flex; flex-wrap: wrap; gap: 40px 32px; }
.step {
  flex: 1 1 220px; display: flex; flex-direction: column; gap: 12px;
  border-top: 1px solid var(--cream); padding-top: 24px;
}
.step-num { font-family: var(--serif-display); font-style: italic; font-weight: 500; font-size: 24px; }
.step h3 { font-size: 28px; }
.step p { font-size: 18px; }

/* Values (How we design) */
.values { display: flex; flex-wrap: wrap; gap: 40px 32px; }
.value {
  flex: 1 1 260px; display: flex; flex-direction: column; gap: 12px;
  border-top: 1px solid var(--line); padding-top: 24px;
}
.value h3 { font-size: 28px; }
.value p { font-size: 18px; color: var(--ink-2); }

/* Testimonial */
.quote {
  font-family: var(--serif-display); font-style: italic; font-weight: 500;
  font-size: clamp(26px, 2.7vw, 38px); line-height: 1.25;
}

/* About */
.about { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 48px 72px; }
.about img { flex: 0 0 auto; width: 300px; aspect-ratio: 7 / 6; object-fit: cover; object-position: 50% 20%; }
.about .stack { flex: 0 1 520px; min-width: 0; gap: 24px; }

/* Tool cards (Garden notes) */
.tool-card { border: 1px solid var(--line); background: #FFFFFF; padding: 40px; display: flex; flex-direction: column; gap: 16px; }
.tool-card .card-foot { margin-top: auto; padding-top: 12px; }

/* Start online page photo */
.start-img { flex: 0 1 420px; height: 720px; position: sticky; top: 24px; }

/* ---------- Forms ---------- */

.form { display: flex; flex-direction: column; gap: 22px; max-width: 640px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field legend {
  font-family: var(--sans); font-weight: 500; font-size: 13px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2);
}
.field .hint { font-size: 16px; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 18px; color: var(--ink); background: #FFFFFF;
  border: 1px solid var(--line); border-radius: 0; padding: 12px 14px; min-height: 52px; width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--teal); outline-offset: 0; border-color: var(--teal); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; }
.check input { width: 20px; height: 20px; margin-top: 4px; accent-color: var(--teal); flex: none; }
.hidden { display: none; }
.req { color: var(--muted); font-weight: 400; text-transform: none; letter-spacing: 0; }

/* ---------- Footer ---------- */

.site-footer { padding: 104px var(--gutter) 40px; background: var(--teal); color: var(--cream); }
.site-footer a { color: var(--cream); }
.site-footer :focus-visible { outline-color: var(--cream); }
.footer-wrap { gap: 64px; }
.footer-cta { display: flex; flex-wrap: wrap; gap: 32px 48px; align-items: flex-end; justify-content: space-between; }
.footer-cta-text { display: flex; flex-direction: column; gap: 14px; }
.footer-title { font-family: var(--serif-display); font-weight: 500; font-size: clamp(40px, 5vw, 72px); line-height: 1.02; color: var(--cream); max-width: 14ch; }
.footer-lede { font-size: 20px; color: var(--cream); opacity: .85; }
.footer-email { font-family: var(--sans); font-size: 16px; letter-spacing: .03em; text-decoration: none; border-bottom: 1px solid rgba(246,244,238,.45); align-self: flex-start; padding-bottom: 2px; }
.footer-email:hover { border-bottom-color: var(--cream); }
.site-footer .btn-solid { background: var(--cream); color: var(--teal); border-color: var(--cream); }
.site-footer .btn-solid:hover { background: transparent; color: var(--cream); }
.footer-bar { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; padding-top: 32px; border-top: 1px solid rgba(246,244,238,.28); }
.footer-brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.footer-mark { width: 40px; height: 40px; display: block; color: var(--cream); }
.footer-name { font-family: var(--sans); font-weight: 500; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.footer-nav a { padding: 8px 0; font-family: var(--sans); font-size: 15px; text-decoration: none; }
.footer-nav a:hover, .footer-brand:hover .footer-name { text-decoration: underline; text-underline-offset: 5px; }
.footer-small { display: flex; flex-direction: column; gap: 12px; max-width: 900px; }
.footer-small p { font-size: 15px; line-height: 1.5; color: var(--cream); opacity: .72; }
.footer-small .legal { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 4px; }
.footer-small .legal a { color: var(--cream); }
@media (max-width: 700px) {
  .site-footer { padding-top: 80px; }
  .footer-wrap { gap: 48px; }
  .footer-cta { align-items: flex-start; }
  .footer-nav { gap: 0 24px; }
}


/* New homes journey */
.journey { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; position: relative; }
.journey::before { content: ""; position: absolute; left: 4%; right: 4%; top: 23px; height: 1px; background: var(--line); }
.jstep { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding-right: 20px; }
.jdot {
  position: relative; z-index: 1; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: var(--white); border: 1px solid var(--line); color: var(--muted);
  font-family: var(--serif-display); font-style: italic; font-weight: 500; font-size: 18px;
}
.is-touch .jdot { background: var(--teal); border-color: var(--teal); color: var(--cream); }
.jbody { display: flex; flex-direction: column; gap: 8px; }
.jstage { font-family: var(--sans); font-weight: 500; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.jtouch { font-family: var(--serif-display); font-weight: 500; font-size: 23px; line-height: 1.15; }
.jtag { display: block; font-family: var(--sans); font-weight: 500; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal); margin-bottom: 4px; }
.jtext { font-size: 16px; line-height: 1.5; color: var(--ink-2); }
@media (max-width: 960px) {
  .journey { grid-template-columns: 1fr; gap: 28px; }
  .journey::before { left: 23px; right: auto; top: 10px; bottom: 10px; width: 1px; height: auto; }
  .jstep { flex-direction: row; gap: 20px; padding-right: 0; }
  .jdot { flex: none; }
  .jtext { font-size: 17px; }
}

/* ---------- Small screens ---------- */

@media (max-width: 700px) {
  :root { --section: 72px; }
  body { font-size: 18px; }
  .hero-text { padding: 56px var(--gutter); }
  .hero-img { height: 440px; }
  .page-head { padding: 64px var(--gutter) 56px; }
  .card { padding: 32px 24px; }
  .card-sm, .tool-card { padding: 32px 24px; }
  .ruled { padding-top: 56px; }
  .lede { font-size: 19px; }
  .site-nav { gap: 0 22px; }
  .site-header { padding-top: 28px; gap: 12px; }
  .logo-mark { width: 56px; height: 56px; }
  .logo-word { font-size: 16px; margin-top: 16px; }
  .logo-tag { font-size: 15px; }
  .start-img { display: none; }
}

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }

/* About page */
@media (min-width: 960px) { .about-portrait { position: sticky; top: 24px; } }
.about-story h3 { margin-top: 18px; }

/* Seasons (home) */
.seasons-wrap { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: stretch; }
.seasons-img { flex: 1 1 420px; min-height: 420px; max-height: 760px; }
.seasons { flex: 1 1 420px; display: flex; flex-direction: column; justify-content: center; }
.season { padding: 26px 0; border-top: 1px solid var(--line, rgba(12,44,51,.18)); display: flex; flex-direction: column; gap: 8px; }
.season:last-child { border-bottom: 1px solid var(--line, rgba(12,44,51,.18)); }
.season h3 { font-size: 28px; }
.season p { color: var(--ink-2); }
@media (max-width: 700px) { .seasons-img { min-height: 0; aspect-ratio: 4 / 5; } }

/* Garden style survey */
[hidden] { display: none !important; }
.quiz-section { padding-top: 72px; }
.quiz-wrap { max-width: 860px; }
.quiz { display: flex; flex-direction: column; gap: 18px; scroll-margin-top: 24px; }
.quiz-progress { height: 3px; background: var(--line); }
.quiz-progress span { display: block; height: 100%; width: 0; background: var(--teal); transition: width .3s ease; }
.quiz-count { font-family: var(--sans); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.quiz-q { font-size: clamp(28px, 3.2vw, 40px); outline: none; }
.quiz-hint { color: var(--muted); }
.quiz-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; padding-top: 8px; }
.quiz-opt { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; text-align: left; padding: 20px 22px; min-height: 76px;
  background: var(--white); border: 1px solid var(--line); color: var(--ink); font-family: var(--serif); font-size: 19px; line-height: 1.35; cursor: pointer; transition: border-color .15s, background .15s; }
.quiz-opt:hover { border-color: var(--teal); }
.quiz-opt:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.quiz-opt[aria-pressed="true"] { border-color: var(--teal); background: var(--cream); box-shadow: inset 0 0 0 1px var(--teal); }
.opt-swatch, .result-swatch { display: flex; width: 100%; height: 44px; }
.opt-swatch i, .result-swatch i { flex: 1; }
.quiz-nav { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; }
.quiz-result { display: flex; flex-direction: column; gap: 72px; scroll-margin-top: 24px; }
.result-card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--cream); }
.result-img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.result-body { display: flex; flex-direction: column; gap: 28px; padding: 40px; min-width: 0; }
.no-img .result-card { grid-template-columns: 1fr; }
@media (max-width: 760px) { .result-card { grid-template-columns: 1fr; } .result-img { aspect-ratio: 4 / 3; } }
.result-swatch { height: 72px; }
.result-card h2 { font-size: clamp(40px, 5vw, 60px); outline: none; }
.result-sub { font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--ink-2); }
.result-next { display: flex; flex-direction: column; gap: 32px; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (max-width: 600px) { .result-body { padding: 28px 20px; } .quiz-opt { font-size: 18px; } }

.result-share { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-top: 4px; }
.result-share .btn { min-height: 44px; padding: 0 22px; }
.share-note { font-size: 16px; color: var(--muted); }

/* Services overview */
.svc-head { padding-bottom: 72px; }
.svc-head .wrap { gap: 20px; }
.svc-overview { list-style: none; padding: 0; margin-top: 16px; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.svc-overview li { border-bottom: 1px solid var(--line); }
.svc-overview a { display: grid; grid-template-columns: 56px minmax(0, 330px) minmax(0, 1fr) 170px; gap: 8px 24px; align-items: baseline; padding: 20px 4px; text-decoration: none; color: var(--ink); }
.svc-overview a:hover .t { text-decoration: underline; text-underline-offset: 5px; }
.svc-overview .n { font-family: var(--serif-display); font-size: 32px; line-height: 1; color: var(--teal); }
.svc-overview .t { font-family: var(--serif-display); font-size: 26px; line-height: 1.2; }
.svc-overview .d { color: var(--ink-2); }
.svc-overview .p { text-align: right; font-family: var(--sans); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.svc { scroll-margin-top: 16px; }
.svc-num { font-family: var(--serif-display); font-size: 56px; line-height: 1; color: var(--teal); opacity: .55; }
.svc-for { font-style: italic; color: var(--ink-2); font-size: 20px; }
.svc-list strong { font-weight: 500; color: var(--teal); }
.svc-price { font-family: var(--sans); font-size: 14px; letter-spacing: .06em; color: var(--ink); }
.svc-price .price { font-family: var(--serif-display); font-size: 26px; letter-spacing: 0; }
.svc-more { gap: 16px 64px; }
.svc-more > * { flex: 1 1 280px; }
@media (max-width: 760px) {
  .svc-overview a { grid-template-columns: 40px minmax(0, 1fr); }
  .svc-overview .d, .svc-overview .p { grid-column: 2; text-align: left; }
  .svc-overview .n { font-size: 26px; }
  .svc-overview .t { font-size: 22px; }
}
.ba { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ba figure { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
@media (max-width: 560px) { .ba { gap: 8px; } }
.work-teaser { gap: 24px; }
.work-teaser > a { flex: 1 1 260px; min-width: 0; text-decoration: none; color: inherit; }
.work-teaser figure { display: flex; flex-direction: column; gap: 10px; }
.work-teaser a:hover figcaption { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Header: menu either side of the logo ---------- */
.site-header { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; padding: 44px var(--gutter) 28px; position: relative; }
.site-header .logo-mark { width: 64px; height: 64px; }
.site-header .logo-word { margin-top: 18px; font-size: 19px; }
.site-header .logo-tag { margin-top: 10px; font-size: 15px; }
.nav-l { justify-self: start; justify-content: flex-start; }
.nav-r { justify-self: end; justify-content: flex-end; }
.header-cta { position: absolute; top: 20px; right: var(--gutter); min-height: 40px; padding: 0 18px; }
.nav-toggle { display: none; position: absolute; top: 18px; right: var(--gutter); min-height: 44px; padding: 0 4px; background: none; border: 0; cursor: pointer; align-items: center; gap: 10px; color: var(--teal); font-family: var(--sans); font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.nav-toggle .bars { display: flex; flex-direction: column; gap: 5px; }
.nav-toggle .bars i { display: block; width: 24px; height: 1.5px; background: var(--teal); }
.mobile-nav { position: absolute; left: 0; right: 0; top: 100%; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.mobile-nav[hidden] { display: none; }
.mobile-nav a:not(.btn) { font-family: var(--sans); font-weight: 500; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; padding: 12px 0; color: var(--teal); }
.mobile-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.mobile-nav .btn { margin-top: 8px; }
@media (max-width: 1040px) {
  .site-header { grid-template-columns: 1fr; justify-items: center; padding: 56px var(--gutter) 24px; }
  .nav-l, .nav-r, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 760px) {
  .site-header { padding-top: 60px; }
  .nav-toggle-label { display: none; }
}

/* ---------- Testimonials with moving leaf shadows ---------- */
.testimonials { position: relative; overflow: hidden; isolation: isolate; padding: 120px 0 104px; background: #ECE5D5; color: var(--ink); }
.testimonials::before { content: ""; position: absolute; inset: 0; z-index: -2; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .42 0 0 0 0 .35 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.ts-shadow { position: absolute; inset: -12%; z-index: -1; pointer-events: none;
  background: url("../images/leaf-shadows.svg") center / cover no-repeat;
  mix-blend-mode: multiply; transform-origin: 30% 0; }
.ts-shadow.near { opacity: .34; filter: blur(5px); animation: ts-sway 11s ease-in-out infinite alternate; }
.ts-shadow.far  { opacity: .22; filter: blur(14px); transform: scale(1.15) rotate(8deg); animation: ts-drift 17s ease-in-out infinite alternate; }
@keyframes ts-sway  { from { transform: rotate(-1.2deg) translate(0, 0); } to { transform: rotate(1.4deg) translate(-1.5%, 1%); } }
@keyframes ts-drift { from { transform: scale(1.15) rotate(8deg) translate(0, 0); } to { transform: scale(1.15) rotate(6deg) translate(2%, -1.5%); } }
@media (prefers-reduced-motion: reduce) { .ts-shadow { animation: none !important; } }
.ts-track { display: flex; gap: 6vw; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 0 var(--gutter); scroll-padding: 0 var(--gutter); }
.ts-track::-webkit-scrollbar { display: none; }
.ts-slide { flex: 0 0 min(78%, 1000px); scroll-snap-align: start; display: flex; flex-direction: column; gap: 28px; }
.ts-slide blockquote { font-family: var(--serif-display); font-weight: 500; font-size: clamp(32px, 4.4vw, 64px); line-height: 1.08; letter-spacing: -.005em; }
.ts-slide figcaption { font-family: var(--sans); font-size: 15px; letter-spacing: .04em; }
.ts-nav { display: flex; gap: 14px; justify-content: flex-end; padding: 56px var(--gutter) 0; }
.ts-nav button { width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--teal); color: var(--cream);
  font-size: 24px; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.ts-nav button:hover { background: #1F4A4F; }
.ts-nav button:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
@media (max-width: 700px) { .testimonials { padding: 88px 0 72px; } .ts-slide { flex-basis: 86%; } .ts-nav button { width: 48px; height: 48px; } }

/* ---------- Before and after slider (Our work) ---------- */
.ba-slider { position: relative; overflow: hidden; aspect-ratio: 4 / 3; width: 100%; max-width: 980px; margin: 0 auto; touch-action: pan-y; }
.ba-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-slider .ba-before { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.ba-slider .ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; background: var(--cream); transform: translateX(-1px); pointer-events: none; }
.ba-slider .ba-handle::after { content: "\2194"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%;
  background: var(--cream); color: var(--teal); display: flex; align-items: center; justify-content: center; font-size: 24px; }
.ba-slider input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-slider input:focus-visible + .ba-handle::after { outline: 2px solid var(--teal); outline-offset: 3px; }
.ba-label { position: absolute; top: 16px; padding: 6px 12px; background: var(--cream); font-family: var(--sans); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); }
