/* Philip Pelkington Vocal Studios — site styles */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;1,500&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --ink: #f2ede1;
  --mute: #a9a397;
  --oxblood: #8c3a34;
  --oxblood-light: #e07a5f;
  --gold: #c9a24b;
  --line: #2a2d36;
  --panel: #1a1d24;
  --panel-alt: #20232b;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--panel);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
}

/* header */
.site-header {
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: var(--panel);
  z-index: 50;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.logo-img {
  height: 48px;
  width: auto;
  display: block;
}

nav.main-nav {
  display: flex;
  gap: 28px;
}

nav.main-nav a,
nav.main-nav .dropdown-trigger {
  font-size: 16px;
  color: var(--mute);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.15s;
}

nav.main-nav a:hover,
nav.main-nav a.active,
nav.main-nav .dropdown-trigger:hover,
nav.main-nav .dropdown-trigger.active {
  color: var(--ink);
  border-bottom-color: var(--oxblood-light);
}

/* showcases dropdown */
.nav-dropdown { position: relative; }

.dropdown-toggle-checkbox { display: none; }

.nav-dropdown .dropdown-trigger {
  display: inline-block;
  cursor: pointer;
  user-select: none;
}

.nav-dropdown .dropdown-trigger::after {
  content: " \25BE";
  font-size: 10px;
  vertical-align: middle;
}

.nav-dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 0;
  min-width: 210px;
  display: none;
  flex-direction: column;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  z-index: 60;
}

.nav-dropdown .dropdown-menu a {
  padding: 10px 18px;
  border-bottom: none;
  white-space: nowrap;
  color: var(--mute);
}

.nav-dropdown .dropdown-menu a:hover,
.nav-dropdown .dropdown-menu a.active {
  color: var(--ink);
  background: var(--line);
}

.dropdown-toggle-checkbox:checked ~ .dropdown-menu,
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  display: flex;
}

/* mobile nav toggle */
.nav-toggle-checkbox { display: none; }

.nav-toggle {
  display: none;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  color: var(--ink);
  user-select: none;
}

.nav-toggle::before { content: "\2630"; }

.nav-toggle-checkbox:checked ~ .nav-toggle::before { content: "\2715"; }

/* buttons */
.btn {
  display: inline-block;
  font-size: 16px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 4px;
  text-align: center;
}

.btn-primary {
  background: var(--oxblood);
  color: var(--ink);
}

.btn-primary:hover { background: var(--oxblood-light); }

.btn-outline {
  border: 1px solid var(--line);
  color: var(--ink);
}

.btn-outline:hover { border-color: var(--oxblood-light); }

/* sections */
section { border-top: 1px solid var(--line); }
section:first-of-type { border-top: none; }

.section-pad { padding: 70px 0; }
.section-pad-sm { padding: 40px 0; }

.eyebrow {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold);
  border: 1.5px solid var(--gold);
  padding: 5px 14px;
  border-radius: 20px;
}

.label {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--mute);
  margin-bottom: 20px;
  text-transform: uppercase;
}

/* hero */
.hero h1 { font-size: 56px; max-width: 700px; }
.hero h1::after,
.page-hero h1::after,
.about-hero h1::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin-top: 16px;
}
.hero p.lead { font-size: 21px; color: var(--mute); margin-top: 18px; max-width: 540px; }
.hero .actions { margin-top: 36px; display: flex; gap: 16px; flex-wrap: wrap; }

.hero-flex { display: flex; align-items: center; gap: 56px; justify-content: space-between; }
.hero-flex .hero-copy { flex: 1 1 480px; min-width: 0; }
.hero-photo { width: 360px; height: 440px; flex: none; }

@media (max-width: 980px) {
  .hero-flex { gap: 32px; }
  .hero-photo { width: 280px; height: 340px; }
}

.page-hero { padding: 70px 0 50px; }
.page-hero h1 { font-size: 46px; }
.page-hero p.lead { font-size: 19px; color: var(--mute); margin-top: 14px; max-width: 580px; }

/* trust bar */
.trust-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.trust-bar span {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--mute);
}

.trust-bar .dot {
  color: var(--gold);
  font-size: 12px;
}

/* by invitation strip */
.invite-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.invite-strip p { margin: 0; font-size: 17px; color: var(--mute); }

