/* ============================================================
   HOLDING PAGE (template-holding.php)
   Paste at the end of main.css, or save as css/holding.css and enqueue.
============================================================ */

.holding {
  --holding-bg: #F1F5F4;
  --holding-ink: #1B3436;
  --holding-radius: 16px;

  background: var(--holding-bg);
  min-height: 100vh;
  color: var(--greytext);
}

.holding__container { max-width: 1440px; padding-inline: 64px; }

/* Header */
.holding__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 2.25rem 1.75rem;
  border-bottom: 1px solid var(--greybg);
}

/* Mobile-only LinkedIn icon in the header */
.holding__linkedin-mobile { display: none; line-height: 0; }
.holding__linkedin-mobile img { width: 24px; height: 24px; }
.holding__logo { display: inline-block; line-height: 0; }
.holding__logo img { display: block; width: auto; height: 40px; }

/* Layout */
.holding__row { padding-block: 3rem 3.5rem; --bs-gutter-x: 4rem; }

/* Intro */
.holding__label {
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--greytext);
  margin: 0.5rem 0 1.5rem;
}

.holding__title {
  font-family: 'Clash Display', sans-serif;
  font-weight: 500;
  font-size: clamp(2rem, 1.2rem + 2.2vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--black);
  max-width: 15em;
  margin-bottom: 1.75rem;
}

.holding__text { max-width: 36em; }
.holding__text p {
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--greytext);
  margin-bottom: 1.75rem;
}

.holding__follow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
}
.holding__follow-label {
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--greytext);
  position: relative;
  top: 0.1em;
}
.holding__follow a { display: inline-flex; line-height: 0; }
.holding__follow img { width: 28px; height: 28px; }
.holding__follow a:hover { opacity: 0.7; }

/* Card */
.holding__card {
  background: var(--lightbg);
  border: 1px solid var(--greybg);
  border-radius: var(--holding-radius);
  padding: 2.25rem;
}

.holding__form-title {
  font-family: 'Clash Display', sans-serif;
  font-weight: 300;
  font-size: clamp(1.75rem, 1.2rem + 1.4vw, 2.5rem);
  line-height: 1.1;
  color: var(--holding-ink);
  margin-bottom: 1.25rem;
}
.holding__form-title::after {
  content: "*";
  color: var(--red);
  font-size: 0.9em;
  vertical-align: baseline;
  position: relative;
  top: 0.12em;
  margin-left: 0.15em;
}

.holding__form-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--greytext);
  margin-bottom: 1.75rem;
}

.holding__privacy {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.25rem 0 0;
  font-size: 0.8125rem;
  color: var(--greytext);
}

.holding__notice { font-size: 0.9375rem; }
.holding__notice--error { color: #7a2f17; }

/* Bottom rule */
.holding__footer-line { border-top: 1px solid var(--greybg); margin-top: 1rem; }


/* ============================================================
   GRAVITY FORMS (scoped to the holding card)
   In the form editor: set Name and Email to "Half" width, hide
   field labels (Label Visibility: Hidden) and add placeholders.
============================================================ */

.holding .gform_wrapper { margin: 0; }
.holding .gform_wrapper .gform_fields { row-gap: 1rem; column-gap: 1rem; }

.holding .gform_wrapper .gfield_label { font-family: "Inter", sans-serif; color: var(--greytext); }

.holding .gform_wrapper input[type="text"],
.holding .gform_wrapper input[type="email"],
.holding .gform_wrapper input[type="tel"],
.holding .gform_wrapper textarea {
  width: 100%;
  height: 52px;
  padding: 0 1rem;
  font-family: "Inter", sans-serif;
  font-size: 0.9375rem;
  color: var(--holding-ink);
  background: var(--white);
  border: 1px solid var(--greybg);
  border-radius: 4px;
  box-shadow: none;
  appearance: none;
}

.holding .gform_wrapper textarea {
  height: auto;
  min-height: 112px;
  padding-block: 1rem;
  resize: vertical;
}

.holding .gform_wrapper input::placeholder,
.holding .gform_wrapper textarea::placeholder { color: var(--greytext); opacity: 1; }

.holding .gform_wrapper input:focus,
.holding .gform_wrapper textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(178, 73, 39, 0.18);
}

/* Footer and submit button (markup comes from the gform_submit_button filter) */
.holding .gform_wrapper .gform_footer,
.holding .gform_wrapper .gform_page_footer { margin: 1.5rem 0 0; padding: 0; }

.holding .gform_wrapper .holding__submit,
.holding .gform_wrapper .gform_button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 54px;
  padding: 0 1.25rem;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  color: var(--white);
  background: var(--red);
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}
.holding .gform_wrapper .holding__submit:hover,
.holding .gform_wrapper .gform_button:hover { background: #9d3f20; }
.holding .gform_wrapper .holding__submit:focus-visible,
.holding .gform_wrapper .gform_button:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(178, 73, 39, 0.35); }
.holding .gform_wrapper .holding__submit svg { transition: transform 200ms ease; }
.holding .gform_wrapper .holding__submit:hover svg { transform: translate(2px, -2px); }

/* Validation and confirmation */
.holding .gform_wrapper .gform_validation_errors {
  border: 0;
  background: #F7E6E0;
  color: #7a2f17;
  border-radius: 4px;
  box-shadow: none;
  padding: 0.875rem 1rem;
  margin-bottom: 1rem;
}
.holding .gform_wrapper .gform_validation_errors h2 { font-family: "Inter", sans-serif; font-size: 0.9375rem; margin: 0; }
.holding .gform_wrapper .validation_message { color: #7a2f17; font-size: 0.8125rem; }

.holding .gform_confirmation_message {
  padding: 0.875rem 1rem;
  background: #E6F0EC;
  color: var(--holding-ink);
  border-radius: 4px;
  font-size: 0.9375rem;
}

/* Responsive */
@media (max-width: 991.98px) {
  .holding__container { padding-inline: 24px; }
  .holding__row { padding-block: 2rem 2.5rem; --bs-gutter-x: 1.5rem; row-gap: 2.5rem; }
  .holding__logo img { height: 32px; }
  .holding__header { justify-content: center; }


  .holding__card { padding: 1.5rem; }
}