/* Textor — textor.ie */
:root {
  --bg: #f9f8f4;
  --bg-alt: #f1ede5;
  --card: #fbfaf7;
  --ink: #23292d;
  --ink-2: #565c60;
  --ink-3: #868b8e;
  --line: #e2ddd3;
  --green: #2f5d45;
  --green-dark: #244a37;
  --green-soft: #e3ebe5;
  --dark: #22292e;
  --dark-line: #3a4247;
  --dark-ink-2: #aab1b4;
  --dark-ink-3: #848c90;
  --radius: 22px;
  --wrap: 1232px;
  --gutter: clamp(20px, 5vw, 48px);
  --font: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Top strip + header */
.strip { background: var(--green); color: #e9f0eb; font-size: 13px; text-align: center; padding: 7px var(--gutter); line-height: 1.4; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 600; font-size: 20px; letter-spacing: -0.02em; }
.brand svg { width: 15px; height: 19px; color: var(--green); flex: none; }
.nav { display: flex; gap: 28px; }
.nav a { text-decoration: none; color: var(--ink-2); font-size: 15px; padding: 4px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { box-shadow: inset 0 -1.5px 0 var(--ink); }
.header-cta { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.header-phone { text-decoration: none; font-size: 15px; color: var(--ink-2); white-space: nowrap; }
.header-phone:hover { color: var(--ink); }
.menu-btn { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--ink); }
.menu-btn svg { width: 22px; height: 22px; display: block; }
.mobile-nav { display: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font: inherit; font-size: 16px; font-weight: 500; text-decoration: none; line-height: 1;
  border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, color .15s;
  white-space: nowrap;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-ghost { background: transparent; border-color: #d6d1c6; color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink-3); background: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #ecebe6; }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-arrow { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink); white-space: nowrap; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Sections */
.section { padding: clamp(64px, 9vw, 104px) 0; border-top: 1px solid var(--line); }
.section-alt { background: var(--bg-alt); }
.section:first-of-type { border-top: 0; }
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 14px; }
.h1 { font-size: clamp(2.35rem, 5.4vw, 4rem); line-height: 1.04; letter-spacing: -0.035em; }
.h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); line-height: 1.08; letter-spacing: -0.03em; }
.h3 { font-size: 20px; letter-spacing: -0.015em; }
.lede { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); max-width: 660px; margin-top: 18px; line-height: 1.6; }
.section-head { max-width: 700px; margin-bottom: clamp(36px, 5vw, 52px); }
.section-head .lede { margin-bottom: 0; }
.muted { color: var(--ink-3); }
.small { font-size: 14px; }

/* Hero */
.hero { padding: clamp(56px, 8vw, 88px) 0 clamp(40px, 6vw, 64px); }
.hero .h1 { max-width: 780px; }
.hero .lede { max-width: 600px; margin-bottom: 30px; }
.hero-figure { margin: clamp(40px, 6vw, 56px) 0 0; }
.hero-figure img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); aspect-ratio: 1376 / 768; object-fit: cover; }
.hero-figure figcaption { font-size: 14px; color: var(--ink-3); margin-top: 14px; }
.page-hero { padding: clamp(56px, 8vw, 88px) 0 clamp(48px, 7vw, 72px); }
.page-hero .h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); max-width: 760px; }

/* Grids + cards */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 3vw, 32px); }
.section-alt .card { background: var(--card); }
.card p { color: var(--ink-2); font-size: 16px; margin: 12px 0 0; }
.card .tag { display: inline-block; font-size: 13px; font-weight: 500; color: var(--green); background: var(--green-soft); padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }
.step-num { width: 36px; height: 36px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 15px; font-weight: 600; margin-bottom: 24px; }

/* Problems */
.problem { padding: clamp(28px, 3.4vw, 40px); }
.problem .h3 { font-size: clamp(22px, 2.2vw, 26px); }
.problem .fix { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink); }
.problem .fix strong { font-weight: 600; }

