/* Addie's Massage: accessible, mobile-first stylesheet. No external fonts or scripts. */

:root {
  --green-900: #1f3d34;
  --green-700: #2f5d50;
  --green-600: #3a7563;
  --green-100: #e6efea;
  --cream: #fbf8f3;
  --sand: #f1e9dc;
  --ink: #1d1d1b;
  --ink-soft: #3b3b38;
  --rust: #a9502b;
  --white: #ffffff;
  --focus: #b8520f;
  --radius: 14px;
  --maxw: 72rem;
  --step: 1.25rem; /* 20px base: comfortable for older eyes */
}

html { font-size: 100%; scroll-behavior: smooth; }
html.text-large { font-size: 118%; }
html.text-xlarge { font-size: 140%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  font-size: var(--step);
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3, .brand, .button, .site-nav, .display-tools, .eyebrow, figcaption {
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
}

h1, h2, h3 { line-height: 1.2; color: var(--green-900); margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p, li { max-width: 65ch; }
ul { padding-left: 1.3em; }

a { color: var(--green-700); text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .15em; }
a:hover { color: var(--green-900); text-decoration-thickness: .15em; }

/* Visible focus for keyboard and switch users (WCAG 2.4.7, 2.4.11) */
:focus-visible { outline: 4px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.button:focus-visible, .tool-btn:focus-visible { outline-offset: 4px; }

.wrap { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }

/* Skip link */
.skip-link {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--green-900); color: var(--white);
  padding: .8rem 1.2rem; border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 700; z-index: 100; transition: top .15s;
}
.skip-link:focus { top: 0; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid #ddd6c8; }
.header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1.5rem; padding: .9rem 0; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.35rem; color: var(--green-900); text-decoration: none; min-height: 48px; }
.brand-mark { color: var(--green-700); flex: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem .4rem; align-items: center; }
.site-nav a:not(.button) { display: inline-flex; align-items: center; min-height: 48px; padding: .4rem .7rem; text-decoration: none; font-weight: 600; color: var(--green-900); border-radius: 8px; }
.site-nav a:not(.button):hover { background: var(--green-100); text-decoration: underline; }
.nav-book { margin-left: .3rem; }

/* Display tools (text size, contrast) */
.display-tools { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .8rem; padding: .5rem 0 .8rem; font-size: .95rem; }
.tools-label { font-weight: 600; color: var(--ink-soft); }
.tool-buttons { display: inline-flex; flex-wrap: wrap; gap: .4rem; }
.tool-btn {
  font: inherit; font-weight: 600; cursor: pointer;
  min-height: 44px; min-width: 44px; padding: .4rem .9rem;
  color: var(--green-900); background: var(--white);
  border: 2px solid var(--green-700); border-radius: 999px;
}
.tool-btn:hover { background: var(--green-100); }
.tool-btn[aria-pressed="true"] { background: var(--green-700); color: var(--white); }
.tools-note { color: var(--ink-soft); }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 48px; padding: .7rem 1.4rem; border-radius: 999px;
  font-weight: 700; text-decoration: none; border: 2px solid transparent; line-height: 1.25;
}
.button-primary { background: var(--rust); color: var(--white); border-color: var(--rust); }
.button-primary:hover { background: #8b3f1f; border-color: #8b3f1f; color: var(--white); }
.button-secondary { background: var(--white); color: var(--green-900); border-color: var(--green-700); }
.button-secondary:hover { background: var(--green-100); }
.button-large { font-size: 1.15rem; padding: .9rem 1.8rem; min-height: 56px; }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem 1rem; margin: 1.4rem 0 .6rem; }
.cta-row.center { justify-content: center; margin-top: 2rem; }

/* Hero */
.hero { padding: 3rem 0 3.5rem; background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%); }
.hero-grid { display: grid; gap: 2rem; align-items: center; }
.eyebrow { margin: 0 0 .9rem; font-weight: 600; font-size: .95rem; color: var(--green-700); text-transform: uppercase; letter-spacing: .06em; }
.lead { font-size: 1.2rem; }
.hero-note { font-size: .95rem; color: var(--ink-soft); }
.hero-figure { margin: 0; }
.hero-figure img, .photo-grid img { width: 100%; height: auto; display: block; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(31, 61, 52, .15); }
@media (min-width: 56rem) { .hero-grid { grid-template-columns: 1.1fr 1fr; gap: 3rem; } }

