@charset "utf-8";

/* Contact page and reusable contact form. */
.tks-contact-page,
.tks-embedded-form {
  --contact-bg: #111;
  --contact-panel: #f7f6f2;
  --contact-paper: #fff;
  --contact-ink: #202223;
  --contact-muted: #657075;
  --contact-light: #d7d7d4;
  --contact-accent: #c69b67;
  --contact-accent-dark: #8b6336;
  --contact-line: #d9d7d0;
  --contact-error: #b42318;
  --contact-success: #276749;
}

.tks-contact-page {
  overflow: clip;
  padding-top: var(--header-height);
  color: var(--contact-light);
  background: var(--contact-bg);
}

.tks-contact-page *,
.tks-contact-page *::before,
.tks-contact-page *::after {
  box-sizing: border-box;
}

.tks-contact-page
  :where(
    h1,
    h2,
    h3,
    p,
    li,
    dt,
    dd,
    label,
    legend,
    input,
    select,
    textarea,
    button,
    a,
    summary,
    span
  ) {
  letter-spacing: 0;
}

.tks-contact-shell {
  width: min(92%, 1240px);
  margin-inline: auto;
}

.tks-contact-eyebrow,
.tks-contact-section-label {
  margin: 0 0 16px;
  color: var(--contact-accent);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.18em !important;
}

.tks-contact-hero {
  padding: clamp(76px, 10vw, 150px) 0 clamp(68px, 9vw, 125px);
  border-bottom: 1px solid rgba(198, 155, 103, 0.22);
  background: #111;
}

.tks-contact-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.7fr);
  gap: clamp(52px, 9vw, 140px);
  align-items: end;
}

.tks-contact-hero h1 {
  max-width: 820px;
  color: #f1f0ec;
  font-size: clamp(1.688rem, 0.938rem + 2.86vw, 3.438rem);
  font-weight: 500;
  line-height: 1.24;
}

.tks-contact-hero__lead {
  max-width: 520px;
  padding-left: 26px;
  border-left: 1px solid var(--contact-accent);
  color: #bebfbc;
  font-size: 15px;
  line-height: 2;
}

.tks-contact-main {
  padding: clamp(74px, 9vw, 140px) 0;
  background: #171717;
}

.tks-contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: start;
}

.tks-contact-guide {
  position: sticky;
  top: calc(var(--header-height) + 28px);
}

body.admin-bar .tks-contact-guide {
  top: calc(var(--header-height) + 60px);
}

.tks-contact-guide h2,
.tks-contact-faq h2 {
  color: #f1f0ec;
  font-size: clamp(1.85rem, 1.45rem + 1.45vw, 2.6rem);
  font-weight: 500;
  line-height: 1.4;
}

.tks-contact-guide__intro {
  margin-top: 24px;
  color: #b7b7b3;
  font-size: 14px;
  line-height: 1.95;
}

.tks-contact-steps {
  margin-top: 42px;
  border-top: 1px solid rgba(198, 155, 103, 0.25);
}

.tks-contact-steps li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(198, 155, 103, 0.25);
}

.tks-contact-steps li > span {
  color: var(--contact-accent);
  font-size: 11px;
  font-weight: 700;
}

.tks-contact-steps strong {
  display: block;
  color: #e4e3df;
  font-size: 14px;
  line-height: 1.5;
}

.tks-contact-steps p {
  margin-top: 7px;
  color: #90918f;
  font-size: 12px;
  line-height: 1.7;
}

.tks-contact-direct {
  margin-top: 48px;
}

