/* Highland & Hem: home page sections */

/* Split hero */
.hero { display: flex; flex-wrap: wrap; }
.hero__media {
  position: relative; flex: 1 1 480px; overflow: hidden;
  min-height: clamp(480px, 58vw, 840px); background: var(--photo);
}
.hero__media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 30%;
  animation: kenBurns 14s ease-out infinite alternate;
}
.hero__copy {
  flex: 1 1 480px; min-width: 0;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  padding: clamp(32px, 4.4vw, 56px) clamp(20px, 4.4vw, 56px) clamp(32px, 3.8vw, 48px);
}
.hero__labels { display: flex; justify-content: space-between; gap: 16px; }
.hero__body { display: flex; flex-direction: column; gap: 28px; }
.hero__title {
  margin: 0; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(56px, 7.2vw, 108px); line-height: .92; letter-spacing: -.03em;
}
.hero__lead { margin: 0; max-width: 420px; font-size: 18px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__picks { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__pick { width: 120px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.hero__pick img { width: 100%; height: 140px; object-fit: cover; background: var(--tile); }

/* Just in */
.just-in { padding-block: var(--section-y); display: flex; flex-direction: column; gap: 36px; }
.section-head { display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: space-between; align-items: baseline; }
.text-link { font-size: 15px; border-bottom: 1px solid var(--espresso); padding-bottom: 3px; }
.new-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 36px 20px; }
.new-card { display: flex; flex-direction: column; gap: 12px; }
.new-card__media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--tile); }
.new-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.new-card:hover .new-card__media img { transform: scale(1.04); }
.new-card .badge { left: 12px; top: 12px; letter-spacing: .06em; }
.new-card__add {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  border: 0; border-radius: 999px; padding: 13px;
  background: rgba(43, 38, 32, .92); color: var(--on-dark); font-size: 14px;
}
.new-card__add:hover { background: var(--espresso); }
.new-card__row { display: flex; justify-content: space-between; gap: 12px; font-size: 16px; }
.new-card__name { margin: 0; font-size: inherit; font-weight: 400; }
.new-card__maker { margin-top: -6px; font-size: 13px; color: var(--taupe); }

/* Category tiles */
.tiles {
  padding-bottom: var(--section-y);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px;
}
.tile { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--photo); }
.tile:hover { opacity: 1; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tile:hover img, .tile:focus-visible img { transform: scale(1.05); }
.tile__caption {
  position: absolute; inset: auto 0 0 0; padding: 28px;
  display: flex; justify-content: space-between; align-items: flex-end;
  background: linear-gradient(0deg, rgba(30, 25, 20, .66), rgba(30, 25, 20, 0));
  color: #F7F2EA;
}
.tile__name { font-family: var(--font-display); font-size: 36px; line-height: 1; }
.tile__count { font-size: 14px; }

/* Our story */
.story { background: var(--linen-deep); }
.story .eyebrow { color: var(--muted); }
.story__inner {
  padding-block: var(--section-y);
  display: flex; flex-wrap: wrap; gap: clamp(40px, 6vw, 96px); align-items: center;
}
.story__collage { flex: 1 1 420px; min-width: 0; display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; }
.story__photo { aspect-ratio: 3 / 4; overflow: hidden; background: var(--photo); }
.story__photo--offset { margin-top: 25%; }
.story__photo img { width: 100%; height: 100%; object-fit: cover; }
.story__copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.story__quote {
  margin: 0; font-family: var(--font-display);
  font-size: clamp(30px, 3.2vw, 44px); line-height: 1.15; letter-spacing: -.01em; text-wrap: pretty;
}
.story__text { margin: 0; max-width: 520px; font-size: 17px; line-height: 1.65; color: var(--muted); }
.story__sign { font-family: var(--font-display); font-style: italic; font-size: 22px; }

/* Visit */
.visit {
  padding-block: var(--section-y);
  display: flex; flex-wrap: wrap; gap: clamp(40px, 5vw, 72px); align-items: stretch;
}
.visit__media { position: relative; flex: 1.3 1 480px; min-width: 0; min-height: 420px; overflow: hidden; background: var(--photo); }
.visit__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.visit__info { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.visit__address { display: flex; flex-direction: column; gap: 4px; font-size: 17px; line-height: 1.5; font-style: normal; }
.visit__parking { margin-top: 4px; font-size: 15px; color: var(--taupe); }
.hours { margin: 0; display: flex; flex-direction: column; font-size: 16px; }
.hours__row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.hours__row dd { margin: 0; }
.styling-card { display: flex; flex-direction: column; gap: 12px; padding: 26px; background: var(--espresso); color: var(--on-dark); }
.styling-card__title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 26px; }
.styling-card__text { margin: 0; font-size: 15px; line-height: 1.6; color: var(--on-dark-muted); }
.styling-card__cta {
  align-self: flex-start; margin-top: 4px; padding: 13px 22px; border-radius: 999px;
  background: var(--linen); color: var(--espresso); font-size: 14px; font-weight: 500;
}

@media (max-width: 520px) {
  .hero__media, .visit__media { flex-basis: 100%; }
  .hero__copy, .visit__info, .story__collage, .story__copy { flex-basis: 100%; }
  .visit__media { min-height: 300px; }
  .hero__ctas { gap: 10px; }
  .hero__picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .hero__pick { width: auto; font-size: 12px; }
  .hero__pick img { height: auto; aspect-ratio: 6 / 7; }
  .tile__caption { padding: 22px; }
}
