/* ====================================
   SITE-WIDE STYLES (shared globally)
   ==================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ====================================
   GLOBAL VALUES
   ==================================== */
:root {
  /* Font Families */
  --font-heading: 'Lora', serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Font Sizes (fluid with clamp) */
  --font-size-xs: clamp(0.7rem, 0.65rem + 0.3vw, 0.8rem);    /* captions, ribbons */
  --font-size-sm: clamp(0.85rem, 0.8rem + 0.4vw, 0.95rem);   /* buttons, labels */
  --font-size-base: clamp(1rem, 0.95rem + 0.4vw, 1.1rem);    /* body text */
  --font-size-md: clamp(1.1rem, 1rem + 0.5vw, 1.3rem);       /* intro paragraphs */
  --font-size-lg: clamp(1.4rem, 1.2rem + 0.6vw, 1.6rem);     /* h2, section titles */
  --font-size-xl: clamp(2rem, 1.6rem + 1vw, 2.4rem);         /* h1, page titles */
  --font-size-xxl: clamp(2.4rem, 2rem + 1.5vw, 3rem);        /* hero titles */

  /* Line Heights */
  --line-tight: 1.2;
  --line-normal: 1.6;
  --line-loose: 1.8;

  /* Letter Spacing */
  --tracking-tight: 0.05em;
  --tracking-wide: 0.1em;

  /* Colours */
  --colour-text: #111;
  --colour-muted: #666;
  --colour-accent: #333;
  --colour-background: #fff;
  --colour-border: #ddd;

  /* Layout */
  --max-width-text: 800px;
  --max-width-wide: 1000px;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
}

/* ====================================
   FONT-FACE DECLARATIONS
   ==================================== */

/* Lora (Headings) */
@font-face {
    font-family: 'Lora';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/lora/lora-v36-latin-regular.woff2') format('woff2');
}
@font-face {
    font-family: 'Lora';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/fonts/lora/lora-v36-latin-600.woff2') format('woff2');
}

/* Inter (Body) */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('/fonts/inter/inter-v19-latin-300.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/inter/inter-v19-latin-regular.woff2') format('woff2');
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: #fff;
  color: #111;
  line-height: 1.6;
  padding-top: 1rem;
}

/* ====================================
   HEADER & TYPOGRAPHY
   ==================================== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--colour-background);
  padding: var(--spacing-sm) var(--spacing-md);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--colour-border);
}

.logo {
  font-family: var(--font-body);
  font-size: var(--font-size-lg);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  font-weight: 800;
  color: var(--colour-text);
}

.hamburger {
  font-size: clamp(1.5rem, 1.4rem + 0.4vw, 1.8rem);
  background: none;
  border: none;
  color: var(--colour-text);
  cursor: pointer;
  position: absolute;
  top: var(--spacing-sm);
  right: var(--spacing-sm);
  z-index: 1000;
}

/* Slide-in menu panel */
.menu-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 240px;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: -2px 0 6px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease, opacity 0.3s ease;
  z-index: 9999;
  padding: var(--spacing-lg) var(--spacing-sm);
}

.menu-panel.open {
  right: 0;
}

.menu-panel ul {
  list-style: none;
  padding: 0;
}

.menu-panel li {
  margin-bottom: var(--spacing-md);
}

.menu-panel a {
  text-decoration: none;
  color: var(--colour-text);
  font-family: var(--font-body);
  text-transform: uppercase;
  font-size: var(--font-size-sm);
  letter-spacing: var(--tracking-tight);
}

/* Main content */
.main-content {
  padding: var(--spacing-md) var(--spacing-sm) calc(var(--spacing-md) + var(--spacing-xs));
  max-width: var(--max-width-text);
  margin: 0 auto;
  text-align: center;
}

img.hero {
  max-width: 100%;
  height: auto;
  margin-bottom: var(--spacing-xs);
}

/* Headings & Body Text */
h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--colour-text);
}

body, p, li {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--font-size-base);
  line-height: var(--line-normal);
  color: var(--colour-text);
}

h1 {
  font-size: var(--font-size-xl);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  font-weight: 600;
}

h2 {
  font-size: var(--font-size-lg);
  color: var(--colour-muted);
}

h3 {
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  color: var(--colour-accent);
  letter-spacing: var(--tracking-tight);
}

p {
  font-size: var(--font-size-base);
  font-weight: 300;
  margin-top: var(--spacing-sm);
  line-height: var(--line-normal);
}

