/* Portfolio Styles */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-bg: #181a1d;
  --color-text: #ffffff;
  --color-light: #aaa;
  --color-border: #333;
  --color-accent: #401A0D;
  --color-button-dark: #333333;
  --color-button-light: #ffffff;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

/* Typography */

h1, h2, h3, h4, h5, h6 {
  font-weight: 200;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 1.35rem;
  font-weight: 100;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h3 {
  font-size: 1.25rem;
}

p {
  margin-bottom: var(--spacing-md);
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Layout */

header {
  background-color: rgba(37, 39, 44, 0.82);
  backdrop-filter: blur(8px);
  border-bottom: 0;
  padding: 0.45rem var(--spacing-lg);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: var(--spacing-lg);
  max-width: 1490px;
  margin: 0 auto;
}

.logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  flex-shrink: 0;
  margin-right: auto;
}

.logo img {
  display: block;
  height: 32px !important;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1rem;
  align-items: center;
  flex: 0 0 auto;
  justify-content: flex-end;
  margin-left: auto;
}

.nav-links > li {
  position: relative;
}

.nav-links a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--color-accent);
  outline: none;
  text-shadow: none;
}

.nav-dropdown > .dropdown-toggle {
  color: var(--color-text);
}

/* Dropdown Menu */
.nav-dropdown {
  position: relative;
}

.dropdown-toggle::after {
  content: '▼';
  font-size: 0.6rem;
  margin-left: 0.35rem;
  transition: transform 0.3s ease;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  border: 0;
  list-style: none;
  min-width: 260px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  margin-top: 1rem;
}

.nav-dropdown:hover .dropdown-menu {
  max-height: 500px;
}

.dropdown-menu li {
  border-bottom: 1px solid #e3e3e3;
}

.dropdown-menu li:last-child {
  border-bottom: none;
}

.dropdown-menu a {
  display: block;
  padding: 0.7rem 0.85rem;
  font-size: 0.95rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: #9b9b9b;
}

.dropdown-menu a:hover {
  background-color: #f6f6f6;
  color: var(--color-accent);
  outline: none;
  text-shadow: none;
  text-decoration: none;
}

/* CTA Button */
.cta-button {
  background-color: var(--color-button-light);
  color: var(--color-button-dark);
  padding: 0.45rem 0.85rem;
  border-radius: 0;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  background-color: var(--color-accent);
  color: #fff;
  transform: translateY(-2px);
  text-decoration: none;
}

main {
  padding-top: 72px;
}

.home-page main {
  padding-top: 0;
}

