/* ==========================================================================
   Anthēs — Contact page
   Figma page "07 Contact", frame 22:38 (Contact / Desktop, 1280 × 6336)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Page hero — Figma 22:67
   -------------------------------------------------------------------------- */
.chero { background: var(--paper); padding: 96px 0 93px; }

.chero__inner {
  width: min(var(--content), 100% - (2 * var(--gutter)));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 64px;
}

.chero__photo {
  flex: 0 0 425px;
  width: 425px;
  height: 628px;
  border-radius: 20px;
  overflow: hidden;
}
/* Figma crop values, as percentages of the 425 × 628 frame */
.chero__photo img {
  width: 129.65%;
  height: 117.07%;
  max-width: none;
  margin-left: -16.69%;
  margin-top: -9.8%;
  object-fit: cover;
}

.chero__copy {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.chero__eyebrow {
  font-size: 12px;
  font-weight: var(--w-bold);
  letter-spacing: 1.68px;
  text-transform: uppercase;
  color: var(--marigold);
}

.chero__title {
  font-size: 67.2px;
  font-weight: var(--w-regular);
  line-height: 66px;
  letter-spacing: -1.21px;
  color: var(--ink);
}
.chero__title strong { font-weight: var(--w-bold); color: var(--marigold); }

.chero__lede { font-size: 21.12px; line-height: 30.6px; color: var(--ink); }

/* Sun-yellow rule marks the aside about what the call actually is */
.chero__callout {
  border-left: 3.62px solid var(--sun-yellow);
  padding: 10px 28.963px;
  font-size: 18px;
  line-height: 25px;
  color: var(--ink);
}
.chero__callout strong { font-weight: var(--w-bold); }

/* --------------------------------------------------------------------------
   Contact form — Figma 22:77
   -------------------------------------------------------------------------- */
.cform { background: #000; padding: 128px 0; }

.cform__grid {
  width: min(var(--content), 100% - (2 * var(--gutter)));
  min-height: 830px;   /* the grid is a fixed 830 in the Figma */
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 64px;
}

.cform__panel {
  flex: 0 1 603px;
  width: 603px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.cform__eyebrow {
  font-size: 12px;
  font-weight: var(--w-bold);
  letter-spacing: 1.68px;
  text-transform: uppercase;
  color: var(--marigold);
}

.cform__title {
  font-size: 52px;
  font-weight: var(--w-regular);
  line-height: 61px;
  letter-spacing: -0.62px;
  color: #fff;
}
.cform__title strong { font-weight: var(--w-bold); color: var(--coral-pink); }

.cform__form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.field { width: 100%; display: flex; flex-direction: column; gap: 8px; }

.field__label {
  font-size: 13px;
  font-weight: var(--w-bold);
  line-height: 20px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--ink-70);
}
.field__hint {
  font-size: 12px;
  font-weight: var(--w-regular);
  text-transform: none;
  letter-spacing: 0;
  color: #c7c6c7;
}

.field__input {
  width: 100%;
  padding: 14px 16px;
  background: transparent;
  border: 1px solid #393939;
  border-radius: 8px;
  font-size: 16px;
  line-height: 23px;
  color: #fff;
  resize: vertical;
}
.field__input::placeholder { color: #c7c6c7; }
.field__input:focus-visible { outline: 2px solid var(--marigold); outline-offset: 2px; }

.field--area .field__input { min-height: 140px; }

/* Package select — same field look, with its own chevron; options get a
   light background because the native list ignores the dark field. */
.field__select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23c7c6c7' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
}
.field__select option { color: var(--ink); background: #fff; }


.cform__send {
  background: var(--marigold);
  color: #fff;
  border: 0;
  padding: 14px 26px;
  font-size: 15px;
  gap: 8px;
  margin-top: 4px;
}
.cform__send:hover { filter: brightness(0.92); }

/* Three ways to reach them, under the form */
.cform__methods {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 20px;
}
.cform__methods > li { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.cform__methods p { font-size: 16px; line-height: 26px; color: #fff; }
.cform__methods a:hover { color: var(--marigold); }

.cform__methodlabel {
  font-size: 12px;
  font-weight: var(--w-bold);
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--coral-pink) !important;
}

/* The bloom-gradient panel behind the plant photo */
.cform__art {
  flex: 1 1 0;
  min-width: 0;
  align-self: stretch;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(
    30.08deg,
    #e8d52b 0.58755%,
    #f4a31f 33.394%,
    #cf447a 66.2%,
    #766db1 100%
  );
}
.cform__art img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }

/* --------------------------------------------------------------------------
   What happens next — Figma 23:75
   -------------------------------------------------------------------------- */
.whatnext { background: #000; padding: 128px 0; }

.whatnext__inner {
  width: min(var(--content), 100% - (2 * var(--gutter)));
  margin-inline: auto;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.whatnext__head { flex: 0 0 427px; display: flex; flex-direction: column; gap: 16px; }

.whatnext__eyebrow {
  font-size: 12px;
  font-weight: var(--w-bold);
  letter-spacing: 1.68px;
  text-transform: uppercase;
  color: var(--marigold);
}

.whatnext__title {
  font-size: 52px;
  font-weight: var(--w-regular);
  line-height: 61px;
  letter-spacing: -0.62px;
  color: #fff;
}
.whatnext__title strong { font-weight: var(--w-bold); color: var(--marigold); }

/* Two rows of two, each step in its own accent */
.whatnext__steps {
  flex: 1 1 0;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 46px;
}

.wstep { display: flex; flex-direction: column; gap: 14.165px; }

.wstep__num {
  font-size: 42.496px;
  font-weight: 500;
  line-height: 42.496px;
  color: var(--step);
}

.wstep__title { font-size: 29.511px; line-height: 34.233px; color: #fff; }
.wstep__desc  { font-size: 18px; line-height: 24px; color: #858585; }

/* --------------------------------------------------------------------------
   Key testimonial — Figma 23:95
   -------------------------------------------------------------------------- */
.ktestimonial {
  background: var(--shell-bg);
  height: 721px;
  padding: 96px 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ktestimonial figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

.ktestimonial__bloom { width: 64px; height: 64px; }

.ktestimonial blockquote {
  margin: 0;
  max-width: 697px;
  font-size: 32px;
  line-height: 42px;
  letter-spacing: -0.38px;
  color: var(--ink);
}

.ktestimonial figcaption {
  font-size: 12px;
  font-weight: var(--w-bold);
  letter-spacing: 1.68px;
  text-transform: uppercase;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Next step CTA (light) — Figma 23:109
   -------------------------------------------------------------------------- */
.cta-light { background: var(--paper); padding: 128px 48px; }

.cta-light__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.cta-light__eyebrow {
  font-size: 12px;
  font-weight: var(--w-bold);
  letter-spacing: 1.68px;
  text-transform: uppercase;
  color: var(--coral-pink);
}

.cta-light__title {
  max-width: 760px;
  font-size: 52px;
  font-weight: var(--w-regular);
  line-height: 61px;
  letter-spacing: -0.62px;
  color: var(--ink);
}
.cta-light__title strong { font-weight: var(--w-bold); color: var(--coral-pink); }

.cta-light__btn {
  background: var(--coral-pink);
  color: #fff;
  border: 0;
  padding: 14px 26px;
  font-size: 15px;
}
.cta-light__btn:hover { filter: brightness(0.92); }

/* --------------------------------------------------------------------------
   Quick questions — Figma 494:4487
   -------------------------------------------------------------------------- */
.quickq { background: var(--paper); padding: 128px 0; }

.quickq__inner {
  width: min(var(--content), 100% - (2 * var(--gutter)));
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.quickq__eyebrow {
  font-size: 12px;
  font-weight: var(--w-bold);
  letter-spacing: 1.68px;
  text-transform: uppercase;
  color: var(--crimson);
}

.quickq .section-title { max-width: 900px; }

.quickq__list { width: 100%; margin: 0; padding-top: 16px; }

.quickq__row {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding-block: 29px;
}
/* No rule above the first row, matching the Figma */
.quickq__row + .quickq__row { border-top: 1px solid var(--ink-15); }

.quickq__row dt {
  flex: 0 0 280px;
  width: 280px;
  font-size: 21px;
  font-weight: var(--w-bold);
  color: var(--ink);
}

.quickq__row dd {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  font-size: 21px;
  color: var(--ink-70);
}

/* --------------------------------------------------------------------------
   Responsive — derived; the Figma has no artboards below 1280
   -------------------------------------------------------------------------- */
@media (max-width: 1279px) {
  .chero { padding: 72px 0; }
  .chero__inner { gap: clamp(32px, 4vw, 64px); }
  /* flex-shrink stays at 0: the copy column's intrinsic width is large, and
     letting the photo shrink collapsed it to a thumbnail between 900–1279. */
  .chero__photo {
    flex: 0 0 auto;
    width: clamp(240px, 30vw, 425px);
    height: auto;
    aspect-ratio: 425 / 628;
  }
  .chero__title { font-size: clamp(40px, 5.4vw, 67.2px); line-height: 1.06; }

  .cform { padding: 104px 0; }
  .cform__grid { gap: 40px; min-height: 0; }
  .cform__panel { flex: 1 1 420px; width: auto; }
  .cform__title,
  .whatnext__title,
  .cta-light__title,
  .quickq .section-title { font-size: clamp(34px, 4.2vw, 52px); line-height: 1.17; }

  .whatnext { padding: 104px 0; }
  .whatnext__inner { flex-direction: column; gap: 40px; }
  .whatnext__head { flex: 1 1 auto; }

  .ktestimonial { height: auto; padding: 80px var(--gutter); }
  .ktestimonial blockquote { font-size: clamp(22px, 3vw, 32px); line-height: 1.32; }

  .cta-light { padding: 96px var(--gutter); }
  .quickq { padding: 104px 0; }
}

@media (max-width: 900px) {
  .chero__inner { flex-direction: column; align-items: flex-start; }
  .chero__photo { flex: 0 0 auto; width: 100%; max-width: 425px; align-self: center; }
  .chero__copy { flex: 1 1 auto; width: 100%; }

  .cform__grid { flex-direction: column; align-items: stretch; }
  .cform__panel { flex: 1 1 auto; width: 100%; }
  .cform__art { flex: 0 0 420px; height: 420px; }

  .whatnext__steps { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

@media (max-width: 640px) {
  .cform__methods { flex-direction: column; gap: 20px; }
  .quickq__row { flex-direction: column; gap: 8px; padding-block: 22px; }
  .quickq__row dt { flex: 1 1 auto; width: auto; }
  .quickq__row dd,
  .quickq__row dt { font-size: 18px; }
}

/* --------------------------------------------------------------------------
   One form, two modes (2026-10-13): the selector on top of the contact form
   switches between "Book a call" (Calendly opens in place of the form) and
   "Send a message". contact.js drives it.
   -------------------------------------------------------------------------- */
.cform__panel { scroll-margin-top: 24px; }

.cmode {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin: 0 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill);
}
.cmode__opt {
  position: relative;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: var(--w-bold);
  line-height: 20px;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}
.cmode__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cmode__opt:hover { color: #fff; }
.cmode__opt:has(input:checked) { background: var(--marigold); color: #fff; }
.cmode__opt:has(input:focus-visible) { outline: 2px solid var(--marigold); outline-offset: 3px; }

.cmode__hint { font-size: 17px; line-height: 27px; color: rgba(255, 255, 255, 0.8); }
.cmode__hint a { color: #fff; text-decoration: underline; }
.cform__panel [hidden] { display: none !important; }

.cpick { width: 100%; display: flex; flex-direction: column; gap: 16px; }
.cpick__step {
  display: flex;
  align-items: center;
  font-size: 12px;
  font-weight: var(--w-bold);
  letter-spacing: 1.68px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}
.cpick__back {
  margin-left: auto;
  padding: 0;
  background: none;
  border: 0;
  font: inherit;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.cpick__back:hover { color: var(--marigold); }
.cpick__back:focus-visible { outline: 2px solid var(--marigold); outline-offset: 3px; }
.cpick__cal .calendly-inline-widget { min-width: 320px; height: 700px; }
@media (max-width: 640px) {
  .cpick__cal .calendly-inline-widget { height: 760px; }
}
@media (prefers-reduced-motion: reduce) {
  .cmode__opt { transition: none; }
}

/* --------------------------------------------------------------------------
   Join the team (join.html): the Contact page's parts, plus the CV field
   -------------------------------------------------------------------------- */
#apply { scroll-margin-top: 24px; }
/* A plain photo fills the frame (the Contact collage is zoomed and offset);
   a little taller than the frame so the scroll drift never shows an edge */
.chero__photo--plain img { width: 100%; height: 110%; margin: -5% 0 0; object-fit: cover; object-position: 50% 30%; }
.filepick {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border: 1px solid #393939;
  border-radius: 8px;
}
/* The real input covers the box, invisible: a click anywhere opens the
   picker, and the browser's "required" message points at the right place */
.filepick__input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.filepick:focus-within { outline: 2px solid var(--marigold); outline-offset: 2px; }
.filepick__btn {
  flex: 0 0 auto;
  padding: 8px 16px;
  border: 1px solid #5e5b5c;
  border-radius: 999px;
  font-size: 14px;
  color: #fff;
}
.filepick:hover .filepick__btn { border-color: var(--marigold); }
.filepick__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; color: #c7c6c7; }
.filepick.is-set .filepick__name { color: #fff; }
.jform__note { font-size: 14px; line-height: 22px; color: #a8a6a7; }

/* --------------------------------------------------------------------------
   After sending (2026-10-15): form.php comes back to #sent or #error and
   form-status.js shows the matching line above the form.
   -------------------------------------------------------------------------- */
.cform__status {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid var(--marigold);
  border-radius: 16px;
  font-size: 17px;
  line-height: 27px;
  color: #fff;
}
.cform__status--error { border-color: var(--coral-pink); }
.cform__status a { color: #fff; text-decoration: underline; }
.cform__status:focus { outline: none; }