/* Disable image drag/save */
img {
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: auto;
}

.no-save {
  position: relative;
}

.no-save::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 5;
  background: transparent;
}
/* ====================================
   LINKS
   ==================================== */
a.view-link {
  display: inline-block;
  margin-top: var(--spacing-md);
  text-decoration: none;
  color: var(--colour-text);
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: var(--tracking-tight);
  border-bottom: 1px solid var(--colour-text);
  padding-bottom: 0.2rem;
  transition: border-color 0.2s ease;
}

a.view-link:hover {
  border-color: var(--colour-accent);
}

/* ====================================
   FOOTER
   ==================================== */
footer {
  text-align: center;
  padding: var(--spacing-sm) var(--spacing-xs) var(--spacing-md);
  font-size: var(--font-size-xs);
  color: var(--colour-muted);
  font-family: var(--font-body);
  letter-spacing: var(--tracking-tight);
  opacity: 0.8;
}

footer a:hover {
  text-decoration: underline;
  color: var(--colour-accent);
}

.footer-home-link {
  color: var(--colour-accent);
  text-decoration: none;
  font-family: var(--font-body);
  text-transform: uppercase;
  font-size: var(--font-size-xs);
  letter-spacing: var(--tracking-tight);
}

.footer-home-link:hover {
  text-decoration: underline;
}

/* ====================================
   COOKIE BANNER
   ==================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #f5f5f5;
  color: var(--colour-accent);
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  border-top: 1px solid var(--colour-border);
  display: none;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  z-index: 9999;
}

.cookie-banner p {
  margin: 0;
  flex: 1 1 auto;
}

.cookie-banner a {
  color: var(--colour-accent);
  text-decoration: underline;
  font-weight: 400;
}

.cookie-banner button {
  font-family: var(--font-body);
  text-transform: uppercase;
  font-size: var(--font-size-xs);
  background: var(--colour-text);
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  letter-spacing: var(--tracking-tight);
  transition: background 0.2s ease;
}

.cookie-banner button:hover {
  background: var(--colour-accent);
}

/* ====================================
   FORMS
   ==================================== */
form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 600px;
  margin: var(--spacing-md) auto;
  text-align: left;
}

label {
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: var(--tracking-tight);
  color: var(--colour-accent);
}

input,
textarea {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  padding: 0.75rem;
  border: 1px solid var(--colour-border);
  width: 100%;
  background: var(--colour-background);
  color: var(--colour-text);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.form-button {
  align-self: flex-start;
  font-family: var(--font-body);
  text-transform: uppercase;
  font-size: var(--font-size-base);
  background: var(--colour-text);
  color: #fff;
  border: none;
  padding: 0.7rem 1.5rem;
  cursor: pointer;
  letter-spacing: var(--tracking-tight);
  transition: background 0.2s ease;
}

.form-button:hover {
  background: var(--colour-accent);
}

/* ====================================
   CAPTIONS
   ==================================== */
.caption {
  display: none;
  margin: var(--spacing-sm) auto;
  max-width: var(--max-width-text);
  font-size: var(--font-size-sm);
  font-family: var(--font-body);
  color: var(--colour-muted);
  line-height: var(--line-normal);
}

/* ====================================
   NAVIGATION BUTTONS
   ==================================== */
.navigation {
  display: flex;
  justify-content: space-between;
  margin: var(--spacing-sm) auto;
}

.nav-button {
  background: none;
  border: none;
  font-size: clamp(1.2rem, 1.4rem + 0.2vw, 1.5rem);
  cursor: pointer;
  color: var(--colour-accent);
}

/* ====================================
   CHAPTER SECTIONS
   ==================================== */
.chapter-content {
  max-width: var(--max-width-text);
  margin: 0 auto;
  padding: var(--spacing-lg) var(--spacing-sm);
  text-align: center;
}

.chapter-title {
  font-size: var(--font-size-xl);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  margin-bottom: var(--spacing-sm);
}

.chapter-description {
  font-size: var(--font-size-md);
  line-height: var(--line-normal);
  margin-bottom: var(--spacing-md);
}

.chapter-link {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--colour-text);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: var(--tracking-tight);
  transition: background 0.3s ease;
}

.chapter-link:hover {
  background: var(--colour-accent);
}

.chapter-wrapper {
  max-width: var(--max-width-text);
  margin: 0 auto;
  padding: var(--spacing-md) var(--spacing-sm);
}

