/* Helen Jeans Therapy — site styles (published with .claude\publish.ps1)
   Bold and clean: white ground, near-black text, one deep green used with
   conviction for the top band and the closing band, hairlines instead of
   boxes, and generous space. Gestalt structure retained: a single strong
   figure, grouping by closeness, continuity through hairlines. */

:root {
  --ink: #121418;           /* near-black text */
  --green: #0b3a9b;         /* deep cobalt, from the pool: bands (variable name kept) */
  --green-2: #0d47bd;
  --leaf: #0b74a8;          /* deep aqua: links, marks, small accents */
  --aqua: #3cc3ec;          /* bright aqua sparkle, large shapes only */
  --band: #dbe9f7;          /* light complementary blue tint for the title and closing bands */
  --white: #ffffff;
  --grey: #f3f5f7;          /* only for form fields */
  --muted: #5a606a;
  --line: #e1e4e8;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  /* Lexend for body text: designed for easier reading */
  font-family: "Lexend", Verdana, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: .01em;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 5.2vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; line-height: 1.3; }
p { margin: 0 0 1em; max-width: 64ch; }
em, i { font-style: normal; font-weight: 600; }
a { color: var(--leaf); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

/* Header: white, hairline */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-family: "Source Serif 4", Georgia, serif; font-weight: 600; font-size: 1.35rem; text-decoration: none; color: var(--ink); }
.brand span { font-weight: 400; color: var(--muted); }
.mark { width: 26px; height: 26px; flex: none; }
.nav { display: flex; gap: 30px; align-items: center; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; opacity: .8; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--leaf); }
.nav .btn { opacity: 1; color: var(--white); padding: 11px 20px; text-decoration: none; }
.menu-toggle { display: none; background: none; border: 1.5px solid var(--ink); border-radius: 4px; padding: 8px 14px; font: inherit; cursor: pointer; color: var(--ink); }

/* Buttons: square-cornered, decisive */
.btn {
  display: inline-block; padding: 14px 26px; border-radius: 4px;
  background: var(--green); color: var(--white); text-decoration: none; font-weight: 600;
  border: 1.5px solid var(--green); cursor: pointer; font: inherit; font-weight: 600;
  transition: background .15s, color .15s;
}
.btn:hover { background: var(--green-2); border-color: var(--green-2); }
.btn.secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.secondary:hover { background: var(--ink); color: var(--white); }

/* Eyebrow: small caps label */
.eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; text-transform: uppercase; letter-spacing: .18em; font-size: .74rem; font-weight: 600; color: var(--leaf); margin: 0 0 18px; }

