/* New Blueprint Hypnotherapy - site styles
   Colours come from the original teal and cream design.
   To change a colour site-wide, edit the values in :root below. */

@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: italic; font-display: swap; src: url("fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Josefin Sans"; font-weight: 300; font-style: normal; font-display: swap; src: url("fonts/josefin-sans-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Josefin Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/josefin-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/open-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/open-sans-latin-600-normal.woff2") format("woff2"); }

:root {
  --ink: #183238;
  --muted: #5e7072;
  --teal: #286b6b;
  --teal-dark: #194d50;
  --deep: #153f42;           /* footer */
  --pale: #eaf2ef;
  --tint: #f0f3ef;
  --paper: #fbfaf7;
  --white: #ffffff;
  --line: #dce5e1;
  --line-strong: rgba(40, 107, 107, .32);
  --field-border: #7f9a95;

  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --label: "Josefin Sans", "Helvetica Neue", Arial, sans-serif;
  --body: "Open Sans", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.75 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--teal); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }

.container { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.section { padding: clamp(72px, 10vw, 128px) 0; scroll-margin-top: 72px; }
.section--panel { background: var(--tint); }
.section--contact { background: linear-gradient(120deg, #eaf1ed, #f7f5ef); }
.section--dark { background: var(--teal-dark); color: rgba(255, 255, 255, .82); }

h1, h2, h3 { font-family: var(--display); font-weight: 500; color: var(--ink); margin: 0; text-wrap: balance; }
h2 { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.1; letter-spacing: -.01em; }
h3 { font-size: 27px; line-height: 1.2; }
p { margin: 0 0 1.1em; }
.lead { color: var(--muted); max-width: 62ch; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 { margin-bottom: 18px; }
.section-head p { margin: 0; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark .lead { color: rgba(255, 255, 255, .82); }

/* Buttons */
.button {
  display: inline-block;
  padding: 15px 26px;
  border: 1px solid var(--teal);
  border-radius: 3px;
  background: var(--teal);
  color: var(--white);
  font: 600 14px/1.2 var(--body);
  letter-spacing: .02em;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.button:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: var(--white); }
.button--ghost { background: transparent; color: var(--teal); }
.button--ghost:hover { background: var(--teal); border-color: var(--teal); color: var(--white); }
.section--dark .button { background: var(--white); border-color: var(--white); color: var(--teal-dark); }
.section--dark .button:hover { background: #e8f0ec; border-color: #e8f0ec; color: var(--teal-dark); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 247, .94);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.wordmark { text-decoration: none; color: var(--teal-dark); display: block; line-height: 1; }
.wordmark:hover { color: var(--teal-dark); }
.wordmark strong { display: block; font: 300 20px/1 var(--label); letter-spacing: .24em; text-transform: uppercase; }
.wordmark span { display: block; margin-top: 7px; font: 300 10.5px/1 var(--label); letter-spacing: .42em; text-transform: uppercase; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; }
.nav-links a:hover { color: var(--teal); }
.nav-links .button { color: var(--white); padding: 11px 20px; font-size: 13px; }
.nav-links .button:hover { color: var(--white); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); border-radius: 3px; color: var(--teal); width: 46px; height: 46px; padding: 0; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 1.5px; background: var(--teal); margin: 0 auto; position: relative; content: ""; }
.nav-toggle span::before { position: absolute; top: -6px; left: 0; }
.nav-toggle span::after { position: absolute; top: 6px; left: 0; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(80px, 12vw, 150px) 0 clamp(72px, 10vw, 130px);
  background:
    radial-gradient(ellipse at 88% 15%, rgba(174, 202, 190, .35), transparent 34%),
    linear-gradient(115deg, #f7f6f1 0%, #eef3ef 58%, #e4eeea 100%);
}
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; border: 1px solid rgba(40, 107, 107, .18); }
.hero::before { width: 560px; height: 560px; right: -170px; top: 50%; transform: translateY(-50%); box-shadow: 0 0 0 34px rgba(40, 107, 107, .035), 0 0 0 70px rgba(40, 107, 107, .025); }
.hero::after { width: 380px; height: 380px; right: -80px; top: 50%; transform: translateY(-50%); opacity: .7; }
.hero-inner { position: relative; z-index: 1; max-width: 820px; padding-left: clamp(22px, 3.2vw, 40px); border-left: 1px solid var(--teal); }
.hero h1 { font-size: clamp(46px, 7.4vw, 96px); line-height: 1.04; letter-spacing: -.015em; margin-bottom: 28px; }
.hero h1 span { display: block; }
.hero p { max-width: 56ch; color: var(--muted); font-size: 18px; }
.credential { margin-top: 54px; padding-top: 26px; border-top: 1px solid var(--line-strong); max-width: 520px; }
.credential b { display: block; font: 300 19px/1.2 var(--label); letter-spacing: .2em; color: var(--teal-dark); text-transform: uppercase; }
.credential small { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); line-height: 1.55; }
.credential { display: flex; align-items: center; gap: 22px; }
.credential-logos { display: flex; gap: 12px; flex: none; }
.credential-logos img { width: 88px; height: 88px; }
.scope { max-width: 70ch; margin: 36px 0 0; font-size: 15px; color: var(--muted); }

/* RTT */
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(36px, 7vw, 92px); align-items: start; }
.note { background: var(--pale); border-left: 3px solid var(--teal); padding: clamp(26px, 3.4vw, 42px); }
.note h3 { margin-bottom: 14px; }
.note p { color: var(--muted); font-size: 15.5px; }
.note p:last-child { margin-bottom: 0; }

/* Ways I can help */
.help-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(28px, 4vw, 56px); }
.help-item { padding: 26px 0 34px; border-top: 1px solid var(--line-strong); }
.help-item h3 { margin-bottom: 10px; }
.help-item p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* Process - a real sequence, so numbered */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 74px; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; font: 500 64px/1 var(--display); color: var(--teal); font-variant-numeric: lining-nums; }
.steps li::after { content: ""; position: absolute; top: 34px; left: 44px; right: 0; height: 1px; background: var(--line-strong); }
.steps h3 { margin-bottom: 10px; }
.steps p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* About */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 7vw, 92px); align-items: center; }
.portrait {
  aspect-ratio: 4 / 5; width: 100%; max-width: 420px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: linear-gradient(145deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .015));
  display: grid; place-items: center; position: relative; overflow: hidden;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait-placeholder { text-align: center; color: rgba(255, 255, 255, .7); font-size: 14px; padding: 24px; }