.chapter-image {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: var(--spacing-sm);
  border-radius: 4px;
}

.chapter-image img {
  width: 100%;
  max-width: var(--max-width-wide);
  height: auto;
  display: block;
  margin: 0 auto;
}

.chapter-details {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: var(--line-normal);
  color: var(--colour-accent);
  margin-bottom: var(--spacing-md);
}

.chapter-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: var(--font-size-base);
}

.chapter-details ul li {
  margin-bottom: 0.4rem;
}

.chapter-details h3 {
  font-family: var(--font-body);
  font-size: var(--font-size-md);
  text-transform: uppercase;
  letter-spacing: var(--tracking-tight);
  margin-top: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
  color: var(--colour-text);
}

.chapter-details p {
  font-size: var(--font-size-sm);
  color: var(--colour-muted);
}

.edition-label {
  display: inline-block;
  min-width: 5rem;
  font-weight: 500;
  color: var(--colour-muted);
}

.edition-status {
  color: var(--colour-muted);
}

/* ====================================
   INTRO & FEATURED SERIES
   ==================================== */
.intro,
.featured-series,
.cta {
  max-width: var(--max-width-text);
  margin: 0 auto;
  padding: var(--spacing-md) var(--spacing-sm);
  text-align: center;
  margin-top: var(--spacing-md);
}

.intro {
  margin: var(--spacing-lg) auto var(--spacing-md);
  padding: 0 var(--spacing-sm);
  text-align: center;
}

.intro img.hero {
  border-radius: 4px; /* subtle polish if constrained */
}

.hero-banner img {
  width: 100%;
  height: auto;
  max-height: 70vh; /* prevents image filling entire screen */
  object-fit: cover;
}

.intro p {
  font-size: var(--font-size-md); /* match artist statement */
  line-height: var(--line-loose);
  margin-top: var(--spacing-sm);
}

.intro h1.chapter-title {
  font-size: var(--font-size-xxl); /* hero headline size */
  line-height: var(--line-tight);
  margin: var(--spacing-sm) 0 var(--spacing-sm);
}

/* ====================================
   VIEW LINK
   ==================================== */
.view-link {
  font-weight: 600;
  text-decoration: none;
  color: var(--colour-accent);
  font-size: var(--font-size-sm);
  border-bottom: 1px solid var(--colour-border);
  transition: border-color 0.3s ease;
}

.view-link:hover {
  border-color: var(--colour-text);
}

/* ====================================
   GALLERY COPYRIGHT LINK
   ==================================== */
.gallery-left a.copyright-link {
  text-decoration: none;
  color: var(--colour-accent);
  opacity: 0.7;
  transition: opacity 0.2s ease;
  text-transform: uppercase;
  letter-spacing: var(--tracking-tight);
  font-size: var(--font-size-xs);
}

.gallery-left a.copyright-link:hover {
  opacity: 1;
}

/* ====================================
   ARTIST STATEMENT
   ==================================== */
.artist-statement {
  max-width: var(--max-width-text);
  margin: var(--spacing-xs) auto var(--spacing-lg);
  padding: 0 var(--spacing-sm);
  font-family: var(--font-body);
  color: var(--colour-accent);
  text-align: center;
}

.artist-statement h1 {
  font-family: var(--font-heading);
  font-size: var(--font-size-xxl); /* hero title */
  line-height: var(--line-tight);
  margin-bottom: var(--spacing-sm);
}

.artist-statement p {
  font-size: var(--font-size-md); /* comfortable paragraph size */
  line-height: var(--line-loose);
  margin-top: var(--spacing-sm);
}

.artist-statement p:first-of-type {
  font-size: clamp(1.2rem, 1.1rem + 0.4vw, 1.3rem); /* slight emphasis on first */
}

/* ====================================
   SECTION BRIDGE (NOT USED IN GALLERY)
   ==================================== */
.section-bridge {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  color: var(--colour-muted);
  font-style: italic;
  margin: var(--spacing-md) auto;
  text-align: center;
}

/* ====================================
   LOGO (NOT USED IN GALLERY OVERRIDE)
   ==================================== */
.logo {
  text-decoration: none;
  color: inherit;
}

/* ====================================
   CAPTION TEXT (NOT USED IN GALLERY)
   ==================================== */
.caption-text {
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.8);
}

/* ====================================
   TOGGLE CAPTION HOVER (NOT USED IN GALLERY)
   ==================================== */
