/* =====================================================================
   lverbeeck.com - contact.css
   Page-specific styles for contact.html, privacy.html and terms.html.
   Extends base.css (tokens, header, footer, labels). No external requests.
   ===================================================================== */

/* -------------------------------------------------- Page head
   Shared intro block for pages without a hero. Top padding clears the
   fixed header, then adds breathing room like the reference. */
.page-head {
  padding-top: calc(var(--header-h) + clamp(48px, 9vw, 110px));
}
.page-head__tag {
  color: var(--ink-soft);
  margin-bottom: clamp(20px, 3vw, 32px);
}
.page-head__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: var(--fs-display);
  line-height: .98;
  letter-spacing: -.03em;
  max-width: 14ch;
}

/* ====================================================================
   CONTACT
   ==================================================================== */

/* Split: form left, contact details right. Collapses to one column. */
.contact-grid {
  display: grid;
  grid-template-columns: 1.35fr .8fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
  padding-top: clamp(48px, 7vw, 88px);
  padding-bottom: var(--section-gap);
}

/* -------------------------------------------------- Form */
.contact-form { max-width: 620px; }

/* two fields side by side (first / last name) */
.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 40px);
  margin-bottom: clamp(28px, 3.5vw, 42px);
}
.cf-field { margin-bottom: clamp(28px, 3.5vw, 42px); }
.cf-row .cf-field { margin-bottom: 0; }

/* caps label sitting above each input */
.cf-label {
  display: block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: var(--fs-label);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 12px;
}
.cf-optional { color: var(--ink-soft); }

/* underlined input, serif value - matches the reference's line inputs */
.cf-input {
  width: 100%;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  padding: 6px 0 12px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.15rem;
  line-height: 1.35;
  color: var(--ink);
  transition: border-color .25s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.cf-input::placeholder { color: var(--ink-soft); }
.cf-input:focus {
  outline: none;
  border-bottom-width: 2px;
  padding-bottom: 11px;   /* keep the baseline stable on focus */
}
.cf-textarea { resize: vertical; min-height: 130px; line-height: 1.4; }

/* Turnstile widget - hidden while no sitekey is wired in (empty attr) */
.cf-turnstile { margin-top: clamp(24px, 3vw, 32px); }
.cf-turnstile[data-sitekey=""] { display: none; }

/* submit */
.cf-actions { margin-top: clamp(28px, 4vw, 40px); }
.btn-send {
  display: inline-flex;
  align-items: center;
  gap: .8em;
  background: var(--ink);
  color: var(--bg);
  border: 0;
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 500;
  font-size: var(--fs-label);
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 16px 28px;
  transition: opacity .25s var(--ease);
}
.btn-send:hover { opacity: .85; }
.btn-send .arw { transition: transform .35s var(--ease); }
.btn-send:hover .arw { transform: translateX(5px); }
.btn-send:disabled { opacity: .5; cursor: default; }

/* status line under the form (base.css styles .form-note; nudge spacing) */
.contact-form .form-note { margin-top: 18px; }

/* -------------------------------------------------- Contact details rail */
.contact-aside { padding-top: 6px; }
.contact-aside__head {
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.contact-email {
  display: inline-block;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -.02em;
  border-bottom: 1px solid var(--rule);
  transition: border-color .25s var(--ease);
  margin-bottom: clamp(40px, 6vw, 60px);
  word-break: break-word;
}
.contact-email:hover { border-color: var(--ink); }

.contact-aside__block + .contact-aside__block { margin-top: clamp(24px, 3vw, 34px); }
.contact-aside__label {
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.contact-aside__value {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(.95rem, 1.2vw, 1.05rem);
  letter-spacing: .04em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: .55em;
}
.contact-aside__value .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ink); display: inline-block;
}
/* reuse the header clock's tabular figures so the time never jitters */
.local-clock { font-variant-numeric: tabular-nums; min-width: 4ch; }

/* ====================================================================
   LEGAL (privacy / terms)
   ==================================================================== */
.legal-head__updated {
  margin-top: clamp(18px, 2.5vw, 26px);
  font-family: var(--sans);
  font-weight: 500;
  font-size: var(--fs-label);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.legal-article {
  max-width: 720px;
  padding-top: clamp(40px, 5vw, 64px);
  padding-bottom: var(--section-gap);
}

/* section headings render as caps labels; body stays serif */
.legal-article h2 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: var(--fs-label);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: clamp(40px, 5vw, 58px);
  margin-bottom: clamp(14px, 1.8vw, 20px);
  padding-top: clamp(28px, 3.5vw, 40px);
  border-top: 1px solid var(--rule);
}
.legal-article > h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.legal-article p {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.1875rem;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 1.1rem;
}
.legal-article p:last-child { margin-bottom: 0; }

.legal-article ul {
  list-style: none;
  margin: .3rem 0 1.3rem;
  padding: 0;
}
.legal-article li {
  font-family: var(--serif);
  font-size: 1.1875rem;
  line-height: 1.5;
  position: relative;
  padding-left: 1.5em;
  margin-bottom: .5em;
}
.legal-article li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .72em;
  width: .7em;
  height: 1px;
  background: var(--ink);
}
.legal-article a {
  border-bottom: 1px solid var(--ink);
  transition: opacity .25s var(--ease);
}
.legal-article a:hover { opacity: .6; }
/* Newsreader has no bold weight; use italic for emphasis */
.legal-article strong { font-weight: 400; font-style: italic; }

/* ====================================================================
   RESPONSIVE
   ==================================================================== */
@media (max-width: 820px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: clamp(48px, 9vw, 72px);
  }
}

@media (max-width: 520px) {
  .cf-row {
    grid-template-columns: 1fr;
    row-gap: clamp(28px, 6vw, 42px);
  }
}