/* Bands */
.band { padding: 3.5rem 0; }
.band-soft { background: var(--sand); }
.band-contact { background: var(--green-100); }
.section-intro { font-size: 1.1rem; margin-bottom: 1.8rem; }
.two-col { display: grid; gap: 2rem; }
@media (min-width: 56rem) { .two-col { grid-template-columns: 3fr 2fr; gap: 3rem; } }

.feature-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1.5rem; }
.feature-list li { background: var(--white); padding: 1.4rem 1.5rem; border-radius: var(--radius); border-left: 6px solid var(--green-600); }
.feature-list h3 { margin-bottom: .4rem; }
.feature-list p { margin: 0; }
@media (min-width: 44rem) { .feature-list { grid-template-columns: 1fr 1fr; } }

.card { background: var(--white); border-radius: var(--radius); padding: 1.5rem; border: 1px solid #e3dccf; }
.card h3 { margin-top: 0; }
.card ul { margin-bottom: 0; }
.card li + li { margin-top: .5rem; }
.card-grid { display: grid; gap: 1.2rem; }
@media (min-width: 44rem) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 66rem) { .card-grid { grid-template-columns: 1fr 1fr 1fr; } }
.card-grid p { margin-bottom: 0; }

.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 2rem; margin-bottom: .7rem; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .45em; width: 1.1rem; height: .6rem; border-left: 4px solid var(--green-600); border-bottom: 4px solid var(--green-600); transform: rotate(-45deg); }

.photo-grid { display: grid; gap: 1.5rem; }
.photo-grid figure { margin: 0; }
.photo-grid figcaption { margin-top: .6rem; font-weight: 600; color: var(--ink-soft); }
@media (min-width: 44rem) { .photo-grid { grid-template-columns: repeat(3, 1fr); } }

.contact-list { list-style: none; padding: 0; font-size: 1.1rem; }
.contact-list li { margin-bottom: .5rem; }

/* Footer */
.site-footer { background: var(--green-900); color: var(--white); padding: 2rem 0; font-size: .95rem; }
.site-footer a { color: var(--white); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; }
.footer-row p { margin: 0; max-width: none; }

/* High contrast mode: black on white, strong borders, dark CTAs */
html.high-contrast { --cream: #fff; --sand: #fff; --green-100: #fff; --white: #fff; --ink: #000; --ink-soft: #000; --green-900: #000; --green-700: #00008b; --green-600: #000; --rust: #000; --focus: #ff00ff; }
html.high-contrast body { background: #fff; color: #000; }
html.high-contrast .band-soft, html.high-contrast .band-contact, html.high-contrast .site-header { border-top: 3px solid #000; border-bottom: 3px solid #000; }
html.high-contrast .card, html.high-contrast .feature-list li { border: 3px solid #000; }
html.high-contrast .button-primary { background: #000; color: #fff; border-color: #000; }
html.high-contrast .button-primary:hover { background: #00008b; border-color: #00008b; }
html.high-contrast .site-footer { background: #000; color: #fff; border-top: 3px solid #000; }
html.high-contrast .site-footer a { color: #fff; }
html.high-contrast a { color: #00008b; }
html.high-contrast .tool-btn[aria-pressed="true"] { background: #000; color: #fff; border-color: #000; }
html.high-contrast img { box-shadow: none; border: 2px solid #000; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
@media print { .display-tools, .skip-link { display: none; } .button { border: 2px solid #000; color: #000; background: #fff; } }