/* grids */
.grid {
  display: grid;
  gap: 18px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--panel-alt);
  border-radius: 8px;
  padding: 20px;
}

.card .ph {
  aspect-ratio: 1 / 1;
  width: 100%;
  height: auto;
  object-fit: cover;
  background: var(--line);
  border-radius: 6px;
  margin-bottom: 16px;
  display: block;
}

.card .photo-crossfade {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--line);
}

.card .photo-crossfade img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card .photo-crossfade .work-shot { z-index: 1; }
.card .photo-crossfade .headshot { z-index: 2; animation: crossfade 11s ease-in-out infinite; }

@keyframes crossfade {
  0%, 45% { opacity: 1; }
  55%, 95% { opacity: 0; }
  100% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .card .photo-crossfade .headshot { animation: none; }
}

.card .photo-rotate3 {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--line);
}

.card .photo-rotate3 img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  animation: rotate3 21s ease-in-out infinite;
}

@keyframes rotate3 {
  0% { opacity: 1; }
  25% { opacity: 1; }
  33% { opacity: 0; }
  92% { opacity: 0; }
  100% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .card .photo-rotate3 img { animation: none; opacity: 0; }
  .card .photo-rotate3 img:first-child { opacity: 1; }
}

.photo-rotate4 {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--line);
}

.photo-rotate4 img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  animation: rotate4 24s ease-in-out infinite;
}

@keyframes rotate4 {
  0% { opacity: 1; }
  20% { opacity: 1; }
  27% { opacity: 0; }
  98% { opacity: 0; }
  100% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .photo-rotate4 img { animation: none; opacity: 0; }
  .photo-rotate4 img:first-child { opacity: 1; }
}

.card .photo-rotate4 {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--line);
}

.card .photo-rotate5 {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--line);
}

.card .photo-rotate5 img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  animation: rotate5 35s ease-in-out infinite;
}

@keyframes rotate5 {
  0% { opacity: 1; }
  16% { opacity: 1; }
  22% { opacity: 0; }
  94% { opacity: 0; }
  100% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .card .photo-rotate5 img { animation: none; opacity: 0; }
  .card .photo-rotate5 img:first-child { opacity: 1; }
}

.card .photo-rotate6 {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--line);
}

.card .photo-rotate6 img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  animation: rotate6 42s ease-in-out infinite;
}

@keyframes rotate6 {
  0% { opacity: 1; }
  14% { opacity: 1; }
  19% { opacity: 0; }
  95% { opacity: 0; }
  100% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .card .photo-rotate6 img { animation: none; opacity: 0; }
  .card .photo-rotate6 img:first-child { opacity: 1; }
}

.photo-rotate8 {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--line);
}

.photo-rotate8 img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  animation: rotate8 56s ease-in-out infinite;
}

@keyframes rotate8 {
  0% { opacity: 1; }
  10% { opacity: 1; }
  15% { opacity: 0; }
  95% { opacity: 0; }
  100% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .photo-rotate8 img { animation: none; opacity: 0; }
  .photo-rotate8 img:first-child { opacity: 1; }
}

.photo-rotate9 {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--line);
}

.photo-rotate9 img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  animation: rotate9 63s ease-in-out infinite;
}

@keyframes rotate9 {
  0% { opacity: 1; }
  9% { opacity: 1; }
  14% { opacity: 0; }
  95% { opacity: 0; }
  100% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .photo-rotate9 img { animation: none; opacity: 0; }
  .photo-rotate9 img:first-child { opacity: 1; }
}

.hero-photo-captions {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-photo-captions span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  padding: 28px 18px 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.72), rgba(0,0,0,0));
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  opacity: 0;
  animation: rotate9 63s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .hero-photo-captions span { animation: none; opacity: 0; }
  .hero-photo-captions span:first-child { opacity: 1; }
}

/* rotating testimonials */
.testimonial-rotate {
  position: relative;
  display: grid;
  max-width: 700px;
}

.testimonial-rotate .t-slide {
  grid-area: 1 / 1;
  opacity: 0;
  animation: trotate 168s ease-in-out infinite;
}

.testimonial-rotate .t-slide blockquote {
  max-width: 100%;
}

