/* =========================================================================
   FOOTER
   Torn paper edge, brand + three link columns, a sunset deck band, and a
   legal bar. --ft-tear must match the colour of whatever sits above it.
   ========================================================================= */
.ft{
  position:relative;
  background:#1b2c23;
  color:var(--cream);
  overflow:hidden;
  /* room for the ridge layer, plus clear air between the treeline and the
     brand mark - the columns should not start the moment the forest ends */
  padding-top:clamp(214px,21.4vw,338px);
}
/* ---- scenic transition ----
   The ridgeline that used to close Guest Stories now sits inside the footer.
   Its own sky is cream, so the top edge continues the cream section above it
   with no seam, and a forest gradient carries it down into the footer ground.
   The gradient finishes on #1b2c23 - the footer's own colour - which is what
   removes the join. */
.ft-ridge{
  position:absolute;left:0;right:0;top:0;z-index:0;
  height:clamp(156px,17vw,256px);
  background-image:url("../../img/footer-ridge.jpg");
  background-size:cover;background-position:center 28%;
  pointer-events:none;
}
/* A short fade at the foot, not a veil over the whole picture: the artwork is
   untouched down to 70% and the footer rises out of the bottom third. */
.ft-ridge::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,
    rgba(27,44,35,0) 0%,
    rgba(27,44,35,0) 70%,
    rgba(27,44,35,.25) 80%,
    rgba(27,44,35,.65) 90%,
    rgba(27,44,35,.92) 96%,
    #1b2c23 100%);
}
@media (max-width:700px){
  .ft{padding-top:clamp(172px,34vw,224px)}
  .ft-ridge{height:clamp(118px,27vw,156px);background-position:center 34%}
}
/* Traced from the concept art's ragged join. Masked rather than drawn, so
   the same shape can take whatever colour the section above it is. */