.portrait-placeholder span {
  display: grid; place-items: center; width: 110px; height: 110px; margin: 0 auto 18px;
  border: 1px solid rgba(255, 255, 255, .55); border-radius: 50%; color: #d2e3dc; font: 500 54px/1 var(--display);
}
.creds { list-style: none; padding: 0; margin: 28px 0 0; border-top: 1px solid rgba(255, 255, 255, .18); }
.creds li { padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); font-size: 15px; color: rgba(255, 255, 255, .75); }
.creds b { color: var(--white); font-weight: 600; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); margin-bottom: clamp(48px, 7vw, 84px); }
.quote { margin: 0; padding-top: 22px; border-top: 1px solid var(--line-strong); }
.quote p { font: italic 500 24px/1.4 var(--display); color: var(--ink); margin-bottom: 18px; }
.quote footer { font-size: 14px; color: var(--muted); }
.quote footer b { color: var(--teal-dark); font-weight: 600; }
.placeholder { outline: 1px dashed var(--teal); outline-offset: 8px; margin-top: 10px; }
.videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 36px); }
.video { margin: 0; }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: var(--white); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { appearance: none; background: none; border: 0; cursor: pointer; width: 100%; height: 100%; display: grid; place-items: center; color: var(--teal); font: inherit; }
.video-play i { width: 74px; height: 74px; border: 1px solid var(--teal); border-radius: 50%; display: grid; place-items: center; transition: background-color .2s; }
.video-play i::after { content: ""; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent var(--teal); margin-left: 5px; transition: border-color .2s; }
.video-play:hover i { background: var(--teal); }
.video-play:hover i::after { border-left-color: #fff; }
.video figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }
.video-empty { color: var(--muted); font-size: 14px; text-align: center; padding: 20px; }