footer {
  background-color: #25272c;
  padding: 0.9rem var(--spacing-md);
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-copyright {
  color: #9b9b9b;
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.03em;
}

.footer-copyright p {
  margin-bottom: 0;
}

/* Hero Slideshow */
.hero-slideshow {
  position: relative;
  width: 100%;
  height: calc(100vh - 48px);
  overflow: hidden;
  background-color: #000;
}

.home-page .hero-slideshow {
  height: 100vh;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-image.active {
  opacity: 1;
}

/* Content Section */
.content-section {
  background-color: #ffffff;
  color: #000;
  padding: var(--spacing-xl);
}

.content-section h2 {
  color: #000;
  margin-bottom: var(--spacing-lg);
}

.content-section p {
  color: #333;
  max-width: 800px;
}

.about-photo {
  display: block;
  height: auto;
  margin-bottom: var(--spacing-lg);
  max-width: 800px;
  width: 100%;
}

.content-section .cta-button {
  background-color: var(--color-button-dark);
  color: #fff;
}

.content-section .cta-button:hover {
  background-color: var(--color-accent);
  color: #fff;
}

/* Hero Section (Homepage) */

.hero {
  text-align: center;
  margin-bottom: var(--spacing-xl);
  padding-bottom: var(--spacing-xl);
  border-bottom: 1px solid var(--color-border);
}

.hero h1 {
  margin-bottom: var(--spacing-md);
}

.hero p {
  font-size: 1.1rem;
  color: var(--color-light);
  max-width: 600px;
  margin: 0 auto var(--spacing-lg);
}

/* Brand Strip */

.brand-strip {
  background-color: #000000;
  color: #ffffff;
  padding: clamp(2rem, 4vw, 3.25rem) var(--spacing-lg);
}

.brand-strip-inner {
  display: grid;
  grid-template-columns: minmax(230px, 1fr) minmax(280px, 520px) minmax(230px, 1fr);
  grid-template-areas:
    "social logo spacer"
    "contact logo spacer";
  align-items: start;
  gap: clamp(1.5rem, 4vw, 4rem);
  max-width: 1200px;
  margin: 0 auto;
}

.home-page .brand-strip-inner {
  grid-template-columns: minmax(160px, 1fr) minmax(280px, 520px) minmax(160px, 1fr);
  grid-template-areas: "social logo spacer";
  align-items: center;
  justify-items: stretch;
  text-align: left;
}

.brand-strip-social {
  display: flex;
  gap: 1.15rem;
  grid-area: social;
  justify-content: flex-start;
  margin-bottom: 1.75rem;
}

.home-page .brand-strip-social {
  justify-content: flex-start;
  margin-bottom: 0;
  margin-top: 0;
}

.brand-strip-social a {
  align-items: center;
  display: inline-flex;
  color: #ffffff;
  height: 42px;
  justify-content: center;
  text-decoration: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  width: 42px;
}

.brand-strip-social a:hover,
.brand-strip-social a:focus-visible {
  opacity: 0.82;
  outline: none;
  transform: translateY(-2px);
}

.brand-strip-social svg {
  display: block;
  flex: 0 0 auto;
  fill: #ffffff;
  height: 34px;
  width: 34px;
}

.brand-strip-logo {
  display: block;
  grid-area: logo;
  width: min(100%, 430px);
  height: auto;
  justify-self: center;
}

.brand-strip-contact {
  color: #8c8c8c;
  grid-area: contact;
}

.brand-strip-contact h2 {
  color: #4e4e4e;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 1.1rem;
  text-transform: none;
}

.brand-strip-contact p {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #8c8c8c;
  font-size: 0.95rem;
  margin-bottom: 0;
}

.brand-strip-mail-icon {
  fill: #ffffff;
  width: 22px;
  height: 22px;
  opacity: 0.78;
}

.brand-strip-contact span {
  color: #b4b4b4;
  font-weight: 700;
}

.brand-strip-contact a {
  color: #3f8fc2;
}

.brand-strip-contact a:hover {
  color: var(--color-accent);
  text-decoration: none;
}

/* Journal / Archive */

.journal-section {
  background-color: #f4f4f2;
  color: #1a1a1a;
  padding: clamp(2.4rem, 5vw, 4.5rem) var(--spacing-lg);
}

.journal-heading {
  max-width: 900px;
  margin: 0 auto 1.75rem;
}

.journal-heading p {
  color: var(--color-accent);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.journal-heading h2 {
  color: #1a1a1a;
  font-size: clamp(1.05rem, 1.55vw, 1.45rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  margin-bottom: 0;
  text-transform: none;
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 900px;
  margin: 0 auto;
  background-color: #d8d8d4;
  border: 1px solid #d8d8d4;
}

.journal-card {
  background-color: #ffffff;
  min-width: 0;
}

.journal-card-image {
  display: block;
  aspect-ratio: 1 / 0.72;
  background-color: #e8e8e4;
  overflow: hidden;
}

.journal-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.journal-card:hover .journal-card-image img {
  transform: scale(1.03);
}

.journal-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #777;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.journal-card-body {
  padding: 0.82rem;
}

.journal-meta {
  color: #777;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.journal-card h3 {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.journal-card-body > p:last-child {
  color: #555;
  font-size: 0.72rem;
  line-height: 1.5;
  margin-bottom: 0;
}

.journal-actions {
  display: flex;
  justify-content: center;
  max-width: 900px;
  margin: 1.75rem auto 0;
}

.journal-more-button {
  background-color: #333333;
  border: 0;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.75rem 1.1rem;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
}

.journal-more-button:hover,
.journal-more-button:focus-visible {
  background-color: var(--color-accent);
  outline: none;
}

.journal-more-button[hidden] {
  display: none;
}

/* Gallery Grid */

.portfolio-grid {
  column-count: 4;
  column-gap: 0.45rem;
  margin-bottom: var(--spacing-xl);
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--spacing-md);
  padding-right: var(--spacing-md);
}

.gallery-item {
  -webkit-column-break-inside: avoid;
  break-inside: avoid;
  cursor: pointer;
  display: inline-block;
  margin: 0 0 0.38rem;
  page-break-inside: avoid;
  width: 100%;
}

.locale-container .portfolio-grid {
  padding-left: 0;
  padding-right: 0;
}

.gallery-item:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.75);
  outline-offset: 3px;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.25s ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  opacity: 0.82;
}

.gallery-caption {
  padding: 0.24rem 0 0;
}

.gallery-caption h3 {
  color: var(--color-light);
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 1.35;
  margin-bottom: 0;
  text-transform: uppercase;
}

.gallery-caption p {
  display: none;
}

.gallery-caption .year {
  font-weight: 600;
  color: var(--color-accent);
}

.gallery-caption .medium,
.gallery-caption .location,
.gallery-caption .note {
  font-size: 0.85rem;
}

.no-images {
  text-align: center;
  padding: var(--spacing-xl);
  color: var(--color-light);
  font-style: italic;
}

.gallery-lightbox {
  align-items: center;
  background-color: rgba(0, 0, 0, 0.92);
  display: flex;
  inset: 0;
  justify-content: center;
  opacity: 0;
  padding: 4rem var(--spacing-lg) var(--spacing-lg);
  pointer-events: none;
  position: fixed;
  transition: opacity 0.2s ease;
  z-index: 2000;
}

