/* ==========================================================================
   /life-at-ais/diwali-celebration-2022 — AISHTMLNEWDESIGN-596
   visual direction: "CONTACT SHEET"

   The page is a photographer's contact sheet, not a marketing page: the record
   carries one heading and fifteen frames and not a single sentence of prose.
   So the design does the one honest thing available to it — present the frames
   well. Warm paper ground, a single ink accent, generous gutters, and frames
   that sit in a steady grid the way prints sit on a proof sheet. Nothing
   decorative competes with the photographs, because the photographs are the
   entire content.

   Every selector is scoped to #page-life-at-ais-diwali-celebration-2022 or a .ladc-
   prefixed class. The document reset (html,body{margin:0}) is owned by the
   shared layout sheet — deliberately not restated here.
   ========================================================================== */

#page-life-at-ais-diwali-celebration-2022{
  --ladc-paper:#f6f4f0;      /* warm proof-sheet ground */
  --ladc-ink:#161512;        /* near-black, the frame border and headings */
  --ladc-ink-2:#3d3a34;      /* body/secondary — 9.1:1 on paper, AA at any size */
  --ladc-accent:#9a3412;     /* single ink accent, warm oxide */
  --ladc-line:#ddd8cf;
  --ladc-white:#fffefb;

  font-family:"Inter",system-ui,sans-serif;
  font-size:16px;
  line-height:1.6;
  color:var(--ladc-ink-2);
  background:var(--ladc-paper);
}

#page-life-at-ais-diwali-celebration-2022 .ladc-wrap{
  width:min(1200px,100% - 48px);
  margin-inline:auto;
}
@media (max-width:560px){
  #page-life-at-ais-diwali-celebration-2022 .ladc-wrap{width:min(1200px,100% - 32px);}
}

/* ── MASTHEAD ─────────────────────────────────────────────────────────────
   Rule 24: full-bleed, image-free, static. A flat ink band with a hairline
   rule under it; the content column stays inside the readable cap.         */
#page-life-at-ais-diwali-celebration-2022 .ladc-hero{
  width:100%;
  background:var(--ladc-ink);
  border-bottom:1px solid var(--ladc-ink);
  padding:clamp(40px,6vw,84px) 0 clamp(36px,5vw,68px);
}
#page-life-at-ais-diwali-celebration-2022 .ladc-hero__inner{
  max-width:900px;
  margin-inline:auto;
  text-align:center;
}
#page-life-at-ais-diwali-celebration-2022 .ladc-crumb{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap:10px;
  font-size:16px;
  letter-spacing:.02em;
  color:#cfc9be;                 /* 8.4:1 on the ink band */
  margin-bottom:clamp(16px,2.2vw,26px);
}
#page-life-at-ais-diwali-celebration-2022 .ladc-crumb a{
  color:var(--ladc-white);
  border-bottom:1px solid rgba(255,255,255,.35);
  padding-bottom:1px;
  transition:border-color .15s ease;
}
#page-life-at-ais-diwali-celebration-2022 .ladc-crumb a:hover,
#page-life-at-ais-diwali-celebration-2022 .ladc-crumb a:focus-visible{border-bottom-color:var(--ladc-white);}
#page-life-at-ais-diwali-celebration-2022 .ladc-crumb__sep{color:#8d867a;}

#page-life-at-ais-diwali-celebration-2022 .ladc-hero h1{
  margin:0;
  font-size:clamp(40px,5.4vw,68px);
  line-height:1.04;
  letter-spacing:-.022em;
  font-weight:800;
  color:var(--ladc-white);
}

/* ── CONTACT SHEET ────────────────────────────────────────────────────────
   Masonry, every frame at its own aspect ratio.

   This started as uniform 3:2 cells with object-fit:cover, which kept the grid
   tidy and cropped the photographs to do it — a 1703x2560 portrait forced into
   a 3:2 box loses ~60% of its height, and these are pictures of people standing
   up, so what it removed was their heads. Two of the twelve galleries are
   majority portrait, so it was not a rare edge. Reported from staging.

   Neither crop nor letterbox: both "fit" a photo by damaging it. Multi-column
   packs the varying heights tightly instead, so the sheet still reads as a
   contact sheet. The real width/height attributes on each <img> plus height:auto
   let the browser derive the true aspect before the bytes arrive, so dropping
   the fixed box costs no layout stability (rule 31a).                        */
#page-life-at-ais-diwali-celebration-2022 .ladc-gal{
  padding:clamp(44px,6vw,86px) 0 clamp(24px,3vw,40px);
}
#page-life-at-ais-diwali-celebration-2022 .ladc-grid{
  list-style:none;
  margin:0;
  padding:0;
  /* Masonry. Every frame keeps its own aspect ratio — a fixed cell with
     object-fit:cover cropped the portraits through the subjects' heads. */
  columns:300px;
  column-gap:clamp(14px,1.6vw,22px);
}
#page-life-at-ais-diwali-celebration-2022 .ladc-cell{
  margin:0 0 clamp(14px,1.6vw,22px);
  break-inside:avoid;
  -webkit-column-break-inside:avoid;
}

