:root {
  --color-orange: #ef7800;
  --color-black: #000000;
  --color-dark: #161616;
  --color-ink: #111111;
  --color-white: #ffffff;
  --color-paper: #e6e6e6;
  --color-muted: #5f5f5f;

  --font-sans: "Open Sans", "Open Sans Hebrew", Arial, sans-serif;
  --font-hand: "Primary Hand", "Gochi Hand", "Comic Sans MS", "Segoe Print", cursive;
  --font-signature: "Amsterdam", "Primary Hand", "Gochi Hand", cursive;

  --page-max: 1180px;
  --content-pad: clamp(20px, 5vw, 72px);
  --section-pad: clamp(72px, 12vw, 180px);
  --separator-min-width: 1200px;
  --radius-sm: 8px;
  --shadow-soft: 0 22px 50px rgb(0 0 0 / 18%);
}

@font-face {
  font-family: "Open Sans";
  src: url("../assets/fonts/open-sans-300.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 300;
}

@font-face {
  font-family: "Open Sans";
  src: url("../assets/fonts/open-sans-400.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Open Sans";
  src: url("../assets/fonts/open-sans-700.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: "Open Sans";
  src: url("../assets/fonts/open-sans-800.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 800;
}

@font-face {
  font-family: "Primary Hand";
  src: local("Providence Sans"), url("../assets/fonts/handwritten-font.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Gochi Hand";
  src: url("../assets/fonts/gochi-hand-400.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Amsterdam";
  src: url("../assets/fonts/amsterdam-signature.woff2") format("woff2"),
       url("../assets/fonts/amsterdam-signature.woff") format("woff");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--color-black);
  color: var(--color-ink);
  font-family: var(--font-sans);
  line-height: 1.5;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--color-white);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:focus-visible {
  outline: 3px solid var(--color-orange);
  outline-offset: 4px;
}

.page-shell {
  min-height: 100vh;
  background: var(--color-white);
}

.section {
  position: relative;
  padding: var(--section-pad) var(--content-pad);
}

.section--black {
  background: var(--color-black);
  color: var(--color-white);
}

.section--dark {
  background: var(--color-dark);
  color: var(--color-white);
}

.section--paper {
  background: var(--color-paper);
}

.section--orange {
  background: var(--color-orange);
  color: var(--color-white);
}

.container {
  width: min(100%, var(--page-max));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 24px;
  font-family: var(--font-sans);
  font-size: clamp(0.75rem, 0.68rem + 0.22vw, 0.95rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.15;
  text-transform: uppercase;
}

.accent {
  color: var(--color-orange);
}

.display-hand {
  margin: 0;
  font-family: var(--font-hand);
  font-size: clamp(1.1rem, 2.5vw, 2.25rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.28;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(2rem, 1.35rem + 2.6vw, 4rem);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 0.98;
  text-transform: uppercase;
}

@media (max-width: 420px) {
  #design-steps-title {
    font-size: 24px;
  }
  .next-step__title {
    font-size: 16px !important;
  }
}

.body-copy {
  margin: 0;
  font-size: clamp(0.75rem, 0.67rem + 0.2vw, 0.875rem);
  font-weight: 300;
  line-height: 1.5;
}

.body-copy--spaced {
  margin-top: 20px;
}

.hand-copy {
  display: block;
  margin: 0;
  font-family: var(--font-hand);
  font-size: clamp(1rem, 0.88rem + 0.45vw, 1.35rem);
  letter-spacing: -2px;
  line-height: 1.35;
}

.signature-img {
  display: block;
  margin-left: auto;
  height: clamp(4rem, 3.4rem + 2.7vw, 6.75rem);
  width: auto;
}

.hero-preview {
  display: grid;
  min-height: clamp(440px, 56vw, 760px);
  place-items: center;
  text-align: center;
}

.hero-preview__content {
  width: min(100%, 720px);
}

#design-hero-title {
  text-transform: none;
}

.hero-preview .body-copy {
  margin-top: 12px;
}

.agenda-preview {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}

.agenda-preview__date {
  display: block;
  margin: 12px 0 8px;
  color: var(--color-orange);
  font-family: var(--font-hand);
  font-size: clamp(2.4rem, 1.5rem + 3.8vw, 5.2rem);
  letter-spacing: -4px;
  line-height: 1;
  transform: scaleX(0.82);
  transform-origin: left center;
}

.ebook-cover {
  display: grid;
  min-height: clamp(260px, 34vw, 460px);
  place-items: center;
  background-image: url('../assets/images/ebook-cover.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.next-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(28px, 5vw, 72px);
  row-gap: 0;
  margin-top: clamp(44px, 7vw, 88px);
}

.next-step {
  display: grid;
  grid-row: span 2;
  grid-template-rows: subgrid;
  justify-items: center;
  text-align: center;
}

.next-step__icon {
  display: grid;
  width: clamp(54px, 6vw, 76px);
  height: 84px;
  align-items: end;
  justify-items: center;
  margin-bottom: 18px;
  color: var(--color-orange);
}

.next-step__icon img {
  width: auto;
  max-width: none;
  object-fit: contain;
}

.next-step__icon--mail {
  height: 48px;
}
.next-step__icon--key {
  height: 84px;
}
.next-step__icon--notification {
  height: 72px;
}

.next-step__title {
  margin: 0 0 18px;
  color: var(--color-orange);
  font-size: clamp(1.2rem, 0.95rem + 0.8vw, 1.8rem);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.quote-preview {
  display: grid;
  min-height: clamp(520px, 62vw, 820px);
  place-items: center;
  text-align: center;
}

.quote-preview__content {
  width: min(100%, 900px);
}

.quote-preview .signature {
  display: block;
  margin-top: 22px;
}

.quote-preview .body-copy {
  margin-top: clamp(42px, 6vw, 78px);
}

.footer-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: end;
}

.footer-preview .hand-copy {
  margin-top: 26px;
}

.text-center {
  text-align: center;
}

.social-links {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: white;
}

.social-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 400;
  text-transform: uppercase;
  text-decoration: none;
}

.social-link__icon {
  width: 24px;
  height: 24px;
  overflow:hidden;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  text-decoration: none;
  color: transparent;
}
.social-link__icon.instagram {
  background-image: url('../assets/icons/instagram.png');
}
.social-link__icon.youtube {
  background-image: url('../assets/icons/youtube.png');
}

@media (max-width: 760px) {
  .agenda-preview {
    grid-template-columns: 1fr;
  }

  .hero-preview {
    min-height: 80svh;
  }

  .steps-preview {
    display: grid;
    min-height: 90svh;
    align-items: center;
    padding-top: clamp(120px, 18svh, 170px);
    padding-bottom: clamp(130px, 20svh, 190px);
  }

  .next-steps {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .next-step {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 18px;
    justify-items: start;
    text-align: left;
  }

  .hand-copy {
    transform-origin: left top;
  }

  .next-step__icon {
    width: 62px;
    height: 70px;
    margin-bottom: 0;
  }

  .next-step__icon--mail {
    height: 40px;
  }

  .next-step__icon--key {
    height: 70px;
  }

  .next-step__icon--notification {
    height: 60px;
  }

  .next-step__title {
    margin-bottom: 8px;
  }

  .footer-preview {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .quote-preview {
    min-height: 105svh;
    padding-top: clamp(96px, 15svh, 140px);
  }
}

@media (min-width: 761px) {
  .steps-preview {
    padding: 12em 0;
  }

  .next-step .hand-copy {
    padding: 0 2em;
  }

  .quote-preview__content .body-copy {
    margin-top: 48px;
  }
}

@media (max-width: 420px) {
  :root {
    --content-pad: 18px;
  }

  .signature-img {
    height: clamp(3.6rem, 3.06rem + 2.43vw, 6.08rem);
  }
}

@media (min-width: 421px) {
  .break-desktop {
    display: block;
  }

  #design-steps-title {
    font-size: 36px;
  }

  .body-copy {
    font-size: 14px;
  }
}

.torn-paper-separator-1,
.torn-paper-separator-2,
.torn-paper-separator-3,
.torn-paper-separator-4 {
  position: relative;
  z-index: 1000;
  display: block;
  height: 140px;
  margin-top: -70px;
  margin-bottom: -70px;
  overflow: hidden;
  background-size: max(100%, var(--separator-min-width)) 140px;
  background-repeat: no-repeat;
  background-position: center top;
}

.torn-paper-separator-1 {
  background-image: url('../assets/images/separator-blackgray.png');
}

.torn-paper-separator-2 {
  background-image: url('../assets/images/separator-graywhite.png');
}

.torn-paper-separator-3 {
  background-image: url('../assets/images/separator-whitedark.png');
}

.torn-paper-separator-4 {
  background-image: url('../assets/images/separator-darkorange.png');
}
