/* =========================================================
   THE FUTURE OF WORK
   Editorial Case Study holding page
   ========================================================= */

@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@500;600;700&display=swap");

:root {
  --future-paper: #f3e3ce;
  --future-ink: #2f2a25;
  --future-muted: #665c53;
  --future-purple: #4b2c7a;
  --future-red: #b64a3f;
  --future-note: #fff0a7;
  --future-tape: rgba(226, 207, 166, 0.82);
  --future-heading: "Canela", "Times New Roman", Georgia, serif;
  --future-body: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --future-hand: "Caveat", "Bradley Hand", "Segoe Print", cursive;
}

html { overflow-x: hidden; }

body.future-work-page {
  margin: 0;
  overflow-x: hidden;
  color: var(--future-ink);
  font-family: var(--future-body);
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.28), transparent 28%),
    linear-gradient(rgba(247, 239, 226, 0.84), rgba(247, 239, 226, 0.84)),
    url("../images/textures/watercolor-paper.jpg");
  background-size: auto, auto, 430px auto;
}

.future-work-page *,
.future-work-page *::before,
.future-work-page *::after { box-sizing: border-box; }

.future-work-page img { display: block; max-width: 100%; }
.future-work-main { width: min(1560px, calc(100vw - 56px)); margin-inline: auto; }
.future-work-canvas { padding: 1.4rem 0 4.5rem; }

.future-work-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(2.75rem, 6vw, 7rem);
  align-items: center;
  min-height: calc(100vh - 210px);
}

.future-work-copy { min-width: 0; max-width: 680px; padding: 1.2rem 0 1.8rem; }
.future-work-kicker {
  margin: 0 0 0.65rem;
  color: var(--future-red);
  font-family: var(--future-body);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.future-work-copy h1 {
  max-width: 8.6ch;
  margin: 0;
  color: var(--future-ink);
  font-family: var(--future-heading);
  font-size: clamp(4.6rem, 7vw, 7.8rem);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.future-work-lede {
  max-width: 36rem;
  margin: 1.35rem 0 0;
  color: var(--future-purple);
  font-family: var(--future-heading);
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 600;
  line-height: 1.16;
}

.future-work-body {
  max-width: 39rem;
  margin-top: 1rem;
  color: var(--future-muted);
  font-family: var(--future-body);
  font-size: 1rem;
  line-height: 1.68;
}
.future-work-body p { margin: 0 0 0.95rem; }
.future-work-body blockquote {
  margin: 1.2rem 0 1.3rem 1.1rem;
  padding-left: 1.15rem;
  border-left: 3px solid rgba(75, 44, 122, 0.32);
  color: var(--future-purple);
  font-family: var(--future-heading);
  font-size: clamp(1.35rem, 1.8vw, 1.75rem);
  font-weight: 600;
  line-height: 1.25;
}

.future-work-scrap {
  position: relative;
  width: min(24rem, 88%);
  margin: 1.8rem 0 0 auto;
  padding: 1rem 1.15rem;
  background: var(--future-note);
  box-shadow: 0 14px 26px rgba(72, 49, 30, 0.14);
  transform: rotate(-2deg);
}
.future-work-scrap::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 42%;
  width: 58px;
  height: 18px;
  background: var(--future-tape);
  transform: rotate(2deg);
}
.future-work-scrap p {
  margin: 0;
  color: var(--future-purple);
  font-family: var(--future-hand);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.05;
}

.future-work-page .future-work-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.9rem 2rem;
  margin-top: 1.8rem;
}
.future-work-page nav.future-work-actions a {
  display: inline-block;
  color: var(--future-purple);
  font-family: var(--future-hand) !important;
  font-size: 2rem !important;
  font-weight: 700 !important;
  line-height: 1.05;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: none;
}
.future-work-page nav.future-work-actions a:hover,
.future-work-page nav.future-work-actions a:focus-visible {
  color: var(--future-red);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.future-work-art { align-self: center; min-width: 0; margin: 0; }
.future-work-art img {
  width: 100%;
  max-height: 720px;
  object-fit: contain;
  object-position: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 22px 28px rgba(64, 45, 28, 0.11));
}
.future-work-art figcaption {
  margin: 0.45rem 1rem 0 0;
  color: var(--future-purple);
  font-family: var(--future-hand);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.05;
  text-align: right;
  transform: rotate(-1deg);
}

@media (max-width: 980px) {
  .future-work-main { width: min(100% - 36px, 980px); }
  .future-work-hero {
    grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
    gap: 2.5rem;
    min-height: auto;
  }
  .future-work-copy h1 { font-size: clamp(4rem, 8vw, 6rem); }
  .future-work-page .future-work-actions a { font-size: 1.85rem !important; }
}

@media (max-width: 760px) {
  .future-work-main { width: min(100% - 28px, 720px); }
  .future-work-canvas { padding-top: 0.65rem; }
  .future-work-hero { display: flex; flex-direction: column; gap: 1.5rem; align-items: stretch; }
  .future-work-copy { max-width: none; padding-bottom: 0; }
  .future-work-copy h1 { max-width: 8ch; font-size: clamp(3.7rem, 14vw, 5.2rem); }
  .future-work-art { order: -1; width: min(100%, 620px); margin-inline: auto; }
  .future-work-art img { max-height: 520px; }
  .future-work-page .future-work-actions { gap: 0.75rem 1.5rem; }
  .future-work-page .future-work-actions a { font-size: 1.75rem !important; }
}

@media (max-width: 520px) {
  .future-work-main { width: min(100% - 22px, 500px); }
  .future-work-copy h1 { font-size: clamp(3.2rem, 15vw, 4.2rem); }
  .future-work-lede { font-size: 1.35rem; }
  .future-work-scrap { width: 92%; }
  .future-work-page .future-work-actions { display: grid; gap: 0.65rem; }
  .future-work-page .future-work-actions a { width: fit-content; font-size: 1.65rem !important; }
}
