/* ============================================================
   long-play.net  —  main stylesheet
   Fonts: Redaction (title) + Perpetua / system serif fallback
   ============================================================ */

@font-face {
  font-family: 'Redaction10';
  src: url('../fonts/Redaction10-Italic.otf') format('opentype'),
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Redaction20';
  src: url('../fonts/Redaction20-Italic.otf') format('opentype');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Perpetua';
  src: url('../fonts/perpetua.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Perpetua';
  src: url('../fonts/perpetua-Italic.otf') format('opentype');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

/* ---------- reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

:root {
  --bg: #f7f5f1;
  --text: #1a1a1a;
  --muted: #666;
  --accent: #2a2a2a;
  --font-body: 'Perpetua', 'Times New Roman', Georgia, serif;
  --font-title: 'Redaction20', 'Redaction20', Georgia, serif;
  --font-ui: 'Redaction20', Georgia, serif;
  --pad: clamp(1rem, 3vw, 2.5rem);
  --max: 72rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  letter-spacing: 0.02em;
  min-height: 100vh;
}

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

a {
  color: #5e8edb;
  text-decoration: none;
  transition: opacity 0.25s var(--ease);
}

a:hover { opacity: 0.55; }



/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.2rem var(--pad) 2rem;
  pointer-events: none;
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  pointer-events: auto;
}

.logo-link {
  position: relative;
  z-index: 2;
  text-align: center;
}

.long-play-title {
  font-family: var(--font-title);
  font-size: clamp(1.45rem, 3vw, 1.95rem);
  font-style: italic;
  letter-spacing: 0.08em;
  line-height: 1;
  position: relative;
  display: inline-block;
  white-space: nowrap;
  color: var(--text);
  padding: 0 1em;          /* gives the edge letters room */
  overflow: visible;
}

.long-play-title .letter {
  display: inline-block;
  position: relative;
  will-change: transform, opacity;
  transition: transform 1.6s var(--ease), opacity 1.1s ease;
}

.title-final {
  visibility: hidden;
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  pointer-events: none;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.6rem;
  font-family: Perpetua;
  font-size: 1rem;
  letter-spacing: 0.06em;
}

.main-nav a[aria-current="page"] {
 text-decoration:underline;
 opacity: 0.45;
}
  

/* ---------- Home Slideshow (clean, no box) ---------- */
.home-content {
  position: relative;
  z-index: 5;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  gap: 2.5rem;
  margin: 0 auto;
  box-sizing: border-box;
}

.slideshow {
  position: relative;
  width: 100%;
  max-width: 640px;
 margin: 0 auto;
 aspect-ratio: 4 / 3;
  border-radius: 5px;
  overflow: hidden;
  background: transparent;          /* no white box */
  box-shadow: none;
}
.slideshow .slide:first-child {
  opacity: 1;
  z-index: 1;
}
.slideshow .slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slideshow .slide.is-active {
  opacity: 1;
  z-index: 1;
}

.slideshow .slide img {
  max-width: 600px;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 5px;
  /* subtle edge blur / soft vignette */
  mask-image: radial-gradient(
    ellipse 95% 95% at center,
    black 70%,
    transparent 100%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 95% 95% at center,
    black 70%,
    transparent 100%
  );
}


/* service slideshow is a bit more contained */
.service-slideshow {
  position: relative;
  height: 55vh;
  min-height: 320px;
  max-height: 640px;
  margin-bottom: 1.5rem;
}

.service-slideshow .slide {
  position: absolute;
  inset: 0;
}

/* ---------- home content ---------- */
.home-content {
  position: relative;
  z-index: 5;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  pointer-events: none;
}

.landing-text {
padding-top:2rem;
margin: 0 auto;
max-width:30rem;
text-align:center;
}
/* ---------- general pages ---------- */
.page {
  position: relative;
  z-index: 2;
  padding-top: 8rem;
  padding-bottom: 4rem;
  min-height: 100vh;
}
.page.home {
  width: 100%;
  max-width: 100%;
  margin: 0;
padding-top: 0;
padding-bottom: 2rem;
}
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.container.narrow {
  max-width: 38rem;
}

.page-header {
  margin-bottom: 3rem;
}

h1 {
  font-family: var(--font-ui);
  font-style: italic;
  font-weight: normal;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  letter-spacing: 0.06em;
  margin: 0 0 1rem;
}
h2 {
  font-family: Redaction20;
  font-style: italic;
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: 0.16em;
  margin: 0 0 .5rem;
}
.intro {
  max-width: 32rem;
  color: var(--muted);
}

/* services page */
.service-text {
  padding-bottom: 3.5rem;
}

/* about */

.page.about .portrait {
  margin: 0 auto 2rem;
  max-width: 450px;
  text-align: center;
}

.page.about .portrait img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 5px;
}

/* ---------- responsive tweaks ---------- */
@media (max-width: 640px) {
  .main-nav ul {
    gap: 1rem;
    font-size: 0.8rem;
  }
  .home-content {
    align-items: flex-end;
    padding-bottom: 2.5rem;
  }
  .landing-text {
    max-width: 100%;
  }
  .service-slideshow {
    height: 42vh;
  }
}