/* Pricing */
.price-card { display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.price-card .h3 { font-size: clamp(22px, 2.1vw, 26px); line-height: 1.15; }
.price { display: flex; align-items: baseline; gap: 8px; margin: 22px 0 4px; }
.price b { font-size: clamp(32px, 3.2vw, 38px); font-weight: 600; letter-spacing: -0.03em; }
.price span { color: var(--ink-3); font-size: 14px; }
.ticks { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; font-size: 15.5px; color: var(--ink-2); line-height: 1.55; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 6px; width: 13px; height: 8px;
  border-left: 1.6px solid var(--green); border-bottom: 1.6px solid var(--green); transform: rotate(-45deg);
}
.price-card .btn-row { margin-top: auto; }
.price-mini { display: flex; flex-direction: column; color: inherit; transition: border-color .15s, transform .15s; }
.price-mini:hover { border-color: #c9c3b6; transform: translateY(-2px); }
.price-mini .price { margin-top: auto; padding-top: 18px; }
.price-mini .price b { font-size: 22px; }

.care {
  margin-top: 24px; background: var(--dark); color: #fff; border-radius: var(--radius);
  padding: clamp(28px, 4vw, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 32px 48px;
}
.care .eyebrow { color: var(--dark-ink-3); }
.care p { color: var(--dark-ink-2); }
.care .price span { color: var(--dark-ink-3); }
.care .ticks { margin: 0; align-self: center; border-left: 1px solid var(--dark-line); padding-left: clamp(0px, 3vw, 40px); }
.care .ticks li { color: #dfe3e4; }
.care .ticks li::before { border-color: #8fb79f; }
.care .link-arrow { color: #fff; }
.fineprint { font-size: 14px; color: var(--ink-3); margin-top: 22px; }

/* Plain list (two-column with rules) */
.rules { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.rules > div { border-top: 1px solid var(--line); padding: 26px 0 30px; }
.rules p { color: var(--ink-2); font-size: 16px; margin: 10px 0 0; max-width: 470px; }

/* Squarespace / ownership split */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.note { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; font-size: 15px; color: var(--ink-2); margin-top: 26px; }
.note strong { color: var(--ink); font-weight: 600; }

/* Checklist of business types */
.types { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.types li { border-bottom: 1px solid var(--line); padding: 14px 0 14px 30px; position: relative; font-size: 16px; }
.types li::before {
  content: ""; position: absolute; left: 3px; top: 21px; width: 12px; height: 7px;
  border-left: 1.6px solid var(--ink); border-bottom: 1.6px solid var(--ink); transform: rotate(-45deg);
}

/* Towns */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li { border: 1px solid #d6d1c6; border-radius: 999px; padding: 8px 18px; font-size: 15px; background: var(--card); }

/* FAQ */
.faq { max-width: 780px; border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-size: 18px; font-weight: 500; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 19px; font-size: 22px; font-weight: 300; color: var(--ink-3); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 40px 24px 0; color: var(--ink-2); font-size: 16px; }
.faq .answer p:last-child { margin-bottom: 0; }

/* Steps list (quote page) */
.steps-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.steps-list li { display: grid; grid-template-columns: 28px 1fr; gap: 16px; }
.steps-list .n { width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; font-size: 13px; font-weight: 600; display: grid; place-items: center; margin-top: 1px; }
.steps-list h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.steps-list p { color: var(--ink-2); font-size: 15.5px; margin: 4px 0 0; }

/* Quote layout + form */
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 64px); align-items: start; }
.quote-side hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.phone-big { display: inline-block; font-size: clamp(26px, 3vw, 32px); font-weight: 600; letter-spacing: -0.02em; text-decoration: none; margin-top: 4px; }
.phone-big:hover { color: var(--green); }
.form-card { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 26px; padding: clamp(24px, 3.4vw, 34px); }
.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field label { font-size: 15px; font-weight: 500; }
.field label .opt { color: var(--ink-3); font-weight: 400; margin-left: 4px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 1px solid #ddd8ce; border-radius: 12px; padding: 13px 15px; min-height: 50px;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%23565c60' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(47, 93, 69, .15); }
.field ::placeholder { color: #a3a6a7; }
.field [aria-invalid="true"] { border-color: #a2392b; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-card .btn { width: 100%; min-height: 52px; }
.form-note { font-size: 13.5px; color: var(--ink-3); margin: 16px 0 0; }
.form-status { margin: 14px 0 0; font-size: 15px; }
.form-status.error { color: #a2392b; }
.form-done { text-align: left; }
.form-done .h3 { font-size: 24px; margin-bottom: 10px; }
.form-done p { color: var(--ink-2); }

/* Prose (legal pages) */
.prose { max-width: 720px; }
.prose h2 { font-size: 22px; margin: 40px 0 12px; }
.prose p, .prose li { color: var(--ink-2); font-size: 16.5px; }
.prose ul { padding-left: 20px; margin: 0 0 1em; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--green); }

/* CTA band + footer */
.cta-band { background: var(--dark); color: #fff; padding: clamp(64px, 9vw, 96px) 0 clamp(56px, 7vw, 80px); }
.cta-band .h2 { max-width: 700px; }
.cta-band .lede { color: var(--dark-ink-2); }
.cta-band .btn-row { margin-top: 30px; }
.cta-band .btn-ghost { color: #fff; border-color: #4a5459; }
.cta-band .btn-ghost:hover { background: transparent; border-color: #8a9396; }
.cta-band .hours { margin-top: 22px; font-size: 14px; color: var(--dark-ink-3); }
.site-footer { background: var(--dark); color: var(--dark-ink-2); padding: 0 0 40px; font-size: 15px; }
.footer-top { border-top: 1px solid var(--dark-line); padding-top: 56px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.site-footer .brand { color: #fff; }
.site-footer .brand svg { color: #9cc0aa; }
.footer-blurb { margin: 16px 0 18px; max-width: 320px; line-height: 1.6; }
.site-footer h2 { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--dark-ink-3); margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; color: #dfe3e4; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-contact a { display: inline-block; margin-bottom: 4px; }
.footer-bottom { margin-top: 56px; border-top: 1px solid var(--dark-line); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--dark-ink-3); }
.footer-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom a { color: var(--dark-ink-2); }

/* Responsive */
@media (max-width: 980px) {
  .nav, .header-phone { display: none; }
  .menu-btn { display: block; }
  .header-row { gap: 12px; }
  .mobile-nav { border-top: 1px solid var(--line); padding: 8px var(--gutter) 20px; }
  .mobile-nav.open { display: block; }
  .mobile-nav a { display: block; padding: 13px 0; text-decoration: none; font-size: 17px; border-bottom: 1px solid var(--line); }
  .mobile-nav a:last-child { border-bottom: 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .care, .split, .quote-grid { grid-template-columns: 1fr; }
  .care .ticks { border-left: 0; padding-left: 0; border-top: 1px solid var(--dark-line); padding-top: 28px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-row { height: 62px; }
  .header-cta .btn { min-height: 40px; padding: 0 16px; font-size: 14.5px; }
  .grid-2, .rules, .types, .field-row { grid-template-columns: 1fr; }
  .rules { gap: 0; }
  .hero .btn-row .btn { flex: 1 1 auto; }
  .faq summary { font-size: 17px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .strip, .site-header, .cta-band, .site-footer { display: none; } }
