/* Torn-poster footer with an Earth-filled wordmark. */

.tear-footer{
  --tear-sheet:#151517;
  --tear-ink:#F5F1E8;
  --tear-paper:#F5F1E8;
  --tear-paper-ink:#0B0B0C;
  --tear-line:rgba(245,241,232,.18);
  --tear-paper-line:rgba(11,11,12,.18);
  position:relative;
  min-height:760px;
  background:var(--tear-paper);
  color:var(--tear-paper-ink);
  overflow:hidden;
  isolation:isolate;
  border-top:0;
}
html[data-theme="light"] .tear-footer{--tear-sheet:#0B0B0C;--tear-ink:#F5F1E8}

.tear-paper{position:absolute;inset:0;background:var(--tear-paper)}
.tear-mesh{position:absolute;left:0;right:0;bottom:0;z-index:0;width:100%;height:clamp(150px,22vh,210px);object-fit:fill;opacity:.95;pointer-events:none;-webkit-mask-image:linear-gradient(to top,#000 0%,#000 42%,rgba(0,0,0,.55) 72%,transparent 100%);mask-image:linear-gradient(to top,#000 0%,#000 42%,rgba(0,0,0,.55) 72%,transparent 100%)}
.tear-rim{position:absolute;left:0;right:0;top:0;z-index:1;height:66%;background:var(--tear-paper);transform:translateY(6px);filter:drop-shadow(0 1px 0 rgba(0,0,0,.12));clip-path:polygon(0 0,100% 0,100% 96%,96% 98%,92% 95%,88% 99%,84% 96%,80% 98%,76% 95%,72% 99%,68% 96%,64% 98%,60% 95%,56% 99%,52% 96%,48% 98%,44% 95%,40% 99%,36% 96%,32% 98%,28% 95%,24% 99%,20% 96%,16% 98%,12% 95%,8% 99%,4% 96%,0 98%)}
.tear-sheet{position:absolute;left:0;right:0;top:0;z-index:2;height:66%;background:var(--tear-sheet);color:var(--tear-ink);filter:drop-shadow(0 7px 5px rgba(0,0,0,.35));clip-path:polygon(0 0,100% 0,100% 96%,96% 98%,92% 95%,88% 99%,84% 96%,80% 98%,76% 95%,72% 99%,68% 96%,64% 98%,60% 95%,56% 99%,52% 96%,48% 98%,44% 95%,40% 99%,36% 96%,32% 98%,28% 95%,24% 99%,20% 96%,16% 98%,12% 95%,8% 99%,4% 96%,0 98%)}
.tear-sheet,.tear-rim{transition:clip-path .62s cubic-bezier(.22,1,.36,1)}
.tear-inner{position:relative;z-index:1;height:100%;display:flex;flex-direction:column;padding-top:28px;padding-bottom:112px}

.tear-top{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:16px;border-bottom:1px solid var(--tear-line);font-size:9.5px;letter-spacing:.14em;text-transform:uppercase;color:rgba(245,241,232,.56)}
.tear-top-brand{display:flex;align-items:center;gap:9px;color:var(--tear-ink)}
.tear-top-brand .brand-mark{width:40px;height:20.7px;background:#D4AF37}
.tear-top-brand .brand-word{font-family:var(--font-d);font-size:13px;font-weight:700;letter-spacing:.04em}
.tear-top-brand .brand-tm{font-size:6px;margin-left:-2px}
.tear-clock{font-size:11px;letter-spacing:.06em;font-variant-numeric:tabular-nums;color:rgba(245,241,232,.55)}
.tear-clock b{font-weight:400;color:rgba(245,241,232,.8)}

.tear-main{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(260px,.85fr);gap:clamp(32px,8vw,120px);align-items:end;flex:1;padding-top:clamp(22px,5vh,52px)}
.tear-intro{max-width:560px}
.tear-intro .label{color:#B07A52}
.tear-intro p{max-width:18ch;margin:16px 0 0;font-family:var(--font-d);font-size:clamp(28px,3.5vw,48px);font-weight:600;line-height:1.02;letter-spacing:-.05em}
.tear-intro .tear-note{max-width:38ch;margin-top:20px;font-family:var(--font-b);font-size:13px;font-weight:400;line-height:1.6;letter-spacing:0;color:rgba(245,241,232,.58)}
.tear-toplink{display:inline-flex;align-items:center;gap:9px;margin-top:22px;padding:0 0 6px;border:0;border-bottom:1px solid rgba(245,241,232,.28);background:none;color:rgba(245,241,232,.72);font-family:var(--font-b);font-size:11px;letter-spacing:.12em;text-transform:uppercase;cursor:pointer;transition:color .2s,border-color .2s}
.tear-toplink:hover{color:var(--tear-ink);border-color:#B07A52}
.tear-toplink svg{width:11px;height:11px;transform:rotate(-90deg)}

.tear-cols{display:grid;grid-template-columns:1fr 1fr 1.08fr;gap:clamp(20px,3vw,40px);align-self:end;padding-bottom:6px}
.tear-col{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.tear-col .label{margin-bottom:6px;font-family:var(--font-b);font-size:10.5px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;color:#B07A52}
.tear-col a,.tear-col span{font-size:12px;line-height:1.5;color:rgba(245,241,232,.62);text-decoration:none;transition:color .2s}
.tear-col a:hover{color:var(--tear-ink)}
.tear-col span{color:rgba(245,241,232,.38)}

/* Follow block: two companies, square social buttons, direct email. */
.tear-follow .tear-follow-co{margin:2px 0 0;font-size:12px;line-height:1.4;color:var(--tear-ink)}
.tear-follow .tear-follow-co b{color:#B07A52;font-weight:500}
.tear-social{display:flex;gap:6px;margin:0 0 6px}
.tear-social a{display:grid;place-items:center;width:34px;height:34px;border:1px solid rgba(245,241,232,.24);color:rgba(245,241,232,.68);transition:border-color .2s,color .2s,background-color .2s}
.tear-social a:hover{color:var(--tear-ink);border-color:#B07A52;background:rgba(176,122,82,.14)}
.tear-social svg{display:block;width:15px;height:15px}
.tear-follow-mail{margin-top:4px;font-size:12px;color:rgba(245,241,232,.8);border-bottom:1px solid rgba(245,241,232,.22);padding-bottom:2px}
.tear-follow-mail:hover{color:var(--tear-ink);border-color:#B07A52}



.tear-meta{position:absolute;left:var(--gutter);right:var(--gutter);top:calc(66% + 17px);z-index:1;display:flex;justify-content:space-between;gap:18px;font-family:var(--font-b);font-size:10px;line-height:1.4;letter-spacing:.1em;text-transform:uppercase;color:rgba(11,11,12,.5)}
.tear-meta a{color:inherit;text-decoration:none;border-bottom:1px solid transparent}
.tear-meta a:hover{border-color:currentColor}

.tear-word-wrap{position:absolute;left:0;right:0;bottom:12px;z-index:1;display:flex;justify-content:center;padding:0 var(--gutter);overflow:hidden}
.tear-word{
  display:block;
  width:max-content;
  max-width:100%;
  font-family:var(--font-d);
  font-size:clamp(70px,17vw,250px);
  font-weight:700;
  line-height:.78;
  letter-spacing:-.06em;
  text-transform:uppercase;
  white-space:nowrap;
  color:var(--tear-paper-ink);
}
@supports ((-webkit-background-clip:text) or (background-clip:text)){
  .tear-word{
    background-image:linear-gradient(rgba(176,122,82,.14),rgba(176,122,82,.14)),url("../assets/img/earth-globe.jpg");
    background-size:cover;
    background-position:center 44%;
    background-repeat:no-repeat;
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
    -webkit-text-fill-color:transparent;
    -webkit-text-stroke:.7px rgba(11,11,12,.34);
  }
}

@media(max-width:900px){
  .tear-footer{min-height:900px}
  .tear-inner{padding-top:24px;padding-bottom:96px}
  .tear-top{gap:12px;font-size:9px}
  .tear-main{grid-template-columns:1fr;gap:30px;align-items:start;padding-top:30px}
  .tear-intro p{max-width:16ch;font-size:clamp(30px,5.2vw,42px)}
  .tear-intro .tear-note{max-width:44ch;margin-top:14px}
  .tear-cols{max-width:520px;gap:28px}
  .tear-toplink{margin-top:16px}
  .tear-meta{font-size:8.5px;top:calc(66% + 14px)}
  .tear-word{font-size:clamp(64px,18vw,170px)}
}

@media(max-width:600px){
  .tear-footer{min-height:990px}
  .tear-top{justify-content:flex-start;gap:18px}
  .tear-inner{padding-top:20px;padding-bottom:78px}
  .tear-top-brand span:last-child{font-size:12px}
  .tear-clock{font-size:11px}
  .tear-main{padding-top:24px;gap:24px}
  .tear-intro p{max-width:14ch;font-size:31px}
  .tear-intro .tear-note{font-size:12.5px;max-width:36ch;margin-top:12px}
  .tear-cols{grid-template-columns:1fr 1fr;max-width:none;gap:16px 20px}
  .tear-col{gap:4px}
  .tear-col a,.tear-col span{font-size:12px;line-height:1.35}
  .tear-follow{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:12px 20px;margin-top:4px;padding-top:14px;border-top:1px solid rgba(245,241,232,.14)}
  .tear-follow .label{grid-column:1/-1;margin-bottom:0}
  .tear-follow-group{display:flex;flex-direction:column;gap:5px}
  .tear-follow .tear-follow-co{font-size:12px;margin:0}
  .tear-social a{width:44px;height:44px}
  .tear-social svg{width:16px;height:16px}
  .tear-follow-mail{grid-column:1/-1;justify-self:start;margin-top:0;font-size:12px}
  .tear-meta{font-size:8.5px;gap:10px;top:calc(66% + 12px)}
  .tear-meta span:nth-child(3){display:none}
  .tear-word{font-size:clamp(56px,20vw,96px);bottom:14px}
}
