/*
Theme Name: Sunny Sands Manor
Theme URI: https://www.sunnysandsmanor.com
Author: Miles Insights
Description: Custom website theme for Sunny Sands Manor, a Congregate Living Health Facility in Perris, CA. Every photo, the video, the logo and all text are edited under Appearance > Customize, no code needed.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sunny-sands-manor
*/

/* CLHF site clone, modeled on healwisehc.com (Squarespace 7.1).
   Tokens measured from the reference: dark forest green ground, mist grey band,
   Poppins throughout (the reference declares Clarkson for body copy but only Poppins
   files actually load, so Poppins is what a visitor sees). */

:root {
  /* Palette v3 (Miles, 09-05): taken from the Sunny Sands Manor business card.
     Black card stock, metallic gold mark and rules, cream reverse side. */
  --green-900: #141414;   /* dark ground: card black */
  --green-800: #0b0b0b;   /* footer */
  --green-700: #1c1a17;   /* headings on light */
  --green-600: #8a6d1f;   /* offset shapes behind media (deep gold) */
  --green-500: #c9a44a;   /* send button (gold) */
  --gold: #c9a44a;
  --gold-deep: #9c7c2c;
  --gold-light: #e9d38a;
  --gold-grad: linear-gradient(135deg, #e9d38a 0%, #c9a44a 45%, #a88434 100%);
  --mist: #f3eee4;        /* light band: card cream */
  --paper: #fffdf8;       /* raised copy card */
  --white: #ffffff;
  --cream: #f6f1e6;
  --ink: #1c1a17;
  --ink-soft: #55504a;
  --line-light: rgba(201,164,74,0.45);
  --line-dark: rgba(28,26,23,0.14);
  --shadow-sm: 0 1px 2px rgba(20,16,8,.08), 0 4px 12px rgba(20,16,8,.10);
  --shadow-md: 0 8px 24px rgba(20,16,8,.16), 0 2px 6px rgba(20,16,8,.10);
  --shadow-lg: 0 24px 48px rgba(0,0,0,.45), 0 6px 16px rgba(0,0,0,.3);
  --font: "Poppins", "Segoe UI", Arial, sans-serif;
  --font-display: "Cinzel", "Trajan Pro", "Times New Roman", serif;
  --wrap: 1120px;
  --radius-card: 24px;
  --ease: cubic-bezier(.2,.7,.2,1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--green-900);
  color: var(--cream);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.1; text-wrap: balance; }
.serif, .display, .hero h1, .rule-title, .together h2, .split__copy h3, .why-row__copy h2, .logo__name { font-family: var(--font-display); font-weight: 600; letter-spacing: .02em; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--gold); color: #141414; padding: 8px 14px; border-radius: 999px; z-index: 100; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 3px; }

.wrap { width: min(var(--wrap), calc(100% - 48px)); margin-inline: auto; }
.wrap--narrow { width: min(900px, calc(100% - 48px)); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 10px 26px; box-shadow: var(--shadow-sm); border-radius: 999px;
  font-family: var(--font); font-weight: 600; font-size: 15px; letter-spacing: .02em;
  text-decoration: none; border: 0; cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--green { background: var(--gold-grad); color: #141414; }
.btn--green:hover { filter: brightness(1.06); }
.btn--white { background: var(--gold-grad); color: #141414; }
.btn--white:hover { filter: brightness(1.06); }
.btn--ghost { background: var(--gold-grad); color: #141414; min-height: 50px; padding: 12px 34px; font-size: 16px; font-weight: 600; }
.btn--ghost:hover { background: var(--green-700); }

/* ---------- Header band (photo strip with the wave edge) ---------- */
.band {
  position: relative;
  height: clamp(200px, 20vw, 280px);
  background: #1a1a1a center 40% / cover no-repeat;
  isolation: isolate;
}
.band::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,8,8,.55) 0%, rgba(8,8,8,.72) 100%);
  z-index: -1;
}
.band__wave { position: absolute; left: 0; right: 0; bottom: -2px; height: clamp(24px, 3.5vw, 48px); color: var(--green-900); }
.band__wave svg { width: 100%; height: 100%; display: block; }

.site-header { position: absolute; inset: 0 0 auto 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: clamp(16px, 2.2vw, 28px); gap: 24px; }
.logo { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--gold); line-height: 1; }
.logo svg { width: clamp(56px, 6vw, 76px); height: auto; }
.logo__img { width: auto; max-height: clamp(64px, 7vw, 96px); max-width: 240px; object-fit: contain; }
.footer-logo .logo__img { max-height: 64px; }
.logo__name { font-size: clamp(18px, 1.9vw, 24px); letter-spacing: .06em; margin-top: 4px; text-transform: uppercase; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo__sub { font-family: var(--font-display); font-weight: 600; font-size: clamp(9px, .85vw, 11px); letter-spacing: .32em; margin-top: 4px; text-transform: uppercase; color: var(--gold); display: flex; align-items: center; gap: 8px; }
.logo__sub::before, .logo__sub::after { content: ""; width: 18px; height: 1px; background: var(--gold); }

.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav a { color: var(--cream); text-decoration: none; font-weight: 500; font-size: 15px; padding-bottom: 3px; border-bottom: 1.5px solid transparent; transition: border-color .2s, color .2s; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--gold); color: var(--white); }
.nav li.has-menu { position: relative; }
.nav li.has-menu > a::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin: 0 0 3px 8px; }
.nav .submenu { position: absolute; top: 100%; left: -8px; margin: 10px 0 0; padding: 10px 0; min-width: 190px; background: var(--white); border-radius: 12px; box-shadow: 0 14px 40px rgba(0,0,0,.25); display: none; flex-direction: column; gap: 0; }
.nav .submenu a { color: var(--ink); display: block; padding: 8px 18px; border: 0; font-size: 15px; }
.nav .submenu a:hover { background: var(--mist); }
.nav li.has-menu:hover .submenu, .nav li.has-menu:focus-within .submenu { display: flex; }
.nav .btn { margin-left: 10px; color: #141414; border-bottom: 0; min-height: 42px; padding: 8px 22px; font-size: 14px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--white); width: 44px; height: 44px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: currentColor; margin: 6px auto; transition: transform .25s, opacity .25s; }

/* ---------- Shared section rhythm ---------- */
.section { position: relative; padding: clamp(48px, 6vw, 80px) 0; }
.section--green { background: var(--green-900); color: var(--white); }
.section--mist { background: var(--mist); color: var(--ink); }
.section--white { background: var(--white); color: var(--ink); }
.wave-top { position: absolute; left: 0; right: 0; top: -1px; height: clamp(22px, 3.2vw, 44px); transform: rotate(180deg); pointer-events: none; }
.wave-top svg { width: 100%; height: 100%; display: block; }
.wave-top--mist { color: var(--mist); }
.wave-top--white { color: var(--white); }
.wave-top--green { color: var(--green-900); }
.section.has-wave { padding-top: clamp(64px, 8vw, 104px); }

.display { font-size: clamp(32px, 4vw, 52px); font-weight: 600; letter-spacing: -.01em; line-height: 1.1; text-align: center; }
.display--sm { font-size: clamp(28px, 3.4vw, 44px); }
.title-green { color: var(--green-700); }
.section--green .display { color: var(--white); }
.eyebrow { display: block; text-align: center; font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.u-mark { position: relative; display: inline-block; }
.u-mark::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--gold-grad); border-radius: 2px; }
.hand-mark { font-style: italic; position: relative; display: inline-block; padding: 0 4px; }
.hand-mark::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 7px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 8' preserveAspectRatio='none'><path d='M1 6 C 25 2, 55 1, 99 4' fill='none' stroke='%23c9a44a' stroke-width='2.4' stroke-linecap='round'/></svg>") center / 100% 100% no-repeat;
}

