/* Suffolk Hypnotherapy — site styles */
:root {
  --cream: #fbf7f1;
  --paper: #ffffff;
  --ink: #211d33;
  --muted: #59556c;
  --line: #e9e4ef;
  --brand: #4b3f9e;
  --brand-ink: #362c7c;
  --tint: #efecfb;
  --tint-2: #e2ddf8;
  --peach: #fbe7d8;
  --peach-ink: #b4572a;
  --sage: #e6efe8;
  --radius: 20px;
  --radius-lg: 32px;
  --shadow: 0 1px 2px rgba(33, 29, 51, .05), 0 8px 24px rgba(33, 29, 51, .07);
  --shadow-lg: 0 2px 4px rgba(33, 29, 51, .05), 0 24px 48px rgba(33, 29, 51, .12);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 116px; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.7;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-ink); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--ink); font-optical-sizing: auto; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
p { margin: 0 0 1.1em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.bg-paper { background: var(--paper); }
.bg-tint { background: var(--tint); }
.bg-sage { background: var(--sage); }
.center { text-align: center; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.125rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--brand); background: var(--tint); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.lead { font-size: 1.2rem; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--sans); font-weight: 700;
  font-size: 1rem; line-height: 1; padding: 16px 26px; border-radius: 999px; text-decoration: none; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(75, 63, 158, .28); }
.btn-primary:hover { background: var(--brand-ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--brand); border-color: var(--tint-2); }
.btn-ghost:hover { background: var(--tint); color: var(--brand-ink); }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { background: var(--tint); color: var(--brand-ink); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .15s ease; }
.link-arrow:hover::after { transform: translateX(3px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 247, 241, .9); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); transition: box-shadow .2s ease; }
.site-header.scrolled { box-shadow: 0 1px 0 var(--line), 0 6px 20px rgba(33, 29, 51, .06); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 100px; gap: 20px; }
.brand img { height: 78px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 10px 14px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--tint); color: var(--brand); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { padding: 12px 20px; font-size: .95rem; }
.nav-phone { font-weight: 700; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; font-size: .95rem; }
.nav-phone i { color: var(--brand); }
.menu-btn { display: none; background: none; border: 0; width: 46px; height: 46px; border-radius: 12px; cursor: pointer; color: var(--ink); font-size: 1.3rem; }
.menu-btn:hover { background: var(--tint); }

/* Hero */
.hero { position: relative; padding: 56px 0 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero h1 em { font-style: italic; color: var(--brand); font-weight: 500; }
.hero .lead { max-width: 560px; margin-bottom: 30px; }
.hero-note { margin-top: 22px; color: var(--muted); font-size: .95rem; display: flex; align-items: center; gap: 10px; }
.hero-note i { color: var(--brand); }
main { overflow-x: clip; }
.hero-photo { position: relative; justify-self: center; width: min(440px, 100%); }
.hero-photo::before {
  content: ""; position: absolute; inset: -6% -10% 8% 6%; background: var(--tint-2); border-radius: 48% 52% 44% 56% / 52% 46% 54% 48%; z-index: 0;
}
.hero-photo::after {
  content: ""; position: absolute; width: 38%; aspect-ratio: 1; right: -8%; bottom: -4%; background: var(--peach); border-radius: 50%; z-index: 0;
}
.hero-photo img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 30%; border-radius: 220px 220px var(--radius-lg) var(--radius-lg); box-shadow: var(--shadow-lg); }
.badge-float {
  position: absolute; z-index: 2; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); padding: 12px 16px;
  display: flex; align-items: center; gap: 12px; font-size: .9rem; line-height: 1.3; font-weight: 600;
}
.badge-float strong { display: block; font-family: var(--serif); font-size: 1.35rem; color: var(--brand); }
.badge-float .ico { width: 40px; height: 40px; border-radius: 12px; background: var(--tint); color: var(--brand); display: grid; place-items: center; flex: none; }
.badge-a { left: -12%; top: 18%; }
.badge-b { right: -10%; bottom: 14%; }

