/* Static-site replacements for Squarespace runtime behaviour */
header, footer, section > .content-wrapper { animation: none !important; }

/* Contact form */
.static-form .form-item { position: relative; margin-bottom: 24px; }
.static-form .form-item .title { display: block; padding-bottom: 4px; }
.static-form .form-item .description { opacity: .6; font-size: .8em; }
.static-form input, .static-form textarea { width: 100%; box-sizing: border-box; background: transparent; border: 0; border-bottom: 1px solid currentColor; border-radius: 0; padding: 5px 0; font: inherit; color: inherit; outline: none; }
.static-form textarea { min-height: 100px; resize: vertical; }
.static-form .form-input-effects { display: none; }
.static-form .form-button-wrapper { display: flex; justify-content: flex-end; }
.static-form button { cursor: pointer; }
.static-form button[disabled] { opacity: .5; }
.static-form .form-status { margin-top: 12px; text-align: right; }

/* Text highlight (Squarespace draws this with a JS-positioned SVG) */
.sqsrte-text-highlight { background: linear-gradient(var(--hl-color, #FFF694), var(--hl-color, #FFF694)) 0 60% / 100% 0.95em no-repeat; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* Name field (first / last) */
.static-form .name-fields { display: flex; gap: 20px; }
.static-form .form-button-wrapper { justify-content: flex-start; }

/* Gallery captions: title bold, subtitle normal */
.gallery-caption-content b { font-weight: 700; }
.gallery-grid-item .gallery-grid-item-wrapper { opacity: 1 !important; }
.gallery-grid-item .gallery-grid-item-caption { opacity: 1 !important; visibility: visible !important; }

/* Album caption (Figma "Example fig", node 1:242): artist / title / label, year / note */
.gallery-caption-grid-simple { padding: 15px 0; }
.gallery-caption p.gallery-caption-content.cap4 { font-family: "Space Grotesk", sans-serif; color: #000; letter-spacing: 0.42px; line-height: 18.2px; margin: 0; }
.cap4 > span { display: block; overflow-wrap: break-word; }
.cap4 .cap-artist { font-size: 14px; font-weight: 700; }
.cap4 .cap-title  { font-size: 14px; font-weight: 500; }
.cap4 .cap-meta, .cap4 .cap-note { font-size: 13px; font-weight: 400; }

/* Sound Works: category filter */
.sw-filter { display: flex; flex-wrap: wrap; gap: 6px 22px; max-width: var(--maxPageWidth, 1500px); margin: 0 auto 28px; padding: 0 var(--pagePadding, 4vw); font-family: "Space Grotesk", sans-serif; }
.sw-filter button { background: none; border: 0; padding: 4px 0; font: inherit; font-size: 14px; letter-spacing: 0.42px; color: #000; cursor: pointer; opacity: .55; border-bottom: 1px solid transparent; }
.sw-filter button:hover { opacity: 1; }
.sw-filter button[aria-pressed="true"] { opacity: 1; border-bottom-color: currentColor; }

/* Sound Works: inner pages (Video like /vered, Audio + images like /foo-foo) */
.sw-page { display: grid; grid-template-columns: 45.4% 49.6%; column-gap: 5%; row-gap: 0; align-items: start; padding-bottom: 8vw; }
.sw-head { grid-column: 1 / -1; margin-bottom: 26px; }
.sw-head h4 { margin: 0 0 6px; }
.sw-head .sw-meta { margin: 0; font-size: 14px; line-height: 1.3; }
.sw-media { grid-column: 2; grid-row: 2 / span 2; }
.sw-text { grid-column: 1; grid-row: 2; }
.sw-text p { margin: 0 0 1em; }
.sw-players { display: flex; flex-direction: column; gap: 18px; margin-bottom: 32px; }
.sw-players iframe { display: block; }
.sw-video { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.sw-video iframe, .sw-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sw-img { display: block; width: 100%; height: auto; margin-bottom: 20px; }
.sw-links a { margin-right: 22px; white-space: nowrap; }
.sw-back { margin-top: 2em !important; font-size: 13px; opacity: .7; }
@media (max-width: 767px) {
  .sw-page { grid-template-columns: 1fr; }
  .sw-head, .sw-media, .sw-text { grid-column: 1; grid-row: auto; }
  .sw-media { margin-bottom: 28px; }
}
.sw-page { max-width: var(--sqs-site-max-width, 1500px); margin: 0 auto; padding-left: var(--sqs-site-gutter, 4vw); padding-right: var(--sqs-site-gutter, 4vw); box-sizing: border-box; }
@media (max-width: 767px) { .sw-page { padding-left: var(--sqs-mobile-site-gutter, 6vw); padding-right: var(--sqs-mobile-site-gutter, 6vw); } }

/* About page (layout like mystic-brew.com/about: heading, text, small photo floated right) */
.about-page { display: block; }
.about-body { max-width: 1100px; }
.about-body::after { content: ""; display: table; clear: both; }
.about-photo { float: right; width: 340px; max-width: 40%; height: auto; margin: 4px 0 24px 48px; }
.about-body p { margin: 0 0 1em; }
@media (max-width: 767px) {
  .about-photo { float: none; display: block; width: 100%; max-width: 420px; margin: 0 0 24px; }
}

/* Test layout (kings-of-cold-copy): one column like mystic-brew.com sound-design pages —
   title, full-width media, text underneath */
.sw-page.sw-layout-stack { display: block; }
.sw-layout-stack .sw-head { margin-bottom: 20px; }
.sw-layout-stack .sw-media { width: 100%; margin-bottom: 20px; }
.sw-layout-stack .sw-text { max-width: none; }

/* Video facade (no YouTube until the visitor clicks play) */
.sw-facade { cursor: pointer; overflow: hidden; }
.sw-facade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.sw-play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border: 0; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; display: flex; align-items: center; justify-content: center; padding: 0 0 0 4px; cursor: pointer; transition: background .2s, transform .2s; }
.sw-facade:hover .sw-play, .sw-play:focus-visible { background: rgba(0,0,0,.85); transform: scale(1.06); }
.sw-play:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 767px) { .sw-play { width: 56px; height: 56px; margin: -28px 0 0 -28px; } }

/* Local audio player (test: foo-foo-copy) — image + play button + waveform, track list below */
.ap { margin-bottom: 20px; }
.ap-stage { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #000; cursor: pointer; }
.ap-stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ap-stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(transparent, rgba(0,0,0,.55)); pointer-events: none; }
.ap-toggle .ap-i-pause { display: none; }
.ap.is-playing .ap-toggle .ap-i-play { display: none; }
.ap.is-playing .ap-toggle .ap-i-pause { display: block; }
.ap.is-playing .ap-toggle { padding-left: 0; }
.ap-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 0 20px 18px; color: #fff; }
.ap-now { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; letter-spacing: 0.42px; margin-bottom: 8px; text-shadow: 0 1px 2px rgba(0,0,0,.4); }
.ap-wave { display: block; width: 100%; height: 56px; cursor: pointer; }
.ap-list { list-style: none; margin: 0; padding: 0; }
.ap-list li { border-bottom: 1px solid rgba(0,0,0,.15); }
.ap-list button { display: flex; align-items: baseline; gap: 14px; width: 100%; padding: 12px 0; background: none; border: 0; font: inherit; font-size: 14px; letter-spacing: 0.42px; color: inherit; text-align: left; cursor: pointer; opacity: .65; }
.ap-list button:hover, .ap-list button.is-active { opacity: 1; }
.ap-list button.is-active .ap-t { font-weight: 500; }
.ap-n { min-width: 1.5em; }
.ap-t { flex: 1; }
@media (max-width: 767px) { .ap-bar { padding: 0 12px 10px; } .ap-wave { height: 36px; } .ap-now { font-size: 12px; } }
.ap-toggle { z-index: 2; }

/* Audio player v2: play button sits to the left of the waveform (bottom bar) */
.ap-bar { display: flex; align-items: flex-end; gap: 16px; }
.ap-track { flex: 1; min-width: 0; }
.ap-bar .ap-toggle { position: static; flex: none; width: 56px; height: 56px; margin: 0; }
@media (max-width: 767px) { .ap-bar { gap: 10px; } .ap-bar .ap-toggle { width: 40px; height: 40px; } .ap-bar .ap-toggle svg { width: 20px; height: 20px; } }
/* Audio player: white outline ring around the play/pause button */
.ap-bar .ap-toggle { border: 2px solid #fff; box-sizing: border-box; }

/* Figma "Foo Foo (copy)" node 7:2 — stacked layout text + thinner ring */
.ap-bar .ap-toggle { border-width: 1px; }
.sw-layout-stack .sw-text { padding-top: 20px; padding-bottom: 13px; }
.sw-layout-stack .sw-text p { font-family: "Space Grotesk", sans-serif; font-size: 16px; line-height: 24px; letter-spacing: 0.5837px; margin: 0; }
.sw-layout-stack .sw-text p.sw-back { margin-top: 26px !important; font-size: 13px; line-height: 16.9px; opacity: .7; }
.sw-layout-stack .ap { margin-bottom: 0; }
.sw-layout-stack .sw-media { margin-bottom: 0; }

/* 2026-11-15 — Harel's notes */
/* Master: intro text in the same size as the Sound Works inner-page text */
.master-intro { font-family: "Space Grotesk", sans-serif; font-size: 16px !important; line-height: 24px; letter-spacing: 0.5837px; font-weight: 400; font-style: normal; max-width: 760px; }
/* Sound Works inner pages: description above the media */
.sw-layout-stack .sw-text.sw-intro { padding-top: 0; padding-bottom: 20px; }
.sw-layout-stack .sw-intro p + p { margin-top: 1em; }
/* About: photo left of the text; light background reaches the bottom of the window */
@media (min-width: 768px) {
  .about-body { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 640px); column-gap: 48px; align-items: start; }
  .about-body .about-photo { float: none; grid-column: 1; grid-row: 1 / span 20; width: 100%; max-width: none; margin: 4px 0 24px; }
  .about-body p { grid-column: 2; }
}
.about-body p { margin: 0 0 1em; }
@media (max-width: 767px) { .about-photo { float: none; margin: 0 0 24px; } }
body:has(.about-page) { background-color: rgb(250, 250, 250); }
/* Contact: form starts right under the heading (was pushed to the bottom of its grid area) */
@media (min-width: 768px) {
  .fe-block-6366928eda1bb4653805 { grid-area: 5/2/22/12 !important; }
  .fe-block-6366928eda1bb4653805 .sqs-block { justify-content: flex-start !important; }
  .fe-block-6366928eda1bb4653805 .sqs-block-alignment-wrapper { align-items: flex-start !important; }
}
@media (max-width: 767px) { .fe-block-6366928eda1bb4653805 { grid-area: 5/2/23/10 !important; } }
.about-body a { text-decoration: underline; text-underline-offset: 2px; }

/* Master: top spacing like the Sound Works pages (heading at the same height as the inner pages) */
section[data-section-id="69662dc741cbbc48f19507b8"] { min-height: 0 !important; }
section[data-section-id="69662dc741cbbc48f19507b8"] .content-wrapper { padding-top: 48px !important; padding-bottom: 0 !important; }
section[data-section-id="69662dc741cbbc48f19507b8"] .fe-69662dc741cbbc48f19507b7 { grid-template-rows: auto !important; }
section[data-section-id="69662dc741cbbc48f19507b8"] .fe-block-00c5ca0a2c1db92ed26f { grid-area: 1/2/2/-2 !important; }
section[data-section-id="69662dc741cbbc48f19507b8"] .master-intro { margin-bottom: 0; }
@media (max-width: 767px) { section[data-section-id="69662dc741cbbc48f19507b8"] .content-wrapper { padding-top: 30px !important; padding-bottom: 24px !important; } }
/* About: photo credit (same size as the label line on Master) */
figure.about-photo { padding: 0; }
figure.about-photo img { display: block; width: 100%; height: auto; }
.about-credit { margin-top: 8px; font-family: "Space Grotesk", sans-serif; font-size: 13px; font-weight: 400; letter-spacing: 0.42px; line-height: 18.2px; }
/* Services page (same text size as About; bold service titles) */
.services-body { max-width: 640px; }
.services-body .svc { margin: 0 0 2em; }
.services-body .svc p { margin: 0 0 1em; }
.services-body .svc .svc-title { margin: 0 0 .35em; }
.services-body .svc .svc-title strong { font-weight: 700; }

/* Home (temporary, 2026-11-15): black square that slowly turns white and back, with name + services */
.home-section { min-height: 0 !important; }
.home-section .section-background { display: none; }
.home-hero { min-height: calc(100vh - var(--header-height, 98px)); min-height: calc(100svh - var(--header-height, 98px)); display: flex; align-items: center; justify-content: center; padding: 4vw; box-sizing: border-box; }
.home-square { width: min(62vw, 62vh, 520px); aspect-ratio: 1 / 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 24px; box-sizing: border-box; border: 1px solid #000; background: #000; color: #fff; animation: home-flip 14s ease-in-out infinite; }
.home-square p { margin: 0; font-family: "Space Grotesk", sans-serif; letter-spacing: 0.42px; }
.home-name { font-size: clamp(22px, 3.2vw, 34px); font-weight: 500; line-height: 1.2; }
.home-sub { font-size: clamp(13px, 1.4vw, 16px); font-weight: 400; line-height: 1.4; }
@keyframes home-flip { 0%, 35% { background: #000; color: #fff; } 50%, 85% { background: #fff; color: #000; } 100% { background: #000; color: #fff; } }
@media (prefers-reduced-motion: reduce) { .home-square { animation: none; } }
@media (max-width: 767px) { .home-square { width: min(80vw, 60vh); } }
.services-body a { text-decoration: underline; text-underline-offset: 2px; }
.services-body .svc-contact { margin-top: .5em; }

/* Logo: "Harel Schreiber - Sound" with a long dash as wide as "Sound" that waves gently now and then */
#site-title { white-space: nowrap; }
.logo-dash { position: relative; display: inline-block; margin: 0 0.12em; }
.logo-dash-sizer { visibility: hidden; }
.logo-dash svg { position: absolute; left: 0; width: 100%; bottom: 0.3em; height: 0.36em; overflow: visible; }
.logo-dash path { fill: none; stroke: currentColor; stroke-width: 0.07em; stroke-linecap: butt; vector-effect: non-scaling-stroke; }

/* Home: the alternating block spans the full width of the screen */
.home-hero { padding: 0; display: block; }
.home-square { width: 100vw; margin-left: calc(50% - 50vw); height: calc(100vh - var(--header-height, 98px)); height: calc(100svh - var(--header-height, 98px)); aspect-ratio: auto; border-left: 0; border-right: 0; }
@media (max-width: 767px) { .home-square { width: 100vw; } }

html, body { overflow-x: clip; }

/* 2026-11-15e: home dash, Sound Works heading, Contact heading */
.home-dash { margin: 90px 0 0; font-size: clamp(22px, 3.2vw, 34px); line-height: 1.2; }
.home-dash { margin-top: calc(90px - 0.72em); }
.sw-list-head { max-width: var(--maxPageWidth, 1500px); margin: 0 auto; padding: 48px var(--pagePadding, 4vw) 0; box-sizing: border-box; }
.sw-list-head h4 { margin: 0 0 26px; }
@media (max-width: 767px) { .sw-list-head { padding-top: 30px; } }
.fe-block-a4db9b5cfcbb3ddbaec5 { position: relative; top: -26px; }
.fe-block-6366928eda1bb4653805 { margin-top: -46px; }
@media (max-width: 767px) { .fe-block-a4db9b5cfcbb3ddbaec5 { top: -40px; } .fe-block-6366928eda1bb4653805 { margin-top: -53px; } }

/* 2026-11-16: menu 14px, home no white gap, inner text half width, Services 2 columns */
.header-nav-list .header-nav-item a { font-size: 14px !important; }
.home-section { padding-bottom: 0 !important; }
.home-square { height: calc(100dvh - var(--header-height, 98px)); }
html:has(.home-section) { overscroll-behavior: none; }
@media (min-width: 768px) { .sw-layout-stack .sw-text { max-width: 50%; } }
.services-body .svc { margin: 0; padding: 20px 0 30px; border-top: 1px solid #000; }
.services-body .svc .svc-title { font-family: "Space Grotesk", sans-serif; font-size: 24px; line-height: 1.25; letter-spacing: -0.02em; margin: 0 0 .7em; }
.services-body .svc .svc-title strong { font-weight: 600; }
.services-body .svc-contact { margin-top: 0; padding-top: 20px; border-top: 1px solid #000; }
@media (min-width: 768px) {
  .services-page .services-body { max-width: none; display: grid; grid-template-columns: 1fr 1fr; column-gap: 5%; }
  .services-body .svc-contact { grid-column: 1 / -1; }
}
@media (max-width: 767px) { .services-body .svc .svc-title { font-size: 21px; } }
@media (min-width: 768px) { .services-body .svc-contact { grid-column: auto; margin: 0; } }

/* 2026-11-21: Music page (tabs + artist sections, grids like Master) */
.music-page .music-tabs { padding: 0; margin: 0 0 40px; max-width: none; }
.music-panel[hidden] { display: none; }
.music-artist { margin: 0 0 72px; }
.music-head { margin: 0 0 26px; }
.music-head h4 { margin: 0; }
.music-intro { font-family: "Space Grotesk", sans-serif; font-size: 16px; line-height: 24px; letter-spacing: 0.5837px; max-width: 640px; margin: 10px 0 0; }
.music-sub { font-family: "Space Grotesk", sans-serif; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; margin: 56px 0 20px; }
.music-artist + .music-artist { border-top: 1px solid #000; padding-top: 32px; }
.music-grid .gallery-grid-wrapper { display: grid; grid-column-gap: 2.5vw; grid-row-gap: 2.5vw; }
.music-grid .gallery-grid-item-wrapper { aspect-ratio: 1 / 1; overflow: hidden; background: #e6e6e6; }
