/* ============================================================
   Acts of Kindness NPC — Design tokens
   Palette (Oct 2026): taken from the logo — the heart's blue and
   the wordmark's purple. Light blue page, purple for every accent.
   ============================================================ */
:root{
  --bg:            #E4EFFB;   /* light blue page background (tint of the logo heart) */
  --bg-alt:        #D5E4F6;   /* slightly deeper blue panel */
  --header-bg:     rgba(228,239,251,0.92);
  --ink:           #172036;   /* near-black navy ink */
  --ink-soft:      #44506A;   /* secondary text */
  --primary:       #1F4270;   /* deep blue — headings, outlines, solid buttons */
  --blue:          #31629D;   /* the logo heart's blue — footer */
  --purple:        #59247F;   /* the logo wordmark's purple — donate, labels, accents */
  --purple-dark:   #431A61;   /* purple hover */
  --purple-light:  #A77DC5;   /* soft purple — dashed lines */
  --purple-tint:   #F3EBF9;   /* very light purple */
  --line:          #C0CFE3;   /* hairline / dividers */
  --card:          #FFFFFF;
  --radius:        14px;
  --shadow:        0 8px 30px rgba(31,66,112,0.09);
  --max:           1180px;

  /* hearts used as bullets and timeline markers */
  --heart:         url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2359247F' d='M12 20.6C12 20.6 3.2 15.1 3.2 8.9 3.2 6 5.4 3.9 8 3.9c1.7 0 3.1.9 4 2.3.9-1.4 2.3-2.3 4-2.3 2.6 0 4.8 2.1 4.8 5 0 6.2-8.8 11.7-8.8 11.7z'/%3E%3C/svg%3E");
  --heart-outline: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' stroke='%2359247F' stroke-width='2.2' stroke-linejoin='round' d='M12 20.6C12 20.6 3.2 15.1 3.2 8.9 3.2 6 5.4 3.9 8 3.9c1.7 0 3.1.9 4 2.3.9-1.4 2.3-2.3 4-2.3 2.6 0 4.8 2.1 4.8 5 0 6.2-8.8 11.7-8.8 11.7z'/%3E%3C/svg%3E");
}

@font-face{ /* fallback stack handled below, using Google Fonts import */ }

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; }
}

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

h1,h2,h3,h4{
  font-family:'Fraunces',Georgia,'Times New Roman',serif;
  color:var(--primary);
  font-weight:600;
  line-height:1.12;
  margin:0 0 0.5em;
  letter-spacing:-0.01em;
}
h1{ font-size:clamp(2.4rem,5vw,4rem); font-weight:500; font-optical-sizing:auto; }
h2{ font-size:clamp(1.7rem,3.4vw,2.5rem); }
h3{ font-size:1.3rem; }

p{ margin:0 0 1em; color:var(--ink-soft); }
a{ color:var(--primary); }
a:hover{ color:var(--purple); }
img{ max-width:100%; display:block; }

.container{ max-width:var(--max); margin:0 auto; padding:0 24px; }
.eyebrow{
  display:inline-block; text-transform:uppercase; letter-spacing:0.14em;
  font-size:0.75rem; font-weight:700; color:var(--purple);
  font-family:'Inter',sans-serif; margin-bottom:0.9em;
}
.section{ padding:5rem 0; }
.section--alt{ background:var(--bg-alt); }
.section-head{ max-width:680px; margin-bottom:2.6rem; }
.hairline{ border:none; border-top:1px solid var(--line); margin:0; }

/* Skip link */
.skip-link{
  position:absolute; left:-999px; top:0; background:var(--primary); color:#fff;
  padding:10px 16px; z-index:200; border-radius:0 0 8px 0;
}
.skip-link:focus{ left:0; }