/* FAQ */
.faq { max-width: 860px; }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 22px 48px 22px 0; position: relative; font: 500 24px/1.3 var(--display); color: var(--ink); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-52%); font: 300 30px/1 var(--label); color: var(--teal); }
details[open] summary::after { content: "\2212"; }
details p { max-width: 68ch; color: var(--muted); padding-bottom: 8px; margin-bottom: 20px; }

/* Contact form */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 7vw, 92px); align-items: start; }
.details { list-style: none; padding: 0; margin: 30px 0 0; }
.details li { padding: 14px 0; border-top: 1px solid var(--line-strong); }
.details b { display: block; font: 400 13px/1.4 var(--body); color: var(--muted); margin-bottom: 2px; }
.details a, .details span { font-size: 19px; }
.details a, .site-footer a { overflow-wrap: anywhere; }
.details a[href^="mailto"] { font-size: clamp(15px, 4.6vw, 19px); }
.form { background: var(--white); border: 1px solid var(--line); padding: clamp(24px, 4vw, 44px); }
.field { margin-bottom: 22px; }
.field label, .field legend { display: block; margin-bottom: 8px; font-size: 14px; color: var(--ink); font-weight: 600; padding: 0; }
.field .hint { font-weight: 400; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; background: var(--white); color: var(--ink);
  border: 1px solid var(--field-border); border-radius: 3px; padding: 13px 14px; font: 400 16px/1.5 var(--body);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--teal); outline-offset: 2px; border-color: var(--teal); }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--teal) 50%), linear-gradient(135deg, var(--teal) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field .consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; font-weight: 400; color: var(--muted); margin: 0; }
.consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--teal); flex: none; }
.form .button { width: 100%; padding: 17px; font-size: 15px; }
.form-note { margin: 16px 0 0; font-size: 13px; color: var(--muted); }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* Footer */
.site-footer { background: var(--deep); padding: 44px 0 52px; font-size: 14px; color: rgba(255, 255, 255, .75); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px 48px; }
.site-footer p { margin: 0 0 8px; }
.site-footer a { color: rgba(255, 255, 255, .92); }
.site-footer a:hover { color: var(--white); }
.site-footer strong { color: var(--white); font-weight: 600; }
.fine { font-size: 13px; max-width: 70ch; }

/* Thanks / privacy pages */
.page { padding: clamp(80px, 12vw, 150px) 0; min-height: 70vh; }
.page h1 { font-size: clamp(42px, 6vw, 72px); line-height: 1.05; margin-bottom: 24px; }
.page h2 { font-size: 30px; margin: 36px 0 10px; }
.page .prose { max-width: 70ch; }

/* Tablet */
@media (max-width: 960px) {
  .help-list, .quotes { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps li { padding-top: 0; padding-left: 76px; }
  .steps li::after { display: none; }
  .steps li::before { top: -6px; }
  .split, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 340px; }
  .hero::before { right: -300px; }
  .hero::after { right: -230px; }
}

/* Mobile nav: only collapses when JavaScript is available */
@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .no-js .nav-toggle { display: none; }
  .js .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 24px 26px;
  }
  .js .nav-links.open { display: flex; }
  .js .nav-links a:not(.button) { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .js .nav-links .button { margin-top: 20px; padding: 15px; }
  .no-js .nav-links { gap: 8px 20px; padding-bottom: 14px; }
}

@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .container { width: min(100% - 36px, 600px); }
  .help-list, .quotes, .videos, .field-row, .footer-grid { grid-template-columns: 1fr; }
  .field-row { gap: 0; }
  .wordmark strong { font-size: 17px; letter-spacing: .2em; }
  .wordmark span { font-size: 9.5px; letter-spacing: .36em; }
  .nav { min-height: 68px; }
  .actions .button { width: 100%; }
  .hero::before, .hero::after { display: none; }
  .hero h1 { font-size: clamp(34px, 9.2vw, 52px); }
  .credential b { font-size: 15px; letter-spacing: .14em; }
  .credential { gap: 14px; }
  .credential-logos img { width: 64px; height: 64px; }
  .quote p { font-size: 22px; }
  summary { font-size: 22px; }
}

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

.form-status { margin: 12px 0 0; font-size: 14px; color: var(--teal-dark); }
.form-status:empty { display: none; }
.button[disabled] { opacity: .7; cursor: default; }
.form-status, .form-note { overflow-wrap: anywhere; }
