/* ==========================================================================
   Aurem — Contact page (hero, brief form, sidebar, FAQ).
   Uses brand tokens (hero.css) and shared components (components.css).
   ========================================================================== */

.ah-site-header { background: none; }

/* ---------- Hero ---------- */
.ah-chero {
  z-index: 1;
  overflow: hidden;
  isolation: isolate;
  min-height: 92vh; min-height: 92svh;
  display: flex; align-items: flex-end;
}
.ah-chero .ah-gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }
.ah-chero.ah-no-webgl {
  background:
    radial-gradient(60% 70% at 70% 30%, rgba(200, 16, 46, .7), transparent 70%),
    radial-gradient(40% 50% at 20% 90%, rgba(255, 90, 42, .3), transparent 70%),
    var(--ah-ink);
}
.ah-chero > .ah-grain { z-index: 1; }
.ah-chero__inner {
  position: relative; z-index: 2;
  width: 100%; max-width: 1680px; margin: 0 auto;
  padding: clamp(130px, 20vh, 220px) var(--ah-gutter) clamp(48px, 8vh, 90px);
}

.ah-chero .ah-eyebrow { margin-bottom: 26px; }
.ah-chero__title {
  margin: 0; max-width: 15ch;
  font-family: var(--ah-display); font-variation-settings: "opsz" 96;
  font-weight: 650; font-size: clamp(3rem, min(7.4vw, 12vh), 8.6rem);
  line-height: .94; letter-spacing: -.055em;
}
.ah-chero__title em { font-family: var(--ah-serif); font-style: italic; font-weight: 400; font-size: 1.06em; color: var(--ah-ember); letter-spacing: -.02em; }
.ah-chero__lead { max-width: 34rem; margin-top: 26px; font-size: clamp(16px, 1.2vw, 19px); line-height: 1.65; color: var(--ah-muted); }

/* quick contact cards */
.ah-quick {
  list-style: none; margin: clamp(40px, 7vh, 72px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
}
.ah-quick__card .ah-card__in {
  position: relative; height: 100%;
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  padding: 20px;
  transition: background-color .5s;
}
.ah-quick__card:hover .ah-card__in { background: rgba(60, 14, 22, .55); }
.ah-quick__card--accent .ah-card__in { background: linear-gradient(135deg, rgba(255, 90, 42, .28), rgba(200, 16, 46, .18)); }
.ah-quick__icon {
  display: grid; place-items: center;
  width: 44px; height: 44px; margin-bottom: 10px; border-radius: 50%;
  background: rgba(255, 90, 42, .14); border: 1px solid rgba(255, 197, 143, .25);
}
.ah-quick__icon svg { width: 20px; height: 20px; fill: none; stroke: var(--ah-gold); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ah-quick__label { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ah-muted); }
.ah-quick__value {
  font-family: var(--ah-display); font-weight: 600;
  font-size: clamp(17px, 1.35vw, 22px); letter-spacing: -.03em;
  transition: color .3s;
}
.ah-quick__value:hover { color: var(--ah-blush); }
.ah-quick__note { font-size: 13px; color: var(--ah-muted); }
.ah-quick__card .ah-copy { position: absolute; right: 16px; top: 20px; }

/* copy-to-clipboard pill */
.ah-copy {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 64px; height: 30px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--ah-line); background: rgba(255, 255, 255, .04);
  font-size: 12px; font-weight: 700;
  overflow: hidden;
  transition: background-color .3s, border-color .3s, color .3s;
}
.ah-copy:hover { border-color: rgba(255, 197, 143, .4); }
.ah-copy.is-copied { background: var(--ah-ember); border-color: var(--ah-ember); color: var(--ah-ink); }
.ah-copy__text { display: inline-block; }