.tks-contact-direct dl {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.tks-contact-direct dl > div {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.tks-contact-direct dt {
  color: var(--contact-accent);
  font-size: 10px;
  font-weight: 700;
}

.tks-contact-direct dd,
.tks-contact-direct a {
  color: #d5d4cf;
  font-size: 12px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.tks-contact-form-panel {
  min-width: 0;
  padding: clamp(30px, 5vw, 66px);
  border-radius: 4px;
  color: var(--contact-ink);
  background: var(--contact-panel);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.24);
}

.tks-contact-page-forms {
  min-width: 0;
}

.tks-embedded-form {
  max-width: 920px;
  margin: 48px auto;
}

.tks-contact-page .tks-embedded-form {
  margin: 0;
}

.tks-contact-page .tks-embedded-form + .tks-embedded-form {
  margin-top: 48px;
}

.tks-contact-form-heading {
  margin-bottom: 48px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--contact-line);
}

.tks-contact-form-heading h2,
.tks-contact-complete h2 {
  color: var(--contact-ink);
  font-size: clamp(1.65rem, 1.35rem + 1.2vw, 2.55rem);
  font-weight: 600;
  line-height: 1.4;
}

.tks-contact-form-heading > p:last-child {
  margin-top: 14px;
  color: var(--contact-muted);
  font-size: 13px;
}

.tks-contact-required,
.tks-contact-optional {
  display: inline-block;
  margin-left: 6px;
  padding: 3px 6px;
  border-radius: 2px;
  color: #fff;
  background: var(--contact-accent-dark);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.2;
  vertical-align: 2px;
}

.tks-contact-optional {
  color: #60666a;
  background: #e3e1da;
}

.tks-contact-error-summary {
  margin-bottom: 38px;
  padding: 22px 24px;
  border: 1px solid #e6a8a3;
  border-left: 5px solid var(--contact-error);
  border-radius: 3px;
  background: #fff5f4;
  outline: none;
}

.tks-contact-error-summary h3 {
  color: var(--contact-error);
  font-size: 15px;
  font-weight: 700;
}

.tks-contact-error-summary ul {
  margin-top: 10px;
}

.tks-contact-error-summary li {
  position: relative;
  padding: 3px 0 3px 15px;
  color: #79251e;
  font-size: 12px;
  line-height: 1.6;
}

.tks-contact-error-summary li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--contact-error);
}

.tks-contact-form {
  display: grid;
  gap: 34px;
}

.tks-contact-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 20px;
}

.tks-contact-field--full {
  grid-column: 1 / -1;
}

.tks-contact-field--half {
  grid-column: auto;
}

.tks-contact-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.tks-contact-field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.tks-contact-field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.tks-contact-field > label,
.tks-contact-field legend,
.tks-contact-field__label-row label {
  display: block;
  margin-bottom: 10px;
  color: #252829;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.tks-contact-field input[type="text"],
.tks-contact-field input[type="email"],
.tks-contact-field input[type="tel"],
.tks-contact-field input[type="url"],
.tks-contact-field select,
.tks-contact-field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  border: 1px solid #c9c7bf;
  border-radius: 3px;
  color: var(--contact-ink);
  background: #fff;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.6;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.tks-contact-field input[type="text"],
.tks-contact-field input[type="email"],
.tks-contact-field input[type="tel"],
.tks-contact-field input[type="url"],
.tks-contact-field select {
  min-height: 54px;
  padding: 12px 14px;
}

.tks-contact-field select {
  padding-right: 42px;
  cursor: pointer;
}

.tks-contact-field textarea {
  min-height: 230px;
  padding: 15px;
  resize: vertical;
}

.tks-contact-field input::placeholder,
.tks-contact-field textarea::placeholder {
  color: #999b99;
}

.tks-contact-field input:focus,
.tks-contact-field select:focus,
.tks-contact-field textarea:focus {
  border-color: var(--contact-accent-dark);
  box-shadow: 0 0 0 3px rgba(198, 155, 103, 0.2);
}

.tks-contact-field--error input,
.tks-contact-field--error select,
.tks-contact-field--error textarea {
  border-color: var(--contact-error);
  background: #fffafa;
}

.tks-contact-field__help,
.tks-contact-field__error {
  margin-top: 8px;
  color: var(--contact-muted);
  font-size: 11px;
  line-height: 1.65;
}

.tks-contact-field__error {
  color: var(--contact-error);
  font-weight: 700;
}

.tks-contact-field__label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.tks-contact-counter {
  flex: 0 0 auto;
  color: #7a7e80;
  font-size: 10px;
}

.tks-contact-choice__options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.tks-contact-choice__options label {
  position: relative;
  margin: 0;
  cursor: pointer;
}

.tks-contact-choice__options input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.tks-contact-choice__options span {
  display: grid;
  place-items: center;
  min-height: 50px;
  padding: 10px;
  border: 1px solid #c9c7bf;
  border-radius: 3px;
  color: #4e5558;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    background-color 0.2s ease;
}

.tks-contact-choice__options input:checked + span {
  border-color: var(--contact-accent-dark);
  color: #4d3216;
  background: #f3e9da;
}

.tks-contact-choice__options input:focus-visible + span {
  outline: 3px solid rgba(198, 155, 103, 0.3);
  outline-offset: 2px;
}

.tks-contact-consent {
  padding: 20px;
  border: 1px solid var(--contact-line);
  border-radius: 3px;
  background: #fff;
}

.tks-contact-consent > label {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  margin: 0;
  cursor: pointer;
}

.tks-contact-consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--contact-accent-dark);
}

