/* ============================================================
   ariellekrebs.com — site stylesheet
   Design tokens taken from the original site theme:
   - Raleway (body + headings), Questrial (accents), self-hosted
   - text #2a2a2a on white, muted #555, accent #ffc824, gold #aa8924
   - section titles: bold, uppercase, letter-spacing .3em, centered
   ============================================================ */

:root {
  --text: #2a2a2a;
  --muted: #555555;
  --faint: #808080;
  --line: #e8e8e8;
  --accent: #ffc824;
  --gold: #aa8924;
  --bg: #ffffff;
  --font-body: 'Raleway', sans-serif;
  --font-alt: 'Questrial', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

a { color: var(--text); text-decoration: none; transition: color .2s ease, opacity .2s ease; }
a:hover { color: var(--gold); }

/* ---------- Header ---------- */

header.site-header {
  padding: 34px 20px 0;
  text-align: center;
  background: var(--bg);
}

.logo a {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--text);
}
.logo a:hover { color: var(--gold); }

.tagline {
  font-size: 12px;
  letter-spacing: .38em;
  color: var(--muted);
  margin-top: 8px;
  text-transform: uppercase;
}

nav.site-nav {
  margin-top: 26px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.nav-menu {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 38px;
  padding: 14px 10px;
}

.nav-menu > li { position: relative; }

.nav-menu a {
  font-size: 14px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text);
  padding: 6px 2px;
  display: inline-block;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--gold); }

/* dropdown */
.dropdown-menu {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg);
  border: 1px solid var(--line);
  min-width: 190px;
  padding: 8px 0;
  display: none;
  z-index: 60;
  box-shadow: 0 8px 22px rgba(0,0,0,.07);
}
.dropdown-menu li a {
  display: block;
  padding: 8px 22px;
  font-size: 12.5px;
  letter-spacing: .16em;
}
.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu { display: block; }

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
  position: absolute;
  right: 8px;
  top: -74px;
}
.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: transform .25s ease, opacity .25s ease;
}

/* ---------- Page scaffolding ---------- */

main { min-height: 55vh; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 22px;
}
.container.wide { max-width: 1240px; }

.section { padding: 64px 0 28px; }
.section.tight { padding-top: 40px; }

.section-title {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 30px;
  padding-left: .3em; /* optically recenter letterspaced text */
}

