@import url("https://fonts.googleapis.com/css2?family=Frank+Ruhl+Libre:wght@500;700;900&family=Noto+Sans+Hebrew:wght@400;500;700;800&display=swap");

:root {
  color-scheme: light;
  --paper: #fbf7ef;
  --paper-deep: #f1e8d8;
  --surface: rgba(255, 252, 246, 0.72);
  --surface-soft: rgba(255, 252, 246, 0.46);
  --ink: #17283a;
  --muted: #68716b;
  --line: rgba(42, 55, 61, 0.12);
  --line-strong: rgba(42, 55, 61, 0.18);
  --gold: #a8793b;
  --gold-soft: rgba(168, 121, 59, 0.2);
  --green: #7a9d78;
  --green-soft: rgba(122, 157, 120, 0.12);
  --sketch: rgba(82, 95, 88, 0.12);
  --pomegranate: rgba(129, 49, 57, 0.2);
  --shadow: 0 18px 50px rgba(68, 53, 34, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  min-height: 100vh;
  background:
    linear-gradient(90deg, transparent 0 17.8%, rgba(25, 73, 108, 0.1) 18% 18.08%, transparent 18.3% 100%),
    radial-gradient(ellipse at 14% 30%, transparent 0 23%, var(--sketch) 23.18% 23.35%, transparent 23.55%),
    radial-gradient(ellipse at 17% 30%, transparent 0 28%, rgba(168, 121, 59, 0.1) 28.15% 28.3%, transparent 28.5%),
    radial-gradient(circle at 84% 12%, rgba(122, 157, 120, 0.1), transparent 20rem),
    linear-gradient(180deg, #fffdf8 0%, var(--paper) 42%, #f7efe3 100%);
  color: var(--ink);
  font-family: "Noto Sans Hebrew", Arial, sans-serif;
}

body::before,
body::after {
  position: fixed;
  inset-inline: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
}

body::before {
  top: 0;
  height: 100%;
  background-image:
    linear-gradient(0deg, rgba(255, 255, 255, 0.32), transparent 22rem),
    repeating-linear-gradient(
      168deg,
      transparent 0 46px,
      rgba(122, 157, 120, 0.07) 47px 48px,
      transparent 49px 94px
    );
  opacity: 0.75;
}

body::after {
  top: 12vh;
  height: 50vh;
  background:
    radial-gradient(ellipse at 72% 44%, transparent 0 15%, rgba(168, 121, 59, 0.08) 15.14% 15.32%, transparent 15.5%),
    radial-gradient(ellipse at 75% 45%, transparent 0 20%, rgba(168, 121, 59, 0.06) 20.14% 20.28%, transparent 20.48%),
    radial-gradient(ellipse at 78% 46%, transparent 0 25%, rgba(168, 121, 59, 0.045) 25.12% 25.25%, transparent 25.45%);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 0.85rem clamp(1rem, 4vw, 4rem);
  background: rgba(255, 252, 246, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--gold-soft);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.46);
  color: var(--gold);
  font-family: "Frank Ruhl Libre", serif;
  font-size: 1.05rem;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--ink);
  font-family: "Frank Ruhl Libre", serif;
  font-size: 1.08rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.brand small {
  margin-top: 0.1rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.header-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.18rem;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
}

.header-actions a {
  padding: 0.48rem 0.66rem;
  border: 1px solid transparent;
  border-radius: 8px;
}

.header-actions a:hover,
.header-actions a:focus-visible {
  background: rgba(255, 255, 255, 0.5);
  border-color: var(--line);
}

main {
  width: 100%;
  max-width: 100%;
  padding: clamp(1.15rem, 4vw, 4rem);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(17rem, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(1.5rem, 5vw, 5.2rem);
  align-items: center;
  width: 100%;
  max-width: 1120px;
  min-height: calc(100vh - 8rem);
  margin: 0 auto;
  padding: clamp(0.5rem, 2vw, 2rem) 0 2rem;
}

.hero::before {
  position: absolute;
  inset-block-start: 12%;
  inset-inline-start: 3%;
  width: min(23rem, 44vw);
  height: min(17rem, 34vw);
  border-block: 1px solid rgba(168, 121, 59, 0.13);
  border-radius: 50%;
  content: "";
  opacity: 0.7;
}

.hero-art {
  position: relative;
  align-self: center;
  padding: clamp(0.4rem, 0.9vw, 0.72rem);
  background: rgba(255, 252, 246, 0.74);
  border: 1px solid rgba(168, 121, 59, 0.2);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-art::before {
  position: absolute;
  inset: clamp(0.85rem, 1.8vw, 1.25rem);
  border: 1px solid rgba(168, 121, 59, 0.38);
  border-radius: 5px;
  content: "";
  pointer-events: none;
}

.hero-art::after {
  position: absolute;
  inset-inline-end: 1.15rem;
  inset-block-end: -0.55rem;
  width: 7rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(122, 157, 120, 0.35), transparent);
  content: "";
}

.hero-art img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(23, 40, 58, 0.12);
  border-radius: 6px;
}

.hero-content {
  max-width: 43rem;
}

.eyebrow {
  margin: 0 0 0.72rem;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Frank Ruhl Libre", serif;
}

h1 {
  margin-bottom: 1rem;
  color: var(--ink);
  font-size: clamp(2.7rem, 6.4vw, 5.25rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h2 {
  margin-bottom: 0.5rem;
  color: var(--ink);
  font-size: clamp(1.85rem, 3.7vw, 2.9rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.42rem;
  color: var(--ink);
  font-size: 1.32rem;
  line-height: 1.34;
}

.hero-content p:not(.eyebrow),
.section-heading p,
.spotify-show-copy p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.9;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.55rem;
}

.button {
  display: inline-flex;
  min-height: 2.55rem;
  align-items: center;
  justify-content: center;
  padding: 0.66rem 0.94rem;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.26);
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 800;
}

.button.primary {
  border-color: rgba(168, 121, 59, 0.34);
  background: rgba(168, 121, 59, 0.1);
}

.button.secondary {
  border-color: rgba(23, 40, 58, 0.18);
  background: rgba(255, 255, 255, 0.28);
}

.button.ghost {
  border-color: rgba(122, 157, 120, 0.24);
  background: rgba(122, 157, 120, 0.055);
}

.button:hover,
.button:focus-visible,
.inline-link:hover,
.inline-link:focus-visible,
.quick-links a:hover,
.quick-links a:focus-visible {
  transform: translateY(-1px);
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.72rem;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 0 clamp(2.3rem, 5vw, 4.3rem);
}

.quick-links a {
  display: grid;
  min-height: 6.4rem;
  align-content: space-between;
  padding: 0.95rem;
  background: rgba(255, 252, 246, 0.42);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.quick-links a:nth-child(4) {
  border-color: rgba(129, 49, 57, 0.15);
}

.quick-links span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.quick-links strong {
  color: var(--ink);
  font-family: "Frank Ruhl Libre", serif;
  font-size: 1.24rem;
}

.section,
.contact-band {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.section {
  padding: clamp(2.8rem, 6vw, 5.2rem) 0;
}

.section-heading {
  position: relative;
  max-width: 46rem;
  margin-bottom: 1.25rem;
}

.section-heading::after {
  display: block;
  width: 4rem;
  height: 1px;
  margin-top: 0.95rem;
  background: linear-gradient(90deg, transparent, rgba(168, 121, 59, 0.55), transparent);
  content: "";
}

#books .section-heading::before {
  position: absolute;
  inset-block-start: 0.2rem;
  inset-inline-start: -1.55rem;
  width: 0.85rem;
  height: 1.05rem;
  border: 1px solid var(--pomegranate);
  border-radius: 48% 48% 54% 54%;
  content: "";
}

.section-heading p {
  margin-bottom: 0;
}

.embed-panel {
  position: relative;
  overflow: hidden;
  min-height: 21rem;
  background: rgba(255, 252, 246, 0.42);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(68, 53, 34, 0.055);
}

.embed-panel {
  aspect-ratio: 16 / 9;
}

.embed-panel iframe {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
}

.embed-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 0.55rem;
  padding: 1.5rem;
  text-align: center;
}

.embed-fallback strong {
  color: var(--ink);
  font-family: "Frank Ruhl Libre", serif;
  font-size: 1.3rem;
}

.embed-fallback span {
  color: var(--muted);
  line-height: 1.7;
}

.embed-panel.has-embed .embed-fallback {
  display: none;
}

.inline-link {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--gold);
  font-weight: 800;
}

.spotify-shows {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.spotify-show,
.drive-card,
.book-card {
  background: var(--surface-soft);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(68, 53, 34, 0.05);
}

.spotify-show {
  overflow: hidden;
}

.spotify-show-player {
  position: relative;
  display: grid;
  min-height: 9.5rem;
  place-items: center;
  background: rgba(255, 255, 255, 0.24);
  border-bottom: 1px solid var(--line);
}

.spotify-show-player iframe {
  width: 100%;
  height: 9.5rem;
  border: 0;
}

.spotify-show-placeholder {
  padding: 1rem;
  color: var(--muted);
  font-weight: 700;
  text-align: center;
}

.spotify-show-copy {
  padding: clamp(1.05rem, 2.7vw, 1.5rem);
}

.spotify-show-copy span {
  display: inline-flex;
  margin-bottom: 0.65rem;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
}

.spotify-show-copy .button {
  margin-top: 0.3rem;
}

.button.disabled {
  cursor: default;
  opacity: 0.58;
}

.drive-card {
  display: flex;
  min-height: 13rem;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.15rem, 2.8vw, 1.8rem);
}

.spotify-show-copy p,
.drive-card p,
.book-card p {
  color: var(--muted);
  line-height: 1.75;
}

.drive-card p {
  max-width: 42rem;
}

.drive-card .button {
  align-self: flex-start;
  margin-top: 0.4rem;
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.book-card {
  position: relative;
  display: flex;
  min-height: 14.2rem;
  flex-direction: column;
  padding: clamp(1.15rem, 2.8vw, 1.8rem);
}

.book-card::after {
  position: absolute;
  inset-inline-start: 1.1rem;
  inset-block-start: 1.1rem;
  width: 0.88rem;
  height: 1.05rem;
  border: 1px solid rgba(129, 49, 57, 0.17);
  border-radius: 46% 46% 56% 56%;
  content: "";
}

.book-card span {
  margin-bottom: 0.68rem;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
}

.book-card .button {
  align-self: flex-start;
  margin-top: auto;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(12rem, 0.52fr) minmax(0, 1.48fr);
  gap: 1rem;
  align-items: center;
  margin-bottom: clamp(2rem, 5vw, 4rem);
  padding: clamp(1.9rem, 4vw, 2.8rem) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-band h2 {
  margin-bottom: 0;
}

.contact-band a {
  color: var(--ink);
  font-size: clamp(1.05rem, 2.8vw, 1.6rem);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.9rem clamp(1rem, 4vw, 4rem);
  background: rgba(255, 252, 246, 0.52);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer span {
  color: var(--ink);
  font-weight: 800;
}

@media (max-width: 880px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }

  .header-actions {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.12rem;
    scrollbar-width: none;
  }

  .header-actions::-webkit-scrollbar {
    display: none;
  }

  .hero,
  .spotify-shows,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    order: -1;
  }

  .hero-art {
    max-width: 23rem;
    margin: 0 auto;
  }

  .hero-art img {
    aspect-ratio: 4 / 3;
    object-position: center 68%;
  }

  .quick-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .book-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  body {
    background:
      linear-gradient(90deg, transparent 0 7%, rgba(25, 73, 108, 0.1) 7.35% 7.55%, transparent 7.9% 100%),
      radial-gradient(ellipse at 16% 20%, transparent 0 25%, rgba(168, 121, 59, 0.11) 25.15% 25.35%, transparent 25.6%),
      linear-gradient(180deg, #fffdf8 0%, var(--paper) 46%, #f7efe3 100%);
  }

  .site-header {
    position: sticky;
    padding: 0.78rem 0.9rem;
  }

  .brand {
    width: 100%;
  }

  .brand-mark {
    width: 2.1rem;
    height: 2.1rem;
    font-size: 0.96rem;
  }

  .brand strong {
    font-size: 1rem;
  }

  .header-actions {
    flex-wrap: nowrap;
    gap: 0.16rem;
    margin-inline: -0.15rem;
  }

  .header-actions a {
    flex: 0 0 auto;
    padding: 0.44rem 0.58rem;
    font-size: 0.9rem;
  }

  main {
    padding: 0.95rem 0.9rem 1.5rem;
  }

  .hero {
    gap: 1.15rem;
    padding: 1.1rem 0 1.55rem;
  }

  .eyebrow {
    margin-bottom: 0.55rem;
    font-size: 0.7rem;
  }

  h1 {
    margin-bottom: 0.75rem;
    font-size: 2.04rem;
    line-height: 1.08;
  }

  h2 {
    font-size: 1.82rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  .hero-content p:not(.eyebrow),
  .section-heading p,
  .spotify-show-copy p {
    font-size: 0.98rem;
    line-height: 1.72;
  }

  .cta-row,
  .button {
    width: 100%;
  }

  .cta-row {
    gap: 0.48rem;
    margin-top: 1.05rem;
  }

  .button {
    min-height: 2.42rem;
    padding: 0.62rem 0.86rem;
    font-size: 0.92rem;
  }

  .brand small {
    display: none;
  }

  .hero-art {
    max-width: 100%;
    padding: 0.38rem;
    box-shadow: 0 12px 32px rgba(68, 53, 34, 0.075);
  }

  .hero-art::before {
    inset: 0.78rem;
  }

  .hero-art img {
    aspect-ratio: 16 / 11;
    object-position: center 70%;
  }

  .quick-links {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding-bottom: 1.8rem;
  }

  .quick-links a {
    min-height: auto;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 0.82rem 0.9rem;
  }

  .quick-links span {
    font-size: 0.86rem;
  }

  .quick-links strong {
    font-size: 1.06rem;
  }

  .section {
    padding: 2.45rem 0;
  }

  .section-heading {
    margin-bottom: 1rem;
  }

  .embed-panel {
    min-height: auto;
    aspect-ratio: 16 / 10;
  }

  .spotify-shows,
  .book-grid {
    gap: 0.72rem;
  }

  .spotify-show-player,
  .spotify-show-player iframe {
    min-height: 8.9rem;
    height: 8.9rem;
  }

  .spotify-show-copy,
  .drive-card,
  .book-card {
    padding: 1rem;
  }

  .drive-card,
  .book-card {
    min-height: auto;
  }

  .book-card::after,
  #books .section-heading::before {
    display: none;
  }

  .contact-band {
    gap: 0.75rem;
    padding: 1.6rem 0;
  }

  .contact-band a {
    font-size: 1.05rem;
  }

  .site-footer {
    justify-content: flex-start;
    padding: 1.35rem 0.9rem;
    font-size: 0.92rem;
  }
}
