/* Authentic Self Hypnotherapy — site styles
   Colours and sizes copied from the Squarespace site. */
:root {
  --text: #5b514c;
  --cream: #f3f0e9;
  --white: #ffffff;
  --sand: #c49e8a;
  --brick: #a56247;
  --heading-font: "sofia-pro", "Outfit", system-ui, sans-serif;
  --body-font: "sweet-sans-pro", "Mulish", system-ui, sans-serif;
  /* Adobe numbers Sweet Sans Pro weights differently (Regular = 600, Bold = 800).
     Asking for 400 picks Sweet Sans Regular, and keeps lookalike text normal weight. */
  --body-weight: 400;
  --body-bold: 800;
  --menu-font: "Avenir Next", "DM Sans", system-ui, sans-serif;
  --max: 1500px;
  --gutter: 4vw;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); font-family: var(--body-font); font-weight: var(--body-weight); font-size: 17.92px; line-height: 1.7; background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
strong, b { font-weight: var(--body-bold); }
h1, h2, h3, h4 { font-family: var(--heading-font); font-weight: 300; margin: 0 0 .6em; }
h1 { font-size: clamp(34px, 3.8vw, 48.64px); line-height: 1.28; }
h2 { font-size: clamp(30px, 3.35vw, 42.88px); line-height: 1.3; }
h3 { font-size: clamp(24px, 2.45vw, 31.36px); line-height: 1.344; }
h4 { font-size: 17.92px; line-height: 1.393; }
/* Squarespace paragraph sizes */
p.large { font-size: 21.76px; line-height: 1.7; }
p.small { font-size: 16px; line-height: 1.7; }
p { margin: 0 0 1em; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem 1rem; z-index: 100; }

