/* Ofri Nehemya — rebuilt from the Wix site.
   Layout: light grey page, logo + divided nav header, full-bleed hero, pale-blue footer band. */
:root {
  --bg: #e6e6e4;          /* page + header ground */
  --ink: #4f4e4a;         /* body text, nav, dividers */
  --ink-soft: #6f6e68;    /* long-form text */
  --logo: #c6c4b0;        /* wordmark */
  --active: #a39d88;      /* current nav item */
  --footer: #8fb0d8;      /* footer band */
  --panel: rgba(255, 255, 255, 0.55);
  --line: rgba(79, 78, 74, 0.18);
  --on-dark: #ffffff;
  --display: "Play", "Trebuchet MS", sans-serif;
  --body: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }
img { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.wrap {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}

/* ---------- Header ---------- */
.site-header { background: var(--bg); }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 28px;
}
.logo {
  font-family: var(--display);
  font-size: 51px;
  line-height: 0.92;
  color: var(--logo);
  text-decoration: none;
  letter-spacing: 0.01em;
  flex-shrink: 0;
}
.logo span { display: block; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.nav li + li { border-left: 1px solid var(--ink); }
.nav a {
  display: block;
  padding: 0 clamp(12px, 2vw, 26px);
  line-height: 20px;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
  transition: color 0.15s;
}
.nav a:hover { color: var(--active); }
.nav a[aria-current="page"] { color: var(--active); }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--ink);
  color: var(--ink);
  font: inherit;
  padding: 6px 12px;
  cursor: pointer;
}

