/* ============================================================
   CEREMONI — STYLESHEET
   Black & white. Two-column split. No top nav bar.
   ============================================================ */


/* ── Fonts ────────────────────────────────────────────────── */

@font-face {
  font-family: 'Avergent';
  src: url('fonts/avergent-regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'DM Mono';
  src: url('fonts/DMMono-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}


/* ── Reset ────────────────────────────────────────────────── */

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


/* ── Variables ────────────────────────────────────────────── */

:root {
  --black:     #0a0a0a;
  --white:     #f5f5f2;
  --grey:      #888;
  --rule:      #d0d0cc;

  --font-main: 'Avergent', Georgia, serif;
  --font-mono: 'DM Mono', 'Courier New', monospace;
}


/* ── Base ─────────────────────────────────────────────────── */

html, body {
  height: 100%;
  overflow: hidden;
  background: var(--white);
  color: var(--black);
}

body {
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.65;
}

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

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* ── Layout ───────────────────────────────────────────────── */

.layout {
  display: flex;
  height: 100%;
}

/* Left column — 65%, independently scrollable */
.col-left {
  flex: 0 0 65%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  border-right: 1px solid var(--rule);
  scrollbar-width: none;
}

.col-left::-webkit-scrollbar { display: none; }

/* Right column — 35%, independently scrollable */
.col-right {
  flex: 0 0 35%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 44px 36px 80px 40px;
  scrollbar-width: none;
}

.col-right::-webkit-scrollbar { display: none; }


/* ── Views ────────────────────────────────────────────────── */

.view {
  display: none;
}

.view.active {
  display: block;
}


/* ── Sticky Logo (left column) ────────────────────────────── */

.left-logo {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--white);
  padding: 20px 52px 18px 44px;
}

.left-logo img {
  height: clamp(64px, 5.6vw, 80px);
  width: auto;
  display: block;
}


/* ── Right Column Nav ─────────────────────────────────────── */

.right-nav {
  margin-bottom: 40px;
}

.nav-links {
  display: flex;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}

.nav-links a {
  color: var(--grey);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--black);
  text-decoration: none;
}


/* ── Rule ─────────────────────────────────────────────────── */

hr.rule {
  border: none;
  border-top: 1px solid var(--rule);
  margin-bottom: 36px;
}


/* ── Right Column: Studio Info ────────────────────────────── */

.info-bio {
  margin-bottom: 36px;
}

.info-bio p {
  font-family: var(--font-main);
  font-size: 0.85rem;
  line-height: 1.7;
}

.info-section {
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--rule);
}

.info-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.info-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 10px;
}

.info-body {
  font-family: var(--font-main);
  font-size: 0.82rem;
  line-height: 1.7;
}

.info-body p {
  margin-bottom: 4px;
}

.info-body p:last-child {
  margin-bottom: 0;
}

.info-body a {
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* ── Projects List ────────────────────────────────────────── */

#projects-list {
  padding: 48px 52px 80px 44px;
}


/* ── Project Entry ────────────────────────────────────────── */

.project-entry {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 44px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 80px;
}

.project-entry:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 40px;
}

.project-number {
  font-family: var(--font-mono);
  font-size: clamp(80px, 7vw, 120px);
  line-height: 0.88;
  color: #c8c8c4;
  user-select: none;
  padding-top: 6px;
}

.project-title {
  font-family: var(--font-main);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.project-meta {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0 16px;
  margin-bottom: 22px;
}

.project-meta-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 4px;
}

.project-meta-value {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.02em;
}

.project-description {
  font-family: var(--font-main);
  font-size: 0.85rem;
  line-height: 1.7;
  color: #333;
  max-width: 540px;
  margin-top: 20px;
}


/* ── Slideshow ────────────────────────────────────────────── */

.slideshow {
  aspect-ratio: 4 / 3;
  background: #e2e2de;
  overflow: hidden;
  cursor: pointer;
  margin-bottom: 10px;
}

.slideshow-track {
  display: flex;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slideshow-slide {
  flex: 0 0 100%;
  height: 100%;
}

.slideshow-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slideshow-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
}

.slideshow-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--grey);
  letter-spacing: 0.04em;
}

.slideshow-arrows {
  display: flex;
  gap: 18px;
}

.slideshow-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--grey);
  padding: 0;
  letter-spacing: 0.04em;
  transition: color 0.15s;
}

.slideshow-btn:hover {
  color: var(--black);
}


/* ── Single Pages (About, Contact) ───────────────────────── */

.page-single {
  padding: 48px 52px 80px 44px;
  max-width: 680px;
}

.page-single h1 {
  font-family: var(--font-main);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  line-height: 1.15;
}

.page-single p {
  font-family: var(--font-main);
  font-size: 0.88rem;
  line-height: 1.75;
  margin-bottom: 16px;
  color: #222;
}

.page-single .section-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 10px;
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--rule);
}

.contact-grid {
  display: grid;
  gap: 28px;
  margin-top: 4px;
}

.contact-item-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 6px;
}

.contact-item-value {
  font-family: var(--font-main);
  font-size: 0.88rem;
  line-height: 1.5;
}

.contact-item-value a {
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* ── Responsive: mobile stack ─────────────────────────────── */

@media (max-width: 700px) {
  html, body {
    height: auto;
    overflow: auto;
  }

  .layout {
    flex-direction: column;
    height: auto;
  }

  .col-left,
  .col-right {
    flex: none;
    width: 100%;
    height: auto;
    overflow-y: visible;
    border-right: none;
  }

  .col-right {
    border-top: 1px solid var(--rule);
    padding: 36px 24px 60px 24px;
  }

  .left-logo {
    position: static;
    padding: 28px 24px 16px 24px;
  }

  .left-logo img {
    height: 56px;
  }

  #projects-list,
  .page-single {
    padding: 36px 24px 60px 24px;
  }

  .project-number {
    font-size: clamp(60px, 14vw, 90px);
  }

  .project-meta {
    grid-template-columns: 1fr 1fr;
  }
}