/* Buttons: brick fill, leaf-shaped corners */
.btn { display: inline-block; background: var(--brick); color: #fff; text-decoration: none; text-transform: uppercase; font-family: var(--body-font); font-weight: var(--body-bold); font-size: 14.08px; letter-spacing: 1.1264px; padding: 19px 30px; border-radius: 16px 0; line-height: 1.3; text-align: center; transition: opacity .2s; border: 0; cursor: pointer; }
.btn:hover { opacity: .85; }
.btn.light { background: #fff; color: var(--brick); }
.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--cream); }
.site-header .inner { max-width: var(--max); margin: 0 auto; padding: 1.9rem var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.logo { display: flex; align-items: center; gap: .9rem; text-decoration: none; font-size: 1.55rem; line-height: 1.2; font-family: var(--heading-font); font-weight: 400; }
.logo img { width: 300px; }
.nav { display: flex; align-items: center; gap: 2rem; font-family: var(--menu-font); font-weight: 400; }
.nav a { text-decoration: none; font-size: 1.22rem; }
.nav a:hover, .nav a[aria-current] { text-decoration: underline; text-underline-offset: 4px; }
.nav a.btn { font-family: var(--body-font); font-size: 14.6px; padding: 19.5px 31px; text-decoration: none; }
.menu-toggle { display: none; background: none; border: 0; font-size: 1.8rem; color: var(--text); cursor: pointer; }

/* Sections */
.section { position: relative; padding: clamp(3rem, 7vw, 6rem) var(--gutter); background-size: cover; background-position: center; }
.section > .inner { max-width: var(--max); margin: 0 auto; position: relative; }
.bg-cream { background-color: var(--cream); }
.bg-white { background-color: var(--white); }
.bg-sand { background-color: var(--sand); color: #fff; }
.bg-brick { background-color: var(--brick); color: #fff; }
.bg-sand .btn, .bg-brick .btn { background: #fff; color: var(--brick); }
.has-bg::before { content: ""; position: absolute; inset: 0; background-image: var(--bg); background-size: cover; background-position: center; opacity: var(--bg-opacity, 1); pointer-events: none; }
.center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }

/* Home hero */
.hero { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding: 0 4vw; }
.hero-photo { width: 100%; max-width: 440px; justify-self: end; }
.arch { border-radius: 999px 999px 0 0; overflow: hidden; aspect-ratio: 413 / 537; width: 100%; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.hero h2 { font-size: clamp(2.1rem, 3.4vw, 2.75rem); }
.hero h4 { font-size: 1.12rem; line-height: 1.6; }
.modalities p { margin: 0 0 .5em; font-size: 17.92px; }
.map { width: 100%; height: 190px; border: 0; margin-top: 1rem; filter: grayscale(100%); }

/* Icon columns */
/* Same as the Squarespace site: photos fill the column as wide strips (368 x 130 at desktop size) */
.icon-row { column-gap: 11px; }
.icon-col img { width: 100%; height: auto; aspect-ratio: 368 / 130; object-fit: cover; object-position: 50% 50%; margin: 0 0 2rem; }

.grid-rave { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.offset { margin-top: 6rem; }

/* Chart + 'Struggling to quit...' questions: chart on the left, questions centred beside it */
.struggles { display: grid; grid-template-columns: 3fr 2fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.struggles img { width: 100%; height: auto; }
.struggles p { font-size: 1.36rem; line-height: 1.7; margin-bottom: 16px; } /* 21.76px, as on the Squarespace site */

/* Lists */
.bullets li { margin-bottom: 1em; }

/* Offerings: measured from the Squarespace site at 1280px wide */
.section.offerings { padding: 84px 6vw 85px; }
.offerings .inner { max-width: none; }
.offerings-title { text-align: center; line-height: 1.7; margin: 0 0 40px; }
.offerings-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4.75vw, 60px); align-items: stretch; max-width: 1126px; margin: 0 auto; }
.offer-card { background: #fff; padding: 33.55px; text-align: center; }
.offer-card h2 { font-size: clamp(26px, 2.7vw, 34.43px); line-height: 1.3; margin: 0 0 13.4px; }
.offer-card p { font-size: 19.07px; line-height: 1.7; margin: 0; }
.offerings-button { text-align: center; margin: 40px 0 0; }

/* How it works */
.steps { max-width: 940px; margin: 0 auto; }
.step { display: grid; grid-template-columns: 1fr 3fr; gap: 2rem; margin-bottom: 2.5rem; }
.step .num { font-family: var(--heading-font); font-size: clamp(30px, 3.35vw, 42.88px); font-weight: 300; line-height: 1.3; text-align: center; }

/* Quotes */
blockquote { margin: 1.5rem 0 1rem; font-family: var(--body-font); font-size: 17.92px; line-height: 1.7; }
figcaption { font-size: 17.92px; line-height: 1.3; }

/* Cards (testimonials / blog summaries) */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 2rem; }
.card { text-decoration: none; display: block; }
.card .thumb { aspect-ratio: 16 / 10; overflow: hidden; background: rgba(0,0,0,.06); position: relative; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .thumb img { transform: scale(1.04); }
.card .play::after { content: "▶"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 2rem; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
/* Home page summaries: titles in the text font, like Squarespace */
.card h3 { font-family: var(--body-font); font-weight: var(--body-weight); font-size: 20px; line-height: 1.2; margin: .9rem 0 .3rem; }
.cards.grid-list h3 { font-family: var(--heading-font); font-weight: 300; font-size: 17.92px; line-height: 1.4; }
.cards.blog-list h3 { font-family: var(--heading-font); font-weight: 300; font-size: clamp(24px, 2.45vw, 31.36px); line-height: 1.4; }
.card .meta { font-size: 14px; line-height: 1.4; opacity: .85; }
.cards.grid-list .meta, .cards.blog-list .meta { font-size: 16px; }
.cards.blog-list p { font-size: 17.92px; }
.section-title h2 { font-family: var(--body-font); font-weight: var(--body-weight); font-size: 14px; line-height: 1.4; }
.section-title.breadcrumb h2 { font-size: 17.92px; }
.hero-small { font-size: 33.9px; line-height: 1; }
.lesson h1 { font-size: clamp(30px, 3.35vw, 42.88px); line-height: 1.4; }
.pager a { font-family: var(--heading-font); font-weight: 300; font-size: clamp(22px, 2.45vw, 31.36px); line-height: 1.4; text-decoration: none; }
.section-title { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 2rem; }

/* Page hero (inner pages) */
.page-hero { min-height: 400px; display: flex; align-items: center; }
.page-hero .inner { width: 100%; }
.narrow { max-width: 820px; margin: 0 auto; }

/* Team */
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 320px)); justify-content: center; gap: 3rem; text-align: center; }
.team img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: 50%; margin-bottom: 1rem; }
.team h3 { font-size: 25.2px; line-height: 1.3; }
.team .role { text-transform: uppercase; font-size: 16px; }

/* Forms */
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: block; font-size: 17.92px; margin: 1rem 0 .3rem; }
input, select, textarea { width: 100%; padding: .8rem; border: 1px solid #cfc6bd; background: #fff; font: inherit; color: var(--text); border-radius: 0; }
textarea { min-height: 140px; }
.acknowledgement { font-size: clamp(19px, 1.75vw, 22.4px); line-height: 1.5; }
.form-status { margin-top: 1rem; font-size: 17.92px; }
.form-note { font-size: .85rem; opacity: .8; margin-top: 1rem; }

/* Video */
.video-wrap { max-width: 900px; margin: 0 auto; aspect-ratio: 16 / 9; background: #000 center / cover no-repeat; position: relative; display: grid; place-items: center; }
.video-wrap .notice { background: rgba(255,255,255,.92); color: var(--text); padding: 1rem 1.4rem; max-width: 80%; text-align: center; font-size: .95rem; }

/* Real video players (portrait or landscape videos sit centred on black, like Squarespace) */
.video-player { max-width: 900px; margin: 0 auto; aspect-ratio: 16 / 9; background: #000; display: flex; justify-content: center; }
.video-player video { height: 100%; max-width: 100%; display: block; background: #000; }

/* Blog post */
.post { max-width: 760px; margin: 0 auto; }
.post .date { font-size: 16px; }
.post h1 { line-height: 1.4; }
.post img.feature { margin: 2rem 0; width: 100%; }
.author { font-size: 16px; display: flex; align-items: center; gap: 1rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid #e3ddd4; text-decoration: none; }
.author img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }

/* Embeds */
.acuity { width: 100%; min-height: 800px; border: 0; }

/* Footer */
.newsletter { text-align: center; }
/* Sign-up form: same as the Squarespace site - boxes and button in one row, words inside the boxes */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.newsletter-form { display: flex; justify-content: center; align-items: center; gap: 13px; flex-wrap: wrap; margin: 2rem auto 0; }
.newsletter-form input { width: 280px; height: 66px; padding: 22.4px 32px; font-size: 17.92px; border: 1px solid rgba(0,0,0,.12); background: #fff; color: #000; }
.newsletter-form input::placeholder { color: #757575; }
.newsletter-form .btn { padding: 22.4px 32px; height: 64px; }
/* Footer: measured from the Squarespace site at 1280px wide (positions within its 1126px content area) */
.site-footer { background: var(--brick); color: #fff; padding: 0 6vw; }
.site-footer a { color: #fff; text-decoration: none; }
.footer-grid { position: relative; max-width: 1126px; height: 286px; margin: 0 auto; }
.footer-grid > * { position: absolute; margin: 0; }
.f-contact { left: 4.17%; top: 42px; width: 70.6%; height: 59px; display: flex; align-items: center; justify-content: center; font-size: 17.92px; }
.f-sep { margin: 0 .9em 0 1.1em; }
.f-call { left: 67.32%; top: 42px; width: 15.9%; height: 59px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 30.4px; background: var(--sand); color: #fff; border-radius: 16px 0; font-weight: var(--body-bold); font-size: 14.08px; letter-spacing: 1.1264px; text-transform: uppercase; line-height: 1.4; }
.f-link { top: 113px; height: 61px; display: flex; align-items: flex-start; font-size: 17.92px; line-height: 1.7; }
.f-about { left: 21.05%; width: 11.63%; }
.f-packages { left: 33.66%; width: 11.63%; }
.f-terms { left: 46.27%; width: 15.9%; }
.f-contact-link { left: 67.32%; width: 11.63%; }
.f-link:hover { opacity: .8; }

/* Sign-up section spacing, as on the Squarespace site */
.section.newsletter { padding: 42px 6vw 110px; }
.newsletter h2 { line-height: 1.2; margin: 0 0 17px; }
.newsletter p { margin: 0; }
.newsletter .newsletter-form { margin-top: 40px; }

/* Thank You page: measured from the Squarespace site at 1280px wide */
.section.thank-you { padding: 130px 6vw 85px; }
.thank-you-grid { display: grid; grid-template-columns: 439fr 366fr; column-gap: 73px; row-gap: 2rem; max-width: 878px; align-items: start; }
.thank-you-grid img { width: 100%; aspect-ratio: 439 / 367; object-fit: cover; }
.thank-you-grid h1 { margin-bottom: .5em; }
.thank-you-button { margin-top: 2rem; }

/* Smaller laptops: scale the larger menu down a little so it stays on one line */
@media (max-width: 1180px) and (min-width: 901px) {
  .logo img { width: 240px; }
  .nav { gap: 1.3rem; }
  .nav a { font-size: 1.05rem; }
  .nav a.btn { font-size: 14.08px; padding: 19px 26px; }
}

/* Mobile */
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); flex-direction: column; padding: 1.5rem; gap: 1rem; }
  .nav.open { display: flex; }
  .hero, .grid-2, .grid-3, .grid-rave, .step, .struggles, .offerings-list, .thank-you-grid { grid-template-columns: 1fr; }
  .offset { margin-top: 0; }
  .newsletter-form input { width: 100%; }
  .footer-grid { height: auto; padding: 2.5rem 0; display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center; }
  .footer-grid > * { position: static; width: auto !important; height: auto; }
  .f-contact { flex-wrap: wrap; }
  .f-call { padding: 19px 30px; }
  .hero { padding: 0; }
  .hero-photo { justify-self: center; }
  .team { grid-template-columns: 1fr; }
  form .row { grid-template-columns: 1fr; }
  .logo img { width: 210px; }
  .logo { font-size: 1.2rem; }
}
