/* F.U.S.E. Therapy website. Modeled on the original fusetherapy.org:
   white header with the logo, green leaf-textured body, serif headings. */

:root {
  --green: #5f8f2c;
  --green-dark: #4d7722;
  --green-field: #557f26;
  --green-line: #8cbc4a;
  --sun: #f7a823;
  --red: #e2283b;
  --white: #ffffff;
  --ink: #1e1e1c;
  --serif: 'Noto Serif', Georgia, serif;
  --sans: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
  /* Faint leaf pattern, like the original site's textured background */
  --leaves: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cg fill='%23000' fill-opacity='.05'%3E%3Cpath d='M40 30c30-10 60 10 60 40-30 10-60-10-60-40z'/%3E%3Cpath d='M150 20c25 5 40 35 30 60-25-5-40-35-30-60z'/%3E%3Cpath d='M30 150c35-5 60 20 55 50-35 5-60-20-55-50z'/%3E%3Cpath d='M140 130c30-15 70 0 75 30-30 15-70 0-75-30z'/%3E%3C/g%3E%3Cg fill='%23fff' fill-opacity='.04'%3E%3Cpath d='M95 95c20 0 35 20 30 40-20 0-35-20-30-40z'/%3E%3Cpath d='M190 200c20-10 45 0 45 20-20 10-45 0-45-20z'/%3E%3C/g%3E%3C/svg%3E");
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--white);
  background: var(--green) var(--leaves);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a[href^="tel:"], a[href^="mailto:"] { white-space: nowrap; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.2; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--white); color: var(--ink);
  box-shadow: 0 2px 10px rgba(0,0,0,.15); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 96px; }
.site-header .logo img { height: 88px; width: auto; }
.nav { display: flex; gap: 28px; list-style: none; }
.nav a { text-decoration: none; font-family: var(--serif); font-size: 16px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink); }
.nav a:hover { color: var(--green); }
.nav-toggle { display: none; background: none; border: 0; font-size: 28px; cursor: pointer; color: var(--ink); }

