/* ---------------------------------------------------------
   Olle Markensten — site stylesheet
   Modern dark studio look: near-black background, teal accent,
   Archivo throughout, sticky nav, card-based sections.
--------------------------------------------------------- */

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

:root{
  --bg: #0e0d0c;
  --bg-soft: #171614;
  --ink: #ece8e0;
  --ink-soft: #c7c2b8;
  --ink-faint: #a7a29a;
  --ink-dim: #6f6b64;
  --line: rgba(236,232,224,0.1);
  --line-soft: rgba(236,232,224,0.08);
  --accent: #4f9b8a;
  --accent-hover: #5fae9c;
  --accent-soft: rgba(79,155,138,0.4);
  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 32px);
  --sans: 'Archivo', Helvetica, Arial, sans-serif;
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin:0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a{ color: var(--accent); text-decoration: none; transition: color .15s ease; }
a:hover{ color: var(--accent-hover); }

::selection{ background: var(--accent); color: var(--bg); }

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

.wrap{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- header ---------- */

.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14,13,12,0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}

.site-header .wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 20px;
  padding-bottom: 20px;
}

.logo{
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}
.logo:hover{ color: var(--ink); }

nav.primary-nav{
  display:flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 14px;
  letter-spacing: 0.02em;
}

nav.primary-nav a{
  color: var(--ink-soft);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}

nav.primary-nav a:hover{ color: var(--ink); }

nav.primary-nav a.active{
  color: var(--accent-hover);
}

.header-social{
  display:flex;
  gap: 16px;
  align-items:center;
}
.header-social::before{
  content:"";
  width: 1px; height: 16px;
  background: var(--line);
  margin-right: 4px;
}

.header-social a{
  display:flex;
  color: var(--ink-soft);
  transition: color .2s ease;
}
.header-social a:hover{ color: var(--accent-hover); }
.header-social svg{ width:18px; height:18px; }

.menu-toggle{ display:none; }

/* ---------- buttons ---------- */

.btn-primary{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  background: var(--accent);
  color: var(--bg);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 2px;
}
.btn-primary:hover{ background: var(--accent-hover); color: var(--bg); }

/* ---------- hero / intro (home) ---------- */

.hero{
  padding: 64px 0 0;
}

.hero-grid{
  display:flex;
  flex-wrap: wrap;
  gap: 56px;
  align-items: stretch;
}

.hero-copy{
  flex: 1 1 380px;
  min-width: 280px;
}

.hero-eyebrow{
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 20px;
}

.hero .lede{
  font-weight: 600;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.005em;
  margin: 0 0 24px;
}

.hero-copy > p{
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 520px;
  margin: 0 0 36px;
}

.hero-photo{
  flex: 1 1 320px;
  min-width: 260px;
  max-width: 440px;
  margin:0;
}
.hero-photo img{
  width:100%; height:100%;
  object-fit:cover;
  filter: grayscale(20%) contrast(1.06) brightness(0.96);
  border-radius: 2px;
}

@media (max-width: 760px){
  .hero-grid{ gap: 28px; }
  .hero-photo{ max-width: none; height: 320px; }
}

/* ---------- pillar cards ---------- */

.pillar-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 16px;
  margin-top: 44px;
  padding-bottom: 96px;
}

@media (max-width: 620px){
  .pillar-grid{ grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pillar-card{ padding: 16px; }
  .pillar-card .pillar-desc{ font-size: 12.5px; }
}

.pillar-card{
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 22px;
  display:flex;
  flex-direction:column;
  gap: 10px;
  color: var(--ink);
}
.pillar-card:hover{ border-color: var(--accent-soft); }

.pillar-card .pillar-title{
  font-size: 16px;
  color: var(--ink);
  font-weight: 600;
}
.pillar-card .pillar-desc{
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-faint);
}
.pillar-card .pillar-cta{
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-hover);
  margin-top: auto;
}

/* ---------- single-scroll page sections ---------- */

.page-section{
  border-top: 1px solid var(--line);
  padding: 96px 0;
}
.page-section > .wrap,
.page-section.wrap{
  max-width: var(--maxw);
  margin: 0 auto;
}

/* ---------- generic section header ---------- */