/* Trust strip */
.trust { margin-top: -40px; position: relative; z-index: 2; }
.trust-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(4, 1fr); padding: 10px; }
.trust-item { display: flex; gap: 14px; align-items: center; padding: 18px 20px; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--tint); color: var(--brand); flex: none; font-size: 1.1rem; }
.trust-item b { display: block; font-size: 1rem; }
.trust-item span { color: var(--muted); font-size: .9rem; line-height: 1.4; display: block; }

/* Split blocks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.media-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: #000; }
.media-frame video, .media-frame img { width: 100%; }
.media-caption { margin-top: 14px; color: var(--muted); font-size: .92rem; display: flex; gap: 8px; align-items: center; }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); display: flex; flex-direction: column;
  border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; color: var(--ink); text-decoration: none;
}
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--tint-2); color: var(--ink); }
.card .ico { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; font-size: 1.35rem; margin-bottom: 20px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 1rem; flex: 1; }
.card .link-arrow { color: var(--brand); margin-top: 6px; }
.ico-lilac { background: var(--tint); color: var(--brand); }
.ico-peach { background: var(--peach); color: var(--peach-ink); }
.ico-sage { background: var(--sage); color: #3b6b4b; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 40px; }
.chip { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: .95rem; font-weight: 600; color: var(--ink); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { background: #fff; border-radius: var(--radius); padding: 32px 28px; position: relative; box-shadow: var(--shadow); }
.step::before {
  counter-increment: step; content: counter(step); font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: #fff;
  width: 48px; height: 48px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; margin-bottom: 18px;
}
.step p { color: var(--muted); margin: 0; font-size: 1rem; }

/* Callout list */
.ticks { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 34px; }
.ticks li::before { content: "\f00c"; font-family: "Font Awesome 5 Free"; font-weight: 900; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--tint); color: var(--brand); font-size: .7rem; display: grid; place-items: center; }
.ticks.two-col { grid-template-columns: 1fr 1fr; column-gap: 24px; }

.panel { background: #fff; border-radius: var(--radius-lg); padding: 44px; box-shadow: var(--shadow); }
.panel-tint { background: var(--tint); box-shadow: none; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); display: flex; flex-direction: column; margin: 0; }
.quote .stars { color: #e3a33b; font-size: .85rem; letter-spacing: 2px; margin-bottom: 14px; }
.quote blockquote { margin: 0 0 22px; font-family: var(--serif); font-size: 1.18rem; line-height: 1.5; flex: 1; color: var(--ink); }
.quote figcaption { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .95rem; }

/* FAQ */
.faq { display: grid; gap: 14px; }
.faq details { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 0 26px; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; background: var(--tint); color: var(--brand); display: grid; place-items: center; font-family: var(--sans); font-size: 1.3rem; transition: transform .2s ease; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 0 22px; color: var(--muted); }
.faq .answer p:last-child { margin-bottom: 0; }

/* CTA band */
.cta-band { background: var(--brand); color: #fff; border-radius: var(--radius-lg); padding: 64px 48px; text-align: center; position: relative; overflow: hidden; }
.cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.cta-band::before { width: 340px; height: 340px; left: -120px; top: -160px; }
.cta-band::after { width: 260px; height: 260px; right: -80px; bottom: -140px; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .88); font-size: 1.15rem; max-width: 620px; margin: 0 auto 30px; }
.cta-band .btn-row { justify-content: center; position: relative; z-index: 1; }

/* Page hero (inner pages) */
.page-hero { padding: 48px 0 72px; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.page-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.page-hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); }
.page-hero .lead { margin-bottom: 28px; }
.page-hero-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; }
.page-hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* Article + sidebar */
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.prose { font-size: 1.075rem; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .6em; }
.prose blockquote { margin: 1.6em 0; padding: 24px 28px; background: var(--tint); border-radius: var(--radius); font-family: var(--serif); font-size: 1.2rem; line-height: 1.55; }
.prose .highlight { background: var(--peach); border-radius: var(--radius); padding: 24px 28px; margin: 1.6em 0; }
.prose .highlight h3 { margin-top: 0; }
.aside { position: sticky; top: 124px; display: grid; gap: 18px; }
.aside-card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.aside-card h3 { font-size: 1.3rem; }
.aside-card p { color: var(--muted); font-size: .98rem; }
.aside-card .btn { width: 100%; margin-top: 10px; }
.aside-person { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.aside-person img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: center 25%; }
.aside-person b { display: block; }
.aside-person span { color: var(--muted); font-size: .9rem; }
.aside-links { list-style: none; padding: 0; margin: 0; }
.aside-links li { border-top: 1px solid var(--line); }
.aside-links a { display: block; padding: 12px 0; font-weight: 600; text-decoration: none; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 48px; align-items: start; }
.methods { display: grid; gap: 14px; margin: 28px 0; }
.method { display: flex; align-items: center; gap: 16px; background: #fff; border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform .15s ease, box-shadow .15s ease; }
.method:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--ink); }
.method .ico { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; font-size: 1.25rem; flex: none; }
.method b { display: block; font-size: 1.05rem; }
.method span { color: var(--muted); font-size: .95rem; }
.form-card { background: #fff; border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-lg); }
.form-card h2 { font-size: 1.9rem; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 7px; }
.field label small { font-weight: 500; color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--cream); border: 1.5px solid var(--line);
  border-radius: 14px; padding: 14px 16px; transition: border-color .15s ease, background-color .15s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px var(--tint); }
