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

html, body {
  width: 100%;
  height: 100%;
}

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  letter-spacing: 0.08em;
  font-weight: 300;
  color: #000;
  font-size: 13px;
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ===================== */
/* SPLASH PAGE           */
/* ===================== */

#splash {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  cursor: pointer;
  text-align: center;
  background-color: #0a0a0a;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#splash .bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1920&q=80&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  opacity: 0.45;
  transition: opacity 1.2s ease;
}

#splash:hover .bg {
  opacity: 0.55;
}

#splash .center-block {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.splash-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.splash-logo .monogram {
  font-size: 5rem;
  font-weight: 100;
  color: #fff;
  letter-spacing: 0.5em;
  text-indent: 0.5em;
  opacity: 0;
  animation: fadeUp 1.2s ease 0.3s forwards;
}

.splash-logo .name-line {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  text-indent: 0.4em;
  opacity: 0;
  animation: fadeUp 1.2s ease 0.7s forwards;
}

.splash-logo .tagline {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-indent: 0.3em;
  margin-top: 4px;
  opacity: 0;
  animation: fadeUp 1.2s ease 1s forwards;
}

.enter-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  opacity: 0;
  animation: fadeUp 1.2s ease 1.4s forwards;
  text-decoration: none !important;
}

.enter-btn span {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.35em;
  text-indent: 0.35em;
  text-transform: uppercase;
  transition: color 0.3s;
}

.enter-btn:hover span {
  color: #fff;
  text-decoration: none;
}

.enter-btn:hover {
  text-decoration: none;
}

.diamond {
  width: 28px;
  height: 34px;
}

.diamond polygon {
  fill: none;
  stroke: rgba(255,255,255,0.6);
  stroke-width: 1;
  transition: stroke 0.3s;
}

.enter-btn:hover .diamond polygon {
  stroke: rgba(255,255,255,1);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===================== */
/* HEADER / NAV          */
/* ===================== */

#header {
  width: 100%;
  text-align: center;
  padding: 32px 2.5% 22px;
  position: relative;
  z-index: 100;
  background: #fff;
}

#header.fixed {
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(4px);
  padding-top: 18px;
  padding-bottom: 14px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.header-logo {
  font-size: 1.4rem;
  letter-spacing: 0.4em;
  font-weight: 200;
  color: #111;
  text-indent: 0.4em;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 16px;
}

.header-logo:hover {
  text-decoration: none;
  color: #000;
}

.header-logo .logo-sub {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #aaa;
  margin-top: 2px;
}

nav.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  list-style: none;
  margin: 0 auto;
}

nav.main-nav li a {
  display: block;
  padding: 4px 12px;
  font-size: 1.05rem;
  color: #aaa;
  letter-spacing: 0.1em;
  transition: color 0.2s;
  text-decoration: none;
}

nav.main-nav li a:hover,
nav.main-nav li a.active {
  color: #000;
  text-decoration: none;
}

.header-aside {
  position: absolute;
  top: 32px;
  right: 2.5%;
  text-align: right;
}

.header-aside a {
  display: block;
  font-size: 0.95rem;
  color: #aaa;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
  transition: color 0.2s;
}

.header-aside a:hover {
  color: #000;
  text-decoration: none;
}

/* ===================== */
/* GRID / MASONRY        */
/* ===================== */

#content {
  min-height: 80vh;
  padding: 30px 2.5% 60px;
}

#content.padme {
  padding-top: 160px;
}

.grid-wrap {
  column-count: 3;
  column-gap: 10px;
}

@media (max-width: 900px) {
  .grid-wrap { column-count: 2; }
}

@media (max-width: 560px) {
  .grid-wrap { column-count: 1; }
}

.grid-item {
  break-inside: avoid;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
  display: block;
  cursor: pointer;
}

.grid-item img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.5s ease;
}

.grid-item img.loaded {
  opacity: 1;
}

.grid-item:hover img {
  transform: scale(1.03);
}

.grid-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.grid-item:hover .overlay {
  background: rgba(0,0,0,0.18);
}

.grid-item .overlay-label {
  opacity: 0;
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  transition: opacity 0.3s;
}

.grid-item:hover .overlay-label {
  opacity: 1;
}

/* ===================== */
/* PAGE TITLE            */
/* ===================== */

