* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Georgia, serif;
  background: #0b0907;
  color: #ece7df;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 48px;
}

.site-header h1 {
  margin: 0;
  font-size: 24px;
  letter-spacing: 1px;
}

.site-header {
  background: #0b0907;
  color: #ece7df;
}

.site-header h1 a,
.site-header nav a {
  color: #ece7df;
  text-decoration: none;
}

.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 48px;
}

.hero-content {
  max-width: 700px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 13px;
}

.hero h2 {
  font-size: clamp(48px, 8vw, 110px);
  line-height: 0.95;
  margin: 20px 0;
}

.intro {
  font-size: 20px;
  max-width: 520px;
  line-height: 1.5;
}

.button {
  display: inline-block;
  margin-top: 24px;
  padding: 14px 24px;
  border: 1px solid #111;
  color: #111;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.featured-section {
  padding: 72px 48px 96px;
}

.featured-section h2 {
  max-width: 760px;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1;
  margin: 16px 0 48px;
}

.art-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.art-card {
  background: #15110d;
  border: 1px solid #3a2a20;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
  transition: transform .35s ease, box-shadow .35s ease;
  display: flex;
  flex-direction: column;
}

.art-card:hover {

    transform: translateY(-8px);

    box-shadow: 0 18px 40px rgba(0,0,0,.15);

}

.art-placeholder {
  height: 340px;
  background:
    radial-gradient(circle at 30% 20%, rgba(0,0,0,0.18), transparent 30%),
    linear-gradient(135deg, #ddd, #f4f0e8);
}

.art-card h3 {

    margin:18px 20px 10px;

    font-size:1.35rem;

    font-weight:500;

}

.art-card p:last-child {

    margin:16px 20px 24px;

    line-height:1.7;

    color:#555;

}

@media (max-width: 800px) {
  .site-header {
    padding: 20px;
    flex-direction: column;
    gap: 16px;
  }

  .hero {
    padding: 32px 20px;
  }

  .featured-section {
    padding: 72px 20px;
  }

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

.text-section {
  padding: 96px 48px;
  max-width: 900px;
}

.text-section h2 {
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1;
  margin: 16px 0 24px;
}

.text-section p {
  font-size: 20px;
  line-height: 1.6;
  color: #333;
}

html {
  scroll-behavior: smooth;
}

.art-image {
  width: 100%;
  height: 350px;
  object-fit: contain;
  display: block;
  background: #090909;
  padding: 12px;
}

.art-card:hover .art-image {

    transform:scale(1.04);

}

.collection {

    margin:0 20px;

    font-size:.8rem;

    letter-spacing:2px;

    color:#888;

    text-transform:uppercase;

}

.catalog-number {

    margin:20px 20px 6px;

    font-size:.75rem;

    letter-spacing:3px;

    color:#999;

    text-transform:uppercase;

}

.scroll-gallery {
  overflow: hidden;
  width: 100%;
}

.scrolling-track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: scrollRightToLeft 60s linear infinite;
}

.scrolling-track .art-card {
  width: 320px;
  flex: 0 0 auto;
}

.scroll-gallery:hover .scrolling-track {
  animation-play-state: paused;
}

@keyframes scrollRightToLeft {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.artwork-page {
  background: #0b0b0d;
  color: #ece7df;
}

.artwork-page .site-header a {
  color: #ece7df;
}

.artwork-room {
  padding: 48px;
}

.room-hero {
  min-height: 78vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.room-artwork {
  max-width: 96%;
  max-height: 86vh;
  object-fit: contain;
  background: #15120f;
  padding: 18px;
}

.room-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 0 70px;
}

.room-section h2 {
  font-size: clamp(42px, 7vw, 92px);
  line-height: 1;
  margin: 16px 0;
}

.room-notes p {
  font-size: 18px;
  line-height: 1.9;
}

.curator-intro {
  max-width: 820px;
}

.art-link {
  display: inline-block;
  margin: 0 20px 24px;
  color: #111;
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 13px;
}

/* Gallery Room reveal */

.artwork-page {
  opacity: 0;
  animation: roomFadeIn 1s ease forwards;
}

.room-hero {
  opacity: 0;
  transform: translateY(18px);
  animation: roomReveal 1.2s ease forwards;
  animation-delay: 0.55s;
}

.room-section {
  opacity: 0;
  transform: translateY(18px);
  animation: roomReveal 1s ease forwards;
  animation-delay: 2.4s;
}

@keyframes roomFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes roomReveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sierra Gallery refinements */

.artwork-page {
  background:
    radial-gradient(circle at center, rgba(126, 202, 232, 0.06), transparent 35%),
    #070708;
}

.artwork-room {
  position: relative;
}

.artwork-room::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at center, transparent 45%, rgba(0, 0, 0, 0.55) 100%);
  z-index: 1;
}

