/* =========================================================
   Rosie Sinclair Psychotherapy — "Warm Minimal" (design 4a)
   Cream ground · Instrument Serif display · Schibsted Grotesk body
   Organic clay / ochre / sage / blush shape accents.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Schibsted+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --cream:        #f8f3e9;   /* page ground            */
  --cream-2:      #fdf3e9;   /* button text tint       */
  --ink:          #33291f;   /* primary text           */
  --muted:        #6d5c48;   /* body copy              */
  --muted-2:      #7a6c58;   /* nav / labels           */
  --muted-3:      #9b8a71;   /* eyebrows / captions    */
  --line:         #e9dfc9;   /* hairlines              */
  --field-line:   #ddceb2;   /* form underlines        */

  --clay:         #c65f35;   /* primary accent         */
  --ochre:        #d9a441;
  --sage:         #7d8b62;
  --blush:        #e9a98d;
  --cream-ochre:  #f0e2ba;   /* pale ochre blob        */
  --pale-sage:    #dfe4cf;   /* pale sage blob         */
  --pale-blush:   #f2dccc;   /* pale blush blob        */

  --brown:        #6b5745;   /* footer ground          */
  --brown-line:   #82705d;
  --brown-soft:   #ddd2c2;

  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans:  'Schibsted Grotesk', system-ui, -apple-system, Segoe UI, sans-serif;

  --maxw: 1160px;
  --pad:  clamp(20px, 5vw, 56px);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3 { margin: 0; font-weight: 400; }

.serif { font-family: var(--serif); }
.accent { color: var(--clay); }
.accent-sage { color: var(--sage); }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted-3);
}

.lead {
  font-size: clamp(15.5px, 2vw, 16.5px);
  line-height: 1.7;
  color: var(--muted);
}

/* -------- visually hidden (a11y) -------- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* =========================================================
   Header / navigation
   ========================================================= */
.site-header {
  position: relative;
  z-index: 40;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  padding-bottom: 24px;
}
.brand {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1;
  white-space: nowrap;
}
.brand-accent { color: var(--clay); }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 30px);
  font-size: 13.5px;
  color: var(--muted-2);
}
.nav a { transition: color .18s ease; }
.nav a:hover { color: var(--ink); }
.nav a.active { color: var(--ink); font-weight: 600; }

