/* ==========================================================================
   I LOVE FOTOS - Midnight Gold
   Homepage stylesheet. Tokens mirror the active Novamira design system.
   ========================================================================== */

@font-face{font-family:'DM Sans';font-style:normal;font-weight:100 900;font-display:swap;src:url(fonts/dmsans-400.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2122,U+2212,U+FEFF,U+FFFD}
@font-face{font-family:'Playfair Display';font-style:normal;font-weight:400 500;font-display:swap;src:url(fonts/playfair-400.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2122,U+2212,U+FEFF,U+FFFD}
@font-face{font-family:'Playfair Display';font-style:italic;font-weight:400 500;font-display:swap;src:url(fonts/playfair-400i.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2122,U+2212,U+FEFF,U+FFFD}

/* --- Tokens ------------------------------------------------------------- */
:root{
  --ilf-bg:#07080B;
  --ilf-surface:#16171B;
  --ilf-ink:#F7F2EE;
  --ilf-muted:#C9C1B8;
  --ilf-accent:#E9B95E;
  --ilf-accent-deep:#B08B53;
  --ilf-heart:#DF1F42;
  --ilf-display:'Playfair Display',Georgia,'Times New Roman',serif;
  --ilf-body:'DM Sans',Helvetica,Arial,sans-serif;
  --ilf-sm:10px; --ilf-md:22px; --ilf-lg:48px; --ilf-xl:clamp(76px,9vw,105px);
  --ilf-r-sm:12px; --ilf-r-md:18px; --ilf-r-lg:22px;
  --ilf-wrap:min(1190px,90%);
  --ilf-ease:cubic-bezier(.22,.61,.36,1);
}

/* --- Scoped reset. :where() keeps specificity at 0 so components win. ---- */
.ilf :where(h1,h2,h3,h4,p,ul,ol,li,figure,blockquote,dl,dd){margin:0;padding:0;border:0;list-style:none}
.ilf :where(a){color:inherit;text-decoration:none}
.ilf :where(img,svg,iframe){display:block;max-width:100%}
.ilf *,.ilf *::before,.ilf *::after{box-sizing:border-box}

/* --- The one continuous environment ------------------------------------- */
html.ilf-html{scroll-behavior:smooth;background:var(--ilf-bg)}
body.ilf-body{
  margin:0;
  color:var(--ilf-ink);
  font-family:var(--ilf-body);
  font-size:16px;
  line-height:1.85;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
  background:
    radial-gradient(ellipse 60% 45% at 90% 6%,rgba(50,32,24,.85),transparent 60%),
    radial-gradient(ellipse 50% 40% at 6% 48%,rgba(30,25,32,.9),transparent 62%),
    radial-gradient(ellipse 70% 40% at 80% 88%,rgba(42,30,20,.6),transparent 65%),
    linear-gradient(170deg,#050709 0%,#121316 47%,#07080B 100%);
  background-attachment:fixed;
}
@media (max-width:900px){body.ilf-body{background-attachment:scroll}}

.ilf-wrap{width:var(--ilf-wrap);margin-inline:auto}
.ilf-section{position:relative;padding-block:var(--ilf-xl)}

/* Section seam: a fading brass rule, never a hard colour cut */
.ilf-rule{height:1px;border:0;margin:0;background:linear-gradient(90deg,transparent,rgba(176,139,83,.42),transparent)}

/* --- Type --------------------------------------------------------------- */
.ilf h1,.ilf h2,.ilf h3{font-family:var(--ilf-display);font-weight:400;line-height:1.14;letter-spacing:-.01em}
.ilf h1{font-size:clamp(46px,6.2vw,93px);line-height:1.06}
.ilf h2{font-size:clamp(36px,4.6vw,69px)}
.ilf h3{font-size:clamp(24px,2.4vw,32px)}
.ilf .ilf-gold{color:var(--ilf-accent);font-style:italic;display:block;padding-bottom:.06em}
.ilf .ilf-eyebrow{font-size:11px;letter-spacing:4px;text-transform:uppercase;font-weight:700;color:var(--ilf-accent);margin-bottom:var(--ilf-md);line-height:1.6}
.ilf .ilf-copy{font-size:16.5px;line-height:1.85;color:#D7D0CB;max-width:34em}
.ilf .ilf-copy + .ilf-copy{margin-top:var(--ilf-md)}
.ilf .ilf-note{font-size:12.5px;color:#A79F97;line-height:1.7}

/* --- Buttons ------------------------------------------------------------ */
.ilf .ilf-btn{
  display:inline-flex;align-items:center;gap:10px;
  min-height:52px;padding:15px 26px;
  border-radius:var(--ilf-r-sm);
  font-family:var(--ilf-body);font-size:12px;font-weight:700;letter-spacing:.9px;text-transform:uppercase;
  border:1px solid var(--ilf-accent);background:transparent;color:var(--ilf-ink);
  cursor:pointer;white-space:nowrap;
  transition:transform .25s var(--ilf-ease),background-color .25s var(--ilf-ease),color .25s var(--ilf-ease);
}
.ilf .ilf-btn:hover,.ilf .ilf-btn:focus-visible{transform:translateY(-2px)}
.ilf .ilf-btn--primary{background:linear-gradient(110deg,#F9D888,#D9A349);color:#19130A;border-color:transparent}
.ilf .ilf-btn--ghost:hover{background:rgba(233,185,94,.1)}
.ilf .ilf-btn i{width:18px;height:1px;background:currentColor;position:relative;transition:width .4s var(--ilf-ease)}
.ilf .ilf-btn i::after{content:"";position:absolute;right:0;top:-3px;width:7px;height:7px;border-top:1px solid currentColor;border-right:1px solid currentColor;transform:rotate(45deg)}
.ilf .ilf-btn:hover i{width:30px}
.ilf a:focus-visible,.ilf button:focus-visible{outline:2px solid var(--ilf-accent);outline-offset:4px}

/* --- Wordmark ----------------------------------------------------------- */
.ilf-brand{display:inline-block;line-height:1}
.ilf-brand img{height:44px;width:auto}
.ilf-brand__sub{display:block;margin-top:7px;font-size:10px;letter-spacing:3.4px;text-transform:uppercase;color:var(--ilf-accent);font-weight:500}

/* --- Header ------------------------------------------------------------- */
.ilf-header{position:sticky;top:0;z-index:40;background:rgba(8,9,12,.82);backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px);border-bottom:1px solid rgba(255,255,255,.08)}
.ilf-header__inner{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:86px}
.ilf-nav{display:flex;align-items:center;gap:30px;flex-wrap:nowrap}
.ilf-nav a{font-size:13px;letter-spacing:.4px;color:var(--ilf-ink);position:relative;padding:6px 0;white-space:nowrap}
.ilf-nav a::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:var(--ilf-accent);transform:scaleX(0);transform-origin:right;transition:transform .45s var(--ilf-ease)}
.ilf-nav a:hover::after{transform:scaleX(1);transform-origin:left}
.ilf-burger{display:none;width:46px;height:46px;border:1px solid rgba(255,255,255,.22);border-radius:var(--ilf-r-sm);background:none;cursor:pointer;position:relative}
.ilf-burger span{position:absolute;left:12px;right:12px;height:1px;background:var(--ilf-ink);transition:transform .4s var(--ilf-ease),top .4s var(--ilf-ease)}
.ilf-burger span:nth-child(1){top:18px}
.ilf-burger span:nth-child(2){top:26px}
.ilf-header.is-open .ilf-burger span:nth-child(1){top:22px;transform:rotate(45deg)}
.ilf-header.is-open .ilf-burger span:nth-child(2){top:22px;transform:rotate(-45deg)}

/* --- Photography frames ------------------------------------------------- */
.ilf-frame{position:relative;border-radius:var(--ilf-r-lg);overflow:hidden;border:1px solid rgba(216,169,82,.3);box-shadow:0 28px 70px -30px rgba(10,6,2,.95);background:var(--ilf-surface)}
.ilf-frame::after{content:"";position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 90px rgba(7,8,11,.62);border-radius:inherit;z-index:2}
.ilf-frame img{width:100%;height:100%;object-fit:cover}
/* Declared local placeholder: on-palette gradient, labelled, zero extra requests */
.ilf-ph{position:relative;width:100%;height:100%;display:flex;align-items:flex-end;justify-content:center;
  background:
    radial-gradient(ellipse 55% 40% at 68% 24%,rgba(255,214,152,.5),transparent 68%),
    radial-gradient(ellipse 45% 38% at 18% 82%,rgba(210,176,112,.3),transparent 70%),
    linear-gradient(165deg,#3A2A1B,#110C08);
}
.ilf-ph::before{content:"";position:absolute;inset:0;background:
  radial-gradient(circle at 14% 20%,rgba(255,226,170,.5),transparent 2.4%),
  radial-gradient(circle at 82% 13%,rgba(255,226,170,.45),transparent 3.4%),
  radial-gradient(circle at 90% 46%,rgba(255,226,170,.3),transparent 5%),
  radial-gradient(circle at 24% 50%,rgba(255,226,170,.28),transparent 4.2%),
  radial-gradient(circle at 68% 9%,rgba(255,226,170,.36),transparent 2%)}
.ilf-ph__tag{position:relative;z-index:3;margin-bottom:22px;font-size:10px;letter-spacing:2.6px;text-transform:uppercase;color:rgba(255,255,255,.72);border:1px solid rgba(255,255,255,.26);background:rgba(7,8,11,.42);padding:8px 13px;border-radius:999px;text-align:center}
.ilf-ph--rose{background:radial-gradient(ellipse 60% 45% at 50% 30%,rgba(247,242,238,.55),transparent 70%),linear-gradient(165deg,#2E2419,#0C0A09)}
.ilf-ph--corp{background:radial-gradient(ellipse 55% 42% at 70% 26%,rgba(214,186,140,.42),transparent 70%),linear-gradient(165deg,#242018,#0B0A0C)}
.ilf-ph--sweet{background:radial-gradient(ellipse 55% 42% at 30% 26%,rgba(236,196,162,.45),transparent 70%),linear-gradient(165deg,#33231B,#0E0A08)}

/* --- 1. Hero ------------------------------------------------------------ */
.ilf-hero{display:grid;grid-template-columns:1fr 1.08fr;align-items:center;gap:5%;padding-block:clamp(60px,7vw,92px) var(--ilf-xl)}
.ilf-hero__copy .ilf-copy{margin-top:var(--ilf-md)}
.ilf-hero__actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:var(--ilf-lg)}
.ilf-hero__frame{height:min(74vh,580px)}
.ilf-hero__glow{position:absolute;right:-6%;top:6%;width:52%;height:70%;pointer-events:none;background:radial-gradient(closest-side,rgba(233,185,94,.2),transparent 72%);z-index:0}

/* --- 2. Split sections -------------------------------------------------- */
.ilf-split{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:clamp(40px,7vw,96px)}
.ilf-split__frame{height:clamp(380px,46vw,500px)}
.ilf-split--reverse .ilf-split__frame{order:2}

/* --- 3. Event experiences ----------------------------------------------- */
.ilf-events{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;margin-top:var(--ilf-lg)}
.ilf-event{position:relative;border-radius:var(--ilf-r-md);overflow:hidden;border:1px solid rgba(207,166,92,.26);min-height:360px;display:flex;align-items:flex-end;transition:border-color .5s var(--ilf-ease)}
.ilf-event__bg{position:absolute;inset:0;transition:transform 1.1s var(--ilf-ease)}
.ilf-event:hover{border-color:rgba(233,185,94,.75)}
.ilf-event:hover .ilf-event__bg{transform:scale(1.06)}
.ilf-event__body{position:relative;z-index:3;padding:26px 24px;width:100%;background:linear-gradient(to top,rgba(5,6,8,.92) 20%,transparent)}
.ilf-event h3{font-size:clamp(21px,1.8vw,26px);line-height:1.16}
.ilf-event p{margin-top:8px;font-size:14px;line-height:1.7;color:var(--ilf-muted)}
/* The 2nd and 3rd tiles sit lower, so the row reads composed rather than gridded */
.ilf-event:nth-child(2):not(.ilf-event--plain),.ilf-event:nth-child(4):not(.ilf-event--plain){margin-top:34px}

/* --- 4. Gallery mosaic --------------------------------------------------- */
.ilf-gallery{display:grid;grid-template-columns:1.25fr 1fr 1fr;grid-template-rows:230px 230px;gap:20px;margin-top:var(--ilf-lg)}
.ilf-gallery .ilf-frame:nth-child(1){grid-row:span 2}
.ilf-gallery .ilf-frame:nth-child(4){grid-column:span 2}
.ilf-gallery .ilf-frame{transition:transform .7s var(--ilf-ease)}
.ilf-gallery .ilf-frame:hover{transform:translateY(-6px)}
.ilf-gallery__head{display:grid;grid-template-columns:1.1fr .9fr;gap:clamp(30px,6vw,80px);align-items:end}

/* --- 5. Testimonials ----------------------------------------------------- */
.ilf-reviews{display:grid;grid-template-columns:1fr 1fr;gap:26px;margin-top:var(--ilf-lg)}
.ilf-review{border:1px solid rgba(207,166,92,.3);border-radius:var(--ilf-r-md);background:linear-gradient(140deg,rgba(34,32,36,.72),rgba(9,11,14,.86));padding:clamp(28px,3vw,42px)}
.ilf-review__flag{display:inline-block;font-size:10px;letter-spacing:2.2px;text-transform:uppercase;font-weight:700;color:#19130A;background:var(--ilf-accent);padding:6px 10px;border-radius:999px;margin-bottom:20px}
.ilf-review p{font-size:17px;line-height:1.8;color:#F0E9E1}
.ilf-review footer{margin-top:20px;font-size:12px;letter-spacing:2px;text-transform:uppercase;color:var(--ilf-muted)}

/* --- 6. Final CTA -------------------------------------------------------- */
.ilf-cta{display:grid;grid-template-columns:1fr 1fr;gap:6%;align-items:center}
.ilf-cta__frame{height:clamp(320px,38vw,420px)}
.ilf-cta__contact{margin-top:var(--ilf-md);font-size:15px;line-height:2;color:var(--ilf-muted)}
.ilf-cta__contact a{color:var(--ilf-accent);border-bottom:1px solid rgba(233,185,94,.3)}

/* --- 7. Location --------------------------------------------------------- */
.ilf-map{display:grid;grid-template-columns:.85fr 1.15fr;gap:clamp(34px,6vw,76px);align-items:center}
.ilf-map__frame{border-radius:var(--ilf-r-lg);overflow:hidden;border:1px solid rgba(216,169,82,.3);background:var(--ilf-surface);box-shadow:0 28px 70px -30px rgba(10,6,2,.95)}
.ilf-map__frame iframe{width:100%;height:clamp(300px,34vw,400px);border:0;display:block;filter:grayscale(.35) contrast(1.05) brightness(.92)}
.ilf-map address{font-style:normal;font-size:17px;line-height:2;color:var(--ilf-ink);margin-top:var(--ilf-md)}

/* --- 8. Footer ----------------------------------------------------------- */
.ilf-footer{padding:clamp(56px,7vw,76px) 0 30px;border-top:1px solid rgba(173,135,77,.42);position:relative}
.ilf-footer__grid{display:grid;grid-template-columns:2fr 1fr 1.4fr;gap:clamp(30px,5vw,60px)}
.ilf-footer h2{font-family:var(--ilf-body);font-size:11px;letter-spacing:3px;text-transform:uppercase;color:var(--ilf-accent);margin-bottom:16px;font-weight:700}
.ilf-footer p,.ilf-footer li,.ilf-footer address{font-size:14px;line-height:2;color:#CCC4BC;font-style:normal}
.ilf-footer a:hover{color:var(--ilf-accent)}
.ilf-footer__tag{margin-top:18px;font-family:var(--ilf-display);font-style:italic;font-size:19px;line-height:1.5;color:var(--ilf-ink)}
.ilf-footer__bottom{margin-top:clamp(36px,5vw,50px);padding-top:20px;border-top:1px solid rgba(176,139,83,.28);display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;font-size:12px;color:#A79F97}

/* --- Motion. Gated behind .ilf-js so no-JS and crawlers see everything. -- */
.ilf-js .ilf-anim{opacity:0;transform:translateY(26px);transition:opacity 1.15s var(--ilf-ease) var(--d,0s),transform 1.2s var(--ilf-ease) var(--d,0s)}
.ilf-js .ilf-anim.is-in{opacity:1;transform:none}
.ilf-js .ilf-mask{clip-path:inset(100% 0 0 0);transition:clip-path 1.5s var(--ilf-ease) var(--d,0s)}
.ilf-js .ilf-mask.is-in{clip-path:inset(0 0 0 0)}
.ilf-js .ilf-mask .ilf-ph,.ilf-js .ilf-mask img{transform:scale(1.14);transition:transform 2.2s var(--ilf-ease) var(--d,0s)}
.ilf-js .ilf-mask.is-in .ilf-ph,.ilf-js .ilf-mask.is-in img{transform:scale(1)}
.ilf-js .ilf-rule{transform:scaleX(0);transform-origin:center;transition:transform 1.6s var(--ilf-ease)}
.ilf-js .ilf-rule.is-in{transform:scaleX(1)}
.ilf-parallax{will-change:transform}

/* --- Responsive ---------------------------------------------------------- */
@media (max-width:1040px){
  .ilf-events{grid-template-columns:1fr 1fr}
  .ilf-event:nth-child(2),.ilf-event:nth-child(4){margin-top:0}
  .ilf-event:nth-child(3),.ilf-event:nth-child(4){margin-top:0}
  .ilf-footer__grid{grid-template-columns:1fr 1fr}
}
@media (max-width:860px){
  :root{--ilf-xl:clamp(60px,13vw,76px)}
  .ilf-nav{display:none;position:absolute;top:100%;left:0;right:0;flex-direction:column;align-items:flex-start;gap:4px;background:rgba(7,8,11,.98);border-bottom:1px solid rgba(255,255,255,.08);padding:22px var(--ilf-md) 28px}
  .ilf-header.is-open .ilf-nav{display:flex;width:100%}
  .ilf-nav a{font-size:17px;padding:11px 0;width:100%}
  .ilf-nav .ilf-btn{width:100%;justify-content:center;margin-top:10px}
  .ilf-burger{display:block}
  .ilf-hero,.ilf-split,.ilf-cta,.ilf-map,.ilf-gallery__head{grid-template-columns:1fr}
  .ilf-hero{gap:38px;padding-top:46px}
  .ilf-hero__frame{height:clamp(340px,58vw,430px)}
  .ilf-split{gap:36px}
  .ilf-split--reverse .ilf-split__frame{order:0}
  .ilf-split__frame{height:clamp(300px,62vw,380px)}
  .ilf-reviews{grid-template-columns:1fr}
  .ilf-gallery{grid-template-columns:1fr 1fr;grid-template-rows:auto}
  .ilf-gallery .ilf-frame{height:200px}
  .ilf-gallery .ilf-frame:nth-child(1){grid-column:span 2;grid-row:auto;height:280px}
  .ilf-gallery .ilf-frame:nth-child(4){grid-column:span 2}
  .ilf-cta__frame{height:300px}
  .ilf-parallax{transform:none !important}
}
@media (max-width:560px){
  .ilf-events{grid-template-columns:1fr}
  .ilf-footer__grid{grid-template-columns:1fr}
  .ilf-brand img{height:36px}
  .ilf-header__inner{min-height:72px}
  .ilf .ilf-btn{width:100%;justify-content:center}
  .ilf-hero__actions{flex-direction:column;align-items:stretch}
}

/* --- Reduced motion ------------------------------------------------------ */
@media (prefers-reduced-motion:reduce){
  html.ilf-html{scroll-behavior:auto}
  .ilf *,.ilf *::before,.ilf *::after{animation:none !important;transition-duration:.01ms !important;transition-delay:0s !important}
  .ilf-js .ilf-anim,.ilf-js .ilf-mask,.ilf-js .ilf-rule{opacity:1 !important;transform:none !important;clip-path:none !important}
  .ilf-js .ilf-mask .ilf-ph,.ilf-js .ilf-mask img{transform:none !important}
  .ilf-parallax{transform:none !important}
}

/* --- Cinematic image blending ------------------------------------------
   Soft-edge treatment: the photograph dissolves into the page ground
   instead of sitting in a rectangle. Reusable on any .ilf-frame. */
:root{
  --ilf-blend-x:15%;
  --ilf-blend-y:12%;
  --ilf-blend-top:6%;
}
.ilf-blend{border:0;border-radius:0;background:transparent;box-shadow:none;
  -webkit-mask-image:linear-gradient(to right,transparent 0,#07080B var(--ilf-blend-x),#07080B calc(100% - var(--ilf-blend-x)),transparent 100%),linear-gradient(to bottom,transparent 0,#07080B var(--ilf-blend-top),#07080B calc(100% - var(--ilf-blend-y)),transparent 100%);
  -webkit-mask-composite:source-in;
  mask-image:linear-gradient(to right,transparent 0,#07080B var(--ilf-blend-x),#07080B calc(100% - var(--ilf-blend-x)),transparent 100%),linear-gradient(to bottom,transparent 0,#07080B var(--ilf-blend-top),#07080B calc(100% - var(--ilf-blend-y)),transparent 100%);
  mask-composite:intersect}
.ilf-blend::after{box-shadow:none;border-radius:0;
  background:radial-gradient(ellipse 80% 74% at 50% 47%,rgba(7,8,11,0) 52%,rgba(7,8,11,.5) 86%,rgba(7,8,11,.92) 100%)}
/* Localised falloff that settles the printer at the far left into the dark. */
.ilf-hero__frame.ilf-blend::before{content:"";position:absolute;inset:0;z-index:3;pointer-events:none;
  background:radial-gradient(ellipse 24% 28% at 10% 52%,rgba(7,8,11,.58),rgba(7,8,11,0) 72%)}
@media (max-width:860px){
  /* Square frame below the split, so no equipment is ever cropped away. */
  .ilf-hero__frame{height:auto;aspect-ratio:1/1}
  :root{--ilf-blend-x:11%;--ilf-blend-y:9%;--ilf-blend-top:5%}
}
@media (max-width:560px){
  :root{--ilf-blend-x:8%;--ilf-blend-y:7%;--ilf-blend-top:4%}
}

/* --- Reveal fix --------------------------------------------------------
   clip-path on the observed element leaves it with an empty visible box,
   so IntersectionObserver never reports it intersecting and the reveal
   never fires. Clip the inner media instead; the frame keeps its box. */
.ilf-frame picture{display:block;width:100%;height:100%}
.ilf-js .ilf-mask{clip-path:none}
.ilf-js .ilf-mask .ilf-ph,
.ilf-js .ilf-mask img{clip-path:inset(100% 0 0 0);transition:clip-path 1.5s var(--ilf-ease) var(--d,0s),transform 2.2s var(--ilf-ease) var(--d,0s)}
.ilf-js .ilf-mask.is-in .ilf-ph,
.ilf-js .ilf-mask.is-in img{clip-path:inset(0 0 0 0)}
@media (prefers-reduced-motion:reduce){
  .ilf-js .ilf-mask .ilf-ph,.ilf-js .ilf-mask img{clip-path:none !important}
}

/* --- Hero defects found during validation ------------------------------
   1. Blocksy's default heading colour was overriding the hero H1, leaving
      it dark navy on a near-black ground.
   2. .ilf-hero__glow is absolutely positioned, but .ilf-hero was not a
      positioned ancestor, so right:-6% resolved against the viewport and
      pushed the page 85px wider than the window. */
.ilf-hero{position:relative}
.ilf-hero h1{color:var(--ilf-ink)}

/* Keep the decorative hero glow inside the wrap on narrow screens, where
   right:-6% would otherwise push the page a few pixels wider than the
   window and produce a horizontal scrollbar. */
@media (max-width:1322px){
  .ilf-hero__glow{right:0}
}

/* --- Heading colour and divider reveal ---------------------------------
   1. Blocksy's default heading colour was showing through on every h2/h3.
      Restore the Midnight Gold ivory; the footer's gold h2 is intentional
      and is re-asserted afterwards.
   2. The dividers animated the <hr> itself to scaleX(0), leaving it zero
      pixels wide, so IntersectionObserver never saw them and they never
      revealed. Keep the element full width and animate an inner layer. */
.ilf h1,.ilf h2,.ilf h3{color:var(--ilf-ink)}
.ilf-footer h2{color:var(--ilf-accent)}
.ilf-js .ilf-rule{transform:none;position:relative;overflow:hidden;background:transparent}
.ilf-js .ilf-rule::after{content:"";position:absolute;inset:0;
  background:linear-gradient(90deg,transparent,rgba(176,139,83,.42),transparent);
  transform:scaleX(0);transform-origin:center;transition:transform 1.6s var(--ilf-ease)}
.ilf-js .ilf-rule.is-in::after{transform:scaleX(1)}
@media (prefers-reduced-motion:reduce){
  .ilf-js .ilf-rule::after{transform:none !important}
}

/* --- Event card media --------------------------------------------------
   Event tiles are not .ilf-frame, so their images need their own fill. */
.ilf-event__bg picture,.ilf-event__bg img{display:block;width:100%;height:100%;object-fit:cover}

/* --- Responsive aspect fitting -----------------------------------------
   Below the desktop split, these frames went full width at a fixed short
   height, so near-square photography lost 30-50% of its height and the
   booth was clipped. Give each frame the aspect of the photograph it
   holds instead, as the hero already does. */
@media (max-width:1040px){
  .ilf-event{min-height:0;aspect-ratio:3/4}
}
@media (max-width:860px){
  .ilf-split__frame{height:auto;aspect-ratio:5/4}
  .ilf-cta__frame{height:auto;aspect-ratio:4/3}
  .ilf-gallery .ilf-frame{height:auto}
  .ilf-gallery .ilf-frame:nth-child(1){height:auto;aspect-ratio:5/4}
  .ilf-gallery .ilf-frame:nth-child(2),
  .ilf-gallery .ilf-frame:nth-child(3){height:auto;aspect-ratio:3/2}
  .ilf-gallery .ilf-frame:nth-child(4){height:auto;aspect-ratio:21/9}
}
@media (max-width:560px){
  .ilf-gallery{grid-template-columns:1fr}
  .ilf-gallery .ilf-frame:nth-child(1),
  .ilf-gallery .ilf-frame:nth-child(4){grid-column:auto}
}

/* --- FAQ and cross-links (service pages) ------------------------------- */
.ilf-faq{max-width:none}
.ilf-faq__item{border-top:1px solid rgba(216,169,82,.22);padding:var(--ilf-md) 0}
.ilf-faq__item:last-child{border-bottom:1px solid rgba(216,169,82,.22)}
.ilf-faq__item summary{cursor:pointer;list-style:none;font-family:var(--ilf-display);font-size:clamp(19px,1.7vw,23px);line-height:1.3;color:var(--ilf-ink);display:flex;justify-content:space-between;gap:var(--ilf-md);align-items:baseline}
.ilf-faq__item summary::-webkit-details-marker{display:none}
.ilf-faq__item summary::after{content:"+";color:var(--ilf-accent);font-family:var(--ilf-body);font-size:22px;line-height:1;flex:0 0 auto}
.ilf-faq__item[open] summary::after{content:"\2013"}
.ilf-faq__item p{margin-top:14px;color:var(--ilf-muted);line-height:1.85;max-width:65ch}
.ilf-crosslinks{display:flex;flex-wrap:wrap;gap:12px;margin-top:var(--ilf-lg)}

/* Xpro Theme Builder leaks an "all layouts" heading onto the front end.
   It is a builder artefact, not content, so keep it out of the page. */
.xpro-theme-builder-content-header-title{display:none}

/* Keyboard users need a way past the header. */
.ilf-skip{position:absolute;left:-9999px;top:0;z-index:999;background:var(--ilf-accent);color:#19130A;padding:12px 20px;border-radius:0 0 12px 0;font-weight:500;text-decoration:none}
.ilf-skip:focus{left:0}
:where(a,button,summary,input,select,textarea):focus-visible{outline:2px solid var(--ilf-accent);outline-offset:3px}

/* --- Navigation dropdowns. <details> gives pointer + keyboard with no JS. */
.ilf-nav__group{position:relative}
.ilf-nav__group>summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:7px}
.ilf-nav__group>summary::-webkit-details-marker{display:none}
.ilf-nav__group>summary::after{content:"";width:5px;height:5px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .3s var(--ilf-ease)}
.ilf-nav__group[open]>summary::after{transform:rotate(225deg) translateY(-2px)}
.ilf-nav__sub{position:absolute;top:calc(100% + 14px);left:-18px;min-width:248px;padding:10px;margin:0;list-style:none;z-index:40;background:linear-gradient(165deg,rgba(22,23,27,.98),rgba(9,10,13,.98));border:1px solid rgba(216,169,82,.3);border-radius:var(--ilf-r-md);box-shadow:0 28px 70px -30px rgba(10,6,2,.95)}
.ilf-nav__sub li{margin:0}
.ilf-nav__sub a{display:block;padding:9px 13px;border-radius:9px;white-space:nowrap}
.ilf-nav__sub a:hover{background:rgba(233,185,94,.1)}
.ilf-nav__draft{font-size:9px;letter-spacing:1.6px;text-transform:uppercase;color:var(--ilf-accent);border:1px solid rgba(233,185,94,.45);border-radius:999px;padding:2px 7px;margin-left:7px;vertical-align:middle}
@media (max-width:860px){
  .ilf-nav__group{width:100%}
  .ilf-nav__sub{position:static;min-width:0;margin-top:10px;box-shadow:none;background:rgba(255,255,255,.03)}
  .ilf-nav__sub a{white-space:normal}
}

/* Burger icon: centred transform origins so the open state is a true X. */
.ilf-burger span{top:50%;margin-top:-0.5px;transform-origin:50% 50%;transition:transform .4s var(--ilf-ease)}
.ilf-burger span:nth-child(1){top:50%;transform:translateY(-4px)}
.ilf-burger span:nth-child(2){top:50%;transform:translateY(4px)}
.ilf-header.is-open .ilf-burger span:nth-child(1){top:50%;transform:rotate(45deg)}
.ilf-header.is-open .ilf-burger span:nth-child(2){top:50%;transform:rotate(-45deg)}

/* County cards link through their whole tile. */
.ilf-event__link{color:inherit;text-decoration:none}
.ilf-event__link::after{content:"";position:absolute;inset:0;z-index:4}
.ilf-event:hover .ilf-event__link{color:var(--ilf-accent)}

/* Burger X: body-scoped so the open state always wins the cascade. */
.ilf .ilf-header.is-open .ilf-burger span:nth-child(1){top:50%;margin-top:-0.5px;transform:rotate(45deg)}
.ilf .ilf-header.is-open .ilf-burger span:nth-child(2){top:50%;margin-top:-0.5px;transform:rotate(-45deg)}

/* --- Legal pages (privacy policy, terms) ------------------------------- */
/* Single-column hero: no image frame on a prose page. */
.ilf-hero--legal{grid-template-columns:1fr;gap:0}
.ilf-hero--legal .ilf-hero__copy{max-width:46em}
.ilf-prose{max-width:46em}
.ilf .ilf-prose h2{font-size:clamp(21px,2.3vw,27px);line-height:1.3;color:var(--ilf-ink);margin-top:var(--ilf-lg);margin-bottom:var(--ilf-md)}
.ilf .ilf-prose > h2:first-child{margin-top:0}
.ilf .ilf-prose p{font-size:16.5px;line-height:1.85;color:#D7D0CB}
.ilf .ilf-prose p + p{margin-top:var(--ilf-md)}
.ilf .ilf-prose strong{color:var(--ilf-ink);font-weight:600}
.ilf .ilf-prose a{color:var(--ilf-accent);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.ilf .ilf-prose a:hover,.ilf .ilf-prose a:focus-visible{color:var(--ilf-ink)}
.ilf .ilf-prose ul,.ilf .ilf-prose ol{margin-top:var(--ilf-md);padding-left:1.25em;color:#D7D0CB;font-size:16.5px;line-height:1.85}
.ilf .ilf-prose li + li{margin-top:8px}
/* Outstanding-items notice while the policy is still in draft. */
.ilf .ilf-prose__note{margin:0 0 var(--ilf-lg);padding:14px 18px;border:1px solid rgba(176,139,83,.38);border-radius:var(--ilf-r-sm);background:rgba(176,139,83,.07);color:var(--ilf-muted);font-size:14px;line-height:1.7}
.ilf .ilf-prose__note strong{color:var(--ilf-accent)}
@media (max-width:860px){.ilf-hero--legal{padding-block:clamp(40px,8vw,64px) var(--ilf-lg)}}

/* --- What every booking includes (attended experience) ----------------- */
.ilf-included{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--ilf-md) var(--ilf-lg);margin-top:var(--ilf-xl)}
@media (max-width:1040px){.ilf-included{grid-template-columns:repeat(2,1fr)}}
.ilf-included__item{padding-top:var(--ilf-md);border-top:1px solid rgba(176,139,83,.42)}
.ilf .ilf-included__item h3{font-family:var(--ilf-body);font-size:12px;letter-spacing:3px;text-transform:uppercase;font-weight:700;color:var(--ilf-accent);margin:0 0 10px;line-height:1.6}
.ilf .ilf-included__item p{font-size:15.5px;line-height:1.8;color:#C9C1B8;margin:0;max-width:30em}
@media (max-width:860px){.ilf-included{grid-template-columns:1fr;gap:var(--ilf-md);margin-top:var(--ilf-lg)}}

/* --- Benefit cards without photography ---------------------------------
   The staggered offset on cards 2 and 4 was built for the homepage and
   Locations tiles, which carry photographs. The seven service pages reuse
   the same card with an empty background, so above 1040px that 34px offset
   simply read as misalignment: cards 1 and 3 measured 394px tall while 2
   and 4 measured 360px and started 34px lower. Imageless cards now opt out
   of the stagger and get a real surface, with grid stretch equalising
   heights across each row regardless of copy length. */
.ilf-event--plain{min-height:0;aspect-ratio:auto;align-items:stretch;background:linear-gradient(168deg,rgba(255,255,255,.048),rgba(255,255,255,.015) 58%,rgba(255,255,255,0)),var(--ilf-theme-tint,transparent);border-color:var(--ilf-theme-edge,rgba(207,166,92,.26));transition:border-color .5s var(--ilf-ease),transform .5s var(--ilf-ease)}
.ilf-event--plain .ilf-event__body{background:none;padding:26px 24px;display:flex;flex-direction:column;justify-content:flex-start}
.ilf .ilf-event--plain h3{font-size:clamp(19px,1.5vw,23px);line-height:1.2}
.ilf .ilf-event--plain p{margin-top:10px;font-size:14.5px;line-height:1.72}
.ilf-event--plain:hover{border-color:var(--ilf-theme-edge-hover,rgba(233,185,94,.75));transform:translateY(-3px)}
@media (prefers-reduced-motion:reduce){.ilf-event--plain:hover{transform:none}}

/* --- Event theme layer --------------------------------------------------
   Per-event atmosphere laid over Midnight Gold, never replacing it. The
   theme only supplies tint, edge and glow tokens. */
.ilf-theme--wedding{--ilf-theme-tint:rgba(233,185,94,.055);--ilf-theme-edge:rgba(233,185,94,.34);--ilf-theme-edge-hover:rgba(243,206,138,.85);--ilf-theme-glow:rgba(236,198,140,.11)}
.ilf-theme--wedding .ilf-section{position:relative}
.ilf-theme--wedding #benefits::before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse 62% 54% at 50% 0%,var(--ilf-theme-glow),transparent 72%);pointer-events:none;z-index:0}
.ilf-theme--wedding .ilf-section > .ilf-wrap{position:relative;z-index:1}
.ilf-theme--wedding .ilf-hero__glow{background:radial-gradient(closest-side,rgba(236,198,140,.25),transparent 72%)}

/* Service-page benefit grid: every row the same height, so all four cards
   match whether they sit in one row of four or two rows of two. Left to
   content height on single-column mobile, where nothing sits alongside. */
.ilf-events--uniform{grid-auto-rows:1fr}
@media (max-width:560px){.ilf-events--uniform{grid-auto-rows:auto}}

/* The service benefit grid never staggers, with or without photography.
   Without this, adding card images would make the cards non-plain and
   silently reinstate the 34px offset this phase removed. */
.ilf-events--uniform .ilf-event:nth-child(2),.ilf-events--uniform .ilf-event:nth-child(4){margin-top:0}

/* Quinceanera page theme layer: rose, magenta and orchid over the Midnight
   Gold base, so the page reads as its own celebration rather than a repeat
   of the amber used on Weddings. Tokens only; no structural change. */
.ilf-theme--quince{--ilf-theme-tint:rgba(229,155,192,.06);--ilf-theme-edge:rgba(229,155,192,.34);--ilf-theme-edge-hover:rgba(242,186,214,.85);--ilf-theme-glow:rgba(203,120,170,.13)}
.ilf-theme--quince .ilf-section{position:relative}
.ilf-theme--quince #benefits::before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse 62% 54% at 50% 0%,var(--ilf-theme-glow),transparent 72%);pointer-events:none;z-index:0}
.ilf-theme--quince .ilf-section > .ilf-wrap{position:relative;z-index:1}
.ilf-theme--quince .ilf-hero__glow{background:radial-gradient(closest-side,rgba(226,150,195,.26),transparent 72%)}

/* Birthdays page theme layer: electric blue, violet and jewel tones over the
   Midnight Gold base, distinct from the amber used on Weddings and the rose
   used on Quinceaneras. Tokens only; no structural change. */
.ilf-theme--birthday{--ilf-theme-tint:rgba(123,132,232,.06);--ilf-theme-edge:rgba(139,150,235,.34);--ilf-theme-edge-hover:rgba(168,180,245,.85);--ilf-theme-glow:rgba(96,110,215,.14)}
.ilf-theme--birthday .ilf-section{position:relative}
.ilf-theme--birthday #benefits::before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse 62% 54% at 50% 0%,var(--ilf-theme-glow),transparent 72%);pointer-events:none;z-index:0}
.ilf-theme--birthday .ilf-section > .ilf-wrap{position:relative;z-index:1}
.ilf-theme--birthday .ilf-hero__glow{background:radial-gradient(closest-side,rgba(120,135,235,.26),transparent 72%)}

/* --- Image-first hero -------------------------------------------------
   Opt-in per page via $d['hero_layout']. Only the Weddings page carries
   .ilf-hero--imagefirst, so no other service page is affected.
   The frame matches the photograph's 2:3 portrait ratio exactly, so the
   overhead light and the road-case base are never cropped. */
.ilf-hero--imagefirst{grid-template-areas:"copy frame" "lede frame";align-items:center}
.ilf-hero--imagefirst .ilf-hero__copy{grid-area:copy;align-self:end}
.ilf-hero--imagefirst .ilf-hero__frame{grid-area:frame;height:min(74vh,660px);width:auto;aspect-ratio:var(--ilf-hero-ar,1024/1536);justify-self:center}
.ilf-hero--imagefirst .ilf-hero__lede-after{grid-area:lede;align-self:start;margin-top:var(--ilf-md);max-width:46ch}

@media (max-width:860px){
  .ilf-hero--imagefirst{grid-template-areas:"copy" "frame" "lede";gap:clamp(14px,3.4vw,20px);padding-top:clamp(22px,6vw,30px)}
  .ilf-hero--imagefirst h1{font-size:clamp(31px,8.4vw,42px);line-height:1.07}
  /* Height-driven so the 2:3 ratio is always exact: capping height while
     width stayed at 100% would have cropped the booth badly on tablets. */
  .ilf-hero--imagefirst .ilf-hero__frame{height:min(68vh,620px);width:auto;aspect-ratio:var(--ilf-hero-ar,1024/1536);justify-self:center;max-width:100%}
  .ilf-hero--imagefirst .ilf-hero__lede-after{margin-top:2px;max-width:none}
}

/* Conversion row beneath an image-first hero. */
.ilf-herocta{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:clamp(14px,2.4vw,22px);padding-block:clamp(18px,3vw,26px)}
.ilf-herocta__link{font-size:14px;letter-spacing:.3px;text-decoration:none;color:var(--ilf-muted,#C9C1B8);border-bottom:1px solid rgba(233,185,94,.32);padding-bottom:3px;transition:color .3s ease,border-color .3s ease}
.ilf-herocta__link:hover,.ilf-herocta__link:focus-visible{color:var(--ilf-ink,#F3EDE4);border-bottom-color:rgba(243,206,138,.85)}

@media (max-width:560px){
  /* On phones let the photograph run the full column width; the exact
     2:3 box then sets its own height and nothing is cropped. */
  .ilf-hero--imagefirst .ilf-hero__frame{height:auto;width:100%;aspect-ratio:var(--ilf-hero-ar,1024/1536)}
}

/* Per-page hero aspect ratio. Each image-first page sets the true ratio of
   its own photograph, so the frame never crops the subject. Wedding uses the
   1024x1536 default; Quinceanera's photograph is 1792x2400. */
.ilf-theme--quince,
.ilf-theme--birthday{--ilf-hero-ar:1792/2400}

/* --- Above-the-fold reveal, homepage hero only --------------------------
   The motion layer hides .ilf-anim (opacity:0) and .ilf-mask (clip-path)
   as soon as the inline .ilf-js class is set in <head>, but the class that
   reveals them (is-in) is only added by home.js, which is enqueued in the
   footer. The hero therefore stayed invisible until that script ran, even
   when its image had already downloaded. These keyframes run the identical
   motion straight from first paint, so nothing above the fold waits on JS.
   home.js still adds is-in afterwards, which resolves to the same end state.
   Scoped to body.home so no service page hero is affected, and silenced
   automatically by the existing reduced-motion block (animation:none). */
@keyframes ilf-hero-reveal{from{opacity:0;transform:translateY(26px)}to{opacity:1;transform:none}}
@keyframes ilf-hero-wipe{from{clip-path:inset(100% 0 0 0)}to{clip-path:inset(0 0 0 0)}}
@keyframes ilf-hero-settle{from{transform:scale(1.14)}to{transform:scale(1)}}
.ilf-js body.home .ilf-hero .ilf-anim{animation:ilf-hero-reveal 1.15s var(--ilf-ease) var(--d,0s) both}
.ilf-js body.home .ilf-hero .ilf-mask{animation:ilf-hero-wipe .95s var(--ilf-ease) both}
.ilf-js body.home .ilf-hero .ilf-mask img,
.ilf-js body.home .ilf-hero .ilf-mask .ilf-ph{animation:ilf-hero-settle 1.8s var(--ilf-ease) both}

/* --- Mobile editorial centring (16C.2) ---------------------------------
   Owner standard: on a phone, editorial headings and the descriptive
   paragraphs under them read as centred, not flush left beneath a
   full-width photograph. Each rule is confined to the width at which its
   own component actually collapses to one column, so no desktop
   composition moves:
     .ilf-hero / .ilf-split / .ilf-cta / .ilf-map / .ilf-included -> 860px
     .ilf-events cards                                            -> 560px
   Supersedes the narrower body.home #experience rule added in 16C.1,
   which this block now covers on every template.
   Deliberately NOT centred, because they are functional rather than
   editorial: the navigation, .ilf-prose legal copy, .ilf-faq__item
   disclosure rows (the plus/minus marker must stay at the right edge)
   and the footer columns. */
@media (max-width:860px){
  /* Hero copy, every template. */
  .ilf-hero__copy{text-align:center}
  .ilf-hero__copy .ilf-copy{margin-inline:auto}
  .ilf-hero__actions{justify-content:center}
  .ilf-hero--legal .ilf-hero__copy{margin-inline:auto}
  /* Supporting line beneath an image-first hero. */
  .ilf-hero__lede-after{text-align:center;margin-inline:auto}

  /* Editorial split text column (#experience, #story). */
  .ilf-split > div:not(.ilf-split__frame){text-align:center}
  .ilf-split > div:not(.ilf-split__frame) .ilf-copy{margin-inline:auto}

  /* Conversion split text column (#cta). */
  .ilf-cta > div:not(.ilf-cta__frame){text-align:center}
  .ilf-cta > div:not(.ilf-cta__frame) .ilf-copy{margin-inline:auto}

  /* Location split text column. */
  .ilf-map > div:not(.ilf-map__frame){text-align:center}
  .ilf-map > div:not(.ilf-map__frame) .ilf-copy{margin-inline:auto}

  /* Headings and ledes that sit directly inside a section wrap. */
  .ilf-section > .ilf-wrap > h2,
  .ilf-section > .ilf-wrap > .ilf-eyebrow,
  .ilf-section > .ilf-wrap > .ilf-copy,
  .ilf-section > .ilf-wrap > .ilf-note{text-align:center;margin-inline:auto}

  /* Gallery heading pair. */
  .ilf-gallery__head{text-align:center}
  .ilf-gallery__head .ilf-note{margin-inline:auto}

  /* Cross-link button row is a flex container, so it needs justify. */
  .ilf-crosslinks{justify-content:center}

  /* What every booking includes. */
  .ilf-included__item{text-align:center}
  .ilf .ilf-included__item p{margin-inline:auto}

  /* Testimonial cards. */
  .ilf-review{text-align:center}
}

@media (max-width:560px){
  /* Event and county cards are a single full-width column only here. */
  .ilf-event__body{text-align:center}
}

/* ==========================================================================
   SWEET 16 - MIDNIGHT ROSE GOLD (Phase 17)
   Every selector below is nested inside .ilf-theme--sweet16, which the
   service template prints on <main> only when the Sweet 16 entry carries
   'theme' => 'sweet16'. No other page can match, so Weddings, Quinceaneras,
   Birthdays, Anniversaries, Corporate, Holiday Parties, the Audio Guestbook,
   Contact, Locations and the homepage are untouched by construction rather
   than by careful selector writing.
   ========================================================================== */
.ilf-theme--sweet16{
  /* Owner palette */
  --s16-black:#09090D;
  --s16-plum:#241328;
  --s16-rose:#B95085;
  --s16-blush:#F3B8D4;
  --s16-lav:#A889E8;
  --s16-champ:#D7BD85;
  --s16-ivory:#F5EFEA;
  /* Re-point the shared tokens the service template already consumes, so the
     existing components inherit the theme instead of being overridden. */
  --ilf-accent:var(--s16-champ);
  --ilf-ink:var(--s16-ivory);
  --ilf-theme-tint:rgba(185,80,133,.07);
  --ilf-theme-edge:rgba(243,184,212,.30);
  --ilf-theme-edge-hover:rgba(243,184,212,.82);
  --ilf-theme-glow:rgba(168,137,232,.16);
  /* True ratio of the hero photograph, so nothing is cropped. */
  --ilf-hero-ar:1792/2400;
  position:relative;
  isolation:isolate;
}

/* Layered black-to-plum field, held behind the content of this page only.
   isolation:isolate keeps the negative z-index inside <main>, so the sticky
   header and anything outside this page are unaffected. */
.ilf-theme--sweet16::before{
  content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;
  background:
    radial-gradient(ellipse 58% 42% at 82% 4%,rgba(185,80,133,.26),transparent 62%),
    radial-gradient(ellipse 52% 40% at 8% 34%,rgba(168,137,232,.20),transparent 64%),
    radial-gradient(ellipse 66% 44% at 70% 92%,rgba(36,19,40,.9),transparent 68%),
    linear-gradient(168deg,#09090D 0%,#1A0F1E 46%,#241328 74%,#0B080E 100%);
}

/* Ambient rose and lavender bloom per section, very low contrast. */
.ilf-theme--sweet16 .ilf-section{position:relative}
.ilf-theme--sweet16 .ilf-section > .ilf-wrap{position:relative;z-index:1}
.ilf-theme--sweet16 #benefits::before,
.ilf-theme--sweet16 #cta::before{
  content:"";position:absolute;inset:0;pointer-events:none;z-index:0;
  background:radial-gradient(ellipse 62% 54% at 50% 0%,var(--ilf-theme-glow),transparent 72%)}

/* Brass rules become rose gold on this page. */
.ilf-theme--sweet16 + .ilf-rule,
.ilf-theme--sweet16 .ilf-rule{background:linear-gradient(90deg,transparent,rgba(185,80,133,.5),rgba(215,189,133,.5),transparent)}
.ilf-js .ilf-theme--sweet16 .ilf-rule::after{
  background:linear-gradient(90deg,transparent,rgba(243,184,212,.5),rgba(215,189,133,.55),transparent)}

/* The gold italic line reads blush here rather than amber. */
.ilf-theme--sweet16 .ilf-gold{color:var(--s16-blush)}

/* --- The 16 motif -------------------------------------------------------
   One oversized outlined numeral, once per page, behind the benefits
   heading. Pure typography: no image, no extra request. Hidden from
   assistive technology and kept well below the photography in contrast so
   it never competes with the hero. */
.ilf-theme--sweet16 #benefits > .ilf-wrap{position:relative}
.ilf-theme--sweet16 #benefits > .ilf-wrap::before{
  content:"16";
  position:absolute;top:-.44em;right:-.02em;z-index:0;
  font-family:var(--ilf-display);font-style:italic;font-weight:400;
  font-size:clamp(150px,24vw,330px);line-height:.82;letter-spacing:-.04em;
  color:transparent;
  -webkit-text-stroke:1px rgba(243,184,212,.17);
  text-stroke:1px rgba(243,184,212,.17);
  pointer-events:none;user-select:none;
}
.ilf-theme--sweet16 #benefits > .ilf-wrap > *{position:relative;z-index:1}

/* --- Hero ---------------------------------------------------------------
   The image-first architecture proven on Weddings, Quinceaneras and
   Birthdays is reused as-is; only its lighting changes. */
.ilf-theme--sweet16 .ilf-hero__glow{
  background:radial-gradient(closest-side,rgba(185,80,133,.30),transparent 72%)}
.ilf-theme--sweet16 .ilf-hero__frame{
  border-color:rgba(243,184,212,.34);
  box-shadow:0 34px 90px -34px rgba(185,80,133,.55),0 0 0 1px rgba(215,189,133,.14)}
.ilf-theme--sweet16 .ilf-eyebrow{color:var(--s16-blush);letter-spacing:4.4px}
/* --- Experience split ---------------------------------------------------
   The Sweet 16 experience photograph is 2528x1696. The shared frame is
   near-square, so without its true ratio the prop table at the right edge
   would be cropped straight off. Height is left to the ratio instead. */
.ilf-theme--sweet16 .ilf-split__frame{
  height:auto;aspect-ratio:2528/1696;
  border-color:rgba(243,184,212,.30);
  box-shadow:0 30px 80px -38px rgba(168,137,232,.5)}
@media (max-width:860px){
  .ilf-theme--sweet16 .ilf-split__frame{height:auto;aspect-ratio:2528/1696}
}

/* --- Benefit cards: glass over plum ------------------------------------- */
.ilf-theme--sweet16 .ilf-event--plain{
  background:
    linear-gradient(168deg,rgba(255,255,255,.07),rgba(255,255,255,.02) 56%,rgba(255,255,255,0)),
    linear-gradient(0deg,rgba(185,80,133,.08),rgba(168,137,232,.05));
  border-color:rgba(243,184,212,.28);
  -webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);
  transition:border-color .5s var(--ilf-ease),transform .5s var(--ilf-ease),box-shadow .5s var(--ilf-ease)}
.ilf-theme--sweet16 .ilf-event--plain:hover{
  border-color:rgba(243,184,212,.8);
  box-shadow:0 18px 50px -26px rgba(185,80,133,.75)}
.ilf-theme--sweet16 .ilf-event--plain h3{color:var(--s16-ivory)}
.ilf-theme--sweet16 .ilf-event--plain p{color:#D9CFD6}

/* --- FAQ ----------------------------------------------------------------- */
.ilf-theme--sweet16 .ilf-faq__item{border-top-color:rgba(243,184,212,.24)}
.ilf-theme--sweet16 .ilf-faq__item:last-child{border-bottom-color:rgba(243,184,212,.24)}
.ilf-theme--sweet16 .ilf-faq__item summary::after{color:var(--s16-blush)}

/* --- Conversion panel ---------------------------------------------------- */
.ilf-theme--sweet16 #cta .ilf-cta{
  padding:clamp(24px,3.6vw,52px);
  border:1px solid rgba(243,184,212,.26);
  border-radius:clamp(18px,2.2vw,28px);
  background:
    linear-gradient(168deg,rgba(185,80,133,.14),rgba(36,19,40,.5) 58%,rgba(9,9,13,.6)),
    linear-gradient(0deg,rgba(215,189,133,.04),rgba(215,189,133,.04));
  box-shadow:0 36px 90px -46px rgba(0,0,0,.95)}
.ilf-theme--sweet16 .ilf-cta__frame{border-color:rgba(243,184,212,.3)}

/* Primary button picks up a champagne-to-rose sweep on this page only. */
.ilf-theme--sweet16 .ilf-btn--primary{
  background:linear-gradient(110deg,#F6E0B4,#D7BD85 48%,#C9789F);color:#1B0E18;border-color:transparent}
.ilf-theme--sweet16 .ilf-btn--ghost{border-color:rgba(243,184,212,.5)}
.ilf-theme--sweet16 .ilf-btn--ghost:hover{background:rgba(243,184,212,.1)}
.ilf-theme--sweet16 .ilf-herocta__link{border-bottom-color:rgba(243,184,212,.4)}

/* --- Sparkle ------------------------------------------------------------
   Four fixed glints behind the hero, drawn as radial gradients on one
   pseudo-element. No JavaScript, no particles, no layout cost, and it sits
   under the photograph rather than over it. */
@keyframes s16-sparkle{0%,100%{opacity:.25}50%{opacity:.75}}
.ilf-theme--sweet16 .ilf-hero::after{
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  background:
    radial-gradient(circle 2.5px at 12% 22%,rgba(243,184,212,.9),transparent 100%),
    radial-gradient(circle 2px   at 86% 16%,rgba(215,189,133,.85),transparent 100%),
    radial-gradient(circle 2.5px at 78% 76%,rgba(168,137,232,.8),transparent 100%),
    radial-gradient(circle 1.8px at 22% 82%,rgba(243,184,212,.75),transparent 100%);
  animation:s16-sparkle 5.5s ease-in-out infinite}
.ilf-theme--sweet16 .ilf-hero > *{position:relative;z-index:1}

@media (prefers-reduced-motion:reduce){
  .ilf-theme--sweet16 .ilf-hero::after{animation:none;opacity:.4}
  .ilf-theme--sweet16 .ilf-event--plain{transition:none}
}

/* Mobile keeps the site-wide 16C.2 centring; only the motif is pulled in so
   it cannot push the layout sideways on a narrow screen. */
@media (max-width:860px){
  .ilf-theme--sweet16 #benefits > .ilf-wrap::before{
    font-size:clamp(116px,34vw,190px);top:-.34em;right:-.01em}
}

/* === Phase 21: page motion signatures ==================================
   Each commercial page family gets a small, recognisable combination of
   effects rather than one generic fade repeated everywhere. All of it is
   opacity / transform / clip-path / filter only, all gated behind .ilf-js
   so nothing is hidden without JavaScript, and all of it is neutralised by
   the reduced-motion block at the end of this section.
   The ilf-m-* class sits on <main> and is independent of the colour
   themes (ilf-theme--*), so no palette changes. ====================== */

/* Shared helpers ------------------------------------------------------- */
.ilf-js [class*="ilf-m-"] .ilf-anim{will-change:opacity,transform}
.ilf-js [class*="ilf-m-"] .ilf-anim.is-in{will-change:auto}

/* 1. WEDDINGS - Romantic Cinema
   Long, soft rise with a focus-pull: copy resolves out of a gentle blur
   while photographs settle from a slow push-in. */
.ilf-js .ilf-m-wedding .ilf-anim{
  transform:translateY(36px);filter:blur(7px);
  transition:opacity 1.5s var(--ilf-ease) var(--d,0s),transform 1.6s var(--ilf-ease) var(--d,0s),filter 1.5s var(--ilf-ease) var(--d,0s)}
.ilf-js .ilf-m-wedding .ilf-anim.is-in{transform:none;filter:blur(0)}
.ilf-js .ilf-m-wedding .ilf-mask img{transform:scale(1.18);transition:clip-path 1.9s var(--ilf-ease) var(--d,0s),transform 2.9s var(--ilf-ease) var(--d,0s)}
.ilf-js .ilf-m-wedding .ilf-rule{transition:transform 2.1s var(--ilf-ease)}

/* 2. QUINCEANERA - Regal Celebration
   A ceremonial lift: each element rises and settles out of a slight
   reduction, and a single gold light passes across every photograph once. */
.ilf-js .ilf-m-quince .ilf-anim{
  transform:translateY(30px) scale(.965);transform-origin:50% 100%;
  transition:opacity 1.25s var(--ilf-ease) var(--d,0s),transform 1.45s var(--ilf-ease) var(--d,0s)}
.ilf-js .ilf-m-quince .ilf-anim.is-in{transform:none}
.ilf-js .ilf-m-quince .ilf-mask{position:relative;overflow:hidden}
.ilf-js .ilf-m-quince .ilf-mask::after{
  content:"";position:absolute;inset:0;z-index:2;pointer-events:none;opacity:0;
  background:linear-gradient(104deg,transparent 36%,rgba(233,199,120,.34) 50%,transparent 64%);
  transform:translateX(-120%)}
.ilf-js .ilf-m-quince .ilf-mask.is-in::after{animation:ilf-sheen 1.9s var(--ilf-ease) .45s 1 both}
@keyframes ilf-sheen{0%{opacity:0;transform:translateX(-120%)}18%{opacity:1}100%{opacity:0;transform:translateX(120%)}}

/* 3. BIRTHDAYS - Celebratory Energy
   Quicker, springier card entrances with a wider stagger across the grid. */
.ilf-js .ilf-m-birthday .ilf-anim{
  transform:translateY(30px);
  transition:opacity .72s var(--ilf-ease) var(--d,0s),transform .8s cubic-bezier(.2,.9,.3,1.0) var(--d,0s)}
.ilf-js .ilf-m-birthday .ilf-anim.is-in{transform:none}
.ilf-js .ilf-m-birthday .ilf-event{transform:translateY(48px) scale(.93)}
.ilf-js .ilf-m-birthday .ilf-event.is-in{transform:none}
.ilf-js .ilf-m-birthday .ilf-events .ilf-event:nth-child(1){--d:.00s}
.ilf-js .ilf-m-birthday .ilf-events .ilf-event:nth-child(2){--d:.11s}
.ilf-js .ilf-m-birthday .ilf-events .ilf-event:nth-child(3){--d:.22s}
.ilf-js .ilf-m-birthday .ilf-events .ilf-event:nth-child(4){--d:.33s}

/* 4. SWEET 16 - Contemporary Glamour
   Editorial side-wipe on photographs, copy slides in from the left, and the
   gold text carries a single shimmer. Palette and layout are untouched. */
.ilf-js .ilf-m-sweet16 .ilf-anim{
  transform:translateX(-26px);
  transition:opacity 1s var(--ilf-ease) var(--d,0s),transform 1.1s var(--ilf-ease) var(--d,0s)}
.ilf-js .ilf-m-sweet16 .ilf-anim.is-in{transform:none}
.ilf-js .ilf-m-sweet16 .ilf-mask img{clip-path:inset(0 100% 0 0);transition:clip-path 1.35s var(--ilf-ease) var(--d,0s),transform 2.2s var(--ilf-ease) var(--d,0s)}
.ilf-js .ilf-m-sweet16 .ilf-mask.is-in img{clip-path:inset(0 0 0 0)}
.ilf-js .ilf-m-sweet16 h1.is-in .ilf-gold,
.ilf-js .ilf-m-sweet16 h2.is-in .ilf-gold{
  background:linear-gradient(100deg,currentColor 38%,#FFF1D0 50%,currentColor 62%);
  background-size:260% 100%;-webkit-background-clip:text;background-clip:text;
  animation:ilf-shimmer 2.6s var(--ilf-ease) .5s 1 both}
@keyframes ilf-shimmer{0%{background-position:160% 0}100%{background-position:-60% 0}}

/* 5. ANNIVERSARY - Timeless Romance
   The slowest pacing on the site: very small movement, very long settle. */
.ilf-js .ilf-m-anniversary .ilf-anim{
  transform:translateY(14px);
  transition:opacity 1.9s var(--ilf-ease) var(--d,0s),transform 2s var(--ilf-ease) var(--d,0s)}
.ilf-js .ilf-m-anniversary .ilf-anim.is-in{transform:none}
.ilf-js .ilf-m-anniversary .ilf-mask img{transform:scale(1.1);transition:clip-path 2.2s var(--ilf-ease) var(--d,0s),transform 3.4s var(--ilf-ease) var(--d,0s)}
.ilf-js .ilf-m-anniversary .ilf-mask{position:relative;overflow:hidden}
.ilf-js .ilf-m-anniversary .ilf-mask::after{
  content:"";position:absolute;inset:0;z-index:2;pointer-events:none;opacity:0;
  background:radial-gradient(60% 120% at 20% 0%,rgba(255,232,186,.26),transparent 70%)}
.ilf-js .ilf-m-anniversary .ilf-mask.is-in::after{animation:ilf-warmlight 3.4s ease-out .3s 1 both}
@keyframes ilf-warmlight{0%{opacity:0}30%{opacity:1}100%{opacity:0}}

/* 6. CORPORATE - Modern Precision
   No blur, no scale: crisp lateral entrances on headings and a tight,
   sequential card build. Deliberately the most restrained family. */
.ilf-js .ilf-m-corporate .ilf-anim{
  transform:translateX(-22px);
  transition:opacity .6s cubic-bezier(.4,0,.2,1) var(--d,0s),transform .66s cubic-bezier(.4,0,.2,1) var(--d,0s)}
.ilf-js .ilf-m-corporate .ilf-anim.is-in{transform:none}
.ilf-js .ilf-m-corporate .ilf-event{transform:translateY(22px)}
.ilf-js .ilf-m-corporate .ilf-event.is-in{transform:none}
.ilf-js .ilf-m-corporate .ilf-events .ilf-event:nth-child(1){--d:.00s}
.ilf-js .ilf-m-corporate .ilf-events .ilf-event:nth-child(2){--d:.07s}
.ilf-js .ilf-m-corporate .ilf-events .ilf-event:nth-child(3){--d:.14s}
.ilf-js .ilf-m-corporate .ilf-events .ilf-event:nth-child(4){--d:.21s}
.ilf-js .ilf-m-corporate .ilf-rule{transition:transform .9s cubic-bezier(.4,0,.2,1)}

/* 7. HOLIDAY - Seasonal Elegance
   A warm golden bloom passes over each photograph as it layers in. No
   particles, no flashing: one slow wash, once. */
.ilf-js .ilf-m-holiday .ilf-anim{
  transform:translateY(26px) scale(.98);
  transition:opacity 1.15s var(--ilf-ease) var(--d,0s),transform 1.3s var(--ilf-ease) var(--d,0s)}
.ilf-js .ilf-m-holiday .ilf-anim.is-in{transform:none}
.ilf-js .ilf-m-holiday .ilf-mask{position:relative;overflow:hidden}
.ilf-js .ilf-m-holiday .ilf-mask::after{
  content:"";position:absolute;inset:0;z-index:2;pointer-events:none;opacity:0;
  background:radial-gradient(70% 90% at 50% 110%,rgba(255,206,122,.34),transparent 72%)}
.ilf-js .ilf-m-holiday .ilf-mask.is-in::after{animation:ilf-glimmer 2.8s ease-out .35s 1 both}
@keyframes ilf-glimmer{0%{opacity:0}35%{opacity:1}100%{opacity:0}}

/* 8. AUDIO GUESTBOOK - Intimate Nostalgia
   A spotlight opens on each photograph, and headings are underlined by a
   line that grows from the centre like a waveform settling. */
.ilf-js .ilf-m-agb .ilf-anim{
  transform:translateY(20px);
  transition:opacity 1.3s var(--ilf-ease) var(--d,0s),transform 1.4s var(--ilf-ease) var(--d,0s)}
.ilf-js .ilf-m-agb .ilf-anim.is-in{transform:none}
.ilf-js .ilf-m-agb .ilf-mask img{clip-path:inset(0 0 0 0);transform:scale(1.12);transition:transform 2.6s var(--ilf-ease) var(--d,0s)}
.ilf-js .ilf-m-agb .ilf-mask{position:relative;overflow:hidden}
.ilf-js .ilf-m-agb .ilf-mask::after{
  content:"";position:absolute;inset:0;z-index:2;pointer-events:none;
  background:radial-gradient(42% 60% at 50% 50%,transparent 38%,rgba(6,5,8,.72) 100%);
  opacity:1;transition:opacity 2.2s var(--ilf-ease) var(--d,0s)}
.ilf-js .ilf-m-agb .ilf-mask.is-in::after{opacity:0}
.ilf-js .ilf-m-agb .ilf-section h2{position:relative}
.ilf-js .ilf-m-agb .ilf-section h2::after{
  content:"";position:absolute;left:50%;bottom:-.34em;height:2px;width:0;
  transform:translateX(-50%);
  background:linear-gradient(90deg,transparent,var(--ilf-accent,#D8A952),transparent);
  transition:width 1.5s var(--ilf-ease) .25s}
.ilf-js .ilf-m-agb .ilf-section h2.is-in::after{width:min(220px,46%)}

/* 9. MIRROR ME HUB - Reflective Drama
   Photographs open from the centre line like a mirror catching light, and a
   controlled sweep crosses the frame. Hover lifts the frame on devices that
   actually have a pointer. */
.ilf-js .ilf-m-mirror .ilf-anim{
  transform:translateY(24px);
  transition:opacity 1.05s var(--ilf-ease) var(--d,0s),transform 1.15s var(--ilf-ease) var(--d,0s)}
.ilf-js .ilf-m-mirror .ilf-anim.is-in{transform:none}
.ilf-js .ilf-m-mirror .ilf-mask img{clip-path:inset(50% 0 50% 0);transition:clip-path 1.5s var(--ilf-ease) var(--d,0s),transform 2.4s var(--ilf-ease) var(--d,0s)}
.ilf-js .ilf-m-mirror .ilf-mask.is-in img{clip-path:inset(0 0 0 0)}
.ilf-js .ilf-m-mirror .ilf-mask{position:relative;overflow:hidden}
.ilf-js .ilf-m-mirror .ilf-mask::after{
  content:"";position:absolute;inset:0;z-index:2;pointer-events:none;opacity:0;
  background:linear-gradient(100deg,transparent 40%,rgba(255,255,255,.2) 50%,transparent 60%);
  transform:translateX(-120%)}
.ilf-js .ilf-m-mirror .ilf-mask.is-in::after{animation:ilf-sheen 1.7s var(--ilf-ease) .55s 1 both}
@media (hover:hover) and (pointer:fine){
  .ilf-m-mirror .ilf-frame{transition:transform .5s var(--ilf-ease),box-shadow .5s var(--ilf-ease)}
  .ilf-m-mirror .ilf-frame:hover{transform:translateY(-6px)}
}

/* 10. LOCATIONS - Geographic Elegance
   One restrained language, two readings: the hub builds its county list as a
   staggered column, the county pages drift in laterally. */
.ilf-js .ilf-m-locations .ilf-anim{
  transform:translateY(22px);
  transition:opacity .95s var(--ilf-ease) var(--d,0s),transform 1.05s var(--ilf-ease) var(--d,0s)}
.ilf-js .ilf-m-locations .ilf-anim.is-in{transform:none}
.ilf-js .ilf-m-locations .ilf-events .ilf-event{transform:translateY(34px)}
.ilf-js .ilf-m-locations .ilf-events .ilf-event.is-in{transform:none}
.ilf-js .ilf-m-locations .ilf-events .ilf-event:nth-child(1){--d:.00s}
.ilf-js .ilf-m-locations .ilf-events .ilf-event:nth-child(2){--d:.12s}
.ilf-js .ilf-m-locations .ilf-events .ilf-event:nth-child(3){--d:.24s}
.ilf-js .ilf-m-locations .ilf-events .ilf-event:nth-child(4){--d:.36s}
.ilf-js .ilf-m-county .ilf-anim{
  transform:translateX(24px);
  transition:opacity 1.05s var(--ilf-ease) var(--d,0s),transform 1.15s var(--ilf-ease) var(--d,0s)}
.ilf-js .ilf-m-county .ilf-anim.is-in{transform:none}
.ilf-js .ilf-m-county .ilf-mask img{transform:scale(1.08);transition:clip-path 1.5s var(--ilf-ease) var(--d,0s),transform 2.4s var(--ilf-ease) var(--d,0s)}

/* 11. CONTACT - Clear & Welcoming
   Headings and the contact card ease in. The form itself is deliberately
   excluded from every hidden state so typing, focus, validation and submit
   are never waiting on an animation. */
.ilf-js .ilf-m-contact .ilf-anim{
  transform:translateY(16px);
  transition:opacity .7s var(--ilf-ease) var(--d,0s),transform .75s var(--ilf-ease) var(--d,0s)}
.ilf-js .ilf-m-contact .ilf-anim.is-in{transform:none}
.ilf-js .ilf-m-contact .wpforms-container,
.ilf-js .ilf-m-contact .wpforms-container *,
.ilf-js .ilf-m-contact form,
.ilf-js .ilf-m-contact form *{opacity:1 !important;transform:none !important;clip-path:none !important;filter:none !important;animation:none !important}

/* 12. PRIVACY POLICY - Minimal
   Hero entrance only. The prose carries no animation classes at all, so the
   legal text is never gated behind motion. */
.ilf-js .ilf-m-legal .ilf-anim{
  transform:translateY(10px);
  transition:opacity .55s var(--ilf-ease) var(--d,0s),transform .6s var(--ilf-ease) var(--d,0s)}
.ilf-js .ilf-m-legal .ilf-anim.is-in{transform:none}
.ilf-js .ilf-m-legal .ilf-prose,
.ilf-js .ilf-m-legal .ilf-prose *{opacity:1 !important;transform:none !important;filter:none !important}

/* Reduced motion: every signature above collapses to a static, readable page. */
@media (prefers-reduced-motion:reduce){
  .ilf-js [class*="ilf-m-"] .ilf-anim,
  .ilf-js [class*="ilf-m-"] .ilf-mask,
  .ilf-js [class*="ilf-m-"] .ilf-rule,
  .ilf-js [class*="ilf-m-"] .ilf-event{
    opacity:1 !important;transform:none !important;clip-path:none !important;filter:none !important}
  .ilf-js [class*="ilf-m-"] .ilf-mask img{transform:none !important;clip-path:none !important}
  .ilf-js [class*="ilf-m-"] .ilf-mask::after,
  .ilf-js [class*="ilf-m-"] .ilf-section h2::after{animation:none !important;opacity:0 !important}
  .ilf-js .ilf-m-agb .ilf-mask::after{opacity:0 !important}
  .ilf-js [class*="ilf-m-"] h1 .ilf-gold,
  .ilf-js [class*="ilf-m-"] h2 .ilf-gold{animation:none !important;background:none !important;-webkit-background-clip:border-box !important;background-clip:border-box !important}
}

/* Phase 21 fix: settle the push-in.
   The four families below set their own scale on .ilf-mask img, which out-
   specifies the shared .ilf-mask.is-in img reset, so each needs its own
   resting state or the photograph would stay permanently zoomed. */
.ilf-js .ilf-m-wedding .ilf-mask.is-in img{transform:scale(1)}
.ilf-js .ilf-m-anniversary .ilf-mask.is-in img{transform:scale(1)}
.ilf-js .ilf-m-agb .ilf-mask.is-in img{transform:scale(1)}
.ilf-js .ilf-m-county .ilf-mask.is-in img{transform:scale(1)}

/* Hard stop: set by home.js six seconds in. Normal playback is long finished,
   so this only ever rescues a browser that froze a transition part-way. */
.ilf-js.ilf-motion-done .ilf-anim,
.ilf-js.ilf-motion-done .ilf-mask,
.ilf-js.ilf-motion-done .ilf-rule,
.ilf-js.ilf-motion-done .ilf-event{transition:none !important;opacity:1 !important;transform:none !important;clip-path:none !important;filter:none !important}
.ilf-js.ilf-motion-done .ilf-mask img{transition:none !important;transform:none !important;clip-path:none !important;opacity:1 !important}
.ilf-js.ilf-motion-done .ilf-mask::after{opacity:0 !important;animation:none !important}

/* ======================================================================
   Phase 22: Anniversary, Corporate and Holiday page treatments.
   Appended only; no existing rule above is edited. Each block layers an
   atmosphere over Midnight Gold without replacing it, and sets the true
   aspect ratio of that page's own hero photograph so the booth is never
   cropped. No new motion is introduced here: the Phase 21 signatures
   (.ilf-m-anniversary / -corporate / -holiday) still own all movement.
   ====================================================================== */

/* --- Anniversaries: Timeless Romance ---------------------------------
   Warm champagne gold, softer and lower-contrast than the amber used on
   Weddings, with a deliberately centred hero and section headings. The
   editorial split in #experience stays left-aligned so the page is
   balanced rather than uniformly centred. */
.ilf-theme--anniversary{--ilf-theme-tint:rgba(224,178,120,.055);--ilf-theme-edge:rgba(224,178,120,.32);--ilf-theme-edge-hover:rgba(240,206,160,.85);--ilf-theme-glow:rgba(228,176,118,.12);--ilf-hero-ar:1500/2009}
.ilf-theme--anniversary .ilf-section{position:relative}
.ilf-theme--anniversary .ilf-section > .ilf-wrap{position:relative;z-index:1}
.ilf-theme--anniversary #benefits::before,
.ilf-theme--anniversary #cta::before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse 64% 56% at 50% 0%,var(--ilf-theme-glow),transparent 74%);pointer-events:none;z-index:0}
.ilf-theme--anniversary .ilf-hero__glow{background:radial-gradient(closest-side,rgba(236,196,142,.26),transparent 72%)}
.ilf-theme--anniversary .ilf-eyebrow{letter-spacing:4.2px}
.ilf-theme--anniversary .ilf-rule{background:linear-gradient(90deg,transparent,rgba(228,176,118,.45),transparent)}
.ilf-theme--anniversary .ilf-faq__item{border-top-color:rgba(228,176,118,.2)}
.ilf-theme--anniversary .ilf-faq__item:last-child{border-bottom-color:rgba(228,176,118,.2)}
.ilf-theme--anniversary .ilf-hero--imagefirst .ilf-hero__copy{text-align:center}
.ilf-theme--anniversary .ilf-hero--imagefirst .ilf-hero__lede-after{text-align:center;margin-inline:auto}
.ilf-theme--anniversary #benefits > .ilf-wrap > h2,
.ilf-theme--anniversary #faq h2,
.ilf-theme--anniversary #more > .ilf-wrap > h2{text-align:center}

/* --- Corporate & Company Parties: Modern Luxury ----------------------
   Charcoal and graphite cooled against the same gold, with a structural
   hairline marking each section heading. No soft bloom: the atmosphere
   is a flat top-down wash rather than a glow, which reads as restrained
   rather than celebratory. */
.ilf-theme--corporate{--ilf-theme-tint:rgba(190,196,206,.05);--ilf-theme-edge:rgba(214,178,104,.3);--ilf-theme-edge-hover:rgba(236,204,142,.8);--ilf-theme-glow:rgba(150,162,180,.09);--ilf-hero-ar:1500/2009}
.ilf-theme--corporate .ilf-section{position:relative}
.ilf-theme--corporate .ilf-section > .ilf-wrap{position:relative;z-index:1}
.ilf-theme--corporate #benefits::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(150,162,180,.085),transparent 62%);pointer-events:none;z-index:0}
.ilf-theme--corporate .ilf-hero__glow{background:radial-gradient(closest-side,rgba(176,188,206,.2),transparent 70%)}
.ilf-theme--corporate .ilf-eyebrow{letter-spacing:5px;color:#D7C79E}
.ilf-theme--corporate .ilf-rule{background:linear-gradient(90deg,transparent,rgba(214,178,104,.38),rgba(176,188,206,.26),transparent)}
.ilf-theme--corporate .ilf-event--plain{border-color:rgba(190,196,206,.18)}
.ilf-theme--corporate .ilf-faq__item{border-top-color:rgba(190,196,206,.18)}
.ilf-theme--corporate .ilf-faq__item:last-child{border-bottom-color:rgba(190,196,206,.18)}
@media (min-width:861px){
  /* Desktop only: below 861px the split and CTA text centre themselves,
     and a left-edge rule against centred text would read as a mistake. */
  .ilf-theme--corporate .ilf-section h2{position:relative;padding-left:clamp(14px,1.6vw,22px)}
  .ilf-theme--corporate .ilf-section h2::before{content:"";position:absolute;left:0;top:.18em;bottom:.18em;width:2px;background:linear-gradient(180deg,rgba(214,178,104,.9),rgba(214,178,104,.12));border-radius:2px}
}

/* --- Christmas & Holiday Parties: Festive Elegance -------------------
   A deeper, more saturated ember gold than either page above, warm
   enough to read as seasonal without a single snowflake or sparkle.
   The hero photograph here is landscape rather than portrait, so this
   is the one page whose hero frame is width-driven. */
.ilf-theme--holiday{--ilf-theme-tint:rgba(214,146,74,.06);--ilf-theme-edge:rgba(222,160,86,.34);--ilf-theme-edge-hover:rgba(244,198,130,.85);--ilf-theme-glow:rgba(206,128,58,.14);--ilf-hero-ar:1500/1006}
.ilf-theme--holiday .ilf-section{position:relative}
.ilf-theme--holiday .ilf-section > .ilf-wrap{position:relative;z-index:1}
.ilf-theme--holiday #benefits::before,
.ilf-theme--holiday #cta::before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse 70% 60% at 50% 0%,var(--ilf-theme-glow),transparent 72%);pointer-events:none;z-index:0}
.ilf-theme--holiday .ilf-hero__glow{background:radial-gradient(closest-side,rgba(240,186,112,.28),transparent 70%)}
.ilf-theme--holiday .ilf-eyebrow{color:#EFC489;letter-spacing:4.4px}
.ilf-theme--holiday .ilf-rule{background:linear-gradient(90deg,transparent,rgba(222,160,86,.5),rgba(240,206,140,.4),transparent)}
.ilf-theme--holiday .ilf-faq__item{border-top-color:rgba(222,160,86,.22)}
.ilf-theme--holiday .ilf-faq__item:last-child{border-bottom-color:rgba(222,160,86,.22)}
.ilf-theme--holiday .ilf-hero--imagefirst .ilf-hero__frame{height:auto;width:100%;max-width:100%}

/* --- Phase 22: per-element settle -------------------------------------
   Phase 21 guaranteed that content is never left invisible with a single
   six-second switch that froze every element on the page at once. That
   also force-revealed sections the visitor had not scrolled to yet, so
   the lower half of a long page never animated. The guarantee now runs
   per element instead: home.js marks an element .is-done once it has been
   revealed long enough to have finished, which pins its end state whether
   or not the transition actually ran. Elements the visitor has not
   reached are left alone, so their motion still plays on the way down. */
.ilf-js .ilf-anim.is-done,
.ilf-js .ilf-mask.is-done,
.ilf-js .ilf-mask.is-done img,
.ilf-js .ilf-rule.is-done,
.ilf-js .ilf-rule.is-done::after{transition:none!important}
/* --- Inline links in body copy ----------------------------------------
   .ilf-copy carries the editorial paragraphs in #experience on every
   service page, and those paragraphs contain inline links: /locations/,
   /mirror-me-photo-booth/ and, on Anniversaries, /audio-guestbook/.
   The global reset sets .ilf a{color:inherit;text-decoration:none} and
   no rule ever restored an affordance for these, so every one of them
   rendered identically to the surrounding sentence and could not be
   found. This mirrors the already-approved .ilf-prose a treatment
   rather than introducing a second link style, so the two match. */
.ilf .ilf-copy a{color:var(--ilf-accent);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.ilf .ilf-copy a:hover,.ilf .ilf-copy a:focus-visible{color:var(--ilf-ink)}

/* --- Homepage hero, stacked layouts: the photograph leads ---------------
   Owner observation on a Samsung Galaxy S25 Ultra: the first screen was
   logo, headline, a paragraph and two buttons, with the white-rose booth
   pushed below the fold. Wherever the hero collapses to a single column
   the photograph now comes first, so the booth is the first thing seen.
   order:-1 on the grid item does this with no markup change, so the DOM
   keeps heading-before-image for assistive technology.
   The frame is also forced square here. The source file is 2048x2048, but
   the stacked frame was height:clamp(340px,58vw,430px) - a wide, short box
   that cropped the top and bottom off a square photograph and cut into the
   gold frame and roses on tablets. aspect-ratio:1/1 matches the source
   exactly, so nothing is cropped at any stacked width.
   Everything is scoped to body.home and to max-width:860px, so no other
   template and no desktop composition is affected. */
@media (max-width:860px){
  body.home .ilf-hero{gap:clamp(20px,4.6vw,30px);padding-top:clamp(22px,5.5vw,34px)}
  body.home .ilf-hero__frame{order:-1;height:auto;aspect-ratio:1/1}
  body.home .ilf-hero__copy .ilf-copy{max-width:42ch;margin-inline:auto}
}
@media (max-width:560px){
  body.home .ilf-hero{gap:clamp(16px,4vw,24px);padding-top:clamp(18px,4.5vw,26px)}
}