.page-hero {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  text-align: center;
}
.page-hero.short { min-height: 220px; }
.page-hero .overlay {
  position: absolute; inset: 0;
  background: rgba(255,255,255,.55);
}
.page-hero h1 {
  position: relative;
  font-size: 37px;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  padding: 0 20px 0 calc(20px + .3em);
  line-height: 1.8;
}
.page-hero.on-image h1 { color: #fff; text-shadow: 0 1px 14px rgba(0,0,0,.35); }
.page-hero.on-image .overlay { background: rgba(0,0,0,.18); }

.section-sub {
  text-align: center;
  font-size: 17px;
  color: var(--muted);
  max-width: 760px;
  margin: 0 auto 34px;
}

.lead {
  max-width: 820px;
  margin: 0 auto 26px;
  font-size: 17px;
}
.lead.center { text-align: center; }

.btn {
  display: inline-block;
  border: 1px solid var(--text);
  padding: 12px 34px;
  font-size: 13px;
  letter-spacing: .24em;
  text-transform: uppercase;
  margin-top: 10px;
  transition: background .2s ease, color .2s ease;
}
.btn:hover { background: var(--text); color: #fff; }
.btn.accent { border-color: var(--accent); background: var(--accent); color: var(--text); }
.btn.accent:hover { background: var(--text); border-color: var(--text); color: #fff; }
.btn-row { text-align: center; margin: 26px 0 8px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

.text-link {
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--text);
  padding-bottom: 3px;
}
.text-link:hover { color: var(--gold); border-color: var(--gold); }

/* ---------- Galleries ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.gallery-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  display: block;
  background: #f4f4f4;
}
.gallery-item.tall { aspect-ratio: 3 / 4; }
.gallery-item.natural { aspect-ratio: auto; }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.gallery-item.natural img { height: auto; }
.gallery-item:hover img { transform: scale(1.045); }

.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(20,20,20,0);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  opacity: 0;
  transition: opacity .3s ease, background .3s ease;
  padding: 18px;
  text-align: center;
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
  background: rgba(20,20,20,.45);
}
.gallery-overlay h3 {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  line-height: 1.6;
}
.gallery-overlay p {
  color: #f2f2f2;
  font-size: 12.5px;
  letter-spacing: .06em;
}

/* ---------- Video cards ---------- */

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px 26px;
}

.video-card .video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #111;
  cursor: pointer;
  overflow: hidden;
}
.video-card .video-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .92;
  transition: opacity .3s ease, transform .45s ease;
}
.video-card .video-frame:hover img { opacity: 1; transform: scale(1.03); }
.video-card .video-frame::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 62px; height: 62px;
  background:
    radial-gradient(circle, rgba(0,0,0,.55) 60%, transparent 61%) center/100% no-repeat;
  border-radius: 50%;
  pointer-events: none;
}
.video-card .video-frame::before {
  content: "";
  position: absolute;
  top: 50%; left: calc(50% + 3px);
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 11px 0 11px 19px;
  border-color: transparent transparent transparent #fff;
  z-index: 2;
  pointer-events: none;
}
.video-card .video-frame.playing::before,
.video-card .video-frame.playing::after { display: none; }
.video-card .video-frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.video-card h3 {
  margin-top: 14px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.video-card .credits {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 6px;
  white-space: pre-line;
}

/* ---------- Albums / feature rows ---------- */

.feature-row {
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  gap: 44px;
  align-items: center;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}
.feature-row:last-of-type { border-bottom: none; }
.feature-row.flip { direction: rtl; }
.feature-row.flip > * { direction: ltr; }
.feature-row h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  line-height: 1.6;
}
.feature-row .year {
  font-family: var(--font-alt);
  color: var(--faint);
  letter-spacing: .18em;
  margin: 4px 0 14px;
}
.feature-row p { margin-bottom: 12px; }
.feature-row ul.tracklist {
  list-style: none;
  margin: 14px 0;
  columns: 2;
  gap: 30px;
  font-size: 14.5px;
  color: var(--muted);
}
.feature-row ul.tracklist li { padding: 3px 0; break-inside: avoid; }

/* ---------- Shop ---------- */

.shop-categories {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 0;
  font-size: 14px;
  letter-spacing: .24em;
  text-transform: uppercase;
  margin: 8px 0 30px;
}
.shop-categories a { padding: 0 18px; border-right: 1px solid var(--text); }
.shop-categories a:last-child { border-right: none; }
.shop-categories a.current { color: var(--gold); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 38px 26px;
}
.product-card { text-align: center; display: block; }
.product-card .product-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f4f4f4;
  margin-bottom: 14px;
}
.product-card .product-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.product-card:hover .product-image img { transform: scale(1.045); }
.product-card .badge {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.product-card h3 {
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.55;
  margin-bottom: 8px;
}
.product-card .price { font-size: 14px; color: var(--muted); }
.product-card .price .vat { font-size: 11.5px; color: var(--faint); display: block; }

/* product detail page */
.product-detail {
  display: grid;
  grid-template-columns: minmax(280px, 520px) 1fr;
  gap: 48px;
  padding: 56px 0;
  align-items: start;
}
.product-detail h1 {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.5;
  margin-bottom: 12px;
  text-transform: none;
}
.product-detail .price {
  font-size: 22px;
  margin: 14px 0 2px;
}
.product-detail .vat { font-size: 12.5px; color: var(--faint); margin-bottom: 22px; }
.product-detail .description { color: var(--muted); margin-bottom: 26px; white-space: pre-line; }
.product-detail .note { font-size: 13px; color: var(--faint); margin-top: 14px; }

/* ---------- Contact ---------- */

.contact-block { text-align: center; }
.contact-block h3 {
  font-size: 20px;
  letter-spacing: .26em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 12px;
}
.contact-block a.email { font-size: 17px; border-bottom: 1px solid var(--line); }

.contact-form {
  max-width: 560px;
  margin: 30px auto 0;
  display: grid;
  gap: 16px;
  text-align: left;
}
.contact-form label {
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-form input, .contact-form textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--text);
  padding: 10px 2px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: transparent;
  outline: none;
  resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--gold); }
