@import url('https://fonts.googleapis.com/css2?family=Libre+Bodoni:wght@400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;1,400&display=swap');

:root {
  color-scheme: light;
  --bg: #e9dfc9;
  --bg-soft: #efe6d3;
  --panel: rgba(255, 255, 255, 0.96);
  --text: #111111;
  --muted: #6b5b48;
  --accent: #111111;
  --border: rgba(17, 17, 17, 0.06);
  --hdr-border: rgba(12, 12, 12, 0.15);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--text);
  background-color: var(--bg-soft);
  background-image:
    linear-gradient(rgba(245, 230, 200, 0.06), rgba(245, 230, 200, 0.06)),
    url("images/Paper-Texure.jpeg");
  background-blend-mode: soft-light;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
}

.page-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 36px 24px 48px;
  border: 1px solid var(--border);
  perspective: 1200px;
  perspective-origin: top right;
}

.masthead {
  /*border-bottom: 1px solid var(--border);*/
  padding-bottom: 0px;
  margin-bottom: 1px;
  border-top: 6px double var(--hdr-border);
  border-bottom: 6px double var(--hdr-border);
}

.masthead-top {
  display: flex;
  justify-content: space-between;
  font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top:5px;
}

h1 {
  margin: 14px 0 10px;
  /*font-size: clamp(5.5rem, 6vw, 5.5rem);*/
  font-size:6.5rem;
  letter-spacing: 0.03em;
  line-height: 0.95;
  font-family: 'Libre Bodoni'; /*, Georgia, 'Times New Roman', serif */
  font-weight: 400;
}

.subhead {
  margin: 0 0 0 0;
  font-size: 1rem;
  letter-spacing: 0.35em;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 1px;
  font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
}

.tagline {
  margin-top: 5px;
  margin-bottom:7px;
  font-size: 1.8rem;
  font-family: 'EB Garamond', Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--text);
}

.accordion {
  display: grid;
  gap: 12px;
  transform-origin: top left;
  will-change: transform, opacity;
}

.accordion-item {
  border-top: 1px solid var(--border);
  padding: 28px 0 18px;
}

.item-toggle {
  width: 100%;
  border: none;
  background: transparent;
  padding: 0;
  text-align: left;
  font: inherit;
  cursor: pointer;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 30px;
  align-items: flex-start;
}

.item-number {
  font-size: 2rem;
  color: rgba(17, 17, 17, 0.25);
  font-weight: 400;
  font-family: 'Libre Bodoni', Georgia, 'Times New Roman', serif;
  width: 3rem;
  padding-top: 4px;
}

.item-header {
  display: grid;
  gap: 4px;
}

.item-title {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-family: 'Libre Bodoni', Georgia, 'Times New Roman', serif;
  font-weight: 400;
}

.item-label {
  display: block;
  margin-top: 0;
  font-size: 1.5rem;
  line-height: 1.6;
  color: var(--muted);
  font-family: 'EB Garamond', Georgia, 'Times New Roman', serif;
  font-weight: 400;
}

