/* Shared public-page footer. The homepage footer remains the visual source of truth. */
.index-footer {
  --index-footer-gold: #f2b41f;
  --index-footer-line: rgba(242,180,31,0.78);
  --index-footer-muted: rgba(242,244,249,0.78);
  position: relative;
  overflow: hidden;
  padding: 88px 0 0;
  border-top: 0;
  background: #021327;
  color: #fff;
}

.index-footer .section-wrap {
  position: relative;
  z-index: 2;
  width: calc(100% - 64px);
  max-width: 1600px;
}

.index-footer-crown {
  position: absolute;
  top: 13px;
  left: 50%;
  z-index: 3;
  width: min(calc(100% - 44px), 1640px);
  padding: 0;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: minmax(0,1fr) 94px minmax(0,1fr);
  align-items: center;
  gap: 16px;
  color: var(--index-footer-gold);
}

.index-footer-crown::before,
.index-footer-crown::after {
  content: "";
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--index-footer-gold) 14%);
}

.index-footer-crown::after {
  background: linear-gradient(90deg, var(--index-footer-gold) 86%, transparent 100%);
}

.index-footer-crown-icon {
  display: block;
  width: 94px;
  height: 64px;
  margin: auto;
  object-fit: contain;
}

.index-footer-main {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 38.5% 23.5% 31%;
  align-items: stretch;
  padding: 45px 0 16px;
}

.index-footer-main::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -60px;
  left: 70%;
  width: min(832px, 57.6vw);
  height: min(666px, 46.08vw);
  background: url("../images/index-footer-background-jaguar.png?v=1") center/contain no-repeat;
  opacity: 0.48;
  transform: translateX(-50%);
  pointer-events: none;
}

.index-footer-main > * {
  position: relative;
  z-index: 1;
}

.index-footer-brand {
  position: relative;
  overflow: visible;
  min-width: 0;
  padding: 0 0 0 8px;
  text-align: center;
}

.index-footer-brand > * {
  position: relative;
  z-index: 1;
}

.index-footer-lockup {
  display: grid;
  grid-template-columns: clamp(230px,15.05vw,255px) minmax(0,1fr);
  align-items: start;
  gap: 20px;
  max-width: 620px;
  margin: 0 auto;
  text-align: left;
}

.index-footer-jaguar {
  display: block;
  width: clamp(230px,15.05vw,255px);
  height: clamp(240px,15.65vw,265px);
  object-fit: contain;
  transform: translate(-24px,-34px);
  filter: drop-shadow(0 5px 14px rgba(0,0,0,0.28));
}

.index-footer-brand-title {
  margin: 0;
  color: #fff;
  font-family: "Bebas Neue",sans-serif;
  font-size: clamp(3.6rem,4.2vw,4.6rem);
  font-style: normal;
  font-weight: 400;
  -webkit-text-stroke: 0.35px currentColor;
  letter-spacing: 0.025em;
  line-height: 1;
  white-space: nowrap;
  text-transform: uppercase;
}

.index-footer-brand-title-line {
  display: block;
}

.index-footer-brand-title-line + .index-footer-brand-title-line {
  margin-top: 0.12em;
  word-spacing: 0.14em;
}

.index-footer-school {
  margin-top: 13px;
  color: var(--index-footer-gold);
  font-family: "Bebas Neue","Josefin Sans",sans-serif;
  font-size: 1.45rem;
  font-weight: 400;
  -webkit-text-stroke: 0.25px currentColor;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
}

.index-footer-location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
}

.index-footer-location::before,
.index-footer-location::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--index-footer-gold);
}

.index-footer-motto {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 4px 0 22px;
  color: rgba(255,255,255,0.84);
  font-family: "Cormorant Garamond",serif;
  font-size: 1.3rem;
  font-style: italic;
  letter-spacing: 0.04em;
}