/* ---------- Main: brief + sidebar ---------- */
.ah-cmain { z-index: 1; padding: clamp(80px, 12vh, 140px) 0 clamp(60px, 10vh, 120px); }
.ah-cmain__inner, .ah-faq__inner { max-width: 1680px; margin: 0 auto; padding: 0 var(--ah-gutter); }
.ah-cmain__grid {
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 96px);
  margin-top: clamp(40px, 7vh, 72px);
  align-items: start;
}

/* brief */
.ah-brief-wrap { position: relative; }
.ah-brief__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.ah-brief__title {
  margin: 0;
  font-family: var(--ah-display); font-variation-settings: "opsz" 96;
  font-weight: 600; font-size: clamp(2.2rem, 4.4vw, 4.6rem);
  line-height: .98; letter-spacing: -.05em;
}
.ah-brief__title em { font-family: var(--ah-serif); font-style: italic; font-weight: 400; color: var(--ah-blush); }
.ah-meter { display: grid; gap: 8px; min-width: 200px; padding-bottom: .4em; }
.ah-meter__text { font-size: 13px; color: var(--ah-muted); }
.ah-meter__text b { color: var(--ah-text); font-variant-numeric: tabular-nums; }
.ah-meter__bar { height: 3px; border-radius: 3px; background: var(--ah-line); overflow: hidden; }
.ah-meter__bar i { display: block; height: 100%; width: 100%; transform: scaleX(var(--p, 0)); transform-origin: left; background: linear-gradient(90deg, var(--ah-crimson), var(--ah-ember), var(--ah-gold)); transition: transform .8s var(--ah-ease); }