.toggle-caption:hover {
  text-decoration: underline;
  cursor: pointer;
}

/* ====================================
   MENU PANEL BACKGROUND (OVERRIDE)
   ==================================== */
.menu-panel {
  background: rgba(255, 255, 255, 0.95); /* can adjust opacity if needed */
}

/* ====================================
   ACTIVE NAV LINK
   ==================================== */
nav a.active {
  font-weight: 600;
  text-decoration: underline;
}
/* ====================================
   GALLERY-SPECIFIC STYLES
   ==================================== */
.gallery-container {
  position: relative;
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: var(--spacing-md) var(--spacing-sm);
  text-align: center;
  background: var(--colour-background);
}

.main-image {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  margin-bottom: var(--spacing-sm);
}

/* ====================================
   THUMBNAIL RIBBON
   ==================================== */
.thumbnail-ribbon {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.8);
  padding: var(--spacing-md) var(--spacing-sm) var(--spacing-sm);
  overflow-x: auto;
  white-space: nowrap;
  border-top: 1px solid var(--colour-border);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.thumbnail-ribbon.show {
  opacity: 1;
  pointer-events: auto;
}

.thumb-toggle,
.thumb-toggle-in-ribbon {
  text-transform: uppercase;
  font-family: var(--font-body);
  font-size: var(--font-size-xs);
  letter-spacing: var(--tracking-tight);
  cursor: pointer;
  text-align: right;
  color: var(--colour-accent);
}

.thumb-toggle {
  padding-bottom: 0.5rem;
  display: block;
}

.thumb-toggle-in-ribbon {
  margin-bottom: 0.5rem;
  font-weight: 500;
  text-decoration: underline;
}

.thumbnail {
  display: inline-block;
  margin: 0 0.5rem;
  cursor: pointer;
}

.thumbnail img {
  height: 60px;
  width: auto;
}

.thumbnail span {
  display: block;
  font-family: var(--font-body);
  font-size: var(--font-size-xs);
  margin-top: 0.25rem;
  color: var(--colour-muted);
  cursor: pointer;
}

/* ====================================
   RIBBON BAR
   ==================================== */
.ribbon-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-bottom: 1px solid var(--colour-border);
  background-color: #f7f7f7;
  font-size: var(--font-size-sm);
}

.ribbon-home {
  font-size: var(--font-size-xs);
  opacity: 0.6;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}
.ribbon-home:hover {
  opacity: 0.9;
}

.ribbon-left a.ribbon-home {
  text-decoration: none;
  color: var(--colour-accent);
  font-weight: 500;
}

/* ====================================
   FULLSCREEN & NAV BUTTONS
   ==================================== */
.fullscreen-toggle:hover {
  color: var(--colour-text);
}

.fullscreen-label {
  font-family: var(--font-body);
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-tight);
  color: var(--colour-accent);
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
  opacity: 0;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}

.fullscreen-toggle:hover .fullscreen-label {
  opacity: 1;
}

.gallery-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: var(--spacing-sm) auto 0;
  max-width: var(--max-width-wide);
  padding: 0 var(--spacing-sm);
  font-size: var(--font-size-xs);
  font-family: var(--font-body);
  color: var(--colour-accent);
}

#fullscreenIcon {
  font-size: clamp(1.5rem, 1.6rem + 0.3vw, 1.8rem);
  display: inline-block;
  line-height: 1;
  padding: 0 0.25rem;
}

.nav-buttons {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: var(--max-width-wide);
  margin: var(--spacing-sm) auto;
  padding: 0 var(--spacing-sm);
  position: relative;
  text-align: center;
}

.nav-buttons .fullscreen-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-tight);
  text-decoration: none;
  background: none;
  border: none;
  color: var(--colour-accent);
  cursor: pointer;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-buttons .fullscreen-toggle:hover {
  text-decoration: underline;
  background: #f2f2f2;
}

.nav-buttons a,
.nav-buttons button {
  text-transform: uppercase;
  letter-spacing: var(--tracking-tight);
  font-variant: small-caps;
  text-decoration: none;
  color: inherit;
}

.nav-buttons a:hover,
.nav-buttons button:hover {
  font-weight: bold;
  text-decoration: none;
}

/* ====================================
   SIDE NAVIGATION
   ==================================== */
.side-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 10;
  pointer-events: none;
}

