/* ===================================================================
   FILE        : privacy-policy.css
   PROJECT     : Lexvora Consulting
   PURPOSE     : Privacy Policy page only
   =================================================================== */

.privacy-hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 104px 5vw 58px;
  color: #fff;
  background-color: #061421;
  background-image:
    linear-gradient(
      90deg,
      rgba(4, 14, 23, .98) 0%,
      rgba(4, 14, 23, .90) 35%,
      rgba(4, 14, 23, .30) 57%,
      rgba(4, 14, 23, .04) 100%
    ),
    url("../images/hero-back-privacypolicy.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.privacy-hero__content {
  position: relative;
  z-index: 2;
  width: min(100%, 1500px);
  margin: 0 auto;
  padding-right: min(54%, 860px);
}

.privacy-kicker {
  margin: 0 0 15px;
  color: var(--gold-light);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.privacy-hero h1 {
  margin: 0;
  color: #fffdf8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 5.6vw, 84px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.025em;
}

.privacy-gold-line {
  width: 58px;
  height: 2px;
  margin: 26px 0 28px;
  background: var(--gold-light);
}

.privacy-hero__lead {
  max-width: 590px;
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.55;
}

.privacy-hero__lead--white {
  color: #fff;
}

.privacy-hero__lead--gold {
  color: var(--gold-light);
  font-weight: 700;
}

.privacy-effective {
  margin: 28px 0 0;
  color: #f3eee7;
  font-size: 15px;
  letter-spacing: .02em;
}

/* Terms & Conditions uses the same live-text hero system with its own artwork. */
.terms-conditions-page .privacy-hero {
  background-image:
    linear-gradient(
      90deg,
      rgba(4, 14, 23, .98) 0%,
      rgba(4, 14, 23, .90) 35%,
      rgba(4, 14, 23, .30) 57%,
      rgba(4, 14, 23, .04) 100%
    ),
    url("../images/hero-back-tnc.png");
}

.terms-conditions-page .privacy-hero__content {
  padding-right: min(50%, 800px);
}

.terms-conditions-page .privacy-hero h1 {
  font-size: clamp(48px, 4.8vw, 76px);
  white-space: nowrap;
}

.privacy-content {
  padding: clamp(48px, 5.5vw, 84px) 5vw clamp(72px, 7vw, 110px);
  background:
    radial-gradient(circle at 12% 8%, rgba(210,161,95,.055), transparent 25%),
    #fbf8f3;
}

.privacy-layout {
  width: min(100%, 1500px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(235px, 290px) minmax(0, 1fr);
  gap: clamp(42px, 5vw, 88px);
  align-items: start;
}

.privacy-toc {
  position: sticky;
  top: 94px;
  max-height: calc(100vh - 118px);
  overflow: hidden;
  padding: 28px 26px 24px;
  border: 1px solid rgba(184,132,69,.17);
  border-radius: 10px;
  background: rgba(255,253,249,.96);
  box-shadow: 0 16px 38px rgba(25,31,35,.08);
}

.privacy-toc__title {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.privacy-toc__updated {
  margin: 0 0 19px;
  color: #71808a;
  font-size: 12px;
  line-height: 1.45;
}

.privacy-toc nav {
  max-height: calc(100vh - 235px);
  overflow-y: auto;
  padding-right: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(184,132,69,.5) transparent;
}

.privacy-toc a {
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr);
  gap: 9px;
  padding: 10px 0;
  color: #263540;
  font-size: 13px;
  line-height: 1.35;
  border-bottom: 1px solid rgba(184,132,69,.18);
  transition: color .2s ease, transform .2s ease;
}

.privacy-toc a:last-child {
  border-bottom: 0;
}

.privacy-toc a span {
  color: var(--gold);
  font-weight: 700;
}

.privacy-toc a:hover,
.privacy-toc a:focus-visible,
.privacy-toc a.is-active {
  color: var(--gold);
  transform: translateX(3px);
}

.privacy-toc a:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

.privacy-document {
  min-width: 0;
}

.privacy-section {
  scroll-margin-top: 100px;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 28px;
  margin: 0;
  padding: 0 0 42px;
  border-bottom: 1px solid rgba(184,132,69,.32);
}

.privacy-section + .privacy-section {
  padding-top: 40px;
}

.privacy-section__number {
  padding-top: 2px;
  color: #c2924e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 49px;
  line-height: 1;
  border-right: 1px solid rgba(184,132,69,.55);
}

.privacy-section h2 {
  margin: 0 0 17px;
  color: #071421;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3vw, 43px);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -.015em;
}

.privacy-section h3 {
  margin: 25px 0 9px;
  color: #142b3c;
  font-size: 17px;
  line-height: 1.35;
}

.privacy-section p,
.privacy-section li,
.privacy-address {
  color: #43515b;
  font-size: 16px;
  line-height: 1.75;
}

.privacy-section p + p {
  margin-top: 14px;
}

.privacy-section ul {
  margin: 14px 0 0 22px;
}

.privacy-section li + li {
  margin-top: 8px;
}

.privacy-section a {
  color: #a56f2f;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.privacy-section a:hover,
.privacy-section a:focus-visible {
  color: #714716;
}

.privacy-address {
  margin-top: 16px;
  padding: 15px 18px;
  font-style: normal;
  border-left: 3px solid var(--gold-light);
  background: rgba(210,161,95,.085);
}

.privacy-section--contact {
  border-bottom: 0;
  padding-bottom: 0;
}

/* The privacy page uses the shared footer with the project SVG icons. */
.privacy-policy-page .office-icon,
.privacy-policy-page .office-phone img,
.privacy-policy-page .footer-direct-contact img {
  display: block;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  padding: 6px;
  border: 1px solid rgba(7,20,33,.66);
  border-radius: 8px;
  object-fit: contain;
}

.privacy-policy-page .footer-direct-contact img {
  border-color: rgba(210,161,95,.7);
}

.privacy-policy-page .footer-office--regional {
  border-color: rgba(224,210,171,.88);
  background:
    linear-gradient(115deg, rgba(255,255,255,.28), transparent 34%),
    linear-gradient(145deg, #ded6bf 0%, #c8ba94 48%, #ac996c 100%);
}

@media (max-width: 980px) {
  .privacy-hero {
    min-height: 610px;
    background-position: 61% center;
  }

  .privacy-hero__content {
    padding-right: 37%;
  }

  .terms-conditions-page .privacy-hero {
    background-position: 60% center;
  }

  .terms-conditions-page .privacy-hero__content {
    padding-right: 34%;
  }

  .privacy-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .privacy-toc {
    position: relative;
    top: auto;
    max-height: none;
  }

  .privacy-toc nav {
    max-height: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 26px;
  }
}

@media (max-width: 680px) {
  .privacy-hero {
    min-height: 600px;
    padding: 78px 22px 48px;
    background-image:
      linear-gradient(
        90deg,
        rgba(4, 14, 23, .99) 0%,
        rgba(4, 14, 23, .95) 66%,
        rgba(4, 14, 23, .60) 100%
      ),
      url("../images/hero-back-privacypolicy.png");
    background-position: 64% center;
  }

  .privacy-hero__content {
    padding-right: 0;
  }

  .privacy-hero h1 {
    font-size: clamp(40px, 12vw, 54px);
  }

  .privacy-hero__lead {
    max-width: 460px;
    font-size: 15px;
  }

  .terms-conditions-page .privacy-hero {
    background-image:
      linear-gradient(
        90deg,
        rgba(4, 14, 23, .99) 0%,
        rgba(4, 14, 23, .95) 66%,
        rgba(4, 14, 23, .60) 100%
      ),
      url("../images/hero-back-tnc.png");
    background-position: 63% center;
  }

  .terms-conditions-page .privacy-hero__content {
    padding-right: 0;
  }

  .terms-conditions-page .privacy-hero h1 {
    font-size: clamp(38px, 10.5vw, 50px);
    white-space: normal;
  }

  .privacy-content {
    padding-inline: 22px;
  }

  .privacy-toc {
    padding: 24px 20px;
  }

  .privacy-toc nav {
    grid-template-columns: 1fr;
  }

  .privacy-section {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 18px;
    padding-bottom: 34px;
  }

  .privacy-section + .privacy-section {
    padding-top: 34px;
  }

  .privacy-section__number {
    font-size: 34px;
  }

  .privacy-section h2 {
    font-size: 29px;
  }

  .privacy-section p,
  .privacy-section li,
  .privacy-address {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .privacy-toc a {
    transition: none;
  }
}