#page-life-at-ais-diwali-celebration-2022 .ladc-tile{
  display:block;
  width:100%;
  padding:0;
  margin:0;
  border:1px solid var(--ladc-line);
  border-radius:2px;
  background:var(--ladc-white);
  cursor:zoom-in;
  overflow:hidden;
  position:relative;
  transition:border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
#page-life-at-ais-diwali-celebration-2022 .ladc-tile picture{display:block;width:100%;}
#page-life-at-ais-diwali-celebration-2022 .ladc-tile img{
  display:block;
  width:100%;
  height:auto;            /* natural aspect — never cropped, never letterboxed */
  transition:transform .28s ease;
}
#page-life-at-ais-diwali-celebration-2022 .ladc-tile:hover{
  border-color:var(--ladc-ink);
  transform:translateY(-2px);
  box-shadow:0 10px 26px rgba(22,21,18,.16);
}
#page-life-at-ais-diwali-celebration-2022 .ladc-tile:hover img{transform:scale(1.03);}
#page-life-at-ais-diwali-celebration-2022 .ladc-tile:focus-visible{
  outline:3px solid var(--ladc-accent);
  outline-offset:3px;
  border-color:var(--ladc-ink);
}
#page-life-at-ais-diwali-celebration-2022 .ladc-tile:active{transform:translateY(0);}

/* One or two frames must not stretch to fill a 1200px row — and with
   only one item, multi-column would strand it in a narrow first column. */
@media (min-width:900px){
  #page-life-at-ais-diwali-celebration-2022 .ladc-grid:has(> :last-child:nth-child(-n+2)){
    columns:auto;
    display:flex;
    justify-content:center;
    gap:clamp(14px,1.6vw,22px);
  }
  #page-life-at-ais-diwali-celebration-2022 .ladc-grid:has(> :last-child:nth-child(1)) .ladc-cell{max-width:560px;}
  #page-life-at-ais-diwali-celebration-2022 .ladc-grid:has(> :last-child:nth-child(2)) .ladc-cell{max-width:460px;flex:1 1 0;}
  #page-life-at-ais-diwali-celebration-2022 .ladc-grid:has(> :last-child:nth-child(-n+2)) .ladc-cell{margin-bottom:0;}
}

/* ── BACK ─────────────────────────────────────────────────────────────────
   The record's only body action. Deliberately NOT class-named btn/cta: it is
   navigation back to the event list, not a conversion.                      */
#page-life-at-ais-diwali-celebration-2022 .ladc-back{
  padding:clamp(20px,3vw,34px) 0 clamp(48px,6vw,84px);
  text-align:center;
}
#page-life-at-ais-diwali-celebration-2022 .ladc-back__act{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 30px;
  border:1px solid var(--ladc-ink);
  border-radius:2px;
  background:var(--ladc-ink);
  color:var(--ladc-white);
  font-size:16px;
  font-weight:650;
  letter-spacing:.01em;
  transition:background-color .16s ease, color .16s ease;
}
#page-life-at-ais-diwali-celebration-2022 .ladc-back__act:hover{
  background:var(--ladc-accent);
  border-color:var(--ladc-accent);
  color:var(--ladc-white);
}
#page-life-at-ais-diwali-celebration-2022 .ladc-back__act:focus-visible{
  outline:3px solid var(--ladc-accent);
  outline-offset:3px;
}

/* ── AREA WE SERVE ────────────────────────────────────────────────────────── */
#page-life-at-ais-diwali-celebration-2022 .ladc-area{
  background:var(--ladc-white);
  border-top:1px solid var(--ladc-line);
  padding:clamp(48px,6vw,86px) 0;
}
#page-life-at-ais-diwali-celebration-2022 .ladc-area h2{
  margin:0 0 clamp(26px,3.4vw,44px);
  font-size:clamp(30px,3.6vw,44px);
  line-height:1.12;
  letter-spacing:-.018em;
  font-weight:800;
  color:var(--ladc-ink);
  text-align:center;
}
#page-life-at-ais-diwali-celebration-2022 .ladc-area__grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:clamp(22px,2.6vw,36px);
}
#page-life-at-ais-diwali-celebration-2022 .ladc-area__cell{
  padding-top:18px;
  border-top:3px solid var(--ladc-ink);
}
#page-life-at-ais-diwali-celebration-2022 .ladc-area__cell h3{
  margin:0 0 10px;
  font-size:18px;
  font-weight:750;
  letter-spacing:.07em;
  text-transform:uppercase;
  color:var(--ladc-ink);
}
#page-life-at-ais-diwali-celebration-2022 .ladc-area p{margin:0 0 8px;font-size:16px;}
#page-life-at-ais-diwali-celebration-2022 .ladc-area p.ladc-area__tel a{
  color:var(--ladc-accent);
  font-weight:650;
  border-bottom:1px solid transparent;
}
#page-life-at-ais-diwali-celebration-2022 .ladc-area p.ladc-area__tel a:hover,
#page-life-at-ais-diwali-celebration-2022 .ladc-area p.ladc-area__tel a:focus-visible{
  border-bottom-color:var(--ladc-accent);
}
#page-life-at-ais-diwali-celebration-2022 .ladc-area p.ladc-area__addr{color:var(--ladc-ink-2);line-height:1.65;}