.index-footer-brand-details {
  width: calc(100% - clamp(250px, calc(15.05vw + 20px), 275px));
  margin-left: clamp(250px, calc(15.05vw + 20px), 275px);
}

.index-footer-motto .star,
.index-footer-motto .dot {
  color: var(--index-footer-gold);
  font-style: normal;
}

.index-footer-brand-rule {
  width: 88px;
  height: 1px;
  margin: 0 auto 21px;
  background: var(--index-footer-gold);
}

.index-footer-brand-copy {
  max-width: 430px;
  margin: 0 auto;
  color: var(--index-footer-muted);
  font-family: "Josefin Sans",sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  line-height: 1.72;
}

.index-footer-column {
  min-width: 0;
  padding: 5px 38px 0;
  border-left: 0;
}

.index-footer-column + .index-footer-column {
  border-left: 1px solid rgba(255,255,255,0.38);
}

.index-footer-heading {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 8px;
  color: var(--index-footer-gold);
  font-family: "Arial Narrow","Josefin Sans",sans-serif;
  font-size: 1.14rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.index-footer-heading svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.index-footer-nav {
  margin: 0;
  padding: 0;
  list-style: none;
}

.index-footer-nav li {
  border-bottom: 1px solid rgba(99,133,178,0.20);
}

.index-footer-link {
  display: grid;
  grid-template-columns: 12px minmax(0,1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 65px;
  color: rgba(255,255,255,0.90);
  font-family: "Josefin Sans",sans-serif;
  font-size: 0.96rem;
  line-height: 1.25;
  text-decoration: none;
  transition: color .2s ease, padding-left .2s ease;
}

.index-footer-link:hover,
.index-footer-link:focus-visible {
  padding-left: 4px;
  color: var(--index-footer-gold);
}

.index-footer-chevron {
  color: var(--index-footer-gold);
  font-size: 1.38rem;
  font-weight: 700;
  line-height: 1;
}

.index-footer-external {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--index-footer-gold);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.index-footer-action {
  display: grid;
  grid-template-columns: 22px minmax(0,1fr) 22px;
  align-items: center;
  gap: 10px;
  min-height: 61px;
  margin: 9px 0;
  padding: 0 15px;
  border: 1.5px solid var(--index-footer-gold);
  border-radius: 6px;
  color: var(--index-footer-gold);
  font-family: "Josefin Sans",sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.015em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease;
}

.index-footer-action:hover,
.index-footer-action:focus-visible {
  background: var(--index-footer-gold);
  color: #06152a;
}

.index-footer-action svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.index-footer-action .action-arrow {
  justify-self: end;
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1;
}

.index-footer-email {
  grid-template-columns: 23px minmax(0,1fr);
  width: 100%;
  margin: 0;
  text-transform: none;
}

.index-footer-email-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  line-height: 1.2;
}

.index-footer-email-label {
  color: var(--index-footer-gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.index-footer-email-address {
  color: var(--index-footer-gold);
  font-size: 0.84rem;
  font-weight: 700;
}

.index-footer-email:hover .index-footer-email-label,
.index-footer-email:hover .index-footer-email-address,
.index-footer-email:focus-visible .index-footer-email-label,
.index-footer-email:focus-visible .index-footer-email-address {
  color: #06152a;
}

.index-footer-email span {
  overflow-wrap: anywhere;
}

.index-footer-bottom {
  position: relative;
  z-index: 2;
  border-top: 2px solid var(--index-footer-line);
  background: rgba(0,8,20,0.18);
}

.index-footer .index-footer-bottom-grid {
  display: grid;
  grid-template-columns: minmax(220px,0.82fr) minmax(440px,1.55fr) minmax(220px,0.82fr);
  align-items: center;
  padding: 24px 0 22px;
}

.index-footer-bottom-cell {
  position: relative;
  display: grid;
  grid-template-columns: 26px minmax(0,1fr);
  align-items: start;
  gap: 12px;
  min-height: 72px;
  padding: 0 24px;
}

.index-footer-bottom-cell + .index-footer-bottom-cell {
  border-left: 0;
}

.index-footer-bottom-cell + .index-footer-bottom-cell::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 56px;
  background: rgba(255,255,255,0.46);
  transform: translateY(-50%);
}

.index-footer-bottom-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  color: var(--index-footer-gold);
  font-family: "Josefin Sans",sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.index-footer-bottom-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.index-footer-bottom-strong,
.index-footer-bottom-links,
.index-footer-credit-line {
  color: rgba(255,255,255,0.94);
  font-family: "Josefin Sans",sans-serif;
  font-size: 0.9rem;
  line-height: 1.55;
}

.index-footer-bottom-sub {
  margin-top: 2px;
  color: var(--index-footer-muted);
  font-family: "Josefin Sans",sans-serif;
  font-size: 0.82rem;
  line-height: 1.55;
}

.index-footer-bottom-links {
  align-self: start;
}

.index-footer-bottom-links a {
  color: rgba(255,255,255,0.94);
  text-decoration: none;
}

.index-footer-bottom-links a:hover,
.index-footer-bottom-links a:focus-visible {
  color: var(--index-footer-gold);
}

.index-footer-bottom-links .dot {
  padding: 0 10px;
  color: var(--index-footer-gold);
}

.index-footer-credit-line strong {
  color: var(--index-footer-gold);
  font-weight: 700;
}

.index-footer-srr {
  min-width: 0;
  white-space: nowrap;
}

.index-footer-srr-title {
  display: inline;
  margin: 0;
  color: rgba(255,255,255,0.94);
  font-family: inherit;
  font-size: inherit;
  font-weight: 400;
  letter-spacing: normal;
  line-height: inherit;
  text-transform: none;
}

.index-footer-srr .index-footer-bottom-links {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: nowrap;
  font-size: 0.9rem;
}

.index-footer-srr-title::before {
  content: none;
}

.index-footer-srr-copy {
  margin: 3px 0 0;
  color: var(--index-footer-muted);
  font-family: "Josefin Sans",sans-serif;
  font-size: 0.82rem;
  line-height: 1.55;
  white-space: normal;
}

.index-footer-srr-copy a {
  color: #fff1b9;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(242,180,31,0.55);
  text-underline-offset: 2px;
}

.index-footer-srr-copy a:hover,
.index-footer-srr-copy a:focus-visible {
  color: var(--index-footer-gold);
  text-decoration-color: currentColor;
}

@media (min-width: 1041px) and (max-width: 1400px) {
  .index-footer-main {
    grid-template-columns: 48% 20% 26%;
  }
}

@media (min-width: 1041px) {
  .index-footer-lockup,
  .index-footer-brand-details {
    transform: translateX(-32px);
  }
}

@media (min-width: 641px) {
  .index-footer-school {
    text-align: left;
  }

  .index-footer-location {
    justify-content: flex-start;
  }

  .index-footer-motto {
    justify-content: flex-start;
  }

  .index-footer-brand-rule {
    margin-left: 0;
    margin-right: 0;
  }

  .index-footer-brand-copy {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
  }
}

@media (max-width: 1040px) {
  .index-footer-main {
    grid-template-columns: minmax(0,1fr) minmax(240px,0.72fr);
  }

  .index-footer-brand {
    grid-column: 1 / -1;
    padding: 0 28px 42px;
  }

  .index-footer-main::before {
    top: -40px;
    left: 70%;
    width: min(640px, 70.4vw);
    height: min(512px, 56.32vw);
  }

  .index-footer-brand-details {
    width: 100%;
    margin-left: 0;
  }

  .index-footer-column {
    border-top: 1px solid rgba(99,133,178,0.22);
    border-left: 0;
    padding-top: 32px;
  }

  .index-footer-column + .index-footer-column {
    border-left: 1px solid rgba(255,255,255,0.38);
  }

  .index-footer .index-footer-bottom-grid {
    grid-template-columns: minmax(220px,0.82fr) minmax(0,1.4fr);
  }

  .index-footer-bottom-cell:last-child {
    grid-column: 1 / -1;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(99,133,178,0.24);
    border-left: 0;
  }

  .index-footer-bottom-cell:last-child::before {
    display: none;
  }
}

@media (min-width: 641px) and (max-width: 1040px) {
  .index-footer-brand {
    display: grid;
    grid-template-columns: 230px minmax(0,1fr);
    grid-template-rows: auto auto;
    column-gap: 20px;
    width: min(100%,676px);
    max-width: none;
    margin: 0 auto;
    padding: 0 28px 42px;
    box-sizing: border-box;
    text-align: left;
  }

  .index-footer-lockup {
    display: contents;
  }

  .index-footer-jaguar {
    grid-column: 1;
    grid-row: 1 / 3;
  }

  .index-footer-lockup > div {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
  }

  .index-footer-brand-title {
    text-align: left;
  }

  .index-footer-brand-details {
    grid-column: 2;
    grid-row: 2;
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .index-footer {
    padding-top: 72px;
  }

  .index-footer-crown {
    grid-template-columns: minmax(0,1fr) 64px minmax(0,1fr);
  }

  .index-footer-crown-icon {
    width: 64px;
    height: 50px;
  }

  .index-footer-main {
    grid-template-columns: 1fr;
    padding-bottom: 16px;
  }

  .index-footer-brand {
    padding-inline: 8px;
  }

  .index-footer-main::before {
    top: -20px;
    left: 70%;
    width: min(488px,89.6vw);
    height: min(390px,71.68vw);
    transform: translateX(-50%);
  }

  .index-footer-lockup {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .index-footer-jaguar {
    width: 126px;
    height: 138px;
    transform: translateY(-22px);
  }

  .index-footer-brand-title {
    font-size: clamp(2.05rem,9vw,2.55rem);
    text-align: center;
  }

  .index-footer-brand-details {
    width: 100%;
    margin-left: 0;
  }

  .index-footer-school {
    font-size: 0.9rem;
    letter-spacing: 0.1em;
  }

  .index-footer-motto {
    gap: 7px;
    font-size: 1rem;
  }

  .index-footer-column {
    padding: 28px 8px 0;
  }

  .index-footer-link {
    min-height: 52px;
  }

  .index-footer-action {
    min-height: 54px;
  }

  .index-footer-email {
    grid-template-columns: 20px minmax(0,1fr);
    gap: 8px;
    padding-inline: 10px;
  }

  .index-footer-email-address {
    font-size: 0.76rem;
    letter-spacing: -0.01em;
    white-space: nowrap;
  }

  .index-footer-column + .index-footer-column {
    margin-top: 22px;
    border-left: 0;
  }

  .index-footer .index-footer-bottom-grid {
    grid-template-columns: 1fr;
    padding: 8px 0 0;
  }

  .index-footer-srr {
    white-space: normal;
  }

  .index-footer-srr .index-footer-bottom-links {
    display: block;
    line-height: 1.45;
  }

  .index-footer-srr .index-footer-bottom-links .dot {
    padding-inline: 5px;
  }

  .index-footer-bottom-cell {
    padding: 18px 8px;
  }

  .index-footer-bottom-cell + .index-footer-bottom-cell,
  .index-footer-bottom-cell:last-child {
    grid-column: auto;
    margin-top: 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.42);
    border-left: 0;
  }

  .index-footer-bottom-cell::before {
    display: none;
  }

  .index-footer-bottom-cell:last-child {
    padding-bottom: 0;
  }
}

/* Keep the navigation group aligned with the homepage reference layout. */
@media (min-width: 1041px) {
  .index-footer-column {
    transform: translateX(30px);
  }
}