/* Inner-Vision Education Center — redesign preview */
:root {
  --bg: #fffdf8;
  --surface: #fff3d6;
  --ink: #1a1a1a;
  --muted: #4a4a46;
  --dark: #0a7480;      /* IVEC teal */
  --dark-2: #0c8794;
  --paper: #ffffff;
  --paper-dim: #d9f2f2;
  --accent: #f6b012;      /* logo gold, brightened */
  --accent-ink: #8a5a00;  /* gold dark enough for text on light ground */
  --step-small: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --step-body: clamp(1.0625rem, 1.02rem + 0.25vw, 1.25rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(2.75rem, 1rem + 6.4vw, 7.5rem);
  --m: clamp(20px, 5vw, 80px);
  --gap: 24px;
  --sec: clamp(96px, 12vw, 200px);
  --ease: cubic-bezier(.2,.7,.2,1);
  --font: "Sentient", Georgia, "Times New Roman", serif;
}
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: var(--step-body); line-height: 1.55; font-weight: 400; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1,h2,h3,h4 { font-weight: 300; letter-spacing: -0.015em; line-height: 1.02; margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--ink); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--paper); color: var(--ink); padding: 12px 16px; z-index: 100; }
.skip:focus { left: 16px; top: 16px; }

.wrap { padding-left: var(--m); padding-right: var(--m); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }

/* Buttons: square corners, one fill */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; background: var(--accent); color: var(--ink); text-decoration: none; font-family: var(--font); font-size: var(--step-small); font-weight: 500; border: 0; border-radius: 0; cursor: pointer; transition: transform .2s var(--ease), background-color .2s var(--ease); }
.btn:hover { background: #ffc233; transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--paper { background: var(--paper); }
.btn--paper:hover { background: #fff; }
.btn--teal { background: var(--dark); color: #fff; }
.btn--teal:hover { background: var(--dark-2); }
.link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color .2s var(--ease), text-underline-offset .2s var(--ease); }
.link:hover { text-underline-offset: 7px; color: var(--accent-ink); }
.on-dark .link:hover { color: var(--accent); }

/* Header */
.bar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 10px var(--m); color: var(--ink); background: rgba(255,255,255,.97); border-bottom: 4px solid var(--accent); box-shadow: 0 2px 14px rgba(0,0,0,.06); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-logo { width: clamp(120px, 13vw, 190px); height: auto; }
.brand-name { font-size: var(--step-small); line-height: 1.2; max-width: 15ch; }
.nav { display: flex; gap: 28px; align-items: center; font-size: var(--step-small); }
.nav a { text-decoration: none; position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.menu-btn { display: none; background: none; border: 0; color: inherit; font: inherit; font-size: var(--step-small); cursor: pointer; padding: 10px 0; }
@media (max-width: 900px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px var(--m) 24px; background: var(--dark); color: var(--paper); min-height: calc(100svh - 100px); border-top: 1px solid rgba(255,255,255,.12); }
  .nav.open { display: flex; }
  .nav a { font-size: 1.25rem; padding: 8px 0; }
  .menu-btn { display: block; }
  .bar .btn { display: none; }
  .brand-name { display: none; }
}

/* Hero — bright, logo-led */
.hero { position: relative; background: radial-gradient(120% 90% at 18% 30%, #fff 0%, #fff8e6 45%, #ffe9b3 100%); color: var(--ink); overflow: hidden; padding: clamp(32px,5vw,72px) 0 clamp(32px,4vw,56px); }
.hero-rays { position: absolute; inset: -40%; background: repeating-conic-gradient(from 0deg at 28% 42%, rgba(246,176,18,.13) 0deg 4deg, transparent 4deg 13deg); pointer-events: none; }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: clamp(32px,5vw,80px); align-items: center; }
.hero-logo { width: clamp(260px, 30vw, 460px); margin: 0 0 28px -6px; filter: drop-shadow(0 6px 18px rgba(138,90,0,.12)); }
.hero h1 { font-size: clamp(2.4rem, 1rem + 3.6vw, 5rem); line-height: 1; letter-spacing: -0.025em; font-weight: 400; color: var(--dark); max-width: 14ch; }
.hero-sub { margin-top: 20px; max-width: 40ch; font-size: var(--step-lead); line-height: 1.4; color: #3a3a3a; }
.hero-actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-photos { position: relative; }
.hero-print-l { position: relative; width: 100%; aspect-ratio: 4/5; max-height: 72svh; overflow: hidden; border: 10px solid #fff; box-shadow: 0 24px 60px rgba(10,116,128,.22); }
.hero-print-l img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero-print-l img.on { opacity: 1; }
.hero-print-s { position: absolute; left: -12%; bottom: -6%; width: 34%; aspect-ratio: 1; overflow: hidden; border: 8px solid var(--accent); box-shadow: 0 16px 40px rgba(0,0,0,.18); }
.hero-print-s img { width: 100%; height: 100%; object-fit: cover; }
.hero-chips { position: relative; list-style: none; margin: clamp(40px,5vw,64px) 0 0; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-chips a { display: inline-block; padding: 12px 20px; background: var(--dark); color: #fff; text-decoration: none; font-size: var(--step-small); transition: background .2s var(--ease); }
.hero-chips a:hover { background: var(--dark-2); }
@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-logo { width: min(78vw, 340px); margin: 0 auto 24px; }
  .hero-text { text-align: center; }
  .hero h1 { margin: 0 auto; font-size: clamp(2.1rem, 8vw, 2.8rem); }
  .hero-sub { margin: 16px auto 0; }
  .hero-actions { justify-content: center; }
  .hero-print-l { width: 88%; margin-left: auto; aspect-ratio: 4/3; }
  .hero-print-s { left: 0; width: 34%; bottom: -10%; }
  .hero-chips { justify-content: center; margin-top: 56px; }
}

/* Statement with uneven photographs */
.statement { padding-top: var(--sec); padding-bottom: var(--sec); }
.statement-text { grid-column: 2 / 9; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); line-height: 1.22; font-weight: 300; letter-spacing: -0.01em; }
.statement-body { grid-column: 2 / 7; margin-top: 40px; max-width: 46ch; }
.statement-photos { margin-top: 96px; }
.ph { margin: 0; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph figcaption { margin-top: 12px; font-size: var(--step-small); color: var(--muted); }
.ph-a { grid-column: 2 / 6; aspect-ratio: 3/4; }
.ph-b { grid-column: 7 / 13; aspect-ratio: 16/10; margin-top: 140px; }
.ph-c { grid-column: 9 / 12; aspect-ratio: 1; margin-top: 80px; }
.ph-c-text { grid-column: 2 / 9; margin-top: 80px; align-self: center; }
.ph-c-text p { max-width: 44ch; }
.ph-c-text h2 { font-size: var(--step-head); margin-bottom: 20px; }
@media (max-width: 900px) {
  .statement-text, .statement-body, .ph-a, .ph-b, .ph-c, .ph-c-text { grid-column: 1 / -1; }
  .statement-text { font-size: 1.5rem; }
  .ph-a { width: 72%; } .ph-b { width: 88%; margin-left: auto; margin-top: 48px; } .ph-c { width: 60%; margin-left: auto; margin-top: 48px; } .ph-c-text { margin-top: 40px; }
  .statement-photos { margin-top: 56px; }
}

/* Programs band — unequal panels */
.programs { padding-bottom: 0; }
.band-caption { padding-bottom: 72px; }
.programs-head { padding-bottom: 48px; }
.programs-head h2 { grid-column: 3 / 11; font-size: var(--step-head); }
.programs-head p { grid-column: 3 / 9; margin-top: 20px; max-width: 52ch; }
.band { display: flex; height: 72svh; min-height: 520px; }
.panel { position: relative; flex: 3 1 0; overflow: hidden; color: var(--paper); text-decoration: none; transition: flex-grow .5s var(--ease); background: var(--dark); }
.panel:nth-child(1) { flex-grow: 5; } .panel:nth-child(2) { flex-grow: 3; } .panel:nth-child(3) { flex-grow: 4; }
@media (hover: hover) and (min-width: 901px) { .band:hover .panel { flex-grow: 2; } .band .panel:hover, .band .panel:focus-visible { flex-grow: 6; } }
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.panel:hover img { transform: scale(1.04); }
.panel-scrim { position: absolute; left: 0; right: 0; bottom: 0; height: 60%; background: linear-gradient(to top, rgba(6,80,88,.9), rgba(6,80,88,.55) 70%, rgba(6,80,88,0)); }
.panel-text { position: absolute; left: 24px; right: 24px; bottom: 28px; display: grid; gap: 10px; }
.panel-text h3 { font-size: clamp(1.5rem, 1.1rem + 1vw, 2.1rem); font-weight: 300; }
.panel-text p { font-size: var(--step-small); color: #e3e0d6; max-width: 34ch; }
.panel-text span { font-size: var(--step-small); text-decoration: underline; text-underline-offset: 4px; }
.band-caption { padding-top: 16px; font-size: var(--step-small); color: var(--muted); }
@media (max-width: 900px) {
  .programs-head h2, .programs-head p { grid-column: 1 / -1; }
  .band { flex-direction: column; height: auto; min-height: 0; }
  .panel { min-height: 62svh; }
  .panel:nth-child(2) { min-height: 50svh; width: 82%; margin-left: auto; }
}

/* Find your next step (live thing) */
.chooser { background: var(--dark); color: var(--paper); padding-top: var(--sec); padding-bottom: var(--sec); }
.chooser h2 { grid-column: 1 / 7; font-size: var(--step-head); }
.chooser-intro { grid-column: 1 / 6; margin-top: 20px; color: var(--paper-dim); max-width: 40ch; }
.chooser-opts { grid-column: 7 / 13; grid-row: 1 / 3; display: grid; gap: 8px; align-content: start; }
.opt { text-align: left; font: inherit; font-size: var(--step-lead); background: var(--dark-2); color: var(--paper); border: 0; border-radius: 0; padding: 20px 24px; cursor: pointer; transition: background-color .2s var(--ease), transform .2s var(--ease); }
.opt:hover { background: #2a2b24; transform: translateX(4px); }
.opt[aria-pressed="true"] { background: var(--accent); color: var(--ink); }
.answer { margin-top: 24px; background: var(--paper); color: var(--ink); padding: 32px; display: grid; gap: 16px; justify-items: start; }
.answer[hidden] { display: none; }
.answer h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.2rem); }
.answer ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; }
@media (max-width: 900px) { .chooser h2, .chooser-intro, .chooser-opts, .answer { grid-column: 1 / -1; grid-row: auto; } .chooser-opts { margin-top: 32px; } .opt { font-size: 1.15rem; } .answer { padding: 24px; } }

/* Process — photographs down a diagonal */
.steps { padding-top: var(--sec); padding-bottom: var(--sec); }
.steps h2 { grid-column: 7 / 13; font-size: var(--step-head); align-self: start; }
.st-ph1 { grid-column: 1 / 5; grid-row: 1 / 3; aspect-ratio: 3/4; }
.st-t1 { grid-column: 6 / 11; grid-row: 2; align-self: start; margin-top: 40px; max-width: 40ch; }
.st-ph2 { grid-column: 6 / 9; aspect-ratio: 1; margin-top: 120px; }
.st-t2 { grid-column: 9 / 13; margin-top: 120px; max-width: 34ch; }
.st-t3 { grid-column: 2 / 7; margin-top: 160px; max-width: 40ch; align-self: start; }
.st-ph3 { grid-column: 8 / 13; aspect-ratio: 16/10; margin-top: 160px; }
.steps b { font-weight: 500; }
.steps .t { font-size: var(--step-body); }
@media (max-width: 900px) {
  .steps h2, .st-ph1, .st-t1, .st-ph2, .st-t2, .st-t3, .st-ph3 { grid-column: 1 / -1; grid-row: auto; margin-top: 0; }
  .steps h2 { margin-bottom: 32px; }
  .st-ph2 { width: 62%; margin-left: auto; margin-top: 56px; } .st-ph3 { width: 80%; margin-top: 56px; order: 6; }
  .st-t1, .st-t2, .st-t3 { margin-top: 18px; }
  .st-t3 { order: 7; }
}

/* CTA full-bleed */
.cta { position: relative; min-height: 90svh; color: var(--paper); overflow: hidden; display: flex; align-items: flex-end; }
.cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.62); }
.cta-text { position: relative; width: 100%; padding-bottom: 12svh; }
.cta-inner { grid-column: 7 / 13; display: grid; gap: 22px; justify-items: start; }
.cta h2 { font-size: var(--step-head); }
.cta p { max-width: 44ch; }
@media (max-width: 900px) {
  .cta { display: block; min-height: 0; background: var(--dark); }
  .cta > img { position: relative; height: 62svh; filter: none; }
  .cta-text { padding-top: 40px; padding-bottom: 64px; }
  .cta-inner { grid-column: 1 / -1; }
}

/* FAQ */
.faq { padding-top: var(--sec); padding-bottom: var(--sec); }
.faq h2 { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 5.5rem); max-width: 16ch; }
.faq-list { margin-top: 80px; display: grid; gap: 8px; }
.faq-list details { grid-column: 5 / 13; padding: 16px 24px; margin: 0 -24px; transition: background-color .25s var(--ease); }
.faq-list details[open] { background: var(--surface); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; font-size: clamp(1.15rem, 1rem + .5vw, 1.5rem); padding: 8px 0; }
.faq-list summary::-webkit-details-marker { display: none; }
.chev { flex: none; width: 14px; height: 14px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-4px); transition: transform .3s var(--ease); }
details[open] .chev { transform: rotate(225deg) translateY(-2px); }
.faq-list .a { max-width: 52ch; padding: 8px 0 12px; }
@media (max-width: 900px) { .faq-list details { grid-column: 1 / -1; margin: 0 calc(-1 * var(--m)); padding: 12px var(--m); } .faq-list { margin-top: 48px; } }

/* Contact */
.contact { padding-top: var(--sec); padding-bottom: 120px; }
.contact-sentence { grid-column: 1 / 6; font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.25rem); line-height: 1.15; font-weight: 300; }
.contact-ph { grid-column: 7 / 9; aspect-ratio: 1; align-self: start; }
.contact-ways { grid-column: 9 / 13; display: grid; gap: 14px; align-content: start; }
.contact-ways .q { font-weight: 500; }
.contact-ways .note { font-size: var(--step-small); color: var(--muted); }
.form { grid-column: 1 / 13; margin-top: 96px; display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: var(--gap); row-gap: 20px; background: var(--surface); padding: clamp(24px, 4vw, 56px); }
.form h3 { grid-column: 1 / 6; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem); }
.form .intro { grid-column: 1 / 6; color: var(--ink); max-width: 36ch; }
.fields { grid-column: 7 / 13; grid-row: 1 / 4; display: grid; gap: 18px; min-width: 0; }
.fields label { display: grid; gap: 6px; font-size: var(--step-small); font-weight: 500; min-width: 0; }
.fields input, .fields select, .fields textarea { font: inherit; font-size: 1rem; padding: 14px; background: var(--bg); color: var(--ink); border: 1px solid #a9a69c; border-radius: 0; width: 100%; min-width: 0; }
.fields textarea { min-height: 120px; resize: vertical; }
.form-status { font-size: var(--step-small); color: var(--muted); }
@media (max-width: 900px) { .contact-sentence, .contact-ph, .contact-ways, .form h3, .form .intro, .fields { grid-column: 1 / -1; grid-row: auto; } .contact-ph { width: 40%; margin: 32px 0; } .form { margin-top: 64px; } }

/* Footer */
.foot { background: #075e68; color: var(--paper); padding-top: 96px; padding-bottom: 40px; overflow: hidden; }
.foot-logo { width: clamp(220px, 28vw, 420px); }
.foot-row { margin-top: 72px; }
.foot-places { grid-column: 1 / 6; display: grid; gap: 8px; font-size: clamp(1.3rem, 1rem + 1vw, 2rem); }
.foot-places a { color: var(--accent); text-decoration: none; }
.foot-places a:hover { text-decoration: underline; text-underline-offset: 6px; }
.foot-places span { color: var(--paper-dim); font-size: var(--step-body); }
.foot-cols { grid-column: 7 / 13; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; font-size: 0.9375rem; }
.foot-cols h4 { font-size: 0.9375rem; font-weight: 500; letter-spacing: 0; margin-bottom: 10px; color: var(--paper-dim); }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-cols a { text-decoration: none; } .foot-cols a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-legal { margin-top: 96px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 0.875rem; color: var(--paper-dim); }
@media (max-width: 900px) { .foot-places, .foot-cols { grid-column: 1 / -1; } .foot-cols { margin-top: 48px; grid-template-columns: 1fr 1fr; } }

/* Program pages */
.p-hero { background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%); color: var(--paper); padding-top: 88px; padding-bottom: 72px; overflow: hidden; }
.p-hero h1 { grid-column: 1 / 7; grid-row: 1; font-size: clamp(2.75rem, 1rem + 5.4vw, 6.5rem); line-height: .98; letter-spacing: -0.025em; }
.p-hero .lead { grid-column: 1 / 7; grid-row: 2; margin-top: 32px; color: var(--paper-dim); max-width: 44ch; font-size: var(--step-lead); line-height: 1.4; }
.p-hero .lead strong { color: var(--paper); font-weight: 400; }
.p-hero-actions { grid-column: 1 / 7; grid-row: 3; align-self: start; margin-top: 36px; display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.p-hero-ph { grid-column: 8 / 13; grid-row: 1 / 5; aspect-ratio: 4/5; align-self: start; }
.p-hero-ph img { width: 100%; height: 100%; object-fit: cover; }
.facts { padding-top: 64px; padding-bottom: 0; }
.fact-list { grid-column: 1 / 13; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0; padding: 0; list-style: none; }
.fact-list li { background: var(--surface); padding: 24px; display: grid; gap: 6px; }
.fact-list b { font-weight: 500; font-size: var(--step-small); color: var(--muted); }
.fact-list span { font-size: var(--step-lead); line-height: 1.25; }
.p-body { padding-top: var(--sec); padding-bottom: var(--sec); }
.p-body h2 { grid-column: 1 / 6; font-size: var(--step-head); }
.p-body .col { grid-column: 7 / 13; display: grid; gap: 22px; }
.p-body .col ul { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; }
.p-split { padding-bottom: var(--sec); }
.p-split .ph1 { grid-column: 1 / 6; aspect-ratio: 4/5; }
.p-split .txt { grid-column: 7 / 12; align-self: center; display: grid; gap: 20px; }
.p-split .txt h2 { font-size: var(--step-head); }
.p-split .ph2 { grid-column: 9 / 13; aspect-ratio: 1; margin-top: 96px; }
.p-split .txt2 { grid-column: 2 / 8; margin-top: 96px; align-self: center; display: grid; gap: 16px; max-width: 46ch; }
.p-split ul { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; }
.p-next { background: var(--surface); padding-top: 96px; padding-bottom: 96px; }
.p-next h2 { grid-column: 1 / 7; font-size: var(--step-head); }
.p-next .col { grid-column: 7 / 13; display: grid; gap: 20px; justify-items: start; }
.other { padding-top: 96px; padding-bottom: 96px; }
.other h2 { grid-column: 1 / 13; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem); margin-bottom: 32px; }
.other a { grid-column: span 6; text-decoration: none; display: grid; grid-template-columns: 40% 1fr; gap: 20px; align-items: center; background: var(--surface); transition: background-color .2s var(--ease); }
.other a:hover { background: #dcd9d1; }
.other img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.other h3 { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.8rem); }
.other p { font-size: var(--step-small); color: var(--muted); margin-top: 6px; padding-right: 16px; }
@media (max-width: 900px) {
  .p-hero { padding-top: 56px; }
  .p-hero h1, .p-hero .lead, .p-hero-actions, .p-hero-ph, .fact-list, .p-body h2, .p-body .col, .p-split .ph1, .p-split .txt, .p-split .ph2, .p-split .txt2, .p-next h2, .p-next .col, .other a { grid-column: 1 / -1; }
  .p-hero-ph { width: 88%; margin-left: auto; grid-row: auto; margin-top: 48px; aspect-ratio: 4/3; }
  .p-hero h1, .p-hero .lead, .p-hero-actions { grid-row: auto; }
  .fact-list { grid-template-columns: 1fr 1fr; }
  .p-body .col, .p-next .col { margin-top: 28px; }
  .p-split .ph1 { width: 78%; } .p-split .txt { margin-top: 36px; } .p-split .ph2 { width: 58%; margin-left: auto; margin-top: 48px; } .p-split .txt2 { margin-top: 28px; }
  .other a { margin-bottom: 8px; }
}

/* Entrances */
.js .rise { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .rise.in { opacity: 1; transform: none; }
.drift { animation: drift 24s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.0); } to { transform: scale(1.08); } }
@media (prefers-reduced-motion: reduce) {
  .js .rise { opacity: 1; transform: none; transition: none; }
  .drift { animation: none; }
  .panel, .panel img, .btn, .opt { transition: none; }
}

