/* App tokens: apps/fronthoven/src/index.css. Weight 400 only. */

@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/jost-cyrillic-400-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/jost-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/jost-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/playfair-display-cyrillic-400-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/playfair-display-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/playfair-display-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Playfair";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/playfair-cyrillic-400-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Playfair";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/playfair-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Playfair";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/playfair-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --bg: #fafafa;
  --text: #000;
  --muted: #5c6479;
  --accent: #008dd5;
  --card: #fff;
  --shadow: 0 1px 2px 0 rgb(0 0 0 / 0.3), 0 1px 3px 1px rgb(0 0 0 / 0.15);
  --gutter: clamp(16px, 5.6vw, 23px);
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Jost", ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 23px;
}

h1,
h2,
p {
  font-weight: 400;
}

h1,
h2 {
  font-family: "Playfair Display", ui-serif, Georgia, serif;
  line-height: 1.25;
}

h1 {
  margin: 0.85rem 0 0;
  font-size: clamp(26px, 4vw, 40px);
}

h2 {
  margin: 0 0 0.5rem;
  font-size: 24px;
  line-height: 1.35;
}

p {
  margin: 0;
}

a {
  color: var(--accent);
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.wordmark {
  margin: 0.75rem 0 0;
  font-family: "Playfair", ui-serif, Georgia, serif;
  font-size: clamp(28px, 8vw, 64px);
  line-height: 1.15;
}

.hero {
  position: relative;
  min-height: calc(100vh * 2 / 3);
  min-height: calc(100dvh * 2 / 3);
  background: #000;
  color: #fff;
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-opening .hero-photo {
  opacity: 0.6;
}

/* Darken the words' side. The photo stays open on the right. */
.hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgb(0 0 0 / 0.78) 0%, rgb(0 0 0 / 0.62) 38%, rgb(0 0 0 / 0.2) 68%, rgb(0 0 0 / 0.08));
}

.hero-opening::after {
  background: linear-gradient(180deg, rgb(0 0 0 / 0.28), rgb(0 0 0 / 0.12) 28%, rgb(0 0 0 / 0.4));
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 2.25rem var(--gutter) 2.75rem;
}

.hero .lang {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 0;
}

.hero .lang a {
  font-size: 14px;
  text-decoration: none;
}

.hero p {
  max-width: 38rem;
  margin-top: 0.85rem;
  color: #fff;
}

.hero a:not(.pill) {
  color: #fff;
}

.hero .lang a {
  color: rgb(255 255 255 / 0.72);
}

.hero .lang a:hover,
.hero .lang a[aria-current="page"] {
  color: #fff;
}

.hero .lang a[aria-current="page"],
.pill[aria-current="page"] {
  font-weight: 500;
}

.hero-return {
  font-size: 14px;
}

.hero .actions {
  align-items: center;
}

.wrap {
  width: min(960px, 100%);
  margin: 0 auto;
  padding: 3.5rem var(--gutter) 4.5rem;
}

.sheet {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(960px, 100%);
  margin: 0 auto;
  min-height: calc(100vh / 3);
  min-height: calc(100dvh / 3);
  padding: 1.5rem var(--gutter);
}

.cta {
  align-items: center;
}

.cta p {
  max-width: 40rem;
  margin-top: 0.85rem;
  text-align: left;
}

.cta .actions {
  justify-content: center;
}

.features {
  display: grid;
  gap: 1.75rem;
}

.scenarios {
  display: grid;
}

.scenario {
  position: relative;
  display: flex;
  align-items: flex-start;
  min-height: calc(100vh * 2 / 3);
  min-height: calc(100dvh * 2 / 3);
  overflow: hidden;
  background: #000;
  color: #fff;
}

.scenario-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scenario-concert .scenario-photo {
  object-position: center 42%;
}

.scenario-church .scenario-photo {
  object-position: 72% 36%;
}

.scenario-band .scenario-photo {
  object-position: 40% 28%;
}

.scenario::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgb(0 0 0 / 0.28) 0%, transparent 42%);
}

.scenario-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 1.75rem 1.5rem 9rem;
  background: linear-gradient(
    180deg,
    rgb(0 0 0 / 0.82) 0,
    rgb(0 0 0 / 0.74) calc(100% - 9rem),
    rgb(0 0 0 / 0.28) calc(100% - 3.5rem),
    transparent
  );
}

.scenario h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(26px, 2.2vw, 32px);
  line-height: 1.2;
}

.scenario p {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
}

.colophon {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(960px, 100%);
  margin: 0 auto;
  padding: 2.5rem var(--gutter) 3rem;
}

.colophon .note {
  width: min(40rem, 100%);
  margin-top: 0.85rem;
  text-align: left;
}

.colophon .note:first-child {
  margin-top: 0;
}

.icon {
  display: block;
  width: 24px;
  height: 24px;
  margin-bottom: 0.85rem;
  color: var(--accent);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  max-width: none;
  margin-top: 1.35rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0.2rem 0.95rem;
  border-radius: 16px;
  background: var(--card);
  color: var(--text);
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.pill:hover {
  filter: brightness(0.95);
}

.pill-accent {
  background: var(--accent);
  color: #fff;
}

.note {
  max-width: 40rem;
  margin-top: 3rem;
  color: var(--muted);
}

.note a {
  color: var(--accent);
}

.plain .wordmark {
  margin-top: 0;
}

.plain h1 {
  margin-top: 1.25rem;
}

@media (min-width: 768px) {
  .hero::after {
    background: linear-gradient(90deg, rgb(0 0 0 / 0.78) 0%, rgb(0 0 0 / 0.66) 28%, rgb(0 0 0 / 0.4) 48%, rgb(0 0 0 / 0.1) 66%, transparent 80%);
  }

  .hero-opening::after {
    background: linear-gradient(90deg, rgb(0 0 0 / 0.62) 0%, rgb(0 0 0 / 0.48) 34%, rgb(0 0 0 / 0.16) 56%, transparent 76%);
  }

  .hero-inner {
    width: min(40rem, 58%);
    padding: 5.5rem clamp(24px, 6vw, 107px) 4.25rem;
  }

  .features {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .scenarios {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .features {
    grid-template-columns: repeat(4, 1fr);
  }
}