@media (max-width: 860px) {
  .site-header .wrap { flex-wrap: wrap; padding-block: 20px; }
  .logo { font-size: 36px; }
  .nav-toggle { display: block; }
  .nav { flex-basis: 100%; display: none; }
  .site-header.open .nav { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; border-top: 1px solid var(--line); }
  .nav li + li { border-left: 0; }
  .nav li { border-bottom: 1px solid var(--line); }
  .nav a { padding: 12px 0; font-size: 15px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: var(--on-dark); text-align: center; }
.site-footer .wrap { padding-block: 26px 30px; display: grid; gap: 12px; justify-items: center; }
.site-footer p { margin: 0; font-family: var(--display); font-size: 14px; }
.social { display: flex; gap: 8px; }
.social a { display: block; width: 28px; height: 28px; color: var(--on-dark); }
.social svg { width: 100%; height: 100%; display: block; }
.social a:hover { opacity: 0.8; }

/* ---------- Home ---------- */
.hero { position: relative; overflow: hidden; }
.hero-img {
  width: 100%;
  height: clamp(520px, 67vw, 820px);
  object-fit: cover;
  object-position: 100% 50%;
}
.player {
  position: absolute;
  top: 36px;
  left: 0;
  width: min(640px, 58%);
  background: var(--panel);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  padding: 20px 24px 12px max(24px, env(safe-area-inset-left, 0px));
}
.player.is-embed { padding: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.player iframe { display: block; width: 100%; height: 452px; border: 0; border-radius: 12px; }
.player-head { display: flex; gap: 18px; align-items: flex-start; }
.player-head img { width: 120px; height: 120px; object-fit: cover; flex-shrink: 0; }
.player-head > div { min-width: 0; }
.p-artist { margin: 0; font-family: var(--display); font-size: 16px; letter-spacing: 0.04em; }
.p-album { margin: 2px 0 0; font-family: var(--display); font-size: 22px; letter-spacing: 0.04em; }
.p-meta { margin: 2px 0 10px; font-size: 12px; color: var(--ink-soft); }
.p-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.btn {
  display: inline-block;
  background: var(--ink);
  color: var(--on-dark);
  text-decoration: none;
  padding: 7px 16px;
  font-size: 13px;
  border: 1px solid var(--ink);
  transition: background 0.15s, color 0.15s;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--on-dark); }
.tracks { list-style: none; margin: 16px 0 0; padding: 0; counter-reset: t; }
.tracks li {
  counter-increment: t;
  display: grid;
  grid-template-columns: 26px 1fr auto;
  gap: 8px;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.tracks li::before { content: counter(t); color: var(--ink-soft); }

@media (max-width: 760px) {
  .hero-img { height: 78vw; min-height: 300px; }
  .player { position: static; width: 100%; padding: 20px var(--gutter-r) 12px var(--gutter-l); background: #f1f1ef; }
  .player.is-embed { padding: 16px var(--gutter-r) 16px var(--gutter-l); background: #f1f1ef; }
  .player-head img { width: 96px; height: 96px; }
}

/* ---------- Press quotes (home): all five along the bottom of the photo ---------- */
@media (min-width: 1101px) {
  .hero { display: flex; flex-direction: column; }
  /* Size and place the photo so the head sits midway between the player (640px) and the right edge,
     as high as possible without cutting the hair or leaving a gap at the bottom. */
  .hero { --iw: max(100vw, 457px + 71.4vw); }
  .hero-img {
    position: absolute;
    left: 0;
    width: max(100%, var(--iw));
    max-width: none;
    height: auto;
    top: max(24px - 0.2017 * var(--iw), 100% - 0.7205 * var(--iw));
  }
  .player { position: relative; top: auto; margin-top: 36px; }
}
.hero-quotes {
  position: relative;
  padding: 64px max(32px, env(safe-area-inset-right, 0px)) 30px max(32px, env(safe-area-inset-left, 0px));
  background: linear-gradient(to top, rgba(22, 26, 34, 0.78) 0%, rgba(22, 26, 34, 0.5) 55%, rgba(22, 26, 34, 0) 100%);
  color: #fff;
}
.hero-quotes ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}
.hero-quotes li {
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  padding-left: 16px;
}
.hero-quotes blockquote { margin: 0; flex: 1; }
.hero-quotes .src span { display: block; margin-top: 2px; }
.hero-quotes blockquote p {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.4;
  text-wrap: pretty;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}
.hero-quotes .src {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}
.hero-quotes .src a { color: #fff; text-decoration-color: rgba(255, 255, 255, 0.5); text-underline-offset: 3px; }
@media (max-width: 1100px) {
  .hero-quotes {
    position: static;
    background: #343a45;
    padding: 28px var(--gutter-r) 30px var(--gutter-l);
  }
  .hero-quotes ul { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px 28px; }
  .hero-quotes blockquote p { text-shadow: none; }
}

/* ---------- Generic page bits ---------- */
.page { padding-block: 36px 72px; }
.page-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  text-align: center;
  margin: 0 0 28px;
  text-wrap: balance;
}
.page-title.big { font-size: 32px; color: #74736c; margin-bottom: 40px; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 40px; align-items: stretch; }
.about-text.about-more { max-width: 1000px; }
/* Photo matches the height of the text beside it, so the gap before "In 2016" equals the gap between paragraphs. */
.about img { width: 100%; height: 0; min-height: calc(100% - 18px); object-fit: cover; object-position: 50% 40%; }
.about-text { font-family: var(--display); color: var(--ink-soft); font-size: 15px; line-height: 1.55; max-width: 62ch; }
.about-text p { margin: 0 0 1.2em; }
.about-text .meta { color: var(--ink); }
.about-text a { color: var(--ink); text-underline-offset: 2px; }
@media (max-width: 700px) { .about { grid-template-columns: 1fr; } .about img { max-width: 420px; height: auto; min-height: 0; } }

/* ---------- Discography ---------- */
.disc-bar { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 36px; }
.disc-bar h1 { margin: 0; font-family: var(--display); font-size: 14px; font-weight: 700; }
.disc-tabs { font-size: 13px; color: var(--active); }
.disc-tabs a { color: var(--active); text-underline-offset: 2px; }
.disc-tabs a[aria-current="page"] { color: var(--ink); }
.cover-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 3vw, 28px); }
.cover-grid a { display: block; aspect-ratio: 1; max-width: 100%; overflow: hidden; background: #d9d9d6; }
.cover-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.cover-grid a:hover img { transform: scale(1.04); }
@media (max-width: 560px) { .cover-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Shows ---------- */
.shows { list-style: none; margin: 0 0 24px; padding: 0; }
.show {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.show-date { font-size: 12px; margin: 0; }
.show-title { margin: 0; font-family: var(--display); font-size: 20px; line-height: 1.3; }
.show-title small { font-family: var(--body); font-size: 12px; }
.shows-empty { text-align: center; color: var(--ink-soft); }
.more { display: block; margin: 0 auto 56px; font: inherit; cursor: pointer; }
@media (max-width: 560px) { .show { grid-template-columns: 1fr; } .show-title { font-size: 17px; } }

/* ---------- Videos ---------- */
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 56px; margin-bottom: 64px; }
.video-card h2 { margin: 0 0 12px; text-align: center; font-family: var(--display); font-weight: 400; font-size: 15px; line-height: 1.4; }
.video-card h2 span { display: block; font-size: 13px; color: var(--ink-soft); }
.video {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  max-width: 100%;
  background: #000;
  overflow: hidden;
}
.video img { width: 100%; height: 100%; object-fit: cover; opacity: 0.92; transition: opacity 0.2s; }
.video:hover img { opacity: 1; }
.video .play {
  position: absolute; inset: 0; margin: auto;
  width: 68px; height: 48px; border-radius: 12px;
  background: rgba(20, 20, 20, 0.78);
  transition: background 0.2s;
}
.video .play::after {
  content: ""; position: absolute; left: 27px; top: 14px;
  border-style: solid; border-width: 10px 0 10px 17px;
  border-color: transparent transparent transparent #fff;
}
.video:hover .play { background: #e02424; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 640px) { .video-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Shop ---------- */
.shop { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 32px; }
.shop-side h1 { font-family: var(--display); font-size: 18px; font-weight: 400; margin: 0 0 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.shop-side a { font-size: 13px; text-underline-offset: 2px; }
.shop-count { font-size: 12px; margin: 0 0 14px; }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 28px 20px; }
.product { text-decoration: none; display: grid; gap: 6px; align-content: start; }
.product img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; background: #fff; }
.product h2 { margin: 6px 0 0; font-size: 14px; font-weight: 400; line-height: 1.35; }
.product .price { font-size: 14px; }
.product:hover h2 { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 640px) { .shop { grid-template-columns: 1fr; gap: 12px; } .products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