.tks-contact-consent span {
  color: #4e5558;
  font-size: 12px;
  line-height: 1.7;
}

.tks-contact-consent a {
  color: var(--contact-accent-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tks-contact-captcha {
  min-width: 0;
  overflow-x: auto;
  padding: 4px 0;
}

.tks-contact-captcha .cf-turnstile {
  width: min(100%, 300px);
}

.tks-contact-confirm > h3 {
  color: var(--contact-ink);
  font-size: clamp(1.4rem, 1.2rem + 0.8vw, 2rem);
  font-weight: 600;
  line-height: 1.5;
}

.tks-contact-confirm__lead {
  margin-top: 12px;
  color: var(--contact-muted);
  font-size: 13px;
  line-height: 1.8;
}

.tks-contact-confirm__list {
  margin-top: 32px;
  border-top: 1px solid var(--contact-line);
}

.tks-contact-confirm__list > div {
  display: grid;
  grid-template-columns: minmax(130px, 0.32fr) minmax(0, 1fr);
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--contact-line);
}

.tks-contact-confirm__list dt {
  color: #454a4c;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.7;
}

.tks-contact-confirm__list dd {
  min-width: 0;
  color: var(--contact-ink);
  font-size: 14px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.tks-contact-form--confirm {
  margin-top: 30px;
}

.tks-contact-confirm__actions {
  display: flex;
  flex-wrap: wrap-reverse;
  gap: 12px;
}

.tks-contact-confirm__actions > button {
  flex: 1 1 240px;
}

.tks-contact-button--secondary {
  color: #202223 !important;
  background: transparent;
}

.tks-contact-button--secondary:hover {
  color: #fff !important;
  background: #202223;
}

.tks-contact-submit {
  padding-top: 4px;
}

.tks-contact-submit__button,
.tks-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: min(100%, 390px);
  min-height: 62px;
  padding: 15px 22px;
  border: 1px solid #202223;
  border-radius: 3px;
  color: #fff !important;
  background: #202223;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease;
}

.tks-contact-submit__button:hover,
.tks-contact-button:hover {
  color: #202223 !important;
  background: transparent;
  transform: translateY(-2px);
}

.tks-contact-submit__button:disabled {
  border-color: #85898a;
  background: #85898a;
  cursor: wait;
  transform: none;
}

.tks-contact-submit > p {
  margin-top: 13px;
  color: #7a7e80;
  font-size: 10px;
  line-height: 1.6;
}

.tks-contact-complete {
  min-height: 620px;
  outline: none;
}

.tks-contact-complete__mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 38px;
  border-radius: 50%;
  color: #fff;
  background: var(--contact-success);
  font-size: 24px;
  font-weight: 700;
}