.room-hero,
.room-section {
  position: relative;
  z-index: 2;
}

.room-artwork {
  background: #15120f;
  border: 1px solid #3a2a20;
  box-shadow:
    0 0 0 14px #1c1511,
    0 30px 80px rgba(0, 0, 0, 0.65);
}

.room-section {
  animation-delay: 2.2s;
}

.room-section h2 {
  color: #f2eadf;
}

.artwork-page .catalog-number,
.artwork-page .collection {
  color: #9ba7aa;
}

.artwork-page .button {
  border-color: #7ecae8;
  color: #ece7df;
}

.artwork-page .button:hover {
  background: #7ecae8;
  color: #070708;
}

.museum-return {

    display:inline-block;

    margin-top:60px;

    color:#b9b0a4;

    text-decoration:none;

    letter-spacing:1px;

    transition:.3s;

}

.museum-return:hover{

    color:#f2eadf;

}

.museum-label{

    color:#8a8278;

    text-transform:uppercase;

    letter-spacing:3px;

    font-size:.72rem;

    margin-top:40px;

}

.museum-signature{

    margin-top:90px;

    color:#8b847b;

    font-style:italic;

    text-align:center;

    line-height:1.9;

    opacity:.75;

}

/* Curator's Console */

.console-page {
  background:
    radial-gradient(circle at top, rgba(126, 202, 232, 0.08), transparent 35%),
    #090909;
  color: #ece7df;
  min-height: 100vh;
}

.console-header {
  padding: 70px 50px 30px;
  text-align: center;
}

.console-header h1 {
  font-size: clamp(42px, 8vw, 92px);
  line-height: 1;
  margin: 0;
}

.console-header p {
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #9fa2a5;
}

.console-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 40px;
}

.console-card {
  background: #171717;
  border: 1px solid #30251d;
  padding: 30px;
  transition: 0.3s;
}

.console-card:hover {
  transform: translateY(-6px);
  border-color: #7ecae8;
}

.console-card h2 {
  margin-top: 0;
}

.console-card p {
  color: #b9b0a4;
  line-height: 1.6;
}

.console-card button {
  margin-top: 20px;
  padding: 10px 20px;
  background: none;
  border: 1px solid #7ecae8;
  color: #ece7df;
  cursor: pointer;
}

.console-card button:hover {
  background: #7ecae8;
  color: #090909;
}

.console-footer {
  max-width: 900px;
  margin: 40px auto 0;
  padding: 50px 40px 80px;
  text-align: center;
  color: #8f8780;
  line-height: 1.8;
}

.hidden {
  display: none;
}

.catalog-panel {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 1000;
  overflow-y: auto;
  padding: 40px;
}

.catalog-form {
  max-width: 760px;
  margin: 40px auto;
  background: #141414;
  border: 1px solid #3a2a20;
  padding: 40px;
  color: #ece7df;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.65);
}

.catalog-form h2 {
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1;
  margin: 10px 0 30px;
}

.catalog-form label {
  display: block;
  margin-top: 22px;
  margin-bottom: 8px;
  color: #b9b0a4;
  letter-spacing: 1px;
}

.catalog-form input,
.catalog-form select,
.catalog-form textarea {
  width: 100%;
  padding: 14px;
  background: #090909;
  border: 1px solid #30251d;
  color: #ece7df;
  font-size: 16px;
}

.catalog-form textarea {
  min-height: 140px;
}

.close-button {
  float: right;
  background: none;
  border: none;
  color: #ece7df;
  font-size: 32px;
  cursor: pointer;
}