/* ── LIGHTBOX ─────────────────────────────────────────────────────────────
   Opens only on click (rule 26). No transition on opacity that runs by
   itself; the fade is the finite response to the open.                     */
#page-life-at-ais-diwali-celebration-2022 .ladc-lb{
  display:none;
  position:fixed;
  inset:0;
  z-index:9999;
  background:rgba(12,11,9,.94);
  padding:clamp(48px,7vw,72px) clamp(56px,8vw,96px);
  align-items:center;
  justify-content:center;
}
#page-life-at-ais-diwali-celebration-2022 .ladc-lb.is-open{display:flex;}
#page-life-at-ais-diwali-celebration-2022 .ladc-lb__fig{
  margin:0;
  max-width:100%;
  max-height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
}
#page-life-at-ais-diwali-celebration-2022 .ladc-lb__fig img{
  display:block;
  max-width:100%;
  max-height:80vh;
  width:auto;
  height:auto;
  border-radius:2px;
  background:#1c1a17;
}
#page-life-at-ais-diwali-celebration-2022 .ladc-lb__x,
#page-life-at-ais-diwali-celebration-2022 .ladc-lb__nav{
  position:absolute;
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:48px;
  min-height:48px;
  padding:0;
  border:1px solid rgba(255,255,255,.28);
  border-radius:2px;
  background:rgba(255,255,255,.06);
  color:#fffefb;
  font-size:30px;
  line-height:1;
  cursor:pointer;
  transition:background-color .16s ease, border-color .16s ease;
}
#page-life-at-ais-diwali-celebration-2022 .ladc-lb__x:hover,
#page-life-at-ais-diwali-celebration-2022 .ladc-lb__nav:hover{
  background:rgba(255,255,255,.16);
  border-color:#fffefb;
}
#page-life-at-ais-diwali-celebration-2022 .ladc-lb__x:focus-visible,
#page-life-at-ais-diwali-celebration-2022 .ladc-lb__nav:focus-visible{
  outline:3px solid #fb923c;
  outline-offset:2px;
}
#page-life-at-ais-diwali-celebration-2022 .ladc-lb__x{top:16px;right:16px;font-size:26px;}
#page-life-at-ais-diwali-celebration-2022 .ladc-lb__nav--prev{left:12px;top:50%;transform:translateY(-50%);}
#page-life-at-ais-diwali-celebration-2022 .ladc-lb__nav--next{right:12px;top:50%;transform:translateY(-50%);}
#page-life-at-ais-diwali-celebration-2022 .ladc-lb__count{
  position:absolute;
  left:0;
  right:0;
  bottom:18px;
  margin:0;
  text-align:center;
  font-size:16px;
  color:#e8e3d9;              /* 11.7:1 on the overlay */
  letter-spacing:.04em;
}
@media (max-width:560px){
  #page-life-at-ais-diwali-celebration-2022 .ladc-lb{padding:64px 12px;}
  #page-life-at-ais-diwali-celebration-2022 .ladc-lb__nav--prev{left:6px;}
  #page-life-at-ais-diwali-celebration-2022 .ladc-lb__nav--next{right:6px;}
  #page-life-at-ais-diwali-celebration-2022 .ladc-lb__fig img{max-height:70vh;}
}

@media (prefers-reduced-motion:reduce){
  #page-life-at-ais-diwali-celebration-2022 *,
  #page-life-at-ais-diwali-celebration-2022 *::before,
  #page-life-at-ais-diwali-celebration-2022 *::after{
    animation:none !important;
    transition-duration:.01ms !important;
  }
}

/* The source breadcrumb opens with a 14x14 back-arrow inside the Home link. */
#page-life-at-ais-diwali-celebration-2022 .ladc-crumb__home{
  display:inline-flex;
  align-items:center;
  gap:7px;
}
#page-life-at-ais-diwali-celebration-2022 .ladc-crumb__home img{
  width:14px;
  height:14px;
  display:block;
  /* the asset is dark ink and the masthead band is near-black */
  filter:invert(1) brightness(1.7);
}

/* The breadcrumb band and the masthead paint the same ink and meet with no
   seam, so the two sections read as a single masthead. They are separate
   sections only because rule 24 keeps <img> out of the hero. */
#page-life-at-ais-diwali-celebration-2022 .ladc-crumbbar{
  width:100%;
  background:var(--ladc-ink);
  padding:clamp(28px,4vw,52px) 0 0;
}
#page-life-at-ais-diwali-celebration-2022 .ladc-crumbbar .ladc-crumb{margin-bottom:0;}
#page-life-at-ais-diwali-celebration-2022 .ladc-hero{
  padding-top:clamp(16px,2.2vw,26px);
}
