.allinone-page html, body {
    height: 100%;
  scroll-behavior: smooth;
  overflow-y: scroll;
  scroll-snap-type: y mandatory; /* vertical snap */
  margin: 0;
   overflow-y: scroll;
}

.proposal, 
.research, 
.prototype,
 .outcome  { /* or whatever class you gave your "sections" */
  height: 100vh;
  scroll-snap-align: start;
}

.component-map {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
  padding: 0;
  margin: 0;
}

.component-map .map-item {
  padding: 0.5rem 0;
    border-bottom: 1px solid #f4dada; /* warm rose */
}

.component-map .map-item:last-child {
  border-bottom: none;
}

.component-map dt {
  font-style: italic;
   color: #b45309; /* warm amber-brown */
  margin-bottom: 0.3em;
}

.component-map dd {
  margin: 0;
  font-weight: 600;
  color: #3b2f2f; /* rich warm neutral */
}


.allinone-page 
.component-map dt {
  font-style: italic;
  margin-bottom: 4px;
}

.allinone-page  .component-map dd {
  margin-left: 1.5em;
  margin-bottom: 1rem;
}

.zoom-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 600px;
  height: auto; /*also can be changed to a specific fixed height*/
}



.zoom-container .prototype-img .centering {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 600px;
  height: auto;
}

.card-content-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2rem; /* spacing between text and image */
  flex-wrap: wrap; /* optional: allow stacking on small screens */
}

.card-text {
  flex: 1;
  min-width: 250px;
}

.zoom-container .research {
  flex: 1;
  max-width: 600px;
  overflow: hidden;
  position: relative;
}






.allinone-page .hidden-content {
  overflow-y:hidden;
  height:0;
  transition: height 0.4s ease;
}

.allinone-page .show-content {
  overflow-y:visible;
  height:auto;
  transition: height 0.4s ease;
}

.allinone-page .spacing {
  min-height: 200px;
}

/* Only affects .intro-text inside #overview inside .allinone-page */
.allinone-page #overview .intro-text {
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 2rem;
  margin-bottom: 1rem;
}

.allinone-page #overview .intro-text-subtitle {
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.75rem;
  margin-bottom: 1rem;
  white-space: wrap;
}

.allinone-page #overview {
  background-color: #FAF7EF;
}

body, .allinone-page {
  background-color: #FAF7EF !important;
}

.allinone-page .submenu-header {
  color: #B33F3F;
}

/* Make .hidden global so it works anywhere */
.hidden {
  display: none !important;
}

.interactive-gif {
  justify-self: center;
  /*border: #000 .1px solid; */
  border-radius: 16px;
  cursor: pointer;
  transition: opacity 0.1s ease;
  margin-left: auto;
  margin-right: auto;
  display:block;
}

.interactive-gif-size {
  width: 80%;
  height: fit-content;
  object-fit: cover;
  
}

.reveal-wrapper {
  display: flex;
  flex-wrap: wrap;
 /* gap: 2rem;*.
 /* margin-bottom: 2rem;*/
}
/*
.reveal-card {
  flex-wrap: wrap;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 1 300px;
  min-width: 250px;
  max-width: 400px;
}*/

.allinone-page .prototype-img {
  border-radius: 0.25rem;
  border: 0.4px solid #000;
  background: #FFF;
  display: inline-block;
  padding: .1rem;
  flex-direction: column;
  align-items: flex-start baseline;
  gap: 1rem;
  width: 100%;
  height: auto;
  object-fit: cover;
  /* keeps aspect ratio, crops if needed */
}

.allinone-page .zoom-container .prototype-img {
  display: flex;
  justify-content: center; /*horizontal center*/
  align-items: center; /*vertical center*/
}

.allinone-page .research-img {
  border-radius: 0.25rem;
  border: 0.4px solid #000;
  background: #FFF;
  display: inline-block;
  padding: .1rem;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
 max-width:80%;
  object-fit: fill;/* keeps aspect ratio, crops if needed */
}

.image-crop-wrapper {
  width: auto;          /* adjust as needed */
  height: 200px;         /* crop height */
  overflow: hidden;
  border-radius: 16px;
  position: relative;
}

.allinone-page .zoom-container .sketch-img {
  width: 100%;
  height: auto;
  display:inline-grid;
  border: 0.4px solid #000;
  object-fit: cover;          
border-radius: 16px;
align-items:center;
  transition: transform 0.2s ease;
  transform-origin: center center;
}


.allinone .outcome-img {
  width: auto;
  height: auto;
  object-fit: cover;     /* crops to fill */
  object-position: center; /* change to top, left, etc. */
  border-radius: 0.25rem;
  border: 0.4px solid #000;
  background: #FFF;
  display: inline-block;
  padding: .1rem;
  flex-direction: column;
  align-items: flex-start baseline;
  gap: 1rem;
  
  object-fit: cover;
  /* keeps aspect ratio, crops if needed */
}

