/* Booking ease on the homepage: the hero actions and a Call button in the phone header.
   Colors and type follow the brand guide. */

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem 2rem;
  margin-top: 2.75rem;
}
.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  min-height: 52px;
  padding: 0 1.9rem;
  border: 1px solid #e6e7e4;
  background: #e6e7e4;
  color: #102540;
  font-size: .74rem;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .3s ease, border-color .3s ease;
}
.hero-button:hover { background: #fff; border-color: #fff; }
.hero-button span { font-size: .9rem; letter-spacing: 0; transition: transform .3s ease; }
.hero-button:hover span { transform: translateY(2px); }
.hero-call {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  color: rgba(245, 245, 245, .82);
  font-size: .78rem;
  font-weight: 300;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid rgba(245, 245, 245, .3);
  transition: color .3s ease, border-color .3s ease;
}
.hero-call:hover { color: #f5f5f5; border-color: rgba(245, 245, 245, .75); }
/* Call and Text share one line, so a phone's first screen is no taller than before.
   Texting is for phones: the link shows only where the screen is touched, not pointed at. */
.hero-contact { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .25rem 1.75rem; }
.hero-text { display: none; }
@media (hover: none) and (pointer: coarse) { .hero-text { display: inline-flex; } }
.hero-actions a:focus-visible { outline: 2px solid #e8e8e8; outline-offset: 5px; }

/* In-page links move focus to the section they scroll to (for keyboard users). A section
   is not a control, so it gets no focus ring; Safari otherwise draws a blue bar across it. */
[tabindex="-1"]:focus { outline: none; }

/* Phones: a Call button beside Menu in the header. The header sits at the top, clear of
   the browser's own controls, which on newer iPhones float over the bottom of the page. */
.header-call { display: none; }
@media (max-width: 1099px) {
  .site-header .header-call {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-height: 44px;
    margin-left: auto;
    padding: .5rem .8rem;
    border: 1px solid rgba(192, 192, 192, .5);
    border-radius: 2px;
    color: #c0c0c0;
    font-size: .72rem;
    font-weight: 300;
    letter-spacing: .16em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    touch-action: manipulation;
  }
  .site-header .header-call svg { width: 14px; height: 14px; flex-shrink: 0; }
  .site-header .header-call:hover, .site-header .header-call:active { color: #f5f5f5; border-color: rgba(230, 233, 235, .8); }
}
@media (max-width: 359px) {
  .site-header .header-call { padding: .5rem .7rem; }
  .site-header .header-call span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
}

@media (max-width: 449px) {
  .hero-actions { flex-direction: column; gap: 1rem; margin-top: 2.25rem; }
  .hero-button { min-height: 50px; padding: 0 1.6rem; font-size: .7rem; }
  .hero-call { font-size: .72rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-button, .hero-button span { transition: none; }
}

/* The founder's title and direct line, under the bio. */
.about .about-line { margin-top: 2rem; text-align: center; font-size: .72rem; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: rgba(232, 232, 232, .62); }
.about .about-line a { color: rgba(245, 245, 245, .88); text-decoration: none; border-bottom: 1px solid rgba(245, 245, 245, .3); padding-bottom: 2px; white-space: nowrap; }
.about .about-line a:hover { border-color: rgba(245, 245, 245, .8); }
.about .about-line span { margin: 0 .6em; color: rgba(192, 192, 192, .5); }

/* Inquiry dialog and forms: a real close target, status messages, and scrolling on short screens. */
.overlay { overflow-y: auto; overscroll-behavior: contain; }
.overlay-content { margin: auto; }
.overlay .overlay-close { top: 1rem; right: 1rem; width: 44px; height: 44px; display: grid; place-items: center; font-size: 1.6rem; line-height: 1; }
.overlay .overlay-close:focus-visible { outline: 2px solid #e8e8e8; outline-offset: 2px; color: #fff; }
.form-status { margin: 0; font-size: .86rem; line-height: 1.65; letter-spacing: .02em; color: rgba(232, 232, 232, .8); }
.form-status:empty { display: none; }
@media (max-width: 449px) {
  .overlay { padding: 1rem 0; }
  .overlay-title { margin-bottom: 1.75rem; }
}

/* Skip link for keyboard users, matching the experience pages. */
.skip-link { position: fixed; z-index: 2100; top: 8px; left: 12px; padding: 10px 20px; background: #102540; color: #f5f5f5; text-decoration: none; font-size: .8rem; letter-spacing: .08em; transform: translateY(-160%); transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); outline: 2px solid #e8e8e8; outline-offset: 2px; }

/* Touch feedback: links styled as buttons have no native pressed state. */
.hero-button:active, .hero-call:active { opacity: .75; }
.form-status a { color: #f5f5f5; text-underline-offset: .2em; white-space: nowrap; }
/* A browser that fills a field in for you paints it its own colour (yellow on an iPhone). Keep the field as designed. */
.form-input:-webkit-autofill, .form-input:-webkit-autofill:hover, .form-input:-webkit-autofill:focus { -webkit-text-fill-color: #e8e8e8; caret-color: #e8e8e8; -webkit-background-clip: text; background-clip: text; transition: background-color 100000s ease-out 0s, color 100000s ease-out 0s; }