.save-button {
  margin-top: 30px;
  padding: 14px 24px;
  background: none;
  border: 1px solid #7ecae8;
  color: #ece7df;
  cursor: pointer;
}

.accession-receipt {
  margin-top: 40px;
  padding: 28px;
  border: 1px solid #7ecae8;
  background: rgba(126, 202, 232, 0.08);
  color: #ece7df;
}

.accession-receipt h3 {
  margin-top: 0;
  font-size: 28px;
}

.catalog-entry-preview {
  margin-top: 30px;
  padding: 24px;
  background: #090909;
  border: 1px solid #30251d;
  color: #b9f3ff;
  white-space: pre-wrap;
  overflow-x: auto;
}


.field-note {
  margin-top: 8px;
  color: #8f8780;
  font-size: 14px;
  font-style: italic;
}

.morning-desk{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

gap:24px;

max-width:1200px;

margin:40px auto;

padding:0 40px;

}

.desk-card{

background:#151515;

border:1px solid #30251d;

padding:28px;

transition:.3s;

}

.desk-card:hover{

transform:translateY(-4px);

border-color:#7ecae8;

}

.desk-card h3{

margin-top:0;

color:#7ecae8;

font-size:16px;

letter-spacing:1px;

text-transform:uppercase;

}

.desk-card p{

font-size:22px;

margin-bottom:0;

color:#ece7df;

}

/* Gallery transition */

body.exiting-gallery {
  opacity: 0;
  transform: scale(1.015);
  transition:
    opacity 0.85s ease,
    transform 0.85s ease;
}

.art-card a {
  text-decoration: none;
}

.art-card a .art-image {
  cursor: pointer;
}

.art-card a:hover .art-image {
  transform: scale(1.025);
  box-shadow: 0 0 35px rgba(126, 202, 232, 0.18);
}

.curator-intro {
  margin-top: 42px;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.5;
  color: #f2eadf;
}

.room-notes {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid #30251d;
}

.room-notes h3 {
  color: #7ecae8;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 14px;
}

.room-notes p {
  color: #b9b0a4;
  line-height: 1.8;
}

.room-hero{
    position:relative;
}

.room-hero::before{

    content:"";

    position:absolute;

    width:900px;
    height:900px;

    border-radius:50%;

    background:
    radial-gradient(
        circle,
        rgba(255,255,255,.06),
        transparent 70%
    );

    z-index:0;

    filter:blur(60px);

}

.room-artwork{

    position:relative;

    z-index:1;

}

/* Quiet Gallery lighting */

.room-hero {
  position: relative;
}

.room-hero::before {
  content: "";
  position: absolute;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.06),
    transparent 70%
  );
  z-index: 0;
  filter: blur(60px);
}

.room-artwork {
  position: relative;
  z-index: 1;
}

.museum-inscription {
  margin-top: 90px;
  color: #8b847b;
  font-size: 14px;
  letter-spacing: 1px;
  text-align: center;
  font-style: italic;
}

.exhibition-preview {
  max-width: 1200px;
  margin: 40px auto;
  padding: 40px;
  border-top: 1px solid #30251d;
  border-bottom: 1px solid #30251d;
}

.exhibition-preview h2 {
  font-size: clamp(36px, 6vw, 72px);
  margin: 10px 0;
}

.exhibition-preview p {
  color: #b9b0a4;
}

.wall-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.wall-card {
  min-height: 150px;
  background: #151515;
  border: 1px solid #3a2a20;
  padding: 24px;
}

.wall-card h3 {
  margin-top: 0;
  color: #7ecae8;
}

.blueprint-room{

    max-width:1400px;

    margin:auto;

    padding:60px;

}

.blueprint-wall{

    margin-bottom:80px;

}

.wall-spaces{

    display:flex;

    gap:12px;

    flex-wrap:wrap;

    margin-top:20px;

}

.wall-space{

    width:90px;

    height:90px;

    border:2px solid #444;

    background:#1a1a1a;

    transition:.3s;

}

.wall-space:hover{

    border-color:#7ecae8;

    transform:translateY(-3px);

}