.form-card .btn { width: 100%; }
.form-note { font-size: .9rem; color: var(--muted); margin: 14px 0 0; display: flex; gap: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { background: var(--paper); border-top: 1px solid var(--line); padding: 72px 0 28px; margin-top: 96px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; }
.site-footer img.logo { height: 84px; width: auto; margin-bottom: 16px; }
.site-footer p { color: var(--muted); font-size: .97rem; }
.site-footer h4 { font-family: var(--sans); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer ul a { color: var(--ink); text-decoration: none; font-weight: 500; }
.site-footer ul a:hover { color: var(--brand); }
.site-footer ul i { color: var(--brand); width: 20px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--brand); text-decoration: none; transition: background-color .15s ease, color .15s ease; }
.socials a:hover { background: var(--brand); color: #fff; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: .9rem; }
.no-footer-gap .site-footer { margin-top: 0; }

/* Simple centred page (thank you, 404, prize) */
.simple { min-height: 52vh; display: grid; place-items: center; padding: 72px 0; }
.simple-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 48px; max-width: 640px; text-align: center; }
.simple-card .ico { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 22px; display: grid; place-items: center; font-size: 1.8rem; }
.simple-card .btn-row { justify-content: center; }

/* Reveal on scroll (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .method { transition: none; }
}

/* Responsive */
@media (max-width: 1080px) {
  .nav-phone { display: none; }
  .badge-a { left: -4%; }
  .badge-b { right: -2%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .menu-btn { display: inline-grid; place-items: center; }
  .nav-links {
    position: absolute; top: 76px; left: 12px; right: 12px; flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 10px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 16px; font-size: 1.05rem; }
  .nav-cta .btn { display: none; }
  .hero-grid, .split, .page-hero-grid, .article-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse > :first-child { order: 0; }
  .hero { padding-top: 32px; }
  .hero-photo { width: min(360px, 82%); margin-top: 8px; }
  .trust-card { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cards, .quotes, .steps { grid-template-columns: 1fr 1fr; }
  .aside { position: static; }
  .page-hero-img { max-width: 560px; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }
  .brand img { height: 58px; }
  .nav { height: 80px; }
  .nav-links { top: 68px; }
  .hero { padding-bottom: 72px; }
  .hero .btn-row .btn { flex: 1 1 100%; }
  .badge-float { font-size: .8rem; padding: 10px 12px; }
  .badge-float strong { font-size: 1.1rem; }
  .badge-float .ico { width: 34px; height: 34px; }
  .badge-a { left: -8%; top: 8%; }
  .badge-b { right: -8%; bottom: 8%; }
  .trust-card { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
  .cards, .quotes, .steps, .ticks.two-col { grid-template-columns: 1fr; }
  .panel, .form-card, .simple-card { padding: 28px 22px; }
  .cta-band { padding: 48px 22px; }
  .cta-band .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .site-footer { margin-top: 64px; }
}
