/* PARALLAXIS home: hero fork + two paths (tailored / ready-made) + closing slogan.
   Loaded only by /index.html, after site-runtime.css. */

/* ---------- Hero ---------- */
#rec2342442631 h1.pa-hero-tagline {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  margin: 0;
}
#rec2342442631 .pa-nowrap { display: inline-block; white-space: nowrap; }
#rec2342442631 .pa-hero-alt {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: calc(75% + 14px);
  transform: translateX(-50%);
  padding: 8px 4px;
  color: #f7f7f4;
  font: 400 12px/1.3 Inter, Arial, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  white-space: nowrap;
  opacity: .82;
  transition: opacity .2s ease;
}
#rec2342442631 .pa-hero-alt:hover,
#rec2342442631 .pa-hero-alt:focus-visible { opacity: 1; }
/* Phones: the hero is taller than the visible screen in mobile browsers, and
   Safari's bottom bar covers its lower part. Keep the actions in the upper 2/3. */
@media (max-width: 960px) {
  body #rec2342442631 #recorddiv2342442631 .t338__title { top: 13%; }
  body #rec2342442631 #recorddiv2342442631 .t338__descr { top: 27%; }
  body #rec2342442631 #recorddiv2342442631 .t338__btn { top: 55%; }
  #rec2342442631 .pa-hero-alt { top: calc(63% + 8px); }
}
@media (max-width: 960px) and (max-height: 680px) {
  body #rec2342442631 #recorddiv2342442631 .t338__title { top: 11%; }
  body #rec2342442631 #recorddiv2342442631 .t338__descr { top: 24%; }
  body #rec2342442631 #recorddiv2342442631 .t338__btn { top: 50%; }
  #rec2342442631 .pa-hero-alt { top: calc(58% + 6px); }
}
@media (min-width: 961px) {
  #rec2342442631 .pa-hero-alt { top: calc(75% + 20px); font-size: 12.5px; }
}