.wall-space {
  width: 90px;
  height: 90px;
  border: 2px solid #444;
  background: #1a1a1a;
  transition: .3s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.wall-space.occupied {
  border-color: #7ecae8;
  background: rgba(126, 202, 232, 0.08);
}

.mini-frame{

    font-size:28px;

}

.mini-title{

    margin-top:8px;

    font-size:11px;

    text-align:center;

    line-height:1.2;

    color:#d2c7b9;

}

#artwork-inspector{

    position:fixed;

    right:40px;

    top:120px;

    width:340px;

    background:#181818;

    border:1px solid #555;

    padding:30px;

    box-shadow:0 20px 60px rgba(0,0,0,.45);

}

.hidden{

    display:none;

}

#artwork-inspector {
  position: fixed;
  right: 40px;
  top: 120px;
  width: 340px;
  background: #181818;
  border: 1px solid #7ecae8;
  padding: 30px;
  color: #ece7df;
  z-index: 9999;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.65);
}

#artwork-inspector h2 {
  margin-top: 0;
  color: #f2eadf;
}

#artwork-inspector p {
  color: #b9b0a4;
}

/* Architect's Studio */

.blueprint-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(126, 202, 232, 0.08), transparent 35%),
    #0b0907;
  color: #ece7df;
}

.blueprint-page header {
  text-align: center;
  padding: 70px 40px 30px;
}

.blueprint-page header h1 {
  font-size: clamp(42px, 8vw, 92px);
  margin: 0;
}

.blueprint-page header p {
  color: #b9b0a4;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.blueprint-room {
  max-width: 1400px;
  margin: 40px auto;
  padding: 60px;
  background: #17120d;
  border: 1px solid #3a2a20;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}

.blueprint-room h2 {
  font-size: clamp(34px, 5vw, 68px);
  margin-top: 0;
}

.blueprint-wall {
  margin-bottom: 70px;
  padding: 30px;
  border: 1px solid #3a2a20;
  background:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px),
    #120f0b;
  background-size: 24px 24px;
}

.blueprint-wall h3 {
  color: #7ecae8;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 14px;
}

.wall-space {
  border-color: #5a4636;
  background: #1b1611;
}

.wall-space.occupied {
  border-color: #7ecae8;
  background: rgba(126, 202, 232, 0.08);
  box-shadow: 0 0 20px rgba(126, 202, 232, 0.12);
}

.studio-nav {
  max-width: 1400px;
  margin: 30px auto 0;
  padding: 0 60px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.studio-tab {
  background: #17120d;
  border: 1px solid #3a2a20;
  color: #ece7df;
  padding: 12px 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
}

.studio-tab:hover,
.studio-tab.active {
  border-color: #7ecae8;
  color: #7ecae8;
}

#wall-workshop{

    max-width:1100px;

    margin:auto;

    padding:50px;

}

.wall-row{

    padding:18px;

    margin:10px 0;

    border-left:4px solid #7ecae8;

    background:#16120e;

}

.home-hero {
  min-height: 76vh;
  background: #0b0907;
  color: #ece7df;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 60px 40px 70px;
  text-align: center;
}

.hero-logo {
  max-width: min(900px, 92vw);
  height: auto;
  display: block;
}

.hero-intro {
  max-width: 760px;
  color: #c9c2b6;
  font-size: clamp(18px, 2.5vw, 26px);
  line-height: 1.7;
}

.home-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.home-nav a {
  border: 1px solid #7ecae8;
  color: #7ecae8;
  padding: 12px 18px;
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 13px;
}

.home-nav a:hover {
  background: rgba(126, 202, 232, 0.08);
}

.room-navigation {
  margin-top: 100px;
  padding-top: 60px;
  border-top: 1px solid #30251d;
}

.room-navigation h3 {
  color: #7ecae8;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 30px;
}

.room-nav-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.room-nav-buttons .button {
  border-color: #7ecae8;
  color: #7ecae8;
}

.room-nav-buttons .button:hover {
  background: rgba(126, 202, 232, 0.08);
}

/* Version 1.0 readability polish */

body p {
  color: var(--museum-body);
}

.intro,
.hero-intro,
.text-section p,
.art-card p,
.room-notes p {
  color: var(--museum-body);
}