/* Noel West Photography - minimal black Squarespace-style portfolio */

:root {
  --nw-bg: #000;
  --nw-fg: #fff;
  --nw-muted: rgba(255,255,255,0.75);
  --nw-gap: 8px;
  --nw-max: 1180px;
  --nw-header-pad-x: 56px;
  --nw-header-pad-y: 42px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--nw-bg);
  color: var(--nw-fg);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--nw-fg); text-decoration: none; }
a:hover { opacity: 0.95; }

/* Accessibility */
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.nw-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
}
.nw-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--nw-header-pad-y) var(--nw-header-pad-x);
}
.nw-brand__link {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 16px;
}

.nw-nav { position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: var(--nw-gap);
  align-items: flex-start; }
.nw-menu {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nw-menu a {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 0;
  display: inline-block;
}

.nw-menu .current-menu-item > a,
.nw-menu .current_page_item > a,
.nw-menu .current-menu-ancestor > a,
.nw-menu .current-menu-parent > a {
  border-bottom: 1px solid rgba(255,255,255,0.8);
}

/* Dropdown */
.nw-menu li { position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: var(--nw-gap);
  align-items: flex-start; }
.nw-menu ul {
  list-style: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin: 10px 0 0;
  padding: 10px 0;
  min-width: 190px;
  display: none;
}
.nw-menu li:hover > ul,
.nw-menu li:focus-within > ul {
  display: block;
}
.nw-menu ul li { padding: 0; }
.nw-menu ul a {
  display: block;
  padding: 8px 0;
  font-size: 11px;
  letter-spacing: 0.12em;
}

/* Mobile nav */
.nw-burger {
  display: none;
  background: transparent;
  border: 0;
  padding: 10px;
  cursor: pointer;
}
.nw-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
}

/* Main */
.nw-main {
  padding-top: calc(var(--nw-header-pad-y) * 2 + 28px);
}

/* Hero */
.nw-hero {
  min-height: 62vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
}
.nw-hero__inner {
  width: 100%;
  max-width: 820px;
}
.nw-hero__text {
  margin: 0;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-weight: 500;
  font-size: 34px;
  line-height: 1.35;
  color: rgba(255,255,255,0.92);
}
.nw-hero__link {
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* Gallery */
.nw-gallery-section { padding: 0 12px 40px; }
.nw-gallery {
  width: 100%;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: var(--nw-gap);
  align-items: flex-start;
}
.nw-item {
  display: block;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: var(--nw-gap);
  align-items: flex-start;
  overflow: hidden;
  background: #0b0b0b;
  cursor: zoom-in;
  outline: none;
}
.nw-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: translateZ(0);
}

.nw-zoom {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 140ms ease;
  color: rgba(255,255,255,0.92);
}
.nw-item:hover .nw-zoom,
.nw-item:focus-visible .nw-zoom {
  opacity: 1;
}
.nw-zoom svg {
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.6));
}

.nw-empty {
  padding: 40px 0;
  text-align: center;
  color: rgba(255,255,255,0.7);
}

/* Portfolio page */
.nw-portfolio { padding: 0 12px 40px; }
.nw-portfolio__inner { width: 100%; }
.nw-portfolio__heading { padding: 10px 0 18px; }
.nw-portfolio__title {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}
.nw-portfolio__content {
  max-width: 820px;
  margin: 0 auto 20px;
  color: rgba(255,255,255,0.86);
}

/* Contact */
.nw-contact {
  padding: 0 18px 60px;
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
}
.nw-contact__inner {
  width: 100%;
  max-width: var(--nw-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.nw-contact__blurb {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,0.86);
  max-width: 420px;
  margin: 0 0 20px;
}
.nw-contact__email {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 26px;
  color: rgba(255,255,255,0.92);
  margin: 0 0 16px;
}
.nw-contact__social {
  display: flex;
  gap: 12px;
  align-items: center;
}
.nw-social {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 3px;
}

.nw-notice {
  margin: 0 0 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.86);
}
.nw-notice--ok { color: rgba(255,255,255,0.92); }
.nw-notice--err { color: rgba(255,140,140,0.95); }

.nw-form { width: 100%; }
.nw-form__row { margin: 0 0 18px; }
.nw-label__txt {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 6px;
}
.nw-label__txt em { font-style: normal; opacity: 0.75; }

.nw-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.nw-input, .nw-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.25);
  background: #fff;
  color: #000;
  outline: none;
  border-radius: 2px;
  font-size: 14px;
}
.nw-textarea { resize: vertical; }

.nw-submit {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
  padding: 10px 18px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}
.nw-submit:hover { border-color: rgba(255,255,255,0.75); }

.nw-honeypot { display:none !important; }

/* Lightbox */
.nw-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.98);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.nw-lightbox.is-open { display: flex; }
.nw-lightbox.is-open .nw-lightbox__img { opacity: 1; transform: scale(1); }

.nw-lightbox__img {
  max-width: 96vw;
  max-height: 92vh;
  width: auto;
  height: auto;
  box-shadow: 0 10px 40px rgba(0,0,0,0.65);
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 140ms ease, transform 140ms ease;
}
.nw-lightbox__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  padding: 20px 14px;
  cursor: pointer;
  color: rgba(255,255,255,0.8);
}
.nw-lightbox__btn:hover { color: rgba(255,255,255,1); }
.nw-lightbox__prev { left: 8px; }
.nw-lightbox__next { right: 8px; }

.nw-lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  border: 0;
  padding: 10px;
  cursor: pointer;
  color: rgba(255,255,255,0.8);
  font-size: 26px;
}
.nw-lightbox__close:hover { color: rgba(255,255,255,1); }

/* Footer (Squarespace look is footerless) */
.nw-footer { display: none; }

/* Responsive */
@media (max-width: 900px) {
  :root {
    --nw-header-pad-x: 22px;
    --nw-header-pad-y: 20px;
  }
  .nw-hero__text { font-size: 26px; }
  .nw-contact__inner { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 760px) {
  .nw-burger { display: inline-block; }
  .nw-nav {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.98);
    display: none;
    align-items: center;
    justify-content: center;
  }
  .nw-nav.is-open { display: flex; }
  .nw-menu {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .nw-menu ul {
    position: static;
    display: block;
    margin: 8px 0 0;
    padding: 0;
    min-width: 0;
  }
  .nw-menu ul a { padding: 6px 0; }
  .nw-contact { align-items: flex-start; padding-top: 40px; }
  .nw-split { grid-template-columns: 1fr; }
}
