/*
Theme Name: Simon Matthews Psychotherapy
Theme URI: https://www.simonmatthewstherapist.co.uk
Author: OpenAI for Simon Matthews
Description: A calm, bespoke one-page theme for Simon Matthews, transpersonal psychotherapist.
Version: 1.4.0
Text Domain: simon-matthews
*/

:root {
  --ink: #13283a;
  --ink-soft: #425867;
  --blue: #075b8f;
  --blue-deep: #043553;
  --blue-light: #dceef5;
  --moss: #315a4b;
  --moss-deep: #203f36;
  --stone: #ead9bb;
  --ochre: #d29a38;
  --clay: #b85f47;
  --paper: #fbf8f1;
  --white: #ffffff;
  --line: rgba(19, 40, 58, .15);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 18px; line-height: 1.7; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.site-header { position: absolute; z-index: 10; width: 100%; color: #fff; }
.nav-wrap { width: min(1180px, calc(100% - 48px)); margin: auto; display: flex; align-items: center; justify-content: space-between; padding: 25px 0; }
.brand { text-decoration: none; }
.brand-name { display: block; font-family: var(--serif); font-size: 1.25rem; letter-spacing: .02em; }
.brand-role { display: block; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; opacity: .78; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-size: .83rem; text-decoration: none; opacity: .9; }
.nav-links a:hover { opacity: 1; }
.nav-links .nav-contact { border: 1px solid rgba(255,255,255,.5); border-radius: 99px; padding: 8px 17px; background: rgba(197,144,61,.18); }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { list-style: none; cursor: pointer; border: 1px solid rgba(255,255,255,.55); border-radius: 99px; padding: 8px 17px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu nav { position: absolute; right: 0; top: 48px; min-width: 220px; padding: 10px; border-radius: 12px; background: rgba(3,43,67,.97); box-shadow: 0 18px 50px rgba(0,0,0,.28); }
.mobile-menu nav a { display: block; padding: 10px 12px; text-decoration: none; font-size: .9rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.mobile-menu nav a:last-child { border-bottom: 0; color: #f0c477; }

.hero { min-height: 760px; height: 92vh; color: white; background: #075b8f url('assets/images/water-ripple.png') center/cover no-repeat; display: grid; align-items: center; position: relative; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,31,52,.76) 0%, rgba(3,46,75,.54) 38%, rgba(2,42,69,.08) 72%); }
.hero-inner { position: relative; width: min(1180px, calc(100% - 48px)); margin: auto; padding-top: 70px; }
.eyebrow { margin: 0 0 18px; text-transform: uppercase; letter-spacing: .2em; font-size: .72rem; font-weight: 600; opacity: .83; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; }
h1 { max-width: 760px; margin: 0 0 24px; font-size: clamp(3.1rem, 6vw, 6.3rem); letter-spacing: -.035em; }
.hero-copy { max-width: 600px; font-size: clamp(1.1rem, 1.8vw, 1.4rem); line-height: 1.55; color: rgba(255,255,255,.9); }
.button { display: inline-block; margin-top: 28px; padding: 13px 23px; border-radius: 99px; background: var(--ochre); color: #17251f; text-decoration: none; font-size: .88rem; font-weight: 700; box-shadow: 0 8px 30px rgba(0,0,0,.12); }
.scroll-note { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; opacity: .65; }

.section { padding: 110px 0; }
.wrap { width: min(1080px, calc(100% - 48px)); margin: auto; }
.narrow { width: min(760px, calc(100% - 48px)); margin: auto; }
.intro { background: #d9edf4; text-align: center; border-top: 10px solid var(--ochre); }
.intro h2, .section-title { margin: 0 0 30px; font-size: clamp(2.4rem, 4vw, 4.2rem); letter-spacing: -.025em; }
.intro .lead { margin: 0 auto; font-family: var(--serif); font-size: clamp(1.35rem, 2.5vw, 2rem); line-height: 1.55; color: var(--ink-soft); }
.ripple-mark { width: 52px; height: 17px; margin: 36px auto 0; border: 1px solid var(--blue); border-radius: 50%; opacity: .55; position: relative; }
.ripple-mark::after { content: ''; position: absolute; inset: 5px -12px -5px; border: 1px solid var(--blue); border-radius: 50%; }

.what-happens { background: #f2d9cf; border-top: 1px solid rgba(184,95,71,.2); }
.what-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.what-grid h2 { margin: 0; font-size: clamp(2.4rem, 4vw, 4rem); }
.what-copy p:first-child { margin-top: 0; font-family: var(--serif); font-size: 1.38rem; color: var(--blue-deep); }
.plain-note { margin-top: 32px; padding: 23px 26px; border-left: 3px solid var(--clay); background: rgba(255,255,255,.62); color: var(--ink-soft); }

#about { background: #fffaf0; }
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 84px; align-items: center; }
.portrait-frame { position: relative; }
.portrait-frame::before { content: ''; position: absolute; inset: 24px -24px -24px 24px; background: var(--ochre); z-index: -1; }
.portrait-frame img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 52% 48%; }
.about-copy h2 { margin: 0 0 24px; font-size: clamp(2.5rem, 4vw, 4rem); }
.credential { color: var(--clay); text-transform: uppercase; letter-spacing: .13em; font-size: .72rem; font-weight: 700; }
.signature { font-family: var(--serif); font-size: 1.35rem; font-style: italic; color: var(--moss); }

.approach { color: white; background: var(--moss-deep); }
.approach .section-title { max-width: 700px; }
.approach-intro { max-width: 780px; color: rgba(255,255,255,.78); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 58px; background: rgba(255,255,255,.18); }
.card { min-height: 300px; padding: 38px 32px; background: var(--moss-deep); }
.card-num { color: #e0b96f; font-size: .72rem; letter-spacing: .16em; }
.card h3 { font-size: 1.55rem; margin: 34px 0 14px; }
.card p { color: rgba(255,255,255,.7); font-size: .94rem; }

.specialisms { background: #cbded3; border-top: 10px solid var(--ochre); }
.special-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 60px; margin-top: 45px; }
.special-item { border-top: 1px solid var(--line); padding: 24px 0; }
.special-item h3 { font-family: var(--sans); font-size: 1rem; font-weight: 650; margin: 0 0 6px; }
.special-item p { margin: 0; color: var(--ink-soft); font-size: .92rem; }

.larger-view { background: var(--stone); border-top: 10px solid var(--clay); }
.larger-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 92px; align-items: center; }
.larger-view h2 { margin: 0 0 28px; font-size: clamp(2.5rem, 4vw, 4.3rem); }
.orbital { min-height: 390px; position: relative; display: grid; place-items: center; }
.orbital::before, .orbital::after, .orbital-ring { content: ''; position: absolute; border: 1px solid rgba(49,90,75,.38); border-radius: 50%; }
.orbital::before { width: 360px; height: 150px; transform: rotate(8deg); }
.orbital::after { width: 260px; height: 110px; transform: rotate(-13deg); }
.orbital-ring { width: 450px; height: 190px; transform: rotate(-2deg); }
.orbital-word { position: relative; z-index: 1; width: 136px; height: 136px; border-radius: 50%; display: grid; place-items: center; background: var(--moss); color: white; font-family: var(--serif); font-size: 1.2rem; text-align: center; box-shadow: 0 20px 60px rgba(32,63,54,.2); }

.wider-work { background: #e9f1ed; }
.work-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 48px; }
.work-item { padding: 34px 30px; border-top: 7px solid var(--ochre); background: #fffaf0; }
.work-item:nth-child(2) { border-color: var(--moss); }
.work-item:nth-child(3) { border-color: var(--clay); }
.work-item h3 { margin: 6px 0 15px; font-size: 1.45rem; }
.work-item p { margin-bottom: 0; color: var(--ink-soft); font-size: .93rem; }

.quote { padding: 100px 0; background: var(--ochre); text-align: center; }
.quote blockquote { max-width: 900px; margin: 0 auto; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.35; color: #17251f; }
.quote cite { display: block; margin-top: 24px; font-family: var(--sans); font-size: .75rem; font-style: normal; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-soft); }

.practical { background: #f5e9d3; }
.practical-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.practical h2 { margin-top: 0; font-size: clamp(2.4rem, 4vw, 4rem); }
.fact { border-top: 1px solid var(--line); padding: 18px 0; display: grid; grid-template-columns: 150px 1fr; gap: 20px; }
.fact strong { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.fact span { color: var(--ink-soft); }

.contact { color: white; background: var(--blue); text-align: center; position: relative; overflow: hidden; border-top: 10px solid var(--clay); }
.contact::before, .contact::after { content: ''; position: absolute; left: 50%; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; transform: translateX(-50%); }
.contact::before { width: 560px; height: 170px; bottom: -80px; }
.contact::after { width: 760px; height: 230px; bottom: -110px; }
.contact .wrap { position: relative; z-index: 1; }
.contact h2 { margin: 0 0 20px; font-size: clamp(2.7rem, 5vw, 5rem); }
.contact p { max-width: 650px; margin: auto; color: rgba(255,255,255,.82); }
.contact-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 34px; margin-top: 34px; }
.contact-links a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.5); }

.site-footer { padding: 25px 0; background: #032b43; color: rgba(255,255,255,.62); font-size: .72rem; }
.footer-inner { width: min(1080px, calc(100% - 48px)); margin: auto; display: flex; justify-content: space-between; gap: 30px; }

@media (max-width: 820px) {
  body { font-size: 17px; }
  .nav-links { display: none; }
  .mobile-menu { display: block; }
  .hero { min-height: 700px; }
  .hero::before { background: linear-gradient(90deg, rgba(3,31,52,.78), rgba(3,46,75,.35)); }
  .section { padding: 78px 0; }
  .about-grid, .practical-grid, .what-grid, .larger-grid { grid-template-columns: 1fr; gap: 55px; }
  .portrait-frame { max-width: 520px; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .special-grid { grid-template-columns: 1fr; gap: 0; }
  .work-grid { grid-template-columns: 1fr; }
  .orbital { min-height: 300px; transform: scale(.78); }
}

@media (max-width: 520px) {
  .nav-wrap, .hero-inner, .wrap, .narrow, .footer-inner { width: min(100% - 32px, 1080px); }
  .brand-name { font-size: 1.05rem; }
  .brand-role { font-size: .55rem; letter-spacing: .11em; }
  .hero { min-height: 660px; height: 88vh; background-position: 62% center; }
  .fact { grid-template-columns: 1fr; gap: 3px; }
  .footer-inner { display: block; }
}
