
/* =====================================================
   STUDIO VITALESCA — V21 REFINEMENTS
   Keep style.css and v7.css.
===================================================== */

/* DESKTOP NAVIGATION */

@media (min-width: 761px) {
  .main-nav {
    gap: clamp(11px, 1.5vw, 24px);
  }

  .main-nav a {
    font-size: clamp(9px, .8vw, 11px);
  }
}

/* CONTACT */

.contact-layout {
  margin-bottom: 55px;
}

.editorial-work {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 45px;
}

/* INFO / PRIVACY */

.privacy-notice {
  max-width: min(850px, calc(100% - 2 * var(--side)));
}

.privacy-notice .micro {
  display: block;
  margin-bottom: 14px;
}

.privacy-notice p {
  max-width: 780px;
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 12px;
  font-weight: 400;
  letter-spacing: normal;
}

.privacy-notice small {
  display: block;
  font-size: 11px;
  line-height: 1.55;
  max-width: 760px;
}

/* ==========================================
   MOBILE LAYOUT
========================================== */

@media (max-width: 760px) {

  /* HOME BUTTONS */

  .main-actions {
    gap: 12px 22px;
    align-items: flex-start;
  }

  .main-actions .action {
    min-width: 0;
    width: max-content;
    max-width: 100%;
    padding: 10px 0;
    font-size: 11px;
    line-height: 1.35;
    background: transparent;
  }

  .main-actions .action span {
    display: none !important;
  }

  .main-actions .action:hover,
  .main-actions .action:focus-visible {
    background: transparent;
    padding: 10px 0;
    border-bottom-color: #5bb3a7;
  }

  /* HERO IMAGE */

  .hero-visual {
    width: 100%;
    margin-right: 0;
  }

  .hero-photo {
    width: 100%;
    display: block;
  }

  .hero-visual .dot-trim {
    display: none;
  }

  .hero-visual .photo-footer {
    position: relative;
    z-index: 2;
    clear: both;
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 0 0;
    margin-top: 0;
    background: var(--paper);
    font-size: 9px;
    line-height: 1.4;
    letter-spacing: .05em;
  }

  .hero-visual .photo-footer span {
    position: relative;
    z-index: 3;
  }

  /* TAKE YOUR PICK */

  .directions {
    padding-top: 68px;
    padding-bottom: 54px;
  }

  .directions .section-heading {
    margin-bottom: 22px;
  }

  .directions .section-heading h2 {
    font-size: clamp(34px, 8.5vw, 59px);
    line-height: 1.01;
    letter-spacing: -.055em;
    overflow-wrap: normal;
  }

  .direction-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 39px;
    border-top: 0;
  }

  .direction {
    display: block;
    min-width: 0;
    border-top: 1px solid var(--ink);
    padding-top: 15px;
  }

  .direction-no {
    display: block;
    font-size: 10px;
    margin: 0 0 12px;
  }

  .direction h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: clamp(39px, 10.5vw, 60px);
    line-height: .98;
    margin: 0 0 13px;
    letter-spacing: -.06em;
    white-space: nowrap;
  }

  .direction h3 span {
    flex: 0 0 35px;
    display: inline-grid;
    place-items: center;
    width: 35px;
    height: 35px;
    margin: 0;
    font-size: 21px;
    line-height: 1;
  }

  .direction p {
    font-size: 14px;
    line-height: 1.48;
    max-width: 40ch;
    min-height: 0;
    margin: 0 0 18px;
  }

  .direction img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border: 0;
  }

  /* A LITTLE NOTE */

  .last-note {
    grid-template-columns: 31px minmax(0, 1fr);
    gap: 16px;
    min-height: 0;
    padding: 34px 0 33px;
    margin-bottom: 14px;
    align-items: start;
  }

  .last-note .dot-square {
    width: 31px;
    height: 83px;
    opacity: .85;
    background-size: 13px 13px;
  }

  .last-note .dot-square::before {
    display: none;
  }

  .last-note > div:nth-child(2) {
    min-width: 0;
  }

  .last-note .micro {
    display: block;
    font-size: 9px;
    letter-spacing: .09em;
    line-height: 1.5;
  }

  .last-note > div:nth-child(2) > p {
    font-size: clamp(22px, 5.9vw, 32px);
    line-height: 1.17;
    letter-spacing: -.05em;
    margin: 13px 0 22px;
    max-width: 29ch;
  }

  .last-note .note-cta {
    gap: 13px;
  }

  .last-note .note-policy-link {
    font-size: 11px;
    line-height: 1.3;
    padding-bottom: 8px;
  }

  .last-note .note-policy-copy {
    font-size: 12px;
    line-height: 1.6;
    max-width: 45ch;
  }

  .last-note + .site-footer {
    margin-top: 0;
  }

  /* CONTACT */

  .contact-layout {
    margin-bottom: 31px;
  }

  .editorial-work {
    margin-bottom: 0;
    padding: 29px 0 38px;
    border-top: 1px solid var(--ink);
    border-bottom: 0;
  }

  .editorial-work-heading h2 {
    overflow-wrap: anywhere;
  }

  /* PRIVACY */

  .privacy-notice {
    margin-bottom: 36px;
  }

  .privacy-notice .micro {
    font-size: 9px;
  }

  .privacy-notice p {
    font-size: 13px;
    line-height: 1.6;
  }

  .privacy-notice small {
    font-size: 10px;
  }
}