.tear{
  position:absolute;left:0;right:0;top:0;z-index:5;
  height:clamp(13px,1.76vw,27px);
  background:var(--tear-color,var(--cream-warm));
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1536' height='27.0' viewBox='0 0 1536 27.0' preserveAspectRatio='none'%3E%3Cpath d='M0,4.0L8,5.0L16,6.7L24,8.0L32,9.0L40,9.0L48,10.0L56,10.0L64,10.0L72,10.0L80,11.3L88,13.0L96,15.0L104,16.3L112,18.0L120,19.3L128,21.0L136,22.0L144,23.0L152,24.0L160,24.0L168,25.0L176,25.0L184,24.7L192,24.0L200,23.0L208,23.0L216,22.3L224,21.0L232,20.0L240,20.0L248,19.0L256,19.7L264,20.0L272,20.0L280,19.0L288,18.3L296,17.3L304,16.0L312,16.0L320,15.0L328,16.0L336,16.0L344,17.0L352,17.0L360,17.0L368,17.0L376,17.3L384,18.3L392,19.7L400,21.0L408,22.0L416,24.0L424,25.0L432,24.0L440,23.0L448,22.0L456,21.0L464,20.0L472,19.7L480,19.0L488,18.0L496,18.0L504,18.7L512,19.0L520,19.3L528,20.0L536,20.0L544,19.0L552,18.0L560,18.0L568,17.0L576,17.0L584,16.0L592,17.0L600,17.0L608,17.0L616,18.0L624,17.7L632,17.0L640,16.0L648,15.0L656,14.0L664,13.0L672,13.7L680,14.0L688,14.0L696,15.0L704,15.0L712,16.0L720,17.0L728,17.7L736,19.0L744,19.0L752,20.0L760,20.7L768,21.0L776,21.7L784,22.0L792,21.3L800,21.0L808,22.0L816,22.0L824,21.0L832,20.7L840,20.0L848,19.3L856,20.0L864,20.0L872,20.0L880,20.7L888,19.0L896,18.0L904,17.0L912,16.0L920,15.7L928,15.0L936,15.0L944,15.0L952,15.0L960,14.0L968,12.7L976,12.0L984,11.0L992,11.0L1000,11.0L1008,12.0L1016,13.0L1024,13.0L1032,14.0L1040,15.3L1048,16.3L1056,18.0L1064,19.7L1072,21.0L1080,21.3L1088,22.0L1096,21.3L1104,20.7L1112,19.3L1120,19.3L1128,18.7L1136,17.3L1144,18.0L1152,17.0L1160,16.0L1168,15.7L1176,15.0L1184,15.3L1192,16.0L1200,16.0L1208,17.0L1216,18.0L1224,19.0L1232,20.0L1240,20.0L1248,20.0L1256,19.0L1264,18.0L1272,17.0L1280,16.0L1288,16.0L1296,15.3L1304,16.0L1312,15.0L1320,15.0L1328,16.0L1336,15.0L1344,14.0L1352,13.0L1360,12.0L1368,11.0L1376,10.0L1384,10.0L1392,10.0L1400,10.0L1408,9.3L1416,9.0L1424,9.0L1432,8.0L1440,7.0L1448,6.0L1456,5.3L1464,4.7L1472,4.0L1480,3.0L1488,2.0L1496,2.0L1504,2.7L1512,3.0L1520,3.0L1528,3.7L1535,4.0L1536,0L0,0Z' fill='%23000'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1536' height='27.0' viewBox='0 0 1536 27.0' preserveAspectRatio='none'%3E%3Cpath d='M0,4.0L8,5.0L16,6.7L24,8.0L32,9.0L40,9.0L48,10.0L56,10.0L64,10.0L72,10.0L80,11.3L88,13.0L96,15.0L104,16.3L112,18.0L120,19.3L128,21.0L136,22.0L144,23.0L152,24.0L160,24.0L168,25.0L176,25.0L184,24.7L192,24.0L200,23.0L208,23.0L216,22.3L224,21.0L232,20.0L240,20.0L248,19.0L256,19.7L264,20.0L272,20.0L280,19.0L288,18.3L296,17.3L304,16.0L312,16.0L320,15.0L328,16.0L336,16.0L344,17.0L352,17.0L360,17.0L368,17.0L376,17.3L384,18.3L392,19.7L400,21.0L408,22.0L416,24.0L424,25.0L432,24.0L440,23.0L448,22.0L456,21.0L464,20.0L472,19.7L480,19.0L488,18.0L496,18.0L504,18.7L512,19.0L520,19.3L528,20.0L536,20.0L544,19.0L552,18.0L560,18.0L568,17.0L576,17.0L584,16.0L592,17.0L600,17.0L608,17.0L616,18.0L624,17.7L632,17.0L640,16.0L648,15.0L656,14.0L664,13.0L672,13.7L680,14.0L688,14.0L696,15.0L704,15.0L712,16.0L720,17.0L728,17.7L736,19.0L744,19.0L752,20.0L760,20.7L768,21.0L776,21.7L784,22.0L792,21.3L800,21.0L808,22.0L816,22.0L824,21.0L832,20.7L840,20.0L848,19.3L856,20.0L864,20.0L872,20.0L880,20.7L888,19.0L896,18.0L904,17.0L912,16.0L920,15.7L928,15.0L936,15.0L944,15.0L952,15.0L960,14.0L968,12.7L976,12.0L984,11.0L992,11.0L1000,11.0L1008,12.0L1016,13.0L1024,13.0L1032,14.0L1040,15.3L1048,16.3L1056,18.0L1064,19.7L1072,21.0L1080,21.3L1088,22.0L1096,21.3L1104,20.7L1112,19.3L1120,19.3L1128,18.7L1136,17.3L1144,18.0L1152,17.0L1160,16.0L1168,15.7L1176,15.0L1184,15.3L1192,16.0L1200,16.0L1208,17.0L1216,18.0L1224,19.0L1232,20.0L1240,20.0L1248,20.0L1256,19.0L1264,18.0L1272,17.0L1280,16.0L1288,16.0L1296,15.3L1304,16.0L1312,15.0L1320,15.0L1328,16.0L1336,15.0L1344,14.0L1352,13.0L1360,12.0L1368,11.0L1376,10.0L1384,10.0L1392,10.0L1400,10.0L1408,9.3L1416,9.0L1424,9.0L1432,8.0L1440,7.0L1448,6.0L1456,5.3L1464,4.7L1472,4.0L1480,3.0L1488,2.0L1496,2.0L1504,2.7L1512,3.0L1520,3.0L1528,3.7L1535,4.0L1536,0L0,0Z' fill='%23000'/%3E%3C/svg%3E");
  -webkit-mask-size:100% 100%;mask-size:100% 100%;
  -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
  pointer-events:none;
}
.ft-main{
  display:grid;
  grid-template-columns:1.3fr 1fr 1fr;
  gap:clamp(28px,3.4vw,52px);
  padding-bottom:clamp(30px,3.4vw,52px);
  position:relative;z-index:3;
}
.ft-main > * + *{
  border-left:1px solid rgba(245,240,230,.16);
  padding-left:clamp(24px,3vw,46px);
}