/* ---------- Two paths ---------- */
.pa-home { background: #f7f7f4; color: #252424; }
.pa-home-paths { --pa-peek: 104px; }
.pa-home-path {
  box-sizing: border-box;
  display: grid;
  grid-template-areas: "eyebrow" "title" "text" "media";
  grid-template-rows: auto auto auto minmax(210px, 1fr);
  justify-items: center;
  text-align: center;
  padding: 30px 20px 0;
  scroll-margin-top: var(--pa-header-height, 64px);
}
.pa-home-path-eyebrow {
  grid-area: eyebrow;
  margin: 0 0 12px;
  color: #3a3940;
  font: 400 11px/1.3 Inter, Arial, sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.pa-home-path-title {
  grid-area: title;
  max-width: 15em;
  margin: 0 0 14px;
  color: #39180f;
  font: 400 30px/1.12 'Cormorant Garamond', Georgia, serif;
  letter-spacing: .01em;
  text-wrap: balance;
}
.pa-home-path-text {
  grid-area: text;
  max-width: 30em;
  margin: 0 0 22px;
  font: 300 15px/1.6 Inter, Arial, sans-serif;
  text-wrap: balance;
}
.pa-home-path-text p { margin: 0; }
.pa-home-path-text p + p { margin-top: 6px; }
.pa-home-path-text .pa-home-path-answer { font-weight: 400; }
.pa-home-path-media {
  grid-area: media;
  align-self: stretch;
  justify-self: stretch;
  display: block;
  min-height: 0;
  margin: 0 -20px;
  overflow: hidden;
}
.pa-home-path-media picture { display: block; height: 100%; }
.pa-home-path-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.pa-home-path--tailored .pa-home-path-media { background: #3a3940; }
/* 4:3 artwork: the face sits right of centre, the sight lines left of it. */
.pa-home-path--tailored .pa-home-path-media img { object-position: 75% 45%; }
.pa-home-path--ready .pa-home-path-media { background: #f2f2ef; }
.pa-home-path--ready .pa-home-path-media img { object-position: 50% 52%; }

.pa-home-path-cta {
  grid-area: media;
  align-self: end;
  justify-self: center;
  z-index: 1;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(76%, 320px);
  min-height: 48px;
  margin-bottom: 22px;
  padding: 0 22px;
  border: 1.5px solid #f7f7f4;
  border-radius: 3px;
  font: 400 13px/1.3 Inter, Arial, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  transition: background-color .2s ease, color .2s ease;
}
.pa-home-path--tailored .pa-home-path-cta { background: rgba(255,255,255,.12); color: #f7f7f4; }
.pa-home-path--tailored .pa-home-path-cta:hover,
.pa-home-path--tailored .pa-home-path-cta:focus-visible { background: #f7f7f4; color: #252424; }
.pa-home-path--ready .pa-home-path-cta { background: rgba(58,57,64,.82); border-color: #3a3940; color: #f7f7f4; }
.pa-home-path--ready .pa-home-path-cta:hover,
.pa-home-path--ready .pa-home-path-cta:focus-visible { background: #252424; }

/* Phones and tablets: each path is shorter than the screen, so the top of the
   next path (its label and heading) stays visible below it. */
@media (max-width: 960px) {
  .pa-home-path {
    height: calc(100vh - var(--pa-header-height, 64px) - var(--pa-peek));
    height: calc(100svh - var(--pa-header-height, 64px) - var(--pa-peek));
    min-height: 520px;
    max-height: 900px;
  }
  .pa-home-path + .pa-home-path { margin-top: 0; }
  /* Tall phones: keep the picture no taller than 1:1.15 so the 4:3 artwork
     loses little at the sides; the extra height becomes air before the next path. */
  .pa-home-path { grid-template-rows: auto auto auto minmax(210px, calc(100vw / 1.15)); align-content: start; }
}
@media (max-width: 380px) {
  .pa-home-path-title { font-size: 27px; }
  .pa-home-path-text { font-size: 14px; margin-bottom: 18px; }
  .pa-home-path { min-height: 480px; }
}

/* Desktop: the two paths side by side, rows aligned across columns. */
@media (min-width: 961px) {
  .pa-home-paths {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(5, auto);
    column-gap: 10px;
    padding-top: clamp(64px, 6vw, 104px);
  }
  .pa-home-path {
    grid-row: span 5;
    grid-template-areas: "eyebrow" "title" "text" "cta" "media";
    grid-template-rows: subgrid;
    padding: 0;
  }
  .pa-home-path-eyebrow { margin-bottom: 16px; font-size: 12px; }
  .pa-home-path-title { max-width: 13em; margin: 0 32px 18px; font-size: 38px; }
  .pa-home-path-text { margin: 0 32px 30px; font-size: 16px; }
  .pa-home-path-media { margin: 0; aspect-ratio: 2 / 1; }
  .pa-home-path-media:hover img { transform: scale(1.025); }
  .pa-home-path-media img { object-position: center; }
  .pa-home-path-cta {
    grid-area: cta;
    align-self: start;
    margin: 0 0 clamp(36px, 3.5vw, 56px);
    min-width: 280px;
    border-width: 1px;
    font-size: 12px;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .pa-home-path--tailored .pa-home-path-cta { background: #39180f; border-color: #39180f; color: #f7f7f4; }
  .pa-home-path--tailored .pa-home-path-cta:hover,
  .pa-home-path--tailored .pa-home-path-cta:focus-visible { background: #252424; border-color: #252424; color: #f7f7f4; }
  .pa-home-path--ready .pa-home-path-cta { background: transparent; border-color: #39180f; color: #39180f; }
  .pa-home-path--ready .pa-home-path-cta:hover,
  .pa-home-path--ready .pa-home-path-cta:focus-visible { background: #39180f; color: #f7f7f4; }
}

/* Engraver's frame drawn by the page, so it stays intact however the picture
   is cropped: a thin inset line and short diagonal ticks in the corners.
   Only on the new tailored artwork; the ready-made pictures still carry their
   own drawn frame. */
.pa-home-path-media { position: relative; }
.pa-home-path--tailored .pa-home-path-media::before,
.pa-home-path--tailored .pa-home-path-media::after {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: 1;
}
.pa-home-path--tailored .pa-home-path-media::before {
  inset: 10px;
  border: 1px solid rgba(247, 247, 244, .38);
}
.pa-home-path--tailored .pa-home-path-media::after {
  inset: 4px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='M1 1 L11 11' stroke='%23f7f7f4' stroke-opacity='.55' stroke-width='1' fill='none'/%3E%3C/svg%3E") left top / 12px 12px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='M11 1 L1 11' stroke='%23f7f7f4' stroke-opacity='.55' stroke-width='1' fill='none'/%3E%3C/svg%3E") right top / 12px 12px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='M1 11 L11 1' stroke='%23f7f7f4' stroke-opacity='.55' stroke-width='1' fill='none'/%3E%3C/svg%3E") left bottom / 12px 12px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='M11 11 L1 1' stroke='%23f7f7f4' stroke-opacity='.55' stroke-width='1' fill='none'/%3E%3C/svg%3E") right bottom / 12px 12px no-repeat;
}
@media (min-width: 961px) {
  .pa-home-path--tailored .pa-home-path-media::before { inset: 12px; }
  .pa-home-path--tailored .pa-home-path-media::after { inset: 6px; }
}

/* ---------- Closing slogan ---------- */
.pa-home-slogan {
  padding: clamp(64px, 8vw, 128px) 20px clamp(56px, 7vw, 112px);
  text-align: center;
}
.pa-home-slogan p {
  margin: 0 0 22px;
  color: #39180f;
  font: 400 clamp(30px, 3.4vw, 46px)/1.15 'Cormorant Garamond', Georgia, serif;
  letter-spacing: .01em;
}
.pa-home-slogan a {
  color: #252424;
  font: 400 12px/1.3 Inter, Arial, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

@media (prefers-reduced-motion: reduce) {
  .pa-home-path-media img, .pa-home-path-cta, #rec2342442631 .pa-hero-alt { transition: none; }
  .pa-home-path-media:hover img { transform: none; }
}