@media (max-width: 370px) {
  .directions .section-heading h2 {
    font-size: 32px;
  }

  .direction h3 {
    font-size: clamp(32px, 10vw, 41px);
  }

  .last-note {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 12px;
  }

  .last-note .dot-square {
    width: 24px;
  }

  .last-note > div:nth-child(2) > p {
    font-size: 21px;
  }
}

/* ==========================================
   V20 / V21 POLKA DOT DETAILS
========================================== */

.work-section,
.directions {
  position: relative;
  isolation: isolate;
}

.work-section::before,
.work-section::after,
.directions::before {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: .92;

  background-image: radial-gradient(
    circle,
    #9ff0e0 2px,
    transparent 2.6px
  );

  background-size: 16px 16px;
}

.work-section::before {
  width: 87px;
  height: 140px;
  left: -25px;
  top: 30px;
}

.work-section::after {
  width: 74px;
  height: 95px;
  right: -20px;
  bottom: 57px;

  background-image: radial-gradient(
    circle,
    #f637a5 1.8px,
    transparent 2.5px
  );
}

.directions::before {
  width: 81px;
  height: 98px;
  right: -30px;
  top: 42px;

  background-image: radial-gradient(
    circle,
    #c68bfa 1.9px,
    transparent 2.6px
  );
}

.work-section > *,
.directions > * {
  position: relative;
  z-index: 1;
}

/* SELECTED SETS */

.work-collage {
  gap: clamp(7px, .8vw, 13px);
}

.work-collage figure:nth-child(n) img {
  transform: none;
  object-position: center;
}

.hero-description strong {
  font-weight: 850;
}

/* HIDE DECORATIVE ARROW CIRCLES */

.direction h3 span {
  display: none !important;
}

@media (max-width: 760px) {
  .work-section::before {
    left: -19px;
    top: 29px;
    width: 39px;
    height: 84px;
    opacity: .65;
    background-size: 13px 13px;
  }

  .work-section::after {
    right: -19px;
    bottom: 34px;
    width: 42px;
    height: 72px;
    opacity: .65;
    background-size: 13px 13px;
  }

  .directions::before {
    right: -21px;
    top: 19px;
    width: 41px;
    height: 73px;
    background-size: 13px 13px;
    opacity: .65;
  }

  .work-collage {
    gap: 7px;
  }

  .hero-description {
    line-height: 1.6;
  }
}

/* ==========================================
   V21 — AN EXERCISE IN EXCESS
========================================== */

.hero-title-excess .hero-pretitle {
  font-size: clamp(29px, 3.85vw, 61px);
  line-height: 1;
  letter-spacing: -.062em;
  white-space: nowrap;
}

.hero-title-excess h1 {
  font-size: clamp(50px, 5.9vw, 91px);
  line-height: .97;
  letter-spacing: -.075em;
  white-space: nowrap;
  font-style: normal;
  font-weight: 900;
  margin-top: 4px;
}

.hero-title-excess h1 em {
  font-style: italic;
  font-weight: 900;
}

.hero-title-excess h1 b {
  right: 0;
  top: -32px;
}

.hero-title-excess .pink-tape {
  margin-top: 19px;
}

/* UNDERLINED LINKS */

.deposit-note-copy a,
.rule-detail a {
  border-bottom: 1px solid currentColor;
  text-decoration: none;
}

/* MOBILE HEADLINE */

@media (max-width: 760px) {
  .hero-title-excess .hero-pretitle {
    font-size: clamp(28px, 8.2vw, 57px);
  }

  .hero-title-excess h1 {
    font-size: clamp(41px, 10.7vw, 75px);
  }

  .hero-title-excess h1 b {
    top: -26px;
    right: 1%;
  }
}

@media (max-width: 365px) {
  .hero-title-excess .hero-pretitle {
    font-size: 7.7vw;
  }

  .hero-title-excess h1 {
    font-size: 10vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  .direction h3 span {
    transition: none;
  }
}