.page-title {
  text-align: center;
  padding: 50px 0 40px;
  font-size: 1.8rem;
  font-weight: 100;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: #111;
  text-indent: 0.5em;
}

.page-subtitle {
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #bbb;
  margin-top: -30px;
  margin-bottom: 40px;
}

/* ===================== */
/* SECTION HEADERS       */
/* ===================== */

.section-header {
  text-align: center;
  padding: 30px 0 20px;
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #999;
  border-bottom: 1px solid #eee;
  margin-bottom: 20px;
}

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

#footer {
  background: #f7f7f7;
  border-top: 1px solid #eee;
  padding: 22px 2.5%;
  text-align: center;
}

#footer .footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 10px;
}

#footer .footer-left,
#footer .footer-right {
  font-size: 0.8rem;
  color: #aaa;
  letter-spacing: 0.07em;
}

#footer .footer-center {
  font-size: 0.75rem;
  color: #ccc;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

#footer a {
  color: #aaa;
  transition: color 0.2s;
}

#footer a:hover {
  color: #000;
  text-decoration: none;
}

/* ===================== */
/* CONTACT PAGE          */
/* ===================== */

.contact-wrap {
  max-width: 560px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

.contact-wrap h1 {
  font-size: 1.6rem;
  font-weight: 100;
  letter-spacing: 0.5em;
  text-align: center;
  text-indent: 0.5em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.contact-wrap .subtitle {
  text-align: center;
  color: #bbb;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 50px;
}

.contact-info {
  border-top: 1px solid #eee;
  padding-top: 30px;
}

.contact-info .row {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 1rem;
  letter-spacing: 0.05em;
}

.contact-info .row .label {
  color: #bbb;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  min-width: 110px;
}

.contact-info .row .val {
  color: #333;
  text-align: right;
}

.contact-info .row .val a {
  color: #333;
  transition: color 0.2s;
}

.contact-info .row .val a:hover {
  color: #000;
  text-decoration: underline;
}

/* ===================== */
/* LIGHTBOX              */
/* ===================== */

#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

#lightbox.active {
  display: flex;
}

#lightbox img {
  max-width: 96vw;
  max-height: 88vh;
  object-fit: contain;
  display: block;
}

#lightbox-close {
  position: absolute;
  top: 22px;
  right: 28px;
  color: rgba(255,255,255,0.7);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
  letter-spacing: 0;
}

#lightbox-close:hover {
  color: #fff;
}

/* ===================== */
/* MOBILE                */
/* ===================== */

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  position: absolute;
  right: 2.5%;
  top: 28px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: #333;
  transition: all 0.3s;
}

@media (max-width: 700px) {
  .hamburger { display: flex; }
  .header-aside { display: none; }

  #header {
    padding: 18px 5% 14px;
  }

  #header.fixed {
    padding-top: 14px;
    padding-bottom: 10px;
  }

  .header-logo {
    font-size: 1.1rem;
  }

  nav.main-nav {
    display: none;
    flex-direction: column;
    gap: 0;
    background: #fff;
    padding: 10px 0 20px;
    border-top: 1px solid #eee;
  }

  nav.main-nav.open {
    display: flex;
  }

  nav.main-nav li a {
    padding: 12px 5%;
    font-size: 1.1rem;
    border-bottom: 1px solid #f5f5f5;
  }

  .hamburger {
    top: 18px;
  }

  #content.padme {
    padding-top: 110px;
  }

  .splash-logo .monogram {
    font-size: 3rem;
    letter-spacing: 0.3em;
  }

  .splash-logo .name-line {
    font-size: 0.75rem;
    letter-spacing: 0.25em;
  }

  .enter-btn span {
    font-size: 0.9rem;
  }

  .page-title {
    font-size: 1.3rem;
    padding: 36px 0 28px;
  }

  .page-subtitle {
    margin-bottom: 28px;
  }

  .grid-wrap {
    column-count: 2;
  }

  #footer .footer-inner {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
  }

  .contact-wrap {
    padding: 30px 16px 60px;
  }

  .contact-wrap h1 {
    font-size: 1.3rem;
    letter-spacing: 0.3em;
  }

  .contact-info .row {
    flex-direction: column;
    gap: 4px;
  }

  .contact-info .row .val {
    text-align: left;
  }

  .about-feature {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 400px) {
  .grid-wrap {
    column-count: 1;
  }

  .splash-logo .monogram {
    font-size: 2.4rem;
  }
}
