/* BB temporary index */

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

:root {
  --bg:           #ffffff;
  --text:         #4D4745;
  --accent:       #c8a96e;
  --menu-color:   #4D4745;
  --menu-hover:   #E10000;
  --current-page: #E10000;
  --brand-accent-rgb: 0, 0, 255;
  --gold:         rgb(var(--brand-accent-rgb));

  --logo-width: 100px;
  --logo-height: 105px;
  --logo-top:   20px;
  --brand-gap:  8px;
  --page-gutter: 16px;
}

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  overflow-x: hidden;
  overflow-y: visible;
  text-rendering: geometricPrecision;
}

.logo-link {
  position: fixed;
  top: var(--logo-top);
  left: 50%;
  transform: translateX(-50%);
  width: var(--logo-width);
  display: block;
  z-index: 200;
  cursor: pointer;
}

.logo-link img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .5s ease;
}

.logo-link:hover img {
  transform: scale(1.05);
}

.brand-title {
  position: fixed;
  top: calc(var(--logo-top) + var(--logo-height) + var(--brand-gap));
  left: 50%;
  transform: translateX(-50%);
  width: calc(100vw - 32px);
  z-index: 190;
  color: rgba(0, 0, 0, .52);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
  pointer-events: none;
  transition: color .1s ease;
}

.logo-link:hover + .brand-title {
  color: var(--gold);
}

@media (min-width: 775px) {
  :root {
    --logo-width: 140px;
    --logo-height: 147px;
    --logo-top:   30px;
    --brand-gap:  10px;
  }

  .logo-link {
    left: 50%;
  }

  .brand-title {
    font-size: 1rem;
  }
}

@media (min-width: 1400px) {
  :root {
    --logo-width: 160px;
    --logo-height: 168px;
    --logo-top:   40px;
    --brand-gap:  12px;
  }

  .logo-link {
    left: 50%;
  }

  .brand-title {
    font-size: 1.06rem;
  }
}

.index-wrap {
  position: relative;
  margin: clamp(170px, 31vh, 230px) auto clamp(10px, 10vh, 96px);
  width: calc(100vw - 32px);
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.index-photo {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.index-copy {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 360px;
  margin-top: clamp(6px, 5vh, 48px);
  margin-left: 0;
}

.honeypot {
  display: none;
}

.contact-line {
  display: block;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .12em;
  line-height: 2;
  text-transform: uppercase;
  color: rgba(77, 71, 69, .80);
}

.contact-heading {
  color: var(--gold);
  font-weight: 700;
}

.contact-gap {
  margin-top: 1em;
}

.contact-success {
  color: var(--gold);
}

.contact-error {
  color: #E10000;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 1em;
  width: 100%;
  max-width: 360px;
}

.contact-input {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: .78rem;
  letter-spacing: .08em;
  color: var(--text);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(var(--brand-accent-rgb), .25);
  padding: 6px 0;
  outline: none;
  transition: border-color .2s;
}

.contact-input::placeholder {
  color: rgba(var(--brand-accent-rgb), .25);
  opacity: 1;
}

.contact-input:focus {
  border-bottom-color: var(--gold);
}

.contact-textarea {
  line-height: 1.4;
  resize: none;
  min-height: 80px;
  max-height: calc((.78rem * 1.4 * 8) + 14px);
  overflow-y: hidden;
}

.contact-submit {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(var(--brand-accent-rgb), .25);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(var(--brand-accent-rgb), .25);
  padding: 6px 0;
  cursor: pointer;
  text-align: left;
  transition: color .2s, border-color .2s, letter-spacing .2s;
  width: fit-content;
}

.contact-form:valid .contact-submit {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.contact-form:valid .contact-submit:hover {
  color: #000000;
  border-bottom-color: #ff5a00;
  letter-spacing: .32em;
}

@media (min-width: 775px) {
  .index-wrap {
    margin-top: clamp(210px, 30vh, 270px);
    width: calc(100vw - 48px);
  }

  .index-photo {
    max-width: min(720px, 72vw);
  }

  .index-copy {
    width: auto;
    max-width: none;
    margin-left: 50%;
  }
}

@media (min-width: 1100px) and (orientation: landscape) {
  .index-wrap {
    display: grid;
    grid-template-columns: minmax(420px, 1fr) minmax(320px, 360px);
    column-gap: clamp(24px, 3vw, 44px);
    align-items: center;
    min-height: 100vh;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: clamp(230px, 28vh, 270px);
    padding-bottom: clamp(90px, 14vh, 160px);
    max-width: min(1440px, calc(100vw - 96px));
  }

  .index-photo {
    justify-self: end;
    max-width: 100%;
    margin: 0;
  }

  .index-copy {
    justify-self: start;
    width: 100%;
    max-width: 360px;
    margin-top: 0;
    margin-left: 0;
  }
}

.site-footer {
  display: none;
  position: fixed;
  bottom: 48px;
  right: 32px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: .68rem;
  font-weight: 400;
  color: rgba(77, 71, 69, .66);
  z-index: 50;
  pointer-events: none;
}

@media (min-width: 775px) {
  .site-footer {
    display: block;
  }
}
