/* ----------------------------------------------------
   FONT SETUP — CARGO ARIZONA PLUS (VARIABLE)
---------------------------------------------------- */

@font-face {
  font-family: "AylinCargo";
  src: url("/assets/fonts/CargoArizonaPlusVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
}

@font-face {
  font-family: "AylinCargo";
  src: url("/assets/fonts/CargoArizonaPlusItalicVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: "AylinCargo", serif !important;
  background: #ffffff;
  color: #000000;
}

/* ----------------------------------------------------
   INTRO SCREEN
---------------------------------------------------- */

#intro {
  position: fixed;
  inset: 0;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.intro-inner {
  text-align: center;
}

.intro-text {
  font-size: 16px;
  letter-spacing: 0.08em;
}

body.intro-done #intro {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Reveal the site */
.site {
  opacity: 0;
  transition: opacity 0.6s;
}

body.intro-done .site {
  opacity: 1;
}

/* ----------------------------------------------------
   MAIN LAYOUT
---------------------------------------------------- */

.main-layout {
  position: relative;
  min-height: 100vh;
  padding: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ----------------------------------------------------
   CENTER PHOTO
---------------------------------------------------- */

.photo-wrapper {
  max-width: 55vw;
  max-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.center-photo {
  max-width: 100%;
  max-height: 100%;
}

/* ----------------------------------------------------
   CORNER NAVIGATION
---------------------------------------------------- */

.corner {
  position: fixed;
  font-family: "AylinCargo", serif !important;
  padding: 30px 30px;
  font-size: 14px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 20;
}

.corner:hover {
  opacity: 0.6;
}

.corner-top-left { top: 40px; left: 40px; }
.corner-bottom-left { bottom: 40px; left: 40px; }
.corner-top-right { top: 40px; right: 40px; }
.corner-bottom-right { bottom: 40px; right: 40px; }

/* ----------------------------------------------------
   SIDE PANELS
---------------------------------------------------- */

.section-panel {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(3px);
  width: 100vw;
  max-width: none !important;
  padding: 60px 70px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(100%);
  transition: transform 0.4s ease;
  z-index: 30;
}

.panel-left { transform: translateX(-100%); }

.section-panel.is-open {
  transform: translateX(0);
}

/* Close button for panels */
.panel-close {
  align-self: flex-end;
  margin-left: auto;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 30px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.panel-content {
  margin-top: 24px;
  font-size: 16px;       /* ~12pt */
  line-height: 1.65;
  letter-spacing: 0.02em;
}

.panel-content h2 {
  font-family: "AylinCargo", serif;
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 1.8em;
  color: #333333;
  padding: 0 160px;
}

.panel-content p {
  text-align: justify;
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 1.6em;
  color: #2a2a2a;
  padding: 0;
}

.panel-content.about-mode p,
.panel-content.photography-mode p,
.panel-content.research-mode p {
    padding: 0 160px;
}

.panel-content.research-mode h3 {
  text-transform: uppercase;
  font-weight: 300;
  font-size: 16px;
  padding: 0 160px;
}

/* -----------------------------------------
   RESEARCH LIST STYLING
------------------------------------------ */

.panel-content.about-mode ul,
.panel-content.research-mode ul {
  padding: 0 180px;
  margin-top: 0.5em;
  margin-bottom: 1.5em;
}

.research-list {
  list-style: none;
  padding-left: 180px;
}

.research-list li::before {
  content: "– ";
  margin-left: -20px;
}

.research-list li {
  font-family: "AylinCargo", serif;
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 0.6em;
  color: #2a2a2a;
}

/* ----------------------------------------------------
   LINK LAYOUT
---------------------------------------------------- */

.text-link {
  color: inherit;
  text-decoration: none;
  font-style: normal;
  transition: font-style 0.2s ease, opacity 0.2s ease;
}

.text-link:hover {
  font-style: italic;
  opacity: 0.7;
}

/* ----------------------------------------------------
   CONTACT GRID LAYOUT
---------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 400px;
  row-gap: 20px;
  padding: 50px 0 400px 400px;
}

.contact-column {
  text-align: left;
}

.contact-column h3 {
  font-family: "AylinCargo", serif;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 1em;
}

.contact-column p {
  margin: 0 0 0.8em 0;
  font-size: 15px;
  line-height: 1.6;
}

.contact-column .text-link {
  color: inherit;
  text-decoration: none;
  font-style: normal;
  transition: font-style 0.2s ease, opacity 0.2s ease;
}

.contact-column .text-link:hover {
  font-style: italic;
  opacity: 0.7;
}

/* ----------------------------------------------------
   MOBILE
---------------------------------------------------- */

@media (max-width: 768px) {

  .main-layout {
    padding: 60px 20px;
  }

  .corner {
    font-size: 11px;
    padding: 12px 16px;
    letter-spacing: 0.08em;
  }

  .photo-wrapper {
    max-width: 80vw;
    max-height: 55vh;
  }

  .panel-content {
    font-size: 13px;
    line-height: 1.55;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