.allinone-page #outcome .image-crop-wrapper {
  width: 100%;           /* or fixed px like 400px */
  height: 290px;         /* visible crop height */
  overflow: hidden;
  border-radius: 16px;
  position: relative;
}

.allinone-page #outcome .screen1cropped {
  position: absolute;
  top: -1px;           /* shift up to crop */
  left: 0;
  width: 100%;           /* stretch full width */
  height: auto;          /* or height: 100% if that fits better */
}

.allinone-page #outcome .screen2cropped {
  position: absolute;
  top: -32px;           /* shift up to crop */
  left: 0;
  width: 100%;           /* stretch full width */
  height: auto;          /* or height: 100% if that fits better */
}

.allinone-page #outcome .screen3cropped {
  position: absolute;
  top: 0px;           /* shift up to crop */
  left: 0;
  width: 100%;           /* stretch full width */
  height: auto;          /* or height: 100% if that fits better */
}

.allinone-page #outcome .screen4cropped {
  position: absolute;
  top: -13px;           /* shift up to crop */
  left: 0;
  width: 100%;           /* stretch full width */
  height: auto;          /* or height: 100% if that fits better */
}

/* Custom taller wrappers for screen 3 and 4 */
.allinone-page #outcome .screen3-wrapper {
  height: 458px; /* adjust as needed */
}

.allinone-page #outcome .screen4-wrapper {
  height: 600px; /* LAST SCREEN */
}

.allinone-page #outcome .border {
  border-radius: 16px;
  border: 0.4px solid #000;
}

.image-stack {
    width: 100%;
}

.allinone-page .image-stack-papersketches {
   /* width: 100%;
    /*object-fit: contain;
    /* Optional: add display: flex; flex-wrap: wrap; if you want images side by side */
    /*display: flex;
     /*flex-wrap: wrap;*/
     display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 1.5rem;
}

.d-baseline {
  display: baseline;
}

.d-top {
  display: block; margin-top: 0;
}


.img-text-pair {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
 /* gap: 1rem;*/
  /*margin-bottom: 2rem;*/
}

#faded-reveal .hidden {
  display: none;
}

.fade-in {
  display: block !important;
  animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

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

.stacked-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem; /* space between items */
  align-items: center; /* center-align content if you want */
}

.stacked-layout .image-stack {
  width: 100%;
  max-width: 700px;
}


.allinone-page .subtitle .text-right {
  color: #2D2A26;
  text-align: right;
  font-family: "Raleway";
  font-size: 3.25rem;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
}

.allinone-page .h3 {
  color: #C1551C;
  text-align: right;
  font-family: "American Typewriter";
  font-size: 1.9rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.allinone-page .card {
  background: #fff;
  backdrop-filter: blur(8px);
  border: 1px solid #CA4040;
  border-radius: 16px;
  box-shadow: 10px 8px 8px rgba(202, 64, 64, .1);
  padding: 3rem;
}


.allinone-page .banner-container {
  height: auto;
  border-radius: 16px;
  padding-top: 3rem;
  padding-bottom: 3rem;
}


.allinone-page .block-copy {
  margin-bottom: .5rem;
}

.allinone-page #proposal .block-title {
  margin:auto !important;
}

 .allinone-page #proposal h4 {
	color: #C1551C;
	font-family: 'american typewriter';
	line-height: 2.5rem;
	font-weight: 400;
	white-space: normal;
	display: block;
	width: 100%;
	margin: 0 auto;
	padding-bottom: 1rem;
	text-align: center;
}

  


.allinone-page .block-title {
  color: #C1551C;
  font-family: 'american typewriter';
  line-height: 2.5rem;
  font-weight: 400;
  white-space: wrap;
  display: block;
  width: 100%;
  margin: 0 auto;
  padding-bottom: 1rem;
  text-align: center;
}

.allinone-page .block-subtitle {
	font-size: 1.25rem;
	font-weight: 200;
	line-height: 2rem;
	margin-bottom: 1rem;
	white-space: wrap;
  display: block;
  width: 100%;
  margin: 0 auto;
text-align: center;
}




.allinone-page li {
	font-family: "Raleway";
	font-size: 14px;
	font-weight: 300;
	line-height: 1.2rem;
	color: #2D2A26;
	margin-right: .5rem;
}


.allinone-page .block-text-bold {
  font-weight: 500;
  color:#C1551C;
}