.item-action {
  color: var(--muted);
  font-size: 1.25rem;
  letter-spacing: 0em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.accordion-item.active .item-action {
  transform: rotate(180deg);
}

.item-panel {
  width: 100%;
  max-width: 100%;
  margin: 16px 0 0 0;
   padding-left: 0;
}

.accordion-item.active .item-panel {
  /* height is animated via inline style from JS; keep visual states here */
  opacity: 1;
  transform: translateY(0);
}

.panel-inner {
     width: 100%;
     max-width: 100%;
     display: grid;
     grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    align-items: start;
    gap: 36px;
  }

    .panel-copy {
      column-count: 1;
      column-gap: 0;
      column-rule: none;
      padding-left: 65px;
    }

    .panel-copy p,
    .panel-copy .intro-line {
      margin: 3px 0 0 0;
      line-height: 1.6;
      break-inside: avoid;
    }

  .dropcap {
    float: left;
    display: block;
    font-size: 4.6rem;
    line-height: 0.78;
    font-weight: 700;
    padding-right: 0.12em;
    padding-top: 0.06em;
    background: none;
    box-shadow: none;
    border: none;
    color: var(--text);
  }
.intro-line {
  font-style: italic;
  font-size: 1.4rem;
  font-family: 'EB Garamond', Georgia, 'Times New Roman', serif;
  font-weight: 400;
}

.panel-intro{
  font-style:normal;
  font-size: 1.2rem;
  font-family: 'EB Garamond';
  font-weight: normal;
  

}

.email{
  font-size: 1.4rem;
  font-family: 'EB Garamond', Georgia, 'Times New Roman', serif;
  font-weight: normal;
  font-style: normal;
  padding-top: 90px;
}

.panel-image {
  min-height: 520px;
   width: 100%;
   padding: 0;
   overflow: hidden;
   position: relative;
   background: none;
 }

 .panel-img {
   width: 100%;
   height: auto;
   display: block;
 }
  /*color: var(--text);
  letter-spacing: 0.24em;
  font-size: 0.95rem;
  font-weight: 700;
}*/

.accordion-item[data-index="1"] .panel-image {
  --bg-img: url("images/the_work1.png");
}

.accordion-item[data-index="2"] .panel-image {
  --bg-img: url("images/the_absence_of_portfolio.png");
}

.accordion-item[data-index="3"] .panel-image {
  --bg-img: url("images/the_writings.png");
}

.accordion-item[data-index="4"] .panel-image {
  --bg-img: url("images/the_book.png");
}

.accordion-item[data-index="5"] .panel-image {
  /* Add a custom image path here for accordion 5 */
  --bg-img: url("images/the_foundation.jpg");
}

.accordion-item[data-index="6"] .panel-image {
  --bg-img: url("images/in_their_words.png");
}

.accordion-item[data-index="7"] .panel-image {
  --bg-img: url("images/the_conversation.png");
}

.panel-process {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}

.panel-process .process-list {
  list-style: none;
  margin: 0;
  padding-left: 0;
  color: var(--text);
  font-family: 'Libre Bodoni', Georgia, 'Times New Roman', serif;
  font-weight:lighter;
}

.panel-process .process-list1 {
  list-style:outside; 
  margin: 0;
  padding-left: 20px;
  color: var(--text);
  font-family: 'Libre Bodoni', Georgia, 'Times New Roman', serif;
  font-weight:lighter;
}


.panel-process .process-list1 li {
  position: relative;
  margin-bottom: 0.9rem;
  line-height: 1.7;
  padding-left: 1.6rem;
}

.panel-process .process-list1 li a {
  text-decoration:underline;
  color: var(--text);
  font-family: 'Libre Bodoni', Georgia, 'Times New Roman', serif;
  font-weight:lighter;

}
.panel-process .process-list li {
  position: relative;
  margin-bottom: 0.9rem;
  line-height: 1.7;
  padding-left: 1.6rem;
}

.panel-process .process-list li::before {
  content: "\2193";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
}

.process-heading {
  display: block;
  font-family: 'Libre Bodoni', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  text-transform: uppercase;
  margin-right: 0.35rem;
  font-size: 1rem;
  line-height: 1.7;
}
.panel-process strong {
  display: inline-block;
  font-weight: 600;
  text-transform: uppercase;
  margin-right: 0.35rem;
  font-size: 0.9rem;
  font-style: italic;
  line-height: 1.5;
}

.testimony {
 font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
  font-size: 1.0rem;
  font-weight: 400;
  
}

.footer-quote {
  font-size: 1.5rem;
  font-family: 'EB Garamond', Georgia, 'Times New Roman', serif;
  font-weight: normal;
  font-style: italic;
}

.footer-note {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: 'Libre Bodoni'; /*, Georgia, 'Times New Roman', serif */
  font-weight: 400;
}

.footer-separator {
  width: 100%;
  height: 1px;
  margin: 24px auto;
  background: rgba(17, 17, 17, 0.16);
}

@media (max-width: 860px) {
  .page-shell {
    padding: 28px 18px 36px;
  }
  .masthead {
     padding-bottom: 15px;
  }
  
  .masthead-top {
    flex-direction: row;
    gap: 8px;
    flex-wrap: nowrap;
    white-space: nowrap;
    font-size: 0.75rem;
    justify-content: space-between;
  }

  h1 {
    margin: 10px 0 7px;
    margin-left: 5px;
    font-size: clamp(2.75rem, 5vw, 5rem);
    letter-spacing: 0.1em;
    line-height: 0.85;
  }

  .item-toggle {
    grid-template-columns: 30px 1fr auto;
  }

  .item-panel {
   padding-left:42px;
  }
  .item-number {
    font-size: 1.25rem;
    width: 2.2rem;
    font-family: 'Libre Bodoni', Georgia, 'Times New Roman', serif;
    font-weight: 400;
  }

  .item-title {
    font-size: 1.5rem;
  }

  .item-label{
    font-size: 1.3rem;
  }

.subhead {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  color: var(--muted);
  padding-bottom: 12px;
}

.tagline {
  margin-top: 12px;
  font-size: 0.8rem;
  font-style: italic;
  color: var(--text);
}
.panel-intro{
  font-size: 1.2rem;
}

.intro-line{
  font-size: 1.2rem;
}
.panel-copy {
  padding-left: 8px;
}
.email{
  padding-top: 40px;
}

}

@media (max-width: 720px) {
  .panel-inner {
    grid-template-columns: 1fr;
  }

  .panel-copy {
    column-count: 1;
    column-gap: 0;
    column-rule: none;
  }

  .panel-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    min-height: 240px;
  }

  .panel-image-placeholder {
    width: 100%;
    height: 100%;
  }
}

/* pageTurn animation removed to disable opening animation */