/* ---------------- Header / Nav ---------------- */
.site-header{
  position:sticky; top:0; z-index:100;
  background:var(--header-bg);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
}
.nav{ display:flex; align-items:center; justify-content:space-between; padding:14px 24px; max-width:var(--max); margin:0 auto; }
.nav__brand{ display:flex; align-items:center; gap:12px; text-decoration:none; }
.nav__brand img{ height:42px; width:auto; }
.nav__brand span{ font-family:'Fraunces',serif; font-weight:600; color:var(--purple); font-size:1.1rem; }
.nav__links{ display:flex; gap:2rem; list-style:none; margin:0; padding:0; }
.nav__links a{ text-decoration:none; color:var(--ink); font-weight:600; font-size:0.95rem; position:relative; }
.nav__links a::after{
  content:''; position:absolute; left:0; bottom:-6px; width:0; height:2px; background:var(--purple);
  transition:width 0.25s ease;
}
.nav__links a:hover::after, .nav__links a:focus-visible::after{ width:100%; }
.nav__links a:hover{ color:var(--purple); }
.nav__cta{
  background:var(--purple); color:#fff !important; padding:10px 20px; border-radius:999px;
  font-weight:700; text-decoration:none; font-size:0.9rem; transition:background 0.2s ease;
}
.nav__cta:hover, .nav__cta:focus-visible{ background:var(--purple-dark); }
.nav__links a.nav__cta::after{ display:none; }
.nav__toggle{ display:none; background:none; border:none; cursor:pointer; padding:6px; }
.nav__toggle span{ display:block; width:26px; height:2px; background:var(--primary); margin:5px 0; }

@media (max-width:1080px){
  .nav__links{
    position:fixed; inset:64px 0 auto 0; background:var(--bg); flex-direction:column;
    padding:1.5rem 24px; gap:1.2rem; border-bottom:1px solid var(--line);
    transform:translateY(-120%); transition:transform 0.3s ease; box-shadow:var(--shadow);
  }
  .nav__links.is-open{ transform:translateY(0); }
  .nav__cta{ align-self:flex-start; }
  .nav__toggle{ display:block; }
}

