/*
Theme Name: Sense Music & Media
Theme URI: https://sensemusic.tv/
Author: Sense Music & Media
Description: Minimal one-page theme for Sense Music & Media.
Version: 2.7.0
Text Domain: sense-music-media
*/

:root {
  --bg: #f6f6f3;
  --text: #111111;
  --muted: #666666;
  --line: #d7d7d1;
  --card: #ffffff;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; height: auto; }

.site-shell {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.logo { width: min(360px, 68vw); display: block; }
.header-nav {
  display: flex;
  gap: 24px;
}
.header-nav a {
  text-decoration: none;
  font-size: 14px;
  letter-spacing: .02em;
}
.header-nav a:hover { text-decoration: underline; }

.hero {
  min-height: 72vh;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 64px;
  align-items: end;
  padding: 84px 0 72px;
}
.eyebrow {
  margin: 0 0 16px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .12em;
}
h1 {
  margin: 0;
  max-width: 950px;
  font-size: clamp(52px, 8.5vw, 118px);
  line-height: .91;
  letter-spacing: -.055em;
  font-weight: 600;
}
.hero-copy {
  max-width: 500px;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.35;
}
.hero-copy p { margin: 0 0 20px; }
.hero-copy p:last-child { margin-bottom: 0; }

.work {
  padding: 80px 0 110px;
  border-top: 1px solid var(--line);
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}
h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 56px);
  letter-spacing: -.035em;
  font-weight: 500;
}
.section-note { color: var(--muted); font-size: 14px; }

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.work-links {
  display: grid;
  gap: 18px;
}
.featured-video {
  margin: 0 0 26px;
}
.featured-video-label {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.featured-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .12);
}
.featured-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-fallback {
  display: inline-block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}
.video-fallback:hover { color: var(--text); text-decoration: underline; }
.video-carousel-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 14px;
}
.carousel-arrow {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  font: inherit;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.carousel-arrow:hover, .carousel-arrow:focus-visible { background: var(--text); color: var(--bg); }
.carousel-dots { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.carousel-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 1px solid var(--text);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.carousel-dot.is-active { background: var(--text); }
.carousel-count { margin-left: auto; color: var(--muted); font-size: 13px; letter-spacing: .08em; }
.playlist-group {
  margin-top: 28px;
}
.playlist-heading {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.playlist-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.work-link {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 72px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}
.work-link:nth-child(odd) {
  border-right: 1px solid var(--line);
}
.work-link:hover,
.work-link:focus-visible {
  background: var(--text);
  color: var(--bg);
}
.work-number {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .12em;
}
.work-link:hover .work-number,
.work-link:focus-visible .work-number { color: #aaa; }
.work-title {
  font-size: clamp(17px, 1.8vw, 24px);
  line-height: 1.15;
  letter-spacing: -.025em;
  font-weight: 500;
}
.work-arrow {
  font-size: 20px;
  transition: transform .2s ease;
}
.work-link:hover .work-arrow,
.work-link:focus-visible .work-arrow { transform: translate(4px, -4px); }
.embed-card, .link-card, .playlist-card {
  background: var(--card);
  border: 1px solid var(--line);
}
.playlist-card {
  display: block;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition: transform .18s ease;
}
.playlist-card:hover { transform: translateY(-2px); }
.playlist-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform .35s ease;
}
.playlist-card:hover img { transform: scale(1.015); }
.playlist-card .card-meta strong { font-weight: 500; }
.embed-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
}
.embed-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 16px 18px;
  font-size: 14px;
}
.card-meta a { text-decoration: none; }
.card-meta a:hover { text-decoration: underline; }

.link-card {
  min-height: 150px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  transition: transform .18s ease;
}
.link-card:hover { transform: translateY(-2px); }
.link-card .platform { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; }
.link-card .big-link { font-size: clamp(24px, 3vw, 40px); line-height: 1; letter-spacing: -.035em; }

.updates {
  padding: 58px 0 72px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 24px;
}
.updates-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.updates h2 { font-size: clamp(30px, 3.2vw, 46px); }
.update-card {
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
}
.update-details summary { display: block; cursor: pointer; list-style: none; }
.update-details summary::-webkit-details-marker { display: none; }
.update-details summary:focus-visible { outline: 2px solid var(--text); outline-offset: -2px; }
.update-image { aspect-ratio: 1 / 1; background: #ddd; }
.update-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.update-content { display: flex; flex-direction: column; padding: 18px; }
.update-content time {
  margin-bottom: 22px;
  padding-bottom: 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.update-status {
  margin-bottom: auto;
  padding-bottom: 40px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.update-content h3 {
  margin: 0 0 12px;
  font-size: clamp(21px, 2vw, 30px);
  line-height: 1.02;
  letter-spacing: -.035em;
  font-weight: 500;
}
.update-copy, .update-teaser, .update-full { color: var(--muted); font-size: 16px; }
.update-teaser {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  line-height: 1.45;
}
.update-toggle { margin-top: 18px; color: var(--text); font-size: 13px; }
.close-label { display: none; }
.update-details[open] .open-label { display: none; }
.update-details[open] .close-label { display: inline; }
.update-full { padding: 0 18px 20px; }
.update-full > *:first-child { margin-top: 0; }
.update-full > *:last-child { margin-bottom: 0; }
.update-copy > * { margin-top: 0; }
.update-copy > *:last-child { margin-bottom: 0; }

.awards {
  padding: 80px 0 100px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 24px;
}
.awards-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.awards-list li {
  display: grid;
  grid-template-columns: 90px minmax(230px, .8fr) 1.4fr;
  gap: 24px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.awards-list span { color: var(--muted); font-size: 14px; }
.awards-list strong { font-size: 18px; font-weight: 500; }
.awards-list em { color: var(--muted); font-size: 16px; font-style: normal; }

.quote {
  padding: 90px 0 100px;
  border-top: 1px solid var(--line);
}
blockquote {
  margin: 0;
  max-width: 1100px;
  font-size: clamp(30px, 4.3vw, 60px);
  line-height: .98;
  letter-spacing: -.045em;
  font-weight: 500;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 30px 0 56px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  align-items: start;
}
.footer-label { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .12em; }
.footer-mail {
  font-size: clamp(16px, 1.6vw, 24px);
  line-height: 1;
  letter-spacing: -.045em;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.footer-mail:hover { text-decoration: underline; }

@media (max-width: 850px) {
  .site-shell { width: min(calc(100% - 30px), var(--max)); }
  .site-header { padding: 22px 0; }
  .header-nav { gap: 16px; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 40px; padding: 64px 0 58px; }
  .work { padding: 58px 0 72px; }
  .work-grid { grid-template-columns: 1fr; }
  .playlist-list { grid-template-columns: 1fr; }
  .updates { padding: 58px 0 72px; }
  .updates-grid { grid-template-columns: 1fr; }
  .update-image { aspect-ratio: 1 / 1; }
  .work-link { grid-template-columns: 34px 1fr auto; gap: 10px; min-height: 64px; padding: 12px 6px; }
  .work-link:nth-child(odd) { border-right: 0; }
  .awards { padding: 58px 0 72px; }
  .awards-list li { grid-template-columns: 58px 1fr; gap: 8px 16px; }
  .awards-list em { grid-column: 2; }
  .section-head { display: block; }
  .section-note { margin-top: 10px; }
  .quote { padding: 68px 0 74px; }
  .footer-grid { grid-template-columns: 1fr; gap: 18px; }
}
