@font-face {
  font-family: "Feijoa";
  src: url("../fonts/Feijoa-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Feijoa";
  src: url("../fonts/Feijoa-MediumItalic.otf") format("opentype");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Helvetica Now Text";
  src: url("../fonts/HelveticaNowText-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --gold: #f0b43c;
  --coral: #dd6f5e;
  --sage: #a7ad81;
  --brown: #a0823c;
  --black: #000;
  --paper: #fff;
}

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

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: var(--gold);
  color: var(--black);
  font-family: "Helvetica Now Text", Helvetica, Arial, sans-serif;
  font-weight: 500;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  opacity: 0.7;
}

button,
input {
  font-family: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site {
  display: flex;
  align-items: stretch;
  min-height: 100vh;
}

.phone {
  --u: 1vw;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  position: relative;
  background: var(--gold);
  padding-bottom: calc(10.28 * var(--u));
}

.desktop-colors {
  display: none;
}

@media (min-width: 768px) {
  .phone {
    --u: 4.5px;
    width: 450px;
    max-width: 450px;
    flex-shrink: 0;
  }

  .desktop-colors {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    left: 450px;
    z-index: 1;
    width: auto;
    max-width: none;
    height: 100vh;
  }

  .desktop-colors span {
    flex: 1 1 0;
    display: block;
  }

  .desktop-colors .band-gold {
    background: var(--gold);
  }

  .desktop-colors .band-coral {
    background: var(--coral);
  }

  .desktop-colors .band-sage {
    background: var(--sage);
  }
}

.site-nav {
  display: grid;
  grid-template-columns: 72.7% 27.3%;
  height: calc(11.29 * var(--u));
  font-size: calc(3.333 * var(--u));
  line-height: 1;
  position: relative;
  z-index: 5;
  background: var(--gold);
}

.site-nav a {
  display: flex;
  align-items: center;
  min-width: 0;
  border: calc(0.28 * var(--u)) solid transparent;
  padding: 0 calc(6.6 * var(--u)) 0 0;
}

.site-nav a:hover {
  opacity: 1;
}

.nav-home {
  justify-content: flex-end;
}

.nav-order {
  justify-content: center;
  padding: 0;
}

.page-home .nav-home {
  border-bottom-color: var(--black);
  border-right-color: var(--black);
}

.page-order .nav-order {
  border-bottom-color: var(--black);
  border-left-color: var(--black);
}

.hero {
  width: 100%;
}

.carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 0;
  background: var(--gold);
  cursor: pointer;
  display: block;
  overflow: hidden;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}

.carousel:focus,
.carousel:focus-visible {
  outline: none;
}

.carousel img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  -webkit-user-drag: none;
}

.carousel img.is-active {
  opacity: 1;
  visibility: visible;
}

.home-copy {
  padding: calc(6.8 * var(--u)) calc(5.56 * var(--u)) calc(18 * var(--u));
}

.lede {
  font-family: "Feijoa", Georgia, serif;
  font-size: calc(6.25 * var(--u));
  font-weight: 500;
  line-height: 1.34;
  margin: 0 0 calc(4.6 * var(--u));
}

.product-name {
  font-family: "Feijoa", Georgia, serif;
  font-size: calc(6.25 * var(--u));
  font-weight: 500;
}

.product-desc {
  font-size: calc(5 * var(--u));
  line-height: 1.365;
  margin: 0;
}

.colophon {
  font-size: calc(3.333 * var(--u));
  line-height: 1.36;
  margin: calc(5.1 * var(--u)) 0 0;
}

.site-footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  max-width: 100%;
  height: calc(10.28 * var(--u));
  display: grid;
  grid-template-columns: 72.7% 27.3%;
  align-items: center;
  border-top: calc(0.28 * var(--u)) solid var(--black);
  background: var(--gold);
  z-index: 20;
  font-size: calc(3.333 * var(--u));
}

.site-footer a {
  display: flex;
  align-items: center;
  min-width: 0;
  height: 100%;
}