/* Hero: full-width pool photo with a deep blue wash, white serif headline */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--green);
  color: var(--white); padding: clamp(84px, 13vw, 180px) 0; text-align: center;
}
/* the water drifts very slowly, as if the camera were easing across the pool */
.hero::before {
  content: ""; position: absolute; inset: -8%; z-index: -2;
  background: url("pool.jpg") center 60% / cover no-repeat;
  animation: pool-drift 24s ease-in-out infinite alternate;
  will-change: transform;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(8,38,110,.5);
}
@keyframes pool-drift {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to   { transform: scale(1.14) translate3d(-3%, 2.5%, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none; }
}
.hero .wrap { display: block; max-width: 900px; }
.hero h1 { color: var(--white); margin: 0 auto .5em; max-width: 18ch; }
.hero .lede { font-size: 1.2rem; color: rgba(255,255,255,.82); max-width: 52ch; margin: 0 auto; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 34px; }
.hero .btn { background: var(--white); color: var(--green); border-color: var(--white); }
.hero .btn:hover { background: #e4f3fb; border-color: #e4f3fb; }
.hero .btn.secondary { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.hero .btn.secondary:hover { background: rgba(255,255,255,.12); }
.hero-art { display: none; }

/* Sections: separated by space and hairlines */
section { padding: clamp(56px, 8vw, 110px) 0; }
section + section { border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { color: var(--muted); margin: 0; }

/* Help grid: hairlines only, no box */
.panel { padding: 0; }
.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.help-grid > div { padding: 28px 28px 24px 0; border-bottom: 1px solid var(--line); }
.help-grid > div:nth-child(3n+2) { padding-left: 28px; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.help-grid > div:nth-child(3n) { padding-left: 28px; }
.help-grid .num { font-family: "Source Serif 4", Georgia, serif; font-weight: 500; color: var(--leaf); font-size: 1rem; letter-spacing: .06em; margin-bottom: 10px; }
.help-grid p { margin: 0; color: var(--muted); font-size: .98rem; }

/* Statement: the whole before the parts */
.statement { padding: clamp(40px, 6vw, 80px) 0; }
.statement .wrap { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.statement .ring { width: clamp(100px, 12vw, 150px); height: clamp(100px, 12vw, 150px); }
.statement h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); max-width: 24ch; margin: 0; }

/* Band: featured section, white with a strong green rule */
.band { border-top: 1px solid var(--line); }
.band .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.band .quote-panel h3 { margin-bottom: .6em; }
.band .quote-panel p { font-size: .98rem; color: var(--muted); }
.band .quote-panel .btn { margin-top: 6px; }

/* Two column, photo and quote */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.photo { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 20%; }
.quote-panel { border-left: 4px solid var(--green); padding: 4px 0 4px clamp(20px, 3vw, 36px); }
.pull { font-family: "Source Serif 4", Georgia, serif; font-weight: 500; font-size: clamp(1.3rem, 2.3vw, 1.7rem); line-height: 1.35; color: var(--ink); margin: 0 0 24px; }
.check { list-style: none; padding: 0; margin: 0; }
.check li { padding-left: 26px; position: relative; margin-bottom: 12px; }
.check li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; background: var(--leaf); border-radius: 0 70% 0 70%; transform: rotate(-10deg); }

/* Cards (other pages): hairline boxes, square corners */
.card { background: var(--white); border: 1px solid var(--line); padding: 28px; }
.card h3 { margin-top: 2px; }

/* Fees table */
.fees { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); }
.fees th, .fees td { text-align: left; padding: 18px 0; border-bottom: 1px solid var(--line); }
.fees th { font-weight: 400; color: var(--ink); }
.fees td { font-family: "Source Serif 4", Georgia, serif; font-weight: 600; font-size: 1.2rem; color: var(--ink); text-align: right; }

/* Forms */
form { display: grid; gap: 16px; }
label { font-weight: 600; font-size: .95rem; display: grid; gap: 6px; }
input, textarea, select {
  font: inherit; padding: 13px 16px; border: 1px solid var(--line); border-radius: 4px;
  background: var(--grey); color: var(--ink); width: 100%;
}
input:focus, textarea:focus { outline: none; border-color: var(--green); background: var(--white); }
textarea { min-height: 150px; resize: vertical; }
.hint { font-size: .9rem; color: var(--muted); }

/* Contact info */
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; }
.contact-list li { margin-bottom: 12px; }
.contact-list strong { display: inline-block; min-width: 90px; color: var(--muted); font-weight: 500; }

/* CTA: full-width light blue band, dark text, one cobalt button */
.cta { background: var(--band); color: var(--ink); padding: clamp(56px, 8vw, 110px) 0; border-top: 0; }
.cta .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; }
.cta h2 { color: var(--ink); margin: 0 0 .4em; }
.cta p { color: var(--muted); margin: 0; }
.cta .actions { justify-self: end; }
.cta .btn { background: var(--green); border-color: var(--green); color: var(--white); }
.cta .btn:hover { background: var(--green-2); border-color: var(--green-2); }

/* Footer */
.site-footer { padding: 32px 0 44px; font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }

/* Page intro (inner pages): light blue band, dark text */
.page-intro { background: var(--band); color: var(--ink); padding: clamp(56px, 8vw, 110px) 0; }
.page-intro h1 { color: var(--ink); }
.page-intro .eyebrow { color: var(--leaf); }
.page-intro .lede { font-size: 1.15rem; color: var(--muted); max-width: 56ch; margin-bottom: 0; }
.page-intro + section { border-top: 0; padding-top: clamp(48px, 7vw, 80px) !important; }

/* Placeholder markers — remove once content is final */
.todo { background: #fff3cd; border: 1px dashed #d9a400; padding: 2px 6px; border-radius: 4px; font-size: .9em; color: #6b5300; }

/* Responsive */
@media (max-width: 900px) {
  .grid-2, .grid-3, .section-head, .statement .wrap, .cta .wrap, .band .wrap { grid-template-columns: 1fr; }
  .help-grid { grid-template-columns: 1fr; }
  .help-grid > div { padding: 24px 0 20px; }
  .help-grid > div:nth-child(3n+2), .help-grid > div:nth-child(3n) { padding-left: 0; border-left: 0; border-right: 0; }
  .photo { aspect-ratio: 4/3; }
  .cta .actions { justify-self: start; }
  .menu-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 76px; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px 24px 20px; gap: 0; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); opacity: 1; }
  .nav a:last-child { border-bottom: 0; margin-top: 10px; text-align: center; }
}
@media (max-width: 480px) {
  .brand span { display: none; }
}