.btn-pill {
  background: var(--clay);
  color: var(--cream-2) !important;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13.5px;
  white-space: nowrap;
  transition: background .18s ease, transform .18s ease;
}
.btn-pill:hover { background: #b5522b; color: var(--cream-2) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px; width: 24px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-block;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  padding: 15px 30px;
  cursor: pointer;
  border: 0;
  font-family: var(--sans);
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark  { background: var(--ink);  color: var(--cream); }
.btn-dark:hover  { background: #241c14; }
.btn-clay  { background: var(--clay); color: var(--cream-2); }
.btn-clay:hover  { background: #b5522b; }

/* =========================================================
   Organic blobs (decorative)
   ========================================================= */
.blob {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border-radius: 52% 48% 55% 45% / 48% 55% 45% 52%;
}
.blob--b { border-radius: 45% 55% 60% 40% / 55% 45% 55% 45%; }
.blob--c { border-radius: 55% 45% 40% 60% / 45% 55% 45% 55%; }
.blob--d { border-radius: 58% 42% 50% 50% / 48% 60% 40% 52%; }
.blob--e { border-radius: 58% 42% 55% 45% / 52% 58% 42% 48%; }

.c-clay        { background: var(--clay); }
.c-ochre       { background: var(--ochre); }
.c-sage        { background: var(--sage); }
.c-blush       { background: var(--blush); }
.c-cream-ochre { background: var(--cream-ochre); }
.c-pale-sage   { background: var(--pale-sage); }
.c-pale-blush  { background: var(--pale-blush); }

/* =========================================================
   Section scaffolding
   ========================================================= */
.section {
  position: relative;
  overflow: hidden;
}
.section > .container { position: relative; z-index: 1; }

.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero .container { position: relative; z-index: 1; }
.hero-inner { max-width: 640px; margin: 0 auto; }

.h-home {
  font-family: var(--serif);
  font-size: clamp(44px, 8.4vw, 74px);
  line-height: 1.02;
  margin: 26px auto 0;
  max-width: 12ch;
}
.h-page {
  font-family: var(--serif);
  font-size: clamp(38px, 6.6vw, 56px);
  line-height: 1.05;
  margin-top: 22px;
}

.hero-note { font-size: 13px; color: var(--muted-3); margin-top: 30px; }
.hero-note a { color: var(--muted-3); text-decoration: underline; text-underline-offset: 3px; }
.hero-note a:hover { color: var(--clay); }

.cta-row { margin-top: 34px; }

/* =========================================================
   Home — hero copy
   ========================================================= */
.home-hero { padding: clamp(32px, 6vw, 56px) 0 clamp(36px, 5vw, 48px); }
.home-hero .lead { max-width: 520px; margin: 24px auto 0; }
.home-hero .blob-hero {
  width: clamp(220px, 32vw, 380px);
  aspect-ratio: 1/1;
  top: clamp(-120px, -14vw, -160px);
  right: clamp(-120px, -10vw, -140px);
}

/* -------- headshot cluster -------- */
.portrait-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  padding: clamp(28px, 6vw, 40px) 0 clamp(48px, 8vw, 72px);
  overflow: hidden;
}
.portrait {
  position: relative;
  z-index: 2;
  width: clamp(280px, 48vw, 560px);
  aspect-ratio: 56 / 53;
  border-radius: 52% 48% 44% 56% / 58% 62% 38% 42%;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(70,50,30,.4);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }

.portrait-wrap .blob { z-index: 1; }
.pb-sage  { width: clamp(180px, 30vw, 360px); aspect-ratio: 1/1; top: 0; left: 50%; margin-left: clamp(40px, 9vw, 110px); }
.pb-blush { width: clamp(150px, 26vw, 340px); aspect-ratio: 1/1; bottom: 40px; left: 50%; margin-left: clamp(-330px, -34vw, -400px); }
.pb-clay  { width: clamp(120px, 21vw, 250px); aspect-ratio: 1/1; top: 56%; left: 50%; margin-left: clamp(-180px, -14vw, -160px); }

/* =========================================================
   Areas of focus
   ========================================================= */
.focus { padding: clamp(8px, 3vw, 16px) 0 0; }
.focus-title {
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(30px, 4.4vw, 40px);
}
.focus-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(32px, 6vw, 72px);
  max-width: 760px;
  margin: 22px auto 0;
}
.focus-list li {
  list-style: none;
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot.clay  { background: var(--clay); }
.dot.ochre { background: var(--ochre); }
.dot.sage  { background: var(--sage); }
.dot.blush { background: var(--blush); }
.focus-list li.tail {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--muted-3);
}

.focus-foot { text-align: center; padding: 40px 0 8px; }
.focus-foot .small { font-size: 13.5px; color: var(--muted-3); }
.pill-inclusive {
  display: inline-block;
  background: var(--sage);
  color: #f4f6ec;
  border-radius: 999px;
  padding: 15px 34px;
  font-family: var(--serif);
  font-size: clamp(16px, 2.2vw, 19px);
  margin-top: 28px;
  line-height: 1.35;
}

/* =========================================================
   About — approach grid
   ========================================================= */
.approach {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 52px) clamp(40px, 6vw, 72px);
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 56px) 0 24px;
}
.approach h3 { font-weight: 600; font-size: 17px; margin-top: 12px; }
.approach p  { font-size: 14.5px; line-height: 1.7; color: var(--muted); margin: 8px 0 0; }

