/* Shared by the public homepage and the protected Ikaria invitation. */
.tiwa-footer,
.tiwa-footer * { box-sizing: border-box; }

.tiwa-footer {
  --footer-gutter: clamp(24px, 5vw, 72px);
  background: #516046;
  color: #F3EEE5;
  padding: 44px 0 24px;
  font: 400 14px/1.6 Ranade, Arial, sans-serif;
}

.tiwa-footer__inner {
  width: 100%;
  max-width: calc(1176px + var(--footer-gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--footer-gutter);
}

.tiwa-footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: start;
}

.tiwa-footer a,
.tiwa-footer a:hover { color: inherit; text-decoration: none; }
.tiwa-footer a:hover { color: #D7C8A9; }
.tiwa-footer a.tiwa-footer__brand:any-link { color: #F3EEE5; }
.tiwa-footer a:focus-visible { outline: 2px solid #D7C8A9; outline-offset: 5px; }

.tiwa-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
}
.tiwa-footer__lockup { display:block; width:150px; max-width:100%; }
.tiwa-footer__lockup img { display:block; width:100%; height:auto; }
.tiwa-footer__brand img {
  display: block;
  width: 106px;
  height: auto;
  filter: brightness(0) invert(1);
}
.tiwa-footer__brand span {
  padding-left: 16px;
  border-left: 1px solid currentColor;
  font: 400 22px/1 Ranade, Arial, sans-serif;
  letter-spacing: .16em;
}
.tiwa-footer .tiwa-footer__statement {
  margin: 20px 0 0;
  max-width: 20ch;
  font: 300 clamp(28px, 2.5vw, 34px)/1.25 Spectral, Georgia, serif;
  letter-spacing: 0;
  color: #F3EEE5;
}

.tiwa-footer .tiwa-footer__signoff { margin: 12px 0 0; color: #D7C8A9; font: 400 13px/1.6 Ranade, Arial, sans-serif; }

.tiwa-footer__nav { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.tiwa-footer__nav h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 14px;
  color: #D7C8A9;
  font: 400 11px/1.6 Ranade, Arial, sans-serif;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.tiwa-footer__mark {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background: currentColor;
  mask: var(--footer-mark) center/contain no-repeat;
  -webkit-mask: var(--footer-mark) center/contain no-repeat;
}
.tiwa-footer__mark--sailing { --footer-mark: url('/images/chart-label-range.svg'); }
.tiwa-footer__mark--contact { --footer-mark: url('/images/chart-label-radio.svg'); }
.tiwa-footer__nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  min-height: 42px;
  padding-block: 6px;
  font: 400 14px/1.55 Ranade, Arial, sans-serif;
}
.tiwa-footer__nav a > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.tiwa-footer__arrow {
  flex: 0 0 13px;
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
}
.tiwa-footer__bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
  margin-top: 30px;
  padding-top: 24px;
  color: #D7C8A9;
  font: 400 11px/1.6 Ranade, Arial, sans-serif;
}
.tiwa-footer__bottom::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 9px;
  background: linear-gradient(currentColor,currentColor) left top/100% 1px no-repeat,
    repeating-linear-gradient(90deg,currentColor 0 1px,transparent 1px 8px) left top/100% 4px no-repeat,
    repeating-linear-gradient(90deg,currentColor 0 1px,transparent 1px 40px) left top/100% 9px no-repeat;
  opacity: .5;
  pointer-events: none;
}
.tiwa-footer__bottom p { margin: 0; font: inherit; color: inherit; }
.tiwa-footer__bottom a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; }
.tiwa-footer__legal { display: flex; gap: 24px; }
.tiwa-footer__support { margin-left: auto; }

@media (max-width: 959px) {
  .tiwa-footer__main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 32px; }
  .tiwa-footer__identity { grid-column: 1 / -1; }
  .tiwa-footer__statement br { display: none; }
  .tiwa-footer .tiwa-footer__statement { max-width: none; }
  .tiwa-footer__support { margin-left: 0; }
}
@media (max-width: 759px) {
  .tiwa-footer { --footer-gutter: 24px; padding-block: 38px 22px; }
  .tiwa-footer__main { gap: 26px 20px; }
  .tiwa-footer__brand img { width: 96px; }
  .tiwa-footer__lockup { width:130px; }
  .tiwa-footer__brand span { font-size: 20px; }
  .tiwa-footer .tiwa-footer__statement { margin-top: 14px; font-size: 30px; max-width: 23ch; }
  .tiwa-footer__nav h2 { font-size: 10px; letter-spacing: .1em; gap: 8px; margin-bottom: 10px; }
  .tiwa-footer__nav a { min-height: 44px; font-size: 13px; }
  .tiwa-footer__nav a[href^='mailto:'] { font-size: 12px; }
  .tiwa-footer__bottom { display: grid; grid-template-columns: auto 1fr; gap: 4px 20px; margin-top: 28px; padding-top: 20px; }
  .tiwa-footer__bottom > p { justify-self: end; }
  .tiwa-footer__legal,
  .tiwa-footer__support { grid-column: 1 / -1; }
  .tiwa-footer__bottom a { min-height: 44px; }
}
@media (max-width: 374px) {
  .tiwa-footer { --footer-gutter: 20px; }
  .tiwa-footer__main { column-gap: 16px; }
}
.tiwa-footer .tiwa-footer__signoff a { color: inherit; text-decoration-color: rgba(215,200,169,.55); text-underline-offset: 3px; }
.tiwa-footer .tiwa-footer__signoff a:hover, .tiwa-footer .tiwa-footer__signoff a:focus-visible { text-decoration-color: currentColor; }
.tiwa-footer__logo-beige { display:block; width:100%; aspect-ratio:680/935; background:#D7C8A9; -webkit-mask:url('/brand/tiwa-ocean-footer-all-gold.png') center/contain no-repeat; mask:url('/brand/tiwa-ocean-footer-all-gold.png') center/contain no-repeat; }
