/* Dalgren Records — dalgrenrecords.com */

:root {
  --bg: #0B0B0F;
  --bg-alt: #0E0E13;
  --card: #14141A;
  --line: #26262F;
  --line-soft: #1E1E26;
  --text: #F2F2F5;
  --muted: #A7A7B4;
  --dim: #9A9AA8;
  --accent: #FF4D7E;
  --display: 'Chakra Petch', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: var(--text); text-decoration: none; }
a:hover { color: #fff; }
a:focus-visible,
button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

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

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.12; margin: 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }

.eyebrow {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--dim);
}

.btn {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 30px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: #0B0B0F; }
.btn-primary:hover { background: #ff6b92; color: #0B0B0F; }
.btn-ghost { border-color: #3A3A47; color: var(--text); }
.btn-ghost:hover { border-color: #5A5A6B; }

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

.site-header {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 24px;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  padding-bottom: 24px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { width: 44px; height: 44px; }
.brand span {
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.site-nav a { color: var(--dim); }
.site-nav a:hover { color: var(--text); }
.lang {
  display: inline-flex;
  gap: 8px;
  padding-left: 20px;
  border-left: 1px solid var(--line);
  letter-spacing: 0.08em;
}
.lang [aria-current="true"] { color: var(--text); font-weight: 600; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.6;
  pointer-events: none;
}
.hero .wrap { position: relative; padding-top: 110px; padding-bottom: 118px; }
.hero .eyebrow { color: var(--accent); letter-spacing: 0.28em; font-size: 13px; }
.hero h1 { max-width: 15ch; font-size: clamp(38px, 6vw, 64px); letter-spacing: -0.01em; }
.hero p { max-width: 560px; margin: 26px 0 0; font-size: 18px; color: #C4C4D0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

/* ---------- sections ---------- */

section .wrap { padding-top: 92px; padding-bottom: 92px; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line-soft); }
.section-line { border-top: 1px solid var(--line-soft); }
.section-title { margin-bottom: 40px; font-size: clamp(28px, 3.4vw, 38px); }
.section-intro { max-width: 620px; margin: -24px 0 40px; font-size: 17px; color: var(--muted); }

/* ---------- release ---------- */

.release { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.release-cover {
  flex: 1 1 320px;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  background: var(--card);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: var(--dim);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.release-cover:has(img) { padding: 0; border-color: #2E2E3A; }
.release-cover img { width: 100%; height: 100%; object-fit: cover; }
.release-body { flex: 999 1 420px; min-width: 0; }
.release-artist {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.release-body h3 { margin-bottom: 18px; font-size: clamp(30px, 4vw, 40px); }
.release-body > p { margin: 0 0 26px; font-size: 17px; color: #C4C4D0; }
.facts { margin: 0 0 30px; display: flex; flex-wrap: wrap; gap: 22px 48px; font-size: 14px; }
.facts dt { color: var(--dim); margin-bottom: 6px; }
.facts dd { margin: 0; font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

.next-up {
  margin-top: 52px;
  padding: 26px 30px;
  border: 1px solid var(--line);
  background: var(--card);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  align-items: center;
  justify-content: space-between;
}
.next-up p { margin: 0; }
.next-up .title { font-family: var(--display); font-size: 21px; font-weight: 600; }
.next-up .meta { font-size: 14px; color: var(--dim); }

/* ---------- card grids ---------- */

.grid { margin: 0; padding: 0; list-style: none; display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 30px;
  display: flex;
  flex-direction: column;
}
.card h3 { font-size: 21px; font-weight: 600; margin-bottom: 10px; }
.card p { margin: 0 0 16px; font-size: 15px; color: var(--muted); }
.card p:last-of-type { margin-bottom: 0; }
.card-open { background: none; border-style: dashed; border-color: #2E2E3A; justify-content: center; }
.card-open a { color: var(--accent); font-weight: 600; font-size: 15px; }

.monogram {
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #33333F;
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  color: var(--accent);
}

.tool h3 { font-size: 23px; margin-bottom: 12px; }
.tool .price {
  margin: auto 0 18px;
  padding-top: 20px;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 700;
}
.tool .price s { font-family: var(--body); font-size: 14px; font-weight: 500; color: var(--dim); }
.tool .price small {
  display: block;
  margin-top: 6px;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
}
.tool .btn { min-height: 48px; padding: 0 26px; align-self: flex-start; }
.tool .follow { margin: 16px 0 0; font-size: 14px; color: var(--dim); }
.tool .follow a { color: var(--dim); text-decoration: underline; text-underline-offset: 3px; }
.tool .follow a:hover { color: var(--text); }

/* ---------- contact ---------- */

.contact { display: flex; flex-wrap: wrap; gap: 48px; }
.contact-main { flex: 999 1 420px; min-width: 0; }
.contact-main p { max-width: 520px; font-size: 17px; color: var(--muted); }
.contact-mail { font-size: clamp(19px, 2.6vw, 24px); font-weight: 600; margin: 26px 0 8px; }
.contact-mail a { color: var(--accent); word-break: break-word; }
.contact-side { flex: 1 1 260px; min-width: 0; }
.links { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.links a { display: inline-block; padding: 4px 0; }

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

.site-footer { border-top: 1px solid var(--line-soft); }
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  padding-bottom: 32px;
  font-size: 13px;
  color: #8A8A98;
}

/* ---------- small screens ---------- */

@media (max-width: 720px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  section .wrap { padding-top: 64px; padding-bottom: 64px; }
  .hero .wrap { padding-top: 72px; padding-bottom: 76px; }
  .hero-art { opacity: 0.4; }
  .release { gap: 32px; }
  .release-cover { max-width: none; }
  .btn { width: 100%; justify-content: center; }
  .tool .btn { width: 100%; }
  .site-nav { gap: 12px 20px; }
  .lang { padding-left: 0; border-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