.allinone-page .toggle-btn {
  background-color: rgba(208, 98, 34, 0.1); /* soft terracotta tint */
  color: #a65429;
  font-weight: 500;
  font-size: 0.85em;
  padding: 0.6rem 1.4rem;
  border: 1px solid rgba(208, 98, 34, 0.3);
  border-radius: 999px; /* pill shape */
  font-family: "Raleway", sans-serif;
  cursor: pointer;
  transition: all 0.25s ease-in-out;
  backdrop-filter: blur(2px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  width:100%;
}


.allinone-page .toggle-btn:hover {
  background-color: #c66b3d;
  color: white;
  border-color: #c66b3d;
  box-shadow: 0 4px 12px rgba(198, 107, 61, 0.3);
}

.allinone-page .button2 {
  box-sizing: border-box;
  display: inline-grid;
  flex-direction: row;
  justify-content: center;

  min-width: 72px;

  /* gap: 5px; */
  margin-top: 0;
  border-radius: 4px;
  border: none;
  background-color: #CA4040;
  /* your custom color */
  margin-bottom: 1rem;

}

.allinone-page .block-text-alt {
  color: #575757;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.25rem;
  margin-bottom: 4rem;
  margin-top: .6rem;
  padding-left: 1rem;
  padding-right: .5rem;
  display: block;
}

.allinone-page #text6.block-text-alt {
  color: #575757;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.25rem;
  margin-bottom: 1rem;
  margin-top: 4rem;
  padding-left: 10rem;
  padding-right: 10rem;
  display: block;
  text-align: left;
  width: 80%
}

.allinone-page #text4.block-text-alt {
  color: #575757;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.25rem;
  margin-bottom: 1rem;
  margin-top: 1rem;
  display: block;
  text-align: left;
}

.allinone-page .bold-text-li {
  color: #CA4040;
  font-weight: 400;
  line-height: 1.5rem;
  margin-top: 1rem;
  margin-bottom: .5rem;
  font-family: 'american typewriter';
}

.allinone-page .bold-text {
  font-size: 17px;
  color: #C1551C;
  font-weight: 400;
  line-height: 1.5rem;
  margin-bottom: .5rem;
  font-family: 'american typewriter';
}

.allinone-page .block-text {
  color: #2D2A26;
}

.allinone-page nav a:hover,
.allinone-page .selected {
  font-weight: 600;
  color:  #C1551C;
}

.allinone-page .page-nav a:nth-child(1):hover { 
  background: linear-gradient(0deg, rgba(193, 85, 28, 0.20) 0%, rgba(193, 85, 28, 0.20) 100%), #FFF; 
  border-radius: 5px;
}  /* overview */


.allinone-page .page-nav .submenu:nth-of-type(1) 
.submenu-item:nth-child(2):hover {
  background: linear-gradient(0deg, rgba(193, 85, 28, 0.20) 0%, rgba(193, 85, 28, 0.20) 100%), #FFF; 
  border-radius: 5px; /* proposal */
}

.allinone-page .page-nav .submenu:nth-of-type(1) 
.submenu-item:nth-child(3):hover {
  background:linear-gradient(0deg, rgba(193, 85, 28, 0.20) 0%, rgba(193, 85, 28, 0.20) 100%), #FFF; /* research */
}

.allinone-page .page-nav .submenu:nth-of-type(1) 
.submenu-item:nth-child(4):hover {
  background:linear-gradient(0deg, rgba(193, 85, 28, 0.20) 0%, rgba(193, 85, 28, 0.20) 100%), #FFF; border-radius: 5px; /* prototype */
}

.allinone-page .page-nav .submenu:nth-of-type(1) 
.submenu-item:nth-child(5):hover {
  background:linear-gradient(0deg, rgba(193, 85, 28, 0.20) 0%, rgba(193, 85, 28, 0.20) 100%), #FFF; border-radius: 5px;/*outcome*/
}

.allinone-page .page-nav .extra-solution:hover { background:linear-gradient(0deg, rgba(193, 85, 28, 0.20) 0%, rgba(193, 85, 28, 0.20) 100%), #FFF; border-radius: 5px; } /* challenges */

.allinone-page .page-nav .reflections:hover { background: linear-gradient(0deg, rgba(193, 85, 28, 0.20) 0%, rgba(193, 85, 28, 0.20) 100%), #FFF; border-radius: 5px; } /* reflections */


/* grid template begins*/
.allinone .image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  
  margin-top: 2rem;
}

.allinone-page .reveal-card {
  overflow: hidden;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.allinone-page .reveal-images-container {
  display: flex;
  flex-direction: row;
  gap: .5rem;
  justify-content: center;
  flex-wrap: wrap; /* optional, in case screen shrinks too tight */
}

.reveal-images-container .image-stack {
  flex: 1 1 45%;
  max-width: 45%;
}

.hover-swap {
  position: relative;
  display:block;
}

.hover-swap .default-img,
.hover-swap .hover-img {
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.3s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hover-swap .hover-img {
  opacity: 0;
  z-index: 1;
}

.hover-swap:hover .hover-img {
  opacity: 1;
}

.hover-swap:hover .default-img {
  opacity: 0;
}

.block-text-alt-3 {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: #333;
}
/*grid template ends*/
