:root {
  --bg: #002716;
  --text: #e6ece9;
  --logo: #ffffff;
  --accent-1: #b3c6be;
  --accent-2: #99b3a8;
  --accent-3: #ccd9d3;
  --futura: Futura, "Futura PT", "Futura Std", Jost, "Century Gothic", sans-serif;
  --avenir: Avenir, "Avenir Next", "Nunito Sans", sans-serif;
  --body: Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: var(--body);
  font-weight: 200;
  background: var(--bg);
  color: var(--text);
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 3rem 1.5rem;
  max-width: 40rem;
  margin: 0 auto;
}

/* Titling: Futura */
.eyebrow {
  font-family: var(--futura);
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin: 0 0 1.75rem;
}

/* Draft logo: PATH in Futura over COACHING in Avenir.
   Each word is a flex row of letters with space-between, so the narrower
   word spreads until its outer edges align with the wider one. */
.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  color: var(--logo);
  font-size: clamp(3rem, 9vw, 4.5rem);
  line-height: 1;
  margin: 0;
}

.logo-path,
.logo-coaching {
  display: flex;
  justify-content: space-between;
}

.logo-path {
  font-family: var(--futura);
  font-weight: 500;
  font-size: 1em;
}

.logo-coaching {
  font-family: var(--avenir);
  font-weight: 300;
  font-size: 0.5em;
  gap: 0.12em; /* minimum tracking; sets the logo width */
  margin-top: 0.3em;
}

.rule {
  width: 3rem;
  height: 1px;
  background: var(--accent-3);
  opacity: 0.5;
  margin: 2.25rem 0;
}

.note {
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--accent-1);
  margin: 0;
}


/* Contact link below the note */
.contact-link {
  display: inline-block;
  margin-top: 2.5rem;
  font-family: var(--futura);
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-1);
  text-decoration: none;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.contact-link:hover,
.contact-link:focus-visible {
  color: var(--logo);
  border-bottom-color: var(--accent-2);
  outline: none;
}

/* Contact dialog */
.contact {
  position: relative;
  width: min(32rem, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  margin: auto;
  padding: 2.5rem 2rem 2rem;
  border: 1px solid rgba(204, 217, 211, 0.25);
  border-radius: 4px;
  background: var(--bg);
  color: var(--text);
  font-weight: 300;
}

/* Fallback when JavaScript is off: the #contact anchor shows the dialog */
.contact:target {
  display: block;
  position: fixed;
  inset: 0;
}

.contact::backdrop {
  background: rgba(0, 0, 0, 0.6);
}

.contact-close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  font-family: var(--body);
  font-weight: 200;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--accent-1);
  text-decoration: none;
}

.contact-close:hover,
.contact-close:focus-visible {
  color: var(--logo);
  outline: none;
}

.contact-title {
  font-family: var(--futura);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--logo);
  margin: 0 0 1.75rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

@media (min-width: 30rem) {
  .field-row { grid-template-columns: 1fr 1fr; }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field span {
  font-family: var(--futura);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-weight: 300;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(153, 179, 168, 0.5);
  border-radius: 2px;
  padding: 0.6rem 0.75rem;
  transition: border-color 0.2s, background 0.2s;
}

.field textarea {
  resize: vertical;
  min-height: 7rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent-3);
  background: rgba(255, 255, 255, 0.06);
}

.field-hint {
  font-size: 0.85rem;
  color: var(--accent-2);
  margin: -0.5rem 0 0;
}

.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 1.2em;
  font-size: 0.9rem;
  color: var(--accent-1);
  margin: 0;
}

.form-status.is-error {
  color: #e8b4a8;
}

.submit {
  align-self: flex-start;
  font-family: var(--futura);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent-3);
  border: 1px solid var(--accent-3);
  border-radius: 2px;
  padding: 0.75rem 1.75rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.submit:hover,
.submit:focus-visible {
  background: var(--logo);
  border-color: var(--logo);
  outline: none;
}

.submit:disabled {
  opacity: 0.6;
  cursor: default;
}

.privacy {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--accent-2);
  margin: 0.5rem 0 0;
}

.contact-thanks p {
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 0 1.5rem;
}

.contact-thanks .submit {
  display: inline-block;
}

.field select {
  color-scheme: dark;
  cursor: pointer;
}

.field select:invalid {
  color: var(--accent-2);
}

.field span em {
  font-style: normal;
  text-transform: none;
  letter-spacing: 0.05em;
  opacity: 0.8;
}
