/* Two WIT V2 closing scenes. Each footer remains normal HTML above its artwork. */
:root{
  --vf-pottery-bg:#0c0b09;
  --vf-pottery-text:#ead6ad;
  --vf-pottery-muted:#b6a68b;
  --vf-pottery-rule:#4a3d2e;
  --vf-pottery-accent:#d6b46d;
  --vf-pottery-button-text:#10100e;
  --vf-mosaic-bg:#e5dbc4;
  --vf-mosaic-text:#24261d;
  --vf-mosaic-muted:#625b4d;
  --vf-mosaic-rule:#b7a98c;
  --vf-mosaic-accent:#731f27;
  --vf-mosaic-button-text:#f3ead5;
  --vf-display:var(--v2-font-display,"Cinzel",serif);
  --vf-body:var(--v2-font-body,"DM Sans",sans-serif);
}
.v2-footer{
  scroll-margin-top:84px;
  --vf-bg:var(--vf-pottery-bg);
  --vf-text:var(--vf-pottery-text);
  --vf-muted:var(--vf-pottery-muted);
  --vf-rule:var(--vf-pottery-rule);
  --vf-accent:var(--vf-pottery-accent);
  --vf-button-text:var(--vf-pottery-button-text);
  position:relative;
  isolation:isolate;
  overflow:clip;
  color:var(--vf-text);
  background:var(--vf-bg);
  border-top:1px solid var(--vf-rule);
  font-family:var(--vf-body);
}
.v2-footer--mosaic{
  --vf-bg:var(--vf-mosaic-bg);
  --vf-text:var(--vf-mosaic-text);
  --vf-muted:var(--vf-mosaic-muted);
  --vf-rule:var(--vf-mosaic-rule);
  --vf-accent:var(--vf-mosaic-accent);
  --vf-button-text:var(--vf-mosaic-button-text);
}
.v2-footer .v2-footer-inner{
  position:relative;
  z-index:2;
  width:min(1240px,calc(100% - 80px));
  margin-inline:auto;
  padding-block:76px 0;
}
.v2-footer .v2-footer-grid{
  display:grid;
  grid-template-columns:minmax(0,1.65fr) minmax(0,1fr) minmax(0,1.1fr) minmax(0,.65fr);
  gap:clamp(28px,4vw,64px);
  align-items:start;
}
.v2-footer .v2-footer-logo{
  display:inline-flex;
  align-items:center;
  color:var(--vf-text);
  text-decoration:none;
  min-height:44px;
}
.v2-footer .v2-footer-logo svg{display:block;width:150px;height:auto}
.v2-footer .v2-footer-intro h2{
  font:500 clamp(25px,2.25vw,34px)/1.13 var(--vf-display);
  letter-spacing:-.025em;
  color:var(--vf-text);
  margin:22px 0 16px;
  max-width:15ch;
  overflow-wrap:break-word;
}
.v2-footer .v2-footer-intro p{
  max-width:32ch;
  margin:0;
  color:var(--vf-muted);
  font:400 15px/1.6 var(--vf-body);
}
.v2-footer .v2-footer-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  margin-top:24px;
  padding:10px 22px;
  border:1px solid var(--v2-red-light,#8f3037);
  border-radius:3px;
  background:var(--v2-red,#731f27);
  color:var(--v2-paper,#f3ead5);
  text-decoration:none;
  font:500 14px/1.4 var(--vf-body);
  transition:background-color .2s ease,border-color .2s ease;
}
.v2-footer .v2-footer-cta:hover{background:var(--v2-red-light,#8f3037);border-color:var(--v2-red-light,#8f3037)}
.v2-footer .v2-footer-nav h3{
  margin:8px 0 18px;
  color:var(--vf-text);
  font:600 14px/1.4 var(--vf-body);
  letter-spacing:0;
  text-transform:none;
}
.v2-footer .v2-footer-nav ul{list-style:none;margin:0;padding:0}
.v2-footer .v2-footer-nav li{padding:0;margin:0}
.v2-footer .v2-footer-nav a{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  max-width:100%;
  color:var(--vf-muted);
  font:400 14px/1.45 var(--vf-body);
  text-decoration:none;
  text-underline-offset:5px;
  text-decoration-thickness:1px;
}
.v2-footer .v2-footer-nav a:hover{color:var(--vf-text);text-decoration:underline}
.v2-footer .v2-footer-legal{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:12px 24px;
  margin-top:42px;
  padding-block:22px 24px;
  border-top:1px solid var(--vf-rule);
  color:var(--vf-muted);
  font:400 12px/1.5 var(--vf-body);
}
.v2-footer .v2-footer-legal p{margin:0;font:inherit;color:inherit}
.v2-footer .v2-footer-legal a{color:inherit;text-decoration:none;min-height:28px;display:inline-flex;align-items:center}
.v2-footer .v2-footer-legal a:hover{color:var(--vf-text);text-decoration:underline;text-underline-offset:4px}
.v2-footer .v2-footer-top{margin-left:auto}
.v2-footer .v2-footer-scene{
  position:relative;
  z-index:1;
  height:clamp(300px,34vw,560px);
  margin-top:-8px;
  background:var(--vf-bg);
  overflow:clip;
}
.v2-footer .v2-footer-scene::before{
  content:"";
  position:absolute;
  z-index:1;
  inset:0 0 auto;
  height:clamp(50px,7vw,110px);
  background:linear-gradient(var(--vf-bg),transparent);
  pointer-events:none;
}
.v2-footer .v2-footer-scene img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:50% 100%;
}
.v2-footer a:focus-visible{
  outline:2px solid var(--vf-accent);
  outline-offset:5px;
  border-radius:2px;
}
/* The mosaic is a centred courtyard composition, rather than the pottery
   footer's left-led brand/navigation row. The material is the same canvas,
   with no boxed navigation cards or panels. */
.v2-footer--mosaic .v2-footer-inner{padding-top:100px}
.v2-footer--mosaic .v2-footer-grid{display:block}
.v2-footer--mosaic .v2-footer-intro{
  max-width:820px;
  margin-inline:auto;
  text-align:center;
}
.v2-footer--mosaic .v2-footer-logo{margin-inline:auto}
.v2-footer--mosaic .v2-footer-intro h2{
  max-width:17ch;
  margin:30px auto 20px;
  font-size:clamp(40px,4.6vw,68px);
  line-height:1.08;
  letter-spacing:-.035em;
}
.v2-footer--mosaic .v2-footer-intro p{
  max-width:42ch;
  margin-inline:auto;
  font-size:16px;
  line-height:1.65;
}
.v2-footer--mosaic .v2-footer-cta{margin-top:26px;min-height:48px;padding-inline:28px}
.v2-footer--mosaic .v2-footer-navs{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(32px,5vw,84px);
  max-width:940px;
  margin:76px auto 0;
}
.v2-footer--mosaic .v2-footer-nav{
  padding-top:18px;
  border-top:1px solid var(--vf-rule);
  text-align:center;
}
.v2-footer--mosaic .v2-footer-nav h3{
  margin:0 0 18px;
  font:500 20px/1.3 var(--vf-display);
}
.v2-footer--mosaic .v2-footer-nav ul{display:block}
.v2-footer--mosaic .v2-footer-nav a{justify-content:center;width:100%}
.v2-footer--mosaic .v2-footer-nav--wit{grid-column:auto}
.v2-footer--mosaic .v2-footer-nav--wit ul{display:block}
.v2-footer--mosaic .v2-footer-legal{
  max-width:940px;
  justify-content:center;
  margin:46px auto 0;
  padding-block:24px 28px;
}
.v2-footer--mosaic .v2-footer-top{margin-left:0}
.v2-footer--mosaic .v2-footer-scene{height:clamp(400px,42vw,660px)}
.v2-footer--mosaic .v2-footer-scene::before{height:clamp(70px,9vw,140px)}
@media(min-width:1800px){
  .v2-footer .v2-footer-scene img{object-position:50% 82%}
}
@media(max-width:1000px){
  .v2-footer .v2-footer-inner{width:calc(100% - 56px)}
  .v2-footer .v2-footer-grid{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,1.1fr);gap:32px}
  .v2-footer .v2-footer-intro{grid-row:span 2}
  .v2-footer .v2-footer-nav--wit{grid-column:2 / -1}
  .v2-footer .v2-footer-nav--wit ul{display:flex;flex-wrap:wrap;gap:0 24px}
  .v2-footer .v2-footer-nav--wit h3{margin-bottom:10px}
  .v2-footer .v2-footer-legal{margin-top:32px}
  .v2-footer--mosaic .v2-footer-nav--wit{grid-column:auto}
  .v2-footer--mosaic .v2-footer-nav--wit ul{display:block}
}
@media(max-width:650px){
  .v2-footer .v2-footer-inner{width:calc(100% - 40px);padding-top:48px}
  .v2-footer .v2-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:34px 24px}
  .v2-footer .v2-footer-intro{grid-column:1 / -1;grid-row:auto}
  .v2-footer .v2-footer-intro h2{max-width:none;font-size:28px;margin-top:16px}
  .v2-footer .v2-footer-intro p{max-width:36ch}
  .v2-footer .v2-footer-cta{margin-top:20px;min-height:46px}
  .v2-footer .v2-footer-nav h3{margin-top:0;margin-bottom:12px}
  .v2-footer .v2-footer-nav a{min-height:36px;padding-block:4px;font-size:13px}
  .v2-footer .v2-footer-nav--wit{grid-column:1 / -1}
  .v2-footer .v2-footer-nav--wit ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}
  .v2-footer .v2-footer-legal{gap:10px 18px;margin-top:30px;padding-block:20px}
  .v2-footer .v2-footer-legal p{flex-basis:100%}
  .v2-footer .v2-footer-scene{height:260px;margin-top:0}
  .v2-footer .v2-footer-scene::before{height:42px}
  .v2-footer--mosaic .v2-footer-inner{padding-top:62px}
  .v2-footer--mosaic .v2-footer-intro{grid-column:auto}
  .v2-footer--mosaic .v2-footer-intro h2{
    max-width:16ch;
    margin:24px auto 18px;
    font-size:clamp(31px,8.5vw,44px);
  }
  .v2-footer--mosaic .v2-footer-intro p{max-width:30ch;font-size:15px}
  .v2-footer--mosaic .v2-footer-cta{margin-top:22px}
  .v2-footer--mosaic .v2-footer-navs{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:34px 24px;
    margin-top:52px;
  }
  .v2-footer--mosaic .v2-footer-nav h3{font-size:18px}
  .v2-footer--mosaic .v2-footer-nav--wit{grid-column:1 / -1}
  .v2-footer--mosaic .v2-footer-nav--wit ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .v2-footer--mosaic .v2-footer-legal{margin-top:32px;padding-block:22px;text-align:center}
  .v2-footer--mosaic .v2-footer-scene{height:330px}
  .v2-footer--mosaic .v2-footer-scene::before{height:62px}
}
@media(prefers-reduced-motion:reduce){
  .v2-footer .v2-footer-cta{transition:none}
  .v2-footer .v2-footer-cta:hover{transform:none}
}

/* Incised meander joins the useful links to the illustrated material. */
.v2-footer .v2-footer-scene::after{content:"";position:absolute;inset:0 0 auto;height:18px;z-index:2;background:var(--vf-rule);mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='18' viewBox='0 0 56 18'%3E%3Cpath d='M0 15H48V3H8V11H40V7H16M48 15H56' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E") 0 0/56px 18px repeat-x;pointer-events:none}
.motion-paused .v2-footer .v2-footer-cta{transition:none}
@media(max-width:650px){
  .v2-footer .v2-footer-legal a{min-height:36px}
  .v2-footer--mosaic .v2-footer-legal{column-gap:24px}
  .v2-footer--pottery .v2-footer-scene img{object-position:45% 100%}
}