.footer-social {
  justify-content: flex-end;
  padding-right: calc(6.6 * var(--u));
}

.footer-email {
  justify-content: center;
}

@media (min-width: 768px) {
  .site-footer {
    width: 450px;
    max-width: 450px;
  }
}

.order-page {
  padding: calc(8 * var(--u)) calc(5.56 * var(--u)) calc(22 * var(--u));
}

.order-intro,
.order-price {
  font-family: "Feijoa", Georgia, serif;
  font-size: calc(6.25 * var(--u));
  font-weight: 500;
  line-height: 1.34;
  margin: 0;
}

.order-price {
  margin: calc(6 * var(--u)) 0 calc(3.2 * var(--u));
}

.order-form {
  margin: 0;
}

.form-field {
  margin: 0 0 calc(2.4 * var(--u));
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="number"] {
  display: block;
  width: 100%;
  border: 0;
  border-bottom: calc(0.14 * var(--u)) solid transparent;
  background: transparent;
  color: var(--black);
  font-family: "Helvetica Now Text", Helvetica, Arial, sans-serif;
  font-size: calc(5 * var(--u));
  font-weight: 500;
  line-height: 1.35;
  padding: 0 0 calc(0.4 * var(--u));
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

.form-field input::placeholder {
  color: var(--brown);
  opacity: 1;
}

.form-field input:focus {
  outline: none;
  color: var(--black);
  border-bottom-color: var(--black);
}

.form-field input[type="number"]::-webkit-outer-spin-button,
.form-field input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.form-field input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: calc(2 * var(--u));
  margin: calc(1.6 * var(--u)) 0 0;
  font-size: calc(5 * var(--u));
  line-height: 1.35;
  cursor: pointer;
}

.check-row span {
  flex: 1;
  min-width: 0;
}

.check-box {
  -webkit-appearance: none;
  appearance: none;
  width: calc(4.58 * var(--u));
  height: calc(4.58 * var(--u));
  min-width: calc(4.58 * var(--u));
  margin: 0.22em 0 0;
  flex-shrink: 0;
  border: calc(0.28 * var(--u)) solid var(--black);
  background: transparent;
  border-radius: 0;
  color: var(--black);
  padding: 0;
  line-height: 1;
}

.check-box:focus {
  outline: none;
}

.check-box {
  cursor: pointer;
  position: relative;
}

.check-box:checked::after {
  content: "";
  position: absolute;
  left: 28%;
  top: 8%;
  width: 32%;
  height: 62%;
  border: solid var(--black);
  border-width: 0 calc(0.28 * var(--u)) calc(0.28 * var(--u)) 0;
  transform: rotate(45deg);
}

.order-note {
  font-size: calc(5 * var(--u));
  line-height: 1.365;
  margin: calc(5.5 * var(--u)) 0 0;
}

.submit-btn {
  width: calc(15.6 * var(--u));
  height: calc(15.6 * var(--u));
  margin: calc(5.6 * var(--u)) 0 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--black);
  color: var(--gold);
  font-size: calc(3 * var(--u));
  font-weight: 500;
  cursor: pointer;
}

.submit-btn:hover {
  opacity: 0.88;
}

.submit-btn:disabled {
  opacity: 0.55;
  cursor: wait;
}

.order-status {
  min-height: 1.4em;
  margin: calc(2 * var(--u)) 0 0;
  font-size: calc(3.4 * var(--u));
  line-height: 1.35;
}

.order-status.is-error {
  color: #6b2a1f;
}

.order-dispatch {
  font-size: calc(5 * var(--u));
  line-height: 1.365;
  margin: calc(4.2 * var(--u)) 0 0;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.thank-you {
  display: none;
  position: absolute;
  left: calc(26.76 * var(--u));
  top: calc(140.18 * var(--u));
  width: calc(47.22 * var(--u));
  z-index: 15;
  pointer-events: none;
}

.thank-you.is-visible {
  display: block;
}

.thank-you img {
  width: 100%;
  height: auto;
}

.page-order.is-sent .order-form {
  pointer-events: none;
}