.gallery-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.gallery-lightbox-content {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  max-height: 100%;
  max-width: 100%;
}

.gallery-lightbox img {
  display: block;
  max-height: calc(100vh - 8rem);
  max-width: min(100%, 1400px);
  object-fit: contain;
}

.gallery-lightbox-caption {
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 1.4;
  margin-bottom: 0;
  text-align: center;
  text-transform: uppercase;
}

.gallery-lightbox-close {
  align-items: center;
  background-color: transparent;
  border: 0;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  font-size: 2rem;
  font-weight: 200;
  height: 2.5rem;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 1.2rem;
  top: 0.9rem;
  width: 2.5rem;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-close:focus-visible {
  color: var(--color-light);
  outline: none;
}

/* Gallery Page Heading */

.gallery-heading {
  margin-bottom: 1.15rem;
  padding-top: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.78);
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--spacing-md);
  padding-right: var(--spacing-md);
}

.gallery-heading h1 {
  font-size: 1.45rem;
  font-weight: 100;
  letter-spacing: 0.11em;
  margin-bottom: 0;
  text-transform: uppercase;
}

.gallery-heading p {
  display: none;
}

/* Recognition / Press Section */

.recognition-container {
  max-width: 900px;
  margin: 0 auto;
}

.recognition-heading {
  text-align: center;
  margin-bottom: var(--spacing-xl);
  padding-bottom: var(--spacing-xl);
  border-bottom: 1px solid var(--color-border);
}

.recognition-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

.recognition-section {
  margin-bottom: var(--spacing-xl);
}

.recognition-type-heading {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-md);
  border-bottom: 2px solid var(--color-border);
}

.recognition-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.recognition-item {
  padding: var(--spacing-lg);
  background-color: #222;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recognition-item:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(89, 28, 13, 0.2);
}

.recognition-item.status-past {
  opacity: 0.75;
}

.item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--spacing-md);
  gap: var(--spacing-md);
}

.item-header .year {
  font-size: 0.9rem;
  color: var(--color-light);
  white-space: nowrap;
  margin-left: auto;
}

.item-header a {
  color: var(--color-accent);
}

.item-header a:hover {
  text-decoration: underline;
}

.recognition-item .venue {
  font-weight: 500;
  color: var(--color-accent);
  margin-bottom: var(--spacing-sm);
}

.recognition-item .location {
  color: var(--color-light);
  font-size: 0.9rem;
  margin-bottom: var(--spacing-sm);
}

.recognition-item .description {
  font-style: italic;
  color: var(--color-light);
  margin-top: var(--spacing-md);
}

/* Responsive Design */

@media (max-width: 1024px) {
  .portfolio-grid {
    column-count: 3;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  .nav-links {
    gap: 1rem;
  }

  .logo img {
    height: 30px !important;
  }

  .nav-links a {
    font-size: 0.85rem;
  }

  .cta-button {
    padding: 0.4rem 0.65rem;
    font-size: 0.8rem;
  }

  .portfolio-grid {
    column-count: 2;
    column-gap: 0.4rem;
    padding-left: 0;
    padding-right: 0;
  }

  .gallery-heading {
    padding-left: 0;
    padding-right: 0;
  }

  .journal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  header {
    padding: 0.45rem var(--spacing-md);
  }

  main {
    padding: 66px var(--spacing-md) var(--spacing-lg);
  }

  .home-page main {
    padding: 0;
  }

  .hero-slideshow {
    height: calc(100vh - 46px);
  }

  .home-page .hero-slideshow {
    height: 100vh;
  }

  .brand-strip-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "logo"
      "social"
      "contact";
    text-align: center;
  }

  .home-page .brand-strip-inner {
    grid-template-areas:
      "social"
      "logo";
  }

  .home-page .brand-strip-social {
    justify-content: flex-start;
    justify-self: start;
  }

  .brand-strip-social {
    justify-content: center;
    margin-bottom: 0;
  }

  .brand-strip-contact p {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero {
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
  }

  .recognition-item {
    padding: var(--spacing-md);
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.1rem;
  }

  .nav-links {
    gap: var(--spacing-sm);
  }

  nav {
    gap: var(--spacing-sm);
  }

  .logo img {
    height: 26px !important;
  }

  .nav-links a {
    font-size: 0.75rem;
  }

  .cta-button {
    padding: 0.35rem 0.5rem;
    font-size: 0.7rem;
  }

  .portfolio-grid {
    column-count: 1;
    column-gap: 0;
  }

  .journal-section {
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
  }

  .journal-grid {
    grid-template-columns: 1fr;
  }

  .gallery-lightbox {
    padding: 3.5rem var(--spacing-md) var(--spacing-md);
  }

  .gallery-lightbox img {
    max-height: calc(100vh - 7rem);
  }

  .item-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .item-header .year {
    margin-left: 0;
  }
}

/* Print Styles */

@media print {
  header,
  footer {
    display: none;
  }

  body {
    background-color: white;
  }

  .gallery-item {
    page-break-inside: avoid;
  }
}
