/* Crack Carmel coming soon. Colors and type match the dev site. */

@font-face {
  font-family: "Alfa Slab One";
  src: url("../fonts/alfa-slab-one-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #12344a;
  --bg-deep: #0c2433;
  --bg-ink: #091c28;
  --gold: #c08a3e;
  --gold-deep: #8a5e24;
  --gold-bright: #f0d7a2;
  --parchment: #e8cfa0;
  --ink: #1c2a33;
  --ink-soft: #3e5160;
  --cream: #f7f1e6;
  --display: "Alfa Slab One", Rockwell, "Arial Black", serif;
  --body: "Source Sans 3", "Segoe UI", sans-serif;
  --page: min(100%, 480px);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }
html { background: var(--bg-ink); }
body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.45;
  color: var(--parchment);
  background:
    radial-gradient(120% 46% at 50% -12%, rgba(192, 138, 62, 0.22), transparent 58%),
    var(--bg-ink);
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  z-index: 3;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #8a5e24, #f0d7a2 46%, #fff4dc 50%, #f0d7a2 54%, #8a5e24);
}
img { max-width: 100%; height: auto; }
p { margin: 0; }
a { color: var(--gold-bright); }
::selection { background: var(--gold); color: #1c140c; }

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 4;
  background: var(--gold);
  color: #1c140c;
  padding: 8px 12px;
  font-weight: 700;
  text-decoration: none;
}
.skip:focus { top: 12px; }

.scape {
  display: none;
  position: fixed;
  z-index: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  object-fit: cover;
  object-position: center bottom;
  pointer-events: none;
}

.stage {
  position: relative;
  z-index: 1;
  flex: 1;
  width: var(--page);
  margin: 0 auto;
  padding: calc(28px + env(safe-area-inset-top)) 22px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 22px;
}

.lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.mark {
  width: 150px;
  height: auto;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.32));
}
.brand {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3.25rem, 14vw, 3.85rem);
  line-height: 0.9;
  letter-spacing: 0.01em;
  color: var(--cream);
}

.panel {
  width: 100%;
  text-align: center;
  color: var(--parchment);
}
.panel h1 {
  margin: 0 0 0.7rem;
  padding-bottom: 0.55rem;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.25rem, 9vw, 2.7rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: var(--gold-bright);
  background: linear-gradient(var(--gold-bright), var(--gold-bright)) center bottom / 64px 2px no-repeat;
}
.panel p {
  font-size: 1.08rem;
  line-height: 1.45;
  color: var(--cream);
}
.panel p + p { margin-top: 0.7em; }

.follow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  margin-top: 1.25rem;
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--gold);
  color: #1c140c;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
  text-decoration: none;
}
.follow svg { flex: none; display: block; }
.follow:hover { background: #d7a45a; }
.follow:active { background: var(--gold-deep); color: var(--cream); }
.follow:focus-visible,
.site-footer a:focus-visible,
.skip:focus-visible {
  outline: 3px solid var(--cream);
  outline-offset: 3px;
}

.site-footer {
  position: relative;
  z-index: 1;
  padding: 8px 22px calc(16px + env(safe-area-inset-bottom));
}
.footer-inner {
  width: var(--page);
  margin: 0 auto;
  padding-top: 14px;
  border-top: 1px solid rgba(192, 138, 62, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.site-footer p { color: var(--parchment); font-size: 0.95rem; }
.site-footer a {
  color: var(--gold-bright);
  font-weight: 600;
  text-decoration: none;
}
.site-footer a:hover { text-decoration: underline; }

@media (min-width: 960px) {
  :root { --page: min(1120px, calc(100% - 72px)); }
  body {
    background:
      radial-gradient(720px 520px at 22% 42%, rgba(192, 138, 62, 0.18), transparent 70%),
      linear-gradient(180deg, #0c2433 0%, #091c28 42%, #091c28 100%);
  }
  .scape {
    display: block;
    height: min(34vh, 280px);
  }
  .stage {
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(340px, 1.05fr);
    align-items: center;
    justify-content: center;
    gap: 48px;
    padding: 36px 0 20px;
  }
  .lockup {
    align-items: flex-start;
    text-align: left;
    gap: 16px;
  }
  .mark { width: min(250px, 100%); }
  .brand { font-size: 4.5rem; }
  .panel {
    text-align: left;
    color: var(--ink);
    background: var(--parchment);
    border-radius: 28px;
    padding: 40px 40px 36px;
    box-shadow:
      0 0 0 1px rgba(138, 94, 36, 0.55),
      0 0 0 8px rgba(192, 138, 62, 0.14),
      var(--shadow);
    position: relative;
  }
  .panel::after {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(138, 94, 36, 0.35);
    border-radius: 18px;
    pointer-events: none;
  }
  .panel h1 {
    color: var(--bg);
    font-size: 3.15rem;
    margin-bottom: 0.85rem;
    background: linear-gradient(var(--gold-deep), var(--gold-deep)) left bottom / 76px 3px no-repeat;
  }
  .panel p {
    max-width: 22em;
    color: var(--ink);
    font-size: 1.16rem;
  }
  .follow {
    width: auto;
    min-width: 260px;
    margin-top: 1.5rem;
    padding-left: 22px;
    padding-right: 22px;
  }
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    padding-top: 16px;
  }
}

@media (min-width: 1280px) {
  :root { --page: min(1220px, calc(100% - 96px)); }
  .stage { gap: 72px; }
  .mark { width: 300px; }
  .brand { font-size: 5.35rem; }
  .panel { padding: 52px 56px 46px; border-radius: 32px; }
  .panel::after { inset: 14px; border-radius: 20px; }
  .panel h1 { font-size: 3.85rem; }
  .panel p { font-size: 1.28rem; max-width: 20em; }
  .follow { min-height: 56px; min-width: 280px; font-size: 1.08rem; }
  .scape { height: min(36vh, 320px); }
}

@media (min-width: 1680px) {
  :root { --page: min(1480px, calc(100% - 200px)); }
  .stage { gap: 104px; }
  .mark { width: 360px; }
  .brand { font-size: 6.5rem; }
  .panel { padding: 64px 68px 56px; }
  .panel h1 { font-size: 4.35rem; }
  .panel p { font-size: 1.4rem; max-width: 22em; }
  .follow { min-height: 58px; min-width: 300px; }
  .site-footer p,
  .site-footer a { font-size: 1.05rem; }
}