/* ---- brand ----
   Centred inside its own column only; the two link columns stay left-aligned
   and the three-column grid is untouched. */
.ft-brand{text-align:center}
.ft-mark{
  width:clamp(132px,11.4vw,172px);height:auto;
  display:block;margin:0 auto clamp(12px,1.2vw,18px);
}
.ft-place-line{
  display:flex;align-items:center;gap:var(--space-sm);
  max-width:min(100%,22em);
  margin:9px auto 0;
  font-family:var(--font-body);
  font-size:10px;font-weight:600;letter-spacing:.24em;text-transform:uppercase;
  color:rgba(245,240,230,.74);
}
.ft-place-line::before,.ft-place-line::after{content:"";flex:1;height:1px;background:rgba(245,240,230,.3)}
.ft-desc{
  margin:20px auto 0;max-width:23em;
  font-family:var(--font-body);
  font-size:clamp(16px,1.24vw,19px);line-height:1.5;color:rgba(245,240,230,.88);
}
.ft-social{display:flex;justify-content:center;gap:var(--space-md);margin-top:var(--space-lg)}
.ft-social a{
  width:38px;height:38px;border-radius:var(--r-round);
  border:1px solid rgba(245,240,230,.26);
  display:flex;align-items:center;justify-content:center;
  transition:background .3s ease,border-color .3s ease;
}
.ft-social a:hover{background:rgba(245,240,230,.12);border-color:rgba(245,240,230,.5)}
.ft-social svg{width:17px;height:17px;fill:#f0ebdd}

/* ---- link columns ---- */
.ft-col h3{
  margin:0 0 20px;
  font-family:var(--font-body);
  font-size:11px;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:#fff;
}
.ft-col ul{list-style:none;margin:0;padding:0;display:grid;gap:13px}
.ft-col a{
  font-family:var(--font-body);
  font-size:clamp(16px,1.28vw,20px);line-height:1.25;
  color:rgba(248,245,236,.9);
  transition:color .25s ease;
}
.ft-col a:hover{color:#fff;text-decoration:underline;text-underline-offset:4px}

/* The sunset photo band was removed at the client's request. "Helen, Georgia"
   is still under the footer logo. */

/* ---- legal bar ---- */
.ft-bar{
  position:relative;z-index:3;
  background:#18271e;
  border-top:1px solid rgba(245,240,230,.14);
}
.ft-bar-in{
  display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;
  padding-block:clamp(20px,2.2vw,30px);
  font-family:var(--font-body);
  font-size:clamp(14px,1.1vw,17px);color:rgba(245,240,230,.7);
}
.ft-legal{display:flex;align-items:center;gap:clamp(14px,1.8vw,28px);flex-wrap:wrap}
.ft-legal a{color:rgba(245,240,230,.82)}
.ft-legal a:hover{color:#fff}
.ft-legal i{width:1px;height:16px;background:rgba(245,240,230,.24)}
.ft-top{display:inline-flex;align-items:center;gap:var(--space-sm);color:rgba(245,240,230,.82)}
.ft-top:hover{color:#fff}
.ft-top svg{width:16px;height:16px;stroke:currentColor;stroke-width:1.6;fill:none;stroke-linecap:round;stroke-linejoin:round}

/* ---- responsive ---- */
@media (max-width:1080px){
  .ft-main{grid-template-columns:1fr 1fr;gap:clamp(28px,4vw,44px) clamp(24px,3.4vw,44px)}
  .ft-main > *{border-left:0;padding-left:0}
  .ft-main > .ft-col{border-left:0;padding-left:0}
  .ft-main > .ft-col:nth-of-type(2){border-left:1px solid rgba(245,240,230,.16);padding-left:clamp(22px,3vw,38px)}
  .ft-brand{grid-column:1 / -1}
}
@media (max-width:700px){
  .ft-main{grid-template-columns:minmax(0,1fr)}
  /* the nth-of-type divider from the two-column layout has to be cleared by
     hand here, or Support keeps a stray rule down its left edge */
  .ft-main > .ft-col,
  .ft-main > .ft-col:nth-of-type(2){border-left:0;padding-left:0;border-top:1px solid rgba(245,240,230,.14);padding-top:26px}
  .ft-bar-in{flex-direction:column;align-items:flex-start;gap:14px}
}