.ah-brief__group { margin: clamp(32px, 5vh, 48px) 0 0; padding: 0; border: 0; min-width: 0; }
.ah-brief__group legend { padding: 0; margin-bottom: 16px; font-family: var(--ah-display); font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.ah-brief__group legend span { font-family: var(--ah-sans); font-size: 13px; font-weight: 500; color: var(--ah-muted); letter-spacing: 0; }
.ah-opts { display: flex; flex-wrap: wrap; gap: 10px; }
.ah-opt { position: relative; cursor: pointer; }
.ah-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ah-opt span {
  display: inline-flex; align-items: center; gap: 8px;
  height: 46px; padding: 0 20px; border-radius: 999px;
  border: 1px solid var(--ah-line); background: rgba(255, 255, 255, .03);
  font-size: 15px; font-weight: 600; color: var(--ah-muted);
  transition: color .3s, border-color .3s, background-color .3s, transform .5s var(--ah-ease);
}
.ah-opt span::before {
  content: "✦"; font-size: 0; color: var(--ah-ink);
  transition: font-size .4s var(--ah-ease);
}
.ah-opt:hover span { color: var(--ah-text); border-color: rgba(255, 197, 143, .4); }
.ah-opt input:checked + span {
  color: var(--ah-ink); border-color: transparent;
  background: linear-gradient(135deg, var(--ah-gold), var(--ah-ember));
}
.ah-opt input:checked + span::before { font-size: 12px; }
.ah-opt input:focus-visible + span { outline: 2px solid var(--ah-gold); outline-offset: 3px; }

.ah-fields {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px 28px; margin-top: clamp(36px, 6vh, 56px);
}
.ah-field { position: relative; }
.ah-field--full { grid-column: 1 / -1; }
.ah-field input, .ah-field textarea, .ah-field select {
  width: 100%;
  padding: 26px 2px 10px;
  background: none; border: 0; border-bottom: 1px solid var(--ah-line);
  color: var(--ah-text); font: 500 18px/1.5 var(--ah-sans);
  outline: none; border-radius: 0;
}
.ah-field textarea { resize: vertical; min-height: 120px; }
.ah-field select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 30px; }
.ah-field select option { background: var(--ah-ink-2); color: var(--ah-text); }
.ah-field--select::after {
  content: ""; position: absolute; right: 6px; top: 36px;
  width: 8px; height: 8px; border-right: 1.6px solid var(--ah-muted); border-bottom: 1.6px solid var(--ah-muted);
  transform: rotate(45deg); pointer-events: none;
}
.ah-field label {
  position: absolute; left: 2px; top: 28px;
  font-size: 18px; color: var(--ah-muted);
  pointer-events: none; transform-origin: left top;
  transition: transform .5s var(--ah-ease), color .3s;
}
.ah-field label span { font-size: .8em; opacity: .7; }
/* floating label: focused or filled */
.ah-field input:focus + label, .ah-field input:not(:placeholder-shown) + label,
.ah-field textarea:focus + label, .ah-field textarea:not(:placeholder-shown) + label,
.ah-field--select label {
  transform: translateY(-24px) scale(.72); color: var(--ah-gold);
}
.ah-field__line {
  position: absolute; left: 0; right: 0; height: 2px; top: auto;
  background: linear-gradient(90deg, var(--ah-crimson), var(--ah-ember), var(--ah-gold));
  transform: scaleX(0); transform-origin: left;
  transition: transform .8s var(--ah-ease);
  pointer-events: none;
}
.ah-field input ~ .ah-field__line, .ah-field select ~ .ah-field__line { top: calc(26px + 27px + 10px); }
.ah-field textarea ~ .ah-field__line { display: none; }
.ah-field input:focus ~ .ah-field__line, .ah-field select:focus ~ .ah-field__line { transform: scaleX(1); }
.ah-field textarea:focus { border-bottom-color: var(--ah-ember); }
.ah-field.is-invalid input, .ah-field.is-invalid textarea { border-bottom-color: #ff5b4f; }
.ah-field__err { min-height: 0; margin-top: 6px; font-size: 13px; color: #ff8a7a; }
.ah-field__err:empty { display: none; }
.ah-field__count { position: absolute; right: 0; bottom: -24px; font-size: 12px; color: var(--ah-muted); font-variant-numeric: tabular-nums; }

.ah-brief__foot { margin-top: clamp(40px, 6vh, 56px); }
.ah-check { display: flex; align-items: flex-start; gap: 14px; font-size: 15px; line-height: 1.55; color: var(--ah-muted); cursor: pointer; }
.ah-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ah-check__box {
  flex: none; display: grid; place-items: center;
  width: 24px; height: 24px; margin-top: 1px; border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, .25);
  transition: background-color .3s, border-color .3s;
}
.ah-check__box svg { width: 16px; height: 16px; fill: none; stroke: var(--ah-ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .5s var(--ah-ease) .05s; }
.ah-check input:checked + .ah-check__box { background: var(--ah-ember); border-color: var(--ah-ember); }
.ah-check input:checked + .ah-check__box svg { stroke-dashoffset: 0; }
.ah-check input:focus-visible + .ah-check__box { outline: 2px solid var(--ah-gold); outline-offset: 3px; }
.ah-check a { color: var(--ah-text); text-decoration: underline; text-underline-offset: 3px; }
.ah-check.is-invalid .ah-check__box { border-color: #ff5b4f; }
.ah-brief__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 28px; }
.ah-brief__note { font-size: 14px; color: var(--ah-muted); }

/* success */
.ah-sent {
  padding: clamp(28px, 5vw, 64px);
  border-radius: var(--ah-radius-lg);
  border: 1px solid rgba(255, 90, 42, .35);
  background:
    radial-gradient(80% 80% at 100% 0%, rgba(255, 90, 42, .2), transparent 60%),
    rgba(255, 255, 255, .02);
}
.ah-sent[hidden] { display: none; }
.ah-sent__check { width: 84px; height: 84px; }
.ah-sent__check * { fill: none; stroke: var(--ah-ember); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.ah-sent__title {
  margin: 28px 0 0;
  font-family: var(--ah-display); font-weight: 600;
  font-size: clamp(2.4rem, 5vw, 5rem); line-height: .98; letter-spacing: -.05em;
}
.ah-sent__title em { font-family: var(--ah-serif); font-style: italic; font-weight: 400; color: var(--ah-blush); }
.ah-sent__text { max-width: 34rem; margin-top: 18px; font-size: 17px; line-height: 1.65; color: var(--ah-muted); }
.ah-sent__text strong { color: var(--ah-text); }
.ah-sent__summary { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ah-sent__summary li { padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--ah-line); font-size: 13px; font-weight: 600; }
.ah-sent__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 36px; }

/* sidebar */
.ah-caside { position: sticky; top: 100px; display: grid; gap: 20px; }
.ah-person .ah-card__in { padding: 22px; }
.ah-person__top { display: flex; align-items: center; gap: 16px; }
.ah-person__photo { width: 64px; height: 64px; margin: 0; border-radius: 50%; flex: none; }
.ah-person__kicker { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ah-gold); }
.ah-person__name { margin-top: 4px; font-family: var(--ah-display); font-size: 22px; font-weight: 600; letter-spacing: -.03em; }
.ah-person__role { font-size: 13px; color: var(--ah-muted); }
.ah-person__quote { margin: 18px 0 0; font-family: var(--ah-serif); font-style: italic; font-size: 21px; line-height: 1.35; color: var(--ah-text); }
.ah-person__cta { margin-top: 20px; }
.ah-person__cta .ah-btn__play svg { fill: none; }
.ah-person__stats { list-style: none; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid var(--ah-line); display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ah-person__stats strong { display: block; font-family: var(--ah-display); font-size: 30px; font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.ah-person__stats span { font-size: 13px; color: var(--ah-muted); }

.ah-direct { padding: 6px 4px 0; }
.ah-direct ul { list-style: none; margin: 12px 0 0; padding: 0; }
.ah-direct li {
  display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; align-items: center; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--ah-line);
}
.ah-direct li > span { font-size: 13px; color: var(--ah-muted); }
.ah-direct li > a { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .3s; }
.ah-direct li > a:hover { color: var(--ah-blush); }

.ah-office .ah-card__in { overflow: hidden; }
.ah-office__photo { aspect-ratio: 16 / 9; margin: 0; border-radius: 0; }
.ah-office__body { padding: 20px 22px 22px; }
.ah-office__row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.ah-office__city { font-family: var(--ah-display); font-size: 26px; font-weight: 600; letter-spacing: -.04em; }
.ah-office__city em { font-family: var(--ah-serif); font-style: italic; font-weight: 400; color: var(--ah-blush); }
.ah-office__time { display: flex; align-items: baseline; gap: 8px; }
.ah-office__clock { font-family: var(--ah-display); font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ah-office__status { font-size: 12px; color: var(--ah-muted); }
.ah-office address { margin: 12px 0 0; font-style: normal; font-size: 15px; line-height: 1.6; color: var(--ah-muted); }
.ah-office__coords { margin: 8px 0 16px; font-size: 12px; letter-spacing: .12em; color: var(--ah-gold); }

/* ---------- FAQ ---------- */
.ah-faq { z-index: 1; padding: clamp(60px, 10vh, 120px) 0 clamp(100px, 16vh, 180px); }
.ah-faq__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(32px, 6vw, 120px); margin-top: clamp(40px, 7vh, 72px); align-items: start;
}
.ah-faq__side { position: sticky; top: 110px; }
.ah-faq__title {
  margin: 0;
  font-family: var(--ah-display); font-variation-settings: "opsz" 96;
  font-weight: 600; font-size: clamp(2.4rem, 4.6vw, 5rem);
  line-height: .98; letter-spacing: -.05em;
}
.ah-faq__title em { font-family: var(--ah-serif); font-style: italic; font-weight: 400; color: var(--ah-blush); }
.ah-faq__lead { margin-top: 22px; font-size: 16px; line-height: 1.7; color: var(--ah-muted); }
.ah-faq__list { border-top: 1px solid var(--ah-line); }
/* .ah-q accordion item styles live in components.css */
.ah-faq-js .ah-q__panel { height: 0; overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .ah-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ah-cmain__grid { grid-template-columns: 1fr; }
  .ah-caside { position: relative; top: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ah-caside .ah-direct { grid-column: 1 / -1; order: 3; }
  .ah-faq__grid { grid-template-columns: 1fr; }
  .ah-faq__side { position: relative; top: auto; }
}
@media (max-width: 700px) {
  .ah-quick { grid-template-columns: 1fr; }
  .ah-fields { grid-template-columns: 1fr; }
  .ah-caside { grid-template-columns: 1fr; }
  .ah-direct li { grid-template-columns: 1fr auto; }
  .ah-direct li > span { grid-column: 1 / -1; }
  .ah-head .ah-label:last-child { display: none; }
  .ah-head { grid-template-columns: auto 1fr; }
}

/* ---------- Contact Hero: icons picked from the Elementor library ---------- */
.ah-quick__icon i { font-size: 19px; line-height: 1; color: var(--ah-gold); }
.ah-quick__icon .e-font-icon-svg { width: 20px; height: 20px; fill: var(--ah-gold); stroke: none; }

/* ---------- Contact Brief: a form plugin's markup (CF7, WPForms, Gravity, Fluent…)
   in the Aurem look — underlined fields, muted labels, the ember pill button ---------- */
.ah-brief--plugin form { display: grid; gap: 22px; margin-top: clamp(28px, 5vh, 44px); }
.ah-brief--plugin label { display: block; font-size: 14px; font-weight: 600; color: var(--ah-muted); }
.ah-brief--plugin :is(input[type="text"], input[type="email"], input[type="url"], input[type="tel"], input[type="number"], input[type="date"], textarea, select) {
  width: 100%; max-width: none;
  padding: 12px 2px; margin-top: 6px;
  background: none; border: 0; border-bottom: 1px solid var(--ah-line); border-radius: 0;
  color: var(--ah-text); font: 500 18px/1.5 var(--ah-sans);
  outline: none; box-shadow: none;
  transition: border-color .3s;
}
.ah-brief--plugin :is(input, textarea, select):focus { border-bottom-color: var(--ah-ember); }
.ah-brief--plugin textarea { min-height: 120px; resize: vertical; }
.ah-brief--plugin select option { background: var(--ah-ink-2); color: var(--ah-text); }
.ah-brief--plugin :is(input[type="checkbox"], input[type="radio"]) { accent-color: var(--ah-ember); }
.ah-brief--plugin :is(input[type="submit"], button[type="submit"], .wpforms-submit, .gform_button) {
  justify-self: start;
  height: 58px; padding: 0 30px; border: 0; border-radius: 999px; cursor: pointer;
  background: linear-gradient(135deg, var(--ah-ember), var(--ah-crimson)); color: var(--ah-text);
  font: 700 15px/1 var(--ah-sans);
  box-shadow: 0 18px 40px -16px rgba(255, 90, 42, .85), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: box-shadow .4s, transform .4s var(--ah-ease);
}
.ah-brief--plugin :is(input[type="submit"], button[type="submit"], .wpforms-submit, .gform_button):hover { transform: translateY(-2px); box-shadow: 0 22px 50px -14px rgba(255, 90, 42, 1); }
.ah-brief--plugin :is(.wpcf7-not-valid-tip, .wpforms-error, .gfield_validation_message) { margin-top: 6px; font-size: 13px; color: #ff7b6b; background: none; border: 0; padding: 0; }
.ah-brief--plugin :is(.wpcf7-response-output, .wpforms-confirmation-container, .gform_confirmation_message) { margin: 8px 0 0; padding: 14px 18px; border: 1px solid var(--ah-line); border-radius: 14px; color: var(--ah-text); background: rgba(255, 255, 255, .04); }