.icon-blob {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 16px;
  border-radius: 52% 48% 55% 45% / 48% 55% 45% 52%;
}
.icon-blob.clay  { background: var(--clay);  color: var(--cream-2); }
.icon-blob.ochre { background: var(--ochre); color: #4a3a12; }
.icon-blob.sage  { background: var(--sage);  color: #f4f6ec; }
.icon-blob.blush { background: var(--blush); color: #6e3521; }

/* experience block */
.experience { text-align: center; padding: clamp(40px, 6vw, 64px) 0 24px; }
.portrait-round {
  width: 220px; height: 220px; margin: 0 auto;
  border-radius: 52% 48% 44% 56% / 58% 62% 38% 42%;
  overflow: hidden;
  box-shadow: 0 20px 44px -24px rgba(70,50,30,.4);
}
.portrait-round img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.experience h2 { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 32px); margin-top: 26px; }
.experience .body { font-size: 15px; line-height: 1.75; color: var(--muted); max-width: 620px; margin: 16px auto 0; }
.pullquote {
  font-family: var(--serif);
  font-size: clamp(18px, 2.4vw, 20px);
  color: #4a3d2c;
  max-width: 560px;
  margin: 22px auto 0;
  line-height: 1.4;
}

/* =========================================================
   Sessions — steps + fee
   ========================================================= */
.steps { max-width: 640px; margin: 0 auto; padding: clamp(24px, 4vw, 32px) 0 8px; }
.step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}
.step:last-child { border-bottom: 0; }
.step .icon-blob { width: 56px; height: 56px; font-size: 22px; }
.step h3 { font-weight: 600; font-size: clamp(21px, 2.8vw, 25px); }
.step p  { font-size: clamp(16px, 2.2vw, 17.5px); line-height: 1.65; color: var(--muted); margin: 8px 0 0; }

.fee { text-align: center; padding: clamp(24px, 4vw, 32px) 0; }
.fee .fee-amount { font-family: var(--serif); font-size: clamp(46px, 7vw, 58px); line-height: 1.1; color: var(--ink); margin: 0; max-width: none; }
.fee .fee-amount span { font-size: clamp(18px, 2.4vw, 22px); color: var(--muted-3); }
.fee p { font-size: 15px; line-height: 1.7; color: var(--muted); max-width: 520px; margin: 14px auto 0; }

/* =========================================================
   Contact — form
   ========================================================= */
.contact-hero .h-page { margin-top: 22px; }
.contact-hero .phone { font-family: var(--serif); font-size: clamp(26px, 3.6vw, 30px); margin-top: 24px; }
.contact-hero .email { font-size: 14.5px; color: var(--muted); margin-top: 6px; }
.contact-hero .email a:hover { color: var(--clay); }

.contact-form { max-width: 560px; margin: 0 auto; padding: clamp(28px, 5vw, 40px) 0 48px; }
.field { margin-top: 22px; }
.field:first-child { margin-top: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.field label {
  display: block;
  font-size: 12.5px; font-weight: 600; color: var(--muted-2);
  margin-bottom: 8px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  border: 0;
  border-bottom: 1.5px solid var(--field-line);
  background: transparent;
  font-family: var(--sans);
  font-size: 14.5px;
  color: var(--ink);
  padding: 12px 0;
  border-radius: 0;
  transition: border-color .18s ease;
}
.field select { -webkit-appearance: none; appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted-3) 50%),
                    linear-gradient(135deg, var(--muted-3) 50%, transparent 50%);
  background-position: calc(100% - 6px) 20px, calc(100% - 1px) 20px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder,
.field textarea::placeholder { color: #ab9a7d; }
.field input:focus,
.field textarea:focus,
.field select:focus { outline: none; border-color: var(--clay); }

.form-submit { margin-top: 32px; text-align: center; }
.privacy-note {
  font-size: 12.5px; line-height: 1.6; color: var(--muted-3);
  text-align: center; margin: 20px auto 0; max-width: 440px;
}
.form-status {
  text-align: center;
  margin-top: 18px;
  font-size: 14px;
  color: var(--sage);
  min-height: 1.2em;
}
.form-status a { color: inherit; text-decoration: underline; }

/* Honeypot — visually hidden but reachable by bots */
.hp {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* Turnstile widget spacing (only visible once a site key is configured) */
.turnstile { margin-top: 28px; display: flex; justify-content: center; }
.turnstile:empty { margin: 0; }

/* Success state after a message is sent */
.form-sent { text-align: center; padding: 24px 0 8px; }
.form-sent .sent-mark {
  width: 56px; height: 56px; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  background: var(--sage); color: #f4f6ec;
  border-radius: 52% 48% 55% 45% / 48% 55% 45% 52%;
  font-size: 26px;
}
.form-sent h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(26px, 4vw, 32px); color: var(--ink); margin: 0;
}
.form-sent p {
  font-size: 15px; line-height: 1.7; color: var(--muted);
  max-width: 420px; margin: 12px auto 0;
}
.form-sent a { color: var(--clay); }

/* =========================================================
   Footers
   ========================================================= */
/* Big CTA footer (home) */
.cta-footer {
  position: relative;
  overflow: hidden;
  background: var(--brown);
  color: var(--cream);
  border-radius: 56px 56px 0 0;
  text-align: center;
  padding: clamp(56px, 8vw, 76px) var(--pad) 0;
}
.cta-footer .inner { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; }
.cta-footer h2 { font-family: var(--serif); font-size: clamp(34px, 5vw, 44px); }
.cta-footer .cta-row { margin-top: 24px; }
.foot-row {
  border-top: 1px solid var(--brown-line);
  margin-top: clamp(44px, 7vw, 64px);
  padding: 24px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--brown-soft);
}
.foot-row .fr-brand { font-family: var(--serif); font-size: 15px; color: var(--cream); }
.foot-row a:hover { color: #fff; }
.cta-footer .bl-1 { width: 200px; height: 200px; top: -70px; left: -60px; }
.cta-footer .bl-2 { width: 160px; height: 160px; bottom: 30px; right: -50px; opacity: .9; }

/* Slim footer (about / sessions / contact) */
.mini-footer {
  position: relative;
  overflow: hidden;
  background: var(--brown);
  color: var(--brown-soft);
  border-radius: 56px 56px 0 0;
  text-align: center;
  padding: 26px var(--pad);
  font-size: 12.5px;
  margin-top: clamp(48px, 8vw, 80px);
}
.mini-footer .inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; align-items: baseline; }
.mini-footer .fr-brand { font-family: var(--serif); font-size: 15px; color: var(--cream); }
.mini-footer .bl { width: 130px; height: 130px; }

/* spacing utility for centered CTA sections */
.center-cta { text-align: center; padding: clamp(36px, 6vw, 40px) 0 clamp(64px, 9vw, 80px); }
.section-pad { padding: clamp(64px, 10vw, 96px) 0 clamp(24px, 4vw, 32px); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 860px) {
  .focus-list { grid-template-columns: 1fr; max-width: 460px; }
  .focus-list li.tail { border-bottom: 0; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    top: 100%;
    right: var(--pad);
    left: var(--pad);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 8px;
    box-shadow: 0 24px 48px -24px rgba(70,50,30,.45);
    font-size: 16px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: max-height .28s ease, opacity .2s ease, transform .2s ease;
    pointer-events: none;
  }
  .nav.open {
    max-height: 420px;
    opacity: 1;
    transform: translateY(8px);
    pointer-events: auto;
  }
  .nav a {
    padding: 13px 14px;
    border-radius: 12px;
  }
  .nav a.active { background: rgba(198,95,53,.08); }
  .nav .btn-pill {
    text-align: center;
    margin-top: 6px;
    padding: 14px 22px;
  }
  .approach { grid-template-columns: 1fr; gap: 32px; max-width: 460px; }
  .step { grid-template-columns: 48px 1fr; gap: 16px; }
  .step .icon-blob { width: 46px; height: 46px; font-size: 19px; }
  .foot-row { justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
  .field-row { grid-template-columns: 1fr; gap: 22px; }
  .cta-footer, .mini-footer { border-radius: 40px 40px 0 0; }
  .portrait { border-radius: 48% 52% 46% 54% / 54% 58% 42% 46%; }
}

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