.contact-form .btn { justify-self: center; cursor: pointer; background: none; font-family: var(--font-body); }

.social-icons {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 22px;
}
.social-icons img {
  width: 32px; height: 32px;
  transition: transform .2s ease, opacity .2s ease;
}
.social-icons a:hover img { transform: translateY(-3px); opacity: .75; }

/* ---------- Embeds ---------- */

.embed-wrap { max-width: 700px; margin: 0 auto; }
.embed-wrap iframe { width: 100%; border: 0; }

/* ---------- Footer ---------- */

footer.site-footer {
  margin-top: 80px;
  border-top: 1px solid var(--line);
  padding: 44px 20px 36px;
  text-align: center;
}
footer .follow {
  font-size: 14px;
  letter-spacing: .3em;
  text-transform: uppercase;
  font-weight: 600;
  padding-left: .3em;
}
footer .social-icons { margin-top: 18px; }
footer .social-icons img { width: 26px; height: 26px; }
footer .copyright {
  margin-top: 26px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .08em;
}

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed; inset: 0;
  background: rgba(12,12,12,.93);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  flex-direction: column;
  padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(92vw, 1200px);
  max-height: 78vh;
  object-fit: contain;
}
.lightbox .caption {
  color: #ddd;
  font-size: 14px;
  margin-top: 16px;
  text-align: center;
  max-width: 700px;
  white-space: pre-line;
}
.lightbox button {
  position: absolute;
  background: none;
  border: none;
  color: #fff;
  font-size: 34px;
  cursor: pointer;
  padding: 14px;
  font-family: var(--font-body);
  opacity: .8;
}
.lightbox button:hover { opacity: 1; }
.lightbox .lb-close { top: 12px; right: 18px; }
.lightbox .lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 8px; top: 50%; transform: translateY(-50%); }

/* ---------- Page-bottom cross links ---------- */

.cross-links {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 70px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.cross-links a {
  font-size: 13px;
  letter-spacing: .24em;
  text-transform: uppercase;
}

/* ---------- Misc ---------- */

.credit-note { font-size: 12.5px; color: var(--faint); text-align: center; margin-top: 10px; }

.splash-img { width: 130px; margin: 18px auto 0; }

.about-grid {
  display: grid;
  grid-template-columns: minmax(240px, 380px) 1fr;
  gap: 48px;
  align-items: start;
}

/* ---------- Responsive ---------- */

@media (max-width: 880px) {
  .feature-row, .product-detail, .about-grid { grid-template-columns: 1fr; gap: 26px; }
  .feature-row.flip { direction: ltr; }
  .gallery-grid.cols-4, .gallery-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .section-title, .page-hero h1 { font-size: 25px; }
}

@media (max-width: 700px) {
  .mobile-menu-toggle { display: block; }
  nav.site-nav { border-bottom: none; }
  .nav-menu {
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 6px 0 14px;
    border-bottom: 1px solid var(--line);
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 10px 6px; }
  .dropdown-menu {
    position: static;
    transform: none;
    border: none;
    box-shadow: none;
    display: none;
  }
  .dropdown.open .dropdown-menu { display: block; }
  .logo a { font-size: 24px; letter-spacing: .22em; }
  .tagline { font-size: 10px; letter-spacing: .28em; }
  .gallery-grid.cols-2 { grid-template-columns: 1fr; }
  .feature-row ul.tracklist { columns: 1; }
}