/* ---------- Home: hero ---------- */
.hero { padding: clamp(24px, 3.5vw, 44px) 0 0; text-align: center; }
.hero h1 { font-size: clamp(30px, 3.9vw, 50px); line-height: 1.15; color: var(--white); }
.hero h1 .gold { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { margin: 14px auto 0; max-width: 58ch; font-size: clamp(16px, 1.3vw, 18px); color: rgba(246,241,230,.8); }
.media-offset { position: relative; width: min(960px, calc(100% - 48px)); margin: clamp(24px, 3vw, 36px) auto 0; }
.media-offset::before {
  content: ""; position: absolute; inset: 0; background: var(--green-600); border-radius: 14px;
  transform: translate(clamp(12px, 2.2%, 22px), clamp(12px, 2.2%, 22px)); z-index: 0; opacity: .9;
}
.media-offset > * { position: relative; z-index: 1; }
.hero-video { aspect-ratio: 16 / 9; background: #000; overflow: hidden; border-radius: 12px; box-shadow: var(--shadow-lg); border: 1px solid rgba(201,164,74,.5); }
.hero-video video { width: 100%; height: 100%; object-fit: cover; }
.video-ctl { position: absolute; right: 16px; bottom: 16px; z-index: 3; display: flex; gap: 8px; }
.video-ctl button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(0,0,0,.55); color: var(--white); cursor: pointer; display: grid; place-items: center; }
.video-ctl button:hover { background: rgba(0,0,0,.8); }
.video-ctl svg { width: 16px; height: 16px; fill: currentColor; }

/* Ticker strip */
.ticker { overflow: hidden; margin-top: clamp(36px, 4.5vw, 56px); padding-bottom: clamp(44px, 5.5vw, 72px); white-space: nowrap; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.ticker__track { display: inline-flex; gap: 0; animation: ticker 28s linear infinite; }
.ticker__track span { display: inline-block; padding-right: 72px; font-size: clamp(15px, 1.4vw, 19px); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Home: about split (mist) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split__copy { text-align: center; max-width: 560px; margin-inline: auto; }
.split__copy h3 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; color: var(--green-700); line-height: 1.3; }
.split__copy .lede { margin-top: 20px; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.7; color: var(--ink-soft); font-weight: 400; }
.split__copy .lede strong { color: var(--gold-deep); font-weight: 600; }
.split__copy .lede + .lede { margin-top: 16px; }
.split__copy .btn { margin-top: 26px; }
.arch-offset { position: relative; width: min(440px, 100%); margin-inline: auto; }
.arch-offset::before { content: ""; position: absolute; inset: 0; background: var(--gold); opacity: .28; border-radius: 999px 999px 12px 12px; transform: translate(14px, 14px); }
.arch-offset img { position: relative; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 999px 999px 12px 12px; box-shadow: var(--shadow-md); }

/* ---------- Home: quote + raised card ---------- */
.quote { border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); padding: 28px 24px; text-align: center; font-style: italic; font-size: clamp(16px, 1.3vw, 19px); font-weight: 400; line-height: 1.7; color: rgba(246,241,230,.9); width: min(880px, 100%); margin-inline: auto; }
.card-offset { position: relative; width: min(760px, 100%); margin: clamp(22px, 3vw, 32px) auto 0; }
.card-offset::before { content: ""; position: absolute; inset: 0; background: var(--gold-grad); opacity: .85; border-radius: var(--radius-card); transform: translate(-18px, 18px); }
.paper { position: relative; background: var(--paper); color: var(--ink-soft); border-radius: var(--radius-card); padding: clamp(26px, 3.2vw, 40px) clamp(24px, 3.5vw, 44px); font-size: clamp(16px, 1.25vw, 18px); font-weight: 400; line-height: 1.75; box-shadow: var(--shadow-lg); }
.paper p + p { margin-top: 14px; }
.paper strong { font-weight: 600; color: var(--gold-deep); }

/* ---------- Home: why rows (white) ---------- */
.why-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; margin-top: clamp(36px, 5vw, 64px); }
.why-row__copy h2 { font-size: clamp(20px, 1.8vw, 25px); color: var(--green-700); }
.why-row__copy h2::after { content: ""; display: block; width: 44px; height: 2px; background: var(--gold-grad); margin-top: 12px; }
.why-row__copy p { margin-top: 16px; color: var(--ink-soft); font-size: clamp(16px, 1.2vw, 17px); line-height: 1.7; }
.why-row__copy .btn { margin-top: 22px; }
.leaf { position: relative; overflow: hidden; box-shadow: var(--shadow-md); outline: 1px solid rgba(201,164,74,.35); outline-offset: -1px; }
.leaf img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.leaf--bl { border-radius: 14px 14px 14px 40%; }
.leaf--br { border-radius: 14px 14px 40% 14px; }
.leaf--tr { border-radius: 14px 40% 14px 14px; }
.why-row--flip .why-row__media { order: 2; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-800); color: var(--cream); padding: clamp(36px, 5vw, 56px) 0 32px; border-top: 1px solid rgba(201,164,74,.35); }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.footer-logo .logo__name { font-size: 24px; }
.footer-logo .logo__sub { font-size: 10px; }
.footer-logo svg { width: 64px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, auto); gap: 8px clamp(28px, 4vw, 56px); }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-cols a { font-size: 14px; font-weight: 400; color: rgba(246,241,230,.85); text-decoration: underline; text-decoration-color: rgba(201,164,74,.6); text-underline-offset: 6px; text-decoration-thickness: 1px; }
.footer-meta { width: 100%; margin-top: 24px; font-size: 13px; color: rgba(246,241,230,.6); display: flex; flex-wrap: wrap; gap: 6px 24px; }