@keyframes trotate {
  0% { opacity: 1; }
  3.333% { opacity: 1; }
  4.167% { opacity: 0; }
  99.167% { opacity: 0; }
  100% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-rotate { display: block; }
  .testimonial-rotate .t-slide { animation: none; opacity: 1; margin-bottom: 28px; }
}

.card h3 { font-size: 19px; color: var(--ink); font-weight: 400; }
.card p { font-size: 16px; color: var(--mute); margin: 6px 0 0; }

.bordered-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.bordered-card h3 { font-size: 19px; color: var(--ink); font-weight: 400; margin-bottom: 8px; }
.bordered-card p { font-size: 16px; color: var(--mute); margin: 0; }

/* quote */
blockquote {
  margin: 0;
  font-size: 19px;
  font-style: italic;
  color: var(--ink);
  max-width: 640px;
}

.quote-attrib { font-size: 16px; font-weight: 600; color: var(--oxblood-light); margin-top: 10px; }

/* highlight callout */
.callout-highlight {
  background: rgba(224, 122, 95, 0.16);
  border-left: 3px solid var(--oxblood-light);
  padding: 20px 24px;
  border-radius: 4px;
}

.callout-highlight p {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--oxblood-light);
}

/* about */
.about-hero {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.about-hero .photo-ph {
  width: 200px;
  height: 240px;
  background: var(--line);
  border-radius: 8px;
  flex: none;
}

.about-hero h1 { font-size: 37px; }
.about-hero .role { font-size: 17px; color: var(--oxblood-light); font-weight: 500; margin: 8px 0 16px; }
.about-hero p { color: var(--mute); max-width: 480px; font-size: 17px; }

.goldendoodle-row {
  display: flex;
  gap: 22px;
  align-items: center;
}



.goldendoodle-row p { font-size: 17px; color: var(--mute); margin: 6px 0 0; max-width: 420px; }

/* news list */
.news-item {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.news-item:first-child { border-top: none; }
.news-item span.date { font-size: 15px; color: var(--mute); white-space: nowrap; }
.news-item .headline,
.news-item span.headline { font-size: 18px; color: var(--ink); }
.news-item a.headline { transition: color 0.15s ease; }
.news-item a.headline:hover,
.news-item a.headline:focus-visible { color: var(--oxblood-light); text-decoration: underline; }

/* contact form */
.contact-form { max-width: 440px; display: flex; flex-direction: column; gap: 12px; }

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px 14px;
  color: var(--ink);
  font-family: inherit;
  font-size: 16px;
}

.contact-form label {
  font-size: 15px;
  color: var(--mute);
  margin-bottom: -6px;
}

.contact-form button {
  border: none;
  cursor: pointer;
  font-family: inherit;
}

/* footer */
footer.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
}

.lesson-note {
  font-size: 16px;
  color: var(--mute);
  margin: 0;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-row p { font-size: 16px; color: var(--mute); margin: 0; }

.social-links { display: flex; gap: 16px; }
.social-links a { font-size: 16px; color: var(--oxblood-light); font-weight: 500; }
.social-links a:hover { color: var(--ink); }

/* responsive */
@media (max-width: 860px) {
  .wrap { padding: 0 24px; }
  .site-header .wrap { flex-wrap: wrap; }
  nav.main-nav { display: none; }
  .nav-toggle { display: block; }

  .nav-toggle-checkbox:checked ~ nav.main-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    flex-basis: 100%;
    width: 100%;
    padding: 10px 0 22px;
  }

  nav.main-nav a { padding: 8px 0; width: 100%; }

  .nav-dropdown { width: 100%; }

  .nav-dropdown .dropdown-menu {
    position: static;
    display: flex;
    flex-direction: column;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 0 4px 16px;
    margin-top: 0;
    min-width: 0;
  }

  .nav-dropdown .dropdown-menu a { padding: 8px 0; }
  .nav-dropdown .dropdown-trigger::after { display: none; }

  .hero h1 { font-size: 38px; }
  .about-hero { flex-direction: column; }
  .hero-flex { flex-direction: column-reverse; }
  .hero-photo { width: 100%; max-width: 360px; height: 300px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 32px; }
}

/* work reels - one rotating banner per medium */
.reel-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.reel-label {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--oxblood-light);
  text-align: center;
  margin-bottom: 10px;
}