/* Real photos: keep faces in frame when cropped */
img[src*="r-pavilion"], img[src*="r-horse"], img[src*="r-staff"], img[src*="r-painting"], img[src*="r-outing"], img[src*="r-smiles"], img[src*="r-kitchen"] { object-position: center 25%; }

/* Staff contacts */
.staff { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 16px; }
.staff li { display: grid; gap: 2px; }
.staff .sn { font-weight: 500; }
.staff .sr { font-size: var(--step-small); color: var(--muted); }
.staff a { color: var(--dark); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; overflow-wrap: anywhere; font-size: var(--step-small); }
.staff--foot { margin-top: 24px; font-size: var(--step-body); }
.staff--foot .sn { color: #fff; }
.staff--foot .sr { color: var(--paper-dim); }
.foot-places .staff--foot a { color: var(--accent); font-size: var(--step-small); text-decoration: none; }
.foot-places .staff--foot a:hover { text-decoration: underline; }
.maps { display: flex; gap: 10px; flex-wrap: wrap; }
.maps a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid currentColor; font-size: var(--step-small); text-decoration: none; color: var(--dark); }
.maps a:hover { background: var(--dark); color: #fff; }
.foot-places .maps a { color: #fff; font-size: var(--step-small); }
.foot-places .maps a:hover { background: #fff; color: var(--dark); text-decoration: none; }

/* Day Support activity calendar */
.cal { padding-top: var(--sec); padding-bottom: var(--sec); }
.cal-top { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: var(--gap); align-items: end; margin-bottom: 40px; }
.cal-eyebrow { grid-column: 1 / -1; margin: 0 0 8px; color: var(--accent-ink); font-size: var(--step-small); letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.cal-top h2 { grid-column: 1 / 7; margin: 0; font-size: var(--step-head); line-height: 1.05; }
.cal-note { grid-column: 8 / 13; margin: 0; color: var(--muted); }
.cal-head, .cal-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 6px; }
.cal-head li { padding: 12px 14px; background: var(--dark); color: #fff; font-size: var(--step-small); font-weight: 600; }
.cal-grid { margin-top: 6px; }
.cal-grid li { position: relative; min-height: 132px; padding: 14px; background: var(--paper); border-top: 4px solid var(--accent); display: flex; flex-direction: column; gap: 2px; font-size: 1rem; line-height: 1.35; box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.cal-grid li.cal-blank { background: transparent; border-top-color: transparent; box-shadow: none; }
.cal-grid li.is-closed { background: var(--surface); border-top-color: #c0392b; }
.cal-num { font-size: 1.5rem; font-weight: 600; color: var(--dark); line-height: 1; margin-bottom: 8px; }
.cal-date { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cal-grid b { font-weight: 600; }
.cal-grid span:not(.cal-num):not(.cal-date):not(.cal-wd) { color: var(--muted); }
.cal-closed { color: #a3281b !important; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 900px) {
  .cal-top h2, .cal-note { grid-column: 1 / -1; }
  .cal-note { margin-top: 16px; }
  .cal-head { display: none; }
  .cal-grid { grid-template-columns: 1fr; gap: 8px; }
  .cal-grid li.cal-blank { display: none; }
  .cal-grid li { min-height: 0; display: grid; grid-template-columns: 8.5rem 1fr; column-gap: 14px; align-items: start; }
  .cal-grid li > *:not(.cal-date) { grid-column: 2; }
  .cal-date { position: static; width: auto; height: auto; clip: auto; grid-column: 1 !important; grid-row: 1 / span 4; font-weight: 600; color: var(--dark); white-space: normal; }
  .cal-wd { display: block; font-weight: 400; color: var(--muted); }
  .cal-num { display: none; }
}

/* Save-to-home-screen note under the calendar */
.cal-save { margin-top: 32px; display: flex; gap: 22px; align-items: flex-start; padding: 26px 28px; background: var(--paper-dim); border-left: 6px solid var(--dark); }
.cal-save img { flex: none; width: 72px; height: 72px; border-radius: 16px; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.cal-save h3 { margin: 0 0 6px; font-size: 1.35rem; font-weight: 500; color: var(--dark); }
.cal-save p { margin: 0 0 12px; }
.cal-save ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; font-size: 1rem; }
.cal-save b { font-weight: 600; }
@media (max-width: 600px) { .cal-save { flex-direction: column; gap: 14px; padding: 22px 20px; } .cal-save img { width: 60px; height: 60px; border-radius: 14px; } }