/* ---------- Sub-page: page lead ---------- */
.page-lead { padding-top: clamp(24px, 4vw, 48px); }
.page-lead .kicker { font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.page-lead .lead { margin-top: 14px; font-size: clamp(22px, 2.4vw, 32px); font-weight: 500; line-height: 1.4; max-width: 30ch; text-wrap: pretty; }
.page-lead hr { border: 0; border-top: 1px solid var(--line-light); width: min(1040px, 100%); margin: clamp(30px, 4vw, 48px) 0 0; }

/* ---------- About page ---------- */
.mission { position: relative; overflow: hidden; padding: clamp(36px, 5vw, 60px) 0 clamp(40px, 6vw, 72px); text-align: center; isolation: isolate; }
.mission__bg { position: absolute; inset: 0; z-index: -2; }
.mission__bg video { width: 100%; height: 100%; object-fit: cover; opacity: .28; filter: saturate(.6); }
.mission__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 40%, rgba(20,20,20,.3), rgba(20,20,20,.85)); }
.mission .kicker { font-weight: 600; font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.mission h2 { margin-top: 14px; font-weight: 500; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.45; max-width: 32ch; margin-inline: auto; }
.mission .video-ctl { right: 24px; bottom: 16px; }
.together { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.together h2 { font-size: clamp(24px, 2.4vw, 32px); color: var(--green-700); }
.together p { margin-top: 16px; color: var(--ink-soft); font-size: clamp(16px, 1.25vw, 17px); line-height: 1.7; }
.together .btn { margin-top: 26px; }
.together img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow-md); outline: 1px solid rgba(201,164,74,.35); outline-offset: -1px; }

