/* AAYU editable pages and storytelling layout. Scoped so existing intro/sidebar stay untouched. */
:root{--aayu-wine:#861f41;--aayu-deep:#431221;--aayu-gold:#f2c94c}
.aayu-admin-link{font-weight:700!important;color:var(--aayu-wine)!important}
.aayu-admin-active{border:1px solid var(--aayu-wine);padding:8px 12px!important;border-radius:24px}
.aayu-home-main{position:relative;isolation:isolate}
.aayu-bg-stage{position:fixed;z-index:-1;top:88px;left:220px;right:0;bottom:0;overflow:hidden;background:linear-gradient(130deg,#b47880,#f1dbc2);pointer-events:none}
.aayu-bg-img{position:absolute;inset:0;background-position:center;background-size:cover;opacity:0;transition:opacity 1.25s ease}
.aayu-bg-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(40,8,21,.33),rgba(40,8,21,.08))}
.aayu-story-section{min-height:calc(100svh - 88px);padding:clamp(32px,5vw,80px);display:flex;align-items:center;position:relative;scroll-margin-top:88px}
.aayu-story-section:nth-child(even){justify-content:flex-end}
.aayu-story-sheet{width:min(760px,90%);padding:clamp(30px,5vw,74px);background:rgba(255,253,249,.94);border:1px solid rgba(255,255,255,.75);border-radius:12px;box-shadow:0 25px 65px rgba(29,8,18,.2);backdrop-filter:blur(13px)}
.aayu-story-label{font-weight:700;font-size:12px;letter-spacing:.18em;color:var(--aayu-wine);text-transform:uppercase}
.aayu-story-sheet h1{font:500 clamp(40px,5vw,74px)/1.08 Georgia,serif;color:var(--aayu-deep);margin:13px 0 12px}
.aayu-story-subtitle{font:italic 22px/1.45 Georgia,serif;color:var(--aayu-wine)}
.aayu-story-body{font-size:17px;line-height:1.8;color:#34242a}
.aayu-story-body li{margin-bottom:.65em}.aayu-story-body a{color:var(--aayu-wine);font-weight:700;text-decoration:underline}
.aayu-standard-hero{padding:100px clamp(26px,8vw,110px);background:#f8edf0;color:var(--aayu-deep)}
.aayu-standard-hero h1,.aayu-prose-top h1{font:500 clamp(45px,6vw,80px)/1.1 Georgia,serif;margin:0 0 24px;color:var(--aayu-deep)}
.aayu-standard-body{margin:auto;max-width:960px;padding:65px 30px 110px;font-size:18px;line-height:1.8}
.aayu-contact-list{padding:55px clamp(25px,6vw,100px) 110px}.aayu-contact-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(255px,1fr));gap:25px}
.aayu-contact-person{padding:28px;background:#fff;border:1px solid #ead7dc;border-radius:20px;box-shadow:0 10px 35px rgba(75,17,37,.08)}
.aayu-contact-person img,.aayu-photo-placeholder{width:144px;height:164px;border-radius:48% 48% 42% 42%;object-fit:cover;margin:0 auto 20px;border:4px solid var(--aayu-gold)}
.aayu-photo-placeholder{display:grid;place-items:center;color:var(--aayu-wine);background:#fbeef1;font:42px Georgia,serif}
.aayu-contact-person h2{text-align:center;font:500 25px Georgia,serif;color:var(--aayu-deep);margin:8px 0}
.aayu-contact-person>p{text-align:center;color:#77616a;margin:0 0 18px}
.aayu-contact-links{display:flex;justify-content:center;gap:9px;flex-wrap:wrap;align-items:center}
.aayu-contact-links a,.aayu-contact-links button{border:1px solid #d5b7c1;border-radius:24px;padding:7px 12px;color:var(--aayu-wine);background:#fff;cursor:pointer;font-size:13px}
.aayu-empty{color:#70515d}
/* Admin editor */
.aayu-editing .site-content{background:#f6f0ef}
.aayu-editor-page{max-width:1440px;padding:28px clamp(20px,4vw,64px) 80px;margin:auto}
.aayu-editor-head h1{font:500 clamp(30px,4vw,46px) Georgia,serif;color:var(--aayu-deep);margin:12px 0}
.aayu-editor-head p{margin:0 0 24px;color:#65505a}
.aayu-toolbar{position:sticky;top:88px;z-index:11;background:#fff;box-shadow:0 9px 22px rgba(0,0,0,.07);border:1px solid #ead4dc;padding:12px;border-radius:12px;margin:0 0 28px}
.aayu-format-tools,.aayu-editor-actions{display:flex;gap:7px;flex-wrap:wrap;align-items:center}.aayu-editor-actions{margin-top:10px}
.aayu-format-tools button,.aayu-toolbar select,.aayu-toolbar input[type=color]{cursor:pointer;background:#fff;border:1px solid #d7c7ce;border-radius:7px;padding:7px 10px;min-height:36px;color:var(--aayu-deep)}
.aayu-format-tools button:hover,.aayu-contact-links button:hover{background:#f7e7ec}
.aayu-color{display:flex;align-items:center;gap:4px;font-size:13px}.aayu-color input{padding:2px!important;width:37px!important}
.aayu-action,.aayu-action-secondary{border:0;border-radius:7px;min-height:36px;padding:8px 16px;font-weight:700;cursor:pointer}
.aayu-action{background:var(--aayu-wine);color:white}.aayu-action-secondary{background:#f0e6e9;color:var(--aayu-deep)}
#aayuStatus{font-size:12px;color:#285c40;flex:1}.is-error{color:#ad2946!important}
.aayu-edit-pages{display:grid;gap:28px}
.aayu-edit-page{padding:clamp(22px,4vw,55px);background:white;border:1px solid #e6d2da;box-shadow:0 14px 45px rgba(60,12,30,.07);border-radius:10px;min-height:390px}
.aayu-edit-page-label{color:var(--aayu-wine);letter-spacing:.14em;font-size:12px;text-transform:uppercase;margin-bottom:15px;font-weight:bold}
.aayu-edit-page input,.aayu-person-form input,.aayu-person-form select{display:block;width:100%;padding:12px;border:1px solid #dac8d0;border-radius:7px;background:#fff;font:inherit;color:var(--aayu-deep)}
.aayu-section-title{font:500 40px Georgia,serif!important;border:0!important;border-bottom:1px solid #ebdfe3!important;border-radius:0!important}
.aayu-section-subtitle{border:0!important;color:var(--aayu-wine)!important;font:italic 20px Georgia,serif!important}
.aayu-editable{padding:18px 16px;border:1px dashed #cfb9c3;border-radius:8px;margin:22px 0;min-height:170px;outline:none;font-size:17px;line-height:1.75;color:#34242a;overflow-wrap:anywhere}
.aayu-editable:focus{border-color:var(--aayu-wine);box-shadow:0 0 0 2px #f6e7eb}
.aayu-edit-page small{color:#755f68}.aayu-edit-page label{display:block;font-weight:700}
.aayu-contact-editor{margin-top:30px}.aayu-contact-editor-heading{display:flex;justify-content:space-between;gap:16px;align-items:center}
.aayu-person-form{background:white;border:1px solid #e6d2da;border-radius:12px;padding:20px;margin:18px 0}
.aayu-person-form-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}
.aayu-remove{background:#fff0f2;color:#961e3b;border:0;padding:7px 12px;cursor:pointer;border-radius:6px}
.aayu-person-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(225px,1fr));gap:13px}
.aayu-person-fields label{font-size:13px;color:#51313d;font-weight:600}
.aayu-login-dialog{border:0;border-radius:18px;width:min(440px,94vw);padding:0;box-shadow:0 20px 70px #25111f66}
.aayu-login-dialog::backdrop{background:#160d14a8}
.aayu-login-form{padding:32px;display:grid;gap:14px}.aayu-login-form h2{font:500 32px Georgia,serif;margin:0}.aayu-login-form p{color:#6e5a62;font-size:14px;margin:0}
.aayu-login-form label{display:grid;gap:6px;font-size:14px;font-weight:700}.aayu-login-form input{border:1px solid #d8c6cd;padding:10px;border-radius:7px;width:100%}
.aayu-dialog-close{justify-self:end;background:none;border:0;cursor:pointer;font-size:27px}#aayuLoginError{color:#a12b42}
@media(max-width:980px){.aayu-bg-stage{left:0;top:220px}.aayu-story-section{padding:25px}.aayu-story-sheet{width:min(690px,96%)}}
@media(max-width:680px){.aayu-bg-stage{top:0}.aayu-story-section{min-height:calc(100svh - 75px);padding:20px 12px}.aayu-story-sheet{width:100%;padding:30px 22px}.aayu-story-sheet h1{font-size:40px}.aayu-story-body{font-size:16px}.aayu-toolbar{top:76px}.aayu-editor-page{padding:18px 12px}.aayu-edit-page{padding:18px}.aayu-section-title{font-size:30px!important}}
@media(prefers-reduced-motion:reduce){.aayu-bg-img{transition:none}}


/* AAYU 2027: official logo on the existing navigation bar (not the intro). */
.site-header .aayu-logo-brand{display:flex;align-items:center;flex:0 1 auto;min-width:0;max-width:clamp(110px,18vw,210px);margin-right:20px}
.site-header .aayu-navbar-logo{display:block;width:100%;max-width:190px;height:66px;object-fit:contain;object-position:left center}
/* Home: pale-yellow fixed photographic canvas, card collage at the right. */
.aayu-home-main{position:relative;isolation:auto;background:transparent}
.aayu-bg-stage{z-index:0;background:linear-gradient(120deg,#f4e4ae 0%,#fff4ce 45%,#ead392 100%)}
.aayu-bg-img{background-size:cover;filter:saturate(.8);opacity:0}
.aayu-bg-shade{background:linear-gradient(90deg,rgba(253,245,211,.3),rgba(250,232,176,.6));}
.aayu-scroll-pages{position:relative;z-index:1;pointer-events:none}
.aayu-story-section,.aayu-story-section:nth-child(even){justify-content:flex-start;padding:clamp(12px,2vw,30px) clamp(10px,1.65vw,26px);pointer-events:none}
.aayu-story-sheet{pointer-events:auto;width:min(560px,51%);max-width:calc(100% - 12px);padding:clamp(26px,3.5vw,60px);background:rgba(255,253,246,.94);box-shadow:0 20px 65px rgba(96,68,28,.18)}
.aayu-story-sheet h1{font-size:clamp(38px,4.7vw,66px)}
.aayu-story-body{font-size:clamp(15px,1.38vw,17px)}
.aayu-photo-collage{position:absolute;top:0;right:0;width:48%;height:100%;display:block;overflow:hidden;pointer-events:none}
.aayu-swipe-card{position:absolute;left:8%;top:12%;width:80%;height:70%;padding:9px 9px 27px;background:#fff;box-shadow:0 24px 55px rgba(75,43,20,.25);border-radius:4px;transform-origin:center center;opacity:0;transition:transform .9s cubic-bezier(.2,.7,.25,1), opacity .9s ease;will-change:transform,opacity}
.aayu-swipe-card img{width:100%;height:100%;object-fit:contain;background:#fff;display:block}
.aayu-swipe-card.is-back{opacity:.88;transform:translate(17%,3%) rotate(9deg) scale(.88);z-index:1}
.aayu-swipe-card.is-middle{opacity:.95;transform:translate(-7%,5%) rotate(-7deg) scale(.94);z-index:2}
.aayu-swipe-card.is-front{opacity:1;transform:translate(0,0) rotate(2deg) scale(1);z-index:3}
.aayu-swipe-card.is-exiting{opacity:0;transform:translate(135%,-3%) rotate(16deg) scale(.97);z-index:4}
.aayu-photo-caption{position:absolute;bottom:3%;right:5%;color:#623b24;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;background:rgba(255,248,225,.75);padding:5px 10px;border-radius:30px}
@media(max-width:1100px) and (min-width:681px){.aayu-story-sheet{width:55%}.aayu-photo-collage{width:44%}.aayu-story-sheet h1{font-size:clamp(34px,4vw,56px)}.aayu-swipe-card{height:57%;top:20%}}
@media(max-width:680px){.site-header .aayu-navbar-logo{height:48px;max-width:120px}.site-header .aayu-logo-brand{max-width:120px;margin-right:7px}.aayu-bg-stage{background:linear-gradient(135deg,#f6e6b7,#fff4d3)}.aayu-story-section,.aayu-story-section:nth-child(even){display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;padding:18px 12px 30px;gap:12px;min-height:calc(100svh - 75px)}.aayu-story-sheet{width:100%;max-width:100%;padding:26px 20px}.aayu-photo-collage{position:relative;flex:1;min-height:300px;width:100%;right:auto;top:auto}.aayu-swipe-card{height:78%;top:8%;width:72%;left:12%}.aayu-photo-caption{bottom:0}}
@media(prefers-reduced-motion:reduce){.aayu-swipe-card{transition:none}}

/* The photo collage belongs to the viewport-fixed second layer, not a scrolling section. */
.aayu-bg-stage .aayu-photo-collage{z-index:2;position:absolute;right:0;top:0;width:48%;height:100%;pointer-events:none}
@media(max-width:1100px) and (min-width:681px){.aayu-bg-stage .aayu-photo-collage{width:44%}}
@media(max-width:680px){.aayu-bg-stage .aayu-photo-collage{position:absolute;top:auto;bottom:0;height:41%;width:100%;right:0;min-height:0;opacity:.5}.aayu-story-section{min-height:calc(100svh - 75px)}.aayu-story-sheet{position:relative;z-index:3}}


/* Navigation logo: use the real image, never a pseudo-element mask.
   Header begins after the fixed committee sidebar. */
.site-header { padding-left: clamp(12px, 1.65vw, 26px); }
.site-header .aayu-logo-brand {
  display: flex; align-items: center; justify-content: flex-start;
  flex: 0 0 auto; width: clamp(135px, 17vw, 215px);
  max-width: 215px; min-height: 65px; margin-right: auto;
  padding: 0; line-height: 1;
}
.site-header .aayu-logo-brand::before { content: none !important; display: none !important; }
.site-header .aayu-logo-brand .aayu-navbar-logo {
  display: block !important; visibility: visible !important; opacity: 1 !important;
  width: 100%; max-width: 205px; height: 65px;
  object-fit: contain; object-position: left center;
  /* Solid burgundy on a transparent logo; leaves image edges intact. */
  filter: brightness(0) saturate(100%) invert(16%) sepia(64%) saturate(1704%) hue-rotate(307deg) brightness(91%) contrast(96%);
}
@media (max-width:680px) {
  .site-header { padding-left: 20px; }
  .site-header .aayu-logo-brand { width: 116px; max-width: 116px; min-height: 48px; margin-right: auto; }
  .site-header .aayu-logo-brand .aayu-navbar-logo { height: 48px; max-width: 116px; }
}

/* AAYU Home — section-aware full-bleed photographic Layer 2, with scrolling Layer 1. */
body[data-page="home"] .aayu-home-main{position:relative;isolation:isolate;background:transparent;}
body[data-page="home"] .aayu-bg-stage{
  position:fixed;inset:88px 0 0 220px;z-index:0;
  overflow:hidden;pointer-events:none;
  background:#f7e9b9;
}
body[data-page="home"] .aayu-bg-img{
  position:absolute;inset:0;display:block;width:100%;height:100%;
  background-position:center center;background-size:cover;background-repeat:no-repeat;
  filter:none;transform:none;opacity:0;
  transition:opacity 1300ms ease;
}
body[data-page="home"] .aayu-bg-shade{
  position:absolute;inset:0;z-index:2;
  background:linear-gradient(90deg,rgba(25,11,17,.62),rgba(25,11,17,.38) 50%,rgba(25,11,17,.62));
}
body[data-page="home"] .aayu-scroll-pages{position:relative;z-index:1;pointer-events:none;}
body[data-page="home"] .aayu-story-section,
body[data-page="home"] .aayu-story-section:nth-child(even){
  display:flex;align-items:center;min-height:calc(100svh - 88px);
  padding:clamp(34px,5vw,84px) clamp(24px,5vw,90px);
  justify-content:flex-start;pointer-events:none;
}
body[data-page="home"] .aayu-story-section:nth-child(even){justify-content:flex-end;}
body[data-page="home"] .aayu-story-sheet{
  width:min(630px,64%);max-width:100%;padding:clamp(20px,3.5vw,52px);
  background:transparent!important;border:0!important;border-radius:0;
  box-shadow:none!important;backdrop-filter:none!important;
  pointer-events:auto;
  color:#fff;
}
body[data-page="home"] .aayu-story-sheet h1,
body[data-page="home"] .aayu-story-sheet .aayu-story-body,
body[data-page="home"] .aayu-story-sheet .aayu-story-body p,
body[data-page="home"] .aayu-story-sheet .aayu-story-subtitle,
body[data-page="home"] .aayu-story-sheet .aayu-story-label{color:#fff;}
body[data-page="home"] .aayu-story-sheet h1,
body[data-page="home"] .aayu-story-sheet .aayu-story-subtitle,
body[data-page="home"] .aayu-story-sheet .aayu-story-body{text-shadow:0 2px 15px rgba(0,0,0,.5);}
body[data-page="home"] .aayu-story-sheet .aayu-story-label{color:#ffe7a6;}
body[data-page="home"] .aayu-story-sheet a{color:#ffe5a1;text-decoration:underline;}
body[data-page="home"] .aayu-photo-collage{display:none!important;}
@media(max-width:980px){
 body[data-page="home"] .aayu-bg-stage{left:0;top:220px;}
 body[data-page="home"] .aayu-story-sheet{width:min(610px,75%);}
}
@media(max-width:767px){
 body[data-page="home"] .aayu-bg-stage{top:0;left:0;}
 body[data-page="home"] .aayu-story-section,
 body[data-page="home"] .aayu-story-section:nth-child(even){
   min-height:calc(100svh - 76px);padding:36px 18px;
   justify-content:flex-start;align-items:center;
 }
 body[data-page="home"] .aayu-story-section:nth-child(even){justify-content:flex-end;}
 body[data-page="home"] .aayu-story-sheet{width:100%;padding:18px;}
 body[data-page="home"] .aayu-bg-shade{background:rgba(22,10,15,.61);}
}
@media(prefers-reduced-motion:reduce){body[data-page="home"] .aayu-bg-img{transition:none!important;}}

/* Restricted admin navigation is hidden until successful approved sign-in. */
.aayu-admin-link[hidden]{display:none!important;}
.aayu-team-sign-in{font-size:12px;opacity:.72;text-decoration:underline;text-underline-offset:3px;margin-left:12px;}
.aayu-team-sign-in:hover,.aayu-team-sign-in:focus-visible{opacity:1;}

/* Private Google sign-in; no link appears on public pages. */
.aayu-google-signin{display:flex;align-items:center;justify-content:center;gap:14px;min-height:48px;padding:12px 18px;border:1px solid #d8c6cd;border-radius:8px;background:#fff;color:#39202b;font:600 15px 'DM Sans',sans-serif;cursor:pointer}
.aayu-google-signin:hover{background:#fbf3f6;border-color:#861f41}
.aayu-google-signin:disabled{opacity:.6;cursor:wait}
.aayu-google-signin span{font:bold 24px Arial,sans-serif;color:#4285f4}
.aayu-login-form #aayuLoginError:empty{display:none}


/* AAYU home: responsive full photographs with a soft background fill.
   Real <img> layers are used because the previous pseudo-element approach
   hid every photograph when its CSS image variable did not render. */
body[data-page="home"] .aayu-bg-img {
  background-image: none;
  background-color: #3d1b2a;
  overflow: hidden;
}
body[data-page="home"] .aayu-bg-img .aayu-bg-blur,
body[data-page="home"] .aayu-bg-img .aayu-bg-full {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  display: block;
  pointer-events: none;
}
body[data-page="home"] .aayu-bg-img .aayu-bg-blur {
  object-fit: cover;
  object-position: center center;
  filter: blur(16px) brightness(.7);
  transform: scale(1.06);
}
body[data-page="home"] .aayu-bg-img .aayu-bg-full {
  object-fit: contain;
  object-position: center center;
}
/* Preserve every pixel of the Contact Us portraits as well. */
.aayu-contact-person img {
  object-fit: contain;
  object-position: center;
  background: #f6e5cc;
}
@media (max-width: 767px) {
  body[data-page="home"] .aayu-bg-img .aayu-bg-blur {
    filter: blur(10px) brightness(.65);
  }
}


/* AAYU mobile: restore the ORIGINAL independent two-layer storytelling.
   Layer 2 = fixed, full-viewport photo crossfade (contain + softly blurred fill).
   Layer 1 = stable, scrolling text on top. No photo frame and no layout shifts. */
body[data-page="home"] .aayu-mobile-photo-frame,
body[data-page="home"] .aayu-mobile-story-photo { display: none !important; }

@media (max-width: 767px) {
  body[data-page="home"] .aayu-home-main { position: relative; isolation: isolate; }
  body[data-page="home"] .aayu-bg-stage {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
  }
  body[data-page="home"] .aayu-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transition: opacity 1300ms ease;
  }
  body[data-page="home"] .aayu-bg-img .aayu-bg-full {
    opacity: 1;
    object-fit: contain;
    object-position: center center;
  }
  body[data-page="home"] .aayu-bg-img .aayu-bg-blur {
    object-fit: cover;
    object-position: center;
    filter: blur(14px) brightness(.63);
    transform: scale(1.07);
  }
  body[data-page="home"] .aayu-bg-shade {
    background: rgba(22,10,15,.57);
  }
  body[data-page="home"] .aayu-scroll-pages {
    position: relative;
    z-index: 1;
  }
  body[data-page="home"] .aayu-story-section,
  body[data-page="home"] .aayu-story-section:nth-child(even) {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    min-height: calc(100svh - 76px);
    padding: 36px 18px;
  }
  body[data-page="home"] .aayu-story-sheet {
    width: 100%;
    max-width: 100%;
    padding: 18px;
    margin: 0;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }
}
