/* Squacrotac — sidebar layout archetype */
:root {
  --paper: #f4efe6;
  --paper-deep: #e9e1d3;
  --ink: #1f1d1a;
  --ink-soft: #4a4640;
  --accent: #d9541e;
  --accent-dark: #a93d12;
  --gum: #3e6b5a;
  --gum-light: #dfe9e3;
  --line: #cfc5b4;
  --fallback: #d8cfc0;
  --sidebar-w: 268px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

img { max-width: 100%; display: block; object-fit: cover; }

a { color: var(--accent-dark); }
a:hover, a:focus-visible { color: var(--accent); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 4.6vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Ad disclosure bar ---------- */
.ad-bar {
  background: var(--ink);
  color: #f6f1e8;
  font-size: .82rem;
  letter-spacing: .02em;
  text-align: center;
  padding: .45rem 1rem;
  position: relative;
  z-index: 40;
}
.ad-bar strong { color: #ffb48f; font-weight: 600; margin-right: .4em; }

/* ---------- Shell ---------- */
.shell { display: flex; flex: 1; align-items: stretch; }

.sidebar {
  width: var(--sidebar-w);
  flex: 0 0 var(--sidebar-w);
  background: var(--paper-deep);
  border-right: 1px solid var(--line);
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.6rem 1.4rem;
  overflow-y: auto;
}

.sidebar__head { display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); }
.brand:hover, .brand:focus-visible { color: var(--accent-dark); }
.brand__mark {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff;
  font-family: var(--serif); font-size: 1.35rem; font-weight: 700;
  border-radius: 4px 14px 4px 14px;
}
.brand__name { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }

.nav-toggle {
  display: none;
  background: var(--ink); color: var(--paper);
  border: 0; border-radius: 3px;
  padding: .5rem .9rem; font: inherit; font-size: .9rem; cursor: pointer;
}
.nav-toggle:hover, .nav-toggle:focus-visible { background: var(--accent); }

.side-nav { display: flex; flex-direction: column; margin: 2.6rem 0 2rem; gap: .15rem; }
.side-nav a {
  text-decoration: none; color: var(--ink);
  padding: .55rem .7rem; border-left: 3px solid transparent;
  font-weight: 500;
}
.side-nav a:hover, .side-nav a:focus-visible { border-left-color: var(--accent); background: rgba(217, 84, 30, .07); color: var(--ink); }
.side-nav a.is-current { border-left-color: var(--ink); background: var(--paper); }

.sidebar__note { margin-top: auto; padding-top: 1.4rem; border-top: 1px dashed var(--line); font-size: .9rem; color: var(--ink-soft); }
.sidebar__note p { margin-bottom: .8rem; }

.side-legal { display: flex; flex-wrap: wrap; gap: .3rem .9rem; margin-top: 1.4rem; font-size: .78rem; }
.side-legal a { color: var(--ink-soft); }
.side-legal a:hover, .side-legal a:focus-visible { color: var(--accent-dark); }

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.main > section, .main > header { padding: 5rem clamp(1.4rem, 5vw, 5rem); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--accent); color: #fff;
  border: 2px solid var(--accent);
  padding: .8rem 1.4rem; border-radius: 2px;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s;
}
.btn:hover, .btn:focus-visible { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover, .btn--ghost:focus-visible { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--small { padding: .5rem 1rem; font-size: .88rem; }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover, .btn--light:focus-visible { background: #fff; color: var(--accent-dark); border-color: #fff; }

.text-link { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.eyebrow { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--gum); font-weight: 700; margin-bottom: 1rem; display: block; }

/* ---------- Media fallback ---------- */
.media { background-color: var(--fallback); overflow: hidden; }
.media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Index: opening ---------- */
.opening { display: flex; gap: 3.5rem; align-items: center; padding-top: 4rem !important; }
.opening__text { flex: 1 1 52%; }
.opening__text h1 em { font-style: italic; color: var(--accent); }
.opening__lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 36em; }
.opening__actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 1.8rem; }
.opening__visual { flex: 1 1 48%; position: relative; }
.opening__visual .media { height: 470px; border-radius: 2px 60px 2px 2px; }
.slide-counter {
  position: absolute; left: -1.6rem; bottom: 2rem;
  background: var(--ink); color: var(--paper);
  padding: 1rem 1.3rem; font-family: var(--serif);
  display: flex; flex-direction: column;
}
.slide-counter span { font-size: 2rem; line-height: 1; }
.slide-counter small { font-family: var(--sans); font-size: .75rem; opacity: .8; margin-top: .3rem; }

/* ---------- Index: diagnostic ---------- */
.diagnostic { background: var(--gum); color: #f2f6f3; }
.diagnostic h2 { color: #fff; }
.diagnostic__row { display: flex; gap: 3rem; flex-wrap: wrap; align-items: flex-start; }
.diagnostic__intro { flex: 1 1 280px; }
.diagnostic__options { flex: 2 1 420px; display: flex; flex-wrap: wrap; gap: .8rem; }
.diag-option {
  flex: 1 1 45%;
  text-align: left; cursor: pointer;
  background: rgba(255, 255, 255, .08); color: #fff;
  border: 1px solid rgba(255, 255, 255, .3);
  padding: 1rem 1.1rem; font: inherit; font-size: .98rem; border-radius: 2px;
}
.diag-option:hover, .diag-option:focus-visible { background: rgba(255, 255, 255, .18); }
.diag-option.is-active { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.diagnostic__result {
  flex: 1 1 100%; margin-top: 1.4rem;
  background: var(--paper); color: var(--ink);
  padding: 1.4rem 1.6rem; display: none;
  border-left: 6px solid var(--accent);
}
.diagnostic__result.is-visible { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.diagnostic__result p { margin: 0; flex: 1 1 320px; }

/* ---------- Index: statement ---------- */
.statement {
  background-color: #2b2723;
  background-image: linear-gradient(90deg, rgba(20, 18, 16, .88) 0%, rgba(20, 18, 16, .55) 60%, rgba(20, 18, 16, .25) 100%), url("https://images.unsplash.com/photo-1475721027785-f74eccf877e2?w=1400&q=80");
  background-size: cover; background-position: center;
  color: #fff; padding-top: 7rem !important; padding-bottom: 7rem !important;
}
.statement blockquote { margin: 0; max-width: 34em; }
.statement blockquote p { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.3; }
.statement cite { font-style: normal; font-size: .9rem; opacity: .85; }

/* ---------- Index: samples ---------- */
.samples__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; margin-bottom: 2.4rem; }
.samples__head p { max-width: 30em; margin: 0; color: var(--ink-soft); }
.samples__row { display: flex; gap: 1.6rem; flex-wrap: wrap; align-items: flex-start; }
.sample { flex: 1 1 260px; background: #fff; border: 1px solid var(--line); }
.sample:nth-child(2) { margin-top: 3rem; }
.sample .media { height: 210px; }
.sample__body { padding: 1.2rem 1.3rem 1.4rem; }
.sample__tag { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-dark); font-weight: 700; }
.sample__body h3 { margin: .4rem 0 .5rem; }
.sample__body p { font-size: .95rem; color: var(--ink-soft); margin: 0; }

/* ---------- Rates (price rows) ---------- */
.rates { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rates__intro { max-width: 40em; margin-bottom: 2.4rem; }
.rate-list { display: flex; flex-direction: column; border-top: 2px solid var(--ink); }
.rate {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem;
  padding: 1.4rem 0; border-bottom: 1px solid var(--line);
}
.rate.is-picked { background: var(--gum-light); }
.rate__num { flex: 0 0 2.4rem; font-family: var(--serif); font-size: 1.5rem; color: var(--accent); }
.rate__info { flex: 1 1 300px; }
.rate__info h3 { margin: 0 0 .2rem; }
.rate__info p { margin: 0; font-size: .94rem; color: var(--ink-soft); }
.rate__time { flex: 0 0 9rem; font-size: .88rem; color: var(--ink-soft); }
.rate__price { flex: 0 0 8.5rem; font-family: var(--serif); font-size: 1.55rem; font-weight: 600; text-align: right; }
.rate__price small { display: block; font-family: var(--sans); font-size: .72rem; font-weight: 400; color: var(--ink-soft); }
.rate__action { flex: 0 0 auto; }
.rates__note { font-size: .85rem; color: var(--ink-soft); margin-top: 1.4rem; }

/* ---------- Method ---------- */
.method { display: flex; gap: 4rem; align-items: flex-start; flex-wrap: wrap; }
.method__visual { flex: 0 1 340px; position: sticky; top: 2rem; }
.method__visual .media { height: 440px; }
.method__visual figcaption { font-size: .82rem; color: var(--ink-soft); margin-top: .6rem; }
.method__steps { flex: 1 1 420px; }
.method__steps ol { list-style: none; margin: 2rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 1.8rem; }
.method__steps li { display: flex; gap: 1.3rem; }
.method__steps li > span { flex: 0 0 3rem; height: 3rem; display: flex; align-items: center; justify-content: center; border: 2px solid var(--ink); font-family: var(--serif); font-weight: 700; }
.method__steps li h3 { margin-bottom: .3rem; }
.method__steps li p { margin: 0; color: var(--ink-soft); }

/* ---------- Voices ---------- */
.voices { background: var(--paper-deep); }
.voices__row { display: flex; gap: 2rem; flex-wrap: wrap; align-items: stretch; }
.voice-main { flex: 2 1 420px; background: var(--ink); color: var(--paper); padding: 2.4rem; }
.voice-main p { font-family: var(--serif); font-size: 1.45rem; line-height: 1.4; }
.voice-side { flex: 1 1 260px; display: flex; flex-direction: column; gap: 2rem; }
.voice-small { background: var(--paper); padding: 1.6rem; border-top: 4px solid var(--gum); flex: 1; }
.voice-small p { font-size: .98rem; }
.voice-who { font-size: .85rem; font-weight: 600; margin: 0; }
.voice-main .voice-who { color: #ffb48f; }

/* ---------- Enquiry ---------- */
.enquiry { display: flex; gap: 3.5rem; flex-wrap: wrap-reverse; align-items: flex-start; }
.enquiry__aside { flex: 1 1 280px; background: var(--gum-light); padding: 2rem; border-radius: 2px; }
.enquiry__aside h3 { font-size: 1.15rem; }
.enquiry__aside ul { padding-left: 1.1rem; margin: 0 0 1rem; }
.enquiry__aside li { margin-bottom: .5rem; font-size: .95rem; }
.enquiry__form { flex: 2 1 460px; }

.form { display: flex; flex-direction: column; gap: 1.2rem; }
.form__row { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.field { display: flex; flex-direction: column; gap: .35rem; flex: 1 1 220px; }
.field label { font-weight: 600; font-size: .9rem; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; padding: .75rem .85rem;
  border: 1px solid #a99f8e; background: #fffdf9; color: var(--ink); border-radius: 2px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field textarea { min-height: 130px; resize: vertical; }
.field--service select { font-weight: 600; background: #fff; border: 2px solid var(--ink); }
.field.is-flash select { outline: 3px solid var(--accent); }
.field__hint { font-size: .8rem; color: var(--ink-soft); }
.field__error { font-size: .82rem; color: #b3261e; min-height: 1em; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; }
.check input { margin-top: .3rem; width: 18px; height: 18px; flex: 0 0 18px; }
.form__status { font-size: .95rem; font-weight: 600; color: var(--gum); min-height: 1.4em; margin: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--serif); font-size: 1.4rem; line-height: 1; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq summary:hover, .faq summary:focus-visible { color: var(--accent-dark); }
.faq details p { margin: .8rem 0 0; color: var(--ink-soft); }

/* ---------- Page header (inner pages) ---------- */
.page-head { display: flex; gap: 3rem; align-items: flex-end; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.page-head__text { flex: 1 1 380px; }
.page-head__text p { color: var(--ink-soft); font-size: 1.1rem; max-width: 34em; }
.page-head .media { flex: 1 1 320px; height: 300px; }

.banner-image { padding: 0 !important; }
.banner-image .media { height: 380px; }

/* ---------- About ---------- */
.about-columns { display: flex; gap: 3rem; flex-wrap: wrap; }
.about-columns > div { flex: 1 1 280px; }
.about-columns .lead { font-family: var(--serif); font-size: 1.4rem; line-height: 1.45; flex: 1.4 1 340px; }

.model { background: var(--ink); color: var(--paper); display: flex; flex-wrap: wrap; gap: 3rem; }
.model h2 { color: #fff; }
.model__text { flex: 1 1 360px; }
.model__flow { flex: 1 1 360px; display: flex; flex-direction: column; gap: 1rem; }
.model__step { display: flex; gap: 1rem; align-items: flex-start; border: 1px solid rgba(255, 255, 255, .2); padding: 1rem 1.2rem; }
.model__step strong { color: #ffb48f; flex: 0 0 auto; font-family: var(--serif); font-size: 1.2rem; }
.model__step p { margin: 0; font-size: .95rem; }

.split-photo { display: flex; gap: 0; flex-wrap: wrap; padding: 0 !important; }
.split-photo .media { flex: 1 1 380px; min-height: 380px; }
.split-photo__text { flex: 1 1 380px; padding: 4rem clamp(1.4rem, 4vw, 4rem); background: var(--paper-deep); }

.values { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 2rem; }
.value { flex: 1 1 220px; border-top: 3px solid var(--accent); padding-top: 1rem; }
.value p { color: var(--ink-soft); font-size: .95rem; }

/* ---------- Services page ---------- */
.svc-list { display: flex; flex-direction: column; gap: 4rem; }
.svc { display: flex; gap: 2.6rem; align-items: center; flex-wrap: wrap; }
.svc:nth-child(even) { flex-direction: row-reverse; }
.svc .media { flex: 1 1 300px; height: 300px; }
.svc__body { flex: 1.3 1 360px; }
.svc__price { display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; margin: 1rem 0 1.2rem; }
.svc__price strong { font-family: var(--serif); font-size: 2rem; }
.svc__price span { font-size: .88rem; color: var(--ink-soft); }
.svc__body ul { padding-left: 1.1rem; color: var(--ink-soft); font-size: .96rem; }

.compare { background: #fff; }
.compare__wrap { overflow-x: auto; }
.compare__rows { display: flex; flex-direction: column; min-width: 620px; border: 1px solid var(--line); }
.compare__row { display: flex; border-bottom: 1px solid var(--line); }
.compare__row:last-child { border-bottom: 0; }
.compare__row > div { flex: 1; padding: .8rem 1rem; font-size: .92rem; }
.compare__row > div:first-child { flex: 1.6; font-weight: 600; }
.compare__row--head { background: var(--ink); color: var(--paper); }

/* ---------- Contact ---------- */
.contact-cards { display: flex; flex-wrap: wrap; gap: 1.6rem; }
.contact-card { flex: 1 1 240px; background: #fff; border: 1px solid var(--line); padding: 1.8rem; }
.contact-card h2 { font-size: 1.2rem; }
.contact-card p { margin: 0; }
.contact-card .email-text { font-weight: 600; user-select: all; }
.contact-strip { display: flex; flex-wrap: wrap; gap: 3rem; align-items: center; background: var(--gum-light); }
.contact-strip .media { flex: 1 1 320px; height: 320px; }
.contact-strip__text { flex: 1 1 340px; }

/* ---------- Thanks ---------- */
.thanks { display: flex; gap: 3rem; align-items: center; flex-wrap: wrap; min-height: 70vh; }
.thanks__text { flex: 1 1 380px; }
.thanks .media { flex: 1 1 320px; height: 380px; }
.thanks__service { display: inline-block; background: var(--gum-light); border-left: 4px solid var(--gum); padding: .8rem 1rem; margin: .4rem 0 1.4rem; font-weight: 600; }
.thanks__next { padding-left: 1.2rem; color: var(--ink-soft); }

/* ---------- Legal ---------- */
.legal { max-width: 860px; }
.legal h2 { font-size: 1.45rem; margin-top: 2.2rem; }
.legal ul { padding-left: 1.2rem; }
.legal .updated { font-size: .88rem; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: #191714; color: #d9d2c5; padding: 3.5rem clamp(1.4rem, 5vw, 5rem) 2rem; margin-top: auto; font-size: .9rem; }
.site-footer a { color: #f6f1e8; }
.site-footer a:hover, .site-footer a:focus-visible { color: #ffb48f; }
.footer__top { display: flex; flex-wrap: wrap; gap: 2.5rem; justify-content: space-between; }
.footer__col { flex: 1 1 220px; }
.footer__col h2 { font-family: var(--sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: #fff; margin-bottom: 1rem; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .45rem; }
.footer__disclaimer { margin-top: 2.5rem; padding-top: 1.6rem; border-top: 1px solid #3a3530; font-size: .82rem; color: #b5ad9f; }
.footer__bottom { margin-top: 1.4rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .8rem; color: #8f877a; }

/* ---------- Sticky CTA ---------- */
.sticky-cta {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 50;
  background: var(--ink); color: var(--paper);
  padding: .8rem 1.2rem; text-decoration: none; font-weight: 600; font-size: .92rem;
  border-radius: 30px; box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
  display: none;
}
.sticky-cta:hover, .sticky-cta:focus-visible { background: var(--accent); color: #fff; }
body.cookies-done .sticky-cta { display: inline-flex; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 1.4rem; bottom: 1.4rem; z-index: 60;
  max-width: 420px; background: #fff; color: var(--ink);
  border: 1px solid var(--line); border-top: 5px solid var(--gum);
  padding: 1.3rem 1.4rem; box-shadow: 0 12px 34px rgba(0, 0, 0, .2);
  display: none;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { font-size: .9rem; margin-bottom: 1rem; }
.cookie-banner__actions { display: flex; gap: .7rem; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .shell { flex-direction: column; }
  .sidebar { width: 100%; flex: 0 0 auto; height: auto; position: relative; padding: 1rem 1.2rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: inline-flex; }
  .side-nav, .sidebar__note, .side-legal { display: none; }
  .sidebar.is-open .side-nav, .sidebar.is-open .sidebar__note, .sidebar.is-open .side-legal { display: flex; }
  .sidebar.is-open .sidebar__note { display: block; }
  .side-nav { margin: 1.2rem 0 1rem; }
  .main > section, .main > header { padding: 3.2rem 1.3rem; }
  .opening { flex-direction: column; }
  .opening__visual { width: 100%; }
  .opening__visual .media { height: 320px; }
  .slide-counter { left: .8rem; bottom: .8rem; }
  .sample:nth-child(2) { margin-top: 0; }
  .method__visual { position: relative; top: 0; flex-basis: 100%; }
  .method__visual .media { height: 280px; }
  .rate__price { text-align: left; }
  .svc:nth-child(even) { flex-direction: row; }
  .cookie-banner { left: .8rem; right: .8rem; bottom: .8rem; max-width: none; }
}
