/* =========================
   Global Styles
========================= */

body {
  margin: 0;
  font-family: Inter, Helvetica, Arial, sans-serif;
  background-color: #ffffff;
  color: #111111;
  line-height: 1.6;
}

a {
  color: #111111;
  text-decoration: none;
}

a:hover {
  opacity: 0.7;
}

:root {
  --font-heading: Inter, Helvetica, Arial, sans-serif;
  --font-body: Inter, Helvetica, Arial, sans-serif;
}

h1,
h2,
h3,
.logo,
.section-title {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

body,
p,
li,
a {
  font-family: var(--font-body);
  font-weight: 300; /* thin but readable */
  letter-spacing: 0.01em;
}
p {
  line-height: 1.7;
}

.fact p,
.caption,
.muted {
  font-weight: 300;
  color: #444;
}

/* =========================
   Navigation
========================= */

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 48px;
}

.logo {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links a {
  margin-left: 20px;
  font-size: 0.95rem;
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-icons img {
  width: 23px;
  height: 23px;
  display: block;
  transition: opacity 0.2s ease;
}

.nav-icons a:hover img {
  opacity: 0.6;
}


/* =========================
   Layout
========================= */

.page {
  max-width: 820px;
  margin: 100px auto;
  padding: 0 24px;
}

h1 {
  font-size: 2.6rem;
  margin-bottom: 12px;
}

h2 {
  font-size: 30px;
  margin-top: 0px;
  margin-bottom: 24px;
}

h3 {
  font-size: 1.2rem;
  margin-top: 40px;
  margin-bottom: 12px;
}

/* =========================
   Text
========================= */

.tagline {
  max-width: none;
  font-size: 1.05rem;
  color: #444;
  margin-bottom: 28px;
}

.muted {
  color: #666;
  font-size: 0.95rem;
}

/* =========================
   Buttons
========================= */

.button {
  display: inline-block;
  border: 1px solid #111;
  padding: 10px 20px;
  margin: 0 8px;
  font-size: 0.9rem;
}

.button.secondary {
  border-color: #ccc;
}

/* =========================
   Lists
========================= */

.experience-list {
  list-style: none;
  padding-left: 0;
}

.experience-list li {
  margin-bottom: 16px;
}

/* =========================
   Creative Navigation
========================= */

.creative-nav {
  margin-top: 40px;
}

.creative-link {
  display: block;
  margin-bottom: 28px;
}

/* =========================
   Photography Grid
========================= */

.photo-grid {
  display: grid;
  gap: 14px; /* tighter than before */
  margin-top: 20px;
}

/* Medium (default) */
.photo-grid.medium {
  grid-template-columns: repeat(4, 1fr);
}

/* Small */
.photo-grid.small {
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}

/* Large */
.photo-grid.large {
  grid-template-columns: 1fr;
  gap: 24px;
}


.photo-grid-wrapper {
  width: 80%;
  max-width: 1400px;   /* controls how wide images can get */
  margin: 0 auto;      /* centers the grid */
  padding: 0 20px;     /* edge breathing */
}

.photo-page {
  margin-bottom: 0;
  padding-bottom: 0;
}

.photo-page h2 {
  margin-bottom: 6px;
}

.photo-item {
  overflow: hidden;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.photo-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.photo-item:hover img {
  transform: scale(1.06);
  filter: brightness(0.85);
}

.photo-controls {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
  font-size: 0.9rem;
  margin-bottom: 0;
}

.photo-footer {
  text-align: center;
  font-size: 0.8rem;
  color: #aaa;
  margin: 24px 0 16px;
}

.photo-controls button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #aaa;
  transition: opacity 0.2s ease;
  position: relative;
}

.photo-controls button.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 10px;
  height: 1px;
  background: #000;   /* TRUE black */
  transform: translateX(-50%);
}

.photo-controls button.active {
  color: #000;
}


/* =========================
   Design Grid
========================= */

.design-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.design-item img {
  width: 100%;
  display: block;
}

.caption {
  font-size: 0.85rem;
  color: #666;
  margin-top: 8px;
}

/* =========================
   HERO (VERTICAL CENTERED)
========================= */

.hero {
  padding-top: 64px;
  padding-bottom: 24px; /* ⬅️ much tighter */
}

/* Layout inside hero */
.home-split {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;

  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 72px;
  align-items: center;
  margin-top: 0;
}

/* Image */
.home-image {
  display: flex;
  justify-content: center;
}

.home-image img {
  width: 100%;
  max-width: 380px;
  height: 440px;
  object-fit: cover;

  border-radius: 6px;
  border: 2px solid #e6e6e6;
  background: #fff;
}

/* Text */
.home-content h1 {
  font-size: 2.4rem;
  margin-bottom: 14px;
}

.tagline {
  max-width: 520px;
  font-size: 1.05rem;
  color: #444;
  margin-bottom: 28px;
}

/* =========================
   EXPERIENCE PAGE
========================= */

/* PAGE WRAPPER */
.experience-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 10px;
  margin-bottom: 10px;
}