.reel {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  background: var(--line);
}

.reel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
}

.reel-6 img  { animation: reel6 30s ease-in-out infinite; }
.reel-14 img { animation: reel14 70s ease-in-out infinite; }
.reel-15 img { animation: reel15 75s ease-in-out infinite; }
.reel-16 img { animation: reel16 80s ease-in-out infinite; }

@keyframes reel6 {
  0%{ opacity: 1; }
  13.333%{ opacity: 1; }
  16.667%{ opacity: 0; }
  96.667%{ opacity: 0; }
  100%{ opacity: 1; }
}

@keyframes reel14 {
  0%{ opacity: 1; }
  5.714%{ opacity: 1; }
  7.143%{ opacity: 0; }
  98.571%{ opacity: 0; }
  100%{ opacity: 1; }
}

@keyframes reel16 {
  0%{ opacity: 1; }
  5%{ opacity: 1; }
  6.25%{ opacity: 0; }
  98.75%{ opacity: 0; }
  100%{ opacity: 1; }
}

@keyframes reel15 {
  0%{ opacity: 1; }
  5.333%{ opacity: 1; }
  6.667%{ opacity: 0; }
  98.667%{ opacity: 0; }
  100%{ opacity: 1; }
}

@media (max-width: 560px) {
  .reel-row { grid-template-columns: 1fr; gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .reel img { animation: none; opacity: 0; }
  .reel img:first-child { opacity: 1; }
}

/* gallery */
.gallery-grid a {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 6px;
  background: var(--line);
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease, opacity .4s ease;
}
.gallery-grid a:hover img { transform: scale(1.03); opacity: .92; }
@media (prefers-reduced-motion: reduce) {
  .gallery-grid img { transition: none; }
  .gallery-grid a:hover img { transform: none; }
}

/* homepage artists: centered last row */
.artists-grid { display: flex; flex-wrap: wrap; justify-content: center; }
.artists-grid > .card { width: calc((100% - 54px) / 4); }
@media (max-width: 860px) { .artists-grid > .card { width: calc((100% - 18px) / 2); } }
@media (max-width: 560px) { .artists-grid > .card { width: 100%; } }

/* artist testimonial pop-up */
.story-toggle { position: absolute; opacity: 0; pointer-events: none; }
.story-open { display: block; position: relative; cursor: pointer; border-radius: 6px; }
.story-open .ph { transition: transform .35s ease, box-shadow .35s ease; }
.story-open:hover .ph { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.45); }
.story-toggle:focus-visible + .story-open { outline: 2px solid var(--gold); outline-offset: 4px; }
.story-badge {
  position: absolute; left: 10px; top: 10px; z-index: 5;
  background: rgba(20, 22, 28, .82); color: var(--ink);
  font-size: 12px; font-weight: 600; letter-spacing: .04em;
  padding: 5px 10px 5px 8px; border-radius: 999px;
  border: 1px solid rgba(201, 162, 75, .55);
}
.story-badge span { color: var(--gold); font-family: 'Playfair Display', Georgia, serif; font-size: 18px; line-height: 0; vertical-align: -3px; margin-right: 2px; }
.story-modal {
  display: none; position: fixed; inset: 0; z-index: 100;
  align-items: center; justify-content: center; padding: 24px;
}
.story-toggle:checked ~ .story-modal { display: flex; animation: storyIn .25s ease; }
body:has(.story-toggle:checked) { overflow: hidden; }
.story-backdrop { position: absolute; inset: 0; background: rgba(8, 9, 12, .82); cursor: pointer; }
.story-panel {
  position: relative; max-width: 720px; width: 100%; max-height: calc(100vh - 48px); overflow-y: auto;
  background: var(--panel-alt); border: 1px solid var(--line); border-top: 3px solid var(--gold);
  border-radius: 10px; padding: 48px 48px 40px;
  box-shadow: 0 24px 60px rgba(0,0,0,.6);
}
.story-name { font-family: 'Playfair Display', Georgia, serif; font-size: 30px; margin-bottom: 18px; color: var(--ink); padding-right: 30px; }
.story-panel blockquote { font-size: 23px; line-height: 1.55; max-width: none; }
.story-panel .quote-attrib { font-size: 16px; margin-top: 22px; line-height: 1.5; }
.story-panel .quote-attrib + blockquote { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.story-close {
  position: absolute; top: 12px; right: 16px; font-size: 34px; line-height: 1;
  color: var(--mute); cursor: pointer; padding: 4px 8px;
}
.story-close:hover { color: var(--ink); }
@keyframes storyIn { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 560px) {
  .story-modal { padding: 12px; }
  .story-panel { padding: 40px 22px 28px; max-height: calc(100vh - 24px); }
  .story-name { font-size: 25px; }
  .story-panel blockquote { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .story-open .ph { transition: none; }
  .story-toggle:checked ~ .story-modal { animation: none; }
}

/* testimonial label: hidden until hover on mouse devices; small quote icon on touch screens */
@media (hover: hover) {
  .story-badge { opacity: 0; transform: translateY(-4px); transition: opacity .25s ease, transform .25s ease; }
  .story-open:hover .story-badge,
  .story-toggle:focus-visible + .story-open .story-badge { opacity: 1; transform: none; }
}
@media (hover: none) {
  .story-badge { font-size: 0; padding: 0; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; left: auto; right: 8px; top: 8px; }
  .story-badge span { font-size: 22px; margin: 0; vertical-align: 0; line-height: 1; padding-top: 8px; }
}
@media (prefers-reduced-motion: reduce) { .story-badge { transition: none; } }

/* Philip portrait in homepage hero */
.hero-teacher { display: flex; align-items: center; gap: 24px; margin-top: 36px; text-decoration: none; color: inherit; width: fit-content; }
.hero-teacher img { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.hero-teacher span { font-size: 16px; line-height: 1.5; color: var(--mute); }
.hero-teacher strong { font-size: 22px; color: var(--ink); }
.hero-teacher:hover strong { text-decoration: underline; }
.hero-teacher + .actions { margin-top: 32px; }
@media (max-width: 860px) {
  .hero-teacher { gap: 18px; }
  .hero-teacher img { width: 120px; height: 120px; }
  .hero-teacher strong { font-size: 19px; }
}

/* Testimonials page: subtle Broadway skyline background */
body.page-testimonials { position: relative; }
body.page-testimonials::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: url(../images/broadway-skyline.svg) center bottom / cover no-repeat;
  opacity: .35;
}

/* About photo larger; Services page photo of Philip */
.about-hero .photo-ph { width: 260px; height: 330px; }
.services-hero { display: flex; align-items: flex-start; gap: 40px; }
.services-photo { width: 260px; height: 330px; object-fit: cover; object-position: center 15%; border-radius: 8px; flex: none; }
@media (max-width: 860px) {
  .services-hero { flex-direction: column; gap: 24px; }
  .services-photo { width: 100%; max-width: 360px; height: 320px; }
  .about-hero .photo-ph { width: 100%; max-width: 320px; height: 380px; }
}


/* about page doodle rotator (15 photos, 6s each) */
.photo-rotate15 { position: relative; overflow: hidden; border-radius: 8px; background: var(--line); }
.photo-rotate15 img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; opacity: 0;
  animation: rotate15 90s ease-in-out infinite;
}
@keyframes rotate15 {
  0% { opacity: 1; }
  5.556% { opacity: 1; }
  6.667% { opacity: 0; }
  98.889% { opacity: 0; }
  100% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .photo-rotate15 img { animation: none; opacity: 0; }
  .photo-rotate15 img:first-child { opacity: 1; }
}

/* About page: handwritten-style opening quote + signature */
.script-quote { font-family: 'Allura', 'Brush Script MT', cursive; font-style: normal; font-size: 32px; line-height: 1.45; }
.script-sign, .about-hero p.script-sign { font-family: 'Allura', 'Brush Script MT', cursive; font-weight: 400; font-size: 34px; color: #e07a5f; margin-top: 14px; }
@media (max-width: 700px) { .script-quote { font-size: 27px; } .script-sign, .about-hero p.script-sign { font-size: 29px; } }

/* Gallery: "more coming soon" line */
.coming-soon-note { text-align: center; margin: 36px auto 0; font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-size: 20px; color: var(--mute); }
.callout-highlight p + p { margin-top: 10px; }