.faq { width: min(1040px, 100%); margin: clamp(30px, 4vw, 48px) auto 0; }
.faq details { border-top: 1px solid rgba(201,164,74,.35); }
.faq details:last-child { border-bottom: 1px solid rgba(201,164,74,.35); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 18px 8px; font-weight: 500; font-size: clamp(16px, 1.3vw, 18px); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 30px; font-weight: 300; line-height: 1; color: var(--gold); transition: transform .25s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 8px 22px; max-width: 70ch; font-size: 16px; line-height: 1.75; color: rgba(246,241,230,.85); }

.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(20px, 3vw, 40px); margin-top: clamp(36px, 5vw, 64px); text-align: center; }
.values img { width: clamp(96px, 9vw, 120px); box-shadow: var(--shadow-sm); outline: 2px solid var(--gold); outline-offset: 3px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; margin-inline: auto; }
.values h3 { margin-top: 20px; font-size: clamp(16px, 1.3vw, 18px); color: var(--green-700); font-weight: 600; font-family: var(--font-display); letter-spacing: .03em; }
.values p { margin-top: 16px; font-size: 14px; line-height: 1.7; color: var(--ink-soft); }
.values p + p { margin-top: 12px; }
.values em { font-style: italic; }

.location { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.map { aspect-ratio: 4 / 3; border-radius: 12px; background: #e6e0d3; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.map svg { width: 100%; height: 100%; display: block; }
.location dl { margin: 0; }
.location dt { font-weight: 600; font-size: 18px; color: var(--ink); }
.location dd { margin: 8px 0 26px; font-size: 17px; color: var(--ink-soft); }

/* ---------- Services page ---------- */
.rule-title { text-align: center; font-size: clamp(24px, 2.6vw, 34px); padding-bottom: 22px; border-bottom: 1px solid var(--line-light); }
.section--white .rule-title { border-bottom-color: var(--line-dark); color: var(--green-700); }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); margin-top: clamp(36px, 5vw, 64px); }
.cols-3 h3 { font-size: clamp(17px, 1.5vw, 20px); font-weight: 600; color: var(--gold); font-family: var(--font-display); letter-spacing: .03em; }
.cols-3 ul { margin: 16px 0 0; padding-left: 18px; font-size: 16px; line-height: 1.6; color: rgba(246,241,230,.88); }
.cols-3 li + li { margin-top: 9px; }
.cols-3 ul ul { margin-top: 10px; font-style: normal; list-style: circle; }
.cols-3 ul ul li + li { margin-top: 8px; }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(36px, 5vw, 72px) clamp(28px, 4vw, 56px); margin-top: clamp(36px, 5vw, 64px); }
.team h3 { font-size: clamp(16px, 1.4vw, 19px); color: var(--green-700); font-weight: 600; font-family: var(--font-display); letter-spacing: .03em; }
.team p { margin-top: 12px; color: var(--ink-soft); font-size: 16px; line-height: 1.7; }