.tks-contact-complete > p:not(.tks-contact-section-label) {
  max-width: 620px;
  margin-top: 24px;
  color: var(--contact-muted);
  font-size: 14px;
  line-height: 2;
}

.tks-contact-complete__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 42px;
}

.tks-contact-text-link {
  padding: 8px 0;
  border-bottom: 1px solid #7a7e80;
  color: #4e5558 !important;
  font-size: 12px;
}

.tks-contact-faq {
  padding: clamp(78px, 10vw, 145px) 0;
  border-top: 1px solid rgba(198, 155, 103, 0.2);
  background: #111;
}

.tks-contact-faq .tks-contact-shell {
  display: grid;
  grid-template-columns: minmax(250px, 0.6fr) minmax(0, 1.4fr);
  gap: clamp(48px, 8vw, 110px);
}

.tks-contact-faq__list {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.tks-contact-faq details {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.tks-contact-faq summary {
  position: relative;
  padding: 23px 52px 23px 0;
  color: #e4e3df;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
  cursor: pointer;
  list-style: none;
}

.tks-contact-faq summary::-webkit-details-marker {
  display: none;
}

.tks-contact-faq summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 8px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(198, 155, 103, 0.45);
  border-radius: 50%;
  color: var(--contact-accent);
  font-size: 16px;
  transform: translateY(-50%);
}

.tks-contact-faq details[open] summary::after {
  content: "−";
}

.tks-contact-faq details p {
  max-width: 680px;
  padding: 0 52px 23px 0;
  color: #9d9e9b;
  font-size: 13px;
  line-height: 1.9;
}

@media (max-width: 980px) {
  .tks-contact-hero__grid,
  .tks-contact-layout,
  .tks-contact-faq .tks-contact-shell {
    grid-template-columns: 1fr;
  }

  .tks-contact-hero__lead {
    max-width: 760px;
  }

  .tks-contact-guide {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 56px;
  }

  .tks-contact-guide > .tks-contact-section-label,
  .tks-contact-guide > h2,
  .tks-contact-guide__intro {
    grid-column: 1;
  }

  .tks-contact-steps {
    grid-column: 2;
    grid-row: 1 / 5;
    margin-top: 0;
  }

  .tks-contact-direct {
    grid-column: 1;
  }
}

@media (max-width: 782px) {
  body.admin-bar .tks-contact-guide {
    top: auto;
  }
}

@media (max-width: 680px) {
  .tks-contact-page {
    padding-top: var(--header-height);
  }

  .tks-contact-hero {
    padding: 64px 0 58px;
  }

  .tks-contact-hero h1 {
    font-size: clamp(2.25rem, 10vw, 3.25rem);
  }

  .tks-contact-hero__lead {
    padding-left: 18px;
    font-size: 14px;
  }

  .tks-contact-main {
    padding-top: 64px;
  }

  .tks-contact-guide {
    display: block;
  }

  .tks-contact-steps {
    margin-top: 38px;
  }

  .tks-contact-form-panel {
    width: 100%;
    padding: 28px 18px 34px;
  }

  .tks-contact-field-row,
  .tks-contact-fields,
  .tks-contact-choice__options {
    grid-template-columns: 1fr;
  }

  .tks-contact-field--full,
  .tks-contact-field--half {
    grid-column: 1;
  }

  .tks-contact-confirm__list > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .tks-contact-form {
    gap: 28px;
  }

  .tks-contact-field__label-row {
    align-items: end;
  }

  .tks-contact-submit__button,
  .tks-contact-button {
    width: 100%;
  }

  .tks-contact-faq details p {
    padding-right: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tks-contact-page *,
  .tks-contact-page *::before,
  .tks-contact-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
