/* Trying the reset first method for these two pages, different from RH & RB websites */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Ibarra Real Nova', serif;
    background-color: #ffffff;
    color: #313131;
    line-height: 1.6;
    font-size: 16px;
}

/* Typography */
h1, h2 {
    font-family: 'Instrument Serif', serif;
    color: #1D1D1D;
    font-weight: 400;
}

/* Top navigation */
.back-text {
    font-size: 1rem;
    margin-bottom: 2rem;
}

.back-links {
    font-size: 1rem;
}

.back-link {
    color: #313131;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.back-link:hover {
    opacity: 0.6;
}

.intro-text {
   margin-bottom: 1.2rem;
    line-height: 1.3;
    font-size: 1.3rem;
	color: #313131;
	max-width: 60ch;
}

.intro-text2 {
   margin-bottom: 2.5rem;
    line-height: 1.3;
    font-size: 1.3rem;
	color: #313131;
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
	margin-bottom: 1.3rem;
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    margin-bottom: 1.3rem;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Main content */
.main-content {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 2rem;
	margin-top: 2.5rem;
	margin-bottom: 4rem;
}

.main-title {
    font-size: 5.25rem;
    letter-spacing: 0px;
    margin-bottom: 1rem;
    line-height: 1.2;
}

/* ehhhhhhhhhhhhhhhhhhh - divider + year */
.year-divider{
	display:flex;
	align-items:center;
	width:100%;
	gap: 16px;
}

.year{
	font-family: "Instrument Sans", sans-serif;
	font-weight: 400;
	font-size: 1.3rem;
	flex-shrink:0;
}

.line{
	flex-grow: 1;
	height: 1px;
	background-color: #000;
	border: none;
}



/* Article content - narrower width */
.article-content {
	margin-top: 3rem;
}

.content-section {
    margin-bottom: 3rem;
}

.body-text {
    margin-bottom: 0.4rem;
    line-height: 1.3;
    font-size: 1.2rem;
}

.sub-text {
    margin-bottom: 0.8rem;
    line-height: 1.3;
    font-size: 1rem;
	color: #ADADAD;
}

.content-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
	margin-top: 3rem;
	margin-bottom: 1.3rem;
    
}

.content-image-row {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
	margin-top: 0rem;
	margin-bottom: 1rem;
    
}




/* Links */
.inline-link {
	font-size: 1.3rem;
    text-decoration: none;
	color: #313131;
    transition: opacity 0.2s ease;
}

.inline-link:hover{
    opacity: 0.5;
}

/* Footer */
.article-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
}

.footer-text {
    font-size: 1rem;
    margin-bottom: 0.8rem;
    color: #313131;
}

.footer-links {
    font-size: 1rem;
}

.footer-link {
    color: #313131;
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.footer-link:hover {
    opacity: 0.6;
}

.footer-separator {
    margin: 0 0.5rem;
    color: #313131;
}

.slideshow-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-bottom: 0.7rem;
}

.slide {
    display: none;
    width: 100%;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Image Row goes here */
/* Image Row goes here */
/* Image Row goes here */
/* Image Row goes here */

.showcase {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.showcase img {
  width: 100%;
  height: auto;
  border-radius: 0px;
  margin-bottom: 1.2rem;
  transition: transform 0.4s ease, filter 0.3s ease;
  cursor: zoom-in;
}

.showcase img:hover {
  transform: scale(0.95);
  filter: brightness(0.95);
}



.image-row {
  display: flex;
  gap: 1.2rem;
  width: 100%;
  box-sizing: border-box;
  flex-wrap: wrap;
}

/* Default: side by side */
.image-row img {
  width: calc(50% - 0.6rem); /* Subtract half of 1.2rem gap */
  height: auto;
  object-fit: cover;
}

@media (max-width: 600px) {
  .image-row {
    flex-direction: column;
    gap: 0; /* no gap */
  }

  .image-row img {
    width: 100%;
    margin-bottom: 1.2rem;
  }
}

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  inset: 0;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: zoom-out;
}

.modal.show {
  display: flex;
}

.modal-content {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 0px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
  animation: zoomIn 0.25s ease;
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 1;
  cursor: default;
}

.modal-content.fade-out {
  opacity: 0;
  transform: scale(0.98);
}

.modal-content.fade-in {
  opacity: 1;
  transform: scale(1);
}

/* Animation */
@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal .nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.3);
  border: none;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  border-radius: 0px;
  z-index: 1001;
  transition: background 0.3s ease;
}

.modal .nav:hover {
  background: rgba(0, 0, 0, 0.5);
}

.modal .left {
  left: 1.5rem;
}

.modal .right {
  right: 1.5rem;
}



/* Responsive goes here */
/* Responsive goes here */
/* Responsive goes here */
/* Responsive goes here */

@media (max-width: 768px) {
	
	
	
    .main-content {
        padding: 0 1.5rem;
    }
    
    
    .main-title {
        font-size: 3.5rem;
        margin-bottom: 1rem;
    }
	
	.intro-text{
		 font-size: 1.2rem;
	}
	
	.intro-text2{
		 font-size: 1.2rem;
	}
    
    .article-content {
        max-width: 100%;
    }
    
    .body-text {
        font-size: 1.1rem;
    }
	
	.sub-text {
    font-size: 1rem;
    }
	
	.year{
	font-size: 1.2rem;
    }
	
	.inline-link {
	font-size: 1.2rem;
    }
	
	.year-divider{
	gap: 12px;
    }
	

@media (max-width: 480px) {
    .main-content {
        padding: 0 1rem;
    }
	
	.intro-text{
		 font-size: 1.1rem;
	}
	
	.intro-text2{
		 font-size: 1.1rem;
	}
    
    .main-title {
        font-size: 2.5rem;
        letter-spacing: 0.5px;
    }
    
    
    .body-text {
        font-size: 1rem;
        line-height: 1.6;
    }
	
	.sub-text {
    font-size: 0.9rem;
    }
	
	.year{
	font-size: 1.1rem;
    }
	
	.inline-link {
	font-size: 1.1rem;
    }
	
	.year-divider{
	gap: 12px;
    }
    
   

@media (max-width: 320px) {
    .main-title {
        font-size: 2rem;
    }
}

/* iOS Safari optimizations */
/* iOS Safari optimizations */
/* iOS Safari optimizations */
/* iOS Safari optimizations */

body {
    -webkit-text-size-adjust: 100%; /* Prevents text scaling on orientation change */
    -webkit-font-smoothing: antialiased; 
    -moz-osx-font-smoothing: grayscale;
}

/* Fix iOS Safari viewport issues */
html {
    -webkit-text-size-adjust: 100%;
}

/* Improve tap targets for iOS */
a, button {
    -webkit-tap-highlight-color: rgba(0,0,0,0.1); /* Custom tap highlight */
    touch-action: manipulation; /* zoom double-tap disable i think */
}

/* Smooth scrolling for iOS */
html {
    -webkit-overflow-scrolling: touch;
}

/* Fix fixed positioning issues on iOS Safari */
.return-nav {
    -webkit-transform: translateZ(0); /* what is wrong with IOS ???? */
    transform: translateZ(0);
}

/* Better image rendering on iOS */
img {
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0);
}