/* ---------- Care center page: gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(36px, 5vw, 64px); }
.gallery figure { margin: 0; position: relative; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; box-shadow: var(--shadow-sm); outline: 1px solid rgba(201,164,74,.3); outline-offset: -1px; }

/* ---------- Contact page ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 120px); align-items: start; padding-top: clamp(24px, 4vw, 48px); }
.contact__lead { font-size: clamp(22px, 2.2vw, 28px); font-weight: 500; line-height: 1.4; margin-top: 24px; max-width: 20ch; }
.contact__meta { margin-top: 28px; font-size: 16px; line-height: 1.9; color: rgba(246,241,230,.88); }
.contact__meta a { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--gold); }
.form { display: grid; gap: 22px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: block; font-size: 15px; font-weight: 400; margin-bottom: 8px; }
.form .lbl { font-size: 17px; font-weight: 500; display: block; margin-bottom: 8px; }
.form small { color: rgba(246,241,230,.65); font-size: 14px; margin-left: 6px; }
.form input, .form textarea { width: 100%; background: var(--paper); border: 1px solid rgba(22,32,43,.25); border-radius: 8px; padding: 13px 14px; font: inherit; font-size: 16px; color: var(--ink); min-height: 50px; box-shadow: inset 0 1px 2px rgba(0,0,0,.06); }
.form input:focus, .form textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.form textarea { min-height: 100px; resize: vertical; }
.form .actions { margin-top: 6px; }
.form-note { margin-top: 14px; font-size: 14px; color: rgba(246,241,230,.7); }
.form-alert { padding: 14px 18px; border-radius: 8px; margin-bottom: 18px; font-size: 15px; font-weight: 500; }
.form-alert--ok { background: rgba(201,164,74,.18); border: 1px solid rgba(201,164,74,.6); color: var(--cream); }
.form-alert--err { background: rgba(180,60,60,.18); border: 1px solid rgba(220,90,90,.6); color: var(--cream); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.wp-page-content { width: min(800px, calc(100% - 48px)); margin-inline: auto; padding: 40px 0 60px; font-size: 17px; line-height: 1.75; }
.wp-page-content h1 { font-family: var(--font-display); font-size: clamp(28px, 3vw, 40px); margin-bottom: 20px; }
.wp-page-content p { margin: 0 0 16px; }
.wp-page-content a { color: var(--gold); }
#wpadminbar ~ .band .site-header { top: 32px; }

/* ---------- Reveal on scroll (visible resting state) ---------- */
.reveal { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-armed { opacity: 1; transform: translateY(14px); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-armed { opacity: 1; transform: none; transition: none; }
  .ticker__track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .values { grid-template-columns: repeat(3, 1fr); }
  .team, .cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav ul, .nav .btn { display: none; }
  .nav-toggle { display: block; }
  body.nav-open .nav ul { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; position: absolute; left: 0; right: 0; top: 100%; margin-top: 12px; padding: 18px 24px 24px; background: var(--green-900); border-top: 1px solid rgba(255,255,255,.15); z-index: 30; }
  body.nav-open .nav ul a { display: block; padding: 10px 0; font-size: 20px; }
  body.nav-open .nav .submenu { position: static; display: flex; background: none; box-shadow: none; padding: 0 0 0 18px; margin: 0; }
  body.nav-open .nav .submenu a { color: var(--white); font-size: 17px; padding: 6px 0; }
  body.nav-open .nav li.has-menu > a::after { display: none; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .site-header { position: relative; background: transparent; }
  .split, .why-row, .together, .location, .contact { grid-template-columns: 1fr; }
  .card-offset::before { transform: translate(-10px, 10px); }
  .why-row--flip .why-row__media { order: 0; }
  .why-row__copy { text-align: center; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .footer-cols { grid-template-columns: repeat(2, auto); }
  .card-offset::before { transform: translate(-16px, 40px); }
  .page-lead .lead { max-width: none; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .values { grid-template-columns: 1fr 1fr; }
  .team, .cols-3 { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .paper { border-radius: 6px 30px 30px 30px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .media-offset::before { transform: translate(12px, 12px); }
}