/* TWO-COLUMN LAYOUT */
.experience-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 80px;
}

/* LEFT COLUMN (STICKY TITLE) */
.experience-title h1 {
  font-size: 30px;
  font-weight: 700;
  margin: 0;
  position: sticky;
}

/* RIGHT COLUMN */
.experience-accordions {
  width: 100%;
}

/* =========================
   ACCORDION BLOCKS
========================= */

.accordion {
  border-bottom: 1px solid #e5e5e5;
}

/* HEADER */
.accordion-header {
  width: 100%;
  background: none;
  border: none;
  padding: 32px 0;
  font-size: 28px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: #111;
}

/* CONTENT */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

/* CONTENT INNER SPACING */
.accordion-content h3 {
  margin-top: 24px;
  margin-bottom: 6px;
  font-size: 18px;
  font-weight: 600;
}

.accordion-content p {
  margin: 4px 0;
  font-size: 16px;
  line-height: 1.6;
}

/* =========================
   CHEVRONS
========================= */

.chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid #111;
  border-bottom: 2px solid #111;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

/* OPEN STATE */
.accordion-header.active .chevron {
  transform: rotate(-135deg);
}

/* =========================
   NESTED COURSES
========================= */

.nested-header {
  background: none;
  border: none;
  margin-top: 24px;
  margin-bottom: 16px; /* ⬅️ adds space before divider */
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nested-header:hover {
  opacity: 0.7;
}


/* NESTED CHEVRON */
.nested-header .chevron.small {
  width: 8px;
  height: 8px;
  border-right: 2px solid #111;
  border-bottom: 2px solid #111;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}

.nested-header.active .chevron.small {
  transform: rotate(-135deg);
}

/* NESTED CONTENT */
.nested-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

/* GRAY COURSE BOX */
.course-box {
  background: #f4f4f4;
  padding: 20px 22px;
  margin-top: 12px;
  border-radius: 6px;
  position: relative;
}

.course-box::before,
.course-box::after {
  display: none;
  content: none;
}

/* hidden by default */
.course-chevron {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 10px;
  height: 10px;
  border-right: 2px solid #111;
  border-bottom: 2px solid #111;
  transform: rotate(-135deg);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.course-box strong {
  display: block;
  margin-top: 8px;
  margin-bottom: 4px;
  font-size: 14px;
}

.course-box ul {
  list-style: disc;
  padding-left: 20px;
}

.course-box li {
  font-size: 14px;
  line-height: 1.6;
}

/* show ONLY when open */
.nested-header.active + .nested-content .course-chevron {
  opacity: 1;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {
  .experience-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .experience-title h1 {
    position: static;
    font-size: 48px;
  }

  .accordion-header {
    font-size: 24px;
  }
}
/* =========================
   INDEX LIST GRID
========================= */

.index-grid {
  max-width: 1250px;   /* was likely ~1100px */
  margin: 48px auto;
  padding: 0 4rem;
  margin-top: 10px;

  display: grid;
  grid-template-columns: repeat(4, minmax(260px, 1fr));
  gap: 48px;
}

.grid-column h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.grid-column ol {
  margin: 0;
  padding-left: 18px; /* controls number indent */
}

.grid-column li {
  font-size: 12px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 6px;
}

@media (max-width: 900px) {
  .index-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 520px) {
  .index-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================
   INDEX PHOTO PREVIEW
========================= */

.photo-preview-wrapper {
  width: 80%;
  max-width: 1400px;
  margin: 40px auto 0;
  padding: 0 20px;
}

.preview-grid .photo-item {
  position: relative;
}

/* =========================
   INDEX PHOTO PREVIEW ROW ANIMATION
========================= */

.preview-row {
  display: contents; /* keeps grid layout intact */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.preview-row.visible {
  opacity: 1;
  transform: translateY(0);
}

/* index preview photos should always be visible */
.preview-grid .photo-item {
  opacity: 1;
  transform: none;
}

/* =========================
   INDEX DIVIDER
========================= */

.index-divider {
  width: 100%;
  max-width: 1100px;
  height: 1px;
  background-color: #e6e6e6;
  margin: 24px auto; /* ⬅️ reduced */
}

/* =========================
   GLOBAL FOOTER
========================= */

.site-footer {
  margin-top: 24px; /* ⬅️ was 80px */
  padding: 24px 24px 32px;
  text-align: center;
}

.site-footer p {
  font-size: 0.8rem;
  color: #999;
  margin: 0;
}

/* =========================
   OVERVIEW SLIDESHOW
   ========================= */

.overview-slideshow {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 80px 0 96px;
  margin-top: 0px;
  margin-bottom: 0px;
  
}

.slideshow-wrapper {
  position: relative;
  width: 100%;
  /* max-width: 800px;   makes it smaller */
}

.slides-window {
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
}

.slides-track {
  display: flex;
  transition: transform 0.6s ease;
}

.slides-track img {
  width: 100%;
  flex-shrink: 0;
  object-fit: contain;
}

/* ARROWS — now INSIDE slideshow */
.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  font-size: 20px;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, opacity 0.2s ease;
  z-index: 10;
}

.slide-arrow:hover {
  color: black;
}

.slide-arrow.left {
  left: 12px;
}

.slide-arrow.right {
  right: 12px;
}

/* Responsive */
@media (max-width: 768px) {
  .slideshow-wrapper {
    width: 90%;
  }

  .slide-arrow {
    width: 34px;
    height: 34px;
    font-size: 18px;
  }
}

/* =========================
   QUICK FACTS (CLEAN)
========================= */

.quick-facts {
  width: 100%;
  margin-top: 15px;
  padding-bottom: 120px;
}

.quick-facts-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4rem;
  text-align: center;
}

.quick-facts h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-top:0px;
  margin-bottom: 72px;
}

/* GRID */
.quick-facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px;
}

/* CARD */
.fact {
  border: 1px solid #e6e6e6;
  padding: 56px 48px;
  text-align: center;
}

/* CARD HEADING */
.fact h3 {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: #000;
}

/* CARD TEXT */
.fact p {
  font-size: 15px;
  line-height: 1.75;
  color: #444;
  margin: 0;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .quick-facts-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .quick-facts-inner {
    padding: 0 2rem;
  }
}

/* EXPERIENCE SECTION TITLES */
.experience-title h1,
.accordion-header {
  font-family: Inter, Helvetica, Arial, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em; /* reduced */
}

@media (max-width: 900px) {
  .index-grid {
    grid-template-columns: 1fr;
    max-width: 680px;
    padding: 0 1.5rem;
    gap: 32px;
  }
}

@media (max-width: 900px) {
  .index-grid li {
    font-size: 1rem;
    line-height: 1.8;
    letter-spacing: 0;
  }
}
@media (max-width: 900px) {
  .grid-column h3 {
    font-size: 0.9rem;
    margin-bottom: 12px;
  }
}
@media (max-width: 900px) and (min-width: 600px) {
  .index-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
  }
}