/* The Brand Build Up, homepage A: footer (package C3F, 24 Nov 2026, PLAN-homepage-A-2026-11-24.md 1.2).
   The footer stands on the ink lacquer (field wiring and the top edge belong to the integration builder: no background and no
   border on .site-footer here). Columns as live. The newsletter field and its button are a cream and a yellow slab: lit top
   edge, side face, hard shadow, band on --ha-light. "Notify Me" sinks onto its shadow when pressed and springs back.
   The credit stays in the bottom row: cream on ink at full opacity. Base rules = the composed state. */

@property --ha-fs-d{syntax:'<number>';inherits:true;initial-value:1}

/* ---------- the frame, all seven pages (package F, 24 Nov 2026; values equal to the homepage's ha-stage.css and
   polish-footer.css, so the homepage does not change). The footer box shows the field it rises from (the page sets
   --ha-under on .site-footer, default ink); the ink face is the .ha-ft-field div; a full-width Build Yellow slab lies on
   its top edge (ha-lock.js lets it hover while the face rises and fall onto it at the lock). ---------- */
.site-footer{--ha-ftslab-h:28px;position:relative;isolation:isolate;border-block-start:0;
  background:var(--ha-under,var(--ha-field-i));padding-block-start:calc(50px + var(--ha-ftslab-h))}