.section-eyebrow{
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 20px;
}

.page-head{
  padding: 0 0 8px;
  text-align: left;
}

.page-head h1,
.page-head h2{
  font-weight: 600;
  font-size: clamp(21px, 2.4vw, 26px);
  margin: 0 0 12px;
}

.page-head p{
  max-width: 640px;
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
}

.page-head p a{ border-bottom: 1px solid var(--accent-soft); }

/* ---------- songs section ---------- */

.songs-stat{
  font-size: 34px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
  margin: 12px 0 12px;
}
.songs-stat span{ color: var(--accent); }

.cover-grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(180px,1fr));
  align-items: start;
  gap: 20px;
  margin-top: 44px;
}

@media (max-width: 620px){
  .cover-grid{ grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

.cover-embed-frame{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  border:0 !important;
}

.cover-item a{
  position: relative;
  aspect-ratio: 1/1;
  display:block;
}
.cover-item img{
  width:100%; height:100%;
  object-fit:cover;
  border-radius: 4px;
}
.cover-badge{
  position:absolute; bottom:8px; left:8px; right:8px;
  background: rgba(14,13,12,0.75);
  color: var(--ink);
  font-size: 11px; font-weight:600;
  padding: 4px 8px;
  border-radius: 2px;
}
.cover-play-icon{
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:44px; height:44px; border-radius:50%;
  background: rgba(14,13,12,0.7);
  display:flex; align-items:center; justify-content:center;
  transition: background .2s ease, transform .2s ease;
}
.cover-play-icon svg{ margin-left:2px; }
.cover-play:hover .cover-play-icon{ background: var(--accent); transform: translate(-50%,-50%) scale(1.08); }
.cover-item .cover-label{
  display:block;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-top: 10px;
}
.cover-item .cover-title{
  font-size: 14px;
  font-weight: 600;
  margin: 4px 0 2px;
  color: var(--ink);
}
.cover-item .cover-sub{
  font-size: 12.5px;
  color: var(--ink-faint);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.songs-catalog-label{
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 600;
  margin: 48px 0 18px;
}

.songs-embed{
  max-width: 720px;
  margin: 0;
  padding: 0;
}

.songs-embed iframe{
  width:100%;
  height: 452px;
  border:0;
  border-radius: 8px;
}

/* ---------- media / commercials / film&theatre feed ---------- */

.media-feed{
  display:flex;
  flex-direction:column;
}

.media-post{
  display:flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
  padding: 44px 0;
  border-top: 1px solid var(--line-soft);
}
.media-post:first-child{ border-top:none; padding-top: 44px; }

.media-post-media{
  flex: 1 1 380px;
  max-width: 480px;
}
.media-post-media.detail-media{ max-width:480px; margin:0; padding:0; }

.media-post-body{
  flex: 2 1 380px;
  min-width: 280px;
}

.media-post-body h2,
.media-post-body h3{
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--ink);
}

.media-post-body .detail-meta{
  text-align:left;
  font-size: 14px;
  color: var(--ink-faint);
  margin: 0 0 12px;
}
.media-post-body .detail-meta a{ border-bottom: 1px solid var(--accent-soft); }

.media-post-body > p{
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 8px;
}

.media-post-body .press-quotes{
  max-width:none;
  margin: 14px 0 0;
  padding:0;
}

@media (max-width: 860px){
  .media-post-body{ order: 1; }
  .media-post-media{ order: 2; }
}

/* ---------- media detail (embeds) ---------- */

.detail-meta{
  color: var(--ink-faint);
  font-size: 14px;
}
.detail-meta a{ color: var(--accent-hover); }

.detail-media{ margin:0; padding:0; }

.detail-media .ratio{
  position:relative; width:100%; padding-top:56.25%;
  background: var(--bg-soft); border-radius: 2px; overflow:hidden;
}
.detail-media .ratio iframe{
  position:absolute; inset:0; width:100%; height:100%; border:0;
}
.detail-media img{ border-radius:2px; }

.embed-note{
  margin: 10px 0 0;
  font-size: 13px; color: var(--ink-dim);
}

.no-embed{
  background: var(--bg-soft);
  border-radius: 2px;
  padding: 24px;
  font-size: 13px;
  color: var(--ink-dim);
}

.watch-card{ display:block; position:relative; border-radius: 2px; overflow:hidden; }
.watch-card img{ width:100%; display:block; }
.watch-card-overlay{
  position:absolute; inset:0;
  display:flex; align-items:center; justify-content:center;
  background: rgba(14,13,12,0.4);
  color: var(--ink);
  font-size: 13px; letter-spacing:0.06em; text-transform:uppercase; font-weight:600;
}

.press-quotes{
  display:flex;
  flex-direction:column;
  gap: 10px;
}
.press-quotes blockquote{
  margin:0;
  font-style: italic;
  font-size: 14px;
  line-height:1.7;
  color: var(--ink-faint);
  border-left: 2px solid var(--accent-soft);
  padding-left: 16px;
}
.press-quotes cite{
  font-style: normal;
}
.press-quotes cite::before{ content: " — "; }

/* ---------- live section ---------- */

.live-grid{
  display:flex;
  flex-wrap: wrap;
  gap: 28px;
}

.live-item{
  flex: 1 1 260px;
  min-width: 240px;
}

.live-item h3{
  font-weight: 400;
  font-size: 14px;
  color: var(--ink-faint);
  margin: 10px 0 0;
}

.live-item .ratio{
  position:relative; width:100%; aspect-ratio: 16/10;
  background: var(--bg-soft); border-radius:2px; overflow:hidden;
}
.live-item .ratio video,
.live-item .ratio iframe{
  position:absolute; inset:0; width:100%; height:100%; border:0; object-fit:cover;
}
.live-item img{ border-radius:2px; aspect-ratio:16/10; object-fit:cover; width:100%; }

.live-watch{
  display:flex; align-items:center; justify-content:center;
  aspect-ratio: 16/10; width:100%;
  background: var(--bg-soft);
  border-radius: 2px;
  color: var(--ink);
  font-size: 13px; letter-spacing:0.06em; text-transform:uppercase; font-weight:600;
}

/* ---------- CV page ---------- */

.cv{
  padding-bottom: 40px;
}

.cv-head{
  padding: 64px 0 40px;
}
.cv-head h1{
  font-size: clamp(32px,5vw,52px);
  font-weight: 900;
  letter-spacing: -0.01em;
  margin: 16px 0 0;
}

.cv-section{
  padding: 40px 0 80px;
  border-top: 2px solid var(--line);
}
.cv-section:first-child{ border-top:none; padding-top: 0; }

.cv-section > .wrap > h2{
  font-weight: 900;
  font-size: clamp(24px,3vw,32px);
  margin: 0 0 24px;
}

.cv-entry{
  display:grid;
  grid-template-columns: 300px 1fr;
  gap: 6px 40px;
  padding: 20px 0;
  border-top: 1px solid var(--line-soft);
}
.cv-entry:first-of-type{ border-top: none; padding-top: 0; }

.cv-entry .org{ font-weight:700; color: var(--ink); }
.cv-entry .role{ color: var(--ink-faint); font-style: italic; font-size: 14px; margin-top: 4px; }
.cv-entry .desc{ margin: 0; font-size: 15px; line-height: 1.7; color: var(--ink-soft); }
.cv-entry .desc + .desc{ margin-top: 10px; }

@media (max-width: 760px){
  .cv-entry{ grid-template-columns: 1fr; gap: 6px; }
}

/* ---------- footer ---------- */

footer.site-footer{
  border-top: 1px solid var(--line);
  padding: 56px 0 72px;
  font-size: 15px;
  color: var(--ink-soft);
}
footer.site-footer .wrap{
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:20px; align-items:center;
}
footer.site-footer a{ color: var(--ink); }
footer.site-footer a:hover{ color: var(--accent-hover); }

.footer-contact a{ color: var(--ink); }
.footer-contact .sep{ color: var(--ink-dim); margin: 0 10px; }

.footer-social{
  display:flex; gap:20px; align-items:center; font-size:14px;
}
.footer-social a{ display:flex; color: var(--accent); }
.footer-social a:hover{ color: var(--accent-hover); }
.footer-social svg{ width:20px; height:20px; }

/* ---------- misc ---------- */

.eyebrow{
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
