@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/assets/fonts/Montserrat-Light.woff2") format("woff2");
}
@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/Montserrat-Regular.woff2") format("woff2");
}
@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/Montserrat-Medium.woff2") format("woff2");
}
@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/Montserrat-SemiBold.woff2") format("woff2");
}
@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/Montserrat-Bold.woff2") format("woff2");
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100dvh;
  font-family: Montserrat, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.card {
  width: 100%;
  max-width: 26.5rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2.75rem;
  padding-top: max(1.5rem, env(safe-area-inset-top));
  padding-bottom: max(2.75rem, env(safe-area-inset-bottom));
  padding-left: max(1.25rem, env(safe-area-inset-left));
  padding-right: max(1.25rem, env(safe-area-inset-right));
}

.brand {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.brand-logo {
  display: block;
  height: 2.15rem;
  width: auto;
  max-width: 14rem;
  object-fit: contain;
}

.brand-logo--rjy { height: 2.35rem; max-width: 15.5rem; }
.brand-logo--sm { height: 1.85rem; max-width: min(18.5rem, 100%); }

.portrait {
  display: flex;
  justify-content: center;
  margin-bottom: 1.1rem;
}

.headshot {
  width: 9.25rem;
  height: 9.25rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  background: var(--ring, #ddd);
  box-shadow: 0 0 0 3px var(--surface, #fff), 0 0 0 6px var(--ring);
}

.name {
  margin: 0 0 .2rem;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--heading, var(--text));
}

.role {
  margin: 0;
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
}

.tagline {
  margin: .35rem 0 0;
  text-align: center;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.place {
  margin: .25rem 0 0;
  text-align: center;
  font-size: .95rem;
  font-weight: 400;
  color: var(--muted);
}

.btn-save {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  margin: 1.5rem 0 1.25rem;
  width: 100%;
  min-height: 3.25rem;
  padding: .75rem 1rem;
  border: 0;
  border-radius: 999px;
  background: var(--btn);
  color: var(--btn-text);
  font: inherit;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: var(--btn-shadow, none);
}

.btn-save svg {
  width: 1.25rem;
  height: 1.25rem;
}

.btn-save:hover { filter: brightness(1.08); }
.btn-save:active { transform: translateY(1px); }

.btn-book {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  margin: -0.7rem 0 1.25rem;
  width: 100%;
  min-height: 3.25rem;
  padding: .75rem 1rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-sizing: border-box;
}
.btn-book svg { width: 1.25rem; height: 1.25rem; }
.btn-book:hover { filter: brightness(1.08); }
.btn-book:active { transform: translateY(1px); }
.btn-book:focus-visible {
  outline: 3px solid var(--focus, var(--accent));
  outline-offset: 3px;
}

.btn-save:focus-visible,
.action:focus-visible,
.btn-submit:focus-visible,
.consult a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus, var(--accent));
  outline-offset: 3px;
}

.actions {
  display: flex;
  justify-content: space-between;
  gap: .4rem;
  margin: 0 0 1.5rem;
}

.action {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  min-width: 0;
  padding: .25rem .1rem;
  color: var(--text);
  text-decoration: none;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.action-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.05rem;
  height: 3.05rem;
  border-radius: 50%;
  background: var(--action-bg);
  color: var(--action-fg);
}

.action-icon svg {
  width: 1.3rem;
  height: 1.3rem;
}

.action-label { line-height: 1.2; }

.consult {
  margin: 0 0 1.5rem;
  text-align: center;
  font-size: .95rem;
  font-weight: 500;
}

.consult a {
  color: var(--heading, var(--text));
  text-underline-offset: 3px;
}

.exchange {
  border-top: 1px solid var(--rule, #e5e7eb);
  padding-top: 1.4rem;
}

.exchange h2 {
  margin: 0 0 .25rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--heading, var(--text));
}

.exchange-lead {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: .95rem;
}

.form-banner {
  margin: 0 0 1rem;
  padding: .7rem .85rem;
  border-radius: .6rem;
  font-size: .92rem;
}
.form-banner--ok { background: var(--ok-bg, #e8f6f3); color: var(--ok-fg, #14534c); }
.form-banner--err { background: #fdecea; color: #8a1f16; }

.exchange-form { margin: 0; }

.field { margin: 0 0 .85rem; }

.field label {
  display: block;
  margin-bottom: .3rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.optional {
  font-weight: 400;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  padding: .7rem .8rem;
  border: 1px solid var(--input-border, #d1d5db);
  border-radius: .55rem;
  background: var(--surface, #fff);
  color: var(--text);
  font: inherit;
  font-size: 1rem; /* prevents iOS zoom */
  appearance: none;
}

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

.btn-submit {
  display: block;
  width: 100%;
  min-height: 3rem;
  margin-top: .4rem;
  border: 0;
  border-radius: 999px;
  background: var(--btn);
  color: var(--btn-text);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.btn-submit:hover { filter: brightness(1.08); }

.form-msg { margin: .8rem 0 0; font-size: .92rem; }
.form-msg.is-ok { color: var(--ok-fg, #14534c); }
.form-msg.is-err { color: #8a1f16; }

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

@media (min-width: 600px) {
  body {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 2.5rem 1rem 3rem;
    background: var(--bg-desk, var(--bg));
  }
  .card {
    background: var(--surface, #fff);
    border-radius: 1.35rem;
    padding: 2rem 1.85rem 2.4rem;
    box-shadow: 0 1px 2px rgba(15, 20, 25, .04), 0 18px 44px rgba(15, 20, 25, .08);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