body:not(.page-index) .site-footer{margin-block-start:0}
@media (min-width:700px){.site-footer{padding-block-start:calc(66px + var(--ha-ftslab-h))}}
@media (max-width:899px){.site-footer{--ha-ftslab-h:18px}}
.site-footer > .ha-ft-field{position:absolute;inset:0;z-index:0;pointer-events:none}
.site-footer > .container{position:relative;z-index:1}
.site-footer::before{content:"";position:absolute;left:0;right:0;top:0;block-size:var(--ha-ftslab-h,28px);z-index:2;pointer-events:none;
  background:linear-gradient(transparent,transparent) var(--ha-slab-x,40%) 0/260% 100% no-repeat,
    linear-gradient(180deg,#FDF0A8,#FBE993);
  box-shadow:inset 0 -3px 0 rgb(150 122 15/.55),0 var(--ha-ft-sh,12px) 0 0 #0E0F12}
.site-footer .footer__col h2{font-family:var(--font-head);font-weight:700;font-size:1.125rem;line-height:1.2;
  text-transform:uppercase;letter-spacing:.06em;color:var(--text-on-dark);margin-block-end:14px;text-wrap:balance}
.site-footer .footer__nav{margin-block-start:40px}
.site-footer .footer__col li>a,.site-footer .footer__nav a,.site-footer .footer__bottom>a{
  background:linear-gradient(var(--ha-y,#FFEE8C),var(--ha-y,#FFEE8C)) no-repeat 0 84%/0 3px;
  transition:color .2s cubic-bezier(.2,.8,.2,1),background-size .2s cubic-bezier(.2,.8,.2,1)}
.site-footer .footer__col li>a:hover,.site-footer .footer__nav a:hover,.site-footer .footer__bottom>a:hover,
.site-footer .footer__col li>a:focus-visible,.site-footer .footer__nav a:focus-visible,.site-footer .footer__bottom>a:focus-visible{background-size:100% 3px}

/* ---------- headlines: the closing line carries the chapter ---------- */
html:root .site-footer .footer__col--news h2{
  font-size:clamp(2.25rem,4vw,3.75rem);line-height:1;letter-spacing:.01em;max-inline-size:none;margin-block-end:30px;color:var(--ha-cream,#FBF8EE)}
html:root .site-footer .footer__col--news h2 .ha-line{display:block}
html:root .site-footer .footer__col:not(.footer__col--news) h2 .ha-line{display:block}

/* ---------- the slab pair ---------- */
html:root .site-footer .newsletter__form.bbu-form--dark{
  background:none;border:0;border-radius:0;padding:0;box-shadow:none;gap:18px;align-items:stretch;max-inline-size:none}
html:root .site-footer .newsletter__form.bbu-form--dark:focus-within{border:0;box-shadow:none}

/* the field: a cream slab */
html:root .site-footer .newsletter__form input[type="email"]{
  --ha-fs-d:1;
  flex:1 1 auto;min-inline-size:0;block-size:62px;padding:0 24px;border:0;border-radius:10px;
  color:var(--ha-ink,#16181D);font-size:1.125rem;
  background:linear-gradient(transparent,transparent) calc(var(--ha-slab-x,40%) * 1.2 + 6%) 0/260% 100% no-repeat,
    linear-gradient(180deg,#FAF8F1,#F7F3E7);
  box-shadow:inset 0 -2px 0 rgb(120 105 60/.2),
    0 calc(8px * var(--ha-fs-d)) 0 0 #BBB28E,
    calc(7px * var(--ha-fs-d)) calc(7px * var(--ha-fs-d)) 0 0 #000,
    calc(7px * var(--ha-fs-d)) calc(7px * var(--ha-fs-d) + 8px) 0 0 #000,
    18px 40px 50px -18px rgb(0 0 0/.7)}
html:root .site-footer .newsletter__form input[type="email"]::placeholder{color:#656153;opacity:1}
html:root .site-footer .newsletter__form input[type="email"]:focus,
html:root .site-footer .newsletter__form input[type="email"]:focus-visible{outline:3px solid var(--ha-y,#FFEE8C);outline-offset:4px}

/* the button: a yellow slab; --ha-fs-d is its depth (1 at rest, 0 pressed, a little over 1 as it springs back) */
html:root .site-footer .newsletter__form .btn{
  --ha-fs-d:1;
  flex:none;min-block-size:62px;padding-inline:clamp(22px,2.4vw,34px);border:0;border-radius:10px;
  color:var(--ha-ink,#16181D);font-size:1.125rem;font-weight:700;
  background:linear-gradient(transparent,transparent) calc(var(--ha-slab-x,40%) * 1.2 + 6%) 0/260% 100% no-repeat,
    linear-gradient(165deg,#FDEE9A,#FAE887);
  box-shadow:inset 0 -2px 0 rgb(150 122 15/.45),
    0 calc(8px * var(--ha-fs-d)) 0 0 #C9AB38,
    calc(7px * var(--ha-fs-d)) calc(7px * var(--ha-fs-d)) 0 0 #000,
    calc(7px * var(--ha-fs-d)) calc(7px * var(--ha-fs-d) + 8px) 0 0 #000,
    18px 40px 50px -18px rgb(0 0 0/.7);
  transform:translate(calc(7px * (1 - var(--ha-fs-d))),calc(8px * (1 - var(--ha-fs-d))));
  transition:--ha-fs-d .62s cubic-bezier(.3,1.9,.5,1)}
@media (hover:hover) and (pointer:fine){
  html:root .site-footer .newsletter__form .btn:hover{--ha-fs-d:1.22;transition-duration:.2s;transition-timing-function:cubic-bezier(.23,1,.32,1)}
}
html:root .site-footer .newsletter__form .btn:active,
html:root .site-footer .newsletter__form .btn.ha-press{
  --ha-fs-d:0;transition-duration:.07s;transition-timing-function:ease-out;
  background-color:transparent;border:0;color:var(--ha-ink,#16181D)}
html:root .site-footer .newsletter__form .btn:focus-visible{outline:3px solid var(--ha-cream,#FBF8EE);outline-offset:5px}
html:root .site-footer .newsletter__form.is-sending .btn{opacity:1;filter:saturate(.7)}

html:root .site-footer .form-note{margin-block-start:26px;font-size:.875rem;line-height:1.55;color:var(--muted-dark,#B9B3A8)}
/* the newsletter column: the error line sits directly under the field, the privacy note after it */
.site-footer .footer__col--news{display:flex;flex-direction:column;align-items:stretch}
.site-footer .footer__col--news > h2{order:0}
.site-footer .footer__col--news > .newsletter__form{order:1}
.site-footer .footer__col--news > .form-status{order:2;margin-block-start:14px}
.site-footer .footer__col--news > .form-note{order:3}
html:root .site-footer .form-status.is-error{padding:0 0 0 10px;border-inline-start:4px solid #FF6B5E;color:#FFB8B1;font:600 .875rem/1.4 var(--font-body)}
html:root .site-footer .form-status.is-ok{margin-block-start:0;padding:18px 22px;border-radius:10px;color:var(--ha-ink,#16181D);font-size:1rem;
  background:linear-gradient(165deg,#FDEE9A,#FAE887);box-shadow:inset 0 -2px 0 rgb(150 122 15/.45),7px 7px 0 0 #000}

/* tap targets: 44 px hit areas on the small inline links without moving the text */
.site-footer .footer__nav a{min-inline-size:44px}
.site-footer .form-note a,.site-footer .footer__credit a{position:relative}
.site-footer .form-note a::after,.site-footer .footer__credit a::after{content:"";position:absolute;inset:-14px -8px}

/* the menu's button (all seven pages): full width like the items above it */
.nav-panel .nav-panel__row .btn{flex:1 1 auto;inline-size:100%}

/* ---------- the credit: cream on ink, full opacity, 16 px, in the bottom row ---------- */
html:root .site-footer .footer__credit{color:var(--ha-cream,#FBF8EE);opacity:1;font-size:1rem}
html:root .site-footer .footer__credit a,html:root .site-footer .footer__bottom .footer__credit a{
  color:var(--ha-cream,#FBF8EE);opacity:1;text-decoration:underline;text-decoration-color:currentColor;text-decoration-thickness:1.5px;font-weight:600}

/* ---------- phone: columns stacked as live; the slabs share the width ---------- */
@media (max-width:699px){
  .site-footer .footer__nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}
  .site-footer .footer__bottom{display:grid;grid-template-columns:auto auto;justify-content:space-between;gap:0 16px;font-size:.875rem}
  .site-footer .footer__bottom > span:first-child{grid-column:1 / -1}
  html:root .site-footer .footer__col--news h2{font-size:clamp(2.125rem,10vw,2.75rem);margin-block-end:26px}
  html:root .site-footer .newsletter__form.bbu-form--dark{gap:16px}
  html:root .site-footer .newsletter__form input[type="email"]{block-size:58px;padding:0 18px;font-size:1.0625rem}
  html:root .site-footer .newsletter__form .btn{min-block-size:58px;padding-inline:20px;font-size:1.0625rem}
}

@media (prefers-reduced-motion:reduce){
  html:root .site-footer .newsletter__form .btn{transition:none}
}