/* Hero */
.hero { padding: 72px 0 64px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: 44px; }
.hero .subhead { margin-top: 12px; font-family: var(--serif); font-size: 31px; line-height: 1.25; }
.hero .tagline { margin-top: 10px; font-size: 15px; letter-spacing: .25em; text-transform: uppercase; opacity: .9; }
.script { font-family: 'Allura', cursive; font-size: 40px; line-height: 1.1; margin-top: 6px; }
.site-footer .script { font-size: 30px; margin: 2px 0 4px; }
.hero p { margin-top: 20px; font-size: 18px; }
.hero img { border-radius: 6px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.btn { display: inline-block; margin-top: 28px; padding: 14px 30px; border: 2px solid var(--white);
  font-family: var(--serif); letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  font-size: 15px; transition: background .2s, color .2s; }
.btn:hover { background: var(--white); color: var(--green-dark); }

section { padding: 64px 0; }
section + section { border-top: 1px solid rgba(255,255,255,.15); }
.section-title { font-size: 56px; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 32px; }

/* Services */
.services h2.lead { font-size: 40px; }
.services h2.lead span { opacity: .8; }
.services .goal { margin-top: 6px; font-size: 18px; text-transform: uppercase; }
.service { margin-top: 48px; max-width: 820px; }
.service h3 { font-size: 34px; margin-bottom: 8px; }
.service p { font-size: 19px; }
.types { margin-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.type { padding: 16px 18px; border: 2px solid rgba(255,255,255,.55); display: grid; gap: 4px; align-content: start; }
.type strong { font-family: var(--serif); font-weight: 400; font-size: 24px; }
.type span { font-size: 16px; line-height: 1.45; }
.steps { list-style: none; margin-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.steps li { background: rgba(0,0,0,.12); padding: 18px; display: grid; gap: 6px; align-content: start; min-width: 0; }
.steps .num { width: 40px; height: 40px; border-radius: 50%; background: var(--sun); color: var(--ink);
  font-family: var(--serif); font-size: 22px; display: grid; place-items: center; }
.steps strong { font-size: 18px; }
.steps .email { font-size: 14.5px; white-space: nowrap; }
.steps li > span:last-child { font-size: 16px; line-height: 1.45; overflow-wrap: anywhere; }
.payment { margin-top: 48px; max-width: 820px; padding: 24px 28px; border: 2px solid rgba(255,255,255,.55); }
.payment h3 { font-size: 28px; margin-bottom: 8px; }
.payment ul { list-style: none; }
.payment li { padding-left: 24px; position: relative; margin: 8px 0; font-size: 18px; }
.payment li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 9px; height: 9px;
  border-radius: 50%; background: var(--sun); }

/* Aquatic therapy: three pool photos in a row */
.service.pool { max-width: none; }
.service.pool h3, .service.pool p { max-width: 820px; }
.pool-photos { margin-top: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pool-photos img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 4px;
  box-shadow: 0 6px 18px rgba(0,0,0,.25); }

/* Surf gallery: two wide photos, rows of three tall ones, then one full-width photo */
.service.surf { max-width: none; }
.service.surf h3, .service.surf .gallery-intro, .service.surf .popup { max-width: 820px; }
.gallery-intro { font-size: 19px; }
.popup { margin-top: 18px; display: inline-block; padding: 10px 18px; border-left: 5px solid var(--sun);
  background: rgba(0,0,0,.12); font-size: 18px; }
.photos { margin-top: 32px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; grid-auto-flow: dense; }
.photos img { grid-column: span 2; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px;
  box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.photos img.wide { grid-column: span 3; aspect-ratio: 4 / 3; }
.photos img.full { grid-column: span 6; aspect-ratio: 2 / 1; object-position: 50% 55%; }

/* Help: signs list and FAQ */
.help-intro { margin-top: 12px; max-width: 820px; font-size: 19px; }
.signs { margin-top: 18px; max-width: 900px; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.signs li { position: relative; padding-left: 26px; font-size: 17px; min-width: 0; }
.signs li::before { content: "\2713"; position: absolute; left: 0; color: var(--sun); font-weight: 700; }
.help-note { margin-top: 22px; display: inline-block; padding: 10px 18px; border-left: 5px solid var(--sun);
  background: rgba(0,0,0,.12); font-size: 18px; }
.faq-title { margin-top: 56px; }
.faq { margin-top: 18px; max-width: 820px; display: grid; gap: 10px; }
.faq details { border: 2px solid rgba(255,255,255,.55); padding: 0 18px; }
.faq summary { cursor: pointer; padding: 14px 32px 14px 0; font-family: var(--serif); font-size: 21px; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 28px; color: var(--sun); }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:focus-visible { outline: 2px solid var(--white); outline-offset: 4px; }
.faq details p { padding-bottom: 16px; font-size: 17px; }
.help .lead { font-size: 40px; }

/* About */
.about .wrap { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }
.about .portrait { width: 260px; height: 260px; border-radius: 50%; object-fit: cover;
  border: 6px solid var(--white); box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.about .label { font-size: 15px; letter-spacing: .25em; text-transform: uppercase; opacity: .9; margin-bottom: 4px; }
.about h2 { font-size: 40px; }
.about .creds { margin-top: 4px; letter-spacing: .1em; text-transform: uppercase; font-size: 15px; opacity: .9; }
.about p { margin-top: 16px; }
.about ul { margin-top: 12px; list-style: none; }
.about li { padding-left: 24px; position: relative; margin: 6px 0; }
.about li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 9px; height: 9px;
  border-radius: 50%; background: var(--sun); }

/* Contact */
.contact .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.contact h3 { font-size: 30px; text-transform: uppercase; margin: 32px 0 12px; }
.contact p { font-size: 18px; margin-bottom: 14px; }
.contact a { text-decoration: none; }
.contact a:hover { text-decoration: underline; }
form { display: grid; gap: 18px; align-self: start; }
input, textarea { width: 100%; padding: 22px 18px; font: inherit; font-size: 18px; color: var(--white);
  background: var(--green-field); border: 2px solid var(--green-line); border-radius: 2px; }
textarea { min-height: 140px; resize: vertical; }
input::placeholder, textarea::placeholder { color: rgba(255,255,255,.9); }
input:focus, textarea:focus { outline: none; border-color: var(--white); }
.checks label { display: flex; align-items: center; gap: 14px; font-weight: 600; margin: 8px 0; cursor: pointer; }
.checks input { width: 26px; height: 26px; padding: 0; accent-color: var(--green-dark); }
button[type=submit] { justify-self: start; padding: 16px 40px; font-family: var(--serif); font-size: 16px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--green-dark); background: var(--white);
  border: 2px solid var(--white); cursor: pointer; }
button[type=submit]:hover { background: transparent; color: var(--white); }
.contact .areas { font-size: 16px; opacity: .9; }
.form-note { font-size: 14px; opacity: .85; }

/* Footer */
.site-footer { background: var(--green-dark); padding: 28px 0; font-size: 14px; text-align: center; }
.site-footer .fuse { font-family: var(--serif); letter-spacing: .12em; text-transform: uppercase; }

@media (max-width: 820px) {
  body { font-size: 16px; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 96px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--white); box-shadow: 0 8px 12px rgba(0,0,0,.15); }
  .nav.open { display: flex; }
  .nav a { display: block; padding: 14px 24px; border-top: 1px solid #eee; }
  .hero { padding: 40px 0; }
  .hero .wrap, .about .wrap, .contact .wrap { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: 33px; }
  .hero .subhead { font-size: 25px; }
  .section-title { font-size: 40px; }
  .services h2.lead, .about h2 { font-size: 32px; }
  .service h3 { font-size: 26px; }
  .service p, .contact p, .gallery-intro { font-size: 17px; }
  .types, .steps { grid-template-columns: 1fr; }
  .signs { grid-template-columns: 1fr; }
  .pool-photos { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pool-photos img:first-child { grid-column: span 2; aspect-ratio: 4 / 3; object-position: 50% 0; }
  .help .lead { font-size: 32px; }
  .faq summary { font-size: 19px; }
  .about .portrait { width: 200px; height: 200px; }
  .photos { grid-template-columns: 1fr 1fr; gap: 10px; }
  .photos img, .photos img.wide, .photos img.full { grid-column: span 1; aspect-ratio: 4 / 5; }
  .photos img.wide:first-child { grid-column: span 2; aspect-ratio: 4 / 3; }
}