.side-button {
  background: rgba(255, 255, 255, 0.8);
  border: none;
  font-size: clamp(2.4rem, 2.5rem + 0.3vw, 2.8rem);
  padding: 0.5rem 1rem;
  cursor: pointer;
  color: var(--colour-text);
  pointer-events: auto;
  transition: background 0.3s ease, color 0.3s ease;
}

.side-button:hover {
  background: var(--colour-text);
  color: #fff;
}

/* ====================================
   INFO PANEL
   ==================================== */
.info-icon {
  position: absolute;
  bottom: var(--spacing-md);
  right: var(--spacing-sm);
  z-index: 15;
  font-size: clamp(1.6rem, 1.7rem + 0.2vw, 1.8rem);
  background: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: bold;
  color: var(--colour-text);
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
}

.info-icon:hover {
  background: #eee;
}

.info-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: -3px 0 10px rgba(0, 0, 0, 0.2);
  z-index: 999;
  transition: right 0.4s ease;
  padding: var(--spacing-lg) var(--spacing-sm);
  display: flex;
  flex-direction: column;
}

.info-panel.open {
  right: 0;
}

.info-content {
  flex: 1 1 auto;
  overflow-y: auto;
  max-height: 100%;
  padding-right: 0.5rem;
}

.info-content h2 {
  font-family: var(--font-body);
  font-size: var(--font-size-md);
  margin-bottom: var(--spacing-sm);
  text-transform: uppercase;
  letter-spacing: var(--tracking-tight);
  color: var(--colour-text);
}

.info-content p {
  font-size: var(--font-size-base);
  line-height: var(--line-normal);
  margin-bottom: var(--spacing-sm);
  font-family: var(--font-body);
  color: var(--colour-accent);
  word-wrap: break-word;
  white-space: normal;
}

#infoAvailability ul {
  padding-left: 0;
  margin: 0;
  list-style: none;
}

#infoAvailability li {
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  margin-bottom: 0.4rem;
  padding-left: 1.2em;
  position: relative;
  color: var(--colour-muted);
}

#infoAvailability li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--colour-muted);
  font-size: var(--font-size-base);
  line-height: 1;
}

.enquire-button {
  display: inline-block;
  margin-top: var(--spacing-sm);
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: var(--tracking-tight);
  background: var(--colour-text);
  color: #fff;
  padding: 0.6rem 1.2rem;
  text-decoration: none;
  transition: background 0.2s ease;
}

.enquire-button:hover {
  background: var(--colour-accent);
}

.close-info {
  background: none;
  border: none;
  font-size: var(--font-size-md);
  position: absolute;
  top: var(--spacing-sm);
  right: var(--spacing-sm);
  cursor: pointer;
}
/* ====================================
   ORIGINS SECTION LAYOUT
   ==================================== */
.early-works {
  display: grid;
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.early-work {
  text-align: center;
}

.early-work img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  opacity: 0.95;
  transition: opacity 0.3s ease;
  border-radius: 2px;
}

.early-work img:hover {
  opacity: 1;
}

/* ====================================
   ORIGINS CAPTIONS
   ==================================== */
.origin-caption {
  display: block;
  font-size: var(--font-size-sm);
  color: var(--colour-muted);
  margin-top: var(--spacing-xs);
  font-style: italic;
  text-align: center;
  line-height: var(--line-normal);
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

/* ====================================
   MOBILE REFINEMENTS
   ==================================== */
@media (max-width: 600px) {
  .early-works {
    gap: var(--spacing-sm); /* tighter spacing for smaller screens */
  }

  .origin-caption {
    font-size: var(--font-size-xs);
    line-height: 1.3;
    margin-top: 0.4rem;
  }

  .early-work img {
    border-radius: 2px; /* subtle polish for mobile */
  }
}

/* ====================================
   SOCIAL LINKS IN FOOTER
   ==================================== */
.social-links {
  margin-top: var(--spacing-xs);
}

.social-links a {
  display: inline-block;
  margin: 0 0.5rem;
  color: var(--colour-muted);
  transition: transform 0.25s ease, color 0.3s ease;
}

.social-links a:hover {
  color: var(--colour-accent);
  transform: scale(1.05);
}

.social-links svg {
  vertical-align: middle;
  width: 20px;
  height: 20px;
}

/* ====================================
   FINAL FONT CORRECTIONS
   ==================================== */
.chapter-title,
.info-content h2,
.artist-statement h2 {
  font-family: var(--font-heading);
  font-weight: 600;
}