:root {
  --gate-ink: #41363d;
  --gate-accent: #f2c36e;
  --gate-white: #fff;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  overscroll-behavior-x: none;
  overscroll-behavior-y: none;
}
body {
  margin-bottom: 0;
  padding-bottom: 0;
  touch-action: pan-y;
}

.desktop-gate {
  display: none;
}

@media (min-width: 600px) {
  html {
    width: 100%;
    height: 100%;
    overflow: hidden;
    overscroll-behavior: none;
    background: var(--gate-ink);
  }
  body {
    position: fixed;
    inset: 0;
    width: 100% !important;
    max-width: none !important;
    height: 100%;
    min-height: 0;
    margin: 0 !important;
    overflow: hidden;
    overscroll-behavior: none;
    background: var(--gate-ink) !important;
  }
  body > *:not(.desktop-gate) {
    display: none !important;
  }

  .desktop-gate,
  .desktop-gate * {
    box-sizing: border-box;
  }
  .desktop-gate {
    position: fixed;
    z-index: 99999;
    inset: 0;
    isolation: isolate;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    overscroll-behavior: none;
    touch-action: none;
    background: #f2ece4 url("images/Desktop hero.png") center/cover no-repeat;
    color: var(--gate-white);
    font-family: "DM Sans", "Segoe UI", Arial, sans-serif;
  }
  .desktop-gate::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    background: transparent;
  }

  .desktop-gate-header {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 5px max(5vw, calc((100vw - 1100px) / 2));
    border-bottom: 1px solid #e3e7e9;
    background: #fff;
  }
  .desktop-gate-brand {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #18241f;
    text-decoration: none;
  }
  .desktop-gate-brand img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    filter: none;
  }
  .desktop-gate-brand span {
    display: grid;
    line-height: 1;
    text-align: left;
  }
  .desktop-gate-brand b {
    font:
      400 23px/0.82 "Allura",
      cursive;
  }
  .desktop-gate-brand small {
    margin-top: 0;
    color: #334840;
    font:
      700 11px/1 "Playfair Display",
      Georgia,
      serif;
    letter-spacing: 1.15px;
    text-transform: uppercase;
  }

  .desktop-gate-menu-icon {
    display: grid;
    width: 38px;
    height: 34px;
    place-content: center;
    gap: 7px;
  }
  .desktop-gate-menu-icon span {
    display: block;
    width: 27px;
    height: 1.5px;
    background: #1d2a24;
  }

  .desktop-gate-content {
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 18px 0 38px;
    background: transparent !important;
    text-align: center;
  }
  .desktop-gate-content::before {
    position: absolute;
    z-index: 0;
    inset: 0;
    content: "";
    background: rgba(27, 24, 25, 0.68);
  }
  .desktop-gate-copy {
    position: relative;
    z-index: 1;
    width: min(620px, 86vw);
    margin-inline: auto;
    text-align: center;
    transform: none;
  }
  .desktop-gate-eyebrow {
    margin: 0 0 31px;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    text-shadow: none;
  }
  .desktop-gate h2 {
    margin: 0;
    color: #fff;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(54px, 5.7vw, 78px);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -1.6px;
    text-shadow: none;
  }
  .desktop-gate h2 span {
    display: block;
    margin-bottom: 14px;
    color: var(--gate-accent);
    font:
      400 0.96em/0.88 "Allura",
      cursive;
    letter-spacing: 0;
    text-transform: none;
  }
  .desktop-gate h2 em {
    display: block;
    max-width: 560px;
    margin-inline: auto;
    color: #fff;
    font:
      400 18px/1.55 "DM Sans",
      "Segoe UI",
      Arial,
      sans-serif;
    font-style: normal;
    letter-spacing: 0;
    text-shadow: none;
  }
  .desktop-gate-copy > p:last-child {
    display: block;
    width: min(100%, 560px);
    max-width: none;
    margin: 26px auto 0 !important;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.55;
    text-align: center !important;
    text-shadow: none;
  }

  .desktop-gate-notice {
    display: block;
    min-height: 0;
    padding: 0;
    border-top: 1px solid #34433b;
    background: #14231d;
    color: #fff;
    font: inherit;
    letter-spacing: 0;
    backdrop-filter: none;
  }
  .desktop-gate-notice > div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    width: min(90vw, 1100px);
    min-height: 70px;
    margin: 0 auto;
    padding: 12px 0;
  }
  .desktop-gate-notice p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 1.45;
    text-align: center;
  }
  .desktop-gate-notice strong {
    color: #fff;
  }
  .desktop-gate-phone {
    display: flex;
    flex: none;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
  }
  .desktop-gate-phone svg {
    width: 19px;
    color: var(--gate-accent);
  }
}

@media (min-width: 600px) and (max-width: 900px) {
  .desktop-gate {
    background: #f2ece4 url("images/Desktop hero ipad.png") center/cover
      no-repeat;
  }
  .desktop-gate::before {
    background: transparent;
  }
  .desktop-gate-eyebrow,
  .desktop-gate h2 em {
    color: #fff;
  }
  .desktop-gate-header {
    padding: 5px 5vw;
  }
  .desktop-gate-content {
    place-items: center;
    padding-top: 18px;
  }
  .desktop-gate-copy {
    transform: none;
  }
  .desktop-gate h2 {
    font-size: clamp(52px, 8.5vw, 70px);
  }
  .desktop-gate-notice > div {
    flex-direction: column;
    gap: 6px;
    min-height: 76px;
  }
}