/* ---------------- Hero ---------------- */
.hero{ padding:4.5rem 0 5rem; position:relative; overflow:hidden; }
.hero .container{ display:grid; grid-template-columns:1.1fr 0.9fr; gap:3rem; align-items:center; }
.hero__text .eyebrow{ color:var(--purple); }
.hero__lede{ font-size:1.15rem; max-width:46ch; }
.hero__actions{ display:flex; gap:1rem; flex-wrap:wrap; margin-top:1.6rem; }
.btn{
  display:inline-flex; align-items:center; gap:8px; padding:13px 26px; border-radius:999px;
  font-weight:700; text-decoration:none; font-size:0.95rem; border:2px solid transparent; cursor:pointer;
  transition:background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn--primary{ background:var(--purple); color:#fff; }
.btn--primary:hover{ background:var(--purple-dark); color:#fff; }
.btn--outline{ border-color:var(--primary); color:var(--primary); background:transparent; }
.btn--outline:hover{ background:var(--purple); border-color:var(--purple); color:#fff; }
.hero__figure{ position:relative; }
.hero__figure img{ border-radius:var(--radius); box-shadow:var(--shadow); }
.hero__figure .tag{
  position:absolute; bottom:-18px; left:-18px; background:var(--card); padding:14px 20px;
  border-radius:12px; box-shadow:var(--shadow); font-family:'Fraunces',serif; font-weight:600; color:var(--primary);
  font-size:0.95rem; max-width:220px;
}
@media (max-width:860px){
  .hero .container{ grid-template-columns:1fr; }
  .hero__figure{ order:-1; }
}

/* ---------------- Cards / grids ---------------- */
.grid{ display:grid; gap:1.8rem; }
.grid--3{ grid-template-columns:repeat(3,1fr); }
.grid--2{ grid-template-columns:repeat(2,1fr); }
@media (max-width:860px){ .grid--3, .grid--2{ grid-template-columns:1fr; } }

.card{
  background:var(--card); border-radius:var(--radius); padding:1.9rem; box-shadow:var(--shadow);
  border:1px solid rgba(31,66,112,0.06);
}
.card h3{ margin-bottom:0.5rem; }
.card--need .price{ font-family:'Fraunces',serif; color:var(--purple); font-size:1.3rem; font-weight:600; margin:0.3rem 0 0.6rem; }

/* ---------------- Journey / Kindness Village path (signature element) ---------------- */
.journey{ position:relative; padding-left:2.6rem; --journey-bg:var(--bg); }
.section--alt .journey{ --journey-bg:var(--bg-alt); }
.journey::before{
  content:''; position:absolute; left:9px; top:6px; bottom:6px; width:2px;
  background:repeating-linear-gradient(to bottom, var(--purple-light) 0 8px, transparent 8px 16px);
}
.journey__stage{ position:relative; padding-bottom:2.6rem; }
.journey__stage:last-child{ padding-bottom:0; }
.journey__stage::before{
  /* a heart on a small disc of page colour, so the dashed line stops at the heart */
  content:''; position:absolute; left:calc(-2.6rem - 4px); top:-1px; width:28px; height:28px; border-radius:50%;
  background:var(--journey-bg) var(--heart-outline) center / 24px 24px no-repeat;
}
.journey__stage.is-current::before{ background-image:var(--heart); }
.journey__stage h3{ margin-bottom:0.35rem; }

/* ---------------- Stats strip ---------------- */
.stats{ display:flex; flex-wrap:wrap; gap:2.5rem; margin-top:2rem; }
.stat b{ display:block; font-family:'Fraunces',serif; font-size:2.1rem; color:var(--purple); font-weight:600; }
.stat span{ color:var(--ink-soft); font-size:0.9rem; }

/* ---------------- Gallery ---------------- */
.gallery{ display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:12px; }
.gallery img{ width:100%; height:170px; object-fit:cover; border-radius:10px; box-shadow:var(--shadow); }

/* ---------------- Banking / Donate ---------------- */
.donate{ background:var(--purple); color:#fff; border-radius:var(--radius); padding:2.6rem; }
.donate h2, .donate .eyebrow{ color:#fff; }
.donate dl{ display:grid; grid-template-columns:auto 1fr; gap:0.5rem 1.2rem; margin:1.4rem 0; font-size:0.95rem; }
.donate dt{ color:#E4D4F3; font-weight:600; }
.donate dd{ margin:0; }

/* ---------------- Events / Newsletter ---------------- */
.event-card{ display:grid; grid-template-columns:220px 1fr; gap:1.6rem; align-items:center; }
.event-card img{ border-radius:12px; }
@media (max-width:700px){ .event-card{ grid-template-columns:1fr; } }

/* ---------------- Footer ---------------- */
.site-footer{ background:var(--blue); color:#E8EFF8; padding:3.2rem 0 2rem; }
.site-footer a{ color:#fff; }
.site-footer a:hover{ color:#EFE3FA; }
.footer-grid{ display:grid; grid-template-columns:2fr 1fr 1fr; gap:2.4rem; }
.footer-grid h4{ color:#fff; font-size:1rem; }
@media (max-width:700px){ .footer-grid{ grid-template-columns:1fr; } }
.footer-bottom{ margin-top:2.4rem; padding-top:1.4rem; border-top:1px solid rgba(255,255,255,0.22); font-size:0.85rem; display:flex; justify-content:space-between; flex-wrap:wrap; gap:0.6rem; }
.social-link{ display:inline-flex; align-items:center; gap:8px; }
.social-link svg{ width:20px; height:20px; fill:#fff; }

.visually-hidden{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden;
  clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

/* ============================================================
   2026 site update — components for the new page structure
   ============================================================ */

/* Nav now carries more items, so it is tighter; below 1080px it folds into the menu button */
.nav__links{ gap:1.3rem; flex-wrap:wrap; justify-content:flex-end; }
.nav__links a{ font-size:0.92rem; }
.nav__links a.is-active::after{ width:100%; }
.nav__links a:focus-visible,
a:focus-visible,
button:focus-visible{ outline:3px solid var(--purple); outline-offset:3px; border-radius:4px; }
@media (max-width:1080px){
  .nav__links{ flex-direction:column; justify-content:flex-start; gap:1.2rem; }
}

/* Hero photo is portrait, so crop it rather than let it tower */
.hero__figure img{ width:100%; aspect-ratio:4/5; object-fit:cover; }

/* Interior page headers */
.page-hero{ padding:3.6rem 0 2.8rem; background:var(--bg-alt); border-bottom:1px solid var(--line); }
.page-hero .container{ max-width:840px; }
.page-hero h1{ font-size:clamp(2rem,4vw,3.2rem); }
.lede{ font-size:1.12rem; color:var(--ink); max-width:62ch; margin-bottom:0; }

.section--tight{ padding:3rem 0; }
.prose{ max-width:68ch; }
.prose h3{ margin-top:1.9rem; }
.fineprint{ font-size:0.88rem; color:var(--ink-soft); }

/* Photo + text rows */
.media{ display:grid; grid-template-columns:0.82fr 1.18fr; gap:2.8rem; align-items:center; }
.media__figure{ margin:0; }
.media__figure img{ width:100%; aspect-ratio:4/5; object-fit:cover; border-radius:var(--radius); box-shadow:var(--shadow); }
.media__figure figcaption{ font-size:0.85rem; color:var(--ink-soft); margin-top:0.7rem; }
.media--flip .media__figure{ order:2; }
@media (max-width:860px){
  .media{ grid-template-columns:1fr; gap:1.8rem; }
  .media--flip .media__figure{ order:0; }
  .media__figure img{ aspect-ratio:1/1; }
}

/* The litany of people who help — one line each, not a card grid */
.kindness{ list-style:none; margin:0; padding:0; max-width:48ch; }
.kindness li{
  position:relative; padding:0.6rem 0 0.6rem 1.9rem;
  border-bottom:1px dashed var(--line); color:var(--ink); font-size:1.02rem;
}
.kindness li:last-child{ border-bottom:none; }
.kindness li::before{
  content:''; position:absolute; left:0; top:0.98rem;
  width:15px; height:15px; background:var(--heart) center / contain no-repeat;
}

/* Checklists */
.ticks{ list-style:none; margin:0 0 1.1rem; padding:0; }
.ticks li{ position:relative; padding:0.28rem 0 0.28rem 2rem; color:var(--ink-soft); }
.ticks li::before{
  /* the Acts of Kindness heart-in-hand mark */
  content:''; position:absolute; left:0; top:0.5rem; width:21px; height:21px;
  background:url("../images/2/acts_of_kindness__logo_small-70.png") center / contain no-repeat;
}

/* Short tag-like items */
.pills{ display:flex; flex-wrap:wrap; gap:0.6rem; list-style:none; padding:0; margin:0 0 1.2rem; }
.pills li{
  background:var(--card); border:1px solid var(--line); border-radius:999px;
  padding:8px 17px; font-size:0.92rem; font-weight:600; color:var(--primary);
}

/* Pull statements taken from the copy */
.statement{
  border-left:3px solid var(--purple); padding-left:1.6rem; margin:2.2rem 0;
  font-family:'Fraunces',Georgia,serif; font-size:clamp(1.28rem,2.3vw,1.7rem);
  line-height:1.35; color:var(--primary); max-width:36ch;
}

/* Impact numbers */
.numbers{ display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:1.6rem; }
.number{
  background:var(--card); border-radius:var(--radius); padding:1.8rem;
  border:1px solid rgba(31,66,112,0.06); box-shadow:var(--shadow);
}
.number b{
  display:block; font-family:'Fraunces',Georgia,serif; font-size:2.7rem; line-height:1;
  color:var(--purple); font-weight:600; margin-bottom:0.45rem;
}
.number span{ color:var(--ink-soft); font-size:0.95rem; }

/* Side notes */
.note{
  background:var(--card); border-left:3px solid var(--purple); border-radius:0 10px 10px 0;
  padding:1.3rem 1.5rem; box-shadow:var(--shadow);
}
.note p:last-child{ margin-bottom:0; }

/* Captioned photo grid */
.photo-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:1.3rem; }
.photo-grid figure{ margin:0; }
.photo-grid img{ width:100%; aspect-ratio:3/4; object-fit:cover; border-radius:10px; box-shadow:var(--shadow); }
.photo-grid figcaption{ font-size:0.86rem; color:var(--ink-soft); margin-top:0.55rem; }

/* Closing call to action */
.cta-band{ background:var(--purple); color:#fff; border-radius:var(--radius); padding:2.8rem; }
.cta-band h2{ color:#fff; }
.cta-band p{ color:#EEE4F8; max-width:54ch; }
.cta-band .btn--primary{ background:#fff; color:var(--purple); }
.cta-band .btn--primary:hover{ background:var(--purple-tint); color:var(--purple-dark); }
.cta-band .btn--outline{ border-color:#fff; color:#fff; }
.cta-band .btn--outline:hover{ background:#fff; border-color:#fff; color:var(--purple); }

/* Donate panel tweaks */
.donate p{ color:#EEE4F8; }
.donate p:last-child{ margin-bottom:0; }

/* Gallery height is a little more generous now */
.gallery img{ height:210px; }

/* Cards: keep inline links legible */
.card a{ font-weight:600; }
.card--need .price small{ color:var(--ink-soft); font-weight:400; font-size:0.8em; }

/* Facebook link on light backgrounds */
.social-link--dark{ color:var(--primary); font-weight:600; text-decoration:none; }
.social-link--dark svg{ fill:currentColor; }
.social-link--dark:hover{ color:var(--purple); }

/* Footer with four columns */
.footer-grid--4{ grid-template-columns:1.5fr 1fr 1fr 1.2fr; }
.site-footer p{ color:#E2EAF5; }
@media (max-width:860px){ .footer-grid--4{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-grid--4{ grid-template-columns:1fr; } }

/* --- layout corrections --- */
/* Flipped rows need the wide column on the text side, not the photo side */
.media--flip{ grid-template-columns:1.18fr 0.82fr; }
@media (max-width:860px){ .media--flip{ grid-template-columns:1fr; } }
.media h3{ margin-top:1.7rem; }

/* Prose blocks stay flush left with every other section */
.container.prose{ max-width:var(--max); }
.container.prose > *{ max-width:68ch; }
.container.prose > .statement{ max-width:36ch; }

/* Hero stats sit in a row of three rather than wrapping awkwardly */
.stats{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.4rem; align-items:start; }
.stat b{ font-size:1.9rem; }
.stat span{ display:block; max-width:18ch; }
@media (max-width:520px){ .stats{ grid-template-columns:1fr 1fr; } }

/* A third button weight, so two identical purple pills never sit side by side */
.btn--solid{ background:var(--primary); color:#fff; }
.btn--solid:hover{ background:var(--purple); color:#fff; }

/* Gallery strip: six photos in two even rows of three (two per row on phones) */
.gallery{ grid-template-columns:repeat(3,1fr); }
.gallery img{ height:260px; }
@media (max-width:700px){ .gallery{ grid-template-columns:repeat(2,1fr); } .gallery img{ height:180px; } }

/* Caption box stays inside the viewport on small screens */
@media (max-width:520px){
  .hero__figure .tag{ left:0; bottom:-12px; max-width:78%; }
}

/* ============================================================
   October 2026 update — events and news components
   ============================================================ */

/* Past events: a purple date block instead of a photo */
.event-card--past{ grid-template-columns:150px 1fr; align-items:start; }
.event-card h3{ margin-bottom:0.3rem; }
.event-date{
  margin:0; aspect-ratio:1/1; border-radius:12px; background:var(--purple); color:#fff;
  display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center;
}
.event-date b{ font-family:'Fraunces',Georgia,serif; font-size:3.4rem; font-weight:600; line-height:1; }
.event-date span{ margin-top:0.45rem; font-size:0.78rem; font-weight:700; letter-spacing:0.14em; text-transform:uppercase; color:#EEE4F8; }
.event-meta{ font-weight:600; color:var(--primary); margin-bottom:0.7rem; }
.event-card .fineprint{ margin-bottom:0; }
@media (max-width:700px){
  .event-card--past{ grid-template-columns:1fr; gap:1.1rem; }
  .event-date{ aspect-ratio:auto; width:max-content; flex-direction:row; gap:0.7rem; padding:0.75rem 1.2rem; }
  .event-date b{ font-size:2rem; }
  .event-date span{ margin-top:0; }
}

/* News: press mentions */
.press{ display:grid; grid-template-columns:220px 1fr; gap:2rem; align-items:start; }
.press__source{
  margin:0; display:flex; flex-direction:column; gap:0.25rem; padding:1.3rem 1.2rem;
  background:var(--purple-tint); border:1px solid #E2D3F0; border-radius:12px;
}
.press__outlet{ font-family:'Fraunces',Georgia,serif; font-size:1.35rem; font-weight:600; line-height:1.15; color:var(--purple); margin-bottom:0.2rem; }
.press__source time, .press__source span:not(.press__outlet){ font-size:0.86rem; color:var(--ink-soft); }
@media (max-width:700px){ .press{ grid-template-columns:1fr; gap:1.2rem; } }

/* News: the latest newsletter, with its cover */
.card.newsletter{ padding:2.4rem; }
.newsletter{ display:grid; grid-template-columns:240px 1fr; gap:2.6rem; align-items:start; border-top:4px solid var(--purple); }
.newsletter h2{ margin-bottom:0.4em; }
.newsletter p:last-child{ margin-bottom:0; }
.newsletter .hero__actions{ margin:1.3rem 0 1rem; }
.newsletter__cover{
  display:block; border-radius:8px; overflow:hidden; box-shadow:0 10px 28px rgba(31,66,112,0.18);
  transform:rotate(-1.5deg); transition:transform 0.25s ease;
}
.newsletter__cover:hover{ transform:rotate(0deg) scale(1.02); }
.newsletter__cover img{ width:100%; height:auto; }
@media (max-width:860px){ .newsletter{ grid-template-columns:1fr; gap:1.6rem; } .card.newsletter{ padding:1.9rem; } .newsletter__cover{ max-width:220px; } }

/* Upcoming event with its poster */
.event-card--upcoming{ grid-template-columns:260px 1fr; align-items:start; gap:2.2rem; }
.event-poster{ display:block; border-radius:12px; overflow:hidden; box-shadow:var(--shadow); }
.event-card .event-poster img{ width:100%; height:auto; border-radius:0; transition:transform 0.3s ease; }
.event-poster:hover img{ transform:scale(1.02); }
.event-card--upcoming .eyebrow{ margin-bottom:0.5em; }
.event-title{ font-size:clamp(1.5rem,2.6vw,2rem); }
.event-card h4{ font-size:1.08rem; margin:1.4rem 0 0.35rem; }
.event-contacts{ display:grid; grid-template-columns:1fr 1fr; gap:1rem; margin:1.1rem 0 1.4rem; }
.event-contacts > div{ background:var(--purple-tint); border-radius:10px; padding:1rem 1.15rem; }
.event-contacts p{ margin-bottom:0; color:var(--ink); }
.event-contacts .event-contacts__label{
  margin-bottom:0.45rem; font-size:0.74rem; font-weight:700; letter-spacing:0.08em; text-transform:uppercase; color:var(--purple);
}
@media (max-width:860px){ .event-card--upcoming{ grid-template-columns:200px 1fr; gap:1.6rem; } }
@media (max-width:700px){
  .event-card--upcoming{ grid-template-columns:1fr; }
  .event-poster{ max-width:300px; }
  .event-contacts{ grid-template-columns:1fr; }
}

/* Event videos: one row of equal height (each video grows by its own shape) */
.event-videos{ grid-column:1 / -1; display:flex; gap:1rem; align-items:flex-start; margin-top:0.6rem; }
.event-video{ margin:0; flex:1.774 1 0; min-width:0; }
.event-video--portrait{ flex:0.5625 1 0; }
.event-video video{ display:block; width:100%; height:auto; border-radius:10px; background:#101a2e; box-shadow:var(--shadow); }
.event-video figcaption{ font-size:0.86rem; color:var(--ink-soft); margin-top:0.55rem; }
@media (max-width:700px){
  .event-videos{ flex-direction:column; gap:1.4rem; }
  .event-video, .event-video--portrait{ flex:none; width:100%; }
  .event-video--portrait{ max-width:280px; }
}

/* Keyboard focus keeps each control's own shape */
.btn:focus-visible, .nav__cta:focus-visible, .wa-float:focus-visible{ border-radius:999px; }
.contact-way:focus-visible{ border-radius:var(--radius); }

/* Get in touch page */
.contact-ways{ display:grid; grid-template-columns:repeat(2,1fr); gap:1.4rem; }
.contact-way{
  display:flex; align-items:flex-start; gap:1.1rem; text-decoration:none; color:var(--ink);
  transition:transform 0.2s ease, box-shadow 0.2s ease;
}
.contact-way:hover{ transform:translateY(-3px); box-shadow:0 14px 34px rgba(31,66,112,0.14); color:var(--ink); }
.contact-way__icon{
  flex:none; width:50px; height:50px; border-radius:50%; display:grid; place-items:center;
  background:var(--purple-tint); color:var(--purple);
}
.contact-way__icon svg, .contact-card__icon svg{ width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.contact-way__icon svg circle{ fill:currentColor; stroke:none; }
.contact-way__icon svg.is-filled{ fill:currentColor; stroke:none; }
.contact-way__text{ display:flex; flex-direction:column; gap:0.1rem; min-width:0; }
.contact-way__label{ font-size:0.74rem; font-weight:700; letter-spacing:0.14em; text-transform:uppercase; color:var(--purple); }
.contact-way__value{ font-family:'Fraunces',Georgia,serif; font-size:1.3rem; font-weight:600; line-height:1.25; color:var(--primary); overflow-wrap:anywhere; }
.contact-way:hover .contact-way__value{ color:var(--purple); }
.contact-way__note{ font-size:0.9rem; color:var(--ink-soft); margin-top:0.15rem; }
@media (max-width:640px){ .contact-ways{ grid-template-columns:1fr; } .contact-way__value{ font-size:1.15rem; } }

.contact-split{ display:grid; grid-template-columns:1.3fr 1fr; gap:2.6rem; align-items:start; }
@media (max-width:860px){ .contact-split{ grid-template-columns:1fr; } }
.who{ margin:0; }
.who > div{ padding:1rem 0; border-bottom:1px dashed var(--line); }
.who > div:last-child{ border-bottom:none; }
.who dt{ font-family:'Fraunces',Georgia,serif; font-weight:600; font-size:1.12rem; color:var(--primary); margin-bottom:0.25rem; }
.who dd{ margin:0; color:var(--ink-soft); }
.contact-card h3{ display:flex; align-items:center; gap:0.55rem; }
.contact-card h3:not(:first-child){ margin-top:1.6rem; }
.contact-card__icon{ color:var(--purple); display:inline-flex; }

/* Floating WhatsApp button (all pages) */
.wa-float{
  position:fixed; right:20px; bottom:calc(20px + env(safe-area-inset-bottom, 0px)); z-index:150;
  display:inline-flex; align-items:center; gap:10px; padding:13px 20px 13px 16px; border-radius:999px;
  background:#1A7F4B; color:#fff; font-weight:700; font-size:0.95rem; text-decoration:none;
  box-shadow:0 10px 26px rgba(16,40,28,0.28); transition:background 0.2s ease, transform 0.2s ease;
}
.wa-float:hover, .wa-float:focus-visible{ background:#146B3E; color:#fff; transform:translateY(-2px); }
.wa-float svg{ width:24px; height:24px; flex:none; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.wa-float svg circle{ fill:currentColor; stroke:none; }
@media (max-width:700px){
  .wa-float{ padding:15px; right:16px; bottom:calc(16px + env(safe-area-inset-bottom, 0px)); }
  .wa-float span{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
  .site-footer{ padding-bottom:6rem; }
}
@media print{ .wa-float{ display:none; } }

/* Phone numbers never break across lines */
a[href^="tel:"]{ white-space:nowrap; }